1class modAlertifySimple{constructor(e){return this.config=e||{},this}show(e,t,o,i){return!!t&&(this.reset(o),alert(t),"function"==typeof i&&i(),!0)}success(e,t,o){this.show("success",e,t,o)}error(e,t,o){this.show("error",e,t,o)}info(e,t,o){this.show("info",e,t,o)}reset(e){return!0}removeAll(){return!0}getScript(e,t){var o=document.createElement("script"),i=document.getElementsByTagName("script")[0];return o.async=1,o.onload=o.onreadystatechange=function(e,i){if((i||!o.readyState||/loaded|complete/.test(o.readyState))&&(o.onload=o.onreadystatechange=null,o=void 0,!i&&"function"==typeof t))return t()},o.src=e,i.parentNode.insertBefore(o,i),!0}}class modAlertifyJS extends modAlertifySimple{constructor(e){return super(),this.config=e||{},"undefined"==typeof alertify?(console.error("alertify js not found"),new modAlertifySimple(e)):this}show(e,t,o,i){if(!t)return!1;switch(this.reset(o),e){case"success":var s=alertify.success(t);break;case"error":s=alertify.error(t);break;case"info":s=alertify.log(t);break;default:return!1}"function"==typeof i&&(s.callback=i)}reset(e){var t=this.config.options||{},o=(e=e||{},Object.assign({},t,e));for(var i in o)o.hasOwnProperty(i)&&alertify.set("notifier",i,o[i]);return!0}removeAll(){alertify.dismissAll()}}class modOverhang extends modAlertifySimple{constructor(e){return super(),this.config=e||{},$.fn.overhang?(this.initialize(),this):(console.error("overhang js not found"),new modAlertifySimple(e))}initialize(){return!!$.ui||this.loadJQUI(this.initialize)}loadJQUI(e){return $.getScript(this.config.jsUrl+"web/lib/jquery-ui.min.js",(function(){"function"==typeof e&&e()}))}show(e,t,o,i){if(!t)return!1;switch(e){case"success":case"error":case"info":case"warn":case"prompt":case"confirm":break;default:return!1}var s=this.config.options||{},r=(o=o||{},{type:e,message:t,callback:i});"function"==typeof i&&(r.callback=i);r=Object.assign({},s,o,r);$("body").overhang(r)}}class modNoty extends modAlertifySimple{constructor(e){return super(),this.config=e||{},"undefined"==typeof Noty?(console.error("noty js not found"),new modAlertifySimple(e)):this}show(e,t,o,i){if(!t)return!1;switch(e){case"alert":case"success":case"warning":case"error":case"info":case"information":break;default:return!1}o=o||{};var s={type:e,text:t};"function"==typeof i&&(s.callback.onShow=i);s=Object.assign({},o,s);new Noty(s).show()}reset(e){var t=this.config.options||{};Noty.overrideDefaults(t)}removeAll(){Noty.closeAll()}}class modBootstrapNotify extends modAlertifySimple{constructor(e){return super(),this.config=e||{},$.notify?this:(console.error("notify js not found"),new modAlertifySimple(e))}show(e,t,o,i){if(!t)return!1;switch(e){case"info":case"success":case"warning":case"danger":break;case"error":e="danger";break;default:return!1}o=o||{};var s={type:e};"function"==typeof i&&(s.callback.onShown=i);s=Object.assign({},o,s);$.notify({message:t},s)}reset(e){var t=this.config.options||{};return $.notifyDefaults(t),!0}removeAll(){$.notifyClose()}}class modToastr extends modAlertifySimple{constructor(e){return super(),this.config=e||{},"undefined"==typeof toastr?(console.error("toastr not found"),new modAlertifySimple(e)):this}show(e,t,o,i){if(!t)return!1;switch(e){case"success":case"error":case"warning":case"info":break;default:return!1}o=o||{},"function"==typeof i&&(o.onShown=i),toastr[e](t,"",o)}reset(e){var t=this.config.options||{};for(var o in t)t.hasOwnProperty(o)&&(toastr.options[o]=t[o]);return!0}removeAll(){toastr.clear()}}(function(window,document,$){var modAlertify=modAlertify||{};modAlertify.initialized=!1,modAlertify.initialize=function(element,config){return!!this.initialized||!!element&&(this.config=config||{},this.Message=new(eval(element))(this.config),this.Message instanceof modAlertifySimple&&(this.Message.reset(),this.miniShop2(),this.Office(),this.AjaxForm(),this.initialized=!0,!0))},modAlertify.miniShop2=function(){this.miniShop2&&"undefined"!=typeof miniShop2&&(miniShop2.Message={initialize:function(){miniShop2.Message.close=modAlertify.Message.removeAll,miniShop2.Message.show=function(e,t){""!=e&&modAlertify.Message.info(e,t)}},success:function(e){modAlertify.Message.success(e)},error:function(e){modAlertify.Message.error(e)},info:function(e){modAlertify.Message.info(e)}},miniShop2.Message.initialize())},modAlertify.Office=function(){this.Office&&"undefined"!=typeof Office&&(Office.Message={success:function(e,t){modAlertify.Message.success(e)},error:function(e,t){modAlertify.Message.error(e)},info:function(e,t){modAlertify.Message.info(e)},close:function(){modAlertify.Message.removeAll()}})},modAlertify.AjaxForm=function(){this.AjaxForm&&"undefined"!=typeof AjaxForm&&(AjaxForm.Message={success:function(e,t){modAlertify.Message.success(e)},error:function(e,t){modAlertify.Message.error(e)},info:function(e,t){modAlertify.Message.info(e)},close:function(){}})},window.modAlertify=modAlertify})(window,document,jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.