@nocobase/app 1.3.39-beta → 1.4.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/.umirc.ts +12 -14
- package/client/src/pages/index.tsx +3 -0
- package/dist/client/4607.bae81918.async.js +1 -0
- package/dist/client/5617.d114c98c.async.js +78 -0
- package/dist/client/5721.ee2b0cf3.async.js +7 -0
- package/dist/client/index.html +2 -1
- package/dist/client/index.html.tpl +2 -1
- package/dist/client/npm._at_ant-design.e1f1f4b0.async.js +110 -0
- package/dist/client/{npm._at_antv.5ea2df50.async.js → npm._at_antv.56fcebdf.async.js} +5 -5
- package/dist/client/npm._at_budibase.113c5b6a.async.js +36 -0
- package/dist/client/npm._at_dnd-kit.2fac5dde.async.js +9 -0
- package/dist/client/npm._at_emotion.6969cd50.async.js +2 -0
- package/dist/client/npm._at_formily.b1a03e41.async.js +96 -0
- package/dist/client/npm._at_formulajs.ff63776b.async.js +1 -0
- package/dist/client/npm._at_rc-component.43f95f42.async.js +5 -0
- package/dist/client/npm._at_remix-run.9a0418a9.async.js +2 -0
- package/dist/client/npm.ahooks.b416801a.async.js +6 -0
- package/dist/client/npm.antd-style.ecb45bdd.async.js +1 -0
- package/dist/client/npm.antd.732d7b9d.async.js +476 -0
- package/dist/client/npm.axios.c42e25ff.async.js +11 -0
- package/dist/client/npm.bignumber.js.cb49cd48.async.js +1 -0
- package/dist/client/npm.buffer.6f3eca94.async.js +1 -0
- package/dist/client/npm.cytoscape.cba0c14d.async.js +5 -0
- package/dist/client/{npm.d3-selection.e2684be8.async.js → npm.d3-selection.15d6ab5b.async.js} +1 -1
- package/dist/client/npm.d3-shape.b48fc404.async.js +1 -0
- package/dist/client/{npm.d3-transition.83e0f431.async.js → npm.d3-transition.5fd82a9c.async.js} +1 -1
- package/dist/client/{npm.dayjs.f4357565.async.js → npm.dayjs.0a5fd152.async.js} +1 -1
- package/dist/client/{npm.decimal.js.bb6d6d2e.async.js → npm.decimal.js.19391b1c.async.js} +1 -1
- package/dist/client/npm.dompurify.d5071c22.async.js +3 -0
- package/dist/client/{npm.elkjs.d0ff4db1.async.js → npm.elkjs.f35a7d45.async.js} +4 -4
- package/dist/client/npm.gl-matrix.d851d654.async.js +1 -0
- package/dist/client/{npm.handlebars.c04806e7.async.js → npm.handlebars.ade4c4fe.async.js} +5 -5
- package/dist/client/{npm.highlight.js.4213abe5.async.js → npm.highlight.js.8a8320c8.async.js} +1 -1
- package/dist/client/{npm.html-tokenize.360bb6e8.async.js → npm.html-tokenize.a6d58ae7.async.js} +1 -1
- package/dist/client/npm.htmlparser2.27ad86bc.async.js +2 -0
- package/dist/client/npm.i18next.98bb572b.async.js +1 -0
- package/dist/client/npm.json5.d58066fd.async.js +14 -0
- package/dist/client/npm.jstat.733c0b2c.async.js +1 -0
- package/dist/client/{npm.layout-base.49e322a0.async.js → npm.layout-base.0bdb6d00.async.js} +1 -1
- package/dist/client/npm.lodash-es.c06b3dd5.async.js +1 -0
- package/dist/client/npm.lodash.0ff318b3.async.js +37 -0
- package/dist/client/npm.markdown-it.5b35f93d.async.js +15 -0
- package/dist/client/npm.mathjs.fd97f3b7.async.js +52 -0
- package/dist/client/npm.mermaid.defd0c88.async.js +1529 -0
- package/dist/client/npm.moment.36abbf2c.async.js +4 -0
- package/dist/client/npm.picomatch.7a2f1314.async.js +1 -0
- package/dist/client/npm.postcss.2ccf11ae.async.js +27 -0
- package/dist/client/{npm.quill.e91b3c12.async.js → npm.quill.9d4c2cd1.async.js} +7 -7
- package/dist/client/{npm.rc-menu.2e06b9c3.async.js → npm.rc-menu.adf5ade6.async.js} +1 -1
- package/dist/client/npm.rc-picker.ef8a3e8b.async.js +1 -0
- package/dist/client/{npm.rc-select.13236fb8.async.js → npm.rc-select.7c36e54e.async.js} +2 -2
- package/dist/client/{npm.rc-table.de3dd762.async.js → npm.rc-table.a153e021.async.js} +1 -1
- package/dist/client/npm.rc-tree.f61b7d87.async.js +1 -0
- package/dist/client/npm.rc-util.23a9b855.async.js +18 -0
- package/dist/client/npm.react-dom.b9fb5fd7.async.js +11 -0
- package/dist/client/npm.react-image-lightbox.727d3218.async.js +3 -0
- package/dist/client/npm.react-router-dom.832efba3.async.js +1 -0
- package/dist/client/npm.readable-stream.6e743f2a.async.js +1 -0
- package/dist/client/p__index.89314c11.async.js +1533 -0
- package/dist/client/umi.9e319d79.js +21 -0
- package/lib/index.js +11 -3
- package/package.json +6 -6
- package/src/index.ts +12 -9
- package/dist/client/4607.6d585996.async.js +0 -1
- package/dist/client/5721.cf90e884.async.js +0 -8
- package/dist/client/6718.1e7fe05d.async.js +0 -66
- package/dist/client/npm._at_ant-design.4fe52a2f.async.js +0 -110
- package/dist/client/npm._at_dnd-kit.01a3ad70.async.js +0 -6
- package/dist/client/npm._at_emotion.0c6b11eb.async.js +0 -2
- package/dist/client/npm._at_formily.f9d0b213.async.js +0 -101
- package/dist/client/npm._at_formulajs.fe3f9fca.async.js +0 -1
- package/dist/client/npm._at_rc-component.086dbf23.async.js +0 -5
- package/dist/client/npm._at_remix-run.55137b87.async.js +0 -3
- package/dist/client/npm.ahooks.c3df4eb6.async.js +0 -6
- package/dist/client/npm.antd-style.47ebbe31.async.js +0 -1
- package/dist/client/npm.antd.91188318.async.js +0 -476
- package/dist/client/npm.axios.f696c6e5.async.js +0 -2
- package/dist/client/npm.bignumber.js.70d3d7e8.async.js +0 -1
- package/dist/client/npm.buffer.9cce4593.async.js +0 -1
- package/dist/client/npm.cytoscape.39239e7b.async.js +0 -5
- package/dist/client/npm.d3-shape.3660138b.async.js +0 -1
- package/dist/client/npm.dompurify.93b5a130.async.js +0 -3
- package/dist/client/npm.gl-matrix.31b80e16.async.js +0 -1
- package/dist/client/npm.htmlparser2.cbbea4c4.async.js +0 -2
- package/dist/client/npm.i18next.eee0fc0f.async.js +0 -1
- package/dist/client/npm.json5.87aca70f.async.js +0 -14
- package/dist/client/npm.jstat.657c7dba.async.js +0 -1
- package/dist/client/npm.lodash-es.5eff0420.async.js +0 -1
- package/dist/client/npm.lodash.0f9322fa.async.js +0 -37
- package/dist/client/npm.markdown-it.5875530c.async.js +0 -15
- package/dist/client/npm.mathjs.d8df2940.async.js +0 -53
- package/dist/client/npm.mermaid.7057e144.async.js +0 -1530
- package/dist/client/npm.moment.3c26e672.async.js +0 -4
- package/dist/client/npm.postcss.368fceaf.async.js +0 -28
- package/dist/client/npm.rc-picker.218fa2cc.async.js +0 -1
- package/dist/client/npm.rc-tree.bdb9cee8.async.js +0 -1
- package/dist/client/npm.rc-util.87a2c212.async.js +0 -18
- package/dist/client/npm.react-dom.6236e62b.async.js +0 -11
- package/dist/client/npm.react-image-lightbox.0e0cf81f.async.js +0 -3
- package/dist/client/npm.react-router-dom.06c80c5d.async.js +0 -2
- package/dist/client/npm.readable-stream.41117b5f.async.js +0 -1
- package/dist/client/p__index.4ee03ea9.async.js +0 -1509
- package/dist/client/umi.99c57684.js +0 -22
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[9278],{9669:function(p,x,r){p.exports=r(51609)},55448:function(p,x,r){"use strict";var a=r(64867),c=r(36026),l=r(4372),t=r(15327),n=r(94097),u=r(84109),i=r(67985),o=r(85061),d=r(77874),h=r(65263);p.exports=function(e){return new Promise(function(y,S){var w=e.data,C=e.headers,A=e.responseType,P;function g(){e.cancelToken&&e.cancelToken.unsubscribe(P),e.signal&&e.signal.removeEventListener("abort",P)}a.isFormData(w)&&delete C["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var R=e.auth.username||"",B=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";C.Authorization="Basic "+btoa(R+":"+B)}var U=n(e.baseURL,e.url);m.open(e.method.toUpperCase(),t(U,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function s(){if(m){var E="getAllResponseHeaders"in m?u(m.getAllResponseHeaders()):null,N=!A||A==="text"||A==="json"?m.responseText:m.response,b={data:N,status:m.status,statusText:m.statusText,headers:E,config:e,request:m};c(function(j){y(j),g()},function(j){S(j),g()},b),m=null}}if("onloadend"in m?m.onloadend=s:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(s)},m.onabort=function(){m&&(S(o("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){S(o("Network Error",e,null,m)),m=null},m.ontimeout=function(){var N=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",b=e.transitional||d;e.timeoutErrorMessage&&(N=e.timeoutErrorMessage),S(o(N,e,b.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},a.isStandardBrowserEnv()){var O=(e.withCredentials||i(U))&&e.xsrfCookieName?l.read(e.xsrfCookieName):void 0;O&&(C[e.xsrfHeaderName]=O)}"setRequestHeader"in m&&a.forEach(C,function(N,b){typeof w=="undefined"&&b.toLowerCase()==="content-type"?delete C[b]:m.setRequestHeader(b,N)}),a.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),A&&A!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(P=function(E){m&&(S(!E||E&&E.type?new h("canceled"):E),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(P),e.signal&&(e.signal.aborted?P():e.signal.addEventListener("abort",P))),w||(w=null),m.send(w)})}},51609:function(p,x,r){"use strict";var a=r(64867),c=r(91849),l=r(30321),t=r(47185),n=r(45546);function u(o){var d=new l(o),h=c(l.prototype.request,d);return a.extend(h,l.prototype,d),a.extend(h,d),h.create=function(e){return u(t(o,e))},h}var i=u(n);i.Axios=l,i.Cancel=r(65263),i.CancelToken=r(14972),i.isCancel=r(26502),i.VERSION=r(97288).version,i.all=function(d){return Promise.all(d)},i.spread=r(8713),i.isAxiosError=r(16268),p.exports=i,p.exports.default=i},65263:function(p){"use strict";function x(r){this.message=r}x.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},x.prototype.__CANCEL__=!0,p.exports=x},14972:function(p,x,r){"use strict";var a=r(65263);function c(l){if(typeof l!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(u){if(n._listeners){var i,o=n._listeners.length;for(i=0;i<o;i++)n._listeners[i](u);n._listeners=null}}),this.promise.then=function(u){var i,o=new Promise(function(d){n.subscribe(d),i=d}).then(u);return o.cancel=function(){n.unsubscribe(i)},o},l(function(i){n.reason||(n.reason=new a(i),t(n.reason))})}c.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},c.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]},c.prototype.unsubscribe=function(t){if(this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}},c.source=function(){var t,n=new c(function(i){t=i});return{token:n,cancel:t}},p.exports=c},26502:function(p){"use strict";p.exports=function(r){return!!(r&&r.__CANCEL__)}},30321:function(p,x,r){"use strict";var a=r(64867),c=r(15327),l=r(80782),t=r(13572),n=r(47185),u=r(54875),i=u.validators;function o(d){this.defaults=d,this.interceptors={request:new l,response:new l}}o.prototype.request=function(h,f){typeof h=="string"?(f=f||{},f.url=h):f=h||{},f=n(this.defaults,f),f.method?f.method=f.method.toLowerCase():this.defaults.method?f.method=this.defaults.method.toLowerCase():f.method="get";var e=f.transitional;e!==void 0&&u.assertOptions(e,{silentJSONParsing:i.transitional(i.boolean),forcedJSONParsing:i.transitional(i.boolean),clarifyTimeoutError:i.transitional(i.boolean)},!1);var v=[],y=!0;this.interceptors.request.forEach(function(R){typeof R.runWhen=="function"&&R.runWhen(f)===!1||(y=y&&R.synchronous,v.unshift(R.fulfilled,R.rejected))});var S=[];this.interceptors.response.forEach(function(R){S.push(R.fulfilled,R.rejected)});var w;if(!y){var C=[t,void 0];for(Array.prototype.unshift.apply(C,v),C=C.concat(S),w=Promise.resolve(f);C.length;)w=w.then(C.shift(),C.shift());return w}for(var A=f;v.length;){var P=v.shift(),g=v.shift();try{A=P(A)}catch(m){g(m);break}}try{w=t(A)}catch(m){return Promise.reject(m)}for(;S.length;)w=w.then(S.shift(),S.shift());return w},o.prototype.getUri=function(h){return h=n(this.defaults,h),c(h.url,h.params,h.paramsSerializer).replace(/^\?/,"")},a.forEach(["delete","get","head","options"],function(h){o.prototype[h]=function(f,e){return this.request(n(e||{},{method:h,url:f,data:(e||{}).data}))}}),a.forEach(["post","put","patch"],function(h){o.prototype[h]=function(f,e,v){return this.request(n(v||{},{method:h,url:f,data:e}))}}),p.exports=o},80782:function(p,x,r){"use strict";var a=r(64867);function c(){this.handlers=[]}c.prototype.use=function(t,n,u){return this.handlers.push({fulfilled:t,rejected:n,synchronous:u?u.synchronous:!1,runWhen:u?u.runWhen:null}),this.handlers.length-1},c.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},c.prototype.forEach=function(t){a.forEach(this.handlers,function(u){u!==null&&t(u)})},p.exports=c},94097:function(p,x,r){"use strict";var a=r(91793),c=r(7303);p.exports=function(t,n){return t&&!a(n)?c(t,n):n}},85061:function(p,x,r){"use strict";var a=r(80481);p.exports=function(l,t,n,u,i){var o=new Error(l);return a(o,t,n,u,i)}},13572:function(p,x,r){"use strict";var a=r(64867),c=r(18527),l=r(26502),t=r(45546),n=r(65263);function u(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new n("canceled")}p.exports=function(o){u(o),o.headers=o.headers||{},o.data=c.call(o,o.data,o.headers,o.transformRequest),o.headers=a.merge(o.headers.common||{},o.headers[o.method]||{},o.headers),a.forEach(["delete","get","head","post","put","patch","common"],function(f){delete o.headers[f]});var d=o.adapter||t.adapter;return d(o).then(function(f){return u(o),f.data=c.call(o,f.data,f.headers,o.transformResponse),f},function(f){return l(f)||(u(o),f&&f.response&&(f.response.data=c.call(o,f.response.data,f.response.headers,o.transformResponse))),Promise.reject(f)})}},80481:function(p){"use strict";p.exports=function(r,a,c,l,t){return r.config=a,c&&(r.code=c),r.request=l,r.response=t,r.isAxiosError=!0,r.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,status:this.response&&this.response.status?this.response.status:null}},r}},47185:function(p,x,r){"use strict";var a=r(64867);p.exports=function(l,t){t=t||{};var n={};function u(e,v){return a.isPlainObject(e)&&a.isPlainObject(v)?a.merge(e,v):a.isPlainObject(v)?a.merge({},v):a.isArray(v)?v.slice():v}function i(e){if(a.isUndefined(t[e])){if(!a.isUndefined(l[e]))return u(void 0,l[e])}else return u(l[e],t[e])}function o(e){if(!a.isUndefined(t[e]))return u(void 0,t[e])}function d(e){if(a.isUndefined(t[e])){if(!a.isUndefined(l[e]))return u(void 0,l[e])}else return u(void 0,t[e])}function h(e){if(e in t)return u(l[e],t[e]);if(e in l)return u(void 0,l[e])}var f={url:o,method:o,data:o,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:h};return a.forEach(Object.keys(l).concat(Object.keys(t)),function(v){var y=f[v]||i,S=y(v);a.isUndefined(S)&&y!==h||(n[v]=S)}),n}},36026:function(p,x,r){"use strict";var a=r(85061);p.exports=function(l,t,n){var u=n.config.validateStatus;!n.status||!u||u(n.status)?l(n):t(a("Request failed with status code "+n.status,n.config,null,n.request,n))}},18527:function(p,x,r){"use strict";var a=r(64867),c=r(45546);p.exports=function(t,n,u){var i=this||c;return a.forEach(u,function(d){t=d.call(i,t,n)}),t}},45546:function(p,x,r){"use strict";var a=r(34155),c=r(64867),l=r(16016),t=r(80481),n=r(77874),u={"Content-Type":"application/x-www-form-urlencoded"};function i(f,e){!c.isUndefined(f)&&c.isUndefined(f["Content-Type"])&&(f["Content-Type"]=e)}function o(){var f;return(typeof XMLHttpRequest!="undefined"||typeof a!="undefined"&&Object.prototype.toString.call(a)==="[object process]")&&(f=r(55448)),f}function d(f,e,v){if(c.isString(f))try{return(e||JSON.parse)(f),c.trim(f)}catch(y){if(y.name!=="SyntaxError")throw y}return(v||JSON.stringify)(f)}var h={transitional:n,adapter:o(),transformRequest:[function(e,v){return l(v,"Accept"),l(v,"Content-Type"),c.isFormData(e)||c.isArrayBuffer(e)||c.isBuffer(e)||c.isStream(e)||c.isFile(e)||c.isBlob(e)?e:c.isArrayBufferView(e)?e.buffer:c.isURLSearchParams(e)?(i(v,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):c.isObject(e)||v&&v["Content-Type"]==="application/json"?(i(v,"application/json"),d(e)):e}],transformResponse:[function(e){var v=this.transitional||h.transitional,y=v&&v.silentJSONParsing,S=v&&v.forcedJSONParsing,w=!y&&this.responseType==="json";if(w||S&&c.isString(e)&&e.length)try{return JSON.parse(e)}catch(C){if(w)throw C.name==="SyntaxError"?t(C,this,"E_JSON_PARSE"):C}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};c.forEach(["delete","get","head"],function(e){h.headers[e]={}}),c.forEach(["post","put","patch"],function(e){h.headers[e]=c.merge(u)}),p.exports=h},77874:function(p){"use strict";p.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},97288:function(p){p.exports={version:"0.26.1"}},91849:function(p){"use strict";p.exports=function(r,a){return function(){for(var l=new Array(arguments.length),t=0;t<l.length;t++)l[t]=arguments[t];return r.apply(a,l)}}},15327:function(p,x,r){"use strict";var a=r(64867);function c(l){return encodeURIComponent(l).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}p.exports=function(t,n,u){if(!n)return t;var i;if(u)i=u(n);else if(a.isURLSearchParams(n))i=n.toString();else{var o=[];a.forEach(n,function(f,e){f===null||typeof f=="undefined"||(a.isArray(f)?e=e+"[]":f=[f],a.forEach(f,function(y){a.isDate(y)?y=y.toISOString():a.isObject(y)&&(y=JSON.stringify(y)),o.push(c(e)+"="+c(y))}))}),i=o.join("&")}if(i){var d=t.indexOf("#");d!==-1&&(t=t.slice(0,d)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}},7303:function(p){"use strict";p.exports=function(r,a){return a?r.replace(/\/+$/,"")+"/"+a.replace(/^\/+/,""):r}},4372:function(p,x,r){"use strict";var a=r(64867);p.exports=a.isStandardBrowserEnv()?function(){return{write:function(t,n,u,i,o,d){var h=[];h.push(t+"="+encodeURIComponent(n)),a.isNumber(u)&&h.push("expires="+new Date(u).toGMTString()),a.isString(i)&&h.push("path="+i),a.isString(o)&&h.push("domain="+o),d===!0&&h.push("secure"),document.cookie=h.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},91793:function(p){"use strict";p.exports=function(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}},16268:function(p,x,r){"use strict";var a=r(64867);p.exports=function(l){return a.isObject(l)&&l.isAxiosError===!0}},67985:function(p,x,r){"use strict";var a=r(64867);p.exports=a.isStandardBrowserEnv()?function(){var l=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a"),n;function u(i){var o=i;return l&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=u(window.location.href),function(o){var d=a.isString(o)?u(o):o;return d.protocol===n.protocol&&d.host===n.host}}():function(){return function(){return!0}}()},16016:function(p,x,r){"use strict";var a=r(64867);p.exports=function(l,t){a.forEach(l,function(u,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(l[t]=u,delete l[i])})}},84109:function(p,x,r){"use strict";var a=r(64867),c=["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"];p.exports=function(t){var n={},u,i,o;return t&&a.forEach(t.split(`
|
|
2
|
-
`),function(h){if(o=h.indexOf(":"),u=a.trim(h.substr(0,o)).toLowerCase(),i=a.trim(h.substr(o+1)),u){if(n[u]&&c.indexOf(u)>=0)return;u==="set-cookie"?n[u]=(n[u]?n[u]:[]).concat([i]):n[u]=n[u]?n[u]+", "+i:i}}),n}},8713:function(p){"use strict";p.exports=function(r){return function(c){return r.apply(null,c)}}},54875:function(p,x,r){"use strict";var a=r(97288).version,c={};["object","boolean","number","function","string","symbol"].forEach(function(n,u){c[n]=function(o){return typeof o===n||"a"+(u<1?"n ":" ")+n}});var l={};c.transitional=function(u,i,o){function d(h,f){return"[Axios v"+a+"] Transitional option '"+h+"'"+f+(o?". "+o:"")}return function(h,f,e){if(u===!1)throw new Error(d(f," has been removed"+(i?" in "+i:"")));return i&&!l[f]&&(l[f]=!0,console.warn(d(f," has been deprecated since v"+i+" and will be removed in the near future"))),u?u(h,f,e):!0}};function t(n,u,i){if(typeof n!="object")throw new TypeError("options must be an object");for(var o=Object.keys(n),d=o.length;d-- >0;){var h=o[d],f=u[h];if(f){var e=n[h],v=e===void 0||f(e,h,n);if(v!==!0)throw new TypeError("option "+h+" must be "+v);continue}if(i!==!0)throw Error("Unknown option "+h)}}p.exports={assertOptions:t,validators:c}},64867:function(p,x,r){"use strict";var a=r(91849),c=Object.prototype.toString;function l(s){return Array.isArray(s)}function t(s){return typeof s=="undefined"}function n(s){return s!==null&&!t(s)&&s.constructor!==null&&!t(s.constructor)&&typeof s.constructor.isBuffer=="function"&&s.constructor.isBuffer(s)}function u(s){return c.call(s)==="[object ArrayBuffer]"}function i(s){return c.call(s)==="[object FormData]"}function o(s){var O;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?O=ArrayBuffer.isView(s):O=s&&s.buffer&&u(s.buffer),O}function d(s){return typeof s=="string"}function h(s){return typeof s=="number"}function f(s){return s!==null&&typeof s=="object"}function e(s){if(c.call(s)!=="[object Object]")return!1;var O=Object.getPrototypeOf(s);return O===null||O===Object.prototype}function v(s){return c.call(s)==="[object Date]"}function y(s){return c.call(s)==="[object File]"}function S(s){return c.call(s)==="[object Blob]"}function w(s){return c.call(s)==="[object Function]"}function C(s){return f(s)&&w(s.pipe)}function A(s){return c.call(s)==="[object URLSearchParams]"}function P(s){return s.trim?s.trim():s.replace(/^\s+|\s+$/g,"")}function g(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function m(s,O){if(!(s===null||typeof s=="undefined"))if(typeof s!="object"&&(s=[s]),l(s))for(var E=0,N=s.length;E<N;E++)O.call(null,s[E],E,s);else for(var b in s)Object.prototype.hasOwnProperty.call(s,b)&&O.call(null,s[b],b,s)}function R(){var s={};function O(b,T){e(s[T])&&e(b)?s[T]=R(s[T],b):e(b)?s[T]=R({},b):l(b)?s[T]=b.slice():s[T]=b}for(var E=0,N=arguments.length;E<N;E++)m(arguments[E],O);return s}function B(s,O,E){return m(O,function(b,T){E&&typeof b=="function"?s[T]=a(b,E):s[T]=b}),s}function U(s){return s.charCodeAt(0)===65279&&(s=s.slice(1)),s}p.exports={isArray:l,isArrayBuffer:u,isBuffer:n,isFormData:i,isArrayBufferView:o,isString:d,isNumber:h,isObject:f,isPlainObject:e,isUndefined:t,isDate:v,isFile:y,isBlob:S,isFunction:w,isStream:C,isURLSearchParams:A,isStandardBrowserEnv:g,forEach:m,merge:R,extend:B,trim:P,stripBOM:U}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[3147],{70794:function(me,Ee,_e){var Ne=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,te=Math.ceil,G=Math.floor,C="[BigNumber Error] ",pe=C+"Number primitive has more than 15 significant digits: ",z=1e14,E=14,fe=9007199254740991,le=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Y=1e7,D=1e9;function ge(O){var N,v,R,p=h.prototype={constructor:h,toString:null,valueOf:null},T=new h(1),A=20,S=4,L=-7,U=21,Q=-1e7,H=1e7,K=!1,b=1,Z=0,se={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xA0",suffix:""},j="0123456789abcdefghijklmnopqrstuvwxyz",oe=!0;function h(e,r){var i,o,t,l,c,n,f,u,s=this;if(!(s instanceof h))return new h(e,r);if(r==null){if(e&&e._isBigNumber===!0){s.s=e.s,!e.c||e.e>H?s.c=s.e=null:e.e<Q?s.c=[s.e=0]:(s.e=e.e,s.c=e.c.slice());return}if((n=typeof e=="number")&&e*0==0){if(s.s=1/e<0?(e=-e,-1):1,e===~~e){for(l=0,c=e;c>=10;c/=10,l++);l>H?s.c=s.e=null:(s.e=l,s.c=[e]);return}u=String(e)}else{if(!Ne.test(u=String(e)))return R(s,u,n);s.s=u.charCodeAt(0)==45?(u=u.slice(1),-1):1}(l=u.indexOf("."))>-1&&(u=u.replace(".","")),(c=u.search(/e/i))>0?(l<0&&(l=c),l+=+u.slice(c+1),u=u.substring(0,c)):l<0&&(l=u.length)}else{if(x(r,2,j.length,"Base"),r==10&&oe)return s=new h(e),y(s,A+s.e+1,S);if(u=String(e),n=typeof e=="number"){if(e*0!=0)return R(s,u,n,r);if(s.s=1/e<0?(u=u.slice(1),-1):1,h.DEBUG&&u.replace(/^0\.0*|\./,"").length>15)throw Error(pe+e)}else s.s=u.charCodeAt(0)===45?(u=u.slice(1),-1):1;for(i=j.slice(0,r),l=c=0,f=u.length;c<f;c++)if(i.indexOf(o=u.charAt(c))<0){if(o=="."){if(c>l){l=f;continue}}else if(!t&&(u==u.toUpperCase()&&(u=u.toLowerCase())||u==u.toLowerCase()&&(u=u.toUpperCase()))){t=!0,c=-1,l=0;continue}return R(s,String(e),n,r)}n=!1,u=v(u,r,10,s.s),(l=u.indexOf("."))>-1?u=u.replace(".",""):l=u.length}for(c=0;u.charCodeAt(c)===48;c++);for(f=u.length;u.charCodeAt(--f)===48;);if(u=u.slice(c,++f)){if(f-=c,n&&h.DEBUG&&f>15&&(e>fe||e!==G(e)))throw Error(pe+s.s*e);if((l=l-c-1)>H)s.c=s.e=null;else if(l<Q)s.c=[s.e=0];else{if(s.e=l,s.c=[],c=(l+1)%E,l<0&&(c+=E),c<f){for(c&&s.c.push(+u.slice(0,c)),f-=E;c<f;)s.c.push(+u.slice(c,c+=E));c=E-(u=u.slice(c)).length}else c-=f;for(;c--;u+="0");s.c.push(+u)}}else s.c=[s.e=0]}h.clone=ge,h.ROUND_UP=0,h.ROUND_DOWN=1,h.ROUND_CEIL=2,h.ROUND_FLOOR=3,h.ROUND_HALF_UP=4,h.ROUND_HALF_DOWN=5,h.ROUND_HALF_EVEN=6,h.ROUND_HALF_CEIL=7,h.ROUND_HALF_FLOOR=8,h.EUCLID=9,h.config=h.set=function(e){var r,i;if(e!=null)if(typeof e=="object"){if(e.hasOwnProperty(r="DECIMAL_PLACES")&&(i=e[r],x(i,0,D,r),A=i),e.hasOwnProperty(r="ROUNDING_MODE")&&(i=e[r],x(i,0,8,r),S=i),e.hasOwnProperty(r="EXPONENTIAL_AT")&&(i=e[r],i&&i.pop?(x(i[0],-D,0,r),x(i[1],0,D,r),L=i[0],U=i[1]):(x(i,-D,D,r),L=-(U=i<0?-i:i))),e.hasOwnProperty(r="RANGE"))if(i=e[r],i&&i.pop)x(i[0],-D,-1,r),x(i[1],1,D,r),Q=i[0],H=i[1];else if(x(i,-D,D,r),i)Q=-(H=i<0?-i:i);else throw Error(C+r+" cannot be zero: "+i);if(e.hasOwnProperty(r="CRYPTO"))if(i=e[r],i===!!i)if(i)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))K=i;else throw K=!i,Error(C+"crypto unavailable");else K=i;else throw Error(C+r+" not true or false: "+i);if(e.hasOwnProperty(r="MODULO_MODE")&&(i=e[r],x(i,0,9,r),b=i),e.hasOwnProperty(r="POW_PRECISION")&&(i=e[r],x(i,0,D,r),Z=i),e.hasOwnProperty(r="FORMAT"))if(i=e[r],typeof i=="object")se=i;else throw Error(C+r+" not an object: "+i);if(e.hasOwnProperty(r="ALPHABET"))if(i=e[r],typeof i=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(i))oe=i.slice(0,10)=="0123456789",j=i;else throw Error(C+r+" invalid: "+i)}else throw Error(C+"Object expected: "+e);return{DECIMAL_PLACES:A,ROUNDING_MODE:S,EXPONENTIAL_AT:[L,U],RANGE:[Q,H],CRYPTO:K,MODULO_MODE:b,POW_PRECISION:Z,FORMAT:se,ALPHABET:j}},h.isBigNumber=function(e){if(!e||e._isBigNumber!==!0)return!1;if(!h.DEBUG)return!0;var r,i,o=e.c,t=e.e,l=e.s;e:if({}.toString.call(o)=="[object Array]"){if((l===1||l===-1)&&t>=-D&&t<=D&&t===G(t)){if(o[0]===0){if(t===0&&o.length===1)return!0;break e}if(r=(t+1)%E,r<1&&(r+=E),String(o[0]).length==r){for(r=0;r<o.length;r++)if(i=o[r],i<0||i>=z||i!==G(i))break e;if(i!==0)return!0}}}else if(o===null&&t===null&&(l===null||l===1||l===-1))return!0;throw Error(C+"Invalid BigNumber: "+e)},h.maximum=h.max=function(){return we(arguments,-1)},h.minimum=h.min=function(){return we(arguments,1)},h.random=function(){var e=9007199254740992,r=Math.random()*e&2097151?function(){return G(Math.random()*e)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(i){var o,t,l,c,n,f=0,u=[],s=new h(T);if(i==null?i=A:x(i,0,D),c=te(i/E),K)if(crypto.getRandomValues){for(o=crypto.getRandomValues(new Uint32Array(c*=2));f<c;)n=o[f]*131072+(o[f+1]>>>11),n>=9e15?(t=crypto.getRandomValues(new Uint32Array(2)),o[f]=t[0],o[f+1]=t[1]):(u.push(n%1e14),f+=2);f=c/2}else if(crypto.randomBytes){for(o=crypto.randomBytes(c*=7);f<c;)n=(o[f]&31)*281474976710656+o[f+1]*1099511627776+o[f+2]*4294967296+o[f+3]*16777216+(o[f+4]<<16)+(o[f+5]<<8)+o[f+6],n>=9e15?crypto.randomBytes(7).copy(o,f):(u.push(n%1e14),f+=7);f=c/7}else throw K=!1,Error(C+"crypto unavailable");if(!K)for(;f<c;)n=r(),n<9e15&&(u[f++]=n%1e14);for(c=u[--f],i%=E,c&&i&&(n=le[E-i],u[f]=G(c/n)*n);u[f]===0;u.pop(),f--);if(f<0)u=[l=0];else{for(l=-1;u[0]===0;u.splice(0,1),l-=E);for(f=1,n=u[0];n>=10;n/=10,f++);f<E&&(l-=E-f)}return s.e=l,s.c=u,s}}(),h.sum=function(){for(var e=1,r=arguments,i=new h(r[0]);e<r.length;)i=i.plus(r[e++]);return i},v=function(){var e="0123456789";function r(i,o,t,l){for(var c,n=[0],f,u=0,s=i.length;u<s;){for(f=n.length;f--;n[f]*=o);for(n[0]+=l.indexOf(i.charAt(u++)),c=0;c<n.length;c++)n[c]>t-1&&(n[c+1]==null&&(n[c+1]=0),n[c+1]+=n[c]/t|0,n[c]%=t)}return n.reverse()}return function(i,o,t,l,c){var n,f,u,s,a,g,w,_,B=i.indexOf("."),M=A,m=S;for(B>=0&&(s=Z,Z=0,i=i.replace(".",""),_=new h(o),g=_.pow(i.length-B),Z=s,_.c=r(V(q(g.c),g.e,"0"),10,t,e),_.e=_.c.length),w=r(i,o,t,c?(n=j,e):(n=e,j)),u=s=w.length;w[--s]==0;w.pop());if(!w[0])return n.charAt(0);if(B<0?--u:(g.c=w,g.e=u,g.s=l,g=N(g,_,M,m,t),w=g.c,a=g.r,u=g.e),f=u+M+1,B=w[f],s=t/2,a=a||f<0||w[f+1]!=null,a=m<4?(B!=null||a)&&(m==0||m==(g.s<0?3:2)):B>s||B==s&&(m==4||a||m==6&&w[f-1]&1||m==(g.s<0?8:7)),f<1||!w[0])i=a?V(n.charAt(1),-M,n.charAt(0)):n.charAt(0);else{if(w.length=f,a)for(--t;++w[--f]>t;)w[f]=0,f||(++u,w=[1].concat(w));for(s=w.length;!w[--s];);for(B=0,i="";B<=s;i+=n.charAt(w[B++]));i=V(i,u,n.charAt(0))}return i}}(),N=function(){function e(o,t,l){var c,n,f,u,s=0,a=o.length,g=t%Y,w=t/Y|0;for(o=o.slice();a--;)f=o[a]%Y,u=o[a]/Y|0,c=w*f+u*g,n=g*f+c%Y*Y+s,s=(n/l|0)+(c/Y|0)+w*u,o[a]=n%l;return s&&(o=[s].concat(o)),o}function r(o,t,l,c){var n,f;if(l!=c)f=l>c?1:-1;else for(n=f=0;n<l;n++)if(o[n]!=t[n]){f=o[n]>t[n]?1:-1;break}return f}function i(o,t,l,c){for(var n=0;l--;)o[l]-=n,n=o[l]<t[l]?1:0,o[l]=n*c+o[l]-t[l];for(;!o[0]&&o.length>1;o.splice(0,1));}return function(o,t,l,c,n){var f,u,s,a,g,w,_,B,M,m,d,P,ne,ae,he,X,ee,$=o.s==t.s?1:-1,k=o.c,I=t.c;if(!k||!k[0]||!I||!I[0])return new h(!o.s||!t.s||(k?I&&k[0]==I[0]:!I)?NaN:k&&k[0]==0||!I?$*0:$/0);for(B=new h($),M=B.c=[],u=o.e-t.e,$=l+u+1,n||(n=z,u=F(o.e/E)-F(t.e/E),$=$/E|0),s=0;I[s]==(k[s]||0);s++);if(I[s]>(k[s]||0)&&u--,$<0)M.push(1),a=!0;else{for(ae=k.length,X=I.length,s=0,$+=2,g=G(n/(I[0]+1)),g>1&&(I=e(I,g,n),k=e(k,g,n),X=I.length,ae=k.length),ne=X,m=k.slice(0,X),d=m.length;d<X;m[d++]=0);ee=I.slice(),ee=[0].concat(ee),he=I[0],I[1]>=n/2&&he++;do{if(g=0,f=r(I,m,X,d),f<0){if(P=m[0],X!=d&&(P=P*n+(m[1]||0)),g=G(P/he),g>1)for(g>=n&&(g=n-1),w=e(I,g,n),_=w.length,d=m.length;r(w,m,_,d)==1;)g--,i(w,X<_?ee:I,_,n),_=w.length,f=1;else g==0&&(f=g=1),w=I.slice(),_=w.length;if(_<d&&(w=[0].concat(w)),i(m,w,d,n),d=m.length,f==-1)for(;r(I,m,X,d)<1;)g++,i(m,X<d?ee:I,d,n),d=m.length}else f===0&&(g++,m=[0]);M[s++]=g,m[0]?m[d++]=k[ne]||0:(m=[k[ne]],d=1)}while((ne++<ae||m[0]!=null)&&$--);a=m[0]!=null,M[0]||M.splice(0,1)}if(n==z){for(s=1,$=M[0];$>=10;$/=10,s++);y(B,l+(B.e=s+u*E-1)+1,c,a)}else B.e=u,B.r=+a;return B}}();function ue(e,r,i,o){var t,l,c,n,f;if(i==null?i=S:x(i,0,8),!e.c)return e.toString();if(t=e.c[0],c=e.e,r==null)f=q(e.c),f=o==1||o==2&&(c<=L||c>=U)?ie(f,c):V(f,c,"0");else if(e=y(new h(e),r,i),l=e.e,f=q(e.c),n=f.length,o==1||o==2&&(r<=l||l<=L)){for(;n<r;f+="0",n++);f=ie(f,l)}else if(r-=c,f=V(f,l,"0"),l+1>n){if(--r>0)for(f+=".";r--;f+="0");}else if(r+=l-n,r>0)for(l+1==n&&(f+=".");r--;f+="0");return e.s<0&&t?"-"+f:f}function we(e,r){for(var i,o,t=1,l=new h(e[0]);t<e.length;t++)o=new h(e[t]),(!o.s||(i=J(l,o))===r||i===0&&l.s===r)&&(l=o);return l}function ce(e,r,i){for(var o=1,t=r.length;!r[--t];r.pop());for(t=r[0];t>=10;t/=10,o++);return(i=o+i*E-1)>H?e.c=e.e=null:i<Q?e.c=[e.e=0]:(e.e=i,e.c=r),e}R=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,r=/^([^.]+)\.$/,i=/^\.([^.]+)$/,o=/^-?(Infinity|NaN)$/,t=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(l,c,n,f){var u,s=n?c:c.replace(t,"");if(o.test(s))l.s=isNaN(s)?null:s<0?-1:1;else{if(!n&&(s=s.replace(e,function(a,g,w){return u=(w=w.toLowerCase())=="x"?16:w=="b"?2:8,!f||f==u?g:a}),f&&(u=f,s=s.replace(r,"$1").replace(i,"0.$1")),c!=s))return new h(s,u);if(h.DEBUG)throw Error(C+"Not a"+(f?" base "+f:"")+" number: "+c);l.s=null}l.c=l.e=null}}();function y(e,r,i,o){var t,l,c,n,f,u,s,a=e.c,g=le;if(a){e:{for(t=1,n=a[0];n>=10;n/=10,t++);if(l=r-t,l<0)l+=E,c=r,f=a[u=0],s=G(f/g[t-c-1]%10);else if(u=te((l+1)/E),u>=a.length)if(o){for(;a.length<=u;a.push(0));f=s=0,t=1,l%=E,c=l-E+1}else break e;else{for(f=n=a[u],t=1;n>=10;n/=10,t++);l%=E,c=l-E+t,s=c<0?0:G(f/g[t-c-1]%10)}if(o=o||r<0||a[u+1]!=null||(c<0?f:f%g[t-c-1]),o=i<4?(s||o)&&(i==0||i==(e.s<0?3:2)):s>5||s==5&&(i==4||o||i==6&&(l>0?c>0?f/g[t-c]:0:a[u-1])%10&1||i==(e.s<0?8:7)),r<1||!a[0])return a.length=0,o?(r-=e.e+1,a[0]=g[(E-r%E)%E],e.e=-r||0):a[0]=e.e=0,e;if(l==0?(a.length=u,n=1,u--):(a.length=u+1,n=g[E-l],a[u]=c>0?G(f/g[t-c]%g[c])*n:0),o)for(;;)if(u==0){for(l=1,c=a[0];c>=10;c/=10,l++);for(c=a[0]+=n,n=1;c>=10;c/=10,n++);l!=n&&(e.e++,a[0]==z&&(a[0]=1));break}else{if(a[u]+=n,a[u]!=z)break;a[u--]=0,n=1}for(l=a.length;a[--l]===0;a.pop());}e.e>H?e.c=e.e=null:e.e<Q&&(e.c=[e.e=0])}return e}function W(e){var r,i=e.e;return i===null?e.toString():(r=q(e.c),r=i<=L||i>=U?ie(r,i):V(r,i,"0"),e.s<0?"-"+r:r)}return p.absoluteValue=p.abs=function(){var e=new h(this);return e.s<0&&(e.s=1),e},p.comparedTo=function(e,r){return J(this,new h(e,r))},p.decimalPlaces=p.dp=function(e,r){var i,o,t,l=this;if(e!=null)return x(e,0,D),r==null?r=S:x(r,0,8),y(new h(l),e+l.e+1,r);if(!(i=l.c))return null;if(o=((t=i.length-1)-F(this.e/E))*E,t=i[t])for(;t%10==0;t/=10,o--);return o<0&&(o=0),o},p.dividedBy=p.div=function(e,r){return N(this,new h(e,r),A,S)},p.dividedToIntegerBy=p.idiv=function(e,r){return N(this,new h(e,r),0,1)},p.exponentiatedBy=p.pow=function(e,r){var i,o,t,l,c,n,f,u,s,a=this;if(e=new h(e),e.c&&!e.isInteger())throw Error(C+"Exponent not an integer: "+W(e));if(r!=null&&(r=new h(r)),n=e.e>14,!a.c||!a.c[0]||a.c[0]==1&&!a.e&&a.c.length==1||!e.c||!e.c[0])return s=new h(Math.pow(+W(a),n?e.s*(2-re(e)):+W(e))),r?s.mod(r):s;if(f=e.s<0,r){if(r.c?!r.c[0]:!r.s)return new h(NaN);o=!f&&a.isInteger()&&r.isInteger(),o&&(a=a.mod(r))}else{if(e.e>9&&(a.e>0||a.e<-1||(a.e==0?a.c[0]>1||n&&a.c[1]>=24e7:a.c[0]<8e13||n&&a.c[0]<=9999975e7)))return l=a.s<0&&re(e)?-0:0,a.e>-1&&(l=1/l),new h(f?1/l:l);Z&&(l=te(Z/E+2))}for(n?(i=new h(.5),f&&(e.s=1),u=re(e)):(t=Math.abs(+W(e)),u=t%2),s=new h(T);;){if(u){if(s=s.times(a),!s.c)break;l?s.c.length>l&&(s.c.length=l):o&&(s=s.mod(r))}if(t){if(t=G(t/2),t===0)break;u=t%2}else if(e=e.times(i),y(e,e.e+1,1),e.e>14)u=re(e);else{if(t=+W(e),t===0)break;u=t%2}a=a.times(a),l?a.c&&a.c.length>l&&(a.c.length=l):o&&(a=a.mod(r))}return o?s:(f&&(s=T.div(s)),r?s.mod(r):l?y(s,Z,S,c):s)},p.integerValue=function(e){var r=new h(this);return e==null?e=S:x(e,0,8),y(r,r.e+1,e)},p.isEqualTo=p.eq=function(e,r){return J(this,new h(e,r))===0},p.isFinite=function(){return!!this.c},p.isGreaterThan=p.gt=function(e,r){return J(this,new h(e,r))>0},p.isGreaterThanOrEqualTo=p.gte=function(e,r){return(r=J(this,new h(e,r)))===1||r===0},p.isInteger=function(){return!!this.c&&F(this.e/E)>this.c.length-2},p.isLessThan=p.lt=function(e,r){return J(this,new h(e,r))<0},p.isLessThanOrEqualTo=p.lte=function(e,r){return(r=J(this,new h(e,r)))===-1||r===0},p.isNaN=function(){return!this.s},p.isNegative=function(){return this.s<0},p.isPositive=function(){return this.s>0},p.isZero=function(){return!!this.c&&this.c[0]==0},p.minus=function(e,r){var i,o,t,l,c=this,n=c.s;if(e=new h(e,r),r=e.s,!n||!r)return new h(NaN);if(n!=r)return e.s=-r,c.plus(e);var f=c.e/E,u=e.e/E,s=c.c,a=e.c;if(!f||!u){if(!s||!a)return s?(e.s=-r,e):new h(a?c:NaN);if(!s[0]||!a[0])return a[0]?(e.s=-r,e):new h(s[0]?c:S==3?-0:0)}if(f=F(f),u=F(u),s=s.slice(),n=f-u){for((l=n<0)?(n=-n,t=s):(u=f,t=a),t.reverse(),r=n;r--;t.push(0));t.reverse()}else for(o=(l=(n=s.length)<(r=a.length))?n:r,n=r=0;r<o;r++)if(s[r]!=a[r]){l=s[r]<a[r];break}if(l&&(t=s,s=a,a=t,e.s=-e.s),r=(o=a.length)-(i=s.length),r>0)for(;r--;s[i++]=0);for(r=z-1;o>n;){if(s[--o]<a[o]){for(i=o;i&&!s[--i];s[i]=r);--s[i],s[o]+=z}s[o]-=a[o]}for(;s[0]==0;s.splice(0,1),--u);return s[0]?ce(e,s,u):(e.s=S==3?-1:1,e.c=[e.e=0],e)},p.modulo=p.mod=function(e,r){var i,o,t=this;return e=new h(e,r),!t.c||!e.s||e.c&&!e.c[0]?new h(NaN):!e.c||t.c&&!t.c[0]?new h(t):(b==9?(o=e.s,e.s=1,i=N(t,e,0,3),e.s=o,i.s*=o):i=N(t,e,0,b),e=t.minus(i.times(e)),!e.c[0]&&b==1&&(e.s=t.s),e)},p.multipliedBy=p.times=function(e,r){var i,o,t,l,c,n,f,u,s,a,g,w,_,B,M,m=this,d=m.c,P=(e=new h(e,r)).c;if(!d||!P||!d[0]||!P[0])return!m.s||!e.s||d&&!d[0]&&!P||P&&!P[0]&&!d?e.c=e.e=e.s=null:(e.s*=m.s,!d||!P?e.c=e.e=null:(e.c=[0],e.e=0)),e;for(o=F(m.e/E)+F(e.e/E),e.s*=m.s,f=d.length,a=P.length,f<a&&(_=d,d=P,P=_,t=f,f=a,a=t),t=f+a,_=[];t--;_.push(0));for(B=z,M=Y,t=a;--t>=0;){for(i=0,g=P[t]%M,w=P[t]/M|0,c=f,l=t+c;l>t;)u=d[--c]%M,s=d[c]/M|0,n=w*u+s*g,u=g*u+n%M*M+_[l]+i,i=(u/B|0)+(n/M|0)+w*s,_[l--]=u%B;_[l]=i}return i?++o:_.splice(0,1),ce(e,_,o)},p.negated=function(){var e=new h(this);return e.s=-e.s||null,e},p.plus=function(e,r){var i,o=this,t=o.s;if(e=new h(e,r),r=e.s,!t||!r)return new h(NaN);if(t!=r)return e.s=-r,o.minus(e);var l=o.e/E,c=e.e/E,n=o.c,f=e.c;if(!l||!c){if(!n||!f)return new h(t/0);if(!n[0]||!f[0])return f[0]?e:new h(n[0]?o:t*0)}if(l=F(l),c=F(c),n=n.slice(),t=l-c){for(t>0?(c=l,i=f):(t=-t,i=n),i.reverse();t--;i.push(0));i.reverse()}for(t=n.length,r=f.length,t-r<0&&(i=f,f=n,n=i,r=t),t=0;r;)t=(n[--r]=n[r]+f[r]+t)/z|0,n[r]=z===n[r]?0:n[r]%z;return t&&(n=[t].concat(n),++c),ce(e,n,c)},p.precision=p.sd=function(e,r){var i,o,t,l=this;if(e!=null&&e!==!!e)return x(e,1,D),r==null?r=S:x(r,0,8),y(new h(l),e,r);if(!(i=l.c))return null;if(t=i.length-1,o=t*E+1,t=i[t]){for(;t%10==0;t/=10,o--);for(t=i[0];t>=10;t/=10,o++);}return e&&l.e+1>o&&(o=l.e+1),o},p.shiftedBy=function(e){return x(e,-fe,fe),this.times("1e"+e)},p.squareRoot=p.sqrt=function(){var e,r,i,o,t,l=this,c=l.c,n=l.s,f=l.e,u=A+4,s=new h("0.5");if(n!==1||!c||!c[0])return new h(!n||n<0&&(!c||c[0])?NaN:c?l:1/0);if(n=Math.sqrt(+W(l)),n==0||n==1/0?(r=q(c),(r.length+f)%2==0&&(r+="0"),n=Math.sqrt(+r),f=F((f+1)/2)-(f<0||f%2),n==1/0?r="5e"+f:(r=n.toExponential(),r=r.slice(0,r.indexOf("e")+1)+f),i=new h(r)):i=new h(n+""),i.c[0]){for(f=i.e,n=f+u,n<3&&(n=0);;)if(t=i,i=s.times(t.plus(N(l,t,u,1))),q(t.c).slice(0,n)===(r=q(i.c)).slice(0,n))if(i.e<f&&--n,r=r.slice(n-3,n+1),r=="9999"||!o&&r=="4999"){if(!o&&(y(t,t.e+A+2,0),t.times(t).eq(l))){i=t;break}u+=4,n+=4,o=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(y(i,i.e+A+2,1),e=!i.times(i).eq(l));break}}return y(i,i.e+A+1,S,e)},p.toExponential=function(e,r){return e!=null&&(x(e,0,D),e++),ue(this,e,r,1)},p.toFixed=function(e,r){return e!=null&&(x(e,0,D),e=e+this.e+1),ue(this,e,r)},p.toFormat=function(e,r,i){var o,t=this;if(i==null)e!=null&&r&&typeof r=="object"?(i=r,r=null):e&&typeof e=="object"?(i=e,e=r=null):i=se;else if(typeof i!="object")throw Error(C+"Argument not an object: "+i);if(o=t.toFixed(e,r),t.c){var l,c=o.split("."),n=+i.groupSize,f=+i.secondaryGroupSize,u=i.groupSeparator||"",s=c[0],a=c[1],g=t.s<0,w=g?s.slice(1):s,_=w.length;if(f&&(l=n,n=f,f=l,_-=l),n>0&&_>0){for(l=_%n||n,s=w.substr(0,l);l<_;l+=n)s+=u+w.substr(l,n);f>0&&(s+=u+w.slice(l)),g&&(s="-"+s)}o=a?s+(i.decimalSeparator||"")+((f=+i.fractionGroupSize)?a.replace(new RegExp("\\d{"+f+"}\\B","g"),"$&"+(i.fractionGroupSeparator||"")):a):s}return(i.prefix||"")+o+(i.suffix||"")},p.toFraction=function(e){var r,i,o,t,l,c,n,f,u,s,a,g,w=this,_=w.c;if(e!=null&&(n=new h(e),!n.isInteger()&&(n.c||n.s!==1)||n.lt(T)))throw Error(C+"Argument "+(n.isInteger()?"out of range: ":"not an integer: ")+W(n));if(!_)return new h(w);for(r=new h(T),u=i=new h(T),o=f=new h(T),g=q(_),l=r.e=g.length-w.e-1,r.c[0]=le[(c=l%E)<0?E+c:c],e=!e||n.comparedTo(r)>0?l>0?r:u:n,c=H,H=1/0,n=new h(g),f.c[0]=0;s=N(n,r,0,1),t=i.plus(s.times(o)),t.comparedTo(e)!=1;)i=o,o=t,u=f.plus(s.times(t=u)),f=t,r=n.minus(s.times(t=r)),n=t;return t=N(e.minus(i),o,0,1),f=f.plus(t.times(u)),i=i.plus(t.times(o)),f.s=u.s=w.s,l=l*2,a=N(u,o,l,S).minus(w).abs().comparedTo(N(f,i,l,S).minus(w).abs())<1?[u,o]:[f,i],H=c,a},p.toNumber=function(){return+W(this)},p.toPrecision=function(e,r){return e!=null&&x(e,1,D),ue(this,e,r,2)},p.toString=function(e){var r,i=this,o=i.s,t=i.e;return t===null?o?(r="Infinity",o<0&&(r="-"+r)):r="NaN":(e==null?r=t<=L||t>=U?ie(q(i.c),t):V(q(i.c),t,"0"):e===10&&oe?(i=y(new h(i),A+t+1,S),r=V(q(i.c),i.e,"0")):(x(e,2,j.length,"Base"),r=v(V(q(i.c),t,"0"),10,e,o,!0)),o<0&&i.c[0]&&(r="-"+r)),r},p.valueOf=p.toJSON=function(){return W(this)},p._isBigNumber=!0,p[Symbol.toStringTag]="BigNumber",p[Symbol.for("nodejs.util.inspect.custom")]=p.valueOf,O!=null&&h.set(O),h}function F(O){var N=O|0;return O>0||O===N?N:N-1}function q(O){for(var N,v,R=1,p=O.length,T=O[0]+"";R<p;){for(N=O[R++]+"",v=E-N.length;v--;N="0"+N);T+=N}for(p=T.length;T.charCodeAt(--p)===48;);return T.slice(0,p+1||1)}function J(O,N){var v,R,p=O.c,T=N.c,A=O.s,S=N.s,L=O.e,U=N.e;if(!A||!S)return null;if(v=p&&!p[0],R=T&&!T[0],v||R)return v?R?0:-S:A;if(A!=S)return A;if(v=A<0,R=L==U,!p||!T)return R?0:!p^v?1:-1;if(!R)return L>U^v?1:-1;for(S=(L=p.length)<(U=T.length)?L:U,A=0;A<S;A++)if(p[A]!=T[A])return p[A]>T[A]^v?1:-1;return L==U?0:L>U^v?1:-1}function x(O,N,v,R){if(O<N||O>v||O!==G(O))throw Error(C+(R||"Argument")+(typeof O=="number"?O<N||O>v?" out of range: ":" not an integer: ":" not a primitive number: ")+String(O))}function re(O){var N=O.c.length-1;return F(O.e/E)==N&&O.c[N]%2!=0}function ie(O,N){return(O.length>1?O.charAt(0)+"."+O.slice(1):O)+(N<0?"e":"e+")+N}function V(O,N,v){var R,p;if(N<0){for(p=v+".";++N;p+=v);O=p+O}else if(R=O.length,++N>R){for(p=v,N-=R;--N;p+=v);O+=p}else N<R&&(O=O.slice(0,N)+"."+O.slice(N));return O}var Oe=ge();Ee.Z=Oe}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[9227],{48764:function(yr,B,k){var I=k(79742),m=k(80645),L=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;B.Buffer=u,B.SlowBuffer=O,B.INSPECT_MAX_BYTES=50;var F=2147483647;B.kMaxLength=F,u.TYPED_ARRAY_SUPPORT=V(),!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function V(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(i){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function x(t){if(t>F)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,u.prototype),r}function u(t,r,i){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(t)}return D(t,r,i)}u.poolSize=8192;function D(t,r,i){if(typeof t=="string")return Z(t,r);if(ArrayBuffer.isView(t))return $(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(s(t,ArrayBuffer)||t&&s(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(s(t,SharedArrayBuffer)||t&&s(t.buffer,SharedArrayBuffer)))return S(t,r,i);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return u.from(n,r,i);var e=q(t);if(e)return e;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return u.from(t[Symbol.toPrimitive]("string"),r,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}u.from=function(t,r,i){return D(t,r,i)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function b(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function K(t,r,i){return b(t),t<=0?x(t):r!==void 0?typeof i=="string"?x(t).fill(r,i):x(t).fill(r):x(t)}u.alloc=function(t,r,i){return K(t,r,i)};function g(t){return b(t),x(t<0?0:v(t)|0)}u.allocUnsafe=function(t){return g(t)},u.allocUnsafeSlow=function(t){return g(t)};function Z(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var i=M(t,r)|0,n=x(i),e=n.write(t,r);return e!==i&&(n=n.slice(0,e)),n}function T(t){for(var r=t.length<0?0:v(t.length)|0,i=x(r),n=0;n<r;n+=1)i[n]=t[n]&255;return i}function $(t){if(s(t,Uint8Array)){var r=new Uint8Array(t);return S(r.buffer,r.byteOffset,r.byteLength)}return T(t)}function S(t,r,i){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(i||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&i===void 0?n=new Uint8Array(t):i===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,i),Object.setPrototypeOf(n,u.prototype),n}function q(t){if(u.isBuffer(t)){var r=v(t.length)|0,i=x(r);return i.length===0||t.copy(i,0,0,r),i}if(t.length!==void 0)return typeof t.length!="number"||C(t.length)?x(0):T(t);if(t.type==="Buffer"&&Array.isArray(t.data))return T(t.data)}function v(t){if(t>=F)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+F.toString(16)+" bytes");return t|0}function O(t){return+t!=t&&(t=0),u.alloc(+t)}u.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==u.prototype},u.compare=function(r,i){if(s(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),s(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),!u.isBuffer(r)||!u.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===i)return 0;for(var n=r.length,e=i.length,o=0,h=Math.min(n,e);o<h;++o)if(r[o]!==i[o]){n=r[o],e=i[o];break}return n<e?-1:e<n?1:0},u.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(r,i){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return u.alloc(0);var n;if(i===void 0)for(i=0,n=0;n<r.length;++n)i+=r[n].length;var e=u.allocUnsafe(i),o=0;for(n=0;n<r.length;++n){var h=r[n];if(s(h,Uint8Array))o+h.length>e.length?u.from(h).copy(e,o):Uint8Array.prototype.set.call(e,h,o);else if(u.isBuffer(h))h.copy(e,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=h.length}return e};function M(t,r){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||s(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&i===0)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return z(t).length;default:if(e)return n?-1:R(t).length;r=(""+r).toLowerCase(),e=!0}}u.byteLength=M;function Q(t,r,i){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,r>>>=0,i<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return hr(this,r,i);case"utf8":case"utf-8":return d(this,r,i);case"ascii":return ur(this,r,i);case"latin1":case"binary":return or(this,r,i);case"base64":return nr(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fr(this,r,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function E(t,r,i){var n=t[r];t[r]=t[i],t[i]=n}u.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<r;i+=2)E(this,i,i+1);return this},u.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<r;i+=4)E(this,i,i+3),E(this,i+1,i+2);return this},u.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<r;i+=8)E(this,i,i+7),E(this,i+1,i+6),E(this,i+2,i+5),E(this,i+3,i+4);return this},u.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?d(this,0,r):Q.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(r){if(!u.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:u.compare(this,r)===0},u.prototype.inspect=function(){var r="",i=B.INSPECT_MAX_BYTES;return r=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(r+=" ... "),"<Buffer "+r+">"},L&&(u.prototype[L]=u.prototype.inspect),u.prototype.compare=function(r,i,n,e,o){if(s(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(i===void 0&&(i=0),n===void 0&&(n=r?r.length:0),e===void 0&&(e=0),o===void 0&&(o=this.length),i<0||n>r.length||e<0||o>this.length)throw new RangeError("out of range index");if(e>=o&&i>=n)return 0;if(e>=o)return-1;if(i>=n)return 1;if(i>>>=0,n>>>=0,e>>>=0,o>>>=0,this===r)return 0;for(var h=o-e,f=n-i,p=Math.min(h,f),a=this.slice(e,o),w=r.slice(i,n),c=0;c<p;++c)if(a[c]!==w[c]){h=a[c],f=w[c];break}return h<f?-1:f<h?1:0};function _(t,r,i,n,e){if(t.length===0)return-1;if(typeof i=="string"?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,C(i)&&(i=e?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(e)return-1;i=t.length-1}else if(i<0)if(e)i=0;else return-1;if(typeof r=="string"&&(r=u.from(r,n)),u.isBuffer(r))return r.length===0?-1:N(t,r,i,n,e);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?e?Uint8Array.prototype.indexOf.call(t,r,i):Uint8Array.prototype.lastIndexOf.call(t,r,i):N(t,[r],i,n,e);throw new TypeError("val must be string, number or Buffer")}function N(t,r,i,n,e){var o=1,h=t.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,h/=2,f/=2,i/=2}function p(H,J){return o===1?H[J]:H.readUInt16BE(J*o)}var a;if(e){var w=-1;for(a=i;a<h;a++)if(p(t,a)===p(r,w===-1?0:a-w)){if(w===-1&&(w=a),a-w+1===f)return w*o}else w!==-1&&(a-=a-w),w=-1}else for(i+f>h&&(i=h-f),a=i;a>=0;a--){for(var c=!0,A=0;A<f;A++)if(p(t,a+A)!==p(r,A)){c=!1;break}if(c)return a}return-1}u.prototype.includes=function(r,i,n){return this.indexOf(r,i,n)!==-1},u.prototype.indexOf=function(r,i,n){return _(this,r,i,n,!0)},u.prototype.lastIndexOf=function(r,i,n){return _(this,r,i,n,!1)};function P(t,r,i,n){i=Number(i)||0;var e=t.length-i;n?(n=Number(n),n>e&&(n=e)):n=e;var o=r.length;n>o/2&&(n=o/2);for(var h=0;h<n;++h){var f=parseInt(r.substr(h*2,2),16);if(C(f))return h;t[i+h]=f}return h}function j(t,r,i,n){return U(R(r,t.length-i),t,i,n)}function rr(t,r,i,n){return U(cr(r),t,i,n)}function ir(t,r,i,n){return U(z(r),t,i,n)}function tr(t,r,i,n){return U(lr(r,t.length-i),t,i,n)}u.prototype.write=function(r,i,n,e){if(i===void 0)e="utf8",n=this.length,i=0;else if(n===void 0&&typeof i=="string")e=i,n=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(n)?(n=n>>>0,e===void 0&&(e="utf8")):(e=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-i;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var h=!1;;)switch(e){case"hex":return P(this,r,i,n);case"utf8":case"utf-8":return j(this,r,i,n);case"ascii":case"latin1":case"binary":return rr(this,r,i,n);case"base64":return ir(this,r,i,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tr(this,r,i,n);default:if(h)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),h=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function nr(t,r,i){return r===0&&i===t.length?I.fromByteArray(t):I.fromByteArray(t.slice(r,i))}function d(t,r,i){i=Math.min(t.length,i);for(var n=[],e=r;e<i;){var o=t[e],h=null,f=o>239?4:o>223?3:o>191?2:1;if(e+f<=i){var p,a,w,c;switch(f){case 1:o<128&&(h=o);break;case 2:p=t[e+1],(p&192)===128&&(c=(o&31)<<6|p&63,c>127&&(h=c));break;case 3:p=t[e+1],a=t[e+2],(p&192)===128&&(a&192)===128&&(c=(o&15)<<12|(p&63)<<6|a&63,c>2047&&(c<55296||c>57343)&&(h=c));break;case 4:p=t[e+1],a=t[e+2],w=t[e+3],(p&192)===128&&(a&192)===128&&(w&192)===128&&(c=(o&15)<<18|(p&63)<<12|(a&63)<<6|w&63,c>65535&&c<1114112&&(h=c))}}h===null?(h=65533,f=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|h&1023),n.push(h),e+=f}return er(n)}var W=4096;function er(t){var r=t.length;if(r<=W)return String.fromCharCode.apply(String,t);for(var i="",n=0;n<r;)i+=String.fromCharCode.apply(String,t.slice(n,n+=W));return i}function ur(t,r,i){var n="";i=Math.min(t.length,i);for(var e=r;e<i;++e)n+=String.fromCharCode(t[e]&127);return n}function or(t,r,i){var n="";i=Math.min(t.length,i);for(var e=r;e<i;++e)n+=String.fromCharCode(t[e]);return n}function hr(t,r,i){var n=t.length;(!r||r<0)&&(r=0),(!i||i<0||i>n)&&(i=n);for(var e="",o=r;o<i;++o)e+=wr[t[o]];return e}function fr(t,r,i){for(var n=t.slice(r,i),e="",o=0;o<n.length-1;o+=2)e+=String.fromCharCode(n[o]+n[o+1]*256);return e}u.prototype.slice=function(r,i){var n=this.length;r=~~r,i=i===void 0?n:~~i,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),i<0?(i+=n,i<0&&(i=0)):i>n&&(i=n),i<r&&(i=r);var e=this.subarray(r,i);return Object.setPrototypeOf(e,u.prototype),e};function l(t,r,i){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>i)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(r,i,n){r=r>>>0,i=i>>>0,n||l(r,i,this.length);for(var e=this[r],o=1,h=0;++h<i&&(o*=256);)e+=this[r+h]*o;return e},u.prototype.readUintBE=u.prototype.readUIntBE=function(r,i,n){r=r>>>0,i=i>>>0,n||l(r,i,this.length);for(var e=this[r+--i],o=1;i>0&&(o*=256);)e+=this[r+--i]*o;return e},u.prototype.readUint8=u.prototype.readUInt8=function(r,i){return r=r>>>0,i||l(r,1,this.length),this[r]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(r,i){return r=r>>>0,i||l(r,2,this.length),this[r]|this[r+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(r,i){return r=r>>>0,i||l(r,2,this.length),this[r]<<8|this[r+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(r,i){return r=r>>>0,i||l(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},u.prototype.readIntLE=function(r,i,n){r=r>>>0,i=i>>>0,n||l(r,i,this.length);for(var e=this[r],o=1,h=0;++h<i&&(o*=256);)e+=this[r+h]*o;return o*=128,e>=o&&(e-=Math.pow(2,8*i)),e},u.prototype.readIntBE=function(r,i,n){r=r>>>0,i=i>>>0,n||l(r,i,this.length);for(var e=i,o=1,h=this[r+--e];e>0&&(o*=256);)h+=this[r+--e]*o;return o*=128,h>=o&&(h-=Math.pow(2,8*i)),h},u.prototype.readInt8=function(r,i){return r=r>>>0,i||l(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},u.prototype.readInt16LE=function(r,i){r=r>>>0,i||l(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n},u.prototype.readInt16BE=function(r,i){r=r>>>0,i||l(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n},u.prototype.readInt32LE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},u.prototype.readInt32BE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},u.prototype.readFloatLE=function(r,i){return r=r>>>0,i||l(r,4,this.length),m.read(this,r,!0,23,4)},u.prototype.readFloatBE=function(r,i){return r=r>>>0,i||l(r,4,this.length),m.read(this,r,!1,23,4)},u.prototype.readDoubleLE=function(r,i){return r=r>>>0,i||l(r,8,this.length),m.read(this,r,!0,52,8)},u.prototype.readDoubleBE=function(r,i){return r=r>>>0,i||l(r,8,this.length),m.read(this,r,!1,52,8)};function y(t,r,i,n,e,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>e||r<o)throw new RangeError('"value" argument is out of bounds');if(i+n>t.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(r,i,n,e){if(r=+r,i=i>>>0,n=n>>>0,!e){var o=Math.pow(2,8*n)-1;y(this,r,i,n,o,0)}var h=1,f=0;for(this[i]=r&255;++f<n&&(h*=256);)this[i+f]=r/h&255;return i+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(r,i,n,e){if(r=+r,i=i>>>0,n=n>>>0,!e){var o=Math.pow(2,8*n)-1;y(this,r,i,n,o,0)}var h=n-1,f=1;for(this[i+h]=r&255;--h>=0&&(f*=256);)this[i+h]=r/f&255;return i+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,1,255,0),this[i]=r&255,i+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,2,65535,0),this[i]=r&255,this[i+1]=r>>>8,i+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,2,65535,0),this[i]=r>>>8,this[i+1]=r&255,i+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,4,4294967295,0),this[i+3]=r>>>24,this[i+2]=r>>>16,this[i+1]=r>>>8,this[i]=r&255,i+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,4,4294967295,0),this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=r&255,i+4},u.prototype.writeIntLE=function(r,i,n,e){if(r=+r,i=i>>>0,!e){var o=Math.pow(2,8*n-1);y(this,r,i,n,o-1,-o)}var h=0,f=1,p=0;for(this[i]=r&255;++h<n&&(f*=256);)r<0&&p===0&&this[i+h-1]!==0&&(p=1),this[i+h]=(r/f>>0)-p&255;return i+n},u.prototype.writeIntBE=function(r,i,n,e){if(r=+r,i=i>>>0,!e){var o=Math.pow(2,8*n-1);y(this,r,i,n,o-1,-o)}var h=n-1,f=1,p=0;for(this[i+h]=r&255;--h>=0&&(f*=256);)r<0&&p===0&&this[i+h+1]!==0&&(p=1),this[i+h]=(r/f>>0)-p&255;return i+n},u.prototype.writeInt8=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,1,127,-128),r<0&&(r=255+r+1),this[i]=r&255,i+1},u.prototype.writeInt16LE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,2,32767,-32768),this[i]=r&255,this[i+1]=r>>>8,i+2},u.prototype.writeInt16BE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,2,32767,-32768),this[i]=r>>>8,this[i+1]=r&255,i+2},u.prototype.writeInt32LE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,4,2147483647,-2147483648),this[i]=r&255,this[i+1]=r>>>8,this[i+2]=r>>>16,this[i+3]=r>>>24,i+4},u.prototype.writeInt32BE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=r&255,i+4};function Y(t,r,i,n,e,o){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function X(t,r,i,n,e){return r=+r,i=i>>>0,e||Y(t,r,i,4,34028234663852886e22,-34028234663852886e22),m.write(t,r,i,n,23,4),i+4}u.prototype.writeFloatLE=function(r,i,n){return X(this,r,i,!0,n)},u.prototype.writeFloatBE=function(r,i,n){return X(this,r,i,!1,n)};function G(t,r,i,n,e){return r=+r,i=i>>>0,e||Y(t,r,i,8,17976931348623157e292,-17976931348623157e292),m.write(t,r,i,n,52,8),i+8}u.prototype.writeDoubleLE=function(r,i,n){return G(this,r,i,!0,n)},u.prototype.writeDoubleBE=function(r,i,n){return G(this,r,i,!1,n)},u.prototype.copy=function(r,i,n,e){if(!u.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!e&&e!==0&&(e=this.length),i>=r.length&&(i=r.length),i||(i=0),e>0&&e<n&&(e=n),e===n||r.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),r.length-i<e-n&&(e=r.length-i+n);var o=e-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(i,n,e):Uint8Array.prototype.set.call(r,this.subarray(n,e),i),o},u.prototype.fill=function(r,i,n,e){if(typeof r=="string"){if(typeof i=="string"?(e=i,i=0,n=this.length):typeof n=="string"&&(e=n,n=this.length),e!==void 0&&typeof e!="string")throw new TypeError("encoding must be a string");if(typeof e=="string"&&!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);if(r.length===1){var o=r.charCodeAt(0);(e==="utf8"&&o<128||e==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(i<0||this.length<i||this.length<n)throw new RangeError("Out of range index");if(n<=i)return this;i=i>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var h;if(typeof r=="number")for(h=i;h<n;++h)this[h]=r;else{var f=u.isBuffer(r)?r:u.from(r,e),p=f.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(h=0;h<n-i;++h)this[h+i]=f[h%p]}return this};var pr=/[^+/0-9A-Za-z-_]/g;function ar(t){if(t=t.split("=")[0],t=t.trim().replace(pr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function R(t,r){r=r||1/0;for(var i,n=t.length,e=null,o=[],h=0;h<n;++h){if(i=t.charCodeAt(h),i>55295&&i<57344){if(!e){if(i>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(h+1===n){(r-=3)>-1&&o.push(239,191,189);continue}e=i;continue}if(i<56320){(r-=3)>-1&&o.push(239,191,189),e=i;continue}i=(e-55296<<10|i-56320)+65536}else e&&(r-=3)>-1&&o.push(239,191,189);if(e=null,i<128){if((r-=1)<0)break;o.push(i)}else if(i<2048){if((r-=2)<0)break;o.push(i>>6|192,i&63|128)}else if(i<65536){if((r-=3)<0)break;o.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((r-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return o}function cr(t){for(var r=[],i=0;i<t.length;++i)r.push(t.charCodeAt(i)&255);return r}function lr(t,r){for(var i,n,e,o=[],h=0;h<t.length&&!((r-=2)<0);++h)i=t.charCodeAt(h),n=i>>8,e=i%256,o.push(e),o.push(n);return o}function z(t){return I.toByteArray(ar(t))}function U(t,r,i,n){for(var e=0;e<n&&!(e+i>=r.length||e>=t.length);++e)r[e+i]=t[e];return e}function s(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function C(t){return t!==t}var wr=function(){for(var t="0123456789abcdef",r=new Array(256),i=0;i<16;++i)for(var n=i*16,e=0;e<16;++e)r[n+e]=t[i]+t[e];return r}()}}]);
|