(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2117],{17130:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/resources/faq",function(){return n(8978)}])},46126:function(e,t,n){"use strict";var i=n(85893),r=n(93717),o=n(71293),a=n(87085),s=n(67294);t.Z=function(e){var t=e.categories,n=e.onFilter,l=(0,s.useState)(0),u=l[0],c=l[1];return(0,i.jsx)(a.Z,{children:(0,i.jsx)(r.k,{borderRadius:"40px",bgColor:"dark.500",p:2,w:{md:"fit-content"},mx:"auto",overflowX:"auto",flexWrap:{base:"nowrap",md:"wrap"},sx:{"&::-webkit-scrollbar":{display:"none"}},children:t.map((function(e,t){return(0,i.jsx)(o.x,{borderRadius:"full",py:{base:1,lg:2},px:{base:2,lg:6},fontWeight:600,cursor:"pointer",fontSize:{base:"14px",lg:"24px"},color:u===t?"dark.500":"#7C7C88",bgColor:u===t?"white":"transparent",onClick:function(){n(e),c(t)},transition:"all ease-in-out 200ms",overflow:"hidden",textAlign:"center",minW:"min-content",whiteSpace:"nowrap",children:e},t)}))})})}},62426:function(e,t,n){"use strict";var i=n(85893),r=n(27239),o=n(71293),a=(n(67294),n(24161)),s=n(87085),l=n(99853);t.Z=function(e){var t=e.title,n=e.description,u=e.titleMaxW,c=e.descriptionMaxW,d=e.CTA,x=e.titleColor,f=e.descriptionColor;return(0,i.jsx)(s.Z,{px:4,children:(0,i.jsxs)(r.M,{flexDir:"column",w:"full",mx:"auto",children:[(0,i.jsx)(l.Z,{variant:"section-heading",color:x||"#040320",mb:4,textAlign:"center",maxW:u||"initial",mx:"auto",children:t||"Ready to get instant credit?"}),(0,i.jsx)(o.x,{color:f||"#334",fontSize:{base:"16px",md:"20px"},lineHeight:{base:"20px",md:"24px"},mb:{base:6,md:12},textAlign:"center",maxW:c||"494px",mx:"auto",children:n||"Download our mobile app, available on Google Play and Apple Store, to get started today!"}),d||(0,i.jsx)(a.bo,{})]})})}},8978:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return b},default:function(){return g}});var i=n(85893),r=n(98430),o=n(24161),a=n(93717),s=n(86313),l=n(62426),u=n(67294),c=n(87085),d=n(46126),x=n(26852),f=n(55470);var p=function(){var e,t=(0,x.CG)(f.dM),n=(0,u.useMemo)((function(){return null===t||void 0===t?void 0:t.map((function(e){return null===e||void 0===e?void 0:e.title}))}),[t]),p=(0,u.useState)(n[0]),m=p[0],b=p[1];return(0,u.useEffect)((function(){b(n[0])}),[n]),(0,i.jsxs)(a.k,{flexDir:"column",gap:{base:"80px",md:"100px"},children:[(0,i.jsx)(o.TP,{caption:"FAQs",title:"Frequently Asked Questions",subTitle:"Get quick answers to questions troubling your mind.",ctaText:"Get an instant loan",ctaRoute:r.Z.getALoan}),(0,i.jsx)(d.Z,{categories:n,onFilter:function(e){return b(e)}}),(0,i.jsxs)(c.Z,{children:[(0,i.jsx)(o.Vt,{variant:"article-heading",mb:{base:6,md:12},textTransform:"uppercase",children:m}),(0,i.jsx)(s.il,{questions:null===(e=null===t||void 0===t?void 0:t.find((function(e){return e.title===m})))||void 0===e?void 0:e.faqs,hideHeading:!0,isDark:!0,isPortableText:!0})]}),(0,i.jsx)(l.Z,{title:"Need an instant loan?"}),(0,i.jsx)(o.M7,{})]})},m=function(e){var t=e.allFAQs,n=(0,x.TL)();return(0,u.useEffect)((function(){n((0,f.QB)(t))}),[t,n]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.HJ,{prefix:"FAQs",description:"Get quick answers to questions troubling your mind.",keywords:"Borrowers, loan agents, lenders",path:r.Z.faq}),(0,i.jsx)(p,{})]})},b=!0,g=m;m.defaultProps={isDark:!0}}},function(e){e.O(0,[9466,2638,6313,9774,2888,179],(function(){return t=17130,e(e.s=t);var t}));var t=e.O();_N_E=t}]);