1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4459],{44459:function(t,e,s){s.r(e),s.d(e,{default:function(){return pages_list_students}});var a=s(97997),l=s(11720),n=s(74579),i=s(3547),r=s(43021),d=s(40690),c=s(59489),u=s.n(c),o=s(5152),h=s.n(o);let p=h()(()=>Promise.all([s.e(9932),s.e(497)]).then(s.bind(s,50497)),{loadableGenerated:{webpack:()=>[null]},ssr:!1});var statistics=t=>{let{status:e,count:s}=t;[...e];let l=[],n=[];e.map(t=>{l.push(parseInt(t.status_count)),n.push(t.st_title)});let i={options:{labels:n,legend:{show:!1},colors:["#4C9DF0","#D42398","#4C7FE1","#A72398","#16BECF","#A9F9FF"]},series:l};return(0,a.BX)("div",{className:`${u()["cards-group"]} ${u().statistics}`,children:[(0,a.BX)("p",{className:u().total,children:["Total Student Profiles: ",(0,a.tZ)("span",{children:s})]}),(0,a.BX)("div",{className:`${u()["card-with-table"]} ${u().half}`,children:[(0,a.tZ)("h6",{children:"Students Status"}),(0,a.tZ)("p",{className:u().content}),(0,a.BX)("div",{className:u().table,children:[(0,a.BX)("div",{className:u()["table-row"],children:[(0,a.tZ)("p",{className:`${u().title} ${u()["cell-large"]}`,children:"Status"}),(0,a.tZ)("p",{className:`${u().title} ${u()["cell-small"]}`,children:"Count"})]}),e.map((t,e)=>(0,a.BX)("div",{className:u()["table-row"],children:[(0,a.tZ)("p",{className:`${u().text} ${u()["cell-large"]}`,children:t.st_title}),(0,a.tZ)("p",{className:`${u().text} ${u()["cell-small"]}`,children:t.status_count})]},e))]})]}),(0,a.BX)("div",{className:`${u()["card-with-table"]} ${u().half}`,children:[(0,a.tZ)("h6",{children:"Students Status Chart"}),(0,a.tZ)("p",{className:u().content}),(0,a.tZ)("div",{className:u().chart,children:(0,a.tZ)(p,{options:i.options,series:i.series,type:"pie"})})]})]})},Z=s(98554),_=s(91732),m=s(79185);let List=t=>{let{data:e}=t,[s,n]=(0,l.useState)(e),c=s.pagination,o=e.partner_need_attention,h=e.leads_first_response_time,p=e.show_registration_source;return(0,a.BX)(a.HY,{children:[(0,a.tZ)(i.Z,{type:"students",status:s.clientStatus,setNewData:n,dates:s.dates,page:c,attention:o}),0!=s.data.length&&(0,a.tZ)(statistics,{status:null==s?void 0:s.status,count:s.countStudents}),(0,a.tZ)(r.Z,{list:s.data,type:"students",attention:o,FRTFlag:h,registrationSource:p}),c.last_page>1&&(0,a.tZ)("div",{className:u().footer,children:(0,a.tZ)(d.Z,{pagination:c})})]})};var list_students=t=>{let{pdata:e,user:s}=t;return(0,a.BX)(n.default,{theme:"partner-portal",children:[(0,a.tZ)(_.Z,{title:"Students List",url:e.short_link,position:"mobile"}),(0,a.tZ)(Z.Z,{userId:s.user_id,showAdditional:s.profile.view_additional_students,url:e.short_link}),(0,a.BX)(n.default,{theme:"partner-portal-content",children:[(0,a.tZ)(_.Z,{title:"Students List",url:e.short_link,icon:m.Z}),(0,a.tZ)(List,{data:e})]})]})},pages_list_students=t=>{let{user:e,data:s}=t;return(0,a.tZ)(list_students,{pdata:s,user:e.userData})}}}]);
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.