!function(p){"use strict";var t=function(){};t.prototype.send=function(t,i,o,e,n,a,s,r){a||(a=3e3),s||(s=1);var c={heading:t,text:i,position:o,loaderBg:e,icon:n,hideAfter:a,stack:s};r&&(c.showHideTransition=r),console.log(c),p.toast().reset("all"),p.toast(c)},p.NotificationApp=new t,p.NotificationApp.Constructor=t}(window.jQuery),function(i){"use strict";i("#toastr-one").on("click",function(t){i.NotificationApp.send("Heads up!","This alert needs your attention, but it is not super important.","top-right","#3b98b5","info")}),i("#toastr-two").on("click",function(t){i.NotificationApp.send("Missing Data!","Please make sure you fill out all the required fields.","top-right","#da8609","warning")}),i("#toastr-two-warning").on("click",function(t){i.NotificationApp.send("Request Faild!","Please check your connection and try again.","top-right","#da8609","warning", 'false')}),i("#toastr-three").on("click",function(t){i.NotificationApp.send("Well Done!","You successfully read this important alert message","top-right","#5ba035","success")}),i("#toastr-four").on("click",function(t){i.NotificationApp.send("Internal Server Error","The execution of some services failed in some way.","top-right","#bf441d","error", 'false')}),i("#toastr-five").on("click",function(t){i.NotificationApp.send("How to contribute?",["Fork the repository","Improve/extend the functionality","Create a pull request"],"top-right","#1ea69a","info")}),i("#toastr-six").on("click",function(t){i.NotificationApp.send("Can I add <em>icons</em>?","Yes! check this <a href='https://github.com/kamranahmedse/jquery-toast-plugin/commits/master'>update</a>.","top-right","#1ea69a","info",!1)}),i("#toastr-seven").on("click",function(t){i.NotificationApp.send("","Set the `hideAfter` property to false and the toast will become sticky.","top-right","#1ea69a","")}),i("#toastr-eight").on("click",function(t){i.NotificationApp.send("","Set the `showHideTransition` property to fade|plain|slide to achieve different transitions.","top-right","#1ea69a","info",3e3,1,"fade")}),i("#toastr-nine").on("click",function(t){i.NotificationApp.send("Slide transition","Set the `showHideTransition` property to fade|plain|slide to achieve different transitions.","top-right","#1ea69a","info",3e3,1,"slide")}),i("#toastr-ten").on("click",function(t){i.NotificationApp.send("Plain transition","Set the `showHideTransition` property to fade|plain|slide to achieve different transitions.","top-right","#3b98b5","info",3e3,1,"plain")})}(window.jQuery);