1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{1071:function(e,s){s.Z={src:"/_next/static/media/peopleGroup.8ce0de4d.svg",height:16,width:16,blurWidth:0,blurHeight:0}},84072:function(e,s,t){var l=t(85893),r=t(25675),i=t.n(r),n=t(67294),a=t(40056),o=t(41664),c=t.n(o),d=t(1071),u=t(85635),x=t(15092),h=t(11163),p=t(42876),m=t(47881),g=t(13538),v=t(44544),j=t(219),f=t(93078),b=t(91224),y=t(74637),w=t(25931);s.Z=e=>{var s,t,r;let{yearId:o}=e,[N,_]=(0,n.useState)(!1),{userDetails:C}=(0,w.Z)(),{clearUserSession:k}=(0,g.Z)(),Z="true"===x.cG.true,I=(0,h.useRouter)(),sendDataLayer=()=>{let e={event:"career_path_clicks",course_id:null==I?void 0:I.query["career-path-id"],course_name:null==I?void 0:I.query["career-path-name"],mega_section:o?"learn":"doubts",section:"",sub_section:"",click_text:"community",milestone_section:"",milestone_sub_section:"",year:o||""};(0,y._)(e)},logOutUser=async()=>{try{v.zJ.includes(j.OT)||await m.Z.logout(),k("/")}catch(e){console.error(e)}};return(0,l.jsxs)(f.Z,{onOutsideClick:()=>_(!1),children:[(0,l.jsxs)("div",{className:"flex gap-6",children:[!v.zJ.includes(j.OT)&&(0,l.jsx)(i(),{src:d.Z,alt:"icon",width:36,height:36,className:"rounded-full hover:cursor-pointer ",onClick:()=>{sendDataLayer(),window.open("https://t.me/+ozgr_OcXPg0xZTk1","_new")}}),(0,l.jsx)("button",{type:"button",onClick:()=>_(!N),children:(null==C?void 0:null===(s=C.imageId)||void 0===s?void 0:s._id)?(0,l.jsx)("img",{src:"".concat(null==C?void 0:null===(t=C.imageId)||void 0===t?void 0:t.baseUrl).concat(null==C?void 0:null===(r=C.imageId)||void 0===r?void 0:r.key),alt:"icon",className:"rounded-full hover:cursor-pointer w-9 h-9"}):(0,l.jsx)(p.ProfileImageBackground,{lastName:null==C?void 0:C.lastName,firstName:null==C?void 0:C.firstName})})]}),N&&(0,l.jsx)("div",{className:"absolute bg-white top-[92%] w-48 right-[5px] shadow-light z-[9998] profileOpen",children:(0,l.jsxs)("ul",{className:" text-gray-650 !m-0 menu-dropdown-profile",children:[(0,l.jsxs)("li",{className:"mx-5 my-2 border-b",children:[(0,l.jsx)("span",{className:"text-orange-500 italic font-bold",children:"Hey"}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"font-bold break-words",children:C.firstName})]}),N&&(0,l.jsx)(c(),{href:"/dashboard/overview",children:(0,l.jsxs)("li",{className:"hover:bg-gray-100 px-5 py-2 flex gap-x-4 !m-0 items-center",children:[(0,l.jsx)(a.ClosedBook,{className:"w-5 h-5"})," ",(0,l.jsx)("span",{children:"My Dashboard"})]})}),Z&&(0,l.jsx)(c(),{href:"/purchases",children:(0,l.jsxs)("li",{className:"hover:bg-gray-100 px-5 py-2 flex gap-x-4 !m-0 items-center",children:[(0,l.jsx)(u.Z,{className:"w-5 h-5"})," ",(0,l.jsx)("span",{children:"My Purchases"})]})}),(0,l.jsx)("button",{type:"button",onClick:()=>{(0,b.e)("sk_logout_click",{user_id:C.id,user_name:"".concat(C.firstName," ").concat(C.lastName),user_email:C.email,user_phonenumber:"".concat(C.isdCode," ").concat(C.phoneNumber),source:"career_path_learn_logout"}),logOutUser()},className:"hover:bg-gray-100 w-full cursor-pointer",children:(0,l.jsxs)("li",{className:"px-5 py-2 flex gap-x-4 !m-0 items-center",children:[(0,l.jsx)(a.ExitOutline,{}),(0,l.jsx)("span",{children:"Logout"})]})})]})})]})}},9458:function(e,s,t){t.d(s,{Z:function(){return DashboardSidebar}});
1var l=t(85893);t(67294);var r=t(42876),i=t(41664),n=t.n(i),a=t(40056),o=t(85635),c=t(11163),d=t(5259),icons_Community=e=>{let{color:s="black",size:t=24,className:r=""}=e,i="";return i="orange"===s?"#E97862":"#757575",(0,l.jsx)("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:(0,l.jsxs)("g",{id:"Community",children:[(0,l.jsx)("circle",{id:"Ellipse 1642",cx:"18",cy:"18.5",r:"18",fill:"white"}),(0,l.jsx)("g",{id:"Group 627597",children:(0,l.jsxs)("g",{id:"Group 627595",children:[(0,l.jsxs)("g",{id:"Group 627593",children:[(0,l.jsx)("path",{id:"Vector",d:"M9.48065 17.8597C11.1152 17.8597 12.4403 16.5347 12.4403 14.9001C12.4403 13.2655 11.1152 11.9404 9.48065 11.9404C7.84608 11.9404 6.521 13.2655 6.521 14.9001C6.521 16.5347 7.84608 17.8597 9.48065 17.8597Z",fill:i}),(0,l.jsx)("path",{id:"Vector_2",d:"M12.8513 19.5038C11.6938 18.9159 10.4162 18.6816 9.48059 18.6816C7.64807 18.6816 3.89014 19.8055 3.89014 22.0524V23.7788H10.0561V23.1182C10.0561 22.3372 10.3849 21.5541 10.9604 20.9014C11.4196 20.3802 12.0625 19.8963 12.8513 19.5038Z",fill:i})]}),(0,l.jsxs)("g",{id:"Group 627594",children:[(0,l.jsx)("path",{id:"Vector_3",d:"M25.0189 17.8597C23.3843 17.8597 22.0592 16.5347 22.0592 14.9001C22.0592 13.2655 23.3843 11.9404 25.0189 11.9404C26.6534 11.9404 27.9785 13.2655 27.9785 14.9001C27.9785 16.5347 26.6534 17.8597 25.0189 17.8597Z",fill:i}),(0,l.jsx)("path",{id:"Vector_4",d:"M21.6482 19.5047C22.8058 18.9169 24.0833 18.6826 25.0189 18.6826C26.8514 18.6826 30.6094 19.8065 30.6094 22.0533V23.7798H24.4434V23.1192C24.4434 22.3382 24.1146 21.5551 23.5391 20.9024C23.0799 20.3811 22.437 19.8973 21.6482 19.5047Z",fill:i})]}),(0,l.jsx)("path",{id:"Vector_5",d:"M17.209 19.1748C15.0686 19.1748 10.7964 20.4968 10.7964 23.121V25.0941H23.6216V23.121C23.6216 20.4968 19.3494 19.1748 17.209 19.1748Z",fill:i}),(0,l.jsx)("path",{id:"Vector_6",d:"M17.2092 17.8597C19.207 17.8597 20.8265 16.2402 20.8265 14.2424C20.8265 12.2445 19.207 10.625 17.2092 10.625C15.2113 10.625 13.5918 12.2445 13.5918 14.2424C13.5918 16.2402 15.2113 17.8597 17.2092 17.8597Z",fill:i})]})})]})})},u=t(25931),DashboardSidebar=e=>{let{id:s,options:t}=e,{userDetails:i,isUserPaid:x,userIsLoggedIn:h}=(0,u.Z)(),p=(0,c.useRouter)(),returnIconFunction=e=>{switch(e){case"ClosedBook":default:return(0,l.jsx)(a.ClosedBook,{className:0===s?"text-orange-500":"text-gray-650"});case"QuestionMark":return(0,l.jsx)(a.QuestionMark,{className:1===s?"text-orange-500":"text-gray-650"});case"Support":return(0,l.jsx)(o.Z,{color:2===s?"orange":"gray"});case"Community":return(0,l.jsx)(icons_Community,{className:3===s?"text-orange-500":"text-gray-650"})}};return(0,l.jsx)("div",{className:"flex flex-col px-3 py-[52px] gap-6 bg-white h-full",children:null==t?void 0:t.map((e,t)=>(0,l.jsx)(n(),{href:null==e?void 0:e.link,children:(0,l.jsx)("button",{type:"button",className:"w-full",onClick:()=>{(0,d.Xg)({userData:i,isLoggedIn:h,isUserPaid:x,section_name:null==e?void 0:e.text,platform:"web"}),(0,d.zs)({userData:i,click_text:null==e?void 0:e.text,mega_section:null==e?void 0:e.text,section:"Career_path_sidebar",year:"",lesson_id:"",lesson_name:"",course_id:null==p?void 0:p.query["career-path-id"],course_name:null==p?void 0:p.query["career-path-name"],meet_url:""})},children:(0,l.jsxs)("div",{className:t===s?"flex gap-4 px-[10px] py-[5px] cursor-pointer hover:bg-orange-50 bg-orange-50 rounded-lg items-center":"flex gap-4 px-[10px] py-[5px] cursor-pointer hover:bg-[#F8F8F8] items-center hover:rounded-lg",children:[returnIconFunction(e.icon),(0,l.jsx)(r.Typography,{className:t===s?"text-orange-500":"text-gray-850",component:"h4",children:e.text})]})})},null==e?void 0:e.text))})}},88433:function(e,s,t){t.d(s,{Z:function(){return MobileviewNavbar}});
1var l=t(85893),r=t(25675),i=t.n(r),n=t(67294),a=t(41664),o=t.n(a),c=t(42876),d=t(50081),u=t(40236),x={src:"/_next/static/media/NextIcon.898c72cf.svg",height:16,width:16,blurWidth:0,blurHeight:0},h={src:"/_next/static/media/closeIcon.1af5d03c.svg",height:14,width:15,blurWidth:0,blurHeight:0},p={src:"/_next/static/media/leftArrow.19920e81.svg",height:16,width:16,blurWidth:0,blurHeight:0},m=t(10056),g=t(69375),v=t(5259),j=t(1176),f=t(25931),MobileviewNavbar=e=>{let{sidebarOptions:s}=e,[t,r]=(0,n.useState)(!1),[a,b]=(0,n.useState)(),{setShowMobileSidebar:y}=(0,j.G)(),{userDetails:w,isUserPaid:N,userIsLoggedIn:_}=(0,f.Z)(),C=[{text:"My Course",arrowIcon:!0,link:"/dashboard/mycourse"},{text:"My Profile",arrowIcon:!0,link:"/"},{text:"Transaction History",arrowIcon:!0,link:"/"},{text:"Logout",arrowIcon:!0,link:"/"}],{origin:k}=(0,g.Z)();return(0,n.useEffect)(()=>{t?b(C):b(s)},[t]),(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"relative large:hidden w-full h-[700px] bg-white ",children:(0,l.jsxs)("div",{className:"z-10 w-full h-[100%] flex flex-col",children:[(0,l.jsxs)("div",{className:"flex z-10 h-[80px] lg:w-[1440px] items-center justify-between bg-white shadow-[0px_1px_8px_rgba(0,0,0,0.08)] px-[16px]",children:[(0,l.jsx)("div",{children:(0,l.jsx)(o(),{href:k,children:(0,l.jsx)(i(),{src:(0,m.VW)()?u.Z:d.Z,alt:"icon"})})}),(0,l.jsx)("div",{children:(0,l.jsx)(i(),{src:h,alt:"icon",className:"hover:cursor-pointer",onClick:()=>y(!1)})})]}),t?(0,l.jsx)("button",{onClick:()=>r(!1),type:"button",children:(0,l.jsxs)("div",{className:"px-[26px] pt-[26px] flex items-center gap-2",children:[(0,l.jsx)("div",{children:(0,l.jsx)(i(),{src:p,alt:"icon"})}),(0,l.jsx)("div",{children:(0,l.jsx)("p",{className:"text-gray-600 font-bold",children:"Back"})})]})}):(0,l.jsxs)("div",{className:"bg-[#F8F8F8] px-4 py-6 w-full flex gap-3 items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex gap-3 items-center",children:[(0,l.jsx)("button",{type:"button",children:(null==w?void 0:w.img)?(0,l.jsx)("img",{src:(0,m.Lw)(null==w?void 0:w.img),alt:"icon",className:"rounded-full hover:cursor-pointer w-[52px] h-[52px]"}):(0,l.jsx)(c.ProfileImageBackground,{firstName:null==w?void 0:w.firstName,lastName:null==w?void 0:w.lastName})}),(0,l.jsxs)("div",{className:" self-end",children:[(0,l.jsx)(c.Typography,{component:"body-regular",variant:"bold",className:"italic text-orange-500 font-bold",children:"Hey"}),(0,l.jsxs)(c.Typography,{component:"body-regular",variant:"bold",children:[null==w?void 0:w.firstName," ",null==w?void 0:w.lastName]})]})]}),(0,l.jsx)("div",{children:(0,l.jsx)(i(),{src:x,alt:"icon",onClick:()=>r(!0),height:16,width:16})})]}),(0,l.jsx)("div",{className:"px-[16.5px] py-6 flex flex-col gap-3",children:null==a?void 0:a.map(e=>(0,l.jsxs)(o(),{href:null==e?void 0:e.link,children:[(0,l.jsx)("button",{onClick:()=>{(null==e?void 0:e.text)&&(0,v.Xg)({userData:w,isLoggedIn:_,isUserPaid:N,section_name:e.text,platform:"web"}),y(!1)},type:"button",className:"w-full",children:(0,l.jsxs)("div",{className:"flex gap-4 cursor-pointer py-2 pl-2 pr-4 justify-between",children:[(0,l.jsx)(c.Typography,{className:"!text-[16px] font-bold text-gray-850 !leading-[24px]",component:"h4",children:e.text}),(null==e?void 0:e.arrowIcon)&&(0,l.jsx)(i(),{src:x,alt:"icon",onClick:()=>r(!0)})]})}),(0,l.jsx)("div",{className:"h-px bg-[#F8F8F8] border-0 w-[100%]"})]},null==e?void 0:e.text))})]})})})}},69375:function(e,s,t){var l=t(67294);s.Z=()=>{let[e,s]=(0,l.useState)({origin:"",host:""});return(0,l.useEffect)(()=>{s({origin:window.location.origin,host:window.location.host})},[]),e}}}]); 2//# sourceMappingURL=2403-5be5475df7c0b729.js.map
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.