{"version":3,"file":"V4_FAQ.DVs8D8kh.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/CBOhIVhs7xJ4szSfzg47/pJ6WcAd1OloXVbOMg5W3/V4_FAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{useState,useEffect,useRef}from\"react\";/**\n * FAQ — two column accordion\n *\n * @framerIntrinsicWidth 1000\n * @framerIntrinsicHeight 460\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function FAQ(props){const{heading,items,allowMultiple,openFirst,columnGap,headingSize,headingWeight,headingColor,questionSize,questionWeight,questionColor,answerSize,answerColor,lineColor,iconColor,iconSize,rowPadding,topLine,background,radius,padding,style}=props;useGoogleFont();const[open,setOpen]=useState(openFirst?[0]:[]);const toggle=i=>{setOpen(prev=>{const isOpen=prev.includes(i);if(allowMultiple){return isOpen?prev.filter(x=>x!==i):[...prev,i];}return isOpen?[]:[i];});};return /*#__PURE__*/_jsxs(\"section\",{style:{...style,display:\"flex\",flexWrap:\"wrap\",alignItems:\"flex-start\",gap:columnGap,background,borderRadius:radius,padding,boxSizing:\"border-box\",fontFamily:FONT,WebkitFontSmoothing:\"antialiased\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{flex:\"0 1 auto\",minWidth:160,margin:0,fontFamily:FONT,fontSize:headingSize,fontWeight:headingWeight,lineHeight:1,letterSpacing:\"-0.02em\",color:headingColor},children:heading}),/*#__PURE__*/_jsx(\"div\",{style:{flex:\"1 1 380px\",minWidth:260,borderTop:topLine?`1px solid ${lineColor}`:\"none\"},children:items.map((item,i)=>{const isOpen=open.includes(i);return /*#__PURE__*/_jsxs(\"div\",{style:{borderBottom:`1px solid ${lineColor}`},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>toggle(i),\"aria-expanded\":isOpen,style:{all:\"unset\",boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:24,width:\"100%\",cursor:\"pointer\",padding:`${rowPadding}px 0`,fontFamily:FONT,fontSize:questionSize,fontWeight:questionWeight,lineHeight:1.4,color:questionColor},children:[/*#__PURE__*/_jsx(\"span\",{children:item.question}),/*#__PURE__*/_jsx(motion.span,{animate:{rotate:isOpen?180:0},transition:SPRING,style:{display:\"flex\",flex:\"0 0 auto\",color:iconColor},children:/*#__PURE__*/_jsx(Chevron,{size:iconSize})})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isOpen&&/*#__PURE__*/_jsx(motion.div,{initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:SPRING,style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,paddingBottom:rowPadding+4,paddingRight:iconSize+24,maxWidth:\"62ch\",fontFamily:FONT,fontSize:answerSize,fontWeight:400,lineHeight:1.65,color:answerColor},children:item.answer})},\"panel\")})]},i);})})]});}const FONT=\"Poppins, system-ui, -apple-system, sans-serif\";const SPRING={type:\"spring\",stiffness:380,damping:36,mass:.9};function Chevron({size}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:1.6,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 9l6 6 6-6\"})});}/* Loads Poppins on the canvas and on the published site. */function useGoogleFont(){const done=useRef(false);useEffect(()=>{if(done.current)return;done.current=true;const id=\"poppins-faq-font\";if(document.getElementById(id))return;const link=document.createElement(\"link\");link.id=id;link.rel=\"stylesheet\";link.href=\"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap\";document.head.appendChild(link);},[]);}FAQ.defaultProps={heading:\"FAQ.\",allowMultiple:false,openFirst:false,columnGap:80,headingSize:44,headingWeight:\"700\",headingColor:\"#0A0A0A\",questionSize:16,questionWeight:\"500\",questionColor:\"#0A0A0A\",answerSize:15,answerColor:\"#6B6B6B\",lineColor:\"#E6E4E1\",iconColor:\"#0A0A0A\",iconSize:20,rowPadding:18,topLine:false,background:\"#FBFAF8\",radius:0,padding:0,items:[{question:\"Can an AI agent actually manage Meta ads?\",answer:\"Yes. It runs the day-to-day work a media buyer does — building campaigns, testing creative, shifting budget toward what converts — and reports back in plain language.\"},{question:\"How does it work with Meta Advantage+?\",answer:\"It works alongside Advantage+ rather than against it. Meta's automation optimises delivery inside a campaign; the agent decides which campaigns, audiences and creative deserve the spend.\"},{question:\"What does it do without my approval?\",answer:\"Only what you allow. Set it to suggest everything, to act within a budget ceiling, or to run fully autonomously — and change that at any time.\"},{question:\"How is pricing structured?\",answer:\"A flat monthly fee per ad account. No percentage of ad spend, so the cost doesn't climb as you scale.\"},{question:\"How long until it's live on my account?\",answer:\"About a day. Connect the account, pick your guardrails, and the agent spends its first 24 hours learning your historical performance before it touches anything.\"},{question:\"What access does it need?\",answer:\"Standard partner access to your Meta Business Manager ad account, plus read access to your pixel or conversions API. You keep ownership and can revoke it in one click.\"}]};addPropertyControls(FAQ,{heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"FAQ.\"},items:{type:ControlType.Array,title:\"Items\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"Answer\"}}}},allowMultiple:{type:ControlType.Boolean,title:\"Multi open\",defaultValue:false},openFirst:{type:ControlType.Boolean,title:\"Open first\",defaultValue:false},columnGap:{type:ControlType.Number,title:\"Column gap\",min:0,max:240,defaultValue:80},headingSize:{type:ControlType.Number,title:\"Heading\",min:16,max:120,unit:\"px\",defaultValue:44},headingWeight:{type:ControlType.Enum,title:\"H weight\",options:[\"300\",\"400\",\"500\",\"600\",\"700\"],defaultValue:\"700\"},headingColor:{type:ControlType.Color,title:\"H color\",defaultValue:\"#0A0A0A\"},questionSize:{type:ControlType.Number,title:\"Question\",min:12,max:32,unit:\"px\",defaultValue:16},questionWeight:{type:ControlType.Enum,title:\"Q weight\",options:[\"300\",\"400\",\"500\",\"600\",\"700\"],defaultValue:\"500\"},questionColor:{type:ControlType.Color,title:\"Q color\",defaultValue:\"#0A0A0A\"},answerSize:{type:ControlType.Number,title:\"Answer\",min:12,max:24,unit:\"px\",defaultValue:15},answerColor:{type:ControlType.Color,title:\"A color\",defaultValue:\"#6B6B6B\"},lineColor:{type:ControlType.Color,title:\"Divider\",defaultValue:\"#E6E4E1\"},topLine:{type:ControlType.Boolean,title:\"Top line\",defaultValue:false},iconColor:{type:ControlType.Color,title:\"Icon\",defaultValue:\"#0A0A0A\"},iconSize:{type:ControlType.Number,title:\"Icon size\",min:12,max:40,unit:\"px\",defaultValue:20},rowPadding:{type:ControlType.Number,title:\"Row padding\",min:8,max:48,unit:\"px\",defaultValue:18},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FBFAF8\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"0px\"},radius:{type:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"0px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1000\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"460\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./V4_FAQ.map"],"mappings":"wPAOG,SAAwB,EAAI,EAAM,CAAC,GAAK,CAAC,UAAQ,QAAM,gBAAc,YAAU,YAAU,cAAY,gBAAc,eAAa,eAAa,iBAAe,gBAAc,aAAW,cAAY,YAAU,YAAU,WAAS,aAAW,UAAQ,aAAW,SAAO,UAAQ,SAAO,EAAM,EAAc,EAAE,GAA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