gophish/static/js/dist/vendor.min.js

1 line
934 KiB
JavaScript
Raw Normal View History

if(function(p,_){function e(t,e){return e.toUpperCase()}function i(t){(g.addEventListener||"load"===t.type||"complete"===g.readyState)&&(L(),xt.ready())}var r,n,v=typeof _,t=p.location,g=p.document,o=g.documentElement,a=p.jQuery,s=p.$,l={},h=[],u="1.10.2",m=h.concat,c=h.push,d=h.slice,f=h.indexOf,y=l.toString,b=l.hasOwnProperty,x=u.trim,xt=function(t,e){return new xt.fn.init(t,e,n)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,C=/\S+/g,S=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,M=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,T=/^[\],:{}\s]*$/,D=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,P=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,E=/^-ms-/,O=/-([\da-z])/gi,L=function(){g.addEventListener?(g.removeEventListener("DOMContentLoaded",i,!1),p.removeEventListener("load",i,!1)):(g.detachEvent("onreadystatechange",i),p.detachEvent("onload",i))};function I(t){var e=t.length,n=xt.type(t);return!xt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||"function"!==n&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}xt.fn=xt.prototype={jquery:u,constructor:xt,init:function(t,e,n){var i,r;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):xt.isFunction(t)?n.ready(t):(t.selector!==_&&(this.selector=t.selector,this.context=t.context),xt.makeArray(t,this));if(!(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:k.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof xt?e[0]:e,xt.merge(this,xt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),M.test(i[1])&&xt.isPlainObject(e))for(i in e)xt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((r=g.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=g,this.selector=t,this},selector:"",length:0,toArray:function(){return d.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=xt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return xt.each(this,t,e)},ready:function(t){return xt.ready.promise().done(t),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},map:function(n){return this.pushStack(xt.map(this,function(t,e){return n.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:c,sort:[].sort,splice:[].splice},xt.fn.init.prototype=xt.fn,xt.extend=xt.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[1]||{},s=2),"object"==typeof a||xt.isFunction(a)||(a={}),l===s&&(a=this,--s);s<l;s++)if(null!=(r=arguments[s]))for(i in r)t=a[i],a!==(n=r[i])&&(u&&n&&(xt.isPlainObject(n)||(e=xt.isArray(n)))?(o=e?(e=!1,t&&xt.isArray(t)?t:[]):t&&xt.isPlainObject(t)?t:{},a[i]=xt.extend(u,o,n)):n!==_&&(a[i]=n));return a},xt.extend({expando:"jQuery"+(u+Math.random()).replace(/\D/g,""),noConflict:function(t){return p.$===xt&&(p.$=s),t&&p.jQuery===xt&&(p.jQuery=a),xt},isReady:!1,readyWait:1,holdReady:function(t){t?xt.readyWait++:xt.ready(!0)},ready:function(t){if(!0===t?!--xt.readyWait:!xt.isReady){if(!g.body)return setTimeout(xt.ready);(xt.isReady=!0)!==t&&0<--xt.readyWait||(r.resolveWith(g,[xt]),xt.fn.trigger&&xt(g).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===xt.type(t)},isArray:Array.isArray||function(t){return"array"===xt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[y.call(t)]||"object":typeof t},isPlainObject:function(t){var e;if(!t||"object"!==xt.type(t)||t.nodeType||xt.isWindow(t))return!1;try{if(t.constructor&&!b.call(t,"constructor")&&!b.call(t.constructor.prototype