1import{aH as p,a9 as e,aG as g,ab as x,aI as b,aJ as c,ag as v,am as r,ao as l,ae as i,aK as o,af as j,aP as N,aa as m,aQ as y,aR as u,ah as T,ad as s,au as I}from"./index-51c884ce.js";import{a as P}from"./_library-65c6361f.js";import{T as D,a as S}from"./Tabs-a3572c6d.js";const t=[{id:"1e4053c2-903c-4b0f-8172-270a595199d5",name:"Lá»P 4",code:"7IDVRWC",description:"",schoolYear:2,classroomStatus:0,gradeId:"272ccf81-ea37-421f-988a-51f4f827e499",schoolId:null,totalSkillPending:0,totalSkillExamPending:0,school:{id:"00000000-0000-0000-0000-000000000000",code:null,name:null,address:null,email:null,department:{id:"00000000-0000-0000-0000-000000000000",name:null,address:null,districId:"00000000-0000-0000-0000-000000000000",district:{id:"00000000-0000-0000-0000-000000000000",name:null,provinceId:"00000000-0000-0000-0000-000000000000",province:{id:"00000000-0000-0000-0000-000000000000",name:null,code:null}},parentDepartmentId:null,parentDepartmentName:null},district:null,schoolManagers:[],targetQuestion:0},grade:{id:"00000000-0000-0000-0000-000000000000",name:"Lá»p 4",level:4},creator:{id:"08dadf3b-2835-4ea6-836c-0fc433384cfe",userName:"gv_phuongnam1",email:null,phoneNumber:null,familyName:"phuong",givenName:"nam",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null},students:[{student:{id:"d0408c07-df20-422c-ac4b-f7ba7ddad3a6",gradeId:null,user:{id:"f97d84ca-ef13-4a76-ad72-e9dee91d8ce1",userName:"tanmotcu8467",email:null,phoneNumber:null,familyName:"Tân má»t",givenName:"cú",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null},classroom:null},joinStatus:2,createdBy:"08dadf3b-2835-4ea6-836c-0fc433384cfe",modifiedDate:"0001-01-01T00:00:00"}],teachers:[{teacher:{id:"4a98cad4-61ac-48a4-b21a-ad1db73ac31f",user:{id:"08dadf3b-2835-4ea6-836c-0fc433384cfe",userName:"gv_phuongnam1",email:null,phoneNumber:null,familyName:"phuong",givenName:"nam",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null}},joinStatus:2,teachingSubjects:[],role:"Owner"}],joinClassroomInvitations:[]},{id:"c9387d42-79b5-4811-8868-536cdc4190ac",name:"SED 8",code:"P8VNIKV",description:"",schoolYear:1,classroomStatus:0,gradeId:"4bc5cfb2-7590-4fa5-924d-6cac04eb95fd",schoolId:null,totalSkillPending:0,totalSkillExamPending:0,school:{id:"00000000-0000-0000-0000-000000000000",code:null,name:null,address:null,email:null,department:{id:"00000000-0000-0000-0000-000000000000",name:null,address:null,districId:"00000000-0000-0000-0000-000000000000",district:{id:"00000000-0000-0000-0000-000000000000",name:null,provinceId:"00000000-0000-0000-0000-000000000000",province:{id:"00000000-0000-0000-0000-000000000000",name:null,code:null}},parentDepartmentId:null,parentDepartmentName:null},district:null,schoolManagers:[],targetQuestion:0},grade:{id:"00000000-0000-0000-0000-000000000000",name:"Lá»p 8",level:8},creator:{id:"08dadf3b-2835-4ea6-836c-0fc433384cfe",userName:"gv_phuongnam1",email:null,phoneNumber:null,familyName:"phuong",givenName:"nam",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null},students:[{student:{id:"1177ec79-9445-489c-8c08-7dea3292344f",gradeId:null,user:{id:"cc8fdba6-1ca7-40cc-a1e9-38591894d2ab",userName:"trannhattan2960",email:null,phoneNumber:null,familyName:"Trần Nháºt",givenName:"Tân",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null},classroom:null},joinStatus:2,createdBy:"08dadf3b-2835-4ea6-836c-0fc433384cfe",modifiedDate:"
10001-01-01T00:00:00"},{student:{id:"56a4391c-d6a5-4f78-a2cc-13151fadace4",gradeId:null,user:{id:"167bb41d-a2ba-4194-95f4-46c012c5af6f",userName:"nguyenhuuphuc2938",email:null,phoneNumber:null,familyName:"Nguyá»
n Hữu",givenName:"Phúc",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null},classroom:null},joinStatus:2,createdBy:"08dadf3b-2835-4ea6-836c-0fc433384cfe",modifiedDate:"0001-01-01T00:00:00"},{student:{id:"b91da897-01e6-4620-aac5-bf4bb884ae36",gradeId:null,user:{id:"08dadf3b-2830-4c0a-84eb-c729b319c98a",userName:"hs_phuongnam",email:null,phoneNumber:null,familyName:"HS",givenName:"Phương Nam",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null},classroom:null},joinStatus:2,createdBy:"08dadf3b-2835-4ea6-836c-0fc433384cfe",modifiedDate:"0001-01-01T00:00:00"},{student:{id:"e1718df3-15b6-4af5-956c-034aba5c52b7",gradeId:null,user:{id:"0934f522-ca70-4f91-89a9-7b01627d39dc",userName:"nguyenngoclin1135",email:null,phoneNumber:null,familyName:"Nguyá»
n Ngá»c",givenName:"Lin",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null},classroom:null},joinStatus:2,createdBy:"08dadf3b-2835-4ea6-836c-0fc433384cfe",modifiedDate:"0001-01-01T00:00:00"},{student:{id:"ff2ab3e6-b372-4b3f-9302-436d12b1ef9c",gradeId:null,user:{id:"08d9c4fe-47ff-43b7-87cc-a2ddd9ebf3b7",userName:"phucnh_KH991V",email:null,phoneNumber:null,familyName:"Nguyá»
n Hữu",givenName:"Phúc",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null},classroom:null},joinStatus:2,createdBy:"08dadf3b-2835-4ea6-836c-0fc433384cfe",modifiedDate:"0001-01-01T00:00:00"}],teachers:[{teacher:{id:"4a98cad4-61ac-48a4-b21a-ad1db73ac31f",user:{id:"08dadf3b-2835-4ea6-836c-0fc433384cfe",userName:"gv_phuongnam1",email:null,phoneNumber:null,familyName:"phuong",givenName:"nam",gender:0,birthday:"0001-01-01T00:00:00",createdDate:"0001-01-01T00:00:00",emailConfirmed:!1,teacherActivate:!1,schoolId:null,roles:null,student:null,teacher:null,userGraduations:[],isLock:!1,loginProvider:null,province:null,password:null}},joinStatus:2,teachingSubjects:[],role:"Owner"}],joinClassroomInvitations:[]}];function w({item:n}){const{name:a,subtitle:f,cover:h,id:d}=n;return e.jsxs(y,{sx:{borderRadius:2.5},children:[e.jsx(u,{to:`/app/classroom/${d}`,style:{textDecoration:"none"},children:e.jsx(m,{sx:{p:1,position:"relative"},children:e.jsx(T,{alt:"cover",src:h,ratio:"16/9",sx:{borderRadius:1.5}})})}),e.jsxs(l,{spacing:2.5,sx:{p:2,pt:.5},children:[e.jsx(l,{direction:"row",alignItems:"center",spacing:2,children:e.jsxs("div",{children:[e.jsx(u,{to:`/app/classroom/${d}`,style:{textDecoration:"none"},children:e.jsx(s,{variant:"subtitle2",fontSize:16,mb:1,color:"primary",children:a})}),e.jsxs(l,{direction:"row",alignItems:"center",spacing:2,children:[e.jsx(I,{alt:a,src:"https://api-dev-minimal-v4.vercel.app/assets/images/avatars/avatar_1.jpg"}),e.jsx("div",{children:e.jsx(s,{variant:"subtitle2",children:n.creator.userName})})]}),e.jsx(s,{variant:"caption",sx:{color:"text.disabled",mt:.5,display:"block"},children:f})]})}),e.jsxs(l,{direction:"row",alignItems:"center",spacing:3,sx:{color:"text.secondary"},children:[e.jsxs(l,{direction:"row",alignItems:"center",spacing:1,children:[e.jsx(r,{icon:"mdi:account-student",width:16}),e.jsxs(s,{variant:"caption",children:[n.students.length," há»c sinh"]})]}),e.jsxs(l,{direction:"row",alignItems:"center",spacing:1,children:[e.jsx(r,{icon:"fa-solid:chalkboard-teacher",width:16}),e.jsxs(s,{variant:"caption",children:[n.teachers.length," giáo viên"]})]})]})]})]})}function A(){const{themeStretch:n}=p();return e.jsxs(e.Fragment,{children:[e.jsx(g,{children:e.jsx("title",{children:"Lá»p Há»c | E-Learning"})}),e.jsxs(x,{maxWidth:n?!1:"xl",children:[e.jsx(b,{heading:"Lá»p Há»c",links:[{name:"E-Learning",href:c.root},{name:"Lá»p Há»c",href:c.classroom}],action:e.jsx(v,{variant:"soft",startIcon:e.jsx(r,{icon:"eva:plus-fill"}),children:"Tạo lá»p má»i"})}),e.jsxs(l,{spacing:2,justifyContent:"space-between",direction:{xs:"column",sm:"row"},sx:{mb:3},children:[e.jsxs(l,{spacing:2,direction:{xs:"column",sm:"row"},children:[e.jsx(i,{size:"small",select:!0,label:"Lá»p",SelectProps:{MenuProps:{PaperProps:{sx:{maxHeight:260}}}}
1,sx:{width:{xs:"100%",sm:240},textTransform:"capitalize"},children:P.map(a=>e.jsx(o,{value:a.id,sx:{mx:1,borderRadius:.75,typography:"body2",textTransform:"capitalize"},children:a.name},a.id))}),e.jsx(i,{size:"small",select:!0,label:"NÄm há»c",SelectProps:{MenuProps:{PaperProps:{sx:{maxHeight:260}}}},sx:{width:{xs:"100%",sm:240},textTransform:"capitalize"},children:[{id:1,name:"2021-2022"},{id:2,name:"2020-2021"},{id:3,name:"2019-2020"}].map(a=>e.jsx(o,{value:a.id,sx:{mx:1,borderRadius:.75,typography:"body2",textTransform:"capitalize"},children:a.name},a.id))})]}),e.jsx(i,{size:"small",placeholder:"Tìm kiếm lá»p há»c...",sx:{maxWidth:{sm:"100%",md:240},textTransform:"capitalize"},InputProps:{startAdornment:e.jsx(j,{position:"start",children:e.jsx(r,{icon:"eva:search-fill",sx:{color:"text.disabled"}})})}})]}),e.jsx(D,{value:"all",sx:{mb:3},children:[{id:"all",name:"Tất cả"},{id:"active",name:"Äang hoạt Äá»ng"},{id:"inactive",name:"Äã kết thúc"}].map(a=>e.jsx(S,{value:a.id,label:a.name,iconPosition:"end",icon:e.jsx(N,{sx:{mr:1},color:"primary",children:"2"})},a.id))}),e.jsx(m,{gap:3,display:"grid",gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(2, 1fr)",md:"repeat(3, 1fr)",lg:"repeat(5, 1fr)",xl:"repeat(5, 1fr)"},children:t==null?void 0:t.map(a=>e.jsx(w,{item:{cover:"/assets/icons/classroom.png",...a}},a.id))})]})]})}export{A as default};
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.