var notification=function(n){"use strict";var i=Object.freeze({info:"info",success:"success",warning:"warning",error:"danger"}),t=null,r=function(r,u,f){t===null&&(t=n("#"+r).kendoNotification({animation:{open:{effects:"slideIn:down"},close:{effects:"slideIn:down",reverse:!0}},allowHideAfter:1e3,autoHideAfter:1e4,button:!0,hideOnClick:!0,position:{top:20,right:40},stacking:"down"}).data("kendoNotification"));switch(f){case i.error:t.error(u);break;case i.info:t.info(u);break;case i.success:t.success(u);break;case i.warning:t.warning(u)}},o=function(n,t){r("notification-container",n,t)},s=function(n,t){r("signin-notification-container",n,t)},h=function(n,t){r("register-notification-container",n,t)},u=function(){n("#notification-container").hide()},f=function(){n("#signin-notification-container").hide()},e=function(){n("#register-notification-container").hide()},c=function(){u();f();e()};return{show:o,showSignin:s,showRegister:h,hide:u,hideSignin:f,hideRegister:e,hideAll:c,notificationType:i}}(jQuery)