{"version":3,"file":"FAQ.CpQsUt6m.mjs","names":["React.useState","__esmMin","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","motion","AnimatePresence","init_framer_motion_DhsWWWsN","init_framer_CcflMUCW","ControlType","addPropertyControls","useStill","cells","lines","Btn","Words","Icon","Section","Reveal","Eyebrow","EASE_OUT","FONT_DISPLAY","THEME_OPTIONS","FAQ","props","still","qs","items","q","a","l","open","setOpen","sectionId","CSS","eyebrow","title","subtitle","contactTitle","contactText","contactLabel","contactLink","isOpen","i","id","x","init_FAQ","init_Kit"],"sources":["https:/framerusercontent.com/modules/ILfyZKPKVJV0nk9hMpAj/BhKs5U2n0jJs6qTpcS2u/FAQ.js"],"sourcesContent":["// AVVYREN FAQ: heading + contact card on the left, accessible accordion on the right (one open at a time).\n// Questions are text lines: Question | Answer.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{Section,Words,Reveal,Eyebrow,Icon,Btn,useStill,THEME_OPTIONS,lines,cells,EASE_OUT,FONT_DISPLAY}from\"https://framerusercontent.com/modules/Yd9To8xVArMsKyghazYx/kY27R0SIB3uLpBMRlo7a/Kit.js\";const CSS=`\n.av-fq-sec{overflow:clip!important}\n.av-fq{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:72px;align-items:start}\n.av-fq-side{position:sticky;top:120px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}\n.av-fq-card{margin-top:16px;padding:24px;border-radius:22px;background:var(--card);display:grid;gap:10px;justify-items:start;width:100%}\n.av-fq-card b{font-family:${FONT_DISPLAY};font-weight:500;font-size:19px;color:var(--text)}\n.av-fq-card p{font-size:15px;color:var(--text2);line-height:1.5}\n.av-fq-list{border-top:1px solid var(--line)}\n.av-fq-item{border-bottom:1px solid var(--line)}\n.av-fq-q{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;text-align:left;font-family:${FONT_DISPLAY};font-weight:500;font-size:19px;line-height:1.3;color:var(--text)}\n.av-fq-q:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:8px}\n.av-fq-ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--card);color:var(--text);transition:transform .3s var(--e),background-color .3s var(--e),color .3s var(--e)}\n.av-fq-item.open .av-fq-ic{transform:rotate(45deg);background:var(--btn-bg);color:var(--btn-fg)}\n.av-fq-a{overflow:hidden}\n.av-fq-a p{padding:0 56px 26px 0;font-size:16px;line-height:1.6;color:var(--text2)}\n@container (max-width: 1000px){.av-fq{grid-template-columns:1fr;gap:40px}.av-fq-side{position:static}}\n@container (max-width: 700px){.av-fq-q{font-size:17px;padding:20px 0}.av-fq-a p{padding-right:0}}\n`;export default function FAQ(props){const{theme=\"light\",sectionId=\"faq\",eyebrow=\"\",title,subtitle=\"\",items=\"\",contactTitle=\"\",contactText=\"\",contactLabel=\"\",contactLink=\"#\",style}=props;const still=useStill();const qs=lines(items).map(l=>{const[q,a=\"\"]=cells(l);return{q,a};});const[open,setOpen]=React.useState(0);return /*#__PURE__*/_jsx(Section,{theme:theme,id:sectionId,css:CSS,style:style,className:\"av-fq-sec\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"av-wrap av-fq\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"av-fq-side\",children:[eyebrow&&/*#__PURE__*/_jsx(Reveal,{children:/*#__PURE__*/_jsx(Eyebrow,{text:eyebrow})}),/*#__PURE__*/_jsx(Words,{text:title}),subtitle&&/*#__PURE__*/_jsx(Reveal,{delay:.1,children:/*#__PURE__*/_jsx(\"p\",{className:\"av-lead\",children:subtitle})}),contactTitle&&/*#__PURE__*/_jsxs(Reveal,{delay:.15,className:\"av-fq-card\",children:[/*#__PURE__*/_jsx(\"b\",{children:contactTitle}),contactText&&/*#__PURE__*/_jsx(\"p\",{children:contactText}),/*#__PURE__*/_jsx(Btn,{label:contactLabel,href:contactLink,size:\"sm\"})]})]}),/*#__PURE__*/_jsx(Reveal,{delay:.1,children:/*#__PURE__*/_jsx(\"div\",{className:\"av-fq-list\",children:qs.map((x,i)=>{const isOpen=open===i;const id=`${sectionId}-a${i}`;return /*#__PURE__*/_jsxs(\"div\",{className:`av-fq-item${isOpen?\" open\":\"\"}`,children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0},children:/*#__PURE__*/_jsxs(\"button\",{className:\"av-fq-q\",\"aria-expanded\":isOpen,\"aria-controls\":id,onClick:()=>setOpen(isOpen?-1:i),children:[x.q,/*#__PURE__*/_jsx(\"span\",{className:\"av-fq-ic\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(Icon,{name:\"x\",size:14,stroke:2.2,style:{transform:\"rotate(45deg)\"}})})]})}),still?isOpen&&/*#__PURE__*/_jsx(\"div\",{className:\"av-fq-a\",id:id,role:\"region\",children:/*#__PURE__*/_jsx(\"p\",{children:x.a})}):/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isOpen&&/*#__PURE__*/_jsx(motion.div,{className:\"av-fq-a\",id:id,role:\"region\",initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.4,ease:EASE_OUT},children:/*#__PURE__*/_jsx(\"p\",{children:x.a})})})]},i);})})})]})});}addPropertyControls(FAQ,{theme:{type:ControlType.Enum,title:\"Theme\",...THEME_OPTIONS,defaultValue:\"light\"},sectionId:{type:ControlType.String,title:\"Section ID\",defaultValue:\"faq\"},eyebrow:{type:ControlType.String,title:\"Eyebrow\",defaultValue:\"FAQ\"},title:{type:ControlType.String,title:\"Title\",displayTextArea:true,defaultValue:\"Questions,\\n*answered.*\",description:\"\\\\n = line break \\xb7 *text* = muted\"},subtitle:{type:ControlType.String,title:\"Subtitle\",displayTextArea:true,defaultValue:\"Everything you need to know about plans, billing and getting set up.\"},items:{type:ControlType.String,title:\"Questions\",displayTextArea:true,description:\"One per line: Question | Answer\",defaultValue:\"Can I change plans later? | Yes. Upgrade or downgrade any time from settings. Changes take effect immediately and billing is prorated.\\nDo you support global teams? | Yes. Issue cards in 42 countries, pay vendors in 18 currencies and manage multiple entities from one account.\\nCan I connect my accounting software? | Avvyren syncs two ways with popular accounting, ERP and payroll tools, so transactions arrive coded and receipted.\\nIs AI included? | AI receipt matching and expense coding are included on Growth and Enterprise. Starter includes smart categorization.\\nCan I control employee spending? | Set limits per card, team, merchant or category. Cards lock automatically when a budget runs out.\\nHow long does setup take? | Most teams are live in a day. Connect your bank, invite your team and issue cards in minutes.\\nIs my data secure? | Data is encrypted in transit and at rest, access is role-based and every action is recorded in the audit log.\\nIs there a contract? | Starter and Growth are month-to-month or yearly. Enterprise plans are custom agreements.\"},contactTitle:{type:ControlType.String,title:\"Contact title\",defaultValue:\"Still have questions?\"},contactText:{type:ControlType.String,title:\"Contact text\",displayTextArea:true,defaultValue:\"Our team usually replies within a few hours.\"},contactLabel:{type:ControlType.String,title:\"Contact button\",defaultValue:\"Talk to sales\"},contactLink:{type:ControlType.Link,title:\"Contact link\",defaultValue:\"#\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,kWAmBE,SAAwByB,EAAI,EAAM,CAAC,GAAK,CAAC,QAAM,QAAQ,YAAU,MAAM,UAAQ,GAAG,QAAM,WAAS,GAAG,QAAM,GAAG,eAAa,GAAG,cAAY,GAAG,eAAa,GAAG,cAAY,IAAI,SAAOC,EAAYC,EAAMd,EAAS,EAAQe,EAAGb,EAAMc,CAAK,CAAC,CAAC,IAAI,GAAG,CAAC,GAAK,CAACC,EAAEC,EAAE,IAAIjB,EAAMkB,CAAC,EAAE,MAAM,CAAC,IAAE,GAAC,CAAE,CAAC,EAAO,CAACC,EAAKC,GAASlC,EAAe,CAAC,EAAE,MAAoB,gBAAKmB,EAAQ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