!function(){var e,d=((e=document.createElement("div")).className="notify-container",e);function t(e){if(e||console.error('usage: \n notify({ message: "OK", color: "success", timeout: 3000 })')){var t,n,o,i,c,s,a=(t=e.message||"",n=e.color||"default",(o=document.createElement("div")).classList.add("notify-item"),o.classList.add("notify-item--"+n),o.innerHTML=t,o);e.timeout&&(i=a,c=e.timeout,setTimeout(function(){i.remove()},c)),(s=a).addEventListener("click",function(){s.remove()}),d.append(a)}}document.body.append(d),window.notify=t}();