1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26],{26:function(A,e,r){r.r(e);var s=r(57437),a=r(2265),t=r(33145);r(45671);var l=r(66070),c=r(7622),n=r(59309);e.default=A=>{var e;let{userClass:r}=A,[o,i]=(0,a.useState)(null),[d,h]=(0,a.useState)(!0),[x,f]=(0,a.useState)(null);if((0,a.useEffect)(()=>{let A=async()=>{try{h(!0);let A=await n.Z.getTeacherInfo(r.teacher.id);i(A.data),f(null)}catch(A){console.error("Error fetching teacher info:",A),f("Failed to load teacher information")}finally{h(!1)}};r.teacher.id&&A()},[r.teacher.id]),d)return(0,s.jsx)(l.Zb,{className:"border border-border",children:(0,s.jsxs)(l.aY,{className:"p-6",children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Teacher Information"}),(0,s.jsx)("div",{className:"flex justify-center items-center py-12",children:(0,s.jsx)("p",{className:"text-muted-foreground",children:"Loading teacher information..."})})]})});if(x)return(0,s.jsx)(l.Zb,{className:"border border-border",children:(0,s.jsxs)(l.aY,{className:"p-6",children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Teacher Information"}),(0,s.jsx)("div",{className:"flex justify-center items-center py-12",children:(0,s.jsx)("p",{className:"text-destructive",children:x})})]})});let m=o||r.teacher;return(0,s.jsx)(l.Zb,{className:"border border-border",children:(0,s.jsxs)(l.aY,{className:"p-6",children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Teacher Information"}),(0,s.jsxs)("div",{className:"flex flex-col items-center mb-6",children:[(0,s.jsx)("div",{className:"relative w-32 h-32 rounded-full overflow-hidden mb-4 border-4 border-border",children:(0,s.jsx)(t.default,{src:null!==(e=m.image)&&void 0!==e?e:c.Z.src,alt:"Teacher",width:128,height:128,className:"w-full h-full object-cover",unoptimized:!0})}),(0,s.jsx)("h3",{className:"text-xl font-semibold",children:m.nickname}),(0,s.jsx)("p",{className:"text-muted-foreground",children:"English Language Instructor"})]}),m.about&&(0,s.jsxs)("div",{className:"bg-secondary rounded-lg p-6",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"About the Teacher"}),(0,s.jsx)("p",{className:"text-foreground whitespace-pre-line",children:m.about})]})]})})}},7622:function(A,e){e.Z={src:"/_next/static/media/default-avatar.cf40069d.jpg",height:980,width:980,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAUAQEAAAAAAAAAAAAAAAAAAAAB/9oADAMBAAIQAxAAAAG0E//EABUQAQEAAAAAAAAAAAAAAAAAABMk/9oACAEBAAEFAlo//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwF//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPwF//8QAGBAAAgMAAAAAAAAAAAAAAAAAABIxQWH/2gAIAQEABj8CRqjT/8QAGBAAAgMAAAAAAAAAAAAAAAAAESEAMbH/2gAIAQEAAT8hGkETU//aAAwDAQACAAMAAAAQ+//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Qf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Qf//EABgQAAIDAAAAAAAAAAAAAAAAAAARQZGh/9oACAEBAAE/ELbi5YP/2Q==",blurWidth:8,blurHeight:8}}}]);
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.