PageSourceSearch

https://www.drreddys.com/_next/static/chunks/3500-5498aa5b14f1cd5f.js

js drreddys.com collected 2026-10-01 11:41:05 UTC 23,645 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3500],{5016:(e,a,t)=>{"use strict";t.d(a,{default:()=>c});var l=t(95155);t(12115);var n=t(27855),s=t(80357);t(46320);var r=t(52619),i=t.n(r),d=t(20258),o=t(3567);let c=e=>{let{variant:a="link_cta_bright_purple",isDisabled:t,direction:r,children:c,className:h="",endIcon:u=(0,l.jsx)(d.tj,{className:"right-arrow-icon"}),href:x,openInNewTab:f=!1,hideOnMobile:g=!1,showOnMobile:p=!1,mode:m="light",...j}=e,b={left:(0,l.jsx)(d.IN,{className:"left-arrow-icon"}),right:(0,l.jsx)(d.tj,{className:"right-arrow-icon"})},v=r?b[r]:null,A=(0,o.Sq)(x),y=A?{component:i(),target:f?"_blank":void 0,rel:f?"noopener noreferrer":void 0,...(0,o.fr)(A)}:{};return"/empty"!==A?(0,l.jsx)(s.default,{className:"default-btn-style ".concat(g?"btn-hide-on-mobile":""," ").concat(p?"btn-show-on-mobile":""),children:(0,l.jsx)(n.A,{variant:{primary_button:"contained",secondary_button:"text",link_cta:"text",icon_button:"text",link_cta_bright_purple:"text"}[a],disableElevation:!0,disableRipple:!0,disabled:t,className:"para-3 ".concat("link_cta_bright_purple"!==a?"text-primary":""," font-weight-700 ").concat({primary_button:"primary-btn",secondary_button:"secondary-btn",link_cta:"link-cta-btn",icon_button:"icon-btn",link_cta_bright_purple:"link-cta-bright-purple-btn"}[a]," ").concat(t?"disabled-btn":""," ").concat(h," ").concat(m),..."icon_button"!==a?{endIcon:null!=u?u:(0,l.jsx)(d.tj,{className:"right-arrow-icon"})}:{},...y,...j,children:"icon_button"===a?v:c})}):null}},6341:(e,a,t)=>{"use strict";t.d(a,{A:()=>d});var l=t(95155);t(12115);var n=t(80357),s=t(88530),r=t(34782),i=t(12981);t(91649);let d=e=>{let{wrapperClassName:a="",inputClassName:t="",value:d,onChange:o,placeholder:c="Search for locations",type:h="search",inputType:u="text",required:x=!1,label:f,error:g,helperText:p}=e;return"search"===h?(0,l.jsx)(n.default,{className:"custom-textfield-input ".concat(a),children:(0,l.jsx)(s.A,{type:u,className:t,fullWidth:!0,value:d,onChange:o,placeholder:c,InputProps:{endAdornment:(0,l.jsx)(r.A,{position:"end",children:(0,l.jsx)(i.A,{})})}})}):(0,l.jsx)(s.A,{type:u,value:d,onChange:o,fullWidth:!0,className:t,variant:"standard",placeholder:c,slotProps:{input:{startAdornment:(0,l.jsxs)(r.A,{position:"start",children:[f," ",x?(0,l.jsx)("span",{className:"text-danger",style:{marginLeft:2},children:"*"}):(0,l.jsx)(l.Fragment,{})]})}},error:g,helperText:p,FormHelperTextProps:{className:"text-danger para-3",sx:{mt:1}}})}},12202:(e,a,t)=>{"use strict";t.d(a,{default:()=>c});
1var l=t(95155),n=t(12115),s=t(80357),r=t(14962),i=t(77524),d=t(24251),o=t(20258);t(16824);let c=e=>{let{keyIndex:a,accordionKey:t="",className:c="",accordionTitle:h,accordionBody:u,sx:x}=e,[f,g]=n.useState(!1),p="function"==typeof h?h(f):h,m="function"==typeof u?u(f):u;return(0,l.jsx)(s.default,{className:"custom-accordion ".concat(c),children:(0,l.jsxs)(r.A,{expanded:f,onChange:()=>{g(e=>!e)},"data-accordion-key":t,sx:x,children:[(0,l.jsx)(i.A,{expandIcon:f?(0,l.jsx)(o.YP,{fillColor:"#6A6A6A",height:24,width:24}):(0,l.jsx)(o.RE,{fillColor:"#6A6A6A",height:24,width:24}),"aria-controls":"panel-".concat(t,"-content"),id:"panel-".concat(t,"-header"),children:p}),(0,l.jsx)(d.A,{children:m})]},a)})}},16824:()=>{},19563:(e,a,t)=>{"use strict";t.d(a,{default:()=>s});var l=t(95155);t(12115);var n=t(80357);t(64088);let s=e=>{let{children:a,className:t,...s}=e;return(0,l.jsx)(n.default,{className:"footer-cards-container ".concat(null!=t?t:""),...s,children:a})}},22928:(e,a,t)=>{"use strict";t.d(a,{default:()=>i});var l=t(95155);t(12115);var n=t(80357),s=t(96869),r=t(37018);t(46320);let i=e=>{let{count:a,page:t,onChange:i,boundaryCount:d=1,siblingCount:o=0,...c}=e;return(0,l.jsx)(n.default,{className:"custom-pagination",children:(0,l.jsx)(s.A,{spacing:2,children:(0,l.jsx)(r.A,{count:a,page:t,onChange:i,boundaryCount:d,variant:"text",siblingCount:o,...c})})})}},25720:()=>{},27352:()=>{},46320:()=>{},50748:()=>{},54728:(e,a,t)=>{"use strict";t.d(a,{a:()=>n});var l=t(12115);function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:768,[a,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let a=window.matchMedia("(max-width: ".concat(e-1,"px)")),l=()=>t(a.matches);return l(),a.addEventListener?a.addEventListener("change",l):a.addListener(l),()=>{a.removeEventListener?a.removeEventListener("change",l):a.removeListener(l)}},[e]),a}},64088:()=>{},75026:(e,a,t)=>{"use strict";t.d(a,{default:()=>i});var l=t(95155);t(12115);var n=t(80357),s=t(24288);t(46320);
1var r=t(24381);let i=e=>{let{containerClass:a="",...t}=e;return(0,l.jsx)(n.default,{className:"default-btn-style ".concat(a),...t,children:(0,l.jsx)(s.A,{className:"play-btn","aria-label":"play-button",children:(0,l.jsx)(r.A,{})})})}},75751:(e,a,t)=>{"use strict";t.d(a,{default:()=>i});var l=t(95155);t(12115);var n=t(80357),s=t(80317),r=t(5016);t(64088);let i=e=>{let{variant:a="desktop_callout_grey",mobileSize:t="mobile_small",className:i="",imageSrc:d,title:o,subTitle:c,buttonText:h,buttonLink:u,openInNewTab:x}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(n.default,{className:"callouts-card ".concat(a," ").concat(t," ").concat(i),children:[(0,l.jsxs)(n.default,{className:"callouts-card-image-text-box",children:[d?(0,l.jsx)("img",{src:d,alt:"banner-image",width:56,height:56}):null,(0,l.jsxs)(n.default,{children:[(0,l.jsx)(s.default,{variant:"h4",className:"h4 text-secondary font-weight-700",children:o}),(0,l.jsx)(s.default,{className:"para-2 text-gray font-weight-400",children:c})]})]}),(0,l.jsx)(n.default,{className:"callouts-card-button-box",children:(0,l.jsx)(r.default,{variant:"primary_button",href:u,openInNewTab:x,children:h})})]})})}},91649:()=>{},92389:(e,a,t)=>{"use strict";t.d(a,{default:()=>w});var l=t(95155),n=t(12115),s=t(23258),r=t(31607),i=t(80357),d=t(75416),o=t(97179),c=t(43791),h=t(80317),u=t(98447),x=t(56120),f=t(80223),g=t(54463),p=t(31512),m=t(6388),j=t(9877),b=t(78382),v=t(49777);t(50748),r.t1.register(r.Bs,r.m_,r.s$,r.PP,r.kc,r.E8);let A=e=>{let{list:a}=e,t=[...new Set(a.map(e=>e.date))].sort(),n=[...new Set(a.map(e=>e.category))];console.log(t);let r={borderRadius:{topLeft:4,topRight:4,bottomLeft:0,bottomRight:0},barThickness:48,stack:"stack1"},d=new Map;a.forEach(e=>{let a="".concat(e.date,"___").concat(e.category);d.has(a)||d.set(a,e)});let o=n.map(e=>({label:e,data:t.map(a=>{let t="".concat(a,"___").concat(e),l=d.get(t);return l?parseFloat(l.percentage.replace("%","").replace(",","")):0}),backgroundColor:({"Promoters' Holdings":"#622aff","Public Holdings":"#ffa600","Foreign Holdings":"#ff80cb",Others:"#0fd6ff","Promoters Holdings":"#622aff","Public Holdings:":"#ffa600","Foreign Holdings:":"#ff80cb","Others:":"#0fd6ff"})[e]||"#999",...r}));return console.log("Chart Input",a),(0,l.jsx)(i.default,{sx:{width:{xs:"100%",lg:"80%"},height:{xs:"100%",lg:"100%"},maxWidth:{xs:"80%",lg:"80%"}},children:(0,l.jsx)(s.yP,{data:{labels:t,datasets:o},options:{responsive:!0,plugins:{legend:{display:!1},tooltip:{enabled:!0,callbacks:{label:e=>"".concat(e.dataset.label,": ").concat(e.parsed.y,"%")}}},scales:{x:{stacked:!0,grid:{display:!1},ticks:{font:{size:10,family:"DRL Circular Book"}}},y:{stacked:!0,position:"right",min:0,max:100,ticks:{callback:e=>"".concat(e,"%"),padding:10,stepSize:20},grid:{color:"#e0e0e0"}}}}})})};var y=t(43772);function _(e){let a=[];for(let[t,l]of Object.entries({"Promoters' Holdings:":3,"Public Holdings:":8,"Foreign Holdings:":14,Others:15})){let n=e[l.toString()];Array.isArray(n)&&a.push({category:t.replace(/:$/,""),shares:n[1].trim(),percentage:n[2].trim()})}return a}r.t1.register(r.Bs,r.m_,r.s$,r.PP,r.kc,r.E8);let N=[{label:"Summary",value:"summary"},{label:"Trend",value:"trend"}],w=()=>{let e=(0,n.useRef)(null),[a,t]=(0,n.useState)(0),[r,w]=(0,n.useState)(N[0].value),[k,S]=(0,n.useState)(!0),[C,I]=(0,n.useState)([]),[B,F]=(0,n.useState)([]),[P,T]=(0,n.useState)([]),[E,L]=(0,n.useState)([]),M=(0,n.useMemo)(()=>["#622aff","#ffa600","#ff80cb","#0fd6ff"],[]),H=(0,n.useMemo)(()=>C.reduce((e,a)=>e+parseInt(a.shares.replace(/,/g,"")),0),[C]),R=(0,n.useMemo)(()=>({labels:C.map(e=>e.category),datasets:[{data:C.map(e=>parseInt(e.shares)),backgroundColor:M,borderRadius:4,spacing:12,borderWidth:0}]}),[C,M]),D={plugins:{tooltip:{enabled:!1},legend:{display:!1}},cutout:"85%",responsive:!0,maintainAspectRatio:!1,layout:{padding:25},transitions:{active:{animation:{duration:500,easing:"easeOutQuart"}}},animation:{duration:300,easing:"easeOutQuart"},onHover:(e,l)=>{if(l.length>0){let e=l[0].index;e!==a&&t(e)}}};return(0,n.useEffect)(()=>{e.current&&e.current.update()},[a]),(0,n.useEffect)(()=>{(async()=>{S(!0);try{let e=await fetch("/api/server-api-call?apiEndpoint=".concat(encodeURIComponent("jsonapi/node/shareholding_pattern"),"&baseUrl=").concat(encodeURIComponent(v.sT))),a=await e.json(),t=a.data[0].attributes.field_table_shareholding.value,l=a.data[1].attributes.field_table_shareholding.value;I(_(t));let n=a.data.map(e=>{let a=e.attributes.field_table_shareholding.value,t=(null==a?void 0:a.caption)||e.attributes.title;return _(a).map(e=>({date:t,category:e.category,percentage:e.percentage}))}).flat();F(n),F(n),T(function(e){let a=[],t=null;for(let[l,n]of Object.entries(e)){if(isNaN(Number(l))||!Array.isArray(n)||3!==n.length)continue;let[e,s,r]=n;"caption"!==(e||"").trim().toLowerCase()&&(!e||s||r?!e&&s&&r&&t?a.push({particulars:t,shares:s,percentage:r,header:!0}):a.push({particulars:e,shares:s,percentage:r,header:!1}):t=e)}return a}(t)),L(function(e){let a=[];for(let[t,l]of Object.entries(e)){if(isNaN(Number(t))||!Array.isArray(l)||4!==l.length)continue;let[e,n,s,r]=l;a.push({serial:e,name:n,shares:s,percentage:r})}return a}(l))}catch(e){console.error("Error fetching shareholding data:",e)}finally{S(!1)}})()},[]),(0,l.jsxs)(i.default,{className:"Investor-sub-tabs",children:[(0,l.jsxs)(j.Ay,{value:r,children:[(0,l.jsx)(i.default,{className:"country-tab-wrap",children:(0,l.jsx)(b.A,{className:"country-tab-list",variant:"scrollable",scrollButtons:"auto",onChange:(e,a)=>{w(a)},children:N.map((e,a)=>(0,l.jsx)(d.A,{label:e.label,value:e.value},a))})}),(0,l.jsx)(i.default,{children:(0,l.jsxs)(o.default,{container:!0,children:[(0,l.jsx)(o.default,{size:{xs:12,sm:12,md:6,lg:6},sx:{minHeight:{sm:"350px",lg:"400px"}},children:k?(0,l.jsx)(c.A,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:"#f0f0f0"}}):"summary"===r?(0,l.jsx)(i.default,{sx:{width:{xs:"100%",lg:"100%"},height:"100%",maxHeight:{xs:328,lg:400},maxWidth:{xs:328,lg:400},position:"relative",background:"#fff",aspectRatio:1,borderRadius:"100%",boxShadow:"0px 0px 80px 0px #0000000F",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,l.jsx)(s.nu,{ref:e,data:R,options:{...D,plugins:{...D.plugins,centerTextPlugin:{activeIndex:a}}},plugins:[{id:"centerTextPlugin",beforeDatasetDraw(e,a){var t,l;let{ctx:n}=e,s=e.getDatasetMeta(a.index),r=null==(l=e.options.plugins)||null==(t=l.centerTextPlugin)?void 0:t.activeIndex;if(null==r)return;let i=s.data[r];if(!i)return;n.save();let{startAngle:d,endAngle:o,outerRadius:c,innerRadius:h,x:u,y:x}=i,f=c+8,g=h-4;n.save();let p=(d+o)/2,m=f-g,j=Math.cos(p)*m*.5,b=Math.sin(p)*m*.5;n.translate(u+j,x+b),n.beginPath(),n.arc(0,0,(f+g)/2,d,o),n.lineTo(Math.cos(o)*g,Math.sin(o)*g),n.arc(0,0,g,o,d,!0),n.closePath(),n.shadowColor=M[r],n.shadowBlur=80,n.shadowOffsetX=0,n.shadowOffsetY=0,n.globalAlpha=.75,n.fillStyle=M[r],n.lineJoin="round",n.lineCap="round",n.fill(),n.restore(
1)},afterDraw:e=>{var a;let{ctx:t,chartArea:l}=e,n=null==(a=e.options.plugins)?void 0:a.centerTextPlugin,s=null==n?void 0:n.activeIndex;if(!t||null===s)return;let r=l.right-l.left,i=l.bottom-l.top,d=l.left+r/2,o=l.top+i/2,c=R.labels&&Array.isArray(R.labels)?R.labels[s]:"",h=R.datasets&&R.datasets[0],u=(h&&Array.isArray(h.data)?h.data:[])[s],x="".concat("number"==typeof u?u.toFixed(2):String(u),"%"),f=e.getDatasetMeta(0).data[s],{startAngle:g,endAngle:p,outerRadius:m,innerRadius:j}=f,b=g+(p-g)/2,v=(m+j)/2,A=Math.cos(b+Math.PI)*v*.35,y=Math.sin(b+Math.PI)*v*.35;t.save(),t.textAlign="center",t.textBaseline="middle",t.fillStyle="#3F3F3F",t.font="400 18px DRL Circular Book",t.fillText(c,d+A,o+y-10),t.font="400 18px DRL Circular Book",t.font="400 14px DRL Circular Book",t.fillText("".concat(H.toLocaleString()),d+A,o+y+10),t.restore();let{x:_,y:N}=f.tooltipPosition(!0);t.save(),t.font="400 24px DRL Circular Book",t.fillStyle=M[s],t.textAlign="center",t.fillText(x,null!=_?(_+d)/2:d/2,null!=N?(N+o)/2:o/2),t.restore()}}]})}):(0,l.jsx)(i.default,{sx:{width:{xs:"100%",lg:"100%"},height:"100%",maxHeight:{xs:328,lg:400},position:"relative",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,l.jsx)(A,{list:B})})}),(0,l.jsxs)(o.default,{size:{xs:12,sm:12,md:6,lg:6},children:[(0,l.jsx)(h.default,{variant:"h4",className:"h4 font-weight-400 text-global",children:"Shareholder Summary"}),(0,l.jsx)(u.A,{children:(0,l.jsxs)(x.A,{children:[(0,l.jsx)(f.A,{sx:{borderBottom:"1px solid #EAEAEA",padding:"16px 0"},children:(0,l.jsxs)(g.A,{children:[(0,l.jsx)(p.A,{sx:{border:"none",padding:"16px 0"},children:"Shareholders"}),(0,l.jsx)(p.A,{sx:{border:"none",padding:"16px 0"},align:"center",children:"No. of Shares"}),(0,l.jsx)(p.A,{sx:{border:"none",padding:"16px 0"},align:"center",children:"% of Shares"})]})}),(0,l.jsx)(m.A,{children:C.map((e,a)=>(0,l.jsxs)(g.A,{children:[(0,l.jsxs)(p.A,{sx:{border:"none",padding:"16px 0",display:"flex",alignItems:"center",gap:1},children:[(0,l.jsx)(i.default,{sx:{width:12,height:12,borderRadius:"50%",backgroundColor:M[a]}}),e.category]}),(0,l.jsx)(p.A,{sx:{border:"none",padding:"16px 0"},align:"center",children:e.shares}),(0,l.jsx)(p.A,{sx:{border:"none",padding:"16px 0"},align:"center",children:e.percentage})]},a))})]})})]})]})})]}),(0,l.jsxs)(i.default,{children:[(0,l.jsx)(h.default,{variant:"h4",className:"h4 font-weight-400 text-global",mb:{xs:3,lg:9},mt:{xs:3,lg:18},children:"Detailed Breakdown"}),(0,l.jsx)(u.A,{children:(0,l.jsxs)(x.A,{sx:{border:"1px solid #BFBFBF",borderRadius:"8px"},children:[(0,l.jsx)(f.A,{children:(0,l.jsxs)(g.A,{sx:{background:"#F5F5F5"},children:[(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B1",children:(0,l.jsx)("strong",{children:"Particulars"})})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B1",children:(0,l.jsx)("strong",{children:"No. of Shares"})})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B1",children:(0,l.jsx)("strong",{children:"% of Shares"})})})]})}),(0,l.jsx)(m.A,{children:P.slice(1).map((e,a)=>e.header?(0,l.jsxs)(g.A,{sx:{background:"#E9F0EF"},children:[(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:e.particulars})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:(0,l.jsx)("strong",{children:e.shares})})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:(0,l.jsx)("strong",{children:e.percentage})})})]},a):(0,l.jsxs)(g.A,{children:[(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:e.particulars})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:e.shares})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:e.percentage})})]},a))})]})})]}),(0,l.jsxs)(i.default,{sx:{marginTop:"200px"},children:[(0,l.jsx)(h.default,{variant:"h4",className:"h4 font-weight-400 text-global",mb:{xs:3,lg:9},children:"Top 10 Public Shareholders"}),(0,l.jsx)(u.A,{children:(0,l.jsxs)(x.A,{sx:{border:"1px solid #BFBFBF",borderRadius:"8px"},children:[(0,l.jsx)(f.A,{children:(0,l.jsxs)(g.A,{sx:{background:"#F5F5F5"},children:[(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B1",children:(0,l.jsx)("strong",{children:"Sr. No"})})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B1",children:(0,l.jsx)("strong",{children:"Name of Shareholder"})})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B1",children:(0,l.jsx)("strong",{children:"No. of Shares"})})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B1",children:(0,l.jsx)("strong",{children:"% of Shares"})})})]})}),(0,l.jsx)(m.A,{children:E.slice(1).map((e,a)=>(0,l.jsxs)(g.A,{children:[(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:e.serial})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:e.name})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:e.shares})}),(0,l.jsx)(p.A,{children:(0,l.jsx)(y.default,{variant:"B3",children:e.percentage})})]},a))})]})})]})]})}},95333:(e,a,t)=>{"use strict";t.d(a,{default:()=>_});
1var l=t(95155),n=t(12115),s=t(80357),r=t(97179),i=t(80317),d=t(43791),o=t(84389),c=t(98447),h=t(56120),u=t(80223),x=t(54463),f=t(31512),g=t(6388),p=t(6341),m=t(22544),j=t(54879),b=t(33602),v=t(5016);t(25720);var A=t(54728);let y=j.Ik({folio_number:j.Yj().min(5,"Folio number is required and must be at least 5 characters").max(20,"Folio number must be at most 20 characters").regex(/^[A-Za-z0-9]+$/,"Folio number must be alphanumeric"),last_name:j.Yj().min(2,"Last name is required and must be at least 2 characters").max(50,"Last name must be at most 50 characters"),pincode:j.Yj().min(6,"Pincode is required and must be 6 digits").max(6,"Pincode must be 6 digits").regex(/^\d{6}$/,"Pincode must be exactly 6 digits")}),_=()=>{var e,a,t;let[j,_]=(0,n.useState)([]),[N,w]=(0,n.useState)(!1),k=(0,A.a)(),{control:S,handleSubmit:C,formState:{errors:I,isSubmitting:B}}=(0,m.mN)({resolver:(0,b.u)(y),defaultValues:{folio_number:"",last_name:"",pincode:""}}),F=async e=>{let{folio_number:a,last_name:t,pincode:l}=e;w(!0);try{let e="api/dividend/search?folio_number=".concat(a,"&last_name=").concat(t,"&pincode=").concat(l),n=await fetch("/api/server-api-call?apiEndpoint=".concat(encodeURIComponent(e)),{method:"GET",headers:{"Content-Type":"application/json"},cache:"no-store"});if(!n.ok)throw Error("Failed to fetch data");let s=await n.json();_(null==s?void 0:s.data)}catch(e){e instanceof Error?console.log(e.message):console.log("Something went wrong")}finally{w(!1)}};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(s.default,{mt:{xs:9,lg:8},children:(0,l.jsxs)(r.default,{container:!0,children:[(0,l.jsx)(r.default,{size:{xs:12,sm:12,md:6,lg:6},children:(0,l.jsxs)(s.default,{className:"tabs-mobile-spacing",children:[(0,l.jsx)(s.default,{className:"enquiry-title",children:(0,l.jsx)(i.default,{variant:"h2",className:"h2 text-global",children:"Unpaid & Unclaimed Dividend"})}),(0,l.jsx)(s.default,{component:"form",onSubmit:C(F),className:"personal-information-detail",children:(0,l.jsxs)(s.default,{className:"enquiry-card",children:[(0,l.jsx)(s.default,{className:"personal-info",pb:{xs:2,lg:5},children:(0,l.jsx)(m.xI,{name:"last_name",control:S,render:e=>{var a;let{field:t}=e;return(0,l.jsx)(p.A,{value:t.value,onChange:t.onChange,placeholder:"Name",label:"Investor’s Last Name",inputClassName:"para-2",type:"underline",required:!0,error:!!I.last_name,helperText:null==(a=I.last_name)?void 0:a.message})}})}),(0,l.jsx)(s.default,{className:"personal-info",pb:{xs:2,lg:5},children:(0,l.jsx)(m.xI,{name:"pincode",control:S,render:e=>{var a;let{field:t}=e;return(0,l.jsx)(p.A,{value:t.value,onChange:t.onChange,error:!!I.pincode,helperText:null==(a=I.pincode)?void 0:a.message,placeholder:"John Bastian",inputClassName:"para-2",label:"Address Pincode",required:!0,type:"underline"})}})}),(0,l.jsx)(s.default,{className:"personal-info",pb:5,style:{marginBottom:0},children:(0,l.jsx)(m.xI,{name:"folio_number",control:S,render:e=>{var a;let{field:t}=e;return(0,l.jsx)(p.A,{value:t.value,onChange:t.onChange,error:!!I.folio_number,helperText:null==(a=I.folio_number)?void 0:a.message,placeholder:"John Bastian",inputClassName:"para-2",label:"Folio Number",required:!0,type:"underline"})}})}),(0,l.jsx)(v.default,{type:"submit",variant:"primary_button",isDisabled:B,children:"Submit"})]})})]})}),(0,l.jsx)(r.default,{size:{xs:12,sm:12,md:6,lg:6},children:N?(0,l.jsx)(d.A,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:"#f0f0f0"}}):(null==j?void 0:j.length)>0?(0,l.jsxs)(s.default,{sx:{borderRadius:"8px",border:"1px solid #EAEAEA",background:"#F5F5F5",padding:"24px",display:"flex",flexDirection:"column"},children:[(0,l.jsxs)(s.default,{children:[(0,l.jsx)(i.default,{variant:"h6",fontWeight:"bold",mb:{xs:2,lg:2.5},children:"Investor details"}),(0,l.jsxs)(r.default,{container:!0,spacing:k?1:2,children:[(0,l.jsx)(r.default,{size:{sm:6},children:(0,l.jsx)(i.default,{color:"text.secondary",children:"Folio No./DP Id-Client ID"})}),(0,l.jsx)(r.default,{size:{sm:6},children:(0,l.jsx)(i.default,{children:null==(e=j[0])?void 0:e.folio_number})}),(0,l.jsx)(r.default,{size:{sm:6},children:(0,l.jsx)(i.default,{color:"text.secondary",children:"Investor Name"})}),(0,l.jsx)(r.default,{size:{sm:6},children:(0,l.jsx)(i.default,{children:null==(a=j[0])?void 0:a.last_name})}),(0,l.jsx)(r.default,{size:{sm:6},children:(0,l.jsx)(i.default,{color:"text.secondary",children:"Address"})}),(0,l.jsx)(r.default,{size:{sm:6},children:(0,l.jsx)(i.default,{children:null==(t=j[0])?void 0:t.address})})]})]}),(0,l.jsx)(o.A,{sx:{my:4}}),(0,l.jsxs)(s.default,{children:[(0,l.jsx)(i.default,{variant:"h6",fontWeight:"bold",mb:{xs:2,lg:2.5},children:"Details of unpaid/ unclaimed dividend amount"}),(0,l.jsx)(c.A,{children:(0,l.jsxs)(h.A,{children:[(0,l.jsx)(u.A,{children:(0,l.jsxs)(x.A,{children:[(0,l.jsx)(f.A,{children:"Year"}),(0,l.jsx)(f.A,{align:"left",children:"Amount"}),(0,l.jsx)(f.A,{align:"left",children:"Due date of transfer to IEPF"}),(0,l.jsx)(f.A,{align:"left",children:"Status"})]})}),(0,l.jsx)(g.A,{children:j.map((e,a)=>(0,l.jsxs)(x.A,{children:[(0,l.jsx)(f.A,{children:e.year}),(0,l.jsx)(f.A,{align:"left",children:e.amount}),(0,l.jsx)(f.A,{align:"left",children:e.due_date}),(0,l.jsx)(f.A,{align:"left",children:e.status})]},a))})]})})]})]}):null})]})})})}},98038:(e,a,t)=>{"use strict";t.d(a,{default:()=>s});
1var l=t(95155);t(12115);var n=t(80357);t(64088);let s=e=>{let{header_type:a="desktop_main_center_aligned",containerClass:t="",title:s,heroHeading:r,subtitle:i}=e;switch(a){case"desktop_main_left_aligned":return(0,l.jsx)(n.default,{className:"desktop-page-headers ".concat(t),children:(0,l.jsxs)(n.default,{className:"desktop-page-title-box left-aligned",children:[(0,l.jsx)("span",{className:"para-4 text-gray font-weight-400",dangerouslySetInnerHTML:{__html:s}}),(0,l.jsx)("h1",{className:"h1 text-global font-weight-400",dangerouslySetInnerHTML:{__html:r}}),(0,l.jsx)("p",{className:"para-3 text-gray font-weight-400",dangerouslySetInnerHTML:{__html:i}})]})});case"desktop_inner":return(0,l.jsx)(n.default,{className:"desktop-page-headers ".concat(t),children:(0,l.jsxs)(n.default,{className:"desktop-page-title-box inner-header",children:[(0,l.jsx)("span",{className:"para-4 text-gray font-weight-400",dangerouslySetInnerHTML:{__html:s}}),(0,l.jsx)("h2",{className:"h2 text-global font-weight-400",dangerouslySetInnerHTML:{__html:r}}),(0,l.jsx)("p",{className:"para-3 text-gray font-weight-400",dangerouslySetInnerHTML:{__html:i}})]})});case"desktop_main_center_aligned":return(0,l.jsx)(n.default,{className:"desktop-page-headers ".concat(t),children:(0,l.jsx)(n.default,{className:"desktop-page-title-box center-aligned",children:(0,l.jsx)("h1",{className:"h1 text-global font-weight-400",dangerouslySetInnerHTML:{__html:r}})})});case"desktop_investors":return(0,l.jsx)(n.default,{className:"desktop-page-headers ".concat(t),children:(0,l.jsxs)(n.default,{className:"desktop-page-title-box investor-header",children:[(0,l.jsx)("span",{className:"para-4 text-gray font-weight-400",dangerouslySetInnerHTML:{__html:s}}),(0,l.jsx)("h3",{className:"h3 text-global font-weight-400",dangerouslySetInnerHTML:{__html:r}})]})});default:return null}}}}]);

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.