1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1252],{82701:function(e,n,s){s.d(n,{Z:function(){return t}});const t=(0,s(91373).Z)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},62958:function(e,n,s){s.d(n,{Z:function(){return t}});const t=(0,s(91373).Z)("compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},63715:function(e,n,s){s.d(n,{Z:function(){return t}});const t=(0,s(91373).Z)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]])},41252:function(e,n,s){s.r(n),s.d(n,{default:function(){return _}});var t=s(26042),l=s(69396),a=s(29815),r=s(85893),o=s(67294),i=s(9008),c=s.n(i),d=s(41664),u=s.n(d),f=s(11163),h=s(89885),p=s(96486),m=s(93520),x=s(67814),g=s(59417),y=s(62958),b=s(63715);const v=(0,s(91373).Z)("book-open-text",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]]);var j=s(56989),w=s(41352),k=s(82701),N=s(69875),M=s(7386),D=s(71248),z=s(73524),C=s(35739),S=s(76124),T=[{label:"Career Guides",href:"/#career-guides",icon:y.Z,faIcon:g.GTN},{label:"Blog",href:"/#blog",icon:b.Z,faIcon:g.Xgz},{label:"Free Resources",href:"/#resources",icon:v,faIcon:g.cnt},{label:"About PVJ",href:"/#about",icon:j.Z,faIcon:g.DBf}];var _=function(e){var n,s=(0,o.useContext)(h.Z),i=s.toggleAuthModal,d=s.setIsLogin,y=s.setIsPayment,b=s.hasSession,v=s.appConfig,j=s.currentUser,_=s.lastTestPassCheck,Z=s.isTestPassPurchased,E=s.setIsTestPassPurchased,P=(0,f.useRouter)(),B=P.asPath,G=P.pathname,I=(0,o.useState)(!1),A=I[0],L=I[1];(0,o.useEffect)((function(){var e=function(){return L(window.innerWidth<1024)};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]);var O=(0,p.some)(v.web_menuitems,{type:"TEST_PASS"}),V=(0,m.hb)(v.web_testpasscompulsory),F=O&&(!V||!j||Z),W=(0,D.eK)((0,D.rT)(v,F),v,F),J=(0,o.useMemo)((function(){return(0,a.Z)(W.map((function(e){return(0,l.Z)((0,t.Z)({},e),{isStatic:!1})}))).concat((0,a.Z)(T.map((function(e){return(0,l.Z)((0,t.Z)({},e),{isStatic:!0})}))))}),[W]),X=J.slice(0,5),q=J.slice(5);(0,o.useEffect)((function(){return document.body.style.overflow=e.isOpen?"hidden":"",function(){document.body.style.overflow=""}}),[e.isOpen]);var U=(0,D.ud)(v,N.TX);U=(0,D.qn)(U,v),(0,o.useEffect)((function(){b&&O&&!Z&&(!(null===_||void 0===_?void 0:_.current)||_.current&&_.current.getTime()<(new Date).getTime()-3e5)&&(_.current=new Date,(0,M.bJ)(v.web_apiurl).then((function(e){var n,s=null===(n=e.data)||void 0===n?void 0:n[0];s&&E((0,m.hb)(s.is_paid))})).catch((function(e){return console.error(e)})))}),[_,b,Z,O,v.web_apiurl,E]);var R=function(e,n){if(null===n||void 0===n?void 0:n.startsWith("/#")){var s,t=n.slice(2);if("/"===P.pathname)e.preventDefault(),null===(s=document.getElementById(t))||void 0===s||s.scrollIntoView({behavior:"smooth"})}},$=function(e){d(e),y(!1),i()},H="0"!=v.web_enablemenuhome||(0,p.isEmpty)(v.web_landingpage)?"/":v.web_landingpage,K=(0,p.isEmpty)(v.web_landingpage)?"/courses":v.web_landingpage,Y=function(e){return e.as?"/"===e.as?"/"===B:B.includes(e.as):"/"===e.href?"/"===G:G.includes(e.href)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(c(),{children:[(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Caveat:wght@400;700&display=swap",rel:"stylesheet"})]}),(0,r.jsxs)("header",{className:"flex items-center justify-between gap-1.5 sm:gap-4 px-3 py-4 sm:px-4 sm:py-4 md:px-10 lg:px-20 bg-white/70 backdrop-blur-sm sticky top-0 z-50 overflow-x-hidden",style:{fontFamily:S.h6},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-3 min-w-0",children:[e.toggleSideBar&&(0,r.jsx)(C.z,{onClick:e.toggleSideBar,variant:"ghost",size:"icon",className:"lg:hidden size-8 sm:size-10 shrink-0",children:e.isOpen?(0,r.jsx)(w.Z,{className:"size-4",style:{color:S.DM.navy}}):(0,r.jsx)(x.G,{icon:g.xiG,style:{color:S.DM.navy}})}),(0,r.jsxs)("a",{href:H,className:"flex items-center gap-1.5 sm:gap-2.5 no-underline min-w-0",children:[!(0,p.isEmpty)(v.web_logo)&&(0,r.jsx)("img",{src:v.web_logo,alt:v.web_clientname||"PVJ Educational",className:"size-10 sm:size-12 lg:size-[74px] object-contain shrink-0"}),(0,r.jsxs)("div",{className:"font-bold leading-none text-[11px] sm:text-base lg:text-[22px] whitespace-nowrap",style:{color:S.DM.navy},children:[(0,r.jsx)("p",{className:"m-0",children:"PVJ"}),(0,r.jsx)("p",{className:"m-0",style:{color:S.DM.green},children:"EDUCATIONAL"})]})]})]}),!A&&(0,r.jsxs)("nav",{className:"hidden lg:flex gap-8 items-center h-[100px]",children:[X.map((function(e){var n=Y(e);return(0,r.jsx)(u(),{href:e.href,as:e.as||e.href,children:(0,r.jsxs)("a",{onClick:function(n){return R(n,e.href)},className:"flex flex-col gap-1 h-full items-start justify-center whitespace-nowrap text-[15px] no-u
1nderline",style:{color:n?S.DM.navy:S.DM.muted,fontWeight:n?600:500},children:[e.label,n&&(0,r.jsx)("span",{className:"h-[2px] rounded-full w-[18px]",style:{background:S.DM.green}})]})},e.label)})),q.length>0&&(0,r.jsxs)(z.h_,{children:[(0,r.jsxs)(z.$F,{className:"flex items-center gap-1 font-medium text-[15px]",style:{color:S.DM.muted},children:["More",(0,r.jsx)(x.G,{icon:g.ptq,className:"h-3 w-3"})]}),(0,r.jsx)(z.AW,{className:"rounded-xl max-h-[80vh]",children:q.map((function(e,n){var s=Y(e),t=e.icon;return(0,r.jsx)(u(),{href:e.href,as:e.as||e.href,children:(0,r.jsx)(z.Xi,{children:(0,r.jsxs)("a",{onClick:function(n){return R(n,e.href)},className:"flex items-center gap-2 rounded-lg px-3 h-10 w-full text-sm no-underline",style:{color:s?S.DM.green:S.DM.muted,fontWeight:s?600:500},children:[e.isStatic?(0,r.jsx)(t,{className:"size-4"}):(0,r.jsx)(x.G,{icon:e.icon,style:{color:S.DM.green}}),e.label]})})},n)}))})]})]}),b?(0,r.jsxs)(z.h_,{children:[(0,r.jsx)(z.$F,{asChild:!0,children:(0,r.jsx)("button",{className:"size-8 sm:size-10 lg:size-12 rounded-full overflow-hidden border-[1.5px] shrink-0 flex items-center justify-center",style:{borderColor:S.DM.green,background:S.DM.greenTint},children:(0,p.isEmpty)(null===j||void 0===j?void 0:j.photo)?(0,r.jsx)("span",{className:"font-semibold text-lg",style:{color:S.DM.navy},children:null===j||void 0===j||null===(n=j.name)||void 0===n?void 0:n.charAt(0)}):(0,r.jsx)("img",{src:j.photo,className:"h-full w-full object-cover",alt:null===j||void 0===j?void 0:j.name})})}),(0,r.jsx)(z.AW,{align:"end",collisionPadding:12,className:"rounded-xl w-56 max-w-[calc(100vw-1.5rem)]",children:U.filter((function(e){return e.isShown})).map((function(e){return(0,r.jsx)(z.Xi,{children:e.href?(0,r.jsx)(u(),{href:e.href,as:e.as||e.href,className:"w-full no-underline",children:(0,r.jsxs)("span",{className:"flex items-center gap-2 text-sm w-full px-1 py-1",style:{color:S.DM.muted},children:[(0,r.jsx)(x.G,{icon:e.icon,style:{color:S.DM.green}}),e.label]})}):(0,r.jsxs)("button",{onClick:"Logout"===e.label?N.TX:e.onClick,className:"flex items-center gap-2 text-sm w-full px-1 py-1",style:{color:S.DM.muted},children:[(0,r.jsx)(x.G,{icon:e.icon,style:{color:S.DM.green}}),e.label]})},"".concat(e.label,"-").concat(e.type))}))})]}):(0,r.jsxs)("a",{href:K,onClick:function(e){e.preventDefault(),$(!0)},className:"bg-white/85 border-[1.5px] flex gap-1 sm:gap-2 items-center px-2.5 py-1.5 sm:px-4 sm:py-2 lg:px-6 lg:py-3 rounded-full shrink-0 cursor-pointer no-underline",style:{borderColor:S.DM.green},children:[(0,r.jsx)("span",{className:"font-semibold text-xs sm:text-sm lg:text-[15px] whitespace-nowrap",style:{color:S.DM.navy},children:"Get Started"}),(0,r.jsx)(k.Z,{className:"size-3 sm:size-3.5 shrink-0",style:{color:S.DM.navy}})]})]}),(0,r.jsx)("button",{type:"button","aria-label":"Close menu",onClick:e.toggleSideBar,className:"fixed inset-0 z-40 bg-black/40 backdrop-blur-sm lg:hidden transition-opacity duration-500 ease-out ".concat(e.isOpen?"opacity-100":"opacity-0 pointer-events-none")}),(0,r.jsx)("aside",{className:"fixed top-0 left-0 z-50 flex h-full w-[85%] max-w-[320px] flex-col bg-white shadow-2xl transition-transform duration-500 ease-out will-change-transform lg:hidden ".concat(e.isOpen?"translate-x-0":"-translate-x-full"),style:{fontFamily:S.h6},children:(0,r.jsxs)("div",{className:"flex flex-1 flex-col overflow-y-auto no-scrollbar px-5 pb-6",children:[(0,r.jsxs)("div",{className:"sticky top-0 z-10 flex items-center justify-between bg-white py-5",children:[(0,r.jsxs)("a",{href:H,onClick:e.toggleSideBar,className:"flex items-center gap-2 no-underline",children:[!(0,p.isEmpty)(v.web_logo)&&(0,r.jsx)("img",{src:v.web_logo,alt:v.web_clientname||"PVJ Educational",className:"size-9 object-contain shrink-0"}),(0,r.jsxs)("div",{className:"font-bold leading-none text-[11px] whitespace-nowrap",style:{color:S.DM.navy},children:[(0,r.jsx)("p",{className:"m-0",children:"PVJ"}),(0,r.jsx)("p",{className:"m-0",style:{color:S.DM.green},children:"EDUCATIONAL"})]})]}),(0,r.jsx)("button",{type:"button","aria-label":"Close menu",onClick:e.toggleSideBar,className:"flex items-center justify-center rounded-full size-9 shrink-0",style:{background:S.DM.greenTint},children:(0,r.jsx)(w.Z,{className:"size-4",style:{color:S.DM.navy}})})]}),(0,r.jsx)("nav",{className:"flex flex-col gap-1",children:J.map((function(n){var s=Y(n),t=n.icon;return(0,r.jsx)(u(),{href:n.href,as:n.as||n.href,children:(0,r.jsxs)("a",{onClick:function(s){var t;R(s,n.href),null===(t=e.toggleSideBar)||void 0===t||t.call(e)},className:"flex items-center gap-3 rounded-xl px-3 py-3 text-[15px] no-u
1nderline",style:{color:s?S.DM.green:S.DM.navy,fontWeight:s?700:500,background:s?S.DM.greenTint:"transparent"},children:[n.isStatic?(0,r.jsx)(t,{className:"size-4 shrink-0"}):(0,r.jsx)(x.G,{icon:n.icon,className:"size-4 shrink-0",style:{color:s?S.DM.green:S.DM.muted}}),n.label]})},n.label)}))}),(0,r.jsx)("div",{className:"mt-3 flex flex-col gap-1 pt-3",style:{borderTop:"1px solid ".concat(S.DM.border)},children:b?(0,r.jsx)(r.Fragment,{children:U.filter((function(e){return e.isShown})).map((function(n){return n.href?(0,r.jsx)(u(),{href:n.href,as:n.as||n.href,children:(0,r.jsxs)("a",{onClick:e.toggleSideBar,className:"flex items-center gap-3 rounded-xl px-3 py-3 text-[15px] no-underline",style:{color:S.DM.navy},children:[(0,r.jsx)(x.G,{icon:n.icon,className:"size-4 shrink-0",style:{color:S.DM.green}}),n.label]})},"".concat(n.label,"-").concat(n.type)):(0,r.jsxs)("button",{type:"button",onClick:function(){var s,t;null===(s="Logout"===n.label?N.TX:n.onClick)||void 0===s||s(),null===(t=e.toggleSideBar)||void 0===t||t.call(e)},className:"flex items-center gap-3 rounded-xl px-3 py-3 text-left text-[15px]",style:{color:S.DM.navy},children:[(0,r.jsx)(x.G,{icon:n.icon,className:"size-4 shrink-0",style:{color:S.DM.green}}),n.label]},"".concat(n.label,"-").concat(n.type))}))}):(0,r.jsxs)("a",{href:K,onClick:function(n){var s;n.preventDefault(),null===(s=e.toggleSideBar)||void 0===s||s.call(e),$(!0)},className:"flex gap-2 items-center justify-center px-6 py-3 rounded-full font-semibold text-[15px] no-underline",style:{background:S.DM.navy,color:"#fff"},children:["Get Started",(0,r.jsx)(k.Z,{className:"size-4"})]})})]})})]})}},76124:function(e,n,s){s.d(n,{DM:function(){return o},Yu:function(){return r},h6:function(){return a},ou:function(){return l}});var t=s(96076),l="".concat(t.rZ,"/pvjeducational"),a="'Instrument Sans', ui-sans-serif, system-ui, sans-serif",r="'Caveat', cursive",o={navy:"#0d234a",green:"#3b8e3d",gold:"#fbc02d",muted:"#475569",text:"#1e293b",border:"#e2e8f0",greenTint:"#e8f5e9",blueTint:"#e3f2fd",yellowTint:"#fff9c4",purpleTint:"#f3e5f5",orange:"#ff8f00",orangeTint:"#fff3e0",purple:"#7b1fa2",cardBorder:"#f1f5f9"}}}]);
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.