1import{r as o,j as t}from"./index-DB1uCt0m.js";import{P as u,m as f,y as m}from"./index-CIpd-Oln.js";import{u as x}from"./useTranslation-D9fYHQVN.js";const d=e=>{const{t:s}=x();switch(e){case"error":return s("error.title");case"success":return s("success.title");default:return s("info.title")}};function T({type:e,title:s,...n}){const[a,r]=o.useState(!0),c=d(e??"info"),i=4e3;if(o.useEffect(()=>{if(e==="success"){const l=setTimeout(()=>r(!1),i);return()=>clearTimeout(l)}},[e,i,r]),!!a)return t.jsx(u,{role:"alert",variant:e,children:t.jsx("div",{className:"flex flex-row",children:t.jsxs(f,{children:[t.jsx(m,{children:s??c})," ",n.children]})})})}export{T as A};
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.