1import{bK as e}from"./Bx1xfRBz.js";import{u as t}from"./CNceNWGg.js";import{c as s,o as l,a,I as r,V as x,P as i,S as n,g as o,L as f,r as p,af as c,e as d,d as u}from"./CmUz1GCm.js";import"./DCCPWw9Y.js";import"./pyVxiBLO.js";import"./DTLJGphe.js";const m={class:"flex w-full justify-center px-6 py-12 max-xs:px-4"},g={class:"flex w-full max-w-[1024px] flex-col items-center gap-12"},w={class:"w-full max-w-[800px] text-center text-3.5xl font-semibold text-text-1 max-xs:text-xl max-xs:leading-7"},y={class:"flex w-full flex-col gap-4"},k=["onClick"],v={class:"flex items-center gap-6"},b={class:"flex flex-col gap-1 pt-4 pr-12"},h={key:0},j=["href"],q={__name:"FaqList",props:{title:{type:String,default:""},faqList:{type:Array,default:()=>[]}},setup(q){const{href:L}=t(),C=p([0]),I=e=>C.value.includes(e);return(t,p)=>{const S=e;return l(),s("section",m,[a("div",g,[a("h2",w,x(q.title),1),a("ul",y,[(l(!0),s(i,null,n(q.faqList,((e,t)=>(l(),s("li",{key:t,class:"cursor-pointer select-none rounded-3xl border border-solid border-border-2 bg-fill-ww-10 p-4",onClick:e=>(e=>{const t=C.value.findIndex((t=>t===e));t>-1?C.value.splice(t,1):C.value=[e]})(t)},[a("h3",v,[a("span",{class:f(["min-w-0 flex-1 text-[17px] font-medium leading-6 max-xs:text-base max-xs:leading-6",I(t)?"text-text-1":"text-text-2"])},x(e.question),3),o(S,{class:f(["size-6 shrink-0 text-text-5 transition-transform",I(t)?"rotate-180":"rotate-0"])},null,8,["class"])]),a("div",{class:f(["grid transition-[grid-template-rows] duration-300 ease-in-out",I(t)?"grid-rows-[1fr]":"grid-rows-[0fr]"])},[a("div",{class:"overflow-hidden",onClick:p[0]||(p[0]=c((()=>{}),["stop"]))},[a("div",b,[(l(!0),s(i,null,n(e.answer,((e,t)=>(l(),s("p",{key:t,class:"text-[15px] font-normal leading-[22px] text-text-3 max-xs:text-sm"},[(l(!0),s(i,null,n(e,((e,t)=>(l(),s(i,{key:t},["text"===e.type?(l(),s("span",h,x(e.text),1)):"link"===e.type?(l(),s("a",{key:1,href:u(L)(e.href),class:"text-text-1 underline underline-offset-4"},x(e.text),9,j)):d("",!0)],64)))),128))])))),128))])])],2)],8,k)))),128))]),r(t.$slots,"cta")])])}}};export{q as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.