1import{s as v,f as w,H as g,I as k,o as l,g as i,l as s,p as x,n as B,u as o,K as C,O as _}from"./vendor.js";import{u}from"./index.js";const M={class:"l"},I={__name:"alert",setup(N){const{alert:e}=v(u()),{onAlert:n,onModal:c}=u();let a="";const d=w(()=>e.value.status_code==200||e.value.status_code==201?"success":"fail");function p(){a||(a=setInterval(function(){new Date().getTime()-e.value.timestamp>=3e3&&n()},5e3))}function f(){clearInterval(a),a=""}return g(()=>{p()}),k(()=>{f()}),(m,t)=>(l(),i("div",{onClick:t[2]||(t[2]=r=>o(n)()),class:_(["alert",d.value]),style:{"z-index":"51"}},[s("div",M,[x(B(o(e).message)+" ",1),o(e).status_code===422?(l(),i("span",{key:0,onClick:t[0]||(t[0]=r=>o(c)({src:"deposit",status:1,stack:0})),class:"text-blue-500 cursor-pointer"},"Deposit Now")):C("",!0)]),s("div",{onClick:t[1]||(t[1]=r=>o(n)()),class:"r"},t[3]||(t[3]=[s("svg",{width:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12Z"}),s("path",{fill:"none",d:"M0 0h24v24H0Z"})],-1)]))],2))}};export{I 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.