1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7775],{2110:function(e,a,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/itr-1/[fy]/[uuid]",function(){return i(68677)}])},68677:function(e,a,i){"use strict";i.r(a),i.d(a,{__N_SSG:function(){return k}});var l=i(85893),n=i(32385),t=i(32599),d=i(67294),s=i(34253),o=i(11163),c=i(41664),r=i.n(c),v=i(18318),u=i(52091),h=i(10682),x=i(698),N=i(39468),p=i(69279),_=i(98919),j=i(30411),m=i(8123),f=i(48500),y=i(68430),T=i(68117),b=i(2915),g=i(45712),D=i(24803),S=i.n(D),w=i(8863),A=i(45007),E=i(30252),I=i(31744),R=i(24597);let Z=e=>{var a,i,c,D,Z;let{packageList:k}=e,B="itr-1",O=(0,o.useRouter)(),{fy:U,uuid:M,tab:H,nav:P}=O.query,V=(0,A.I0)(),[q,C]=(0,d.useState)(null===(a=n.ITR_DASHBOARD_SIDENAV_MENU[0])||void 0===a?void 0:null===(i=a.tab)||void 0===i?void 0:i[0]),[F,L]=(0,d.useState)(n.ITR_DASHBOARD_SIDENAV_MENU[0]),[G,J]=(0,d.useState)(!1),[W,X]=(0,d.useState)(null),Y=(0,A.v9)(e=>e.profile),z=(0,d.useRef)(null),Q=async()=>{let e={uuid:(0,s.X)(M)};try{z.current=M;let a=await (0,t.q)(e);X(a)}catch(e){console.log("error : ",e),z.current=null}};(0,d.useEffect)(()=>{var e,a,i,l,t,d,s;if(M&&!z.current&&Q(),H&&P){let i=(0,n.getSectionAndTab)(P,H,B);i?(L(i.nav),C(i.tab)):(L(n.ITR_DASHBOARD_SIDENAV_MENU[0]),C(null===(e=n.ITR_DASHBOARD_SIDENAV_MENU[0])||void 0===e?void 0:null===(a=e.tab)||void 0===a?void 0:a[0]))}else L(n.ITR_DASHBOARD_SIDENAV_MENU[0]),C(null===(i=n.ITR_DASHBOARD_SIDENAV_MENU[0])||void 0===i?void 0:null===(l=i.tab)||void 0===l?void 0:l[0]),U&&M&&O.replace("/dashboard/itr-1/".concat(U,"/").concat(M,"?nav=").concat(n.ITR_DASHBOARD_SIDENAV_MENU[0].code,"&tab=").concat(null===(t=n.ITR_DASHBOARD_SIDENAV_MENU[0])||void 0===t?void 0:null===(d=t.tab)||void 0===d?void 0:null===(s=d[0])||void 0===s?void 0:s.code),void 0,{shallow:!0})},[M,H,P,U]);let K=e=>{var a,i,l;V((0,E.o)({})),L(e),C((null==e?void 0:null===(a=e.tab)||void 0===a?void 0:a[0])||e),O.push("/dashboard/itr-1/".concat(O.query.fy,"/").concat(O.query.uuid,"?nav=").concat(e.code,"&tab=").concat(null==e?void 0:null===(i=e.tab)||void 0===i?void 0:null===(l=i[0])||void 0===l?void 0:l.code),void 0,{shallow:!0})},$=()=>{let e=(0,n.getNextTab)(null==q?void 0:q.code,B);if(V((0,E.o)({})),(null==e?void 0:e.next)&&(null==e?void 0:e.nav)){var a,i;C(e.next),L(e.nav),O.push("/dashboard/itr-1/".concat(O.query.fy,"/").concat(O.query.uuid,"?nav=").concat(null==e?void 0:null===(a=e.nav)||void 0===a?void 0:a.code,"&tab=").concat(null==e?void 0:null===(i=e.next)||void 0===i?void 0:i.code),void 0,{shallow:!0})}},ee=()=>{let e=(0,n.getPreviousTab)(null==q?void 0:q.code,B);if(V((0,E.o)({})),(null==e?void 0:e.previous)&&(null==e?void 0:e.nav)){var a,i;C(e.previous),L(e.nav),O.push("/dashboard/itr-1/".concat(O.query.fy,"/").concat(O.query.uuid,"?nav=").concat(null==e?void 0:null===(a=e.nav)||void 0===a?void 0:a.code,"&tab=").concat(null==e?void 0:null===(i=e.previous)||void 0===i?void 0:i.code),void 0,{shallow:!0})}};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{handleToggleNav:()=>J(!G),isActive:G}),(0,l.jsx)("div",{className:S().chatContainer,children:(null==F?void 0:F.title)==="Submit"?(0,l.jsxs)("div",{className:S().main_container,children:[(0,l.jsx)("div",{className:S().navWrapper,children:(0,l.jsx)(h.Z,{children:(0,l.jsxs)("div",{className:S().layout_container,style:{paddingBottom:0,paddingTop:0},children:[(0,l.jsxs)("div",{className:"".concat(S().navigate_width," d-flex align-items-center"),style:{flexShrink:0},children:[(0,l.jsxs)(r(),{href:"/dashboard/itr-tax-returns",className:S().dashboardLink,children:[(0,l.jsx)(v.gYP,{})," Dashboard"]}),(0,l.jsx)("div",{className:S().itrTypeBadge,style:{marginLeft:"10px"},children:B})]}),(0,l.jsx)("div",{className:"flex-grow-1",children:(0,l.jsx)(y.Z,{itrType:void 0,tabs:n.ITR_DASHBOARD_SIDENAV_MENU,selectTab:K,currentTab:F})})]})})}),(0,l.jsx)("div",{className:"flex-grow-1 overflow-hidden w-100",children:(0,l.jsx)(h.Z,{className:"h-100",children:(0,l.jsx)("div",{className:S().layout_container,children:(0,l.jsx)("div",{className:S().window_container,children:(0,l.jsx)(T.Z,{packages:k,itrType:B,data:W,handleBack:ee})})})})})]}):(0,l.jsxs)("div",{className:S().main_container,children:[(0,l.jsx)("div",{className:S().navWrapper,children:(0,l.jsx)(h.Z,{children:(0,l.jsxs)("div",{className:S().layout_container,style:{paddingBottom:0,paddingTop:0},children:[(0,l.jsxs)("div",{className:"".concat(S().navigate_width," d-flex align-items-center"),style:{flexShrink:0}
1,children:[(0,l.jsxs)(r(),{href:"/dashboard/itr-tax-returns",className:S().dashboardLink,children:[(0,l.jsx)(v.gYP,{})," Dashboard"]}),(0,l.jsx)("div",{className:S().itrTypeBadge,style:{marginLeft:"10px"},children:B})]}),(0,l.jsx)("div",{className:"flex-grow-1",children:(0,l.jsx)(y.Z,{itrType:void 0,tabs:n.ITR_DASHBOARD_SIDENAV_MENU,selectTab:K,currentTab:F})})]})})}),(0,l.jsx)("div",{className:"flex-grow-1 overflow-hidden w-100",children:(0,l.jsx)(h.Z,{className:"h-100",children:(0,l.jsxs)("div",{className:S().layout_container,children:[(0,l.jsx)("div",{className:"".concat(S().navigate_container," ").concat(S().navigate_width," ").concat(G?S().active:""),children:(0,l.jsxs)("div",{className:S().navigate_wrapper,children:[(0,l.jsxs)("div",{className:S().navigateSide,children:[(0,l.jsxs)("div",{className:S().section_title,children:[null==F?void 0:F.title.toUpperCase()," SECTIONS"]}),(0,l.jsx)("div",{className:"flex-grow-1",children:null==F?void 0:null===(c=F.tab)||void 0===c?void 0:c.map((e,a)=>{var i;if(null==e?void 0:null===(i=e.itrType)||void 0===i?void 0:i.includes(B))return(0,l.jsx)("div",{className:"".concat(S().list_menu," ").concat((null==q?void 0:q.code)===e.code?S().active:""),onClick:()=>{C(e),O.push("/dashboard/itr-1/".concat(O.query.fy,"/").concat(O.query.uuid,"?nav=").concat(null==F?void 0:F.code,"&tab=").concat(null==e?void 0:e.code),void 0,{shallow:!0})},children:(0,l.jsx)("span",{className:S().title,children:e.title})},a)})}),((null==Y?void 0:null===(D=Y.data)||void 0===D?void 0:D.is_admin)||(null==Y?void 0:null===(Z=Y.data)||void 0===Z?void 0:Z.is_staff))&&(null==F?void 0:F.code)==="profile-details"&&(0,l.jsx)("div",{className:"bg-white border-top p-3",children:(0,l.jsx)(w.Z,{title:"Upload Prefill JSON Data",description:"Upload your prefill in JSON",children:(0,l.jsx)("div",{className:"btn btn-danger w-100",children:"Upload Prefill"})})})]}),(0,l.jsxs)("div",{className:S().chat_with_expert_card,children:[(0,l.jsx)("div",{className:S().icon_box,children:(0,l.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,l.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})})}),(0,l.jsx)("div",{className:S().title,children:"Need assistance?"}),(0,l.jsx)("div",{className:S().p_dec,children:"Get instant help from our tax experts for a hassle-free ITR filing experience."}),(0,l.jsxs)(r(),{href:"https://wa.me/message/J53GTPN5AMQYO1",target:"_blank",children:["Talk to an expert ",(0,l.jsx)(u.xpo,{size:20,color:"#FFFF"})]})]})]})}),(0,l.jsx)("div",{className:S().window_container,children:(0,l.jsx)("div",{className:"".concat(S().inner_wrapper," "),children:(0,l.jsx)("div",{className:S().mainContent,children:W&&(0,l.jsxs)(l.Fragment,{children:[(null==q?void 0:q.title)==="Personal Details"&&(0,l.jsx)(x.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="Banking Details"&&(0,l.jsx)(N.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="Filing Status"&&(0,l.jsx)(m.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="Salary Details"&&(0,l.jsx)(_.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="House Property"&&(0,l.jsx)(j.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="Other Income"&&(0,l.jsx)(I.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="Capital Gain"&&(0,l.jsx)(b.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="Deduction"&&(0,l.jsx)(R.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="Tax Paid"&&(0,l.jsx)(g.Z,{itrType:B,data:W,handleNext:$}),(null==q?void 0:q.title)==="Tax Computation"&&(0,l.jsx)(p.Z,{itrType:B,data:W,handleNext:$})]})})})})]})})})]})})]})};var k=!0;a.default=Z}},function(e){e.O(0,[4738,9317,648,123,2777,1570,318,8508,1404,223,9705,9774,2888,179],function(){return e(e.s=2110)}),_N_E=e.O()}]);
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.