1import{jt as e}from"./C_r0rZgO.js";import{N as t}from"./B4ZbILjs.js";import{c as n,l as r,o as i,s as a}from"./Bzg12zxO.js";function o(e){return t(()=>{let{class:t,style:n}=u(e);return{colorClasses:t,colorStyles:n}})}function s(t){let{colorClasses:n,colorStyles:r}=o(()=>({text:e(t)}));return{textColorClasses:n,textColorStyles:r}}function c(t){let{colorClasses:n,colorStyles:r}=o(()=>({background:e(t)}));return{backgroundColorClasses:n,backgroundColorStyles:r}}function l(e){return{text:typeof e.text==`string`?e.text.replace(/^text-/,``):e.text,background:typeof e.background==`string`?e.background.replace(/^bg-/,``):e.background}}function u(t){let o=l(e(t)),s=[],c={};if(o.background)if(a(o.background)){if(c.backgroundColor=o.background,!o.text&&n(o.background)){let e=r(o.background);if(e.a==null||e.a===1){let t=i(e);c.color=t,c.caretColor=t}}}else s.push(`bg-${o.background}`);return o.text&&(a(o.text)?(c.color=o.text,c.caretColor=o.text):s.push(`text-${o.text}`)),{class:s,style:c}}export{o as n,s as r,c as t};
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.