-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdist.js
1 lines (1 loc) · 9.13 KB
/
dist.js
1
!function(n){function t(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var e={};t.m=n,t.c=e,t.i=function(n){return n},t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var e=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=7)}([function(n,t,e){"use strict";var r=function i(n){return new i.fn.init(n)};r.fn=r.prototype={init:function(n){return this}},r.version="1.6.10",r.fn.init.prototype=r.fn,r.w="undefined"!=typeof window,r.d="undefined"!=typeof document,r.b=r.w&&r.d,function(n){if(n.d){n.base="",n.baseSrc="",n.baseScript=null;for(var t=document.getElementsByTagName("script"),e=0;e<t.length;e++){var r=t[e],i=r.src;if(""==r.getAttribute("sun")&&(n.baseScript=r),i){var o=i.match(/\.?sun\.[\s\S]*?\.?js(?:\?[\s\S]+?)?$/i),u=i.lastIndexOf("/");if(o){-1!=u&&(n.base=i.substring(0,u+1),n.baseSrc=i,n.baseScript=r);break}}}}}(r),function(n){if(n.baseScript){var t=window["sun"],e=window["_"];n.noConflict=function(r){return window["_"]===n&&(window["_"]=e),r&&window["sun"]===n&&(window["sun"]=t),n},e||(window["_"]=n),window["sun"]=n}}(r),n.exports=r},function(n,t,e){"use strict";var r=e(2);!function(n){n.mix=function(t,e,r){function i(t){if(n.isFunction(t)&&n.isFunction(t.clone)&&0==t.clone.length)try{return t.clone()}catch(e){return t}return t}function o(t,e,r){t===r||e==undefined||isNaN(e)&&-1!==n.mix.skipKeys.indexOf(e)||(r[e]=p(r[e],t))}var u=n.type,c=n.isArray(t)&&1==t.length;c&&(t=t[0]);var a=1==t||0==t||null==t;if(2==arguments.length)return n.mix(!0,t,e);if(1==arguments.length)return n.mix(!0,n,t);if(arguments.length>=3&&!a)return n.mix.apply(n.mix,[!0].concat([].slice.call(arguments,0)));var f=t+"",s=/^(true|false|null)$/.test(f),l=/^(object|array)$/,p=function(e,r){var a=0,f=u(e);f="function"==f?"object":f;var p=u(r),d=l.test(p);if(e===r&&(a=1),a||p==f&&d||(1==t||null==t&&null!=r)&&(e=null,f="null"),a||null!=e&&(!c||s||!n.isEmptyArray(e)&&!n.isEmptyObject(e))||(s&&d?(e="object"==p?{}:[],f=p):(0==t&&e!==undefined||null==t&&r===undefined||(e=i(r)),a=1)),!a&&"array"==p&&c&&r.length<e.length&&(e=e.slice(0,r.length)),!a&&s&&"array"==p&&(r=r.slice(0)),!a)for(var m in r)try{o(r[m],m,e)}catch(v){continue}return e};if(e=p(e,r),arguments.length>3)for(var d=3;d<arguments.length;d++)e=p(e,arguments[d]);return e},n.mix.skipKeys=[]}(r),n.exports=r},function(n,t,e){"use strict";var r=e(8);!function(n){n.isEmptyObject=function(t){if(!n.isPlainObject(t))return!1;var e;for(e in t)return!1;return!0},n.isEmptyArray=function(t){return n.isArray(t)&&0==t.length},n.isFunction=function(t){return n.test(t,"function")},n.isPlainObject=function(t){return n.test(t,"object")},n.isArray=function(t){return n.test(t,"array")}}(r),n.exports=r},function(n,t,e){"use strict";var r=e(2);r.await=function(n){var t=function(n){return n&&r.isFunction(n.then)};n=n||function(){};var e;return e=function(){var e=this,r=[].slice.call(arguments,0);return new Promise(function(i,o){var u;(u=function(n){try{t(n)?n.then(u,o):i(n)}catch(e){o(e)}})(n.apply(e,r))})},e.__base=n,e.clone=function(){return n.clone&&n.clone(),r.await.call(null,n)},e.base=function(){var t=n;return n.base&&r.isFunction(n.base)&&(t=n.base()),t},e},Function.prototype.await=function(){var n=this;return r.await(n)}},function(n,t,e){"use strict";var r=e(0);!function(n){n.listen=function(t){var e;return e={pool:{},_init:function(t){return n.isArray(e.pool[t])||(e.pool[t]=[]),e.pool[t]},on:function(n,t){e._init(n).push(t)},remove:function(n){try{delete e.pool[n]}catch(t){e.pool[n]=undefined}},one:function(n,t){e.remove(n),e.on(n,t)},once:function(n,t){var r=function i(){var r,o=this,u=[].slice.call(arguments,0);try{r=t.apply(o,u)}catch(f){}var c=e._init(n),a=c.indexOf(i);return-1!==a&&c.splice(a,1),r};e.on(n,r)},fire:function(n){for(var r,i=t,o=[].slice.call(arguments,1),u=e._init(n),c=0;c<u.length;c++){var a=u[c];if(a)try{r=a.apply(i,o)}catch(f){}}return r}},{on:e.on,one:e.one,once:e.once,fire:e.fire,remove:e.remove,emit:e.fire,off:e.remove}},n.Listen=function(t,e){e=e!==undefined&&!!e;var r=n.listen(t);if(e)for(var i in r)t[i]=r[i];else t.on=r.on,t.fire=t.emit=r.fire;return t}}(r),n.exports=r},function(n,t,e){"use strict";var r=e(1);r.until=function(n,t,e,i,o){n=n||function(){};var u={when:!0,retry:10,max:-1,timeout:Number.MAX_VALUE};r.isPlainObject(t)&&(e=t.retry,i=t.max,o=t.timeout,t=t.when);var c,a=r.mix(null,u,{when:t,retry:e,max:i,timeout:o});return c=function(){var t=this,e=[].slice.call(arguments,0);return new Promise(function(i,o){if(c._times>=a.max&&-1!=a.max)return o(new Error("times limited")),t;c._time=new Date,c.clear();return function u(){var f=r.test(a.when,"boolean")?a.when:a.when.apply(t,e);try{if(f)c._times=c._times+1,i(n.apply(t,e));else{if(new Date-c._time>a.timeout)throw new Error("timeout");c._timeout=setTimeout(function(){u()},a.retry)}}catch(s){o(s)}}(),t})},c._times=0,c._time=new Date,c._timeout=0,c.__base=n,c.__config=a,c.clear=function(){clearTimeout(c._timeout)},c.base=function(){var t=n;return n.base&&r.isFunction(n.base)&&(t=n.base()),t},c.clone=function(){var u=n;return n.clone&&(u=n.clone()),r.until.call(null,u,t,e,i,o)},c},Function.prototype.until=function(n,t,e,i){var o=this,u=[o].concat([].slice.call(arguments,0));return r.until.apply(o,u)},n.exports=r},function(n,t){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(r){"object"==typeof window&&(e=window)}n.exports=e},function(n,t,e){"use strict";(function(t){var r=e(0);e(1),e(5),e(3),e(4),function(n){function e(){var t=arguments[0];return n.isFunction(t)?e.deco(t):n.isPlainObject(t)&&t||t.render?e.init(t):n.test(t,"string")?(t=t||"",-1!=t.indexOf(".")?e.eval.apply(null,[].slice.call(arguments,0)):e.get(t)):void 0}var r,i=function(){},o="undefined"==typeof console?{error:i,log:i}:console,u="__emfgpid__",c=function(){return Number(Number(Math.random().toString().replace("0.","").substr(0,9)))};t[u]||(r=t[u]=c());var a,f=function(t,e){t+="",e=e||u+n.version+r,e+="";for(var i="",o=0;o<t.length;o++){for(var c=0;c<e.length;c++)var a=e.charCodeAt(c),f=t.charCodeAt(o)^a;i+=String.fromCharCode(f)}return i},s=function(n){return e.isChunk?n:f(encodeURIComponent([].slice.call(n+"").reverse().join("")))}(17*r).toLowerCase(),l="__done__",p=f("__init__",17),d=f("__dispose__",17),m={};a=n.b?document.documentElement:t["__reacte__"]=t["__reacte__"]||{},a[s]=a[s]||{},n.isFunction(a[s].on)||n.Listen(a[s],1),a[s].on(p,function(n){m[n.id]=n});var v=function(n,t){try{delete n[t]}catch(e){n[t]=undefined}};a[s].on(d,function(n){v(m,n.id)});var h=function(n){n=n||"";var t={done:!1,method:i},e=n.split("."),r=e[0];if(m[r]&&m[r][l]){t.done=!0;var o=e[1],u=[].slice.call(arguments,1);t.method=function(){return m[r][o].apply(m[r],u)}}return t},_=function(t,e){if(!t["__inited__"]||t.props!==e){var r={state:{}};e=e||t.props||{},t.state=t.state||{};for(var i in e)i in t?n.isFunction(t[i])?r[i]=e[i].bind(t):r[i]=e[i]:i in t.state&&(r.state[i]=e[i]);n.mix([1],t,r)}},y=function(){return{componentDidMount:function(){this[l]=1},shouldComponentUpdate:function(n,t){return this[l]=0,_(this,n),!0},forceUpdate:function(n){this[l]=0},componentDidUpdate:function(n,t){this[l]=1},componentWillUnmount:function(){a[s].fire(d,this)}}};e.deco=function(n){var t;t=function(){var t=this,r=[].slice.call(arguments,0),i=n.apply(t,r);return e.init(t),i},t.prototype=n.prototype;for(var r in n)t[r]=n[r];return t.__orgMethod||(t.__orgMethod=n,t["displayName"]=n.displayName||n.name),t};var w=function(n,t,e){var r=n[t];n[t]&&n[t].__orgMethod&&(r=n[t].__orgMethod);var i=function(){var i,o,u=[].slice.call(arguments,0),c=function(){return r?r.apply(n,u):undefined},a=function(){return e[t].apply(n,u)};return"componentWillUnmount"===t?(o=c(),i=a()):(i=a(),o=c()),o=o===undefined?i:o,!1===o&&"shouldComponentUpdate"==t&&(n[l]=1),o};i.__orgMethod=r,n[t]=i};e.init=function(n){if(n["__inited__"])return void o.error(n.id+":inited");var t=n.props||{},e=y();_(n,t),n.id=n.id||t.id||c(),n[l]=0,n["displayName"]=n.constructor.displayName||n.constructor.name;for(var r in e)w(n,r,e);a[s].fire(p,n),n["__inited__"]=1};var b=function(n){var t=h(n);return t.method=i,t.done},g=function(n){return h.apply(null,[].slice.call(arguments,0)).method()},x=g.until({when:b,retry:35,timeout:3e3}).await();e.eval=function(n){var t=0,e=this,r=[].slice.call(arguments,0),i=new Promise(function(n,i){t=setTimeout(function(){x.apply(e,r).then(n,i)},0)}),u=function(){if(clearTimeout(t),b(n))return g.apply(e,r);o.error(n+" access denied")};return u.then=function(n,t){return i.then(n,t)},u["catch"]=function(n){return i["catch"](n)},u},e.get=function(n){return m[n]},e.chunk=function(n){n=n||{};var r=a[s];return v(a,s),v(t,u),s in n||(n[s]=r),a=n,e.isChunk=1,e},e.isChunk=0,n.ref=n.react=e,n.refs=m,n.listener=a[s]}(r),n.exports=r}).call(t,e(6))},function(n,t,e){"use strict";var r=e(0);!function(n){n.test=function(t,e){return e==undefined?t!=undefined:n.type(t)==e},n.type=function(n){if(n===undefined)return"undefined";if(null===n)return"null";if(n.jquery!==undefined)return"jquery";var t=Object.prototype.toString.call(n);return t.substring(8,t.length-1).toLowerCase()}}(r),n.exports=r}]);