You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
70 KiB
2 lines
70 KiB
4 weeks ago
|
System.register(["./jquery-legacy.e37bfb8b.js"],(function(e,t){"use strict";var n,i;return{setters:[e=>{n=e.j,i=e.g}],execute:function(){/*! WebUploader 0.1.6 */var t,r,o,a,s,u,c,l=(t=window,o={},a=function(e,t){var n,i,r;if("string"==typeof e)return c(e);for(n=[],i=e.length,r=0;r<i;r++)n.push(c(e[r]));return t.apply(null,n)},s=function(e,t,n){2===arguments.length&&(n=t,t=null),a(t||[],(function(){u(e,n,arguments)}))},u=function(e,t,n){var i,r={exports:t};"function"==typeof t&&(n.length||(n=[a,r.exports,r]),void 0!==(i=t.apply(null,n))&&(r.exports=i)),o[e]=r.exports},c=function(e){var n=o[e]||t[e];if(!n)throw new Error("`"+e+"` is undefined");return n},r=n,t.__dollar=r,function(e){var t,n,i,r,a,s;for(t in s=function(e){return e&&e.charAt(0).toUpperCase()+e.substr(1)},o)if(n=e,o.hasOwnProperty(t)){for(a=s((i=t.split("/")).pop());r=s(i.shift());)n[r]=n[r]||{},n=n[r];n[a]=o[t]}return e}(function(e,t,n){return t("dollar-third",[],(function(){var t=e.require,n=e.__dollar||e.jQuery||e.Zepto||t("jquery")||t("zepto");if(!n)throw new Error("jQuery or Zepto not found!");return n})),t("dollar",["dollar-third"],(function(e){return e})),t("promise-third",["dollar"],(function(e){return{Deferred:e.Deferred,when:e.when,isPromise:function(e){return e&&"function"==typeof e.then}}})),t("promise",["promise-third"],(function(e){return e})),t("base",["dollar","promise"],(function(t,n){var i,r,o,a,s,u,c,l,f,h=function(){},d=Function.call;function p(e){return function(){return d.apply(e,arguments)}}function g(e,t){return function(){return e.apply(t,arguments)}}function m(e){var t;return Object.create?Object.create(e):((t=function(){}).prototype=e,new t)}return{version:"0.1.6",$:t,Deferred:n.Deferred,isPromise:n.isPromise,when:n.when,browser:(r=navigator.userAgent,o={},a=r.match(/WebKit\/([\d.]+)/),s=r.match(/Chrome\/([\d.]+)/)||r.match(/CriOS\/([\d.]+)/),u=r.match(/MSIE\s([\d\.]+)/)||r.match(/(?:trident)(?:.*rv:([\w.]+))?/i),c=r.match(/Firefox\/([\d.]+)/),l=r.match(/Safari\/([\d.]+)/),f=r.match(/OPR\/([\d.]+)/),a&&(o.webkit=parseFloat(a[1])),s&&(o.chrome=parseFloat(s[1])),u&&(o.ie=parseFloat(u[1])),c&&(o.firefox=parseFloat(c[1])),l&&(o.safari=parseFloat(l[1])),f&&(o.opera=parseFloat(f[1])),o),os:function(e){var t={},n=e.match(/(?:Android);?[\s\/]+([\d.]+)?/),i=e.match(/(?:iPad|iPod|iPhone).*OS\s([\d_]+)/);return n&&(t.android=parseFloat(n[1])),i&&(t.ios=parseFloat(i[1].replace(/_/g,"."))),t}(navigator.userAgent),inherits:function(e,n,i){var r;return"function"==typeof n?(r=n,n=null):r=n&&n.hasOwnProperty("constructor")?n.constructor:function(){return e.apply(this,arguments)},t.extend(!0,r,e,i||{}),r.__super__=e.prototype,r.prototype=m(e.prototype),n&&t.extend(!0,r.prototype,n),r},noop:h,bindFn:g,log:e.console?g(console.log,console):h,nextTick:function(e){setTimeout(e,1)},slice:p([].slice),guid:(i=0,function(e){for(var t=(+new Date).toString(32),n=0;n<5;n++)t+=Math.floor(65535*Math.random()).toString(32);return(e||"wu_")+t+(i++).toString(32)}),formatSize:function(e,t,n){var i;for(n=n||["B","K","M","G","TB"];(i=n.shift())&&e>1024;)e/=1024;return("B"===i?e:e.toFixed(t||2))+i}}})),t("mediator",["base"],(function(e){var t,n=e.$,i=[].slice,r=/\s+/;function o(e,t,i,r){return n.grep(e,(function(e){return e&&(!t||e.e===t)&&(!i||e.cb===i||e.cb._cb===i)&&(!r||e.ctx===r)}))}function a(e,t,i){n.each((e||"").split(r),(function(e,n){i(n,t)}))}function s(e,t){for(var n,i=!1,r=-1,o=e.length;++r<o;)if(!1===(n=e[r]).cb.apply(n.ctx2,t)){i=!0;break}return!i}return t={on:function(e,t,n){var i,r=this;return t?(i=this._events||(this._events=[]),a(e,t,(function(e,t){var o={e:e};o.cb=t,o.ctx=n,o.ctx2=n||r,o.id=i.length,i.push(o)})),this):this},once:function(e,t,n){var i=this;return t?(a(e,t,(function(e,t){var r=function(){return i.off(e,r),t.apply(n||i,arguments)};r._cb=t,i.on(e,r,n)})),i):i},off:function(e,t,i){var r=this._events;return r?e||t||i?(a(e,t,(function(e,t){n.each(o(r,e,t,i),(function(){delete r[this.id]}))})),this):(this._events=[],this):this},trigger:function(e){var t,n,r;return this._events&&e?(t=i.call(arguments,1),n=o(this._events,e),r=o(this._events,"a
|