import{j as r}from"./jsx-runtime.D_zvdyIk.js";import{u as e}from"./useIsDarkTheme.XmYYRdM3.js";import{I as o}from"./iconify.pctX9hd_.js";import{T as a}from"./index.D6gWSuiN.js";import"./index.BIRwh3HZ.js";import"./_commonjsHelpers.CqkleIqs.js";import"./index.Ky-LTxRX.js";import"./index.CHUzDkS6.js";function d({...i}){const s=e();return r.jsx(a,{theme:s?"dark":"light",className:"toaster group",position:"bottom-right",gap:12,icons:{success:r.jsx(o,{icon:"ri:checkbox-circle-line",className:"size-4"}),info:r.jsx(o,{icon:"ri:information-line",className:"size-4"}),warning:r.jsx(o,{icon:"ri:alert-line",className:"size-4"}),error:r.jsx(o,{icon:"ri:error-warning-line",className:"size-4"}),loading:r.jsx(o,{icon:"ri:loader-4-line",className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},...i})}export{d as Toaster};
