{"version":3,"file":"FAQList.BFScejE5.mjs","names":["__esmMin","p","c","init_jsx_runtime","addPropertyControls","ControlType","init_framer_CKT6jEEQ","FAQList","accent","props","textColor","bodyColor","borderColor","itemFill","style","gap","lines","iconFill","items","i","MAX","question","answer","css","FONT","FONT_MEDIUM","item","init_FAQList"],"sources":["https:/framerusercontent.com/modules/ZCJ3US60IAHtnWyZggVI/Fj2ddmqZ8cg4n7xdQ0hT/FAQList.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const MAX=16;// Custom uploads are one family per weight in Framer's CSS, so pick the family by weight.\nconst FONT='\"Open Runde Web Regular\", \"Open Runde Web Regular Placeholder\", \"Inter\", system-ui, sans-serif';const FONT_MEDIUM='\"Open Runde Web Medium\", \"Open Runde Web Medium Placeholder\", \"Inter\", system-ui, sans-serif';/**\n * Accessible FAQ: native <details>/<summary>, so each question is a real\n * button with an expanded state, works from the keyboard, and every answer\n * stays in the HTML for search engines and the FAQPage markup.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function FAQList(props){const accent=props.accent||\"#F54E00\";const textColor=props.textColor||\"#1A1615\";const bodyColor=props.bodyColor||\"#453F3D\";const borderColor=props.borderColor||\"#E4E2E2\";const itemFill=props.itemFill||\"#FFFFFF\";const style=props.style;const gap=typeof props.gap===\"number\"?props.gap:16;// \"Cards\": each question in its own bordered box. \"Lines\": open list, a\n// hairline between questions and a quiet grey plus - for pages where the\n// sections around it are already boxed.\nconst lines=props.layout===\"Lines\";const iconFill=props.iconFill||\"#F4F1EE\";const items=[];for(let i=1;i<=MAX;i++){const question=(props[`q${i}`]||\"\").trim();const answer=(props[`a${i}`]||\"\").trim();if(question&&answer)items.push({question,answer});}const css=`\n.faql details { border: 1px solid ${borderColor}; border-radius: 12px; background: ${itemFill}; }\n.faql summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: 12px; }\n.faql summary::-webkit-details-marker { display: none; }\n.faql summary:focus-visible { outline: 2px solid ${accent}; outline-offset: 2px; }\n.faql .faql-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: ${accent}; position: relative; transition: transform 0.2s ease; }\n.faql .faql-icon::before, .faql .faql-icon::after { content: \"\"; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: #fff; border-radius: 1px; }\n.faql .faql-icon::after { transform: rotate(90deg); }\n.faql details[open] .faql-icon { transform: rotate(45deg); }\n@media (prefers-reduced-motion: reduce) { .faql .faql-icon { transition: none; } }\n@media (max-width: 809px) { .faql summary { padding: 20px; } .faql .faql-a { padding: 0 20px 20px; } }\n.faql.lines details { border: 0; border-bottom: 1px solid ${borderColor}; border-radius: 0; background: transparent; }\n.faql.lines details:first-child { border-top: 1px solid ${borderColor}; }\n.faql.lines summary { padding: 24px 0; border-radius: 0; }\n.faql.lines .faql-a { padding: 0 56px 24px 0; }\n.faql.lines .faql-icon { width: 36px; height: 36px; background: ${iconFill}; }\n.faql.lines .faql-icon::before, .faql.lines .faql-icon::after { width: 13px; margin: -1px 0 0 -6.5px; background: ${textColor}; }\n@media (max-width: 809px) { .faql.lines summary { padding: 20px 0; } .faql.lines .faql-a { padding: 0 0 20px; } }\n`;return /*#__PURE__*/_jsxs(\"div\",{className:lines?\"faql lines\":\"faql\",style:{...style,position:\"relative\",width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:lines?0:gap,fontFamily:FONT},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),items.map((item,i)=>/*#__PURE__*/_jsxs(\"details\",{children:[/*#__PURE__*/_jsxs(\"summary\",{children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:FONT_MEDIUM,fontSize:18,lineHeight:1.4,fontWeight:500,color:textColor},children:item.question}),/*#__PURE__*/_jsx(\"span\",{className:\"faql-icon\",\"aria-hidden\":\"true\"})]}),/*#__PURE__*/_jsx(\"p\",{className:\"faql-a\",style:{margin:0,padding:\"0 28px 24px\",fontSize:16,lineHeight:1.6,color:bodyColor},children:item.answer})]},i))]});}addPropertyControls(FAQList,{q1:{type:ControlType.String,title:\"Q1\",defaultValue:\"Does Session work in the US?\"},a1:{type:ControlType.String,title:\"A1\",displayTextArea:true,defaultValue:\"Yes.\"},q2:{type:ControlType.String,title:\"Q2\",defaultValue:\"\"},a2:{type:ControlType.String,title:\"A2\",displayTextArea:true,defaultValue:\"\"},q3:{type:ControlType.String,title:\"Q3\",defaultValue:\"\"},a3:{type:ControlType.String,title:\"A3\",displayTextArea:true,defaultValue:\"\"},q4:{type:ControlType.String,title:\"Q4\",defaultValue:\"\"},a4:{type:ControlType.String,title:\"A4\",displayTextArea:true,defaultValue:\"\"},q5:{type:ControlType.String,title:\"Q5\",defaultValue:\"\"},a5:{type:ControlType.String,title:\"A5\",displayTextArea:true,defaultValue:\"\"},q6:{type:ControlType.String,title:\"Q6\",defaultValue:\"\"},a6:{type:ControlType.String,title:\"A6\",displayTextArea:true,defaultValue:\"\"},q7:{type:ControlType.String,title:\"Q7\",defaultValue:\"\"},a7:{type:ControlType.String,title:\"A7\",displayTextArea:true,defaultValue:\"\"},q8:{type:ControlType.String,title:\"Q8\",defaultValue:\"\"},a8:{type:ControlType.String,title:\"A8\",displayTextArea:true,defaultValue:\"\"},q9:{type:ControlType.String,title:\"Q9\",defaultValue:\"\"},a9:{type:ControlType.String,title:\"A9\",displayTextArea:true,defaultValue:\"\"},q10:{type:ControlType.String,title:\"Q10\",defaultValue:\"\"},a10:{type:ControlType.String,title:\"A10\",displayTextArea:true,defaultValue:\"\"},q11:{type:ControlType.String,title:\"Q11\",defaultValue:\"\"},a11:{type:ControlType.String,title:\"A11\",displayTextArea:true,defaultValue:\"\"},q12:{type:ControlType.String,title:\"Q12\",defaultValue:\"\"},a12:{type:ControlType.String,title:\"A12\",displayTextArea:true,defaultValue:\"\"},q13:{type:ControlType.String,title:\"Q13\",defaultValue:\"\"},a13:{type:ControlType.String,title:\"A13\",displayTextArea:true,defaultValue:\"\"},q14:{type:ControlType.String,title:\"Q14\",defaultValue:\"\"},a14:{type:ControlType.String,title:\"A14\",displayTextArea:true,defaultValue:\"\"},q15:{type:ControlType.String,title:\"Q15\",defaultValue:\"\"},a15:{type:ControlType.String,title:\"A15\",displayTextArea:true,defaultValue:\"\"},q16:{type:ControlType.String,title:\"Q16\",defaultValue:\"\"},a16:{type:ControlType.String,title:\"A16\",displayTextArea:true,defaultValue:\"\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"Cards\",\"Lines\"],defaultValue:\"Cards\"},iconFill:{type:ControlType.Color,title:\"IconFill\",defaultValue:\"#F4F1EE\",hidden:p=>p.layout!==\"Lines\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:16,min:0,max:48,unit:\"px\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#F54E00\"},textColor:{type:ControlType.Color,title:\"TextColor\",defaultValue:\"#1A1615\"},bodyColor:{type:ControlType.Color,title:\"BodyColor\",defaultValue:\"#453F3D\"},borderColor:{type:ControlType.Color,title:\"BorderColor\",defaultValue:\"#E4E2E2\"},itemFill:{type:ControlType.Color,title:\"ItemFill\",defaultValue:\"#FFFFFF\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQList\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQList.map"],"mappings":"A,mKAQG,SAAwBO,EAAQ,EAAM,CAAC,IAAMC,EAAOC,EAAM,QAAQ,UAAgBC,EAAUD,EAAM,WAAW,UAAgBE,EAAUF,EAAM,WAAW,UAAgBG,EAAYH,EAAM,aAAa,UAAgBI,EAASJ,EAAM,UAAU,UAAgBK,EAAML,EAAM,MAAYM,E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