1import{r as o,E as A,z as d,l as ye,c as fe,d as _e,u as Ne,p as T,t as ve,j as e,L as x}from"./index-cIc2ig-b.js";import{u as Pe,A as we}from"./ApiExecutionPanel-9R3d4XmC.js";import{M as C}from"./Modal-CLPSU6F6.js";import{S as L,C as Ce}from"./ConfirmModal-ByFizLHk.js";import{T as $e,i as Me,M as ke,a1 as J,a as R,m as Se,C as H,h as Q,l as I,W as f,P as ze,A as De,_ as V,f as ee,ak as Ee,F as Fe}from"./index-Dc9olplh.js";import{f as O,e as B}from"./es-Ch2dMzdA.js";import"./index-DElUTK9t.js";import"./stepDisplay-IFEV5viZ.js";const te={open:!1,name:""},se={open:!1,suiteId:null,suiteName:""};function Ae(a){const[g,t]=o.useState([]),[s,l]=o.useState(!0),[i,n]=o.useState(te),[m,_]=o.useState(se),c=o.useCallback(async()=>{if(a)try{l(!0);const p=await A.getAll({projectId:a});t(p.data||[])}catch{d.error("Error al cargar las suites")}finally{l(!1)}},[a]);o.useEffect(()=>{c()},[c]);const M=o.useCallback(()=>n({open:!0,name:""}),[]),u=o.useCallback(()=>n(te),[]),k=o.useCallback(async()=>{if(i.name.trim())try{await A.create({projectId:Number(a),name:i.name.trim()}),d.success("Suite creada"),u(),c()}catch{d.error("Error al crear la suite")}},[i,a,c,u]),j=o.useCallback((p,v)=>
1{_({open:!0,suiteId:p,suiteName:v})},[]),b=o.useCallback(()=>_(se),[]),N=o.useCallback(async()=>{if(m.suiteId)try{await A.delete(m.suiteId),d.success("Suite eliminada"),b(),c()}catch{d.error("Error al eliminar la suite")}},[m,c,b]);return{suites:g,loading:s,loadSuites:c,createModal:i,setCreateModal:n,openCreateModal:M,closeCreateModal:u,handleCreate:k,confirmModal:m,openDeleteModal:j,closeDeleteModal:b,confirmDelete:N}}const Ge=()=>{const{id:a}=ye(),g=fe(),t=_e(),{isDarkMode:s}=Ne(),[l,i]=o.useState(null),[n,m]=o.useState([]),[_,c]=o.useState(!0),[M,u]=o.useState(!0),[k,j]=o.useState(!1),[b,N]=o.useState(!1);o.useEffect(()=>{p(),v()},[a]);const p=async()=>{try{const r=await T.getById(a);i(r.data)}catch(r){console.error("Error loading project:",r),d.error(t("Projects.error_load")),g("/projects")}finally{c(!1)}},v=async()=>{try{u(!0);const r=await ve.getAll({projectId:Number(a),limit:100});m(r.data.data||[])}catch(r){console.error("Error loading project tests:",r)}finally{u(!1)}},{executing:U,duplicateModal:S,setDuplicateModal:re,confirmModal:z,apiExecution:h,closeApiExecutionPanel:ae,handleExecute:oe,handleDelete:le,confirmDelete:ne,closeConfirmModal:Y,handleDuplicate:ie,openDuplicateModal:ce,closeDuplicateModal:G}=Pe({onSuccess:v}),{suites:D,loading:de,createModal:P,setCreateModal:xe,openCreateModal:K,closeCreateModal:W,handleCreate:X,confirmModal:E,openDeleteModal:ge,closeDeleteModal:Z,confirmDelete:me}=Ae(a),ue=()=>j(!0),be=async()=>{N(!0);try{const r=await T.exportCode(a),y=new Blob([r.data],{type:"application/zip"}),q=URL.createObjectURL(y),F=document.createElement("a");F.href=q;const he=r.headers["content-disposition"]?.match(/filename="(.+)"/)?.[1]??"project.zip";F.download=he,F.click(),URL.revokeObjectURL(q)}catch(r){console.error("Error downloading project code:",r),d.error(t("Projects.error_download_code"))}finally{N(!1)}},je=async()=>{j(!1);try{await T.delete(a),d.success(t("Projects.success_delete")),g("/projects")}catch(r){console.error("Error deleting project:",r),d.error(t("Projects.error_delete"))}},pe=r=>{switch(r){case"passed":return e.jsxs("span",{className:`inline-flex items-center gap-1 text-xs font-semibold px-2 py-0.5 rounded-full ${s?"bg-green-900/30 text-green-400":"bg-green-50 text-green-600"}`,children:[e.jsx(H,{size:11})," ",t("Projects.status_passed")]});case"failed":return e.jsxs("span",{className:`inline-flex items-center gap-1 text-xs font-semibold px-2 py-0.5 rounded-full ${s?"bg-red-900/30 text-red-400":"bg-red-50 text-red-600"}`,children:[e.jsx(ee,{size:11})," ",t("Projects.status_failed")]});default:return e.jsxs("span",{className:`inline-flex items-center gap-1 text-xs font-semibold px-2 py-0.5 rounded-full ${s?"bg-gray-700 text-gray-400":"bg-gray-100 text-gray-500"}`,children:[e.jsx(I,{size:11})," ",t("Projects.status_pending")]})}};if(_)return e.jsx("div",{className:"flex items-center justify-center h-64",children:e.jsx(L,{size:"lg",message:t("Projects.loading")})});if(!l)return null;const w=l.color||"#6366f1";return e.jsxs("div",{className:"max-w-7xl mx-auto",children:[e.jsxs("div",{className:"mb-6",children:[e.jsxs(x,{to:"/projects",className:`inline-flex items-center gap-1.5 text-sm font-medium mb-4 transition-colors ${s?"text-gray-400 hover:text-gray-200":"text-gray-500 hover:text-gray-700"}`,children:[e.jsx($e,{size:15}),t("Projects.back_link")]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-13 h-13 rounded-xl flex items-center justify-center shrink-0",style:{background:`${w}18`},children:e.jsx(Me,{size:26,style:{color:w}})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h1",{className:`text-2xl md:text-3xl font-bold ${s?"text-gray-100":"text-gray-800"}`,children:l.name}),e.jsx("div",{className:"w-3.5 h-3.5 rounded-md",style:{background:w},title:w}),!l.isActive&&e.jsx("span",{className:`text-xs font-semibold px-2 py-0.5 rounded-full ${s?"bg-gray-700 text-gray-400":"bg-gray-100 text-gray-500"}`,children:t("Projects.inactive")})]}),l.description&&e.jsx("p",{className:`mt-0.5 text-sm ${s?"text-gray-400":"text-gray-500"}`,children:l.description}),e.jsx("p",{className:`mt-0.5 text-xs ${s?"text-gray-500":"text-gray-400"}`,children:t("Projects.created_at",{date:O(new Date(l.createdAt),"dd MMM yyyy",{locale:B})})})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[(l._count?.tests>0||n.length>0)&&e.jsxs("button",{onClick:be,disabled:b,className:`inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-semibold transition-colors disabled:opacity-60 ${s?"bg-green-900/30 text-green-400 hover:bg-green-900/50":"bg-green-50 text-green-600 hover:bg-green-100"}`,children:[e.jsx(ke,{size:14}),t(b?"Projects.downloading_code_btn":"Projects.download_code_btn")]}),e.jsxs(x,{to:`/projects/${a}/edit`,className:`inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-semibold transition-colors ${s?"bg-blue-900/30 text-blue-400 hover:bg-blue-900/50":"bg-blue-50 text-blue-600 hover:bg-blue-100"}`,children:[e.jsx(J,{size:14}),t("Projects.edit_btn")]}),e.jsxs("button",{onClick:ue,className:`inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-semibold transition-colors ${s?"bg-red-900/30 text-red-400 hover:bg-red-900/50":"bg-red-50 text-red-600 hover:bg-red-100"}`,children:[e.jsx(R,{size:14}),t("Projects.delete_btn")]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-4 mb-6",children:[e.jsx($,{label:t("Projects.stat_tests"),value:n.length,icon:e.jsx(Se,{size:20}),iconBg:s?"bg-blue-900/30":"bg-blue-50",iconColor:s?"text-blue-400":"text-blue-600",isDarkMode:s}),e.jsx($,{label:t("Projects.stat_active"),value:n.filter(r=>r.isActive).length,icon:e.jsx(H,{size:20}),iconBg:s?"bg-green-900/30":"bg-green-50",iconColor:s?"text-green-400":"text-green-600",isDarkMode:s}),e.jsx($,{label:t("Projects.stat_suites"),value:D.length,icon:e.jsx(Q,{size:20}),iconBg:s?"bg-cyan-900/30":"bg-cyan-50",iconColor:s?"text-cyan-400":"text-cyan-600",isDarkMode:s}),e.jsx($,{label:t("Projects.stat_last_added"),value:n.length>0?O(new Date(Math.max(...n.map(r=>new Date(r.createdAt).getTime()))),"dd MMM yyyy",{locale:B}):"â",icon:e.jsx(I,{size:20}),iconBg:s?"bg-indigo-900/30":"bg-indigo-50",iconColor:s?"text-indigo-400":"text-indigo-600",isDarkMode:s})]}),e.jsxs("div",{className:`rounded-xl shadow-sm ${s?"bg-gray-800":"bg-white"}`,children:[e.jsxs("div",{className:`flex items-center justify-between px-6 py-4 border-b ${s?"border-gray-700":"border-gray-100"}`,children:[e.jsx("h2",{className:`text-base font-semibold ${s?"text-gray-100":"text-gray-800"}`,children:t("Projects.tests_section")}),e.jsxs(x,{to:`/tests/new?projectId=${a}`,className:"inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-lg text-xs font-semibold bg-blue-600 hover:bg-blue-700 text-white transition-colors",children:[e.jsx(f,{size:13}),t("Projects.new_test_btn")]})]}),M?e.jsx("div",{className:"flex items-center justify-center py-16",children:e.jsx(L,{size:"md"})}):n.length===0?e.jsxs("div",{className:"text-center py-16",children:[e.jsx("div",{className:`mx-auto mb-4 w-13 h-13 rounded-xl flex items-center justify-center ${s?"bg-blue-900/30":"bg-blue-50"}`,children:e.jsx(ze,{className:s?"text-blue-400":"text-blue-600",size:24})}),e.jsx("p",{className:`text-sm font-semibold mb-1 ${s?"text-gray-100":"text-gray-800"}`,children:t("Projects.no_tests_title")}),e.jsx("p",{className:`text-xs mb-5 ${s?"text-gray-500":"text-gray-400"}`,children:t("Projects.no_tests_desc")}),e.jsxs(x,{to:`/tests/new?projectId=${a}`,className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-semibold bg-blue-600 hover:bg-blue-700 text-white transition-colors",children:[e.jsx(f,{size:15}
1),t("Projects.create_test_btn")]})]}):e.jsx("div",{children:n.map(r=>e.jsxs("div",{className:`flex items-center justify-between px-6 py-3.5 transition-colors border-b last:border-b-0 ${s?"hover:bg-gray-700 border-gray-700":"hover:bg-gray-50 border-gray-100"}`,children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx(x,{to:`/tests/${r.id}`,className:`text-sm font-semibold hover:underline truncate block ${s?"text-gray-100":"text-gray-800"}`,children:r.name}),r.description&&e.jsx("p",{className:`text-xs truncate mt-0.5 ${s?"text-gray-500":"text-gray-400"}`,children:r.description})]}),e.jsxs("div",{className:"flex items-center gap-2 ml-4 shrink-0",children:[pe(r.lastStatus),e.jsx("button",{onClick:()=>oe(r.id,r.type,r.name),disabled:U[r.id],className:`p-1.5 rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed ${s?"bg-green-900/30 text-green-400 hover:bg-green-900/50":"bg-green-50 text-green-600 hover:bg-green-100"}`,title:t("Projects.execute_title"),children:U[r.id]?e.jsx("div",{className:"animate-spin rounded-full h-3 w-3 border border-current border-t-transparent"}):e.jsx(De,{size:13})}),e.jsx(x,{to:`/tests/${r.id}/edit`,className:`p-1.5 rounded-lg transition-colors ${s?"bg-blue-900/30 text-blue-400 hover:bg-blue-900/50":"bg-blue-50 text-blue-600 hover:bg-blue-100"}`,title:t("Projects.edit_btn"),children:e.jsx(J,{size:13})}),e.jsx("button",{onClick:()=>ce(r.id,r.name),className:`p-1.5 rounded-lg transition-colors ${s?"bg-cyan-900/30 text-cyan-400 hover:bg-cyan-900/50":"bg-cyan-50 text-cyan-600 hover:bg-cyan-100"}`,title:t("Projects.duplicate_title"),children:e.jsx(V,{size:13})}),e.jsx("button",{onClick:()=>le(r.id,r.name),className:`p-1.5 rounded-lg transition-colors ${s?"bg-red-900/30 text-red-400 hover:bg-red-900/50":"bg-red-50 text-red-600 hover:bg-red-100"}`,title:t("Projects.delete_btn"),children:e.jsx(R,{size:13})})]})]},r.id))})]}),e.jsxs("div",{className:`rounded-xl shadow-sm mt-6 ${s?"bg-gray-800":"bg-white"}`,children:[e.jsxs("div",{className:`flex items-center justify-between px-6 py-4 border-b ${s?"border-gray-700":"border-gray-100"}`,children:[e.jsx("h2",{className:`text-base font-semibold ${s?"text-gray-100":"text-gray-800"}`,children:t("Projects.suites_section")}),e.jsxs("button",{onClick:K,className:"inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-lg text-xs font-semibold bg-blue-600 hover:bg-blue-700 text-white transition-colors",children:[e.jsx(f,{size:13}),t("Projects.new_suite_btn")]})]}),de?e.jsx("div",{className:"flex items-center justify-center py-12",children:e.jsx(L,{size:"md"})}):D.length===0?e.jsxs("div",{className:"text-center py-14",children:[e.jsx("div",{className:`mx-auto mb-4 w-13 h-13 rounded-xl flex items-center justify-center ${s?"bg-cyan-900/30":"bg-cyan-50"}`,children:e.jsx(Q,{className:s?"text-cyan-400":"text-cyan-600",size:24})}),e.jsx("p",{className:`text-sm font-semibold mb-1 ${s?"text-gray-100":"text-gray-800"}`,children:t("Projects.no_suites_title")}),e.jsx("p",{className:`text-xs mb-5 ${s?"text-gray-500":"text-gray-400"}`,children:t("Projects.no_suites_desc")}),e.jsxs("button",{onClick:K,className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-semibold bg-blue-600 hover:bg-blue-700 text-white transition-colors",children:[e.jsx(f,{size:15}),t("Projects.create_suite_btn")]})]}):e.jsx("div",{children:D.map(r=>e.jsxs("div",{className:`flex items-center justify-between px-6 py-3.5 transition-colors border-b last:border-b-0 ${s?"hover:bg-gray-700 border-gray-700":"hover:bg-gray-50 border-gray-100"}`,children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx(x,{to:`/projects/${a}/suites/${r.id}`,className:`text-sm font-semibold hover:underline truncate block ${s?"text-gray-100":"text-gray-800"}`,children:r.name}),e.jsxs("div",{className:"flex items-center gap-3 mt-0.5",children:[e.jsx("span",{className:`text-xs ${s?"text-gray-500":"text-gray-400"}`,children:t("Projects.suite_tests_count",{count:r.items?.length??0,s:(r.items?.length??0)!==1?"s":""})}),r.lastRunAt&&e.jsxs("span",{className:`text-xs ${s?"text-gray-500":"text-gray-400"}`,children:["· ",O(new Date(r.lastRunAt),"dd MMM HH:mm",{locale:B})]})]})]}),e.jsxs("div",{className:"flex items-center gap-2 ml-4 shrink-0",children:[r.lastRunStatus==="PASSED"&&e.jsxs("span",{className:`inline-flex items-center gap-1 text-xs font-semibold px-2 py-0.5 rounded-full ${s?"bg-green-900/30 text-green-400":"bg-green-50 text-green-600"}`,children:[e.jsx(H,{size:11})," ",t("Projects.suite_status_passed")]}),r.lastRunStatus==="FAILED"&&e.jsxs("span",{className:`inline-flex items-center gap-1 text-xs font-semibold px-2 py-0.5 rounded-full ${s?"bg-red-900/30 text-red-400":"bg-red-50 text-red-600"}`,children:[e.jsx(ee,{size:11})," ",t("Projects.suite_status_failed")]}),r.lastRunStatus==="RUNNING"&&e.jsxs("span",{className:`inline-flex items-center gap-1 text-xs font-semibold px-2 py-0.5 rounded-full ${s?"bg-blue-900/30 text-blue-400":"bg-blue-50 text-blue-600"}`,children:[e.jsx(Ee,{size:11,className:"animate-spin"})," ",t("Projects.suite_status_running")]}),!r.lastRunStatus&&e.jsxs("span",{className:`inline-flex items-center gap-1 text-xs font-semibold px-2 py-0.5 rounded-full ${s?"bg-gray-700 text-gray-400":"bg-gray-100 text-gray-500"}`,children:[e.jsx(I,{size:11})," ",t("Projects.suite_status_pending")]}),e.jsx(x,{to:`/projects/${a}/suites/${r.id}`,className:`p-1.5 rounded-lg transition-colors ${s?"bg-blue-900/30 text-blue-400 hover:bg-blue-900/50":"bg-blue-50 text-blue-600 hover:bg-blue-100"}`,title:t("Projects.view_detail_title"),children:e.jsx(Fe,{size:13})}),e.jsx("button",{onClick:()=>ge(r.id,r.name),className:`p-1.5 rounded-lg transition-colors ${s?"bg-red-900/30 text-red-400 hover:bg-red-900/50":"bg-red-50 text-red-600 hover:bg-red-100"}`,title:t("Projects.delete_suite_title"),children:e.jsx(R,{size:13})})]})]},r.id))})]}),P.open&&e.jsxs(C,{isOpen:P.open,onClose:W,title:t("Projects.create_suite_modal_title"),colorHeader:"bg-blue-600",colorHeaderText:"text-white",footer:e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:W,className:"px-4 py-2 rounded-lg text-sm font-semibold bg-gray-100 text-gray-600 hover:bg-gray-200 transition-colors",children:t("Projects.create_suite_modal_cancel")}),e.jsxs("button",{onClick:X,disabled:!P.name.trim(),className:"inline-flex items-center gap-2 px-5 py-2 rounded-lg font-semibold text-sm bg-blue-600 hover:bg-blue-700 text-white transition-colors disabled:opacity-50",children:[e.jsx(f,{size:15}),t("Projects.create_suite_modal_confirm")]})]}),children:[e.jsx("p",{className:`text-sm mb-3 ${s?"text-gray-400":"text-gray-500"}`,children:t("Projects.create_suite_modal_label")}),e.jsx("input",{type:"text",className:`w-full px-4 py-2 rounded-lg text-base border outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 transition-colors ${s?"bg-gray-900 border-gray-700 text-gray-100":"bg-white border-gray-200 text-gray-800"}`,value:P.name,onChange:r=>xe(y=>({...y,name:r.target.value})),onKeyDown:r=>r.key==="Enter"&&X(),placeholder:t("Projects.create_suite_modal_placeholder"),autoFocus:!0})]}),E.open&&e.jsx(C,{isOpen:E.open,onClose:Z,title:"Eliminar suite",colorHeader:"bg-red-600",colorHeaderText:"text-white",footer:e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:Z,className:"px-4 py-2 rounded-lg text-sm font-semibold bg-gray-100 text-gray-600 hover:bg-gray-200 transition-colors",children:t("Projects.delete_suite_modal_cancel")}),e.jsx("button",{onClick:me,className:"px-4 py-2 rounded-lg text-sm font-semibold bg-red-600 hover:bg-red-700 text-white transition-colors",children:t("Projects.delete_suite_modal_confirm")})]}),children:e.jsx("p",{className:`text-sm ${s?"text-gray-300":"text-gray-600"}`,children:t("Projects.delete_suite_modal_body",{name:E.suiteName})})}),S.open&&e.jsxs(C,{isOpen:S.open,onClose:G,title:t("Projects.duplicate_modal_title"),colorHeader:"bg-blue-600",colorHeaderText:"text-white",footer:e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:G,className:"px-4 py-2 rounded-lg text-sm font-semibold bg-gray-100 text-gray-600 hover:bg-gray-200 transition-colors",children:t("Projects.duplicate_modal_cancel")}),e.jsxs("button",{onClick:()=>ie(),className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-lg font-semibold text-sm bg-blue-600 hover:bg-blue-700 text-white transition-colors",children:[e.jsx(V,{size:15}),t("Projects.duplicate_modal_confirm")]})]}),children:[e.jsx("p",{className:`text-sm mb-3 ${s?"text-gray-400":"text-gray-500"}`,children:t("Projects.duplicate_modal_label")}),e.jsx("input",{type:"text",className:`w-full px-4 py-2 rounded-lg border focus:border-blue-500 focus:ring-1 focus:ring-blue-500 text-base outline-none transition-colors ${s?"bg-gray-900 border-gray-700 text-gray-100":"bg-white border-gray-200 text-gray-800"}`,value:S.newName,onChange:r=>re(y=>({...y,newName:r.target.value})),autoFocus:!0})]}),e.jsx(Ce,{isOpen:k,onClose:()=>j(!1),onConfirm:je,title:t("Projects.delete_project_modal_title"),message:t("Projects.confirm_delete_project",{name:l?.name}),confirmText:t("Projects.delete_project_modal_confirm"),cancelText:t
1("Projects.delete_project_modal_cancel"),variant:"danger"}),z.open&&e.jsx(C,{isOpen:z.open,onClose:Y,title:t("Projects.confirm_delete_modal_title"),colorHeader:"bg-red-600",colorHeaderText:"text-white",footer:e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:Y,className:"px-4 py-2 rounded-lg text-sm font-semibold bg-gray-100 text-gray-600 hover:bg-gray-200 transition-colors",children:t("Projects.confirm_delete_modal_cancel")}),e.jsx("button",{onClick:()=>ne(),className:"px-4 py-2 rounded-lg text-sm font-semibold bg-red-600 hover:bg-red-700 text-white transition-colors",children:t("Projects.confirm_delete_modal_confirm")})]}),children:e.jsx("p",{className:`text-sm ${s?"text-gray-300":"text-gray-600"}`,children:t("Projects.confirm_delete_modal_body",{name:z.testName})})}),e.jsx(we,{open:h.open,onClose:ae,testName:h.testName,steps:h.steps,totalSteps:h.totalSteps,finalStatus:h.finalStatus})]})},$=({label:a,value:g,icon:t,iconBg:s,iconColor:l,isDarkMode:i})=>e.jsxs("div",{className:`rounded-xl shadow-sm p-5 flex items-center gap-4 ${i?"bg-gray-800":"bg-white"}`,children:[e.jsx("div",{className:`w-11 h-11 rounded-lg flex items-center justify-center shrink-0 ${s}`,children:e.jsx("span",{className:l,children:t})}),e.jsxs("div",{children:[e.jsx("p",{className:`text-2xl font-bold ${i?"text-gray-100":"text-gray-800"}`,children:g}),e.jsx("p",{className:`text-xs font-medium uppercase tracking-wide mt-0.5 ${i?"text-gray-500":"text-gray-400"}`,children:a})]})]});export{Ge 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.