diff --git a/public/js/bootbox.min.js b/public/js/bootbox.min.js new file mode 100644 index 00000000..61556788 --- /dev/null +++ b/public/js/bootbox.min.js @@ -0,0 +1,8 @@ +/** + * bootbox.js v4.4.0 (modified by AppleBetas) + * + * http://bootboxjs.com/license.txt + * Modified fork: https://github.com/AppleBetas/bootbox + */ + +!function(t,e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?"undefined"==typeof $?module.exports=e(require("jquery")):module.exports=e($):t.bootbox=e(t.jQuery)}(this,function t(e,o){"use strict";function a(t){var e=m[f.locale];return e?e[t]:m.en[t]}function n(t,o,a){t.stopPropagation(),t.preventDefault(),e.isFunction(a)&&!1===a.call(o,t)||o.modal("hide")}function r(t){if(Object.keys)return Object.keys(t).length;var e,o=0;for(e in t)o++;return o}function l(t,o){var a=0;e.each(t,function(t,e){o(t,e,a++)})}function i(t){var o,a;if("object"!=typeof t)throw new Error("Please supply an object of options");if(!t.message)throw new Error("Please specify a message");return(t=e.extend({},f,t)).buttons||(t.buttons={}),o=t.buttons,a=r(o),l(o,function(t,n,r){var l=r===a-1;if(e.isFunction(n)&&(n=o[t]={callback:n}),"object"!==e.type(n))throw new Error("button with key "+t+" must be an object");n.label||(n.label=t),n.className||(n.className=a<=2&&l?"btn-primary":"btn-default")}),t}function c(t,e){var o=t.length,a={};if(o<1||o>2)throw new Error("Invalid argument length");return 2===o||"string"==typeof t[0]?(a[e[0]]=t[0],a[e[1]]=t[1]):a=t[0],a}function s(t,o,a){return e.extend(!0,{},t,c(o,a))}function u(t,e,o,a){return b(s({className:"bootbox-"+t,buttons:p.apply(null,e)},a,o),e)}function p(){for(var t={},e=0,o=arguments.length;e