1import{r as b,j as e}from"./vendor-react-C9JnyeYK.js";import{Y as J,d as ee,e as te,f as re,g as se,h as ne,i as q,B as R}from"./DashboardLayout-DrshgLKx.js";import{$ as ae,Y as L,U as oe,K as U,N as W,ac as ie,O as le,k as B,u as ce,s as z,t as de}from"./app-main-zdI9WMQE.js";import{h as me,d as pe,j as ue,b as fe}from"./index-Ya_i7uzz.js";import{Link as he}from"./vendor-router-BX8221IH.js";import{i as xe,b as M}from"./useNoteAutosave-DvtdhYVk.js";import{p as ge}from"./NotePkmFields-BRx4BJa5.js";import{U as O}from"./upload-B_i2Kdcv.js";import{a as be}from"./folder-open-Cug-Uzdb.js";import{A as ye}from"./Notes-Dj9umJEZ.js";import{T as je}from"./tag-DyFg3Sn3.js";import"./ordovia-mark-DTpvy6IT.js";import"./zap-Bvchks4F.js";import"./compass-D1YTJFAD.js";import"./vendor-motion-Csxijm3F.js";/* empty css */import"./vendor-query-CDZab8LV.js";import"./OrdoviaPublicRouteShell-Cw1gIWoB.js";import"./router-Bo5zjNYo.js";import"./label-BYYazGn7.js";import"./select-2YFcdv5M.js";import"./plus-D74Vap4C.js";import"./search-CztV1jKw.js";import"./DailyNoteModal-jQ18OG7T.js";import"./ConfirmDialog-CL8QyBxj.js";import"./alert-dialog-BnDB7FxM.js";import"./noteExport-DHJgCLlD.js";import"./tagIndex-C8OTmHiF.js";import"./network-DRTLF1RH.js";import"./rotate-ccw-CWQZ9Hql.js";import"./EmptyState-Chhm9r1V.js";import"./layers-BuLTTVnQ.js";import"./inbox-D4Ol94P7.js";import"./pencil-CmtM5Nj0.js";import"./trash-2-SCd_K6SY.js";import"./sword-DTxe64q2.js";import"./inbox-DL7njwOn.js";import"./clock-B0ylvxWT.js";import"./link-2-CLBr9UF8.js";import"./dropdown-menu-L6WQTPvD.js";import"./ellipsis-oPXGH9ji.js";import"./brain-CTtYN9OU.js";/** 2 * @license lucide-react v1.11.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const ke=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],ve=me("circle-alert",ke);var T="Checkbox",[we]=le(T),[Ne,D]=we(T);function Ce(t){const{__scopeCheckbox:r,checked:n,children:i,defaultChecked:s,disabled:a,form:l,name:g,onCheckedChange:d,required:m,value:c="on",internal_do_not_use_render:p}=t,[h,y]=oe({prop:n,defaultProp:s??!1,onChange:d,caller:T}),[j,v]=b.useState(null),[w,x]=b.useState(null),u=b.useRef(!1),I=j?!!l||!!j.closest("form"):!0,C={checked:h,disabled:a,setChecked:y,control:j,setControl:v,name:g,form:l,value:c,hasConsumerStoppedPropagationRef:u,required:m,defaultChecked:_(s)?!1:s,isFormControl:I,bubbleInput:w,setBubbleInput:x};return e.jsx(Ne,{scope:r,...C,children:Ie(p)?p(C):i})}var Y="CheckboxTrigger",H=b.forwardRef(({__scopeCheckbox:t,onKeyDown:r,onClick:n,...i},s)=>{const{control:a,value:l,disabled:g,checked:d,required:m,setControl:c,setChecked:p,hasConsumerStoppedPropagationRef:h,isFormControl:y,bubbleInput:j}=D(Y,t),v=U(s,c),w=b.useRef(d);return b.useEffect(()=>{const x=a?.form;if(x){const u=()=>p(w.current);return x.addEventListener("reset",u),()=>x.removeEventListener("reset",u)}},[a,p]),e.jsx(L.button,{type:"button",role:"checkbox","aria-checked":_(d)?"mixed":d,"aria-required":m,"data-state":V(d),"data-disabled":g?"":void 0,disabled:g,value:l,...i,ref:v,onKeyDown:W(r,x=>{x.key==="Enter"&&x.preventDefault()}),onClick:W(n,x=>{p(u=>_(u)?!0:!u),j&&y&&(h.current=x.isPropagationStopped(),h.current||x.stopPropagation())})})});H.displayName=Y;var F=b.forwardRef((t,r)=>{const{__scopeCheckbox:n,name:i,checked:s,defaultChecked:a,required:l,disabled:g,value:d,onCheckedChange:m,form:c,...p}=t;return e.jsx(Ce,{__scopeCheckbox:n,checked:s,defaultChecked:a,disabled:g,required:l,onCheckedChange:m,name:i,form:c,value:d,internal_do_not_use_render:({isFormControl:h})=>e.jsxs(e.Fragment,{children:[e.jsx(H,{...p,ref:r,__scopeCheckbox:n}),h&&e.jsx(Q,{__scopeCheckbox:n})]})})});F.displayName=T;var K="CheckboxIndicator",G=b.forwardRef((t,r)=>{const{__scopeCheckbox:n,forceMount:i,...s}=t,a=D(K,n);return e.jsx(ae,{present:i||_(a.checked)||a.checked===!0,children:e.jsx(L.span,{"data-state":V(a.checked),"data-disabled":a.disabled?"":void 0,...s,ref:r,
6style:{pointerEvents:"none",...t.style}})})});G.displayName=K;var X="CheckboxBubbleInput",Q=b.forwardRef(({__scopeCheckbox:t,...r},n)=>{const{control:i,hasConsumerStoppedPropagationRef:s,checked:a,defaultChecked:l,required:g,disabled:d,name:m,value:c,form:p,bubbleInput:h,setBubbleInput:y}=D(X,t),j=U(n,y),v=J(a),w=ie(i);b.useEffect(()=>{const u=h;if(!u)return;const I=window.HTMLInputElement.prototype,o=Object.getOwnPropertyDescriptor(I,"checked").set,f=!s.current;if(v!==a&&o){const S=new Event("click",{bubbles:f});u.indeterminate=_(a),o.call(u,_(a)?!1:a),u.dispatchEvent(S)}},[h,v,a,s]);const x=b.useRef(_(a)?!1:a);return e.jsx(L.input,{type:"checkbox","aria-hidden":!0,defaultChecked:l??x.current,required:g,disabled:d,name:m,value:c,form:p,...r,tabIndex:-1,ref:j,style:{...r.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});Q.displayName=X;function Ie(t){return typeof t=="function"}function _(t){return t==="indeterminate"}function V(t){return _(t)?"indeterminate":t?"checked":"unchecked"}const Z=b.forwardRef(({className:t,...r},n)=>e.jsx(F,{ref:n,className:B("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...r,children:e.jsx(G,{className:B("flex items-center justify-center text-current"),children:e.jsx(pe,{className:"h-4 w-4"})})}));Z.displayName=F.displayName;const Se={note:"note","daily log":"daily","weekly review":"weekly","brain dump":"brain","idea capture":"idea","atomic note":"atomic",daily:"daily",weekly:"weekly",brain:"brain",idea:"idea",atomic:"atomic",zettel:"atomic",zettelkasten:"atomic","literature note":"atomic","project note":"brain","decision log":"brain"},Ae={project:"project",area:"area",resource:"resource",archive:"archive"};function _e(t){const r=t.replace(/\r\n?/g,` 7`);if(!r.startsWith(`--- 8`)&&r!=="---"&&!r.startsWith("---\r"))return{yaml:null,body:r,invalid:!1};const n=r.slice(4),i=n.search(/\n---\s*(\n|$)/);if(i===-1)return{yaml:null,body:r,invalid:!0};const s=n.slice(0,i),a=n.slice(i).replace(/^\n---\s*\n?/,"");return{yaml:s,body:a,invalid:!1}}function Pe(t){const r={};if(!t.trim())return{data:r,ok:!0};let n=!0;const i=t.split(` 9`);let s=0;for(;s<i.length;){const l=i[s].replace(/\s+$/,"");if(!l.trim()||l.trim().startsWith("#")){s++;continue}if(/^\s*-\s+/.test(l)){n=!1,s++;continue}const g=l.match(/^([A-Za-z_][\w-]*)\s*:\s*(.*)$/);if(!g){n=!1,s++;continue}const d=g[1],m=g[2];if(m===""||m==="|"||m===">"){const c=[];let p=s+1;for(;p<i.length;){const h=i[p];if(!h.trim()){p++;continue}const y=h.match(/^\s+-\s+(.*)$/);if(!y)break;c.push(E(y[1])),p++}r[d]=c,s=p;continue}if(m.startsWith("[")&&m.endsWith("]")){const c=m.slice(1,-1).trim(),p=c===""?[]:Re(c).map(h=>E(h.trim())).filter(Boolean);r[d]=p,s++;continue}r[d]=E(m),s++}return{data:r,ok:n}}function E(t){const r=t.trim();return r.length>=2&&r.startsWith('"')&&r.endsWith('"')?r.slice(1,-1).replace(/\\"/g,'"').replace(/\\n
9/g,` 10`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\\\/g,"\\"):r.length>=2&&r.startsWith("'")&&r.endsWith("'")?r.slice(1,-1).replace(/''/g,"'"):r}function Re(t){const r=[];let n="",i=null;for(let s=0;s<t.length;s++){const a=t[s];i?(n+=a,a===i&&t[s-1]!=="\\"&&(i=null)):a==='"'||a==="'"?(n+=a,i=a):a===","?(r.push(n),n=""):n+=a}return n.trim()&&r.push(n),r}function Te(t){const{yaml:r,body:n,invalid:i}=_e(t);if(r===null)return{frontmatter:{},body:n,invalid:i};const{data:s,ok:a}=Pe(r);return{frontmatter:s,body:n,invalid:!a}}function $e(t){return String(t).trim().replace(/^#+/,"").replace(/\s+/g,"-").toLowerCase()}function Ee(t){let r=[];Array.isArray(t)?r=t.map(String):typeof t=="string"&&(r=t.split(","));const n=[];for(const i of r){const s=$e(i);s&&!n.includes(s)&&n.push(s)}return n}function Le(t){if(typeof t!="string"||!t.trim())return{type:"brain"};const r=t.trim().toLowerCase(),n=Se[r];return n?{type:n}:{type:"brain",warning:`Unknown note type "${t}" â defaulted to Brain Dump.`}}function De(t){if(typeof t!="string"||!t.trim())return{paraType:"resource"};const r=t.trim().toLowerCase(),n=Ae[r];return n?{paraType:n}:{paraType:"resource",warning:`Unknown PARA "${t}" â defaulted to Resource.`}}function Fe(t,r,n){if(typeof t=="string"&&t.trim())return t.trim();const i=r.match(/^\s{0,3}#\s+(.+?)\s*$/m);if(i)return i[1].trim();const s=n.replace(/\.[^.]+$/,"").trim();return s||"Untitled Note"}function qe(t,r){const n=a=>a.toLowerCase();if(!r.has(n(t)))return t;const i=`${t} imported`;if(!r.has(n(i)))return i;let s=2;for(;s<1e4;){const a=`${i} ${s}`;if(!r.has(n(a)))return a;s++}return`${t} imported ${Date.now()}`}function We(t,r,n,i,s){const a=[],{frontmatter:l,body:g,invalid:d}=Te(r);d&&a.push("Frontmatter could not be parsed â imported as plain note.");const m=Fe(l.title,g,t),{type:c,warning:p}=Le(l.type);p&&a.push(p);const{paraType:h,warning:y}=De(l.para);y&&a.push(y);const j=Ee(l.tags),v=i.has(m.toLowerCase()),w=qe(m,i);i.add(w.toLowerCase()),v&&a.push(`Duplicate title â will be imported as "${w}".`);const x=typeof l.atomic_id=="string"&&xe(l.atomic_id)?l.atomic_id.trim():void 0;let u,I=!1;x?s.has(x)?(u=M([...n,...Array.from(s).map(f=>({atomicId:f}))]),I=!0,a.push(`Atomic id "${x}" already exists â generated "${u}".`)):u=x:c==="atomic"&&(u=M([...n,...Array.from(s).map(f=>({atomicId:f}))]),I=!0,a.push(`Atomic note had no id â generated "${u}".`)),u&&s.add(u);const C=g.replace(/^\n+/,""),o=Be(C);return{filename:t,title:w,detectedTitle:m,type:c,paraType:h,tags:j,atomicId:u,detectedAtomicId:x,content:C,contentPreview:o,warnings:a,hadInvalidFrontmatter:d,renamedFromDuplicate:v,generatedAtomicId:I}}function Be(t,r=220){const n=t.replace(/```[\s\S]*?```/g," ").replace(/`([^`]+)`/g,"$1").replace(/!\[([^\]]*)\]\([^)]+\)/g,"$1").replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/^\s{0,3}#{1,6}\s+/gm,"").replace(/^\s{0,3}>\s?/gm,"").replace(/^\s*[-*+]\s+/gm,"").replace(/(\*\*|__)(.*?)\1/g,"$2").replace(/(\*|_)(.*?)\1/g,"$2").replace(/\s+/g," ").trim();return n.length>r?n.slice(0,r-1)+"â¦":n}function ze(t,r){const n=new Set(r.existingNotes.map(s=>(s.title||"").toLowerCase())),i=new Set(r.existingNotes.map(s=>s.atomicId).filter(s=>!!s));return t.map(s=>We(s.filename,s.content,r.existingNotes,n,i))}function Me(t){return{type:t.type,title:t.title,content:t.content,tags:t.tags,paraType:t.paraType,linkedTaskIds:[],linkedProjectIds:[],linkedNoteIds:[],atomicId:t.atomicId}}const Oe={note:{label:"Note",emoji:"ð"},daily:{label:"Daily Log",emoji:"ð "},weekly:{label:"Weekly Review",emoji:"ð"},brain:{label:"Brain Dump",emoji:"ð§ "},idea:{label:"Idea",emoji:"ð¡"},atomic:{label:"Atomic",emoji:"âï¸"}};function Tt({open:t,onOpenChange:r}){const{notes:n,addNote:i}=ce(),[s,a]=b.useState("pick"),[l,g]=b.useState([]),[d,m]=b.useState(new Set),[c,p]=b.useState(null),h=b.useRef(null),y=()=>{a("pick"),g([]),m(new Set),p(null),h.current&&(h.current.value="")},j=o=>{o||y(),r(o)},v=async o=>{if(!o||o.length===0)return;const f=Array.from(o),S=await Promise.all(f.map(async A=>({filename:A.name,content:await A.text()}))),N=ze(S,{existingNotes:n});g(N),m(new Set(N.map((A,k)=>k))),a("review")},w=o=>{const f=new Set(d);f.has(o)?f.delete(o):f.add(o),m(f)},x=l.length>0&&d.size===l.length,u=()=>{m(x?new Set:new Set(l.map((o,f)=>f)))},I=()=>{let o=0,f=0,S=0,N=0,A=0;l.forEach((k,$)=>{d.has($)&&(i(Me(k)),o++,k.warnings.length&&f++,k.renamedFromDuplicate&&S++,k.hadInvalidFrontmatter&&N++,k.generatedAtomicId&&A++)}),p({filesSelected:l.length,notesImported:o,skipped:l.length-o,warnings:f,duplicatesRen
10amed:S,invalidFrontmatter:N,generatedAtomicIds:A}),a("done"),de({title:o>0?`Imported ${o} note${o===1?"":"s"}`:"Nothing imported",description:o>0?"Your imported notes appear at the top of the list.":"No files were selected."})},C=b.useMemo(()=>l.reduce((o,f)=>o+f.warnings.length,0),[l]);return e.jsx(ee,{open:t,onOpenChange:j,children:e.jsxs(te,{className:"max-w-3xl max-h-[88vh] overflow-hidden flex flex-col p-0",children:[e.jsxs(re,{className:"p-5 pb-3 border-b border-border",children:[e.jsxs(se,{className:"flex items-center gap-2",children:[e.jsx(O,{className:"w-4 h-4 text-primary"})," Import Markdown notes"]}),e.jsxs(ne,{className:"text-xs",children:["Pick one or more ",e.jsx("code",{children:".md"})," files. We'll preview each one before anything is added â existing notes are never overwritten."]})]}),s==="pick"&&e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"quest-card p-8 text-center border-dashed border-2 border-border hover:border-primary/50 transition-colors cursor-pointer",onClick:()=>h.current?.click(),role:"button",tabIndex:0,onKeyDown:o=>{(o.key==="Enter"||o.key===" ")&&h.current?.click()},children:[e.jsx(O,{className:"w-8 h-8 mx-auto text-primary/70 mb-3",strokeWidth:1.8}),e.jsx("p",{className:"text-sm font-extrabold text-foreground mb-1",children:"Choose .md files"}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["Single or multiple files. ",e.jsx("code",{children:".txt"})," also accepted."]})]}),e.jsx("input",{ref:h,type:"file",accept:".md,.markdown,.txt,text/markdown,text/plain",multiple:!0,className:"hidden",onChange:o=>v(o.target.files)}),e.jsxs("div",{className:"quest-card p-3 text-[11px] text-muted-foreground space-y-1",children:[e.jsx("p",{className:"font-bold text-foreground",children:"What gets imported:"}),e.jsxs("ul",{className:"list-disc pl-4 space-y-0.5",children:[e.jsx("li",{children:"Title, type, PARA, tags and atomic id from YAML frontmatter (if present)."}),e.jsx("li",{children:"Otherwise: title from the first H1 or filename, content as-is."}),e.jsx("li",{children:"Linked tasks/projects/notes are kept as readable Markdown â no auto-linking."})]})]})]}),s==="review"&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"px-5 py-2 border-b border-border flex items-center justify-between gap-2 text-xs",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("button",{type:"button",onClick:u,className:"font-bold text-primary hover:underline",children:x?"Deselect all":"Select all"}),e.jsxs("span",{className:"text-muted-foreground",children:[d.size," of ",l.length," selected"]}),C>0&&e.jsxs("span",{className:"inline-flex items-center gap-1 text-[var(--warning,hsl(var(--amber)))]",children:[e.jsx(z,{className:"w-3 h-3"}),C," warning",C===1?"":"s"]})]})}),e.jsx("div",{className:"overflow-y-auto px-5 py-4 space-y-3 flex-1",children:l.map((o,f)=>{const S=Oe[o.type],N=ge(o.paraType),A=d.has(f);return e.jsx("div",{className:`quest-card p-3 transition-colors ${A?"":"opacity-60"}`,children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(Z,{checked:A,onCheckedChange:()=>w(f),className:"mt-1","aria-label":`Import ${o.title}`}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsx(be,{className:"w-3.5 h-3.5 text-muted-foreground flex-shrink-0"}),e.jsx("span",{className:"font-extrabold text-sm text-foreground truncate",children:o.title}),o.renamedFromDuplicate&&e.jsx("span",{className:"quest-chip border-amber/30 bg-amber/10 text-amber text-[10px]",children:"renamed from duplicate"})]}),e.jsxs("p",{className:"text-[10px] text-muted-foreground mt-0.5 truncate",children:["from ",e.jsx("span",{className:"font-mono",children:o.filename})]}),e.jsxs("div",{className:"mt-2 flex flex-wrap items-center gap-1",children:[e.jsxs("span",{className:"quest-chip border-border bg-secondary/50 text-foreground/80",children:[S.emoji," ",S.label]}),e.jsxs("span",{className:"quest-chip",style:{color:`hsl(var(--${N.tone}))`,background:`hsl(var(--${N.tone}) / 0.1)`,borderColor:`hsl(var(--${N.tone}) / 0.3)`},children:[N.emoji," ",N.label]}),o.atomicId&&e.jsxs("span",{className:"quest-chip inline-flex items-center gap-0.5",style:{color:"hsl(var(--blue))",background:"hsl(var(--blue) / 0.1)",borderColor:"hsl(var(--blue) / 0.3)"},children:[e.jsx(ye,{className:"w-2.5 h-2.5"}),e.jsx("span",{className:"font-mono",children:o.atomicId})]}),o.tags.slice(0,5).map(k=>e.jsxs("span",{className:"quest-chip border-border bg-secondary/50 text-muted-foreground inline-flex items-center gap-0.5",children:[e.jsx(je,{className:"w-2.5 h-2.5"}),"#",k]},k)),o.tags.length>5&&e.jsxs("span",{className:"quest-chip border-border bg-secondary/50 text-muted-foreground",children:["+",o.tags.length-5]})]}),o.contentPreview&&e.jsx("p",{className:"text-[11px] text-foreground
10/70 mt-2 line-clamp-2",children:o.contentPreview}),o.warnings.length>0&&e.jsx("ul",{className:"mt-2 space-y-0.5",children:o.warnings.map((k,$)=>e.jsxs("li",{className:"text-[10px] inline-flex items-start gap-1 text-amber",style:{color:"hsl(var(--amber))"},children:[e.jsx(z,{className:"w-3 h-3 mt-0.5 flex-shrink-0"}),e.jsx("span",{children:k})]},$))})]})]})},f)})}),e.jsxs(q,{className:"p-4 border-t border-border flex-shrink-0",children:[e.jsx(R,{variant:"ghost",onClick:()=>y(),children:"Choose different files"}),e.jsxs(R,{onClick:I,disabled:d.size===0,children:["Import ",d.size," note",d.size===1?"":"s"]})]})]}),s==="done"&&c&&e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"text-center space-y-2",children:[e.jsx(ue,{className:"w-10 h-10 mx-auto text-primary",strokeWidth:1.8}),e.jsxs("p",{className:"text-base font-extrabold text-foreground",children:["Imported ",c.notesImported," of ",c.filesSelected," file",c.filesSelected===1?"":"s"]})]}),e.jsxs("div",{className:"quest-card p-3 grid grid-cols-2 gap-x-4 gap-y-1.5 text-xs",children:[e.jsx(P,{label:"Files selected",value:c.filesSelected}),e.jsx(P,{label:"Notes created",value:c.notesImported}),e.jsx(P,{label:"Skipped",value:c.skipped}),e.jsx(P,{label:"Warnings",value:c.warnings}),e.jsx(P,{label:"Duplicates renamed",value:c.duplicatesRenamed}),e.jsx(P,{label:"Invalid frontmatter",value:c.invalidFrontmatter}),e.jsx(P,{label:"Atomic IDs generated",value:c.generatedAtomicIds})]}),c.invalidFrontmatter>0&&e.jsxs("div",{className:"quest-card p-3 text-[11px] inline-flex items-start gap-2",style:{color:"hsl(var(--amber))"},children:[e.jsx(ve,{className:"w-3.5 h-3.5 mt-0.5 flex-shrink-0"}),e.jsx("span",{children:"Some files had unreadable frontmatter â those notes were imported with title/body intact."})]}),e.jsxs(q,{className:"pt-2 gap-2",children:[e.jsx(R,{variant:"ghost",onClick:()=>y(),children:"Import more"}),e.jsx(R,{asChild:!0,onClick:()=>j(!1),children:e.jsxs(he,{to:"/notes",className:"inline-flex items-center gap-1",children:["View notes ",e.jsx(fe,{className:"w-3.5 h-3.5"})]})})]})]})]})})}function P({label:t,value:r}){return e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:t}),e.jsx("span",{className:"font-mono font-bold text-foreground",children:r})]})}export{Tt 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.