import{d as e}from"./vendor-wgE37vvX.js";const i=e("noticeStore",{state:()=>({text:null,background:null}),actions:{addNotice(t){this.text=t.text,this.background=t.background,this.timeout=setTimeout(()=>{this.removeNotice()},this.timeout||4e3)},removeNotice(){this.text=null,this.background=null}},getters:{getNoticeText:t=>t.text,getNoticeBackground:t=>t.background,showNotice:t=>t.text!==null}});export{i as u};