zjsmethods
Advanced tools
+2
-2
@@ -1,2 +0,2 @@ | ||
| module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=31)}([function(e,t,r){"use strict";var n=r(3),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function u(e){return null!==e&&"object"==typeof e}function a(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isUndefined:s,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:a,isStream:function(e){return u(e)&&a(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]=r}for(var n=0,o=arguments.length;n<o;n++)c(arguments[n],r);return t},deepMerge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]="object"==typeof r?e({},r):r}for(var n=0,o=arguments.length;n<o;n++)c(arguments[n],r);return t},extend:function(e,t,r){return c(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,r){e.exports=r(14)},function(e,t){var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=r},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(0);function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))})))})),i=s.join("&")}if(i){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";(function(t){var n=r(0),o=r(20),i={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,a={adapter:("undefined"!=typeof XMLHttpRequest?u=r(7):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(u=r(7)),u),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){a.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){a.headers[e]=n.merge(i)})),e.exports=a}).call(this,r(19))},function(e,t,r){"use strict";var n=r(0),o=r(21),i=r(4),s=r(23),u=r(26),a=r(27),c=r(8);e.exports=function(e){return new Promise((function(t,f){var l=e.data,p=e.headers;n.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+m)}var g=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),i(g,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?u(d.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,f,n),d=null}},d.onabort=function(){d&&(f(c("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){f(c("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),f(c(t,e,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var y=r(28),v=(e.withCredentials||a(g))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;v&&(p[e.xsrfHeaderName]=v)}if("setRequestHeader"in d&&n.forEach(p,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),f(e),d=null)})),void 0===l&&(l=null),d.send(l)}))}},function(e,t,r){"use strict";var n=r(22);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},function(e,t,r){"use strict";var n=r(0);e.exports=function(e,t){t=t||{};var r={},o=["url","method","params","data"],i=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];n.forEach(o,(function(e){void 0!==t[e]&&(r[e]=t[e])})),n.forEach(i,(function(o){n.isObject(t[o])?r[o]=n.deepMerge(e[o],t[o]):void 0!==t[o]?r[o]=t[o]:n.isObject(e[o])?r[o]=n.deepMerge(e[o]):void 0!==e[o]&&(r[o]=e[o])})),n.forEach(s,(function(n){void 0!==t[n]?r[n]=t[n]:void 0!==e[n]&&(r[n]=e[n])}));var u=o.concat(i).concat(s),a=Object.keys(t).filter((function(e){return-1===u.indexOf(e)}));return n.forEach(a,(function(n){void 0!==t[n]?r[n]=t[n]:void 0!==e[n]&&(r[n]=e[n])})),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){var n,o,i,s,u;n=r(12),o=r(2).utf8,i=r(13),s=r(2).bin,(u=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?s.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var r=n.bytesToWords(e),a=8*e.length,c=1732584193,f=-271733879,l=-1732584194,p=271733878,d=0;d<r.length;d++)r[d]=16711935&(r[d]<<8|r[d]>>>24)|4278255360&(r[d]<<24|r[d]>>>8);r[a>>>5]|=128<<a%32,r[14+(a+64>>>9<<4)]=a;var h=u._ff,m=u._gg,g=u._hh,y=u._ii;for(d=0;d<r.length;d+=16){var v=c,w=f,b=l,_=p;c=h(c,f,l,p,r[d+0],7,-680876936),p=h(p,c,f,l,r[d+1],12,-389564586),l=h(l,p,c,f,r[d+2],17,606105819),f=h(f,l,p,c,r[d+3],22,-1044525330),c=h(c,f,l,p,r[d+4],7,-176418897),p=h(p,c,f,l,r[d+5],12,1200080426),l=h(l,p,c,f,r[d+6],17,-1473231341),f=h(f,l,p,c,r[d+7],22,-45705983),c=h(c,f,l,p,r[d+8],7,1770035416),p=h(p,c,f,l,r[d+9],12,-1958414417),l=h(l,p,c,f,r[d+10],17,-42063),f=h(f,l,p,c,r[d+11],22,-1990404162),c=h(c,f,l,p,r[d+12],7,1804603682),p=h(p,c,f,l,r[d+13],12,-40341101),l=h(l,p,c,f,r[d+14],17,-1502002290),c=m(c,f=h(f,l,p,c,r[d+15],22,1236535329),l,p,r[d+1],5,-165796510),p=m(p,c,f,l,r[d+6],9,-1069501632),l=m(l,p,c,f,r[d+11],14,643717713),f=m(f,l,p,c,r[d+0],20,-373897302),c=m(c,f,l,p,r[d+5],5,-701558691),p=m(p,c,f,l,r[d+10],9,38016083),l=m(l,p,c,f,r[d+15],14,-660478335),f=m(f,l,p,c,r[d+4],20,-405537848),c=m(c,f,l,p,r[d+9],5,568446438),p=m(p,c,f,l,r[d+14],9,-1019803690),l=m(l,p,c,f,r[d+3],14,-187363961),f=m(f,l,p,c,r[d+8],20,1163531501),c=m(c,f,l,p,r[d+13],5,-1444681467),p=m(p,c,f,l,r[d+2],9,-51403784),l=m(l,p,c,f,r[d+7],14,1735328473),c=g(c,f=m(f,l,p,c,r[d+12],20,-1926607734),l,p,r[d+5],4,-378558),p=g(p,c,f,l,r[d+8],11,-2022574463),l=g(l,p,c,f,r[d+11],16,1839030562),f=g(f,l,p,c,r[d+14],23,-35309556),c=g(c,f,l,p,r[d+1],4,-1530992060),p=g(p,c,f,l,r[d+4],11,1272893353),l=g(l,p,c,f,r[d+7],16,-155497632),f=g(f,l,p,c,r[d+10],23,-1094730640),c=g(c,f,l,p,r[d+13],4,681279174),p=g(p,c,f,l,r[d+0],11,-358537222),l=g(l,p,c,f,r[d+3],16,-722521979),f=g(f,l,p,c,r[d+6],23,76029189),c=g(c,f,l,p,r[d+9],4,-640364487),p=g(p,c,f,l,r[d+12],11,-421815835),l=g(l,p,c,f,r[d+15],16,530742520),c=y(c,f=g(f,l,p,c,r[d+2],23,-995338651),l,p,r[d+0],6,-198630844),p=y(p,c,f,l,r[d+7],10,1126891415),l=y(l,p,c,f,r[d+14],15,-1416354905),f=y(f,l,p,c,r[d+5],21,-57434055),c=y(c,f,l,p,r[d+12],6,1700485571),p=y(p,c,f,l,r[d+3],10,-1894986606),l=y(l,p,c,f,r[d+10],15,-1051523),f=y(f,l,p,c,r[d+1],21,-2054922799),c=y(c,f,l,p,r[d+8],6,1873313359),p=y(p,c,f,l,r[d+15],10,-30611744),l=y(l,p,c,f,r[d+6],15,-1560198380),f=y(f,l,p,c,r[d+13],21,1309151649),c=y(c,f,l,p,r[d+4],6,-145523070),p=y(p,c,f,l,r[d+11],10,-1120210379),l=y(l,p,c,f,r[d+2],15,718787259),f=y(f,l,p,c,r[d+9],21,-343485551),c=c+v>>>0,f=f+w>>>0,l=l+b>>>0,p=p+_>>>0}return n.endian([c,f,l,p])})._ff=function(e,t,r,n,o,i,s){var u=e+(t&r|~t&n)+(o>>>0)+s;return(u<<i|u>>>32-i)+t},u._gg=function(e,t,r,n,o,i,s){var u=e+(t&n|r&~n)+(o>>>0)+s;return(u<<i|u>>>32-i)+t},u._hh=function(e,t,r,n,o,i,s){var u=e+(t^r^n)+(o>>>0)+s;return(u<<i|u>>>32-i)+t},u._ii=function(e,t,r,n,o,i,s){var u=e+(r^(t|~n))+(o>>>0)+s;return(u<<i|u>>>32-i)+t},u._blocksize=16,u._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(u(e,t));return t&&t.asBytes?r:t&&t.asString?s.bytesToString(r):n.bytesToHex(r)}},function(e,t){var r,n;r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var t=[],n=0;n<e.length;n+=3)for(var o=e[n]<<16|e[n+1]<<8|e[n+2],i=0;i<4;i++)8*n+6*i<=8*e.length?t.push(r.charAt(o>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,o=0;n<e.length;o=++n%4)0!=o&&t.push((r.indexOf(e.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<2*o|r.indexOf(e.charAt(n))>>>6-2*o);return t}},e.exports=n},function(e,t){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} | ||
| module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=4)}([function(t,e){var r={utf8:{stringToBytes:function(t){return r.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(r.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e},bytesToString:function(t){for(var e=[],r=0;r<t.length;r++)e.push(String.fromCharCode(t[r]));return e.join("")}}};t.exports=r},function(t,e,r){var n,o,i,s,u;n=r(2),o=r(0).utf8,i=r(3),s=r(0).bin,(u=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?s.stringToBytes(t):o.stringToBytes(t):i(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var r=n.bytesToWords(t),l=8*t.length,a=1732584193,f=-271733879,c=-1732584194,h=271733878,_=0;_<r.length;_++)r[_]=16711935&(r[_]<<8|r[_]>>>24)|4278255360&(r[_]<<24|r[_]>>>8);r[l>>>5]|=128<<l%32,r[14+(l+64>>>9<<4)]=l;var d=u._ff,p=u._gg,y=u._hh,g=u._ii;for(_=0;_<r.length;_+=16){var b=a,w=f,m=c,v=h;a=d(a,f,c,h,r[_+0],7,-680876936),h=d(h,a,f,c,r[_+1],12,-389564586),c=d(c,h,a,f,r[_+2],17,606105819),f=d(f,c,h,a,r[_+3],22,-1044525330),a=d(a,f,c,h,r[_+4],7,-176418897),h=d(h,a,f,c,r[_+5],12,1200080426),c=d(c,h,a,f,r[_+6],17,-1473231341),f=d(f,c,h,a,r[_+7],22,-45705983),a=d(a,f,c,h,r[_+8],7,1770035416),h=d(h,a,f,c,r[_+9],12,-1958414417),c=d(c,h,a,f,r[_+10],17,-42063),f=d(f,c,h,a,r[_+11],22,-1990404162),a=d(a,f,c,h,r[_+12],7,1804603682),h=d(h,a,f,c,r[_+13],12,-40341101),c=d(c,h,a,f,r[_+14],17,-1502002290),a=p(a,f=d(f,c,h,a,r[_+15],22,1236535329),c,h,r[_+1],5,-165796510),h=p(h,a,f,c,r[_+6],9,-1069501632),c=p(c,h,a,f,r[_+11],14,643717713),f=p(f,c,h,a,r[_+0],20,-373897302),a=p(a,f,c,h,r[_+5],5,-701558691),h=p(h,a,f,c,r[_+10],9,38016083),c=p(c,h,a,f,r[_+15],14,-660478335),f=p(f,c,h,a,r[_+4],20,-405537848),a=p(a,f,c,h,r[_+9],5,568446438),h=p(h,a,f,c,r[_+14],9,-1019803690),c=p(c,h,a,f,r[_+3],14,-187363961),f=p(f,c,h,a,r[_+8],20,1163531501),a=p(a,f,c,h,r[_+13],5,-1444681467),h=p(h,a,f,c,r[_+2],9,-51403784),c=p(c,h,a,f,r[_+7],14,1735328473),a=y(a,f=p(f,c,h,a,r[_+12],20,-1926607734),c,h,r[_+5],4,-378558),h=y(h,a,f,c,r[_+8],11,-2022574463),c=y(c,h,a,f,r[_+11],16,1839030562),f=y(f,c,h,a,r[_+14],23,-35309556),a=y(a,f,c,h,r[_+1],4,-1530992060),h=y(h,a,f,c,r[_+4],11,1272893353),c=y(c,h,a,f,r[_+7],16,-155497632),f=y(f,c,h,a,r[_+10],23,-1094730640),a=y(a,f,c,h,r[_+13],4,681279174),h=y(h,a,f,c,r[_+0],11,-358537222),c=y(c,h,a,f,r[_+3],16,-722521979),f=y(f,c,h,a,r[_+6],23,76029189),a=y(a,f,c,h,r[_+9],4,-640364487),h=y(h,a,f,c,r[_+12],11,-421815835),c=y(c,h,a,f,r[_+15],16,530742520),a=g(a,f=y(f,c,h,a,r[_+2],23,-995338651),c,h,r[_+0],6,-198630844),h=g(h,a,f,c,r[_+7],10,1126891415),c=g(c,h,a,f,r[_+14],15,-1416354905),f=g(f,c,h,a,r[_+5],21,-57434055),a=g(a,f,c,h,r[_+12],6,1700485571),h=g(h,a,f,c,r[_+3],10,-1894986606),c=g(c,h,a,f,r[_+10],15,-1051523),f=g(f,c,h,a,r[_+1],21,-2054922799),a=g(a,f,c,h,r[_+8],6,1873313359),h=g(h,a,f,c,r[_+15],10,-30611744),c=g(c,h,a,f,r[_+6],15,-1560198380),f=g(f,c,h,a,r[_+13],21,1309151649),a=g(a,f,c,h,r[_+4],6,-145523070),h=g(h,a,f,c,r[_+11],10,-1120210379),c=g(c,h,a,f,r[_+2],15,718787259),f=g(f,c,h,a,r[_+9],21,-343485551),a=a+b>>>0,f=f+w>>>0,c=c+m>>>0,h=h+v>>>0}return n.endian([a,f,c,h])})._ff=function(t,e,r,n,o,i,s){var u=t+(e&r|~e&n)+(o>>>0)+s;return(u<<i|u>>>32-i)+e},u._gg=function(t,e,r,n,o,i,s){var u=t+(e&n|r&~n)+(o>>>0)+s;return(u<<i|u>>>32-i)+e},u._hh=function(t,e,r,n,o,i,s){var u=t+(e^r^n)+(o>>>0)+s;return(u<<i|u>>>32-i)+e},u._ii=function(t,e,r,n,o,i,s){var u=t+(r^(e|~n))+(o>>>0)+s;return(u<<i|u>>>32-i)+e},u._blocksize=16,u._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var r=n.wordsToBytes(u(t,e));return e&&e.asBytes?r:e&&e.asString?s.bytesToString(r):n.bytesToHex(r)}},function(t,e){var r,n;r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=n.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],r=0,n=0;r<t.length;r++,n+=8)e[n>>>5]|=t[r]<<24-n%32;return e},wordsToBytes:function(t){for(var e=[],r=0;r<32*t.length;r+=8)e.push(t[r>>>5]>>>24-r%32&255);return e},bytesToHex:function(t){for(var e=[],r=0;r<t.length;r++)e.push((t[r]>>>4).toString(16)),e.push((15&t[r]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(parseInt(t.substr(r,2),16));return e},bytesToBase64:function(t){for(var e=[],n=0;n<t.length;n+=3)for(var o=t[n]<<16|t[n+1]<<8|t[n+2],i=0;i<4;i++)8*n+6*i<=8*t.length?e.push(r.charAt(o>>>6*(3-i)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],n=0,o=0;n<t.length;o=++n%4)0!=o&&e.push((r.indexOf(t.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<2*o|r.indexOf(t.charAt(n))>>>6-2*o);return e}},t.exports=n},function(t,e){function r(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)} | ||
| /*! | ||
@@ -8,2 +8,2 @@ * Determine if an object is a Buffer | ||
| */ | ||
| e.exports=function(e){return null!=e&&(r(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,r){"use strict";var n=r(0),o=r(3),i=r(15),s=r(9);function u(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var a=u(r(6));a.Axios=i,a.create=function(e){return u(s(a.defaults,e))},a.Cancel=r(10),a.CancelToken=r(29),a.isCancel=r(5),a.all=function(e){return Promise.all(e)},a.spread=r(30),e.exports=a,e.exports.default=a},function(e,t,r){"use strict";var n=r(0),o=r(4),i=r(16),s=r(17),u=r(9);function a(e){this.defaults=e,this.interceptors={request:new i,response:new i}}a.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},a.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){a.prototype[e]=function(t,r){return this.request(n.merge(r||{},{method:e,url:t}))}})),n.forEach(["post","put","patch"],(function(e){a.prototype[e]=function(t,r,o){return this.request(n.merge(o||{},{method:e,url:t,data:r}))}})),e.exports=a},function(e,t,r){"use strict";var n=r(0);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(0),o=r(18),i=r(5),s=r(6);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return u(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(0);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var a,c=[],f=!1,l=-1;function p(){f&&a&&(f=!1,a.length?c=a.concat(c):l=-1,c.length&&d())}function d(){if(!f){var e=u(p);f=!0;for(var t=c.length;t;){for(a=c,c=[];++l<t;)a&&a[l].run();l=-1,t=c.length}a=null,f=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||f||u(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,r){"use strict";var n=r(0);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(8);e.exports=function(e,t,r){var o=r.config.validateStatus;!o||o(r.status)?e(r):t(n("Request failed with status code "+r.status,r.config,null,r.request,r))}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(24),o=r(25);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(0),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,s={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},function(e,t,r){"use strict";var n=r(0);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(0);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var u=[];u.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.isString(i)&&u.push("domain="+i),!0===s&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(10);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";function n(e){let{from:t,to:r="form",config:n}=e;if(!t||!n)return new Error("缺少必要参数");let o="string"==typeof r?this[r]:r,i="string"==typeof t?this[t]:t;Object.entries(n).forEach(e=>{o[e[0]]=i[e[1]]})}function o(e){return JSON.parse(JSON.stringify(e))}function i(e){let t=window.location.search.substring(1).split("&");if(!t[0]){if(!window.location.hash.substring(1).split("?")[1])return"";t=window.location.hash.substring(1).split("?")[1].split("&")}for(let r=0;r<t.length;r++){let n=t[r].split("=");if(n[0]==e)return n[1]}}function s(e,t,r){if([e,t,r].find(e=>!e))return;let n="",o=e.length,i=r<0?o+r:r,s=i-t;for(s=s>o-t?o-t:s;s--;)n+="*";return`${e.substring(0,t)}${n}${e.substring(i,o)}`}r.r(t);var u={mounted(){window.onpopstate=this.popstateChange,window.history.pushState("forward",null,"#")},destroyed(){window.onpopstate=null}},a=r(11),c=r.n(a);var f=r(1),l=r.n(f);let p={methods:{_copyField:n,_jsonCopy:o,_readUrlQuery:i,_strEncryp:s}};const d={install:e=>(console.log(l.a),l.a.interceptors.request.use(e=>(console.log(e),e)),l.a.interceptors.response.use(e=>(console.log(e),Promise.resolve(e))),e.mixin(p),l.a),_readFile:function(e){return new Promise(t=>{if(window.FileReader){let r=e.currentTarget?e.currentTarget.files[0]:e,n=new FileReader;n.readAsText(r),n.onload=()=>{t(n.result)}}else if(void 0!==window.ActiveXObject){let r;(r=new ActiveXObject("Microsoft.XMLDOM")).async=!1,t(r.load(e))}else if(document.implementation&&document.implementation.createDocument){let r;(r=document.implementation.createDocument("","",null)).async=!1,t(r.load(e))}})},_copyField:n,_jsonCopy:o,_readUrlQuery:i,_strEncryp:s,_popState:u,_webpackConsole:{fz:[" _ooOoo_ "," o8888888o ",' 88" . "88 '," (| ^_^ |) "," O\\ = /O "," ____/`---'\\____ "," .' \\\\| |// `. "," / \\||| : |||// \\ "," / _||||| -:- |||||- \\ "," | | \\\\\\ - /// | | "," | \\_| ''\\---/'' | | "," \\ .-\\__ `-` ___/-. / "," ___`. .' /--.--\\ `. . ___ "," .'' '< `.___\\_<|>_/___.' >''. "," | | : `- \\`.;`\\ _ /`;.`/ - ` : | | "," \\ \\ `-. \\_ __\\ /__ _/ .-` / / "," ========`-.____`-.___\\_____/___.-`____.-'======== "," `=---=' "," ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "," 佛祖保佑 希望设计和测试永远不找我麻烦 ","////////////////////////////////////////////////////////////////"," 如果写代码不是为了玩,那将毫无意义 ———— Mr.zhou "],ss:[" ┌─┐ ┌─┐"," ┌──┘ ┴───────┘ ┴──┐"," │=================│"," │ ─── │"," │ ─┬┘ └┬─ │"," │ │"," │ ─┴─ │"," │ │"," └───┐ ┌───┘"," │ │"," │ │"," │ │"," │ └──────────────┐"," │ │"," │ ├─┐"," │ ┌─┘"," │ │"," └─┐ ┐ ┌───────┬──┐ ┌──┘"," │ ─┤ ─┤ │ ─┤ ─┤"," └──┴──┘ └──┴──┘"," "," 此时一只草泥马正在路过你的项目。。。","////////////////////////////////////////////////////////////////"," 如果写代码不是为了玩,那将毫无意义 ———— Mr.zhou "]},_vaileFile:class{constructor(e){this.file=e,this.whileMax=Math.floor(e.size/10>10485760?10485760:e.size/10),this.whileNumber=e.size<=10485760?10:Math.ceil(e.size/this.whileMax),this.sliceEnd=Math.floor(10485760/e.size*100/this.whileNumber*this.whileMax),this.sliceEnd=this.whileNumber>10?this.sliceEnd:10485760,this.start=0,this.end=0}async vaildArrayBuffer(){let e=[];for(;this.whileNumber--;){this.start=this.end,this.end=this.end+this.whileMax;let{start:t,end:r,sliceEnd:n,file:o}=this,i=new Promise((e,i)=>{const s=new FileReader;s.readAsArrayBuffer(o.slice(t,r)),s.onload=()=>{e(new Uint8Array(s.result).slice(0,n).join(""))}});e.push(i)}return c()((await Promise.all(e)).join(""))}}};t.default=d}]).default; | ||
| t.exports=function(t){return null!=t&&(r(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&r(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,r){"use strict";function n(t){let{from:e,to:r="form",config:n}=t;if(!e||!n)return new Error("缺少必要参数");let o="string"==typeof r?this[r]:r,i="string"==typeof e?this[e]:e;Object.entries(n).forEach(t=>{o[t[0]]=i[t[1]]})}function o(t){return JSON.parse(JSON.stringify(t))}function i(t){let e=window.location.search.substring(1).split("&");if(!e[0]){if(!window.location.hash.substring(1).split("?")[1])return"";e=window.location.hash.substring(1).split("?")[1].split("&")}for(let r=0;r<e.length;r++){let n=e[r].split("=");if(n[0]==t)return n[1]}}function s(t,e,r){if([t,e,r].find(t=>!t))return;let n="",o=t.length,i=r<0?o+r:r,s=i-e;for(s=s>o-e?o-e:s;s--;)n+="*";return`${t.substring(0,e)}${n}${t.substring(i,o)}`}r.r(e);var u={mounted(){window.onpopstate=this.popstateChange,window.history.pushState("forward",null,"#")},destroyed(){window.onpopstate=null}},l=r(1),a=r.n(l);let f={methods:{_copyField:n,_jsonCopy:o,_readUrlQuery:i,_strEncryp:s}};const c={install:t=>{t.mixin(f)},_readFile:function(t){return new Promise(e=>{if(window.FileReader){let r=t.currentTarget?t.currentTarget.files[0]:t,n=new FileReader;n.readAsText(r),n.onload=()=>{e(n.result)}}else if(void 0!==window.ActiveXObject){let r;(r=new ActiveXObject("Microsoft.XMLDOM")).async=!1,e(r.load(t))}else if(document.implementation&&document.implementation.createDocument){let r;(r=document.implementation.createDocument("","",null)).async=!1,e(r.load(t))}})},_copyField:n,_jsonCopy:o,_readUrlQuery:i,_strEncryp:s,_popState:u,_webpackConsole:{fz:[" _ooOoo_ "," o8888888o ",' 88" . "88 '," (| ^_^ |) "," O\\ = /O "," ____/`---'\\____ "," .' \\\\| |// `. "," / \\||| : |||// \\ "," / _||||| -:- |||||- \\ "," | | \\\\\\ - /// | | "," | \\_| ''\\---/'' | | "," \\ .-\\__ `-` ___/-. / "," ___`. .' /--.--\\ `. . ___ "," .'' '< `.___\\_<|>_/___.' >''. "," | | : `- \\`.;`\\ _ /`;.`/ - ` : | | "," \\ \\ `-. \\_ __\\ /__ _/ .-` / / "," ========`-.____`-.___\\_____/___.-`____.-'======== "," `=---=' "," ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "," 佛祖保佑 希望设计和测试永远不找我麻烦 ","////////////////////////////////////////////////////////////////"," 如果写代码不是为了玩,那将毫无意义 ———— Mr.zhou "],ss:[" ┌─┐ ┌─┐"," ┌──┘ ┴───────┘ ┴──┐"," │=================│"," │ ─── │"," │ ─┬┘ └┬─ │"," │ │"," │ ─┴─ │"," │ │"," └───┐ ┌───┘"," │ │"," │ │"," │ │"," │ └──────────────┐"," │ │"," │ ├─┐"," │ ┌─┘"," │ │"," └─┐ ┐ ┌───────┬──┐ ┌──┘"," │ ─┤ ─┤ │ ─┤ ─┤"," └──┴──┘ └──┴──┘"," "," 此时一只草泥马正在路过你的项目。。。","////////////////////////////////////////////////////////////////"," 如果写代码不是为了玩,那将毫无意义 ———— Mr.zhou "]},_vaileFile:class{constructor(t){this.file=t,this.whileMax=Math.floor(t.size/10>10485760?10485760:t.size/10),this.whileNumber=t.size<=10485760?10:Math.ceil(t.size/this.whileMax),this.sliceEnd=Math.floor(10485760/t.size*100/this.whileNumber*this.whileMax),this.sliceEnd=this.whileNumber>10?this.sliceEnd:10485760,this.start=0,this.end=0}async vaildArrayBuffer(){let t=[];for(;this.whileNumber--;){this.start=this.end,this.end=this.end+this.whileMax;let{start:e,end:r,sliceEnd:n,file:o}=this,i=new Promise((t,i)=>{const s=new FileReader;s.readAsArrayBuffer(o.slice(e,r)),s.onload=()=>{t(new Uint8Array(s.result).slice(0,n).join(""))}});t.push(i)}return a()((await Promise.all(t)).join(""))}}};e.default=c}]).default; |
+1
-1
| { | ||
| "name": "zjsmethods", | ||
| "version": "1.5.2", | ||
| "version": "1.5.3", | ||
| "keywords": [ | ||
@@ -5,0 +5,0 @@ "zjs", |
15320
-49.64%30
-48.28%