1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5313],{77232:function(e,t,n){n.d(t,{Z:function(){return i}});const i=(0,n(91373).Z)("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},75313:function(e,t,n){n.r(t),n.d(t,{default:function(){return j}});var i=n(29815),s=n(85893),r=n(67294),a=n(9008),l=n.n(a),o=n(41664),c=n.n(o),u=n(11163),d=n(96486),x=n(8971),p=n(77232),m=n(41352),h=n(89885),f=n(73524),b=n(71248),g=n(69875),v=n(93520),w=n(62461),y=n(52194);function j(){var e,t=(0,r.useContext)(h.Z),n=t.appConfig,a=t.hasSession,o=t.currentUser,j=t.toggleAuthModal,N=t.isTestPassPurchased,F=(0,u.useRouter)(),k=(0,r.useState)(!1),E=k[0],C=k[1],B=function(){return C(!1)},_=function(){return null===j||void 0===j?void 0:j()};(0,r.useEffect)((function(){var e=function(){return C(!1)};return F.events.on("routeChangeComplete",e),function(){return F.events.off("routeChangeComplete",e)}}),[F.events]);var A=(0,d.some)(null===n||void 0===n?void 0:n.web_menuitems,{type:"TEST_PASS"}),D=(0,v.hb)(null===n||void 0===n?void 0:n.web_testpasscompulsory),S=A&&(!D||!o||N),I=(0,b.rT)(n,S,a);(I=(0,b.eK)(I,n,S)).some((function(e){return"HOME_PAGE"===e.type}))||(I=[{label:"Home",href:"/",type:"HOME_PAGE"}].concat((0,i.Z)(I)));var P=I.slice(0,5),T=I.slice(5),z=(0,b.ud)(n);z=(0,b.qn)(z,n).filter((function(e){return e.isShown}));var Z=(null===n||void 0===n?void 0:n.web_clientname)||y.vK,O="0"!=(null===n||void 0===n?void 0:n.web_enablemenuhome)||(0,d.isEmpty)(null===n||void 0===n?void 0:n.web_landingpage)?"/":n.web_landingpage,X=function(e){var t=e.as||e.href;return!!t&&("/"===t?"/"===F.pathname||"/"===F.asPath:e.as?F.asPath.includes(e.as):F.pathname.includes(e.href))},M=function(e,t,n,i){return(0,s.jsx)(c(),{href:e.href,as:e.as||e.href,children:(0,s.jsx)("a",{className:t,onClick:n,"aria-current":X(e)?"page":void 0,children:e.label})},"".concat(e.label,"-").concat(e.href,"-").concat(i))};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l(),{children:(0,s.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap"})}),(0,s.jsx)("nav",{id:"header",className:"sticky top-0 z-50 w-full bg-[#000D24] px-[16px] py-[16px] sm:px-6 lg:px-10",style:{fontFamily:y.ut},children:(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-[1280px] items-center justify-between gap-[16px]",children:[(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-[40px]",children:[(0,s.jsx)("a",{id:"headerLogo",href:O,"aria-label":"".concat(Z," home"),className:"flex shrink-0 items-center gap-2.5 no-underline",children:(0,d.isEmpty)(null===n||void 0===n?void 0:n.web_logo)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{src:"".concat(y.ou,"/logo-mark.webp"),alt:"",className:"h-[40px] w-[40px] shrink-0 rounded-[10px] object-contain"}),(0,s.jsxs)("span",{className:"whitespace-nowrap text-[18px] font-bold leading-none",children:[(0,s.jsx)("span",{className:"text-white",children:"APEX"})," ",(0,s.jsx)("span",{className:"text-[#F59E0B]",children:"ACCOUNTIX"})]})]}):(0,s.jsx)("img",{src:n.web_logo,alt:Z,className:"h-[40px] w-auto max-w-[180px] object-contain"})}),(0,s.jsxs)("div",{className:"hidden min-w-0 flex-1 items-center gap-[8px] overflow-hidden lg:flex",children:[P.map((function(e,t){return M(e,(0,w.cn)("whitespace-nowrap rounded-[8px] px-[12px] py-2 text-[15px] font-medium text-white/80 no-underline transition-colors hover:text-[#F59E0B]",X(e)&&"text-[#F59E0B]"),void 0,t)})),T.length>0&&(0,s.jsxs)(f.h_,{children:[(0,s.jsxs)(f.$F,{className:"flex shrink-0 items-center gap-1 whitespace-nowrap rounded-[8px] px-[12px] py-2 text-[15px] font-medium text-white/80 outline-none transition-colors hover:text-[#F59E0B]",children:["More",(0,s.jsx)(x.Z,{className:"size-4"})]}),(0,s.jsx)(f.AW,{align:"start",className:"rounded-xl",children:T.map((function(e,t){return(0,s.jsx)(f.Xi,{asChild:!0,children:(0,s.jsx)(c(),{href:e.href,as:e.as||e.href,children:(0,s.jsx)("a",{className:(0,w.cn)("flex w-full items-center rounded-[8px] px-[12px] py-2 text-sm font-medium text-black no-underline transition-colors hover:bg-[#FFF4DD]",X(e)&&"text-[#B87F0A]"),children:e.label})})},"".concat(e.label,"-").concat(e.href,"-").concat(t))}))})]})]})]}),(0,s.jsxs)("div",{className:"flex shrink-0 items-center gap-[12px]",children:[a?(0,s.jsxs)(f.h_,{children:[(0,s.jsx)(f.$F,{asChild:!0,children:(0,s.jsx)("button",{type:"button","aria-label":"Account menu",className:"flex size-9 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#F59E0B]",children:(0,d.isEmpty)(null===o||void 0===o?void 0:o.photo)?(0,s.jsx)("span",{className:"text-base font-bold text-[#000D24]",children:(null===o||void 0===o||null===(e=o.name)||void 0===e?void 0:e.charAt(0))||"A"}):(0,s.jsx)("img",{src:o.photo,alt:null===o||void 0===o?void 0:o.name,className:"h-full w-full object-cover"})})}),(0,s.jsx)(f.AW,{align:"end",className:"rounded-xl",children:z.map((function(e){return(0,s.jsx)(f.Xi,{children:"Logout"===e.label?(0,s.jsx)("button",{type:"button",onClick:g.T
1X,className:"w-full text-left text-sm font-medium text-gray-800",children:e.label}):(0,s.jsx)(c(),{href:e.href,as:e.as||e.href,children:(0,s.jsx)("a",{className:"w-full text-sm font-medium text-gray-800 no-underline",children:e.label})})},"".concat(e.label,"-").concat(e.type))}))})]}):(0,s.jsx)("button",{type:"button",onClick:_,className:"hidden h-[41px] items-center justify-center whitespace-nowrap rounded-[8px] border-[1.5px] border-solid border-[#F59E0B] px-[20px] text-[15px] font-semibold text-[#F59E0B] transition-colors hover:bg-[#F59E0B] hover:text-[#000D24] sm:inline-flex",children:"Get Started"}),(0,s.jsx)("button",{type:"button","aria-label":"Open menu",onClick:function(){return C(!0)},className:"inline-flex items-center justify-center rounded-[8px] border-[1px] border-solid border-white/20 p-2 text-white lg:hidden",children:(0,s.jsx)(p.Z,{className:"size-5"})})]})]})}),(0,s.jsx)("div",{onClick:B,"aria-hidden":"true",className:(0,w.cn)("fixed inset-0 z-[99] bg-black/50 backdrop-blur-sm transition-opacity duration-300 ease-in-out lg:hidden",E?"opacity-100":"pointer-events-none opacity-0")}),(0,s.jsxs)("div",{style:{fontFamily:y.ut},className:(0,w.cn)("fixed right-0 top-0 z-[100] flex h-full w-4/5 max-w-sm flex-col overflow-y-auto bg-[#000D24] p-6 shadow-2xl transition-transform duration-300 ease-in-out lg:hidden",E?"translate-x-0":"translate-x-full"),children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-[12px]",children:[(0,d.isEmpty)(null===n||void 0===n?void 0:n.web_logo)?(0,s.jsxs)("span",{className:"text-[17px] font-bold leading-none",children:[(0,s.jsx)("span",{className:"text-white",children:"APEX"})," ",(0,s.jsx)("span",{className:"text-[#F59E0B]",children:"ACCOUNTIX"})]}):(0,s.jsx)("img",{src:n.web_logo,alt:Z,className:"h-10 w-auto max-w-[170px] object-contain"}),(0,s.jsx)("button",{type:"button","aria-label":"Close menu",onClick:B,className:"inline-flex shrink-0 items-center justify-center rounded-[8px] border-[1px] border-solid border-white/20 p-2 text-white",children:(0,s.jsx)(m.Z,{className:"size-5"})})]}),(0,s.jsx)("nav",{className:"mt-[20px] flex flex-col gap-1",children:I.map((function(e,t){return M(e,(0,w.cn)("rounded-[8px] px-2 py-[12px] text-base font-medium text-white/80 no-underline transition-colors hover:bg-white/5",X(e)&&"text-[#F59E0B]"),B,t)}))}),!a&&(0,s.jsx)("button",{type:"button",onClick:function(){B(),_()},className:"mt-[16px] inline-flex items-center justify-center rounded-[8px] border-[1.5px] border-solid border-[#F59E0B] px-[20px] py-[12px] text-[16px] font-semibold text-[#F59E0B]",children:"Get Started"})]})]})}},52194:function(e,t,n){n.d(t,{$B:function(){return x},DM:function(){return o},T4:function(){return u},Vt:function(){return d},gP:function(){return r},jL:function(){return c},ou:function(){return a},ut:function(){return s},vK:function(){return l}});var i=n(96076),s="'Inter', ui-sans-serif, system-ui, sans-serif",r="'Outfit', 'Inter', ui-sans-serif, system-ui, sans-serif",a="".concat(i.rZ,"/apexaccountix"),l="Apex Accountix",o={navy950:"#000D24",navyCard:"#051A33",nearBlack:"#050B14",cream:"#FAF7F1",offWhite:"#FBFBFB",gold:"#F59E0B",goldText:"#D97706",textDark:"#0F1C35",textBody:"#5B6472"},c=function(e){return(null===e||void 0===e?void 0:e.web_whatsappchannellink)||((null===e||void 0===e?void 0:e.web_whatsapp)?"https://wa.me/".concat(e.web_whatsapp):"")},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"INR";try{return new Intl.NumberFormat("en-IN",{style:"currency",currency:t||"INR",minimumFractionDigits:0}).format(Number(e))}catch(n){return"\u20b9".concat(Number(e).toLocaleString("en-IN"))}},d=function(e){return(e||"").replace(/<style[\s\S]*?<\/style>/gi,"").replace(/<script[\s\S]*?<\/script>/gi,"").replace(/<[^>]*>/g," ").replace(/ /gi," ").replace(/&/gi,"&").replace(/</gi,"<").replace(/>/gi,">").replace(/"/gi,'"').replace(/'/gi,"'").replace(/\s+/g," ").trim()},x=function(e,t){var n=Number(e)>0?Number(e):0,i=Number(t)>0?Number(t):0,s=i>0&&n>0&&i>n;return{price:n,mrp:i,hasDiscount:s,discount:s?Math.ceil((i-n)/i*100):0}}}}]);
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.