import{b as n,a as s,e as r,h as a,t as c,l as m,j as f,i as l,H as p,T as d,y as u,z as _}from"./vue-y3KLWBaS.js";import{X as k}from"./MkNotification-CZxoNE6o.js";import{aS as v,n as y}from"./app-JmgyQoR0.js";import"./MkReactionIcon.vue_vue_type_script_setup_true_lang-MnLL2GJr.js";import"./get-note-summary-7eDLQp-L.js";const N=n({__name:"MkNotificationToast",props:{notification:{}},emits:["closed"],setup(T,{emit:h}){const i=v("high");let e=s(!0);return r(()=>{window.setTimeout(()=>{e.value=!1},6e3)}),(t,o)=>(a(),c("div",{class:"mk-notification-toast",style:u({zIndex:_(i)})},[m(d,{name:t.$store.state.animation?"notification-toast":"",appear:"",onAfterLeave:o[0]||(o[0]=w=>t.$emit("closed"))},{default:f(()=>[e.value?(a(),l(k,{key:0,notification:t.notification,class:"notification _acrylic"},null,8,["notification"])):p("",!0)]),_:1},8,["name"])],4))}}),M=y(N,[["__scopeId","data-v-7828a18d"]]);export{M as default};
