(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73360,t=>{"use strict";t.s(["default",()=>s]);var e=t.i(43476),i=t.i(61745),a=t.i(46932);let s=t=>{let{text:s,children:n}=t,l="ar"===(0,i.useLocale)();return(0,e.jsxs)(a.motion.p,{initial:{opacity:0,x:l?30:-30},animate:{opacity:1,x:0},transition:{duration:.6,ease:"easeOut"},className:"text-lg flex px-4 items-center gap-2",children:[(0,e.jsx)(a.motion.span,{initial:{scale:.7,opacity:0},animate:{scale:[1,1.2,1],opacity:1},transition:{duration:.8,ease:"easeOut"},className:"text-[#85A5E0] flex items-center",children:n}),(0,e.jsx)(a.motion.span,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},children:s})]})}},58912,t=>{"use strict";t.s(["default",()=>n]);var e=t.i(43476),i=t.i(71645),a=t.i(84828),s=t.i(94245);let n=t=>{let{faqItems:n}=t,[l,c]=(0,i.useState)(null),r=(0,s.useTranslations)("FAQPage");return(0,e.jsx)("div",{className:"w-full mt-10 p-5",children:n.length>0?n.map((t,i)=>(0,e.jsxs)("div",{className:"mb-4",children:[(0,e.jsxs)("div",{className:"flex justify-between items-center px-4 py-2 cursor-pointer rounded-t-lg transition-colors duration-300 ".concat(l===i?"bg-[#2F537D] text-white":"bg-white text-gray-700"),onClick:()=>(t=>{c(l===t?null:t)})(i),children:[(0,e.jsx)("h3",{className:"font-medium text-lg",children:t.question}),(0,e.jsx)("span",{className:"w-8 h-8 flex items-center justify-center rounded-md transition-colors duration-300 ".concat(l===i?"bg-white text-[#2F537D]":"bg-[#2F537D] text-white"),children:l===i?(0,e.jsx)(a.FaMinus,{}):(0,e.jsx)(a.FaPlus,{})})]}),(0,e.jsx)("div",{className:"overflow-hidden transition-all duration-500 ease-in-out ".concat(l===i?"max-h-40 opacity-100 p-4 bg-white rounded-b-xl":"max-h-0 opacity-0"),children:(0,e.jsx)("p",{className:"m-0 text-gray-700",children:t.answer})})]},t.id)):(0,e.jsx)("div",{className:"text-center text-gray-500 mt-5",children:r("noFaqs")})})}}]);