1import{e as b,J as be,O as je,P as ke,r,c as d,j as e,L as G,R as se,U as ae}from"./index-DcW9V1Fn.js";import{getChatSupabase as Se}from"./supabase-BqMYQiny.js";import{s as ze,m as te}from"./groupChat-DFFOKZCC.js";import{A as re}from"./arrow-left-7DK3WtGB.js";import{U as we}from"./user-plus-26fNbglr.js";import{C as ie}from"./calendar-B5kspLjx.js";import{C as A}from"./clock-ChuplnO1.js";import{M as Ce}from"./map-pin-DA4gEoXL.js";import{C as ne}from"./circle-check-C2PR1jxc.js";import{F as Ne}from"./file-text-aVuZDtlY.js";import{W as _e}from"./wifi-Ve1yZ1YC.js";import{R as Le}from"./refresh-cw-CQzxzDbG.js";import{S as Te}from"./send-Cv5ZfnPV.js";import{C as Be}from"./circle-x-B3pw6lZx.js";const Me=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ie=b("circle",Me);const Fe=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Re=b("link",Fe);const We=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],le=b("message-square",We);const Ge=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Ae=b("wifi-off",Ge),Ze=()=>{const{groupId:n}=be(),oe=je(),{user:c}=ke(),[a,ce]=r.useState(null),[p,j]=r.useState([]),[P,E]=r.useState([]),[de,D]=r.useState(!1),[$,U]=r.useState(""),[me,pe]=r.useState(0),x=!!a&&(c?.id===a.buddy_id||c?.role==="admin"),[ge,H]=r.useState(!0),[q,g]=r.useState(""),[k,O]=r.useState(null),[S,V]=r.useState(5),[z,w]=r.useState(""),[C,N]=r.useState([]),[K,Y]=r.useState(!1),[_,L]=r.useState([]),[u,T]=r.useState(""),[f,B]=r.useState(!1),[ue,J]=r.useState(!1),[h,he]=r.useState("connecting"),[X,M]=r.useState(""),Q=r.useRef(null),m=r.useRef(0),xe=async s=>{Y(!0),g("");try{await d.submitFeedback(s,S,z.trim()||void 0,C),j(i=>i.map(l=>l.id===s?{...l,myAttendance:!0,myFeedback:{rating:S,comment:z,compliments:C}}:l)),O(null),w(""),N([])}catch(i){g(i.message||"Could not submit feedback")}finally{Y(!1)}};r.useEffect(()=>{if(!n)return;let s=!1;return H(!0),g(""),j([]),(async()=>{try{const l=await d.getGroup(n);if(s)return;ce(l);try{const R=await d.getGroupSessions(n);s||j(R)}catch{}}catch(l){s||g(l.message||"Failed to load group details")}finally{s||H(!1)}})(),()=>{s=!0}},[n]),r.useEffect(()=>{if(E([]),U(""),!n||a?.id!==n||!x)return;let s=!1;return D(!0),d.getGroupParticipants(n).then(i=>{s||E(i)}).catch(()=>{s||U("Could not load participants. Please try again.")}).finally(()=>{s||D(!1)}),()=>{s=!0}},[n,a?.id,x,me]),r.useEffect(()=>{if(m.current+=1,L([]),T(""),M(""),B(!1),!n||a?.id!==n||!["active","forming","pending_buddy"].includes(a.status))return;J(!0);const s=ze({groupId:n,client:Se(),getMessages:()=>d.getGroupMessages(n),onMessages:i=>L(l=>te(l,i)),onStatus:he,onLoaded:()=>J(!1)});return()=>{m.current+=1,s()}},[n,a?.id,a?.status]),r.useEffect(()=>{Q.current?.scrollIntoView({behavior:"smooth"})},[_]);const Z=r.useCallback(async()=>{if(!u.trim()||f||!n)return;B(!0),M("");const s=m.current;try{const i=await d.sendGroupMessage(n,u.trim());if(s!==m.current)return;L(l=>te(l,[i])),T("")}catch(i){s===m.current&&M(i.message||"Failed to send message")}finally{s===m.current&&B(!1)}},[u,f,n]);if(ge)return e.jsx("div",{className:"loading-page",children:e.jsx("div",{className:"spinner"})});if(q||!a)return e.jsxs("div",{className:"animate-in",children:[e.jsxs(G,{to:"/dashboard",style:t.backLink,children:[e.jsx(re,{size:18})," Back to Dashboard"]}),e.jsx("div",{style:t.errorBox,children:q||"Group not found"})]});const fe=s=>{switch(s){case"completed":return e.jsx(ne,{size:18,style:{color:"var(--color-success)"}});case"cancelled":return e.jsx(Be,{size:18,style:{color:"var(--color-error)"}});default:return e.jsx(Ie,{size:18,style:{color:"var(--color-text-tertiary)"}})}},ye=p.filter(s=>s.status==="completed").length,I=a.status==="forming"||a.status==="pending_buddy",y=a.currentParticipants??a.enrollmentCount??0,v=a.min_participants||8,F=c?.role==="buddy"&&c.id===a.buddy_id,ee=F&&p.length===0?e.jsx(G,{className:"btn btn-primary",style:{marginTop:"var(--space-lg)"},to:`/dashboard/buddy/groups?schedule=${encodeURIComponent(a.id)}`,children:"Set first session"}):null;return e.jsxs("div",{className:"animate-in",children:[e.jsxs(G,{to:"/dashboard",style:t.backLink,children:[e.jsx(re,{size:18})," Back to Dashboard"]}),e.jsx("div",{className:"card",style:{marginBottom:"var(--space-xl)"},children:e.jsxs("div",{className:"card-body",children:[e.jsxs("div",{style:t.headerTop,children:[e.jsxs("div",{children:[e.jsx("h1",{style:t.heading,children:a.language?.name||"Language Group"}),e.jsxs("div",{style:t.badgeRow,children:[e.jsx("span",{className:`badge ${a.group_type==="conversational"?"badge-secondary":"badge-primary"}`,children:a.group_type}),e.jsx("span",{className:`badge ${a.format==="offline"?"badge-success":"badge-warning"}`,children:a.format}),e.jsx("span",{className:"badge badge-primary",children:a.proficiency_level.replace("_"," ")}),e.jsx("span",{className:`badge ${a.status==="active"?"badge-success":"badge-warning"}`,children:a.status})]})]}),e.jsx("div",{style:t.progressBox,children:I?e.jsxs(e.Fragment,{children:[e.jsxs("div",{style:t.progressNum,children:[y,"/",v]}),e.jsx("div",{style:t.progressLabel,children:"members"})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{style:t.progressNum,children:[ye,"/12"]}),e.jsx("div",{style:t.progressLabel,children:"sessions"})]})})]}),I&&e.jsxs("div",{style:{marginBottom:"var(--space-lg)"},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"var(--space-xs)",fontSize:"var(--font-size-sm)",color:"var(--color-text-secondary)"},children:[e.jsxs("span",{children:[e.jsx(we,{size:14,style:{verticalAlign:"middle",marginRight:4}}),"Group membership"]}),e.jsxs("span",{style:{fontWeight:700,color:"var(--color-primary)"},children:[Math.round(y/v*100),"%"]})]}),e.jsx("div",{style:{height:8,background:"var(--color-bg-tertiary)",borderRadius:"var(--radius-full)",overflow:"hidden"},children:e.jsx("div",{style:{height:"100%",width:`${Math.min(100,y/v*100)}%`,background:y>=v?"var(--color-success)":"var(--color-primary)",borderRadius:"var(--radius-full)",transition:"width 0.5s ease"}})}),e.jsx("p",{style:{fontSize:"var(--font-size-xs)",color:"var(--color-text-tertiary)",marginTop:"var(--space-xs)"},children:"The first session can be scheduled with any number of participants."})]}
1),e.jsxs("div",{style:t.metaGrid,children:[a.schedule_day&&e.jsxs("div",{style:t.metaItem,children:[e.jsx(ie,{size:16}),e.jsxs("span",{children:[a.schedule_day.charAt(0).toUpperCase()+a.schedule_day.slice(1),a.schedule_time?` at ${a.schedule_time}`:""]})]}),a.start_date&&e.jsxs("div",{style:t.metaItem,children:[e.jsx(A,{size:16}),e.jsxs("span",{children:["Started ",new Date(a.start_date).toLocaleDateString()]})]}),a.format==="offline"&&a.meeting_address&&e.jsxs("div",{style:t.metaItem,children:[e.jsx(Ce,{size:16}),e.jsx("span",{children:a.meeting_address})]}),a.format==="online"&&a.meeting_link&&e.jsxs("div",{style:t.metaItem,children:[e.jsx(Re,{size:16}),e.jsx("a",{href:a.meeting_link,target:"_blank",rel:"noopener noreferrer",children:"Meeting link"})]}),a.buddy&&e.jsxs("div",{style:t.metaItem,children:[e.jsx(se,{size:16}),e.jsxs("span",{children:["Buddy: ",a.buddy.full_name]})]}),e.jsxs("div",{style:t.metaItem,children:[e.jsx(ae,{size:16}),e.jsxs("span",{children:[a.currentParticipants??"?"," / ",a.max_participants," participants max"]})]})]})]})}),I?e.jsxs(e.Fragment,{children:[e.jsx("h2",{style:t.sectionTitle,children:"Sessions"}),e.jsx("div",{className:"card",children:e.jsxs("div",{className:"card-body",style:{textAlign:"center",padding:"var(--space-2xl)",color:"var(--color-text-tertiary)"},children:[e.jsx(A,{size:32,style:{marginBottom:"var(--space-md)",opacity:.5}}),e.jsx("p",{style:{fontWeight:600,color:"var(--color-text-secondary)",marginBottom:"var(--space-sm)"},children:F?"No sessions scheduled yet.":a.buddy_id?"Waiting for your Buddy to schedule":"Finding your Buddy"}),e.jsx("p",{style:{fontSize:"var(--font-size-sm)"},children:F?"Choose the first meeting time and venue whenever you are ready.":"You will receive a notification as soon as the first session is confirmed."}),ee,!x&&e.jsx("button",{className:"btn btn-outline btn-sm",style:{marginTop:"var(--space-lg)",color:"var(--color-error)",borderColor:"var(--color-error)"},onClick:async()=>{if(n&&confirm("Are you sure you want to leave this group?"))try{await d.leaveGroup(n),oe("/dashboard",{replace:!0})}catch(s){g(s.message||"Failed to leave group")}},children:"Leave Group"})]})})]}):e.jsxs(e.Fragment,{children:[e.jsx("h2",{style:t.sectionTitle,children:"Session Schedule"}),e.jsx("div",{style:t.timeline,children:p.sort((s,i)=>s.session_number-i.session_number).map((s,i)=>{const l=i===p.length-1,R=s.status==="completed"||new Date(`${s.scheduled_date}T${s.end_time}`).getTime()<=Date.now();return e.jsxs("div",{style:t.timelineItem,children:[e.jsxs("div",{style:t.timelineLeft,children:[fe(s.status),!l&&e.jsx("div",{style:t.timelineLine})]}),e.jsx("div",{className:"card",style:{flex:1},children:e.jsxs("div",{className:"card-body",style:t.sessionCard,children:[e.jsxs("div",{style:t.sessionHeader,children:[e.jsxs("h4",{style:t.sessionTitle,children:["Session ",s.session_number]}),e.jsx("span",{className:`badge ${s.status==="completed"?"badge-success":s.status==="cancelled"?"badge-error":"badge-primary"}`,children:s.status})]}),e.jsxs("div",{style:t.sessionMeta,children:[e.jsxs("span",{style:t.sessionDetail,children:[e.jsx(ie,{size:13}),new Date(s.scheduled_date).toLocaleDateString(void 0,{weekday:"short",month:"short",day:"numeric"})]}),e.jsxs("span",{style:t.sessionDetail,children:[e.jsx(A,{size:13}),s.start_time," - ",s.end_time]})]}),R&&c?.role!=="admin"&&c?.id!==a.buddy_id&&e.jsxs("div",{style:{width:"100%"},children:[e.jsx("div",{style:t.sessionActions,children:e.jsxs("button",{className:"btn btn-outline btn-sm",onClick:()=>{O(k===s.id?null:s.id),V(s.myFeedback?.rating||5),w(s.myFeedback?.comment||""),N(s.myFeedback?.compliments||[])},children:[e.jsx(le,{size:14})," ",s.myFeedback?"Edit feedback":"Feedback & attendance"]})}),s.myFeedback&&k!==s.id&&e.jsxs("p",{style:{fontSize:12,color:"var(--color-success)",marginTop:8},children:[e.jsx(ne,{size:13})," Attendance confirmed and feedback sent."]}),k===s.id&&e.jsxs("div",{style:{marginTop:14,paddingTop:14,borderTop:"1px solid var(--color-bg-tertiary)"},children:[e.jsxs("label",{className:"form-group",children:[e.jsx("span",{className:"form-label",children:"How was this session?"}),e.jsxs("select",{className:"form-input",value:S,onChange:o=>V(Number(o.target.value)),children:[e.jsx("option",{value:5,children:"5 â Excellent"}),e.jsx("option",{value:4,children:"4 â Good"}),e.jsx("option",{value:3,children:"3 â Okay"}),e.jsx("option",{value:2,children:"2 â Needs improvement"}),e.jsx("option",{value:1,children:"1 â Poor"})]})]}),e.jsxs("div",{className:"form-group",children:[e.jsx("span",{className:"form-label",children:"Compliments for your Buddy"}),e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap"},children:["welcoming","clear","patient","prepared","encouraging"].map(o=>e.jsx("button",{type:"button",className:`btn btn-sm ${C.includes(o)?"btn-secondary":"btn-outline"}`,onClick:()=>N(W=>W.includes(o)?W.filter(ve=>ve!==o):[...W,o]),children:o},o))})]}),e.jsxs("label",{className:"form-group",children:[e.jsx("span",{className:"form-label",children:"Anything else? (optional)"}),e.jsx("textarea",{className:"form-input",rows:3,value:z,onChange:o=>w(o.target.value)})]}),e.jsx("button",{className:"btn btn-primary btn-sm",disabled:K,onClick:()=>xe(s.id),children:K?"Sending...":"Submit feedback and confirm attendance"})]})]}),s.materials_url&&e.jsxs("a",{href:s.materials_url,target:"_blank",rel:"noopener noreferrer",style:t.materialsLink,children:[e.jsx(Ne,{size:14})," Session Materials"]})]})})]},s.id)})}),p.length===0&&e.jsx("div",{className:"card",children:e.jsxs("div",{className:"card-body",style:{textAlign:"center",padding:"var(--space-2xl)",color:"var(--color-text-tertiary)"},children:[e.jsx("p",{children:"No sessions scheduled yet."}),ee]})})]}),["active","forming","pending_buddy"].includes(a.status)&&e.jsxs(e.Fragment,{children:[e.jsxs("h2",{style:{...t.sectionTitle,marginTop:"var(--space-xl)",display:"flex",alignItems:"center",gap:"var(--space-sm)"},children:[e.jsx(le,{size:18})," Group Chat",e.jsxs("span",{role:"status","aria-label":"Chat connection",style:{display:"inline-flex",alignItems:"center",gap:4,fontSize:"var(--font-size-xs)",fontWeight:500,color:h==="live"?"var(--color-success)":"var(--color-text-tertiary)",marginLeft:"auto"},children:[h==="live"?e.jsx(_e,{size:13}):h==="offline"?e.jsx(Ae,{size:13}):e.jsx(Le,{size:13}),{live:"Live",connecting:"Connecting...",refreshing:"Updating every 5 seconds",offline:"Offline. Retrying..."}[h]]})]}),e.jsx("div",{className:"card",style:{marginBottom:"var(--space-xl)"},children:e.jsxs("div",{className:"card-body",style:{padding:0},children:[e.jsxs("div",{style:{maxHeight:400,minHeight:200,overflowY:"auto",padding:"var(--space-md)",background:"var(--color-bg-secondary)"},children:[ue?e.jsx("div",{style:{textAlign:"center",padding:"var(--space-xl)",color:"var(--color-text-tertiary)"},children:"Loading messages..."}):_.length===0?e.jsx("div",{style:{textAlign:"center",padding:"var(--space-xl)",color:"var(--color-text-tertiary)",fontSize:"var(--font-size-sm)"},children:"No messages yet. Start the conversation!"}):_.map(s=>{const i=s.user_id===c?.id;return e.jsx("div",{style:{display:"flex",justifyContent:i?"flex-end":"flex-start",marginBottom:"var(--space-sm)"},children:e.jsxs("div",{style:{maxWidth:"70%",padding:"var(--space-sm) var(--space-md)",borderRadius:"var(--radius-lg)",background:i?"var(--color-primary)":"#fff",color:i?"#fff":"var(--color-text-primary)",border:i?"none":"1px solid var(--color-bg-tertiary)",borderBottomRightRadius:i?4:void 0,borderBottomLeftRadius:i?void 0:4},children:[!i&&e.jsx("div",{"data-no-translate":!0,style:{fontSize:"var(--font-size-xs)",fontWeight:700,marginBottom:2,color:i?"rgba(255,255,255,0.8)":"var(--color-primary)"},children:s.user?.full_name||"Unknown"}),e.jsx("div",{"data-no-translate":!0,style:{fontSize:"var(--font-size-sm)",lineHeight:1.5,wordBreak:"break-word"},children:s.content}),e.jsx("div",{style:{fontSize:"var(--font-size-xs)",opacity:.6,marginTop:2,textAlign:"right"},children:new Date(s.created_at).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},s.id)}),e.jsx("div",{ref:Q})]}),h==="offline"&&e.jsx("p",{role:"alert",style:{...t.errorBox,margin:"var(--space-sm)"},children:"Unable to refresh messages. Retrying automatically."}),X&&e.jsx("p",{role:"alert",style:{...t.errorBox,margin:"var(--space-sm)"},children:X}),e.jsxs("div",{style:{display:"flex",gap:"var(--space-sm)",padding:"var(--space-sm) var(--space-md)",borderTop:"1px solid var(--color-bg-tertiary)"},children:[e.jsx("input",{className:"form-input",type:"text",placeholder:"Type a message...",value:u,onChange:s=>T(s.target.value),onKeyDown:s=>{s.key==="Enter"&&!s.shiftKey&&(s.preventDefault(),Z())},disabled:f,style:{flex:1}}),e.jsx("button",{className:"btn btn-primary","aria-label":"Send message",onClick:Z,disabled:!u.trim()||f,style:{flexShrink:0,width:44,height:44,padding:0,display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(Te,{size:18})})]})]})})]}),e.jsx("h2",{style:{...t.sectionTitle,marginTop:"var(--space-xl)"},children:"Group Members"}),e.jsx("div",{className:"card",children:x?e.jsx("div",{className:"card-body",children:de?e.jsx("p",{children:"Loading participants..."}):$?e.jsxs("div",{role:"alert",children:[e.jsx("p",{children:$}),e.jsx("button",{className:"btn btn-outline btn-sm",onClick:()=>pe(s=>s+1),children:"Retry"})]}):P.length?e.jsx("ul",{"aria-label":"Group participants",style:{listStyle:"none",padding:0,margin:0,display:"grid",gap:"var(--space-md)"},children:P.map(s=>e.jsxs("li",{style:{display:"flex",gap:"var(--space-md)",alignItems:"center"},children:[s.avatar_url?e.jsx("img",{src:s.avatar_url,alt:"",style:{width:36,height:36,borderRadius:"50%",objectFit:"cover"}}):e.jsx(se,{size:24,"aria-hidden":"true"}),e.jsxs("div",{style:{minWidth:0},children:[e.jsx("strong",{"data-no-translate":!0,style:{overflowWrap:"anywhere"},children:s.full_name}),s.proficiency&&e.jsx("div",{style:{color:"var(--color-text-secondary)",fontSize:"var(--font-size-sm)",textTransform:"capitalize"},children:s.proficiency.replaceAll("_"," ")})]})]},s.id))}):e.jsx("p",{children:"No participants yet."})}):e.jsxs("div",{className:"card-body",style:t.membersPlaceholder,children:[e.jsx(ae,{size:24,style:{color:"var(--color-text-tertiary)"}}),e.jsxs("span",{children:[a.currentParticipants??"?"," member",(a.currentParticipants??0)!==1?"s":""," in this group"]})]})})]})},t={backLink:{display:"inline-flex",alignItems:"center",gap:"var(--space-sm)",fontSize:"var(--font-size-sm)",fontWeight:600,color:"var(--color-primary)",marginBottom:"var(--space-lg)"},errorBox:{background:"#FEE",color:"var(--color-error)",padding:"var(--space-md)",borderRadius:"var(--radius-md)",fontSize:"var(--font-size-sm)"},heading:{fontSize:"var(--font-size-2xl)",fontWeight:900,color:"var(--color-text-primary)",marginBottom:"var(--space-sm)"}
1,headerTop:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",gap:"var(--space-lg)",marginBottom:"var(--space-lg)",flexWrap:"wrap"},badgeRow:{display:"flex",gap:"var(--space-xs)",flexWrap:"wrap"},progressBox:{textAlign:"center",padding:"var(--space-md) var(--space-lg)",background:"var(--color-primary-light)",borderRadius:"var(--radius-lg)",flexShrink:0},progressNum:{fontSize:"var(--font-size-2xl)",fontWeight:900,color:"var(--color-primary-dark)",lineHeight:1.2},progressLabel:{fontSize:"var(--font-size-xs)",color:"var(--color-primary-dark)",fontWeight:600},metaGrid:{display:"flex",flexWrap:"wrap",gap:"var(--space-lg)"},metaItem:{display:"flex",alignItems:"center",gap:"var(--space-sm)",fontSize:"var(--font-size-sm)",color:"var(--color-text-secondary)"},sectionTitle:{fontSize:"var(--font-size-lg)",fontWeight:700,color:"var(--color-text-primary)",marginBottom:"var(--space-lg)"},timeline:{display:"flex",flexDirection:"column",gap:0},timelineItem:{display:"flex",gap:"var(--space-md)"},timelineLeft:{display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"var(--space-lg)",flexShrink:0,width:24},timelineLine:{width:2,flex:1,background:"var(--color-bg-tertiary)",marginTop:4,marginBottom:-4},sessionCard:{padding:"var(--space-md) var(--space-lg)"},sessionHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"var(--space-sm)",gap:"var(--space-sm)"},sessionTitle:{fontSize:"var(--font-size-base)",fontWeight:700,color:"var(--color-text-primary)"},sessionMeta:{display:"flex",gap:"var(--space-lg)",marginBottom:"var(--space-sm)",flexWrap:"wrap"},sessionDetail:{display:"inline-flex",alignItems:"center",gap:4,fontSize:"var(--font-size-sm)",color:"var(--color-text-tertiary)"},sessionActions:{display:"flex",gap:"var(--space-sm)",marginTop:"var(--space-sm)",flexWrap:"wrap"},materialsLink:{display:"inline-flex",alignItems:"center",gap:"var(--space-xs)",fontSize:"var(--font-size-sm)",fontWeight:600,color:"var(--color-primary)",marginTop:"var(--space-sm)"},membersPlaceholder:{display:"flex",alignItems:"center",gap:"var(--space-md)",color:"var(--color-text-secondary)",fontSize:"var(--font-size-sm)"}};export{Ze 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.