1import{r as x,j as e,A as m,m as i,C as u}from"./app-CGhF_fXx.js";import{C as c}from"./circle-check-big-CxMRuXCr.js";import{C as d}from"./circle-alert-DOKmWVgq.js";/* empty css */const h=({isOpen:t,onClose:s,title:n,message:r,type:l="success"})=>{x.useEffect(()=>{if(t){const a=setTimeout(()=>{s()},2500);return()=>clearTimeout(a)}},[t,s]);const o=()=>{switch(l){case"success":return e.jsx(c,{size:64,className:"text-green-500"});case"error":return e.jsx(u,{size:64,className:"text-red-500"});case"warning":return e.jsx(d,{size:64,className:"text-yellow-500"});default:return e.jsx(c,{size:64,className:"text-green-500"})}};return e.jsx(m,{children:t&&e.jsx(i.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-[9999]",onClick:s,children:e.jsxs(i.div,{initial:{scale:0},animate:{scale:[0,1.1,1]},exit:{scale:0},transition:{duration:.3,times:[0,.7,1]},className:"bg-white rounded-2xl p-8 mx-8 max-w-sm w-full shadow-2xl",onClick:a=>a.stopPropagation(),children:[e.jsx(i.div,{initial:{scale:0},animate:{scale:[0,1.2,1]},transition:{delay:.15,duration:.5,times:[0,.6,1]},className:"flex justify-center mb-4",children:o()}),e.jsx("h3",{className:"text-xl font-pbold text-gray-900 text-center mb-2",children:n}),r&&e.jsx("p",{className:"text-base font-pregular text-gray-600 text-center",children:r})]})})})};export{h 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.