123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(c,p,m){if(m.get||m.set)throw new TypeError("ES3 does not support getters and setters.");c!=Array.prototype&&c!=Object.prototype&&(c[p]=m.value)};$jscomp.getGlobal=function(c){return"undefined"!=typeof window&&window===c?c:"undefined"!=typeof global?global:c};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";
- $jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(c){return $jscomp.SYMBOL_PREFIX+(c||"")+$jscomp.symbolCounter_++};
- $jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var c=$jscomp.global.Symbol.iterator;c||(c=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[c]&&$jscomp.defineProperty(Array.prototype,c,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(c){var p=0;return $jscomp.iteratorPrototype(function(){return p<c.length?{done:!1,value:c[p++]}:{done:!0}})};
- $jscomp.iteratorPrototype=function(c){$jscomp.initSymbolIterator();c={next:c};c[$jscomp.global.Symbol.iterator]=function(){return this};return c};$jscomp.array=$jscomp.array||{};$jscomp.iteratorFromArray=function(c,p){$jscomp.initSymbolIterator();c instanceof String&&(c+="");var m=0,h={next:function(){if(m<c.length){var y=m++;return{value:p(y,c[y]),done:!1}}h.next=function(){return{done:!0,value:void 0}};return h.next()}};h[Symbol.iterator]=function(){return h};return h};
- $jscomp.polyfill=function(c,p,m,h){if(p){m=$jscomp.global;c=c.split(".");for(h=0;h<c.length-1;h++){var y=c[h];y in m||(m[y]={});m=m[y]}c=c[c.length-1];h=m[c];p=p(h);p!=h&&null!=p&&$jscomp.defineProperty(m,c,{configurable:!0,writable:!0,value:p})}};$jscomp.polyfill("Array.prototype.values",function(c){return c?c:function(){return $jscomp.iteratorFromArray(this,function(c,m){return m})}},"es6","es3");
- $jscomp.polyfill("Array.prototype.keys",function(c){return c?c:function(){return $jscomp.iteratorFromArray(this,function(c){return c})}},"es6-impl","es3");
- (function(c,p){c.Thenjs=p()})(this,function(){function c(f,d){var k=f.length,c=Array(k);for(d=d||0;k-- >d;)c[k-d]=f[k];return c}function p(f,d){try{d.apply(null,c(arguments,2))}catch(k){f(k)}}function m(f,d){var k=c(arguments,2);B(function(){try{d.apply(null,k)}catch(q){f(q)}})}function h(f,d){var k;if(f instanceof h)return f;if(!(this instanceof h))return new h(f,d);this._finally=this._error=this._fail=this._result=this._nextThen=this._chain=this._success=this._each=this._eachSeries=this._parallel=
- this._series=null;if(!arguments.length)return this;k=C(this,d);try{"function"===typeof f?f(k):null==f?k():"function"===typeof f.toThunk?f.toThunk()(k):"function"===typeof f.then?f.then(function(d){k(null,d)},k):k(null,f)}catch(q){k(q)}}function y(f){var d=this,k=arguments;if(!1!==d._result){!d._result&&d._chain&&d.debug.apply(d,["\nChain "+d._chain+": "].concat(c(k)));d._result=!1;try{J(d,k,f)}catch(q){B(function(){var k=q,c=d,l=d._error||d._fail;d._nextThen&&null==f&&(l=null,c=d._nextThen);for(;!l&&
- c;)l=c._fail,c=c._nextThen;if(l)l(k);else if(h.onerror)h.onerror(k);else c._result=[k]})}}}function J(f,d,k){if(f._finally)return f._finally.apply(null,d);if(null!=k)throw k;if(k=f._success||f._each||f._eachSeries||f._parallel||f._series)return k.apply(null,c(d,1));f._result=d}function C(f,d){function k(){return y.apply(f,arguments)}k._isCont=!0;d&&(r.debug="function"===typeof d?d:K,f._chain=1);return k}function u(f,d,k){var c=new h;k=C(c,k);f(k,d);if(!d)return c;d._nextThen=c;d._chain&&(c._chain=
- d._chain+1);d._result&&B(function(){y.apply(d,d._result)});return c}function D(f,d){return d._isCont?d:function(){d.apply(null,[f].concat(c(arguments)))}}function F(f,d,k,c){function q(q,l){if(!k.finished){if(null!=q)return k.finished=!0,f(q);d[c]=l;return 0>--k.i&&f(null,d)}}q._isCont=!0;return q}function z(f,d,k){var c,h=[],m={};if(!E(d))return f(n(d,"each"));m.i=c=d.length-1;if(0>c)return f(null,h);for(var l=0;l<=c;l++)k(F(f,h,m,l),d[l],l,d)}function G(f,d){var c,q=[],h={};if(!E(d))return f(n(d,
- "parallel"));h.i=c=d.length-1;if(0>c)return f(null,q);for(var m=0;m<=c;m++)d[m](F(f,q,h,m),m,d)}function H(f,d,c){function k(q,n){if(null!=q)return f(q);l[h]=n;if(++h>r)return f(null,l);u=0<--y?p:(y=100,m);u(f,c,k,d[h],h,d)}var h=0,r,l=[],u,y=100;k._isCont=!0;if(!E(d))return f(n(d,"eachSeries"));r=d.length-1;if(0>r)return f(null,l);c(k,d[0],0,d)}function A(f,d){function c(k,q){if(null!=k)return f(k);r[h]=q;if(++h>w)return f(null,r);l=0<--u?p:(u=100,m);l(f,d[h],c,h,d)}var h=0,w,r=[],l,u=100;c._isCont=
- !0;if(!E(d))return f(n(d,"series"));w=d.length-1;if(0>w)return f(null,r);d[0](c,0,d)}function K(){console.log.apply(console,arguments)}function n(f,d){return Error("The argument "+(f&&f.toString())+' in "'+d+'" is not Array!')}var I=Object.prototype.toString,B="function"===typeof setImmediate?setImmediate:function(f){setTimeout(f,0)},E=Array.isArray||function(f){return"[object Array]"===I.call(f)};h.defer=m;h.each=function(f,d,c){return u(function(c){m(c,z,c,f,d)},null,c)};h.eachSeries=function(f,
- d,c){return u(function(c){m(c,H,c,f,d)},null,c)};h.parallel=function(c,d){return u(function(d){m(d,G,d,c)},null,d)};h.series=function(c,d){return u(function(d){m(d,A,d,c)},null,d)};h.nextTick=function(f){var d=c(arguments,1);B(function(){f.apply(null,d)})};h.onerror=function(c){console.error("Thenjs caught error: ",c);throw c;};var r=h.prototype;r.fin=r.all=r["finally"]=function(c){return u(function(d,f){f._finally=D(d,c)},this)};r.then=function(c,d){return u(function(f,h){h._success=D(f,c);h._error=
- d&&D(f,d)},this)};r.fail=r["catch"]=function(f){return u(function(d,k){k._fail=D(d,f);k._success=function(){d.apply(null,[null].concat(c(arguments)))}},this)};r.each=function(c,d){return u(function(f,h){h._each=function(k,h){z(f,c||k,d||h)}},this)};r.eachSeries=function(c,d){return u(function(f,h){h._eachSeries=function(k,h){H(f,c||k,d||h)}},this)};r.parallel=function(c){return u(function(d,f){f._parallel=function(f){G(d,c||f)}},this)};r.series=function(c){return u(function(d,f){f._series=function(f){A(d,
- c||f)}},this)};r.toThunk=function(){var c=this;return function(d){c._result?(d.apply(null,c._result),c._result=!1):!1!==c._result&&(c._finally=d)}};h.NAME="Thenjs";h.VERSION="1.3.4";return h});
- (function(c,p){function m(a,b){var e=H.length,g=a.constructor,g=n.is("Function",g)&&g.prototype||ObjProto,t="constructor";for(n.has(a,t)&&!_.contains(b,t)&&b.push(t);e--;)t=H[e],t in a&&a[t]!==g[t]&&!_.contains(b,t)&&b.push(t)}function h(a){a=JSON.stringify(a);return J?a.replace(/\\u([0-9a-fA-F]{2,4})/g,function(a,e){return String.fromCharCode(parseInt(e,16))}):a}function y(a){for(var b=[],e=0;e<a.length;e++){var g={};g.type=T[Object.prototype.toString.call(a[e]).slice(8,-1)];g.value=a[e];b.push(g)}return h(b)}
- var J=!1;c.JSON&&(J='{"x":"\u4e2d"}'!==c.JSON.stringify({x:"\u4e2d"}));var C=function(a,b){a=this.words=a||[];this.sigBytes=void 0!=b?b:4*a.length};C.prototype={clamp:function(){var a=this.words,b=this.sigBytes;a[b>>>2]&=4294967295<<32-b%4*8;a.length=Math.ceil(b/4)},toString:function(a){return(a||u).stringify(this)}};var u={stringify:function(a){var b=a.words;a=a.sigBytes;for(var e=[],g=0;g<a;g++){var t=b[g>>>2]>>>24-g%4*8&255;e.push((t>>>4).toString(16));e.push((t&15).toString(16))}return e.join("")},
- parse:function(a){for(var b=a.length,e=[],g=0;g<b;g+=2)e[g>>>3]|=parseInt(a.substr(g,2),16)<<24-g%8*4;return new C.init(e,b/2)}},D={stringify:function(a){var b=a.words;a=a.sigBytes;for(var e=[],g=0;g<a;g++)e.push(String.fromCharCode(b[g>>>2]>>>24-g%4*8&255));return e.join("")},parse:function(a){for(var b=a.length,e=[],g=0;g<b;g++)e[g>>>2]|=(a.charCodeAt(g)&255)<<24-g%4*8;return new C(e,b)}},F={stringify:function(a){try{return decodeURIComponent(escape(D.stringify(a)))}catch(b){throw Error("Malformed UTF-8 data");
- }},parse:function(a){return D.parse(unescape(encodeURIComponent(a)))}},z=function(a){this.map=a};z.map={};z.of=function(a){a=a||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var b=z.map[a];b||(b=new z(a));return b};z.prototype={decodeByte:function(a){var b=a.length,e=this.map,g=e.charAt(64);g&&(g=a.indexOf(g),-1!=g&&(b=g));for(var g=[],t=0,c=0;c<b;c++)if(c%4){var d=e.indexOf(a.charAt(c-1))<<c%4*2,f=e.indexOf(a.charAt(c))>>>6-c%4*2;g[t>>>2]|=(d|f)<<24-t%4*8;t++}return new C(g,
- t)},decode:function(a){return F.stringify(this.decodeByte(a))},encode:function(a){if(a)return this.encodeByte(F.parse(a))},encodeByte:function(a){var b=a.words,e=a.sigBytes,g=this.map;a.clamp();a=[];for(var c=0;c<e;c+=3)for(var d=(b[c>>>2]>>>24-c%4*8&255)<<16|(b[c+1>>>2]>>>24-(c+1)%4*8&255)<<8|b[c+2>>>2]>>>24-(c+2)%4*8&255,f=0;4>f&&c+.75*f<e;f++)a.push(g.charAt(d>>>6*(3-f)&63));if(b=g.charAt(64))for(;a.length%4;)a.push(b);return a.join("")}};var G=!{toString:null}.propertyIsEnumerable("toString"),
- H="valueOf isPrototypeOf toString propertyIsEnumerable hasOwnProperty toLocaleString".split(" "),A=function(a,b){var e=a.length,g=[];for(b=b||0;e-- >b;)g[e-b]=a[e];return g},K=function(){},n={Utf8:F,Base64:z,slice:A,"boolean":function(a,b,e){return!(a.hasOwnProperty(b)?!a[b]:!e)},rand:function(a){return Math.ceil((9301*(new Date).getTime()+49297)%233280/233280*a)},addEvent:function(a){return a?function(a,e,g){e=e.split(" ");for(var b=0;b<e.length;b++)a.attachEvent("on"+e[b],function(b){b.target=a;
- b.preventDefault=K;b.stopPropagation=K;g(b)})}:function(a,e){for(var b=e.split(" "),c=0;c<b.length;c++)document.addEventListener.apply(a,[b[c]].concat(n.slice(arguments,2)))}}(c.document.attachEvent),extend:function(a,b){return function(e){var g=arguments.length;if(2>g||null==e)return e;for(var c=1;c<g;c++)for(var d=arguments[c],f=a(d),h=f.length,k=0;k<h;k++){var l=f[k];b&&void 0!==e[l]||(e[l]=d[l])}return e}}(function(a){if(!n.is("Object",a))return[];var b=[],e;for(e in a)b.push(e);G&&m(a,b);return b}),
- filter:function(a,b){var e={},g=b;if(n.is("String",b))var c=n.slice(arguments,1),g=function(a){for(var b=0;b<c.length;b++)if(c[b]===a)return!1;return!0};for(var d in a)(c=g.call(a,d))&&(e[d]=a[d]);return e},val:function(a,b){if(n.is("Function",a)){var e=3>arguments.length?[]:[].slice.call(arguments).slice(2);return a.apply(b,e)}return a},$:function(a){var b=document.getElementById(a);if(!b){var e=document.getElementsByName(a);e&&0<e.length&&(b=e[0])}b||(e=document.getElementsByTagName(a))&&0<e.length&&
- (b=e[0]);return b},keys:function(a){if(!n.is("Object",a))return[];if(nativeKeys)return nativeKeys(a);var b=[],e;for(e in a)n.has(a,e)&&b.push(e);G&&m(a,b);return b},contains:function(a,b,e){var g=a&&a.length;"number"==typeof g&&0<=g&&g<=MAX_ARRAY_INDEX||(a=_.values(a));return 0<=_.indexOf(a,b,"number"==typeof e&&e)},values:function(a){for(var b=_.keys(a),e=b.length,g=Array(e),c=0;c<e;c++)g[c]=a[b[c]];return g},has:function(a,b){return null!=a&&Object.prototype.hasOwnProperty.call(a,b)},inherit:function(a,
- b){var e=function(){};e.prototype=b.prototype;a.prototype=new e;a.prototype.constructor=a;a.uber=b.prototype},is:function(a,b){var e=Object.prototype.toString.call(b).slice(8,-1);return void 0!==b&&null!==b&&e===a},colorRgb:function(a){a=a.toLowerCase();var b=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(a&&b.test(a)){if(4===a.length){for(var e="#",b=1;4>b;b+=1)e+=a.slice(b,b+1).concat(a.slice(b,b+1));a=e}e=[];for(b=1;7>b;b+=2)e.push(parseInt("0x"+a.slice(b,b+2)));return"RGB("+e.join(",")+")"}return a},
- colorHex:function(a){if(/^(rgb|RGB)/.test(a)){for(var b=a.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),e="#",g=0;g<b.length;g++){var c=Number(b[g]).toString(16);"0"===c&&(c+=c);e+=c}7!==e.length&&(e=a);return e.toUpperCase()}if(/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(a)&&(b=a.replace(/#/,"").split(""),6!==b.length&&3===b.length))for(a="#",g=0;g<b.length;g+=1)a+=b[g]+b[g];return a.toUpperCase()},dateConvert:function(a,b){var e=["\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d".split(""),
- "\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d".split("")],g=a.match(/^(\d{2}|\d{4})(\u5e74)(\d{1,2})(\u6708)(\d{1,2})(\u65e5)$/),c="";if(null!=g){for(var d=1;d<g.length;d+=2){var f;f=g[d];if(2==f.length)f="1"==f.charAt(0)?"0"==f.charAt(1)?"\u5341":"\u5341"+e[b-1][f.charAt(1)]:"0"==f.charAt(1)?e[b-1][f.charAt(0)]+"\u5341":e[b-1][f.charAt(0)]+"\u5341"+e[b-1][f.charAt(1)];else{for(var k="",h=0;h<f.length;h++)k+=e[b-1][f.charAt(h)];f=k}c+=f+g[d+1]}return c}},formatDate:function(a,b){var e=
- {MMM:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ")[a.getMonth()],"M+":a.getMonth()+1,"d+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};/(y+)/.test(b)&&(b=b.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)));for(var g in e)if((new RegExp("("+g+")")).test(b)){var c=e[g];2==RegExp.$1.length&&(c=("00"+e[g]).substr((""+e[g]).length));b=b.replace(RegExp.$1,c)}/[*]/gi.test(b)&&(e=b.replace(/[*]/gi,
- ""),b=this.dateConvert(e,b.length-e.length));return b},template:function(a,b){for(var e=/<%([^%>]+)?%>/g,g=/(^( )?(var|if|for|else|switch|case|break|{|}))(.*)?/g,c="var r=[];\n",d=0,f=function(a,b){b?c+=a.match(g)?a+"\n":"r.push("+a+");\n":c+=""!=a?'r.push("'+a.replace(/"/g,'\\"')+'");\n':"";return f},k;k=e.exec(a);)f(a.slice(d,k.index))(k[1],!0),d=k.index+k[0].length;f(a.substr(d,a.length-d));c+='return r.join("");';return(new Function(c.replace(/[\r\t\n]/g,""))).apply(b,A(arguments,2))},first:function(a,
- b){return a.substring(0,1)[b?"toLowerCase":"toUpperCase"]()+a.substring(1)}},I=function(a){this.name=a};I.prototype={on:function(a,b){this.__getEventListener(a).push(b);return this},off:function(a,b){for(var e=this.__getEventListener(a),c=0;c<e.length;c++)b===e[c]&&e.splice(c--,1);return this},clear:function(a){0<this.__getEventListener(a).length&&(this.__listener[a]=[]);return this},trigger:function(a){var b,e=this.__getEventListener(a),c=Array.prototype.slice.call(arguments);this["on"+a]&&(b=this["on"+
- a].apply(this,c.slice(1)));for(var d=0;d<e.length;d++)e[d].apply(this,c.slice(1));return b},__getEventListener:function(a){var b=this.__listener;b||(b=this.__listener={});b[a]||(b[a]=[]);return b[a]}};var B=function(a,b){var e=0,c="",d;for(d in a){var f=a[d];if(void 0!=f){var k=function(a){0<e&&(c+=b);c+=d+"="+a;e++};if(n.is("Array",f))for(var h=0;h<f.length;h++)k(f[h]);else k(f)}}x.trigger("formatData",c);return c},E=function(a,b){var e="";b=b||"";if(n.is("Array",a))for(var c=0;c<a.length;c++)0<
- c&&(e+=b),e+=B(a[c],b);else e=B(a,b);return e},r={result:!1,errcode:"interErr"},f={result:!1,errcode:"responseErr"},d={result:!1,errcode:"connectionErr"},k={result:!1,errcode:"parseErr"},q={result:!1,errcode:"timeoutErr"},w=function(a,b){x.trigger.apply(x,["response",b].concat(this));A(arguments,1);a&&a(b)},N=function(a,b){this.url=a;this.data=b;x.trigger("beforeJSONP",a,b)},l=N.prototype;l.parseData=function(){var a="",b=this.data;if(n.is("String",b))a=b;else if(n.is("Object",b))for(var c in b)b[c]&&
- (a+="&"+c+"="+encodeURIComponent(b[c]));else if(n.is("Array",b))for(var g=0;g<b.length;g++){var d=b[g];for(c in d)d[c]&&(a+="&"+c+"="+encodeURIComponent(d[c]))}a+="&hookback="+this.name;a+="&_="+(new Date).getTime();a=a.substr(1);x.trigger("parseData",a);return a};l.getJSON=function(a){var b=this,c=b.url,g=b.data,d=this.name="jsonp_"+(new Date).getTime()+"_"+n.rand(1E5),c=c+(-1===c.indexOf("?")?"?":"&")+this.parseData(g),h=document.createElement("script");h.type="text/javascript";h.src=c;h.id=d;h.charset=
- "utf-8";var l=function(){setTimeout(function(){clearTimeout(m);h.parentNode.removeChild(h);try{delete window[d]}catch(W){}},1)};window[d]=function(c){b._execed=!0;w.call(b,a,c)};h.onload=function(){l();b._execed||w.call(b,a,k)};h.onerror=function(){l();void 0!==Signature.options.isResponseErr&&Signature.options.isResponseErr||w.call(b,a,f)};var m=setTimeout(function(){l();w.call(b,a,q)},v.options.timeout);(c=document.getElementsByTagName("head"))&&c[0]&&c[0].appendChild(h)};var O=function(a,b){this.url=
- a;this.data=b;this.xdr=new XDomainRequest};O.prototype.getJSON=function(a){var b=this.xdr;b.onload=function(){var c;try{c=JSON.parse(b.responseText)}catch(g){w.call(b,a,k);return}w.call(b,a,c)};b.onerror=function(){w.call(b,a,d)};b.timeout=v.options.timeout;b.ontimeout=function(){w.call(b,a,q)};b.open("POST",this.url);b.send(E(this.data,"\r\n")+"\r\na=1")};var P=function(a,b){var c;if(window.XMLHttpRequest)c=new XMLHttpRequest;else if(window.ActiveXObject)for(var g=0;g<activexName.length;g++)try{c=
- new ActiveXObject(activexName[g]);break}catch(t){}this.xhr=c;this.url=a;this.data=b};P.prototype.getJSON=function(a){var b=this.xhr,c=!1;b.onreadystatechange=function(){if(4==b.readyState)if(200==b.status||304==b.status)try{var e=JSON.parse(b.responseText);w.call(b,a,e)}catch(t){w.call(b,a,k)}else c&&w.call(b,a,f)};b.open("POST",this.url,!0);b.onerror=function(){w.call(b,a,d)};b.timeout=v.options.timeout;b.ontimeout=function(){c=!0;w.call(b,a,q)};b.setRequestHeader("Content-Type","text/plain;charset=UTF-8");
- b.send(E(this.data,"\r\n"))};var S="withCredentials"in XMLHttpRequest.prototype?!1:"undefined"!=typeof XDomainRequest?!0:!1,L=function(a,b,c){x.trigger.apply(x,["beforeAjax"].concat(A(arguments)));return c?new N(a,b):S?new O(a,b):new P(a,b)},T={Boolean:"BOOL",String:"BSTR",Number:"LONG"},v=function(){};v.errCode={1E4:"\u7cfb\u7edf\u9519\u8bef",20001:"\u5bc6\u94a5\u76d8\u4fe1\u606f\u9519\u8bef",20003:"\u5bc6\u7801\u9519\u8bef\uff0c\u8bf7\u8f93\u5165\u6b63\u786e\u5bc6\u7801",11100:"\u7b7e\u7ae0\u670d\u52a1\u5668\u9519\u8bef",
- 11101:"\u5f53\u524d\u7528\u6237\u6ca1\u6709\u7b7e\u7ae0",11102:"\u5370\u7ae0\u9519\u8bef",11103:"\u8bc1\u4e66\u8fc7\u671f",11104:"\u5370\u7ae0\u8fc7\u671f",signErr:"\u7b7e\u540d\u5931\u8d25",serverErr:"\u8c03\u7528\u4ea7\u54c1\u7ec4\u4ef6\u5f02\u5e38",parseErr:"\u6570\u636e\u683c\u5f0f\u5f02\u5e38",responseErr:"\u4ea7\u54c1\u7ec4\u4ef6\u54cd\u5e94\u5f02\u5e38",connectionErr:"\u4ea7\u54c1\u7ec4\u4ef6\u8fde\u63a5\u5f02\u5e38",timeoutErr:"\u8bf7\u6c42\u54cd\u5e94\u8d85\u65f6",interErr:"\u83b7\u53d6\u63a5\u53e3\u5f02\u5e38",
- "-7":"\u7b7e\u540d\u7ec4\u4ef6\u9519\u8bef"};n.extend(v.errCode,{then:{"-1":"\u8bf7\u5b89\u88c5\u5ba2\u6237\u7aef","-2":"\u8bf7\u63d2\u5165\u5f53\u524d\u7b7e\u7ae0\u6240\u5c5e\u7684\u5bc6\u94a5\u76d8","-12":"\u83b7\u53d6\u8bc1\u4e66\u5931\u8d25","-13":"\u7b7e\u540d\u65f6\uff0c\u52a0\u8f7d\u8bc1\u4e66\u5931\u8d25","-15":"\u7b7e\u540d\u6570\u636e\u4e0d\u80fd\u4e3a\u7a7a","-16":"\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a","-17":"\u89e3\u6790\u8bc1\u4e66\u5931\u8d25","-12":"\u83b7\u53d6\u8bc1\u4e66\u5931\u8d25",
- 1:"\u6ca1\u6709\u68c0\u6d4b\u5230\u5bc6\u94a5\u76d8",2:"\u5bc6\u94a5\u76d8\u6ca1\u6709\u6b63\u786e\u521d\u59cb\u5316",3:"\u5bc6\u94a5\u76d8\u9a71\u52a8\u672a\u5b89\u88c5",4:"\u53ea\u80fd\u63d2\u5165\u4e00\u4e2a\u5bc6\u94a5\u76d8",7:"\u5bc6\u7801\u9519\u8bef\u6216\u5bc6\u94a5\u76d8\u88ab\u9501\u5b9a",8:"\u975e\u6cd5\u6388\u6743",11:"\u5f53\u524d\u5bc6\u94a5\u76d8\u6ca1\u6709\u5370\u7ae0",12:"\u83b7\u53d6\u5370\u7ae0\u4fe1\u606f\u5931\u8d25","-101":"\u83b7\u53d6\u5bc6\u94a5\u76d8\u6709\u6548\u671f\u5f02\u5e38",
- "-103":"\u5bc6\u94a5\u76d8\u672a\u751f\u6548","-104":"\u671f\u9650\u8bb8\u53ef\u5df2\u8fc7\u671f","-7@KGCrySignMessage":"\u7b7e\u540d\u7ec4\u4ef6\u9519\u8bef","8@KGVerifySign":"\u9a8c\u8bc1\u5931\u6548","1@KGVerifySign":"\u672a\u5b89\u88c5\u7b7e\u540d\u7ec4\u4ef6","2@KGCrySignMessage":"\u83b7\u53d6\u8bc1\u4e66\u5931\u8d25","3@KGCrySignMessage":"\u7b7e\u540d\u65f6\uff0c\u52a0\u8f7d\u8bc1\u4e66\u5931\u8d25","5@KGCrySignMessage":"\u7b7e\u540d\u6570\u636e\u4e0d\u80fd\u4e3a\u7a7a","6@KGCrySignMessage":"\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a",
- "7@KGCrySignMessage":"\u89e3\u6790\u8bc1\u4e66\u5931\u8d25"},KGRunFingerPrints:{"-1":"\u8bbe\u5907\u7c7b\u578b\u8bbe\u7f6e\u9519\u8bef","-2":"\u6ca1\u6709\u5b89\u88c5\u6307\u7eb9\u7ec4\u4ef6","-3":"\u6307\u7eb9\u91c7\u96c6\u5931\u8d25"},KGRunHandWritten:{"-1":"\u8bbe\u5907\u7c7b\u578b\u8bbe\u7f6e\u9519\u8bef","-2":"\u6ca1\u6709\u5b89\u88c5\u624b\u5199\u7ec4\u4ef6","-3":"\u6388\u6743\u7801\u4e0d\u6b63\u786e","-4":"\u7b7e\u540d\u53d6\u6d88","-5":"\u65e0\u670d\u52a1\u53ef\u7528","-6":"\u7b7e\u540d\u8bbe\u5907\u9519\u8bef",
- "-7":"\u672a\u77e5\u9519\u8bef"},KGGetTSWithDigest:{1:"\u83b7\u53d6\u65f6\u95f4\u6233\u5f02\u5e38",2:"\u83b7\u53d6\u65f6\u95f4\u6233\u5931\u8d25",3:"\u54cd\u5e94\u6570\u636e\u4e3a\u7a7a"},KGGetTSURLInfo:{1:"\u65f6\u95f4\u6233\u672a\u542f\u7528"},KGValidate_GM:{"-1":"\u6ca1\u6709\u5b89\u88c5\u7b7e\u540d\u7ec4\u4ef6","-2":"\u6ca1\u6709\u516c\u5171\u6a21\u5757\u7ec4\u4ef6","-3":"KCL280 \u9a8c\u8bc1\u5931\u8d25\uff0c\u672a\u77e5\u539f\u56e0\u7684\u9a8c\u8bc1\u5931\u8d25",1:"KCL272_\u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5df2\u8fc7\u671f\u6216\u672a\u751f\u6548\uff01",
- 2:"KCL274 \u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u6839\u8bc1\u4e66\u9a8c\u8bc1\u672a\u901a\u8fc7!",3:" KCL270_\u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5df2\u88ab\u540a\u9500\uff01",4:" KCL276 \u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u6839\u8bc1\u4e66\u5b89\u88c5\u672a\u6210\u529f!",5:" KCL266_\u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u672a\u68c0\u6d4b\u5230\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u540a\u9500\u5217\u8868\uff01",
- 6:"KCL260_\u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u672a\u68c0\u6d4b\u5230\u7b7e\u7ae0\u4eba\u8bc1\u4e66\uff01",7:"KCL262_\u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u6839\u8bc1\u4e66\u5931\u8d25\uff0c\u672a\u68c0\u6d4b\u5230\u7b7e\u7ae0\u4eba\u6839\u8bc1\u4e66\uff01",8:"KCL264_\u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u6839\u8bc1\u4e66\u5931\u8d25\uff0c\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u4e0e\u8be5\u8bc1\u4e66\u7684\u6839\u8bc1\u4e66\u4e0d\u5339\u914d\uff01",9:"KCL268_\u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u4e0e\u8be5\u8bc1\u4e66\u540a\u9500\u5217\u8868\u4e0d\u5339\u914d\uff01",
- 10:"KCL273_\u9a8c\u8bc1\u5236\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u5236\u7ae0\u4eba\u8bc1\u4e66\u5df2\u8fc7\u671f\u6216\u672a\u751f\u6548",11:"KCL275 \u9a8c\u8bc1\u5236\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u5236\u7ae0\u4eba\u8bc1\u4e66\u6839\u8bc1\u4e66\u9a8c\u8bc1\u672a\u901a\u8fc7!",12:"KCL271_\u9a8c\u8bc1\u5236\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u5236\u7ae0\u4eba\u8bc1\u4e66\u5df2\u88ab\u540a\u9500\uff01",13:"KCL277_\u9a8c\u8bc1\u5236\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u5236\u7ae0\u4eba\u8bc1\u4e66\u6839\u8bc1\u4e66\u5b89\u88c5\u672a\u6210\u529f!",
- 14:"KCL267_\u9a8c\u8bc1\u5236\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u672a\u68c0\u6d4b\u5230\u5236\u7ae0\u4eba\u8bc1\u4e66\u540a\u9500\u5217\u8868\uff01",15:"KCL281_\u9a8c\u8bc1\u5236\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u672a\u68c0\u6d4b\u5230\u5236\u7ae0\u4eba\u8bc1\u4e66\uff01",16:"KCL263_\u9a8c\u8bc1\u5236\u7ae0\u4eba\u6839\u8bc1\u4e66\u5931\u8d25\uff0c\u672a\u68c0\u6d4b\u5230\u5236\u7ae0\u4eba\u6839\u8bc1\u4e66\uff01",17:"KCL265_\u9a8c\u8bc1\u5236\u7ae0\u4eba\u6839\u8bc1\u4e66\u5931\u8d25\uff0c\u5236\u7ae0\u4eba\u8bc1\u4e66\u4e0e\u8be5\u8bc1\u4e66\u7684\u6839\u8bc1\u4e66\u4e0d\u5339\u914d\uff01",
- 18:"KCL269_\u9a8c\u8bc1\u5236\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u5236\u7ae0\u4eba\u8bc1\u4e66\u4e0e\u8be5\u8bc1\u4e66\u540a\u9500\u5217\u8868\u4e0d\u5339\u914d\uff01",19:"KCL261_\u9a8c\u8bc1\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5931\u8d25\uff0c\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u4e0d\u5728\u5370\u7ae0\u7684\u7b7e\u7ae0\u4eba\u8bc1\u4e66\u5217\u8868\u4e2d\uff01",20:"KCL278_\u9a8c\u8bc1\u5370\u7ae0\u5236\u7ae0\u65f6\u95f4\u5931\u8d25\uff0c\u5370\u7ae0\u672a\u751f\u6548\uff01",21:"KCL279 \u9a8c\u8bc1\u5370\u7ae0\u5236\u7ae0\u65f6\u95f4\u5931\u8d25\uff0c\u5370\u7ae0\u5df2\u7ecf\u8fc7\u671f\uff01"},
- KGValidateCertificate:{"-1":"\u6ca1\u6709\u5b89\u88c5\u7b7e\u540d\u7ec4\u4ef6","-2":"\u672a\u77e5\u9519\u8bef",1:"\u9a8c\u8bc1\u5931\u8d25\uff0c\u7b7e\u7ae0\u8bc1\u4e66\u5df2\u7ecf\u8fc7\u671f\u6216\u8fd8\u672a\u751f\u6548\uff01",2:"\u9a8c\u8bc1\u5931\u8d25\uff0c\u7b7e\u7ae0\u8bc1\u4e66\u4e0d\u53d7\u9881\u53d1\u673a\u6784\u4fe1\u4efb\uff01",3:"\u9a8c\u8bc1\u5931\u8d25\uff0c\u7b7e\u7ae0\u8bc1\u4e66\u5df2\u88ab\u540a\u9500\uff01",4:"\u9a8c\u8bc1\u5931\u8d25\uff0c\u7b7e\u7ae0\u8bc1\u4e66\u6839\u8bc1\u4e66\u672a\u5b89\u88c5\u6216\u65e0\u6548\u7684\u6839\u8bc1\u4e66\uff01"}});
- v.msg=function(a,b){return v.errCode[a]||(b?v.errCode[b][a]:v.errCode[a])||a};v.options={_version:"1.0",timeout:2E4};v.Utils=n;v.Listener=I;var U=function(a,b){x.trigger("ajaxRequest",arguments);return function(c){L(a,b,!1).getJSON(function(a){c(null,a)})}},V=function(a,b,c){x.trigger("beforeProg",arguments);var e={value:'{"GetInterface":{"progid":"'+b+'","interface":"'+c+'"}}'};return function(b){L(a+"/GetInterface",e,!0).getJSON(function(a){x.trigger("resonseProg",a);"none"==a.type?b(null,f):"0"===
- a.value?b(null,r):b(null,a)})}},Q=function(a,b,c){x.trigger("beforeMethod",arguments);var e=Array.prototype.slice.call(arguments).slice(3);0==e.length?e='{"MethodCall":{"caller":"'+b+'","function":"'+c+'"}}':(e='"params":'+y(e),e='{"MethodCall":{"caller":"'+b+'","function":"'+c+'",'+e+"}}");var d={value:e};return function(b){L(a+"/MethodCall",d,!0).getJSON(function(a){x.trigger("responseMethod",a);"none"!=a.type&&b(null,a.value?a.value:a)})}},R=function(a,b,c){x.trigger("beforeAttr",arguments);var e=
- Array.prototype.slice.call(arguments).slice(3);0==e.length?e='{"PropertyCall":{"caller":"'+b+'","property":"'+c+'"}}':(e='"params":'+y(e),e='{"MethodCall":{"caller":"'+b+'","property":"'+c+'",'+e+"}}");var d={value:e};return function(b){L(a,d,!0).getJSON(function(a){x.trigger("responseMethod",a);"none"!=a.type&&b(null,a.value)})}};p.onerror=function(a){if(n.is("String",a))alert("[error]"+a);else throw a;};var M=function(a){this.serverUrl=a;this.thenjs=p(function(a){a(null)})},l=M.prototype;l.init=
- function(a,b){this.progid=a;this.interid=b;return this};l.fail=function(a){var b=this;b.thenjs=b.thenjs.fail(function(c,d){var e=a.call(b,c,d);c(b.respData(void 0==e?d:e))});return b};l.fin=function(a){var b=this;b.thenjs=b.thenjs.fin(function(c,d,f){a.call(b,c,d,f)});return b};l.then=function(a){var b=this;b.thenjs=b.thenjs.then(function(c,d){a.call(b,function(a,e){b.respData(e);c(a,e)},d)});return b};l.series=function(a){this.thenjs=this.thenjs.series(a);return this};l.calArgs=function(a){for(var b=
- this._data,c=[],d=0;d<a.length;d++){var f=a[d];n.is("Function",f)&&(f=f.call(this,b));n.is("Array",f)?c=c.concat(f):c.push(f)}return c};l.msg=function(a,b,c){b=b||this._method;c=c||this.progid;var d=v.errCode.then;x.trigger("msgArg",a,b,c);return v.errCode[a]||d[a+"@"+b+"."+c]||d[a+"@"+b]||d[a]||a};l.ret=function(a){var b=this;this.then(function(c,d){var e=a.call(b,d);c(null,b.respData(void 0==e?d:e))});return this};l.respData=function(a){a&&(this._data=a);return this._data};l.attr=function(a){var b=
- this,c=A(arguments);b.series([function(a){var d=b.calArgs(c);b._method=d[0];R.apply(null,[b.serverUrl,b.proid].concat(d))(a)}]).then(function(a,c){a(null,b.respData(c[0]))});return this};l.attrSeries=function(){var a=this,b=[];a.initProid();for(var c=0;c<arguments.length;c++)b.push(function(){var b=a.calArgs(arguments);return function(c){a._method=b[0];R.apply(null,[a.serverUrl,a.proid].concat(b))(c)}}.apply(null,arguments[c]));a.series(b).then(function(b,c){a.respData(c);b(null,c)});return this};
- l.initProid=function(){var a=this;this.series([V(a.serverUrl,a.progid,a.interid)]).then(function(b,c){var d=c[0];x.trigger("initProid",d);d.value?(a.proid=d.value,b(null,d)):b(d.errcode)});return this};l.invokeSeries=function(){var a=this,b=[];a.initProid();for(var c=0;c<arguments.length;c++)b.push(function(){var b=a.calArgs(arguments);return function(c){a._method=b[0];Q.apply(null,[a.serverUrl,a.proid].concat(b))(c)}}.apply(null,arguments[c]));a.series(b).then(function(b,c){a.respData(c);b(null,
- c)});return this};l.invoke=function(a){var b=this;b.initProid();var c=A(arguments);b.series([function(a){var d=b.calArgs(c);b._method=d[0];Q.apply(null,[b.serverUrl,b.proid].concat(d))(a)}]).then(function(a,c){b.respData(c[0]);a(null,c[0])});return this};l.request=function(a,b){var c=this;c.series([U(c.serverUrl+a,b)]).then(function(a,b){var d=b[0];c.respData(d);a(null,d)});return this};var x=new I("kgthen");v.addRequestListener=function(a,b){x.on(a,b)};v.surry=function(a,b,c){return(new M(a||"http://127.0.0.1:9581")).init(b,
- c)};v.KgThen=M;c.kinggrid=v})(this,Thenjs);(function(c,p){"function"!==typeof define||!define.amd||"undefined"!=typeof nonUseAmd&&nonUseAmd||define([],p)})(window,function(){return{Thenjs:window.Thenjs,kinggrid:window.kinggrid}});
- // V1.0.0.310
- //# sourceMappingURL=c:/kinggrid.min.map
|