diff --git a/404.html b/404.html index e73dfd1..be78091 100644 --- a/404.html +++ b/404.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/877.3a753e68.async.js b/877.3a753e68.async.js deleted file mode 100644 index bec19da..0000000 --- a/877.3a753e68.async.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[877],{45877:function(P,U,w){"use strict";w.r(U),w.d(U,{Lang:function(){return m},RoundingMode:function(){return K},UNIT_LAN:function(){return m},csvArrayToObjects:function(){return He},csvArrayWithoutKeysToObjects:function(){return Ae},dateFormat:function(){return z},dateRange:function(){return Q},ensure:function(){return ne},isTrue:function(){return H},isUndefined:function(){return L},orange:function(){return p},pagination:function(){return oe},parseKeyHeader:function(){return se},toFixed:function(){return O},toPercent:function(){return Ne},toPlaceholder:function(){return be},toPositiveSign:function(){return we},toSlice:function(){return Te},toThousand:function(){return Ie},toUnit:function(){return $e}});var R=w(17069),j=w.n(R),Y=w(25298),D=w.n(Y),S=w(82092),d=w.n(S),m=function(e){return e.ZH_CN="zh-CN",e.ZH_TW="zh-TW",e.EN_US="en-US",e}({}),K=function(e){return e[e.roundDown=0]="roundDown",e[e.roundHalfUp=1]="roundHalfUp",e[e.roundHalfEven=2]="roundHalfEven",e[e.roundUp=3]="roundUp",e}({}),p=new(j()(function e(){D()(this,e),d()(this,"RM",K.roundHalfEven),d()(this,"lang",m.EN_US),d()(this,"precision",2),d()(this,"placeholder","--"),d()(this,"ignoreIntegerPrecision",!1)}));function G(e){var r=new Date(e);return{yyyy:r.getFullYear(),M:r.getMonth()+1,d:r.getDate(),H:r.getHours(),m:r.getMinutes(),s:r.getSeconds(),MM:"".concat(r.getMonth()+101).substr(1),dd:"".concat(r.getDate()+100).substr(1),HH:"".concat(r.getHours()+100).substr(1),mm:"".concat(r.getMinutes()+100).substr(1),ss:"".concat(r.getSeconds()+100).substr(1)}}function X(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"yyyy-MM-dd HH:mm:ss",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e)return p.placeholder;var i=t.isNoSignDate,n=i===void 0?!1:i,o=e;typeof o=="string"&&(o=o.replace(/-/g,"/")),n&&(o=e.toString().replace(/^(\d{4})(\d{2})(\d{2})$/,"$1-$2-$3"));try{return r.replace(/(yyyy|MM?|dd?|HH?|mm?|ss?)/g,function(c){return G(o)[c]})}catch(c){throw new Error("The date format is wrong!")}}var z=X,J={millsecond:{get:"getMillseconds",set:"setMillseconds",unit:1},second:{get:"getSeconds",set:"setSeconds",unit:1},minute:{get:"getMinutes",set:"setMinutes",unit:1},hour:{get:"getHours",set:"setHours",unit:1},day:{get:"getDate",set:"setDate",unit:1},week:{get:"getDate",set:"setDate",unit:7},month:{get:"getMonth",set:"setMonth",unit:1},year:{get:"getFullYear",set:"setFullYear",unit:1}};function Q(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e||!r)throw new Error("You must specify the start and end time");for(var i=t.dateType,n=i===void 0?"yyyy-MM-dd HH:mm:ss":i,o=t.rangeType,c=o===void 0?"minute":o,s=t.rangeMultiple,u=s===void 0?1:s,a=t.fixedEndTime,g=a===void 0?!1:a,l=[],E=new Date(e),b=new Date(r),F=b.getTime(),h=J[c],v=h.get,M=h.set,$=h.unit,N=E;N.getTime()<=F;)l.push(z(N,n)),N[M](N[v]()+$*u);return g&&l[l.length-1]!==z(b,n)&&l.push(z(b,n)),l}function ee(e){return e===void 0}var L=ee;function re(e){return!!e||e===0}var H=re;function te(e,r,t){return H(e)?L(t)?e:typeof t=="function"?t():t:r===null||L(r)?p.placeholder:typeof r=="function"?r():r}var ne=te;function ie(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,i=(r-1)*t,n=r*t;return e.slice(i,n)}var oe=ie;function se(e){var r=[e[0],e.slice(1)],t=r[0],i=r[1];return i.map(function(n){var o={};return n.forEach(function(c,s){return o[t[s]]=c}),o})}var ae=20,ue=1,x=1e6,W=1e6,ce=-7,le=21,fe=!1,B="[big.js] ",I=B+"Invalid ",C=I+"decimal places",ge=I+"rounding mode",Z=B+"Division by zero",f={},T=void 0,he=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function V(){function e(r){var t=this;if(!(t instanceof e))return r===T?V():new e(r);if(r instanceof e)t.s=r.s,t.e=r.e,t.c=r.c.slice();else{if(typeof r!="string"){if(e.strict===!0&&typeof r!="bigint")throw TypeError(I+"value");r=r===0&&1/r<0?"-0":String(r)}ve(t,r)}t.constructor=e}return e.prototype=f,e.DP=ae,e.RM=ue,e.NE=ce,e.PE=le,e.strict=fe,e.roundDown=0,e.roundHalfUp=1,e.roundHalfEven=2,e.roundUp=3,e}function ve(e,r){var t,i,n;if(!he.test(r))throw Error(I+"number");for(e.s=r.charAt(0)=="-"?(r=r.slice(1),-1):1,(t=r.indexOf("."))>-1&&(r=r.replace(".","")),(i=r.search(/e/i))>0?(t<0&&(t=i),t+=+r.slice(i+1),r=r.substring(0,i)):t<0&&(t=r.length),n=r.length,i=0;i0&&r.charAt(--n)=="0";);for(e.e=t-i-1,e.c=[],t=0;i<=n;)e.c[t++]=+r.charAt(i++)}return e}function _(e,r,t,i){var n=e.c;if(t===T&&(t=e.constructor.RM),t!==0&&t!==1&&t!==2&&t!==3)throw Error(ge);if(r<1)i=t===3&&(i||!!n[0])||r===0&&(t===1&&n[0]>=5||t===2&&(n[0]>5||n[0]===5&&(i||n[1]!==T))),n.length=1,i?(e.e=e.e-r+1,n[0]=1):n[0]=e.e=0;else if(r=5||t===2&&(n[r]>5||n[r]===5&&(i||n[r+1]!==T||n[r-1]&1))||t===3&&(i||!!n[0]),n.length=r,i){for(;++n[--r]>9;)if(n[r]=0,r===0){++e.e,n.unshift(1);break}}for(r=n.length;!n[--r];)n.pop()}return e}function A(e,r,t){var i=e.e,n=e.c.join(""),o=n.length;if(r)n=n.charAt(0)+(o>1?"."+n.slice(1):"")+(i<0?"e":"e+")+i;else if(i<0){for(;++i;)n="0"+n;n="0."+n}else if(i>0)if(++i>o)for(i-=o;i--;)n+="0";else i1&&(n=n.charAt(0)+"."+n.slice(1));return e.s<0&&t?"-"+n:n}f.abs=function(){var e=new this.constructor(this);return e.s=1,e},f.cmp=function(e){var r,t=this,i=t.c,n=(e=new t.constructor(e)).c,o=t.s,c=e.s,s=t.e,u=e.e;if(!i[0]||!n[0])return i[0]?o:n[0]?-c:0;if(o!=c)return o;if(r=o<0,s!=u)return s>u^r?1:-1;for(c=(s=i.length)<(u=n.length)?s:u,o=-1;++on[o]^r?1:-1;return s==u?0:s>u^r?1:-1},f.div=function(e){var r=this,t=r.constructor,i=r.c,n=(e=new t(e)).c,o=r.s==e.s?1:-1,c=t.DP;if(c!==~~c||c<0||c>x)throw Error(C);if(!n[0])throw Error(Z);if(!i[0])return e.s=o,e.c=[e.e=0],e;var s,u,a,g,l,E=n.slice(),b=s=n.length,F=i.length,h=i.slice(0,s),v=h.length,M=e,$=M.c=[],N=0,y=c+(M.e=r.e-e.e)+1;for(M.s=o,o=y<0?0:y,E.unshift(0);v++v?1:-1;else for(l=-1,g=0;++lh[l]?1:-1;break}if(g<0){for(u=v==s?n:E;v;){if(h[--v]y&&_(M,y,t.RM,h[0]!==T),M},f.eq=function(e){return this.cmp(e)===0},f.gt=function(e){return this.cmp(e)>0},f.gte=function(e){return this.cmp(e)>-1},f.lt=function(e){return this.cmp(e)<0},f.lte=function(e){return this.cmp(e)<1},f.minus=f.sub=function(e){var r,t,i,n,o=this,c=o.constructor,s=o.s,u=(e=new c(e)).s;if(s!=u)return e.s=-u,o.plus(e);var a=o.c.slice(),g=o.e,l=e.c,E=e.e;if(!a[0]||!l[0])return l[0]?e.s=-u:a[0]?e=new c(o):e.s=1,e;if(s=g-E){for((n=s<0)?(s=-s,i=a):(E=g,i=l),i.reverse(),u=s;u--;)i.push(0);i.reverse()}else for(t=((n=a.length0)for(;u--;)a[r++]=0;for(u=r;t>s;){if(a[--t]0?(u=c,i=a):(r=-r,i=s),i.reverse();r--;)i.push(0);i.reverse()}for(s.length-a.length<0&&(i=a,a=s,s=i),r=a.length,t=0;r;s[r]%=10)t=(s[--r]=s[r]+a[r]+t)/10|0;for(t&&(s.unshift(t),++u),r=s.length;s[--r]===0;)s.pop();return e.c=s,e.e=u,e},f.pow=function(e){var r=this,t=new r.constructor("1"),i=t,n=e<0;if(e!==~~e||e<-W||e>W)throw Error(I+"exponent");for(n&&(e=-e);e&1&&(i=i.times(r)),e>>=1,!!e;)r=r.times(r);return n?t.div(i):i},f.prec=function(e,r){if(e!==~~e||e<1||e>x)throw Error(I+"precision");return _(new this.constructor(this),e,r)},f.round=function(e,r){if(e===T)e=0;else if(e!==~~e||e<-x||e>x)throw Error(C);return _(new this.constructor(this),e+this.e+1,r)},f.sqrt=function(){var e,r,t,i=this,n=i.constructor,o=i.s,c=i.e,s=new n("0.5");if(!i.c[0])return new n(i);if(o<0)throw Error(B+"No square root");o=Math.sqrt(i+""),o===0||o===1/0?(r=i.c.join(""),r.length+c&1||(r+="0"),o=Math.sqrt(r),c=((c+1)/2|0)-(c<0||c&1),e=new n((o==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+c)):e=new n(o+""),c=e.e+(n.DP+=4);do t=e,e=s.times(t.plus(i.div(t)));while(t.c.slice(0,c).join("")!==e.c.slice(0,c).join(""));return _(e,(n.DP-=4)+e.e+1,n.RM)},f.times=f.mul=function(e){var r,t=this,i=t.constructor,n=t.c,o=(e=new i(e)).c,c=n.length,s=o.length,u=t.e,a=e.e;if(e.s=t.s==e.s?1:-1,!n[0]||!o[0])return e.c=[e.e=0],e;for(e.e=u+a,cu;)s=r[a]+o[u]*n[a-u-1]+s,r[a--]=s%10,s=s/10|0;r[a]=s}for(s?++e.e:r.shift(),u=r.length;!r[--u];)r.pop();return e.c=r,e},f.toExponential=function(e,r){var t=this,i=t.c[0];if(e!==T){if(e!==~~e||e<0||e>x)throw Error(C);for(t=_(new t.constructor(t),++e,r);t.c.lengthx)throw Error(C);for(t=_(new t.constructor(t),e+t.e+1,r),e=e+t.e+1;t.c.length=r.PE,!!e.c[0])},f.toNumber=function(){var e=Number(A(this,!0,!0));if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(B+"Imprecise conversion");return e},f.toPrecision=function(e,r){var t=this,i=t.constructor,n=t.c[0];if(e!==T){if(e!==~~e||e<1||e>x)throw Error(I+"precision");for(t=_(new i(t),e,r);t.c.length=i.PE,!!n)},f.valueOf=function(){var e=this,r=e.constructor;if(r.strict===!0)throw Error(B+"valueOf disallowed");return A(e,e.e<=r.NE||e.e>=r.PE,!0)};var pe=V(),q=pe;function de(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=r.placeholder,i=t===void 0?p.placeholder:t,n=r.precision,o=n===void 0?p.precision:n,c=r.ignoreIntegerPrecision,s=c===void 0?p.ignoreIntegerPrecision:c,u=r.RM,a=u===void 0?p.RM:u;if(!H(e))return i;var g=Number(e);return isNaN(g)||!isFinite(g)?i:s&&Number.parseFloat(g.toString())===Number.parseInt(g.toString())?String(e):new q(Number(g)).toFixed(o,a)}var O=de;function me(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=r.canEqual,i=t===void 0?!1:t,n=r.balance,o=n===void 0?0:n,c=r.placeholder,s=c===void 0?p.placeholder:c,u=r.parseFloat,a=u===void 0?!0:u,g=a?Number.parseFloat(e):Number(e);if(!H(e))return s;var l=i?g>=o:g>o;return l?"+".concat(e):e.toString()}var we=me;function Ee(e){return H(e)?e:p.placeholder}var be=Ee;function Me(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=r.placeholder,i=t===void 0?p.placeholder:t,n=r.multiply,o=n===void 0?1:n,c=r.precision,s=c===void 0?p.precision:c,u=Number(e);return isNaN(u)?i:"".concat(O(o*e,{precision:s,ignoreIntegerPrecision:!1}),"%")}var Ne=Me;function Pe(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=r.placeholder,i=t===void 0?p.placeholder:t,n=r.precision,o=n===void 0?p.precision:n,c=r.ignoreIntegerPrecision,s=c===void 0?!1:c;if(!H(e))return i;var u=Number(e);if(isNaN(u))return i;if(s&&Number.parseFloat(u.toString())===Number.parseInt(u.toString()))return u.toString();var a=Math.pow(10,o);return O(q(u).mul(a).div(a),{precision:o,RM:K.roundDown})}var Te=Pe,De=w(48305),Se=w.n(De);function xe(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",",t=e.toString().split("."),i=Se()(t,2),n=i[0],o=i[1],c=n.replace(/\B(?=(\d{3})+(?!\d))/g,r);return o?"".concat(c,".").concat(o):c}var Ie=xe,k=d()(d()(d()({},m.EN_US,[{value:Math.pow(10,12),label:"T"},{value:Math.pow(10,9),label:"B"},{value:Math.pow(10,6),label:"M"},{value:Math.pow(10,3),label:"K"}]),m.ZH_CN,[{value:Math.pow(10,12),label:"\u4E07\u4EBF"},{value:Math.pow(10,8),label:"\u4EBF"},{value:Math.pow(10,4),label:"\u4E07"}]),m.ZH_TW,[{value:Math.pow(10,12),label:"\u842C\u5104"},{value:Math.pow(10,8),label:"\u5104"},{value:Math.pow(10,4),label:"\u842C"}]);function _e(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=r.lanType,i=t===void 0?p.lang:t,n=r.placeholder,o=n===void 0?p.placeholder:n,c=r.precision,s=c===void 0?p.precision:c,u=r.ignoreIntegerPrecision,a=u===void 0?!0:u,g=Number(e);if(isNaN(g))return o;var l=k[i]||k[m.EN_US],E=l.length,b=Math.abs(+e),F="",h={placeholder:o,precision:s,ignoreIntegerPrecision:a};if(b=N){F="".concat(g<0?"-":"").concat(O(b/N,h)).concat($);break}}return F}var $e=_e;function He(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=[];if(e!=null&&e.length&&e.length<=1)return[];for(var i=e[0],n=1;n2&&arguments[2]!==void 0?arguments[2]:{},i=[],n=0;n1&&arguments[1]!==void 0?arguments[1]:"yyyy-MM-dd HH:mm:ss",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e)return M.placeholder;var i=r.isNoSignDate,n=i===void 0?!1:i,o=e;typeof o=="string"&&(o=o.replace(/-/g,"/")),n&&(o=e.toString().replace(/^(\d{4})(\d{2})(\d{2})$/,"$1-$2-$3"));try{return t.replace(/(yyyy|MM?|dd?|HH?|mm?|ss?)/g,function(c){return Q(o)[c]})}catch(c){throw new Error("The date format is wrong!")}}var z=q,ee={millsecond:{get:"getMillseconds",set:"setMillseconds",unit:1},second:{get:"getSeconds",set:"setSeconds",unit:1},minute:{get:"getMinutes",set:"setMinutes",unit:1},hour:{get:"getHours",set:"setHours",unit:1},day:{get:"getDate",set:"setDate",unit:1},week:{get:"getDate",set:"setDate",unit:7},month:{get:"getMonth",set:"setMonth",unit:1},year:{get:"getFullYear",set:"setFullYear",unit:1}};function te(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e||!t)throw new Error("You must specify the start and end time");for(var i=r.dateType,n=i===void 0?"yyyy-MM-dd HH:mm:ss":i,o=r.rangeType,c=o===void 0?"minute":o,a=r.rangeMultiple,u=a===void 0?1:a,s=r.fixedEndTime,g=s===void 0?!1:s,f=[],N=new Date(e),T=new Date(t),R=T.getTime(),h=ee[c],w=h.get,S=h.set,_=h.unit,H=N;H.getTime()<=R;)f.push(z(H,n)),H[S](H[w]()+_*u);return g&&f[f.length-1]!==z(T,n)&&f.push(z(T,n)),f}function re(e){return e===void 0}var Y=re;function ne(e){return!!e||e===0}var F=ne;function ie(e,t,r){return F(e)?Y(r)?e:typeof r=="function"?r():r:t===null||Y(t)?M.placeholder:typeof t=="function"?t():t}var oe=ie;function ae(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,i=(t-1)*r,n=t*r;return e.slice(i,n)}var se=ae;function ue(e){var t=[e[0],e.slice(1)],r=t[0],i=t[1];return i.map(function(n){var o={};return n.forEach(function(c,a){return o[r[a]]=c}),o})}var ce=20,fe=1,y=1e6,K=1e6,le=-7,ge=21,he=!1,B="[big.js] ",A=B+"Invalid ",C=A+"decimal places",ve=A+"rounding mode",Z=B+"Division by zero",l={},x=void 0,pe=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function V(){function e(t){var r=this;if(!(r instanceof e))return t===x?V():new e(t);if(t instanceof e)r.s=t.s,r.e=t.e,r.c=t.c.slice();else{if(typeof t!="string"){if(e.strict===!0&&typeof t!="bigint")throw TypeError(A+"value");t=t===0&&1/t<0?"-0":String(t)}de(r,t)}r.constructor=e}return e.prototype=l,e.DP=ce,e.RM=fe,e.NE=le,e.PE=ge,e.strict=he,e.roundDown=0,e.roundHalfUp=1,e.roundHalfEven=2,e.roundUp=3,e}function de(e,t){var r,i,n;if(!pe.test(t))throw Error(A+"number");for(e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(r<0&&(r=i),r+=+t.slice(i+1),t=t.substring(0,i)):r<0&&(r=t.length),n=t.length,i=0;i0&&t.charAt(--n)=="0";);for(e.e=r-i-1,e.c=[],r=0;i<=n;)e.c[r++]=+t.charAt(i++)}return e}function O(e,t,r,i){var n=e.c;if(r===x&&(r=e.constructor.RM),r!==0&&r!==1&&r!==2&&r!==3)throw Error(ve);if(t<1)i=r===3&&(i||!!n[0])||t===0&&(r===1&&n[0]>=5||r===2&&(n[0]>5||n[0]===5&&(i||n[1]!==x))),n.length=1,i?(e.e=e.e-t+1,n[0]=1):n[0]=e.e=0;else if(t=5||r===2&&(n[t]>5||n[t]===5&&(i||n[t+1]!==x||n[t-1]&1))||r===3&&(i||!!n[0]),n.length=t,i){for(;++n[--t]>9;)if(n[t]=0,t===0){++e.e,n.unshift(1);break}}for(t=n.length;!n[--t];)n.pop()}return e}function j(e,t,r){var i=e.e,n=e.c.join(""),o=n.length;if(t)n=n.charAt(0)+(o>1?"."+n.slice(1):"")+(i<0?"e":"e+")+i;else if(i<0){for(;++i;)n="0"+n;n="0."+n}else if(i>0)if(++i>o)for(i-=o;i--;)n+="0";else i1&&(n=n.charAt(0)+"."+n.slice(1));return e.s<0&&r?"-"+n:n}l.abs=function(){var e=new this.constructor(this);return e.s=1,e},l.cmp=function(e){var t,r=this,i=r.c,n=(e=new r.constructor(e)).c,o=r.s,c=e.s,a=r.e,u=e.e;if(!i[0]||!n[0])return i[0]?o:n[0]?-c:0;if(o!=c)return o;if(t=o<0,a!=u)return a>u^t?1:-1;for(c=(a=i.length)<(u=n.length)?a:u,o=-1;++on[o]^t?1:-1;return a==u?0:a>u^t?1:-1},l.div=function(e){var t=this,r=t.constructor,i=t.c,n=(e=new r(e)).c,o=t.s==e.s?1:-1,c=r.DP;if(c!==~~c||c<0||c>y)throw Error(C);if(!n[0])throw Error(Z);if(!i[0])return e.s=o,e.c=[e.e=0],e;var a,u,s,g,f,N=n.slice(),T=a=n.length,R=i.length,h=i.slice(0,a),w=h.length,S=e,_=S.c=[],H=0,L=c+(S.e=t.e-e.e)+1;for(S.s=o,o=L<0?0:L,N.unshift(0);w++w?1:-1;else for(f=-1,g=0;++fh[f]?1:-1;break}if(g<0){for(u=w==a?n:N;w;){if(h[--w]L&&O(S,L,r.RM,h[0]!==x),S},l.eq=function(e){return this.cmp(e)===0},l.gt=function(e){return this.cmp(e)>0},l.gte=function(e){return this.cmp(e)>-1},l.lt=function(e){return this.cmp(e)<0},l.lte=function(e){return this.cmp(e)<1},l.minus=l.sub=function(e){var t,r,i,n,o=this,c=o.constructor,a=o.s,u=(e=new c(e)).s;if(a!=u)return e.s=-u,o.plus(e);var s=o.c.slice(),g=o.e,f=e.c,N=e.e;if(!s[0]||!f[0])return f[0]?e.s=-u:s[0]?e=new c(o):e.s=1,e;if(a=g-N){for((n=a<0)?(a=-a,i=s):(N=g,i=f),i.reverse(),u=a;u--;)i.push(0);i.reverse()}else for(r=((n=s.length0)for(;u--;)s[t++]=0;for(u=t;r>a;){if(s[--r]0?(u=c,i=s):(t=-t,i=a),i.reverse();t--;)i.push(0);i.reverse()}for(a.length-s.length<0&&(i=s,s=a,a=i),t=s.length,r=0;t;a[t]%=10)r=(a[--t]=a[t]+s[t]+r)/10|0;for(r&&(a.unshift(r),++u),t=a.length;a[--t]===0;)a.pop();return e.c=a,e.e=u,e},l.pow=function(e){var t=this,r=new t.constructor("1"),i=r,n=e<0;if(e!==~~e||e<-K||e>K)throw Error(A+"exponent");for(n&&(e=-e);e&1&&(i=i.times(t)),e>>=1,!!e;)t=t.times(t);return n?r.div(i):i},l.prec=function(e,t){if(e!==~~e||e<1||e>y)throw Error(A+"precision");return O(new this.constructor(this),e,t)},l.round=function(e,t){if(e===x)e=0;else if(e!==~~e||e<-y||e>y)throw Error(C);return O(new this.constructor(this),e+this.e+1,t)},l.sqrt=function(){var e,t,r,i=this,n=i.constructor,o=i.s,c=i.e,a=new n("0.5");if(!i.c[0])return new n(i);if(o<0)throw Error(B+"No square root");o=Math.sqrt(i+""),o===0||o===1/0?(t=i.c.join(""),t.length+c&1||(t+="0"),o=Math.sqrt(t),c=((c+1)/2|0)-(c<0||c&1),e=new n((o==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+c)):e=new n(o+""),c=e.e+(n.DP+=4);do r=e,e=a.times(r.plus(i.div(r)));while(r.c.slice(0,c).join("")!==e.c.slice(0,c).join(""));return O(e,(n.DP-=4)+e.e+1,n.RM)},l.times=l.mul=function(e){var t,r=this,i=r.constructor,n=r.c,o=(e=new i(e)).c,c=n.length,a=o.length,u=r.e,s=e.e;if(e.s=r.s==e.s?1:-1,!n[0]||!o[0])return e.c=[e.e=0],e;for(e.e=u+s,cu;)a=t[s]+o[u]*n[s-u-1]+a,t[s--]=a%10,a=a/10|0;t[s]=a}for(a?++e.e:t.shift(),u=t.length;!t[--u];)t.pop();return e.c=t,e},l.toExponential=function(e,t){var r=this,i=r.c[0];if(e!==x){if(e!==~~e||e<0||e>y)throw Error(C);for(r=O(new r.constructor(r),++e,t);r.c.lengthy)throw Error(C);for(r=O(new r.constructor(r),e+r.e+1,t),e=e+r.e+1;r.c.length=t.PE,!!e.c[0])},l.toNumber=function(){var e=Number(j(this,!0,!0));if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(B+"Imprecise conversion");return e},l.toPrecision=function(e,t){var r=this,i=r.constructor,n=r.c[0];if(e!==x){if(e!==~~e||e<1||e>y)throw Error(A+"precision");for(r=O(new i(r),e,t);r.c.length=i.PE,!!n)},l.valueOf=function(){var e=this,t=e.constructor;if(t.strict===!0)throw Error(B+"valueOf disallowed");return j(e,e.e<=t.NE||e.e>=t.PE,!0)};var me=V(),k=me;function we(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.placeholder,i=r===void 0?M.placeholder:r,n=t.precision,o=n===void 0?M.precision:n,c=t.ignoreIntegerPrecision,a=c===void 0?M.ignoreIntegerPrecision:c,u=t.RM,s=u===void 0?M.RM:u;if(!F(e))return i;var g=Number(e);return isNaN(g)||!isFinite(g)?i:a&&Number.parseFloat(g.toString())===Number.parseInt(g.toString())?String(e):new k(Number(g)).toFixed(o,s)}var W=we;function be(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.canEqual,i=r===void 0?!1:r,n=t.balance,o=n===void 0?0:n,c=t.placeholder,a=c===void 0?M.placeholder:c,u=t.parseFloat,s=u===void 0?!0:u,g=s?Number.parseFloat(e):Number(e);if(!F(e))return a;var f=i?g>=o:g>o;return f?"+".concat(e):e.toString()}var Ee=be;function Me(e){return F(e)?e:M.placeholder}var Ne=Me,Pe=v(26068),G=v.n(Pe),xe=v(67825),X=v.n(xe),Te=["multiply"];function Se(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.multiply,i=r===void 0?1:r,n=X()(t,Te),o=n.placeholder,c=o===void 0?M.placeholder:o,a=Number(e);return isNaN(a)?c:"".concat(W(i*e,G()({ignoreIntegerPrecision:!1},n)),"%")}var De=Se;function Ie(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.placeholder,i=r===void 0?M.placeholder:r,n=t.precision,o=n===void 0?M.precision:n,c=t.ignoreIntegerPrecision,a=c===void 0?!1:c;if(!F(e))return i;var u=Number(e);if(isNaN(u))return i;if(a&&Number.parseFloat(u.toString())===Number.parseInt(u.toString()))return u.toString();var s=Math.pow(10,o);return W(k(u).mul(s).div(s),{precision:o,RM:U.roundDown})}var $e=Ie,_e=v(48305),He=v.n(_e);function ye(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",",r=e.toString().split("."),i=He()(r,2),n=i[0],o=i[1],c=n.replace(/\B(?=(\d{3})+(?!\d))/g,t);return o?"".concat(c,".").concat(o):c}var Ae=ye,Oe=["lanType"],J=p()(p()(p()({},m.EN_US,[{value:Math.pow(10,12),label:"T"},{value:Math.pow(10,9),label:"B"},{value:Math.pow(10,6),label:"M"},{value:Math.pow(10,3),label:"K"}]),m.ZH_CN,[{value:Math.pow(10,12),label:"\u4E07\u4EBF"},{value:Math.pow(10,8),label:"\u4EBF"},{value:Math.pow(10,4),label:"\u4E07"}]),m.ZH_TW,[{value:Math.pow(10,12),label:"\u842C\u5104"},{value:Math.pow(10,8),label:"\u5104"},{value:Math.pow(10,4),label:"\u842C"}]);function Ue(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.lanType,i=r===void 0?M.lang:r,n=X()(t,Oe),o=n.placeholder,c=o===void 0?M.placeholder:o,a=n.ignoreIntegerPrecision,u=a===void 0?!0:a,s=Number(e);if(isNaN(s))return c;var g=J[i]||J[m.EN_US],f=g.length,N=Math.abs(+e),T="",R=G()({ignoreIntegerPrecision:u},n);if(N=_){T="".concat(s<0?"-":"").concat(W(N/_,R)).concat(S);break}}return T}var Fe=Ue;function je(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];if(e!=null&&e.length&&e.length<=1)return[];for(var i=e[0],n=1;n2&&arguments[2]!==void 0?arguments[2]:{},i=[],n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(P,p)&&(E[p]=P[p])}return E}d.exports=I,d.exports.__esModule=!0,d.exports.default=d.exports},64382:function(d){function $(v,D){if(v==null)return{};var I={},P=Object.keys(v),b,E;for(E=0;E=0)&&(I[b]=v[b]);return I}d.exports=$,d.exports.__esModule=!0,d.exports.default=d.exports}}]); diff --git a/begin/index.html b/begin/index.html index e73dfd1..be78091 100644 --- a/begin/index.html +++ b/begin/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/changelog/changelog/index.html b/changelog/changelog/index.html index e73dfd1..be78091 100644 --- a/changelog/changelog/index.html +++ b/changelog/changelog/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/docs__CHANGELOG__changelog.md.1a5d9a62.async.js b/docs__CHANGELOG__changelog.md.1a5d9a62.async.js new file mode 100644 index 0000000..9494025 --- /dev/null +++ b/docs__CHANGELOG__changelog.md.1a5d9a62.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[170],{52066:function(r,n,d){d.r(n);var a=d(11044),c=d(18611),o=d(75914),u=d(54775),t=d(97649),h=d(25320),j=d(74457),s=d(57703),x=d(93236),_=d(62086);function l(){var i=(0,s.eL)(),e=i.texts;return(0,_.jsx)(s.dY,{children:(0,_.jsx)(_.Fragment,{children:(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h2",{id:"v4",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v4",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v4"]}),(0,_.jsxs)("h3",{id:"v420",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v420",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v4.2.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[0].value})}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[e[1].value,(0,_.jsx)("code",{children:e[2].value}),e[3].value,(0,_.jsx)("code",{children:e[4].value}),e[5].value]}),(0,_.jsxs)("li",{children:[e[6].value,(0,_.jsx)("code",{children:e[7].value}),e[8].value,(0,_.jsx)("code",{children:e[9].value}),e[10].value]})]}),(0,_.jsxs)("h3",{id:"v410",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v410",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v4.1.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[11].value})}),(0,_.jsxs)("ul",{children:[(0,_.jsx)("li",{children:e[12].value}),(0,_.jsx)("li",{children:e[13].value}),(0,_.jsxs)("li",{children:[e[14].value,(0,_.jsx)("code",{children:e[15].value}),e[16].value,(0,_.jsx)("code",{children:e[17].value}),e[18].value,(0,_.jsx)("code",{children:e[19].value}),e[20].value,(0,_.jsx)("code",{children:e[21].value}),e[22].value]}),(0,_.jsx)("li",{children:e[23].value})]}),(0,_.jsxs)("h3",{id:"v400",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v400",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v4.0.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[24].value})}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[e[25].value,(0,_.jsx)("code",{children:e[26].value}),e[27].value]})}),(0,_.jsxs)("h2",{id:"v3",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v3",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v3"]}),(0,_.jsxs)("h3",{id:"390",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#390",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"3.9.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[28].value})}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[e[29].value,(0,_.jsx)("code",{children:e[30].value}),e[31].value,(0,_.jsx)("code",{children:e[32].value}),e[33].value]})}),(0,_.jsxs)("h2",{id:"v2",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v2",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v2"]}),(0,_.jsxs)("h3",{id:"210",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#210",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"2.1.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[34].value})}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[e[35].value,(0,_.jsx)("code",{children:e[36].value})]})})]})})})}n.default=l}}]); diff --git a/docs__CHANGELOG__changelog.md.add43a7e.async.js b/docs__CHANGELOG__changelog.md.add43a7e.async.js deleted file mode 100644 index fe4ef16..0000000 --- a/docs__CHANGELOG__changelog.md.add43a7e.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[170],{52066:function(r,n,d){d.r(n);var a=d(11044),o=d(18611),c=d(75914),u=d(54775),t=d(97649),m=d(25320),h=d(74457),s=d(57703),j=d(93236),_=d(62086);function l(){var i=(0,s.eL)(),e=i.texts;return(0,_.jsx)(s.dY,{children:(0,_.jsx)(_.Fragment,{children:(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h2",{id:"v4",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v4",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v4"]}),(0,_.jsxs)("h3",{id:"v410",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v410",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v4.1.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[0].value})}),(0,_.jsxs)("ul",{children:[(0,_.jsx)("li",{children:e[1].value}),(0,_.jsx)("li",{children:e[2].value}),(0,_.jsxs)("li",{children:[e[3].value,(0,_.jsx)("code",{children:e[4].value}),e[5].value,(0,_.jsx)("code",{children:e[6].value}),e[7].value,(0,_.jsx)("code",{children:e[8].value}),e[9].value,(0,_.jsx)("code",{children:e[10].value}),e[11].value]}),(0,_.jsx)("li",{children:e[12].value})]}),(0,_.jsxs)("h3",{id:"v400",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v400",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v4.0.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[13].value})}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[e[14].value,(0,_.jsx)("code",{children:e[15].value}),e[16].value]})}),(0,_.jsxs)("h2",{id:"v3",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v3",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v3"]}),(0,_.jsxs)("h3",{id:"390",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#390",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"3.9.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[17].value})}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[e[18].value,(0,_.jsx)("code",{children:e[19].value}),e[20].value,(0,_.jsx)("code",{children:e[21].value}),e[22].value]})}),(0,_.jsxs)("h2",{id:"v2",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#v2",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"v2"]}),(0,_.jsxs)("h3",{id:"210",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#210",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"2.1.0"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[23].value})}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[e[24].value,(0,_.jsx)("code",{children:e[25].value})]})})]})})})}n.default=l}}]); diff --git a/docs__methods__toPercent.md.d3f27948.async.js b/docs__methods__toPercent.md.aeb259b3.async.js similarity index 63% rename from docs__methods__toPercent.md.d3f27948.async.js rename to docs__methods__toPercent.md.aeb259b3.async.js index 48875c8..a29f7a8 100644 --- a/docs__methods__toPercent.md.d3f27948.async.js +++ b/docs__methods__toPercent.md.aeb259b3.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[742],{66656:function(o,n,s){s.r(n);var a=s(11044),t=s(18611),u=s(75914),c=s(54775),r=s(97649),m=s(25320),j=s(74457),d=s(57703),h=s(93236),_=s(62086);function i(){var l=(0,d.eL)(),e=l.texts;return(0,_.jsx)(d.dY,{children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h1",{id:"topercent",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#topercent",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"toPercent"]}),(0,_.jsx)("p",{children:e[0].value}),(0,_.jsxs)("h2",{id:"since",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#since",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Since"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[1].value})}),(0,_.jsxs)("h2",{id:"arguments",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#arguments",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Arguments"]}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[2].value}),e[3].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[4].value}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[5].value}),e[6].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[7].value}),e[8].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[9].value}),e[10].value]})]})]})]}),(0,_.jsxs)("h2",{id:"returns",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#returns",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Returns"]}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[11].value}),e[12].value]})}),(0,_.jsxs)("h2",{id:"examples",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#examples",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Examples"]}),(0,_.jsx)(r.Z,{lang:"js",children:e[13].value})]}),(0,_.jsx)(d.Dl,{demo:{id:"docs-methods-to-percent-demo-0"},previewerProps:{}})]})})}n.default=i}}]); +"use strict";(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[742],{66656:function(o,n,s){s.r(n);var a=s(11044),t=s(18611),u=s(75914),c=s(54775),r=s(97649),m=s(25320),j=s(74457),d=s(57703),h=s(93236),_=s(62086);function i(){var l=(0,d.eL)(),e=l.texts;return(0,_.jsx)(d.dY,{children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h1",{id:"topercent",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#topercent",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"toPercent"]}),(0,_.jsx)("p",{children:e[0].value}),(0,_.jsxs)("h2",{id:"since",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#since",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Since"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[1].value})}),(0,_.jsxs)("h2",{id:"arguments",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#arguments",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Arguments"]}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[2].value}),e[3].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[4].value}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[5].value}),e[6].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[7].value}),e[8].value,(0,_.jsx)("code",{children:e[9].value}),e[10].value]})]})]})]}),(0,_.jsxs)("h2",{id:"returns",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#returns",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Returns"]}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[11].value}),e[12].value]})}),(0,_.jsxs)("h2",{id:"examples",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#examples",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Examples"]}),(0,_.jsx)(r.Z,{lang:"js",children:e[13].value})]}),(0,_.jsx)(d.Dl,{demo:{id:"docs-methods-to-percent-demo-0"},previewerProps:{}})]})})}n.default=i}}]); diff --git a/docs__methods__toUnit.md.a668f7df.async.js b/docs__methods__toUnit.md.e8a6e03f.async.js similarity index 54% rename from docs__methods__toUnit.md.a668f7df.async.js rename to docs__methods__toUnit.md.e8a6e03f.async.js index c5dee0b..fa3f673 100644 --- a/docs__methods__toUnit.md.a668f7df.async.js +++ b/docs__methods__toUnit.md.e8a6e03f.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[524],{40610:function(a,n,s){s.r(n);var o=s(11044),t=s(18611),u=s(75914),c=s(54775),r=s(97649),m=s(25320),j=s(74457),d=s(57703),h=s(93236),_=s(62086);function i(){var l=(0,d.eL)(),e=l.texts;return(0,_.jsx)(d.dY,{children:(0,_.jsx)(_.Fragment,{children:(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h1",{id:"tounit",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#tounit",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"toUnit"]}),(0,_.jsx)("p",{children:e[0].value}),(0,_.jsxs)("h2",{id:"since",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#since",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Since"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[1].value})}),(0,_.jsxs)("h2",{id:"arguments",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#arguments",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Arguments"]}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[2].value}),e[3].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[4].value}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[5].value}),e[6].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[7].value}),e[8].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[9].value}),e[10].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[11].value}),e[12].value]})]})]})]}),(0,_.jsxs)("h2",{id:"returns",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#returns",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Returns"]}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[13].value}),e[14].value]})}),(0,_.jsxs)("h2",{id:"examples",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#examples",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Examples"]}),(0,_.jsx)(r.Z,{lang:"js",children:e[15].value})]})})})}n.default=i}}]); +"use strict";(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[524],{40610:function(a,s,n){n.r(s);var o=n(11044),t=n(18611),u=n(75914),c=n(54775),r=n(97649),m=n(25320),j=n(74457),d=n(57703),h=n(93236),_=n(62086);function i(){var l=(0,d.eL)(),e=l.texts;return(0,_.jsx)(d.dY,{children:(0,_.jsx)(_.Fragment,{children:(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h1",{id:"tounit",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#tounit",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"toUnit"]}),(0,_.jsx)("p",{children:e[0].value}),(0,_.jsxs)("h2",{id:"since",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#since",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Since"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:e[1].value})}),(0,_.jsxs)("h2",{id:"arguments",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#arguments",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Arguments"]}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[2].value}),e[3].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[4].value}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[5].value}),e[6].value]}),(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[7].value}),e[8].value,(0,_.jsx)("code",{children:e[9].value}),e[10].value]})]})]})]}),(0,_.jsxs)("h2",{id:"returns",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#returns",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Returns"]}),(0,_.jsx)("ul",{children:(0,_.jsxs)("li",{children:[(0,_.jsx)("code",{children:e[11].value}),e[12].value]})}),(0,_.jsxs)("h2",{id:"examples",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#examples",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Examples"]}),(0,_.jsx)(r.Z,{lang:"js",children:e[13].value})]})})})}s.default=i}}]); diff --git a/dumi__tmp-production__dumi__theme__ContextWrapper.48edd2bd.async.js b/dumi__tmp-production__dumi__theme__ContextWrapper.638cbde4.async.js similarity index 94% rename from dumi__tmp-production__dumi__theme__ContextWrapper.48edd2bd.async.js rename to dumi__tmp-production__dumi__theme__ContextWrapper.638cbde4.async.js index 8c207e8..60bb6a3 100644 --- a/dumi__tmp-production__dumi__theme__ContextWrapper.48edd2bd.async.js +++ b/dumi__tmp-production__dumi__theme__ContextWrapper.638cbde4.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[923],{65510:function(h,r,_){_.r(r),_.d(r,{default:function(){return c}});var l=_(48305),d=_.n(l),e=_(93236),o=_(57703),i=_(74950),t=_(16040),u=_(51012),m=_(62086),g={};function c(){var E=(0,o.pC)(),p=(0,e.useState)(!1),n=d()(p,2),f=n[0],v=n[1],a=(0,e.useRef)(o.m8.location.pathname);return(0,e.useEffect)(function(){return o.m8.listen(function(s){s.location.pathname!==a.current&&(a.current=s.location.pathname,document.documentElement.scrollTo(0,0))})},[]),(0,m.jsx)(i.D.Provider,{value:{pkg:{name:"@dz-web/o-orange",description:"A javascript utility library",version:"4.1.1",license:"MIT",repository:{type:"git",url:""},author:"moonlit"},historyType:"browser",entryExports:g,demos:t.DE,components:t.wx,locales:u.k,loading:f,setLoading:v,hostname:void 0,themeConfig:{footer:'Copyright \xA9 2024 | Powered by dumi',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"o-orange",favicon:"/o-orange/images/dz-logo.jpg",logo:"/o-orange/images/dz-logo.jpg"},_2_level_nav_available:!0},children:E})}}}]); +"use strict";(self.webpackChunk_dz_web_o_orange=self.webpackChunk_dz_web_o_orange||[]).push([[923],{65510:function(h,r,_){_.r(r),_.d(r,{default:function(){return c}});var l=_(48305),d=_.n(l),e=_(93236),o=_(57703),i=_(74950),t=_(16040),u=_(51012),m=_(62086),g={};function c(){var E=(0,o.pC)(),p=(0,e.useState)(!1),n=d()(p,2),f=n[0],v=n[1],a=(0,e.useRef)(o.m8.location.pathname);return(0,e.useEffect)(function(){return o.m8.listen(function(s){s.location.pathname!==a.current&&(a.current=s.location.pathname,document.documentElement.scrollTo(0,0))})},[]),(0,m.jsx)(i.D.Provider,{value:{pkg:{name:"@dz-web/o-orange",description:"A javascript utility library",version:"4.2.0",license:"MIT",repository:{type:"git",url:""},author:"moonlit"},historyType:"browser",entryExports:g,demos:t.DE,components:t.wx,locales:u.k,loading:f,setLoading:v,hostname:void 0,themeConfig:{footer:'Copyright \xA9 2024 | Powered by dumi',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"o-orange",favicon:"/o-orange/images/dz-logo.jpg",logo:"/o-orange/images/dz-logo.jpg"},_2_level_nav_available:!0},children:E})}}}]); diff --git a/faq/faq/index.html b/faq/faq/index.html index e73dfd1..be78091 100644 --- a/faq/faq/index.html +++ b/faq/faq/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/index.html b/index.html index e73dfd1..be78091 100644 --- a/index.html +++ b/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/csv-array/index.html b/methods/csv-array/index.html index e73dfd1..be78091 100644 --- a/methods/csv-array/index.html +++ b/methods/csv-array/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/date-format/index.html b/methods/date-format/index.html index e73dfd1..be78091 100644 --- a/methods/date-format/index.html +++ b/methods/date-format/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/date-range/index.html b/methods/date-range/index.html index e73dfd1..be78091 100644 --- a/methods/date-range/index.html +++ b/methods/date-range/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/ensure/index.html b/methods/ensure/index.html index e73dfd1..be78091 100644 --- a/methods/ensure/index.html +++ b/methods/ensure/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/is-true/index.html b/methods/is-true/index.html index e73dfd1..be78091 100644 --- a/methods/is-true/index.html +++ b/methods/is-true/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/pagination/index.html b/methods/pagination/index.html index e73dfd1..be78091 100644 --- a/methods/pagination/index.html +++ b/methods/pagination/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/parse-key-header/index.html b/methods/parse-key-header/index.html index e73dfd1..be78091 100644 --- a/methods/parse-key-header/index.html +++ b/methods/parse-key-header/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/parse-url/index.html b/methods/parse-url/index.html index e73dfd1..be78091 100644 --- a/methods/parse-url/index.html +++ b/methods/parse-url/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/to-fixed/index.html b/methods/to-fixed/index.html index e73dfd1..be78091 100644 --- a/methods/to-fixed/index.html +++ b/methods/to-fixed/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/to-percent/index.html b/methods/to-percent/index.html index e73dfd1..be78091 100644 --- a/methods/to-percent/index.html +++ b/methods/to-percent/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/to-placeholder/index.html b/methods/to-placeholder/index.html index e73dfd1..be78091 100644 --- a/methods/to-placeholder/index.html +++ b/methods/to-placeholder/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/to-positive-sign/index.html b/methods/to-positive-sign/index.html index e73dfd1..be78091 100644 --- a/methods/to-positive-sign/index.html +++ b/methods/to-positive-sign/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/to-slice/index.html b/methods/to-slice/index.html index e73dfd1..be78091 100644 --- a/methods/to-slice/index.html +++ b/methods/to-slice/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/to-thousand/index.html b/methods/to-thousand/index.html index e73dfd1..be78091 100644 --- a/methods/to-thousand/index.html +++ b/methods/to-thousand/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/methods/to-unit/index.html b/methods/to-unit/index.html index e73dfd1..be78091 100644 --- a/methods/to-unit/index.html +++ b/methods/to-unit/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/umi.2614a752.js b/umi.c71633c9.js similarity index 98% rename from umi.2614a752.js rename to umi.c71633c9.js index 8b7f246..ec910f3 100644 --- a/umi.2614a752.js +++ b/umi.c71633c9.js @@ -67,17 +67,17 @@ test('toPositiveSign', () => { expect(toPositiveSign('--')).toBe('--'); expect(toPositiveSign(toPercent(-0.3))).toBe('+30%'); }) -`,paraId:5,tocIndex:4}],g={},b={title:"toPlaceholder",toc:"menu",filename:"docs/methods/toPlaceholder.md",lastUpdated:1712907325e3,group:{title:"\u6570\u5B57\u5904\u7406"},order:6,description:"\u6570\u5B57\u7684\u7F3A\u7701\u503C\u3002"},w=[{id:"toplaceholder",depth:1,title:"toPlaceholder"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],x=[{value:"\u6570\u5B57\u7684\u7F3A\u7701\u503C\u3002",paraId:0,tocIndex:0},{value:"function toPlaceholder(num: T): T | string {}",paraId:1,tocIndex:0},{value:"2.1.3",paraId:2,tocIndex:1},{value:"num: string | number",paraId:3,tocIndex:2},{value:": \u5F85\u8F6C\u6362\u503C",paraId:3,tocIndex:2},{value:"Returns: T",paraId:4,tocIndex:3},{value:": \u8F6C\u6362\u540E\u7684\u503C",paraId:4,tocIndex:3},{value:`import { toPlaceholder } from '@dz-web/o-orange'; +`,paraId:5,tocIndex:4}],g={},b={title:"toPlaceholder",toc:"menu",filename:"docs/methods/toPlaceholder.md",lastUpdated:1713229507e3,group:{title:"\u6570\u5B57\u5904\u7406"},order:6,description:"\u6570\u5B57\u7684\u7F3A\u7701\u503C\u3002"},w=[{id:"toplaceholder",depth:1,title:"toPlaceholder"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],x=[{value:"\u6570\u5B57\u7684\u7F3A\u7701\u503C\u3002",paraId:0,tocIndex:0},{value:"function toPlaceholder(num: T): T | string {}",paraId:1,tocIndex:0},{value:"2.1.3",paraId:2,tocIndex:1},{value:"num: string | number",paraId:3,tocIndex:2},{value:": \u5F85\u8F6C\u6362\u503C",paraId:3,tocIndex:2},{value:"Returns: T",paraId:4,tocIndex:3},{value:": \u8F6C\u6362\u540E\u7684\u503C",paraId:4,tocIndex:3},{value:`import { toPlaceholder } from '@dz-web/o-orange'; test('toPlaceholder', () => { expect(toPlaceholder(0)).toBe(0); expect(toPlaceholder(1)).toBe(1); expect(toPlaceholder(NaN)).toBe('--'); }) -`,paraId:5,tocIndex:4}],A={},O={title:"Changelog",toc:"menu",filename:"docs/CHANGELOG/changelog.md",lastUpdated:1712907325e3,nav:{title:"Changelogs",order:4},description:"2024-04-11"},k=[{id:"v4",depth:2,title:"v4"},{id:"v410",depth:3,title:"v4.1.0"},{id:"v400",depth:3,title:"v4.0.0"},{id:"v3",depth:2,title:"v3"},{id:"390",depth:3,title:"3.9.0"},{id:"v2",depth:2,title:"v2"},{id:"210",depth:3,title:"2.1.0"}],L=[{value:"2024-04-11",paraId:0,tocIndex:1},{value:"docs: improve the quality of docs\u3002",paraId:1,tocIndex:1},{value:"docs: add FAQs.",paraId:1,tocIndex:1},{value:"feat: support global config of ",paraId:1,tocIndex:1},{value:"Lang",paraId:1,tocIndex:1},{value:"/",paraId:1,tocIndex:1},{value:"precision",paraId:1,tocIndex:1},{value:"/",paraId:1,tocIndex:1},{value:"placeholder",paraId:1,tocIndex:1},{value:"/",paraId:1,tocIndex:1},{value:"ignoreIntegerPrecision",paraId:1,tocIndex:1},{value:".",paraId:1,tocIndex:1},{value:"test: add more test unit.",paraId:1,tocIndex:1},{value:"2024-04-10",paraId:2,tocIndex:2},{value:"chore: remove ",paraId:3,tocIndex:2},{value:"parseUrl",paraId:3,tocIndex:2},{value:" to support SSR\u3002",paraId:3,tocIndex:2},{value:"Dec 21, 2023",paraId:4,tocIndex:4},{value:"chore: ",paraId:5,tocIndex:4},{value:"ensure()",paraId:5,tocIndex:4},{value:" use ",paraId:5,tocIndex:4},{value:"isTrue",paraId:5,tocIndex:4},{value:" by default\u3002",paraId:5,tocIndex:4},{value:"Dec 28, 2019",paraId:6,tocIndex:6},{value:"\u{1F484} ",paraId:7,tocIndex:6},{value:"toUnit",paraId:7,tocIndex:6}],U={},T={title:"dateFormat",toc:"menu",filename:"docs/methods/dateFormat.md",lastUpdated:17010733e5,group:{title:"Deprecated",order:5},order:100,description:"\u5E9F\u5F03\uFF0C\u63A8\u8350\u4F7F\u7528dayjs"},_=[{id:"dateformat",depth:1,title:"dateFormat"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"exampless",depth:2,title:"Exampless"}],$=[{value:"\u5E9F\u5F03\uFF0C\u63A8\u8350\u4F7F\u7528",paraId:0,tocIndex:0},{value:"dayjs",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"date: string | number",paraId:2,tocIndex:2},{value:": The array to convert",paraId:2,tocIndex:2},{value:"format: string",paraId:2,tocIndex:2},{value:": yyyy, M, MM, dd, d, HH, H, mm, m, ss, s",paraId:2,tocIndex:2},{value:"Returns: string",paraId:3,tocIndex:3},{value:": The array to convert\u3002",paraId:3,tocIndex:3},{value:`dateFormat(1548297785895, 'yyyy-MM-dd HH:mm:ss'); +`,paraId:5,tocIndex:4}],A={},O={title:"Changelog",toc:"menu",filename:"docs/CHANGELOG/changelog.md",lastUpdated:1715241257e3,nav:{title:"Changelogs",order:4},description:"2024-05-09"},k=[{id:"v4",depth:2,title:"v4"},{id:"v420",depth:3,title:"v4.2.0"},{id:"v410",depth:3,title:"v4.1.0"},{id:"v400",depth:3,title:"v4.0.0"},{id:"v3",depth:2,title:"v3"},{id:"390",depth:3,title:"3.9.0"},{id:"v2",depth:2,title:"v2"},{id:"210",depth:3,title:"2.1.0"}],L=[{value:"2024-05-09",paraId:0,tocIndex:1},{value:"feat: ",paraId:1,tocIndex:1},{value:"toPercent",paraId:1,tocIndex:1},{value:" support all ",paraId:1,tocIndex:1},{value:"toFixed",paraId:1,tocIndex:1},{value:" params\u3002",paraId:1,tocIndex:1},{value:"feat: ",paraId:1,tocIndex:1},{value:"toUnit",paraId:1,tocIndex:1},{value:" support all ",paraId:1,tocIndex:1},{value:"toFixed",paraId:1,tocIndex:1},{value:" params\u3002",paraId:1,tocIndex:1},{value:"2024-04-11",paraId:2,tocIndex:2},{value:"docs: improve the quality of docs\u3002",paraId:3,tocIndex:2},{value:"docs: add FAQs.",paraId:3,tocIndex:2},{value:"feat: support global config of ",paraId:3,tocIndex:2},{value:"Lang",paraId:3,tocIndex:2},{value:"/",paraId:3,tocIndex:2},{value:"precision",paraId:3,tocIndex:2},{value:"/",paraId:3,tocIndex:2},{value:"placeholder",paraId:3,tocIndex:2},{value:"/",paraId:3,tocIndex:2},{value:"ignoreIntegerPrecision",paraId:3,tocIndex:2},{value:".",paraId:3,tocIndex:2},{value:"test: add more test unit.",paraId:3,tocIndex:2},{value:"2024-04-10",paraId:4,tocIndex:3},{value:"chore: remove ",paraId:5,tocIndex:3},{value:"parseUrl",paraId:5,tocIndex:3},{value:" to support SSR\u3002",paraId:5,tocIndex:3},{value:"Dec 21, 2023",paraId:6,tocIndex:5},{value:"chore: ",paraId:7,tocIndex:5},{value:"ensure()",paraId:7,tocIndex:5},{value:" use ",paraId:7,tocIndex:5},{value:"isTrue",paraId:7,tocIndex:5},{value:" by default\u3002",paraId:7,tocIndex:5},{value:"Dec 28, 2019",paraId:8,tocIndex:7},{value:"\u{1F484} ",paraId:9,tocIndex:7},{value:"toUnit",paraId:9,tocIndex:7}],U={},T={title:"dateFormat",toc:"menu",filename:"docs/methods/dateFormat.md",lastUpdated:17010733e5,group:{title:"Deprecated",order:5},order:100,description:"\u5E9F\u5F03\uFF0C\u63A8\u8350\u4F7F\u7528dayjs"},_=[{id:"dateformat",depth:1,title:"dateFormat"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"exampless",depth:2,title:"Exampless"}],$=[{value:"\u5E9F\u5F03\uFF0C\u63A8\u8350\u4F7F\u7528",paraId:0,tocIndex:0},{value:"dayjs",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"date: string | number",paraId:2,tocIndex:2},{value:": The array to convert",paraId:2,tocIndex:2},{value:"format: string",paraId:2,tocIndex:2},{value:": yyyy, M, MM, dd, d, HH, H, mm, m, ss, s",paraId:2,tocIndex:2},{value:"Returns: string",paraId:3,tocIndex:3},{value:": The array to convert\u3002",paraId:3,tocIndex:3},{value:`dateFormat(1548297785895, 'yyyy-MM-dd HH:mm:ss'); // 2019-01-24 10:43:05 -`,paraId:4,tocIndex:4}],Y={},q={title:"pagination",toc:"menu",filename:"docs/methods/pagination.md",lastUpdated:17010733e5,group:{title:"\u6570\u7EC4\u5904\u7406"},order:2,description:"\u5207\u5272\u6570\u7EC4"},te=[{id:"pagination",depth:1,title:"pagination"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"exampless",depth:2,title:"Exampless"}],fe=[{value:"\u5207\u5272\u6570\u7EC4",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"array: Array",paraId:2,tocIndex:2},{value:": The array to execute",paraId:2,tocIndex:2},{value:"[pageNum = 1]: number",paraId:2,tocIndex:2},{value:": Current page number(Calculate the page number from the back when it is negative)",paraId:2,tocIndex:2},{value:"[pageSize = 10]: number",paraId:2,tocIndex:2},{value:": The size of one page.",paraId:2,tocIndex:2},{value:"Returns: Array",paraId:3,tocIndex:3},{value:": Returns the new array of result.",paraId:3,tocIndex:3},{value:`import { pagination } from '@dz-web/o-orange'; +`,paraId:4,tocIndex:4}],Y={},q={title:"pagination",toc:"menu",filename:"docs/methods/pagination.md",lastUpdated:1713229507e3,group:{title:"\u6570\u7EC4\u5904\u7406"},order:2,description:"\u5207\u5272\u6570\u7EC4"},te=[{id:"pagination",depth:1,title:"pagination"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"exampless",depth:2,title:"Exampless"}],fe=[{value:"\u5207\u5272\u6570\u7EC4",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"array: Array",paraId:2,tocIndex:2},{value:": The array to execute",paraId:2,tocIndex:2},{value:"[pageNum = 1]: number",paraId:2,tocIndex:2},{value:": Current page number(Calculate the page number from the back when it is negative)",paraId:2,tocIndex:2},{value:"[pageSize = 10]: number",paraId:2,tocIndex:2},{value:": The size of one page.",paraId:2,tocIndex:2},{value:"Returns: Array",paraId:3,tocIndex:3},{value:": Returns the new array of result.",paraId:3,tocIndex:3},{value:`import { pagination } from '@dz-web/o-orange'; test('is pagination', () => { const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] @@ -97,7 +97,7 @@ test('toThousand', () => { expect(toThousand(11345.2345, ' ')).toBe('11 345.2345'); expect(toThousand(11345123132.2345)).toBe('11,345,123,132.2345'); }) -`,paraId:4,tocIndex:4}],J={},z={title:"dateRange",toc:"menu",filename:"docs/methods/dateRange.md",lastUpdated:17010733e5,group:{title:"\u65E5\u671F\u76F8\u5173",order:4},description:"Generate an ordered time interval array"},H=[{id:"daterange",depth:1,title:"dateRange"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],G=[{value:"Generate an ordered time interval array",paraId:0,tocIndex:0},{value:"2.0.4",paraId:1,tocIndex:1},{value:"beginTime: string | number | Date",paraId:2,tocIndex:2},{value:": beginTime(Can be converted by new Date())",paraId:2,tocIndex:2},{value:"endTime: string | number | Date",paraId:2,tocIndex:2},{value:": endTime(Can be converted by new Date())",paraId:2,tocIndex:2},{value:"options: Object",paraId:2,tocIndex:2},{value:"[options.dateType = 'yyyy-MM-dd HH:mm:ss']: string",paraId:3,tocIndex:2},{value:": output time format",paraId:3,tocIndex:2},{value:"[options.rangeType = 'minute']: string",paraId:3,tocIndex:2},{value:": Time interval",paraId:3,tocIndex:2},{value:"[options.rangeMultiple = 1]: number",paraId:3,tocIndex:2},{value:": Time interval multiple",paraId:3,tocIndex:2},{value:"[options.fixedEndTime = false]: boolean",paraId:3,tocIndex:2},{value:": No matter how keep endTime exists",paraId:3,tocIndex:2},{value:"Returns: string",paraId:4,tocIndex:3},{value:": The array to convert\u3002",paraId:4,tocIndex:3},{value:`import { dateRange } from '@dz-web/o-orange'; +`,paraId:4,tocIndex:4}],J={},z={title:"dateRange",toc:"menu",filename:"docs/methods/dateRange.md",lastUpdated:1713229507e3,group:{title:"\u65E5\u671F\u76F8\u5173",order:4},description:"Generate an ordered time interval array"},H=[{id:"daterange",depth:1,title:"dateRange"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],G=[{value:"Generate an ordered time interval array",paraId:0,tocIndex:0},{value:"2.0.4",paraId:1,tocIndex:1},{value:"beginTime: string | number | Date",paraId:2,tocIndex:2},{value:": beginTime(Can be converted by new Date())",paraId:2,tocIndex:2},{value:"endTime: string | number | Date",paraId:2,tocIndex:2},{value:": endTime(Can be converted by new Date())",paraId:2,tocIndex:2},{value:"options: Object",paraId:2,tocIndex:2},{value:"[options.dateType = 'yyyy-MM-dd HH:mm:ss']: string",paraId:3,tocIndex:2},{value:": output time format",paraId:3,tocIndex:2},{value:"[options.rangeType = 'minute']: string",paraId:3,tocIndex:2},{value:": Time interval",paraId:3,tocIndex:2},{value:"[options.rangeMultiple = 1]: number",paraId:3,tocIndex:2},{value:": Time interval multiple",paraId:3,tocIndex:2},{value:"[options.fixedEndTime = false]: boolean",paraId:3,tocIndex:2},{value:": No matter how keep endTime exists",paraId:3,tocIndex:2},{value:"Returns: string",paraId:4,tocIndex:3},{value:": The array to convert\u3002",paraId:4,tocIndex:3},{value:`import { dateRange } from '@dz-web/o-orange'; test('dateRange', () => { expect( @@ -122,7 +122,7 @@ test('dateRange', () => { console.log(toPositiveSign(toPercent(-0.3))) -export default () => null;`},"@dz-web/o-orange":{type:"NPM",value:"4.1.1"}}}}},C={title:"toPercent",toc:"menu",filename:"docs/methods/toPercent.md",lastUpdated:1712907325e3,group:{title:"\u6570\u5B57\u5904\u7406"},order:3,description:"\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u767E\u5206\u6570\u3002"},Z=[{id:"topercent",depth:1,title:"toPercent"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],W=[{value:"\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u767E\u5206\u6570\u3002",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"num: string | number",paraId:2,tocIndex:2},{value:": \u5F85\u8F6C\u6362\u503C",paraId:2,tocIndex:2},{value:"[options = {}]: Object",paraId:2,tocIndex:2},{value:"[options.placeholder = orange.placeholder]: string",paraId:3,tocIndex:2},{value:" \u5F53\u5F85\u8F6C\u6362\u503C\u662FNaN\u6216\u8005\u7A7A\u7684\u65F6\u5019\u7684\u7F3A\u7701",paraId:3,tocIndex:2},{value:"[options.precision = orange.precision]: number",paraId:3,tocIndex:2},{value:" \u4FDD\u7559\u5C0F\u6570\u4F4D",paraId:3,tocIndex:2},{value:"[options.multiply = 1]: number",paraId:3,tocIndex:2},{value:" \u8BA1\u7B97\u4E4B\u524D\u5148\u4E58\u4E8E\u57FA\u6570",paraId:3,tocIndex:2},{value:"Returns: string",paraId:4,tocIndex:3},{value:": \u8F6C\u6362\u540E\u7684\u503C",paraId:4,tocIndex:3},{value:`import { toPercent } from '@dz-web/o-orange'; +export default () => null;`},"@dz-web/o-orange":{type:"NPM",value:"4.2.0"}}}}},C={title:"toPercent",toc:"menu",filename:"docs/methods/toPercent.md",lastUpdated:1715241257e3,group:{title:"\u6570\u5B57\u5904\u7406"},order:3,description:"\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u767E\u5206\u6570\u3002"},Z=[{id:"topercent",depth:1,title:"toPercent"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],W=[{value:"\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u767E\u5206\u6570\u3002",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"num: string | number",paraId:2,tocIndex:2},{value:": \u5F85\u8F6C\u6362\u503C",paraId:2,tocIndex:2},{value:"[options = {}]: Object",paraId:2,tocIndex:2},{value:"[options.multiply = 1]: number",paraId:3,tocIndex:2},{value:" \u8BA1\u7B97\u4E4B\u524D\u5148\u4E58\u4E8E\u57FA\u6570",paraId:3,tocIndex:2},{value:"[...rest]",paraId:3,tocIndex:2},{value:" \u652F\u6301",paraId:3,tocIndex:2},{value:"toFixed",paraId:3,tocIndex:2},{value:"\u65B9\u6CD5\u7684\u6240\u6709\u53C2\u6570",paraId:3,tocIndex:2},{value:"Returns: string",paraId:4,tocIndex:3},{value:": \u8F6C\u6362\u540E\u7684\u503C",paraId:4,tocIndex:3},{value:`import { toPercent } from '@dz-web/o-orange'; test('toPercent', () => { expect(toPercent(0.6515, { multiply: 100, precision: 2 })).toBe('65.15%'); @@ -131,7 +131,7 @@ test('toPercent', () => { expect(toPercent(NaN)).toBe('--'); expect(toPercent(NaN, { placeholder: 'xxxx' })).toBe('xxxx'); }) -`,paraId:5,tocIndex:4}],X={},ue={title:"CSV Array",toc:"menu",filename:"docs/methods/csvArray.md",lastUpdated:17010733e5,group:{title:"\u6570\u7EC4\u5904\u7406",order:2},order:1,description:"\u8F6C\u6362\u9996\u884C\u4E3Akey\u7684\u6570\u7EC4\u4E3AJSONArray\u3002"},Le=[{id:"csv-array",depth:1,title:"CSV Array"},{id:"since",depth:2,title:"Since"},{id:"csvarraytoobjects",depth:2,title:"csvArrayToObjects"},{id:"arguments",depth:3,title:"Arguments"},{id:"returns",depth:3,title:"Returns"},{id:"examples",depth:3,title:"Examples"},{id:"csvarraywithoutkeystoobjects",depth:2,title:"csvArrayWithoutKeysToObjects"},{id:"arguments-1",depth:3,title:"Arguments"},{id:"returns-1",depth:3,title:"Returns"},{id:"exampless",depth:3,title:"Exampless"}],ke=[{value:"\u8F6C\u6362\u9996\u884C\u4E3Akey\u7684\u6570\u7EC4\u4E3AJSONArray\u3002",paraId:0,tocIndex:0},{value:"3.8.0",paraId:1,tocIndex:1},{value:"array: any[][]",paraId:2,tocIndex:3},{value:": The array to execute",paraId:2,tocIndex:3},{value:"[renameMap = {}]: number",paraId:2,tocIndex:3},{value:": \u9996\u884Ckeys\u7684\u6620\u5C04",paraId:2,tocIndex:3},{value:"Returns: Record[]",paraId:3,tocIndex:4},{value:": Returns the new array of result.",paraId:3,tocIndex:4},{value:`import { csvArrayToObjects } from '@dz-web/o-orange'; +`,paraId:5,tocIndex:4}],X={},ue={title:"CSV Array",toc:"menu",filename:"docs/methods/csvArray.md",lastUpdated:1713229507e3,group:{title:"\u6570\u7EC4\u5904\u7406",order:2},order:1,description:"\u8F6C\u6362\u9996\u884C\u4E3Akey\u7684\u6570\u7EC4\u4E3AJSONArray\u3002"},Le=[{id:"csv-array",depth:1,title:"CSV Array"},{id:"since",depth:2,title:"Since"},{id:"csvarraytoobjects",depth:2,title:"csvArrayToObjects"},{id:"arguments",depth:3,title:"Arguments"},{id:"returns",depth:3,title:"Returns"},{id:"examples",depth:3,title:"Examples"},{id:"csvarraywithoutkeystoobjects",depth:2,title:"csvArrayWithoutKeysToObjects"},{id:"arguments-1",depth:3,title:"Arguments"},{id:"returns-1",depth:3,title:"Returns"},{id:"exampless",depth:3,title:"Exampless"}],ke=[{value:"\u8F6C\u6362\u9996\u884C\u4E3Akey\u7684\u6570\u7EC4\u4E3AJSONArray\u3002",paraId:0,tocIndex:0},{value:"3.8.0",paraId:1,tocIndex:1},{value:"array: any[][]",paraId:2,tocIndex:3},{value:": The array to execute",paraId:2,tocIndex:3},{value:"[renameMap = {}]: number",paraId:2,tocIndex:3},{value:": \u9996\u884Ckeys\u7684\u6620\u5C04",paraId:2,tocIndex:3},{value:"Returns: Record[]",paraId:3,tocIndex:4},{value:": Returns the new array of result.",paraId:3,tocIndex:4},{value:`import { csvArrayToObjects } from '@dz-web/o-orange'; describe('\u51FD\u6570csvArrayToObjects', () => { test('\u8F93\u5165\u7A7A\u6570\u7EC4\u5E94\u8BE5\u8FD4\u56DE\u7A7A\u6570\u7EC4', () => { @@ -216,7 +216,7 @@ describe('\u51FD\u6570csvArrayWithoutKeysToObjects', () => { ]); }); }); -`,paraId:7,tocIndex:9}],et={},Ze={title:"parseUrl",toc:"menu",filename:"docs/methods/parseUrl.md",lastUpdated:1700903742e3,group:{title:"Deprecated",order:3},order:100,description:`\u5E9F\u5F03\uFF0C\u63A8\u8350\u4F7F\u7528query-string +`,paraId:7,tocIndex:9}],et={},Ze={title:"parseUrl",toc:"menu",filename:"docs/methods/parseUrl.md",lastUpdated:1713229507e3,group:{title:"Deprecated",order:3},order:100,description:`\u5E9F\u5F03\uFF0C\u63A8\u8350\u4F7F\u7528query-string Match the parameter value of url by key`},Xe=[{id:"parseurl",depth:1,title:"parseUrl"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],ft=[{value:"\u5E9F\u5F03\uFF0C\u63A8\u8350\u4F7F\u7528",paraId:0,tocIndex:0},{value:"query-string",paraId:0,tocIndex:0},{value:` Match the parameter value of url by key`,paraId:0,tocIndex:0},{value:"2.0.4",paraId:1,tocIndex:1},{value:"url: string",paraId:2,tocIndex:2},{value:": the url to match",paraId:2,tocIndex:2},{value:"key: string",paraId:2,tocIndex:2},{value:": The key to match",paraId:2,tocIndex:2},{value:"Returns: string",paraId:3,tocIndex:3},{value:": Matched value",paraId:3,tocIndex:3},{value:`import parseUrl, { parseUrlByHash, parseUrlBySearch } from '@dz-web/o-orange/lib/parseUrl'; @@ -248,7 +248,7 @@ console.log( // expect(toFixed(1.2345, { precision: 3 })).toBe('1.234'); // expect(toFixed(1, { ignoreIntegerPrecision: true, precision: 3 })).toBe(1); // }) -export default () => null;`},"@dz-web/o-orange":{type:"NPM",value:"4.1.1"}}}}},he={title:"toFixed",toc:"menu",filename:"docs/methods/toFixed.md",lastUpdated:1712907325e3,nav:{title:"Methods"},group:{title:"\u6570\u5B57\u5904\u7406",order:1},order:1,description:"JavaScript\u4E2DtoFixed\u7684\u8FB9\u754C\u5904\u7406\u3002"},ye=[{id:"tofixed",depth:1,title:"toFixed"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],be=[{value:"JavaScript\u4E2D",paraId:0,tocIndex:0},{value:"toFixed",paraId:0,tocIndex:0},{value:"\u7684\u8FB9\u754C\u5904\u7406\u3002",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"num: string | number",paraId:2,tocIndex:2},{value:": \u5F85\u8F6C\u6362\u503C",paraId:2,tocIndex:2},{value:"[options = {}]: Object",paraId:2,tocIndex:2},{value:"[options.placeholder = orange.placeholder]: string",paraId:3,tocIndex:2},{value:" \u5F53\u5F85\u8F6C\u6362\u503C\u662FNaN\u6216\u8005\u7A7A\u7684\u65F6\u5019\u7684\u7F3A\u7701",paraId:3,tocIndex:2},{value:"[options.precision = orange.precision]: number",paraId:3,tocIndex:2},{value:" \u4FDD\u7559\u5C0F\u6570\u4F4D",paraId:3,tocIndex:2},{value:"[options.ignoreIntegerPrecision = orange.ignoreIntegerPrecision]: boolean",paraId:3,tocIndex:2},{value:" \u5982\u679C\u662F\u6574\u6570\uFF0C\u5C31\u5FFD\u7565",paraId:3,tocIndex:2},{value:"[options.RM = orange.RM]: boolean",paraId:3,tocIndex:2},{value:" \u5C0F\u6570\u4FDD\u7559\u89C4\u5219\uFF0C\u9ED8\u8BA4\u56DB\u820D\u516D\u5165\u4E94\u6210\u53CC",paraId:3,tocIndex:2},{value:"Returns: string",paraId:4,tocIndex:3},{value:": \u8F6C\u6362\u540E\u7684\u503C",paraId:4,tocIndex:3},{value:`import { orange, RoundingMode, toFixed } from '@dz-web/o-orange'; +export default () => null;`},"@dz-web/o-orange":{type:"NPM",value:"4.2.0"}}}}},he={title:"toFixed",toc:"menu",filename:"docs/methods/toFixed.md",lastUpdated:1712907325e3,nav:{title:"Methods"},group:{title:"\u6570\u5B57\u5904\u7406",order:1},order:1,description:"JavaScript\u4E2DtoFixed\u7684\u8FB9\u754C\u5904\u7406\u3002"},ye=[{id:"tofixed",depth:1,title:"toFixed"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],be=[{value:"JavaScript\u4E2D",paraId:0,tocIndex:0},{value:"toFixed",paraId:0,tocIndex:0},{value:"\u7684\u8FB9\u754C\u5904\u7406\u3002",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"num: string | number",paraId:2,tocIndex:2},{value:": \u5F85\u8F6C\u6362\u503C",paraId:2,tocIndex:2},{value:"[options = {}]: Object",paraId:2,tocIndex:2},{value:"[options.placeholder = orange.placeholder]: string",paraId:3,tocIndex:2},{value:" \u5F53\u5F85\u8F6C\u6362\u503C\u662FNaN\u6216\u8005\u7A7A\u7684\u65F6\u5019\u7684\u7F3A\u7701",paraId:3,tocIndex:2},{value:"[options.precision = orange.precision]: number",paraId:3,tocIndex:2},{value:" \u4FDD\u7559\u5C0F\u6570\u4F4D",paraId:3,tocIndex:2},{value:"[options.ignoreIntegerPrecision = orange.ignoreIntegerPrecision]: boolean",paraId:3,tocIndex:2},{value:" \u5982\u679C\u662F\u6574\u6570\uFF0C\u5C31\u5FFD\u7565",paraId:3,tocIndex:2},{value:"[options.RM = orange.RM]: boolean",paraId:3,tocIndex:2},{value:" \u5C0F\u6570\u4FDD\u7559\u89C4\u5219\uFF0C\u9ED8\u8BA4\u56DB\u820D\u516D\u5165\u4E94\u6210\u53CC",paraId:3,tocIndex:2},{value:"Returns: string",paraId:4,tocIndex:3},{value:": \u8F6C\u6362\u540E\u7684\u503C",paraId:4,tocIndex:3},{value:`import { orange, RoundingMode, toFixed } from '@dz-web/o-orange'; test('toFixed', () => { expect(toFixed(NaN, { placeholder: 'xxxx' })).toBe('xxxx'); @@ -279,7 +279,7 @@ test('toSlice', () => { expect(toSlice(0, { precision: 2 })).toBe('0.00'); expect(toSlice(1.43543, { precision: 0 })).toBe('1'); }); -`,paraId:3,tocIndex:2}],le={},xe={title:"ensure",toc:"menu",filename:"docs/methods/ensure.md",lastUpdated:1703124355e3,group:{title:"\u8F85\u52A9\u51FD\u6570",order:3},order:1,description:"\u786E\u4FDD\u4E00\u4E2A\u884C\u4E3A\u662F\u5728\u8003\u5BDF\u503C\u6709\u6548\u7684\u65F6\u5019\u518D\u53BB\u505A\u3002\u4F7F\u7528\u573A\u666F\u662F\u57FA\u4E8E\u4E00\u4E2A\u503C\u53BB\u505A\u8BA1\u7B97\u7684\u65F6\u5019\u8981\u5148\u786E\u4FDD\u5B83\u662F\u5B58\u5728\u7684\uFF0C\u907F\u514D\u62A5\u9519\u3002"},We=[{id:"ensure",depth:1,title:"ensure"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],ze=[{value:"\u786E\u4FDD\u4E00\u4E2A\u884C\u4E3A\u662F\u5728\u8003\u5BDF\u503C\u6709\u6548\u7684\u65F6\u5019\u518D\u53BB\u505A\u3002\u4F7F\u7528\u573A\u666F\u662F\u57FA\u4E8E\u4E00\u4E2A\u503C\u53BB\u505A\u8BA1\u7B97\u7684\u65F6\u5019\u8981\u5148\u786E\u4FDD\u5B83\u662F\u5B58\u5728\u7684\uFF0C\u907F\u514D\u62A5\u9519\u3002",paraId:0,tocIndex:0},{value:"3.1.0",paraId:1,tocIndex:1},{value:"value: any",paraId:2,tocIndex:2},{value:": \u8003\u5BDF\u503C",paraId:2,tocIndex:2},{value:"[failureCallback]: string | (() => T)",paraId:2,tocIndex:2},{value:": \u5931\u8D25\u7684\u56DE\u8C03",paraId:2,tocIndex:2},{value:"[successCallback]: string | (() => N)",paraId:2,tocIndex:2},{value:": \u6210\u529F\u7684\u56DE\u8C03",paraId:2,tocIndex:2},{value:"Results: string | T | N",paraId:3,tocIndex:3},{value:": \u5931\u8D25\u7684\u65F6\u5019\u8FD4\u56DE\u5931\u8D25\u7684\u56DE\u8C03\uFF0C\u6210\u529F\u8FD4\u56DE\u6210\u529F\u7684\u56DE\u8C03\u3002",paraId:3,tocIndex:3},{value:`import { ensure, isTrue } from '@dz-web/o-orange'; +`,paraId:3,tocIndex:2}],le={},xe={title:"ensure",toc:"menu",filename:"docs/methods/ensure.md",lastUpdated:1713229507e3,group:{title:"\u8F85\u52A9\u51FD\u6570",order:3},order:1,description:"\u786E\u4FDD\u4E00\u4E2A\u884C\u4E3A\u662F\u5728\u8003\u5BDF\u503C\u6709\u6548\u7684\u65F6\u5019\u518D\u53BB\u505A\u3002\u4F7F\u7528\u573A\u666F\u662F\u57FA\u4E8E\u4E00\u4E2A\u503C\u53BB\u505A\u8BA1\u7B97\u7684\u65F6\u5019\u8981\u5148\u786E\u4FDD\u5B83\u662F\u5B58\u5728\u7684\uFF0C\u907F\u514D\u62A5\u9519\u3002"},We=[{id:"ensure",depth:1,title:"ensure"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],ze=[{value:"\u786E\u4FDD\u4E00\u4E2A\u884C\u4E3A\u662F\u5728\u8003\u5BDF\u503C\u6709\u6548\u7684\u65F6\u5019\u518D\u53BB\u505A\u3002\u4F7F\u7528\u573A\u666F\u662F\u57FA\u4E8E\u4E00\u4E2A\u503C\u53BB\u505A\u8BA1\u7B97\u7684\u65F6\u5019\u8981\u5148\u786E\u4FDD\u5B83\u662F\u5B58\u5728\u7684\uFF0C\u907F\u514D\u62A5\u9519\u3002",paraId:0,tocIndex:0},{value:"3.1.0",paraId:1,tocIndex:1},{value:"value: any",paraId:2,tocIndex:2},{value:": \u8003\u5BDF\u503C",paraId:2,tocIndex:2},{value:"[failureCallback]: string | (() => T)",paraId:2,tocIndex:2},{value:": \u5931\u8D25\u7684\u56DE\u8C03",paraId:2,tocIndex:2},{value:"[successCallback]: string | (() => N)",paraId:2,tocIndex:2},{value:": \u6210\u529F\u7684\u56DE\u8C03",paraId:2,tocIndex:2},{value:"Results: string | T | N",paraId:3,tocIndex:3},{value:": \u5931\u8D25\u7684\u65F6\u5019\u8FD4\u56DE\u5931\u8D25\u7684\u56DE\u8C03\uFF0C\u6210\u529F\u8FD4\u56DE\u6210\u529F\u7684\u56DE\u8C03\u3002",paraId:3,tocIndex:3},{value:`import { ensure, isTrue } from '@dz-web/o-orange'; test('ensure', () => { expect(ensure(1)).toEqual(1); @@ -292,7 +292,7 @@ test('ensure', () => { const num = 0; expect(ensure(!!num, null, num)).toEqual('--'); }) -`,paraId:4,tocIndex:4}],Ke={},At={title:"isTrue",toc:"menu",filename:"docs/methods/isTrue.md",lastUpdated:17010733e5,group:{title:"\u8F85\u52A9\u51FD\u6570"},order:2,description:"\u5224\u65AD\u662F\u4E00\u4E2A\u503C\u662F\u5426\u662Ftrue\uFF0C\u57FA\u4E8Ejs\u7684\u5224\u65AD\uFF0C\u552F\u4E00\u4E0D\u540C\u7684\u5C31\u662F0\u4E5F\u662Ftrue\u3002"},Te=[{id:"istrue",depth:1,title:"isTrue"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],ae=[{value:"\u5224\u65AD\u662F\u4E00\u4E2A\u503C\u662F\u5426\u662Ftrue\uFF0C\u57FA\u4E8Ejs\u7684\u5224\u65AD\uFF0C\u552F\u4E00\u4E0D\u540C\u7684\u5C31\u662F0\u4E5F\u662Ftrue\u3002",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"value: any",paraId:2,tocIndex:2},{value:": \u8003\u5BDF\u503C",paraId:2,tocIndex:2},{value:"[failureCallback]: string | (() => T)",paraId:2,tocIndex:2},{value:": \u5931\u8D25\u7684\u56DE\u8C03",paraId:2,tocIndex:2},{value:"[successCallback]: string | (() => N)",paraId:2,tocIndex:2},{value:": \u6210\u529F\u7684\u56DE\u8C03",paraId:2,tocIndex:2},{value:"Results: string | T | N",paraId:3,tocIndex:3},{value:": \u5931\u8D25\u7684\u65F6\u5019\u8FD4\u56DE\u5931\u8D25\u7684\u56DE\u8C03\uFF0C\u6210\u529F\u8FD4\u56DE\u6210\u529F\u7684\u56DE\u8C03\u3002",paraId:3,tocIndex:3},{value:`import { isTrue } from '@dz-web/o-orange' +`,paraId:4,tocIndex:4}],Ke={},At={title:"isTrue",toc:"menu",filename:"docs/methods/isTrue.md",lastUpdated:1713229507e3,group:{title:"\u8F85\u52A9\u51FD\u6570"},order:2,description:"\u5224\u65AD\u662F\u4E00\u4E2A\u503C\u662F\u5426\u662Ftrue\uFF0C\u57FA\u4E8Ejs\u7684\u5224\u65AD\uFF0C\u552F\u4E00\u4E0D\u540C\u7684\u5C31\u662F0\u4E5F\u662Ftrue\u3002"},Te=[{id:"istrue",depth:1,title:"isTrue"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],ae=[{value:"\u5224\u65AD\u662F\u4E00\u4E2A\u503C\u662F\u5426\u662Ftrue\uFF0C\u57FA\u4E8Ejs\u7684\u5224\u65AD\uFF0C\u552F\u4E00\u4E0D\u540C\u7684\u5C31\u662F0\u4E5F\u662Ftrue\u3002",paraId:0,tocIndex:0},{value:"0.0.1",paraId:1,tocIndex:1},{value:"value: any",paraId:2,tocIndex:2},{value:": \u8003\u5BDF\u503C",paraId:2,tocIndex:2},{value:"[failureCallback]: string | (() => T)",paraId:2,tocIndex:2},{value:": \u5931\u8D25\u7684\u56DE\u8C03",paraId:2,tocIndex:2},{value:"[successCallback]: string | (() => N)",paraId:2,tocIndex:2},{value:": \u6210\u529F\u7684\u56DE\u8C03",paraId:2,tocIndex:2},{value:"Results: string | T | N",paraId:3,tocIndex:3},{value:": \u5931\u8D25\u7684\u65F6\u5019\u8FD4\u56DE\u5931\u8D25\u7684\u56DE\u8C03\uFF0C\u6210\u529F\u8FD4\u56DE\u6210\u529F\u7684\u56DE\u8C03\u3002",paraId:3,tocIndex:3},{value:`import { isTrue } from '@dz-web/o-orange' test('is false not zero', () => { expect(isTrue(0)).toBeTruthy(); @@ -300,7 +300,7 @@ test('is false not zero', () => { expect(isTrue(null)).toBeFalsy(); expect(isTrue(undefined)).toBeFalsy(); }) -`,paraId:4,tocIndex:4}],we={},S={title:"toUnit",toc:"menu",filename:"docs/methods/toUnit.md",lastUpdated:1712931078e3,group:{title:"\u6570\u5B57\u5904\u7406"},order:7,description:"\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u5E26\u5355\u4F4D\u7684\u3002"},K=[{id:"tounit",depth:1,title:"toUnit"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],Ee=[{value:"\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u5E26\u5355\u4F4D\u7684\u3002",paraId:0,tocIndex:0},{value:"2.1.0",paraId:1,tocIndex:1},{value:"num: string | number",paraId:2,tocIndex:2},{value:": \u5F85\u8F6C\u6362\u503C",paraId:2,tocIndex:2},{value:"[options = {}]: Object",paraId:2,tocIndex:2},{value:"[options.placeholder = orange.placeholder]: string",paraId:3,tocIndex:2},{value:" \u5F53\u5F85\u8F6C\u6362\u503C\u662FNaN\u6216\u8005\u7A7A\u7684\u65F6\u5019\u7684\u7F3A\u7701",paraId:3,tocIndex:2},{value:"[options.precision = orange.precision]: number",paraId:3,tocIndex:2},{value:" \u4FDD\u7559\u5C0F\u6570\u4F4D",paraId:3,tocIndex:2},{value:"[options.ignoreIntegerPrecision = true]: boolean",paraId:3,tocIndex:2},{value:" \u5982\u679C\u662F\u6574\u6570\uFF0C\u5C31\u5FFD\u7565",paraId:3,tocIndex:2},{value:"[options.lanType = Lang.EN_US]: Lang",paraId:3,tocIndex:2},{value:" \u8BED\u8A00\u7C7B\u578B",paraId:3,tocIndex:2},{value:"Returns: string",paraId:4,tocIndex:3},{value:": \u8F6C\u6362\u540E\u7684\u503C",paraId:4,tocIndex:3},{value:`import { toUnit, Lang, orange } from '@dz-web/o-orange'; +`,paraId:4,tocIndex:4}],we={},S={title:"toUnit",toc:"menu",filename:"docs/methods/toUnit.md",lastUpdated:1715241257e3,group:{title:"\u6570\u5B57\u5904\u7406"},order:7,description:"\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u5E26\u5355\u4F4D\u7684\u3002"},K=[{id:"tounit",depth:1,title:"toUnit"},{id:"since",depth:2,title:"Since"},{id:"arguments",depth:2,title:"Arguments"},{id:"returns",depth:2,title:"Returns"},{id:"examples",depth:2,title:"Examples"}],Ee=[{value:"\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u5E26\u5355\u4F4D\u7684\u3002",paraId:0,tocIndex:0},{value:"2.1.0",paraId:1,tocIndex:1},{value:"num: string | number",paraId:2,tocIndex:2},{value:": \u5F85\u8F6C\u6362\u503C",paraId:2,tocIndex:2},{value:"[options = {}]: Object",paraId:2,tocIndex:2},{value:"[options.lanType = Lang.EN_US]: Lang",paraId:3,tocIndex:2},{value:" \u8BED\u8A00\u7C7B\u578B",paraId:3,tocIndex:2},{value:"[...rest]",paraId:3,tocIndex:2},{value:" \u652F\u6301",paraId:3,tocIndex:2},{value:"toFixed",paraId:3,tocIndex:2},{value:"\u65B9\u6CD5\u7684\u6240\u6709\u53C2\u6570",paraId:3,tocIndex:2},{value:"Returns: string",paraId:4,tocIndex:3},{value:": \u8F6C\u6362\u540E\u7684\u503C",paraId:4,tocIndex:3},{value:`import { toUnit, Lang, orange } from '@dz-web/o-orange'; test('ToUnit', () => { expect(toUnit(undefined)).toBe('--'); @@ -408,7 +408,7 @@ orange.ignoreIntegerPrecision = false; const num = 0.064385; const target = toPositiveSign(toPercent(num, { multiply: 100 })); -export default () => target;`},"@dz-web/o-orange":{type:"NPM",value:"4.1.1"}}}},"docs-faq-faq-demo-1":{component:n.memo(n.lazy(Se()(j()().mark(function nt(){var ot,wt,Dt,Mt,Bt,hr,Sr;return j()().wrap(function(Dr){for(;;)switch(Dr.prev=Dr.next){case 0:return Dr.next=2,e.e(877).then(e.bind(e,45877));case 2:return ot=Dr.sent,wt=ot.toFixed,Dt=ot.toPositiveSign,Mt=ot.toPercent,Bt=.064385,hr=Dt(wt(Bt)),Sr=Dt(Mt(-Bt,{multiply:10})),Dr.abrupt("return",{default:function(){return n.createElement(n.Fragment,null,n.createElement("p",null,"\u4FDD\u7559\u5C0F\u6570\u4F4D+\u6B63\u8D1F\u7B26\u53F7\uFF1A",hr),n.createElement("p",null,"\u8F6C\u6362\u767E\u5206\u6570+\u6B63\u8D1F\u7B26\u53F7\uFF1A",Sr))}});case 10:case"end":return Dr.stop()}},nt)})))),asset:{type:"BLOCK",id:"docs-faq-faq-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { toFixed, toPositiveSign, toPercent } from '@dz-web/o-orange'; +export default () => target;`},"@dz-web/o-orange":{type:"NPM",value:"4.2.0"}}}},"docs-faq-faq-demo-1":{component:n.memo(n.lazy(Se()(j()().mark(function nt(){var ot,wt,Dt,Mt,Bt,hr,Sr;return j()().wrap(function(Dr){for(;;)switch(Dr.prev=Dr.next){case 0:return Dr.next=2,e.e(877).then(e.bind(e,45877));case 2:return ot=Dr.sent,wt=ot.toFixed,Dt=ot.toPositiveSign,Mt=ot.toPercent,Bt=.064385,hr=Dt(wt(Bt)),Sr=Dt(Mt(-Bt,{multiply:10})),Dr.abrupt("return",{default:function(){return n.createElement(n.Fragment,null,n.createElement("p",null,"\u4FDD\u7559\u5C0F\u6570\u4F4D+\u6B63\u8D1F\u7B26\u53F7\uFF1A",hr),n.createElement("p",null,"\u8F6C\u6362\u767E\u5206\u6570+\u6B63\u8D1F\u7B26\u53F7\uFF1A",Sr))}});case 10:case"end":return Dr.stop()}},nt)})))),asset:{type:"BLOCK",id:"docs-faq-faq-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { toFixed, toPositiveSign, toPercent } from '@dz-web/o-orange'; const num = 0.064385; const target1 = toPositiveSign(toFixed(num)); @@ -419,7 +419,7 @@ export default () => (

\u4FDD\u7559\u5C0F\u6570\u4F4D+\u6B63\u8D1F\u7B26\u53F7\uFF1A{target1}

\u8F6C\u6362\u767E\u5206\u6570+\u6B63\u8D1F\u7B26\u53F7\uFF1A{target2}

-);`},"@dz-web/o-orange":{type:"NPM",value:"4.1.1"}}}},"docs-faq-faq-demo-2":{component:n.memo(n.lazy(Se()(j()().mark(function nt(){var ot,wt,Dt,Mt,Bt,hr;return j()().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:return Mt=function(){for(var yt=arguments.length,it=new Array(yt),mt=0;mt target;`},"@dz-web/o-orange":{type:"NPM",value:"4.1.1"}}}}},Re={title:"Faq",toc:"menu",filename:"docs/faq/faq.md",lastUpdated:1713759385e3,nav:{title:"FAQs",order:3},description:"Methods\u4E2D\u7684\u65B9\u6CD5\u9075\u5FAA\u5355\u4E00\u539F\u5219\uFF0C\u4E00\u4E2A\u51FD\u6570\u5C3D\u91CF\u53EA\u505A\u4E00\u4EF6\u4E8B\uFF0C\u6BD4\u5982\u8F6C\u6210\u5343\u5206\u4F4D\u3001\u4FDD\u7559\u5C0F\u6570\u4F4D\uFF0C\u4F46\u662F\u6B63\u5E38\u5F00\u53D1\u4E2D\uFF0C\u5F80\u5F80\u9700\u8981\u590D\u5408\u5C55\u793A\uFF0C\u6BD4\u5982\uFF1A"},Be=[{id:"\u5982\u4F55\u663E\u793A\u590D\u6742\u7684\u6548\u679C",depth:2,title:"\u5982\u4F55\u663E\u793A\u590D\u6742\u7684\u6548\u679C\uFF1F"}],Fe=[{value:"Methods",paraId:0,tocIndex:0},{value:"\u4E2D\u7684\u65B9\u6CD5\u9075\u5FAA\u5355\u4E00\u539F\u5219\uFF0C\u4E00\u4E2A\u51FD\u6570\u5C3D\u91CF\u53EA\u505A\u4E00\u4EF6\u4E8B\uFF0C\u6BD4\u5982\u8F6C\u6210\u5343\u5206\u4F4D\u3001\u4FDD\u7559\u5C0F\u6570\u4F4D\uFF0C\u4F46\u662F\u6B63\u5E38\u5F00\u53D1\u4E2D\uFF0C\u5F80\u5F80\u9700\u8981\u590D\u5408\u5C55\u793A\uFF0C\u6BD4\u5982\uFF1A",paraId:0,tocIndex:0},{value:"0.064385",paraId:1,tocIndex:0},{value:" \u8981\u663E\u793A\u6210",paraId:1,tocIndex:0},{value:"+6.44%",paraId:1,tocIndex:0},{value:"\u3002\u4E00\u773C\u770B\u4E0A\u53BB\u9700\u8981\u7ECF\u8FC7\u51E0\u4E2A\u8F6C\u6362",paraId:1,tocIndex:0},{value:"\u4FDD\u7559\u5C0F\u6570\u4F4D",paraId:2,tocIndex:0},{value:"\u8F6C\u767E\u5206\u6570",paraId:2,tocIndex:0},{value:"\u52A0\u4E0A\u6B63\u7B26\u53F7",paraId:2,tocIndex:0},{value:"\u6CA1\u6709\u4E00\u4E2A\u51FD\u6570\u53EF\u4EE5\u505A\u5230\u8FD9\u4E2A\u6548\u679C\u3002\u4F46\u662F\u53EF\u4EE5\u7EC4\u5408\u51FD\u6570\u53BB\u8FBE\u5230\u8981\u6C42\uFF0C\u6BD4\u5982\uFF1A",paraId:3,tocIndex:0},{value:"\u4E5F\u6709\u4E00\u4E9B\u5176\u4ED6\u5E38\u89C1\u7684\u5982\uFF1A",paraId:4},{value:"\u5F53\u7136\uFF0C\u8FD9\u79CD\u5D4C\u5957\u51FD\u6570\u7684\u53EF\u8BFB\u6027\u548C\u53EF\u8C03\u8BD5\u6027\u90FD\u4E0D\u9AD8\uFF0C\u6240\u4EE5\u53EF\u4EE5\u4F7F\u7528\u4E00\u4E9Bcompose\u51FD\u6570\u6765\u589E\u52A0\u53EF\u8BFB\u6027\uFF0C\u6BD4\u5982",paraId:5},{value:"lodash.flow",paraId:5},{value:"\uFF0C\u4E0B\u9762\u662F\u4E00\u4E2A\u7B80\u5355\u7684\u5B9E\u4F8B",paraId:5}],Ue={},He={title:"Docs",toc:"menu",filename:"docs/index.md",lastUpdated:1712907325e3,hero:{title:"\u{1F34A} o-orange",description:"Implementation of some useful functions for Financial Industry",actions:[{text:"Begin",link:"/begin"}]}},vt=[],Pt=[],Ct=null,fr={},Jr={"docs/methods/parseKeyHeader":{frontmatter:i,toc:f,texts:l,demos:s},"docs/methods/toPositiveSign":{frontmatter:y,toc:p,texts:h,demos:m},"docs/methods/toPlaceholder":{frontmatter:b,toc:w,texts:x,demos:g},"docs/CHANGELOG/changelog":{frontmatter:O,toc:k,texts:L,demos:A},"docs/methods/dateFormat":{frontmatter:T,toc:_,texts:$,demos:U},"docs/methods/pagination":{frontmatter:q,toc:te,texts:fe,demos:Y},"docs/methods/toThousand":{frontmatter:Ae,toc:Me,texts:Ne,demos:Ie},"docs/methods/dateRange":{frontmatter:z,toc:H,texts:G,demos:J},"docs/methods/toPercent":{frontmatter:C,toc:Z,texts:W,demos:se},"docs/methods/csvArray":{frontmatter:ue,toc:Le,texts:ke,demos:X},"docs/methods/parseUrl":{frontmatter:Ze,toc:Xe,texts:ft,demos:et},"docs/methods/toFixed":{frontmatter:he,toc:ye,texts:be,demos:ne},"docs/methods/toSlice":{frontmatter:oe,toc:pe,texts:V,demos:Oe},"docs/methods/ensure":{frontmatter:xe,toc:We,texts:ze,demos:le},"docs/methods/isTrue":{frontmatter:At,toc:Te,texts:ae,demos:Ke},"docs/methods/toUnit":{frontmatter:S,toc:K,texts:Ee,demos:we},"docs/begin/index":{frontmatter:_e,toc:tt,texts:qe,demos:de},"docs/faq/faq":{frontmatter:Re,toc:Be,texts:Fe,demos:It},"docs/index":{frontmatter:He,toc:vt,texts:Pt,demos:Ue}},Je=Object.entries(Jr).reduce(function(nt,ot){var wt=o()(ot,2),Dt=wt[0],Mt=wt[1];return Object.values(Mt.demos).forEach(function(Bt){Bt.routeId=Dt}),Object.assign(nt,Mt.demos),delete Mt.demos,nt},{})},22913:function(c,v,e){"use strict";e.d(v,{Ac:function(){return he},ql:function(){return J.ql},rU:function(){return Ne},OL:function(){return $},Q$:function(){return ye},p6:function(){return y},m8:function(){return be.m},fp:function(){return h.fp},Ov:function(){return Ae.Ov},TH:function(){return h.TH},pC:function(){return h.pC},UO:function(){return h.UO},Qt:function(){return z.Q},lr:function(){return q}});var a=e(90228),o=e(87999),n=e(57703),s=e(53444),i=typeof window!="undefined"?window.html2sketch:null;function f(Te,ae){return l.apply(this,arguments)}function l(){return l=_asyncToGenerator(_regeneratorRuntime().mark(function Te(ae,we){return _regeneratorRuntime().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(we.type!=="group"){K.next=6;break}return K.next=3,i.nodeToGroup(ae);case 3:K.t0=K.sent.toSketchJSON(),K.next=9;break;case 6:return K.next=8,i.nodeToSymbol(ae);case 8:K.t0=K.sent.toSketchJSON();case 9:return K.abrupt("return",K.t0);case 10:case"end":return K.stop()}},Te)})),l.apply(this,arguments)}function m(Te,ae){return getPluginManager().applyPlugins({key:"toSketchJSON",type:ApplyPluginsType.modify,initialValue:null,args:{target:Te,opts:ae},async:!0})}var y=null,p=e(93236),h=e(44492),g=e(18280);function b(){return b=Object.assign||function(Te){for(var ae=1;ae=0)&&(we[K]=Te[K]);return we}const x=["onClick","reloadDocument","replace","state","target","to"],A=["aria-current","caseSensitive","className","end","style","to","children"];function O(Te,ae){if(!Te){typeof console!="undefined"&&console.warn(ae);try{throw new Error(ae)}catch(we){}}}function k(Te){let{basename:ae,children:we,window:S}=Te,K=useRef();K.current==null&&(K.current=createBrowserHistory({window:S}));let Ee=K.current,[de,_e]=useState({action:Ee.action,location:Ee.location});return useLayoutEffect(()=>Ee.listen(_e),[Ee]),createElement(Router,{basename:ae,children:we,location:de.location,navigationType:de.action,navigator:Ee})}function L(Te){let{basename:ae,children:we,window:S}=Te,K=useRef();K.current==null&&(K.current=createHashHistory({window:S}));let Ee=K.current,[de,_e]=useState({action:Ee.action,location:Ee.location});return useLayoutEffect(()=>Ee.listen(_e),[Ee]),createElement(Router,{basename:ae,children:we,location:de.location,navigationType:de.action,navigator:Ee})}function U(Te){let{basename:ae,children:we,history:S}=Te;const[K,Ee]=useState({action:S.action,location:S.location});return useLayoutEffect(()=>S.listen(Ee),[S]),createElement(Router,{basename:ae,children:we,location:K.location,navigationType:K.action,navigator:S})}function T(Te){return!!(Te.metaKey||Te.altKey||Te.ctrlKey||Te.shiftKey)}const _=(0,p.forwardRef)(function(ae,we){let{onClick:S,reloadDocument:K,replace:Ee=!1,state:de,target:_e,to:tt}=ae,qe=w(ae,x),It=(0,h.oQ)(tt),Re=Y(tt,{replace:Ee,state:de,target:_e});function Be(Fe){S&&S(Fe),!Fe.defaultPrevented&&!K&&Re(Fe)}return(0,p.createElement)("a",b({},qe,{href:It,onClick:Be,ref:we,target:_e}))}),$=(0,p.forwardRef)(function(ae,we){let{"aria-current":S="page",caseSensitive:K=!1,className:Ee="",end:de=!1,style:_e,to:tt,children:qe}=ae,It=w(ae,A),Re=(0,h.TH)(),Be=(0,h.WU)(tt),Fe=Re.pathname,Ue=Be.pathname;K||(Fe=Fe.toLowerCase(),Ue=Ue.toLowerCase());let He=Fe===Ue||!de&&Fe.startsWith(Ue)&&Fe.charAt(Ue.length)==="/",vt=He?S:void 0,Pt;typeof Ee=="function"?Pt=Ee({isActive:He}):Pt=[Ee,He?"active":null].filter(Boolean).join(" ");let Ct=typeof _e=="function"?_e({isActive:He}):_e;return(0,p.createElement)(_,b({},It,{"aria-current":vt,className:Pt,ref:we,style:Ct,to:tt}),typeof qe=="function"?qe({isActive:He}):qe)});function Y(Te,ae){let{target:we,replace:S,state:K}=ae===void 0?{}:ae,Ee=(0,h.s0)(),de=(0,h.TH)(),_e=(0,h.WU)(Te);return(0,p.useCallback)(tt=>{if(tt.button===0&&(!we||we==="_self")&&!T(tt)){tt.preventDefault();let qe=!!S||(0,g.Ep)(de)===(0,g.Ep)(_e);Ee(Te,{replace:qe,state:K})}},[de,Ee,_e,S,K,we,Te])}function q(Te){let ae=(0,p.useRef)(te(Te)),we=(0,h.TH)(),S=(0,p.useMemo)(()=>{let de=te(we.search);for(let _e of ae.current.keys())de.has(_e)||ae.current.getAll(_e).forEach(tt=>{de.append(_e,tt)});return de},[we.search]),K=(0,h.s0)(),Ee=(0,p.useCallback)((de,_e)=>{K("?"+te(de),_e)},[K]);return[S,Ee]}function te(Te){return Te===void 0&&(Te=""),new URLSearchParams(typeof Te=="string"||Array.isArray(Te)||Te instanceof URLSearchParams?Te:Object.keys(Te).reduce((ae,we)=>{let S=Te[we];return ae.concat(Array.isArray(S)?S.map(K=>[we,K]):[[we,S]])},[]))}var fe=e(56920),Ie=e(48385),Ae=e(70471),Me=["prefetch"];function Ne(Te){var ae,we=Te.prefetch,S=(0,Ie.Z)(Te,Me),K=(0,Ae.Ov)(),Ee=typeof Te.to=="string"?Te.to:(ae=Te.to)===null||ae===void 0?void 0:ae.pathname;return Ee?p.createElement(_,(0,fe.Z)({onMouseEnter:function(){var _e;return we&&Ee&&((_e=K.preloadRoute)===null||_e===void 0?void 0:_e.call(K,Ee))}},S),Te.children):null}var J=e(62363),z=e(50332),H=e(91744);function G(){"use strict";G=function(){return ae};var Te,ae={},we=Object.prototype,S=we.hasOwnProperty,K=Object.defineProperty||function(yt,it,mt){yt[it]=mt.value},Ee=typeof Symbol=="function"?Symbol:{},de=Ee.iterator||"@@iterator",_e=Ee.asyncIterator||"@@asyncIterator",tt=Ee.toStringTag||"@@toStringTag";function qe(yt,it,mt){return Object.defineProperty(yt,it,{value:mt,enumerable:!0,configurable:!0,writable:!0}),yt[it]}try{qe({},"")}catch(yt){qe=function(mt,Zt,Jt){return mt[Zt]=Jt}}function It(yt,it,mt,Zt){var Jt=it&&it.prototype instanceof Pt?it:Pt,Xt=Object.create(Jt.prototype),Or=new or(Zt||[]);return K(Xt,"_invoke",{value:Mt(yt,mt,Or)}),Xt}function Re(yt,it,mt){try{return{type:"normal",arg:yt.call(it,mt)}}catch(Zt){return{type:"throw",arg:Zt}}}ae.wrap=It;var Be="suspendedStart",Fe="suspendedYield",Ue="executing",He="completed",vt={};function Pt(){}function Ct(){}function fr(){}var Jr={};qe(Jr,de,function(){return this});var Je=Object.getPrototypeOf,nt=Je&&Je(Je(Dr([])));nt&&nt!==we&&S.call(nt,de)&&(Jr=nt);var ot=fr.prototype=Pt.prototype=Object.create(Jr);function wt(yt){["next","throw","return"].forEach(function(it){qe(yt,it,function(mt){return this._invoke(it,mt)})})}function Dt(yt,it){function mt(Jt,Xt,Or,rn){var nn=Re(yt[Jt],yt,Xt);if(nn.type!=="throw"){var qn=nn.arg,_r=qn.value;return _r&&(0,H.Z)(_r)=="object"&&S.call(_r,"__await")?it.resolve(_r.__await).then(function(Fn){mt("next",Fn,Or,rn)},function(Fn){mt("throw",Fn,Or,rn)}):it.resolve(_r).then(function(Fn){qn.value=Fn,Or(qn)},function(Fn){return mt("throw",Fn,Or,rn)})}rn(nn.arg)}var Zt;K(this,"_invoke",{value:function(Xt,Or){function rn(){return new it(function(nn,qn){mt(Xt,Or,nn,qn)})}return Zt=Zt?Zt.then(rn,rn):rn()}})}function Mt(yt,it,mt){var Zt=Be;return function(Jt,Xt){if(Zt===Ue)throw new Error("Generator is already running");if(Zt===He){if(Jt==="throw")throw Xt;return{value:Te,done:!0}}for(mt.method=Jt,mt.arg=Xt;;){var Or=mt.delegate;if(Or){var rn=Bt(Or,mt);if(rn){if(rn===vt)continue;return rn}}if(mt.method==="next")mt.sent=mt._sent=mt.arg;else if(mt.method==="throw"){if(Zt===Be)throw Zt=He,mt.arg;mt.dispatchException(mt.arg)}else mt.method==="return"&&mt.abrupt("return",mt.arg);Zt=Ue;var nn=Re(yt,it,mt);if(nn.type==="normal"){if(Zt=mt.done?He:Fe,nn.arg===vt)continue;return{value:nn.arg,done:mt.done}}nn.type==="throw"&&(Zt=He,mt.method="throw",mt.arg=nn.arg)}}}function Bt(yt,it){var mt=it.method,Zt=yt.iterator[mt];if(Zt===Te)return it.delegate=null,mt==="throw"&&yt.iterator.return&&(it.method="return",it.arg=Te,Bt(yt,it),it.method==="throw")||mt!=="return"&&(it.method="throw",it.arg=new TypeError("The iterator does not provide a '"+mt+"' method")),vt;var Jt=Re(Zt,yt.iterator,it.arg);if(Jt.type==="throw")return it.method="throw",it.arg=Jt.arg,it.delegate=null,vt;var Xt=Jt.arg;return Xt?Xt.done?(it[yt.resultName]=Xt.value,it.next=yt.nextLoc,it.method!=="return"&&(it.method="next",it.arg=Te),it.delegate=null,vt):Xt:(it.method="throw",it.arg=new TypeError("iterator result is not an object"),it.delegate=null,vt)}function hr(yt){var it={tryLoc:yt[0]};1 in yt&&(it.catchLoc=yt[1]),2 in yt&&(it.finallyLoc=yt[2],it.afterLoc=yt[3]),this.tryEntries.push(it)}function Sr(yt){var it=yt.completion||{};it.type="normal",delete it.arg,yt.completion=it}function or(yt){this.tryEntries=[{tryLoc:"root"}],yt.forEach(hr,this),this.reset(!0)}function Dr(yt){if(yt||yt===""){var it=yt[de];if(it)return it.call(yt);if(typeof yt.next=="function")return yt;if(!isNaN(yt.length)){var mt=-1,Zt=function Jt(){for(;++mt=0;--Jt){var Xt=this.tryEntries[Jt],Or=Xt.completion;if(Xt.tryLoc==="root")return Zt("end");if(Xt.tryLoc<=this.prev){var rn=S.call(Xt,"catchLoc"),nn=S.call(Xt,"finallyLoc");if(rn&&nn){if(this.prev=0;--Zt){var Jt=this.tryEntries[Zt];if(Jt.tryLoc<=this.prev&&S.call(Jt,"finallyLoc")&&this.prev=0;--mt){var Zt=this.tryEntries[mt];if(Zt.finallyLoc===it)return this.complete(Zt.completion,Zt.afterLoc),Sr(Zt),vt}},catch:function(it){for(var mt=this.tryEntries.length-1;mt>=0;--mt){var Zt=this.tryEntries[mt];if(Zt.tryLoc===it){var Jt=Zt.completion;if(Jt.type==="throw"){var Xt=Jt.arg;Sr(Zt)}return Xt}}throw new Error("illegal catch attempt")},delegateYield:function(it,mt,Zt){return this.delegate={iterator:Dr(it),resultName:mt,nextLoc:Zt},this.method==="next"&&(this.arg=Te),vt}},ae}var N=e(93914);function j(Te,ae,we,S,K,Ee,de){try{var _e=Te[Ee](de),tt=_e.value}catch(qe){we(qe);return}_e.done?ae(tt):Promise.resolve(tt).then(S,K)}function ie(Te){return function(){var ae=this,we=arguments;return new Promise(function(S,K){var Ee=Te.apply(ae,we);function de(tt){j(Ee,S,K,de,_e,"next",tt)}function _e(tt){j(Ee,S,K,de,_e,"throw",tt)}de(void 0)})}}var Se=e(76059);function se(Te,ae){var we=typeof Symbol!="undefined"&&Te[Symbol.iterator]||Te["@@iterator"];if(!we){if(Array.isArray(Te)||(we=(0,Se.Z)(Te))||ae&&Te&&typeof Te.length=="number"){we&&(Te=we);var S=0,K=function(){};return{s:K,n:function(){return S>=Te.length?{done:!0}:{done:!1,value:Te[S++]}},e:function(qe){throw qe},f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +export default () => target;`},"@dz-web/o-orange":{type:"NPM",value:"4.2.0"}}}}},Re={title:"Faq",toc:"menu",filename:"docs/faq/faq.md",lastUpdated:1713759385e3,nav:{title:"FAQs",order:3},description:"Methods\u4E2D\u7684\u65B9\u6CD5\u9075\u5FAA\u5355\u4E00\u539F\u5219\uFF0C\u4E00\u4E2A\u51FD\u6570\u5C3D\u91CF\u53EA\u505A\u4E00\u4EF6\u4E8B\uFF0C\u6BD4\u5982\u8F6C\u6210\u5343\u5206\u4F4D\u3001\u4FDD\u7559\u5C0F\u6570\u4F4D\uFF0C\u4F46\u662F\u6B63\u5E38\u5F00\u53D1\u4E2D\uFF0C\u5F80\u5F80\u9700\u8981\u590D\u5408\u5C55\u793A\uFF0C\u6BD4\u5982\uFF1A"},Be=[{id:"\u5982\u4F55\u663E\u793A\u590D\u6742\u7684\u6548\u679C",depth:2,title:"\u5982\u4F55\u663E\u793A\u590D\u6742\u7684\u6548\u679C\uFF1F"}],Fe=[{value:"Methods",paraId:0,tocIndex:0},{value:"\u4E2D\u7684\u65B9\u6CD5\u9075\u5FAA\u5355\u4E00\u539F\u5219\uFF0C\u4E00\u4E2A\u51FD\u6570\u5C3D\u91CF\u53EA\u505A\u4E00\u4EF6\u4E8B\uFF0C\u6BD4\u5982\u8F6C\u6210\u5343\u5206\u4F4D\u3001\u4FDD\u7559\u5C0F\u6570\u4F4D\uFF0C\u4F46\u662F\u6B63\u5E38\u5F00\u53D1\u4E2D\uFF0C\u5F80\u5F80\u9700\u8981\u590D\u5408\u5C55\u793A\uFF0C\u6BD4\u5982\uFF1A",paraId:0,tocIndex:0},{value:"0.064385",paraId:1,tocIndex:0},{value:" \u8981\u663E\u793A\u6210",paraId:1,tocIndex:0},{value:"+6.44%",paraId:1,tocIndex:0},{value:"\u3002\u4E00\u773C\u770B\u4E0A\u53BB\u9700\u8981\u7ECF\u8FC7\u51E0\u4E2A\u8F6C\u6362",paraId:1,tocIndex:0},{value:"\u4FDD\u7559\u5C0F\u6570\u4F4D",paraId:2,tocIndex:0},{value:"\u8F6C\u767E\u5206\u6570",paraId:2,tocIndex:0},{value:"\u52A0\u4E0A\u6B63\u7B26\u53F7",paraId:2,tocIndex:0},{value:"\u6CA1\u6709\u4E00\u4E2A\u51FD\u6570\u53EF\u4EE5\u505A\u5230\u8FD9\u4E2A\u6548\u679C\u3002\u4F46\u662F\u53EF\u4EE5\u7EC4\u5408\u51FD\u6570\u53BB\u8FBE\u5230\u8981\u6C42\uFF0C\u6BD4\u5982\uFF1A",paraId:3,tocIndex:0},{value:"\u4E5F\u6709\u4E00\u4E9B\u5176\u4ED6\u5E38\u89C1\u7684\u5982\uFF1A",paraId:4},{value:"\u5F53\u7136\uFF0C\u8FD9\u79CD\u5D4C\u5957\u51FD\u6570\u7684\u53EF\u8BFB\u6027\u548C\u53EF\u8C03\u8BD5\u6027\u90FD\u4E0D\u9AD8\uFF0C\u6240\u4EE5\u53EF\u4EE5\u4F7F\u7528\u4E00\u4E9Bcompose\u51FD\u6570\u6765\u589E\u52A0\u53EF\u8BFB\u6027\uFF0C\u6BD4\u5982",paraId:5},{value:"lodash.flow",paraId:5},{value:"\uFF0C\u4E0B\u9762\u662F\u4E00\u4E2A\u7B80\u5355\u7684\u5B9E\u4F8B",paraId:5}],Ue={},He={title:"Docs",toc:"menu",filename:"docs/index.md",lastUpdated:1712907325e3,hero:{title:"\u{1F34A} o-orange",description:"Implementation of some useful functions for Financial Industry",actions:[{text:"Begin",link:"/begin"}]}},vt=[],Pt=[],Ct=null,fr={},Jr={"docs/methods/parseKeyHeader":{frontmatter:i,toc:f,texts:l,demos:s},"docs/methods/toPositiveSign":{frontmatter:y,toc:p,texts:h,demos:m},"docs/methods/toPlaceholder":{frontmatter:b,toc:w,texts:x,demos:g},"docs/CHANGELOG/changelog":{frontmatter:O,toc:k,texts:L,demos:A},"docs/methods/dateFormat":{frontmatter:T,toc:_,texts:$,demos:U},"docs/methods/pagination":{frontmatter:q,toc:te,texts:fe,demos:Y},"docs/methods/toThousand":{frontmatter:Ae,toc:Me,texts:Ne,demos:Ie},"docs/methods/dateRange":{frontmatter:z,toc:H,texts:G,demos:J},"docs/methods/toPercent":{frontmatter:C,toc:Z,texts:W,demos:se},"docs/methods/csvArray":{frontmatter:ue,toc:Le,texts:ke,demos:X},"docs/methods/parseUrl":{frontmatter:Ze,toc:Xe,texts:ft,demos:et},"docs/methods/toFixed":{frontmatter:he,toc:ye,texts:be,demos:ne},"docs/methods/toSlice":{frontmatter:oe,toc:pe,texts:V,demos:Oe},"docs/methods/ensure":{frontmatter:xe,toc:We,texts:ze,demos:le},"docs/methods/isTrue":{frontmatter:At,toc:Te,texts:ae,demos:Ke},"docs/methods/toUnit":{frontmatter:S,toc:K,texts:Ee,demos:we},"docs/begin/index":{frontmatter:_e,toc:tt,texts:qe,demos:de},"docs/faq/faq":{frontmatter:Re,toc:Be,texts:Fe,demos:It},"docs/index":{frontmatter:He,toc:vt,texts:Pt,demos:Ue}},Je=Object.entries(Jr).reduce(function(nt,ot){var wt=o()(ot,2),Dt=wt[0],Mt=wt[1];return Object.values(Mt.demos).forEach(function(Bt){Bt.routeId=Dt}),Object.assign(nt,Mt.demos),delete Mt.demos,nt},{})},22913:function(c,v,e){"use strict";e.d(v,{Ac:function(){return he},ql:function(){return J.ql},rU:function(){return Ne},OL:function(){return $},Q$:function(){return ye},p6:function(){return y},m8:function(){return be.m},fp:function(){return h.fp},Ov:function(){return Ae.Ov},TH:function(){return h.TH},pC:function(){return h.pC},UO:function(){return h.UO},Qt:function(){return z.Q},lr:function(){return q}});var a=e(90228),o=e(87999),n=e(57703),s=e(53444),i=typeof window!="undefined"?window.html2sketch:null;function f(Te,ae){return l.apply(this,arguments)}function l(){return l=_asyncToGenerator(_regeneratorRuntime().mark(function Te(ae,we){return _regeneratorRuntime().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(we.type!=="group"){K.next=6;break}return K.next=3,i.nodeToGroup(ae);case 3:K.t0=K.sent.toSketchJSON(),K.next=9;break;case 6:return K.next=8,i.nodeToSymbol(ae);case 8:K.t0=K.sent.toSketchJSON();case 9:return K.abrupt("return",K.t0);case 10:case"end":return K.stop()}},Te)})),l.apply(this,arguments)}function m(Te,ae){return getPluginManager().applyPlugins({key:"toSketchJSON",type:ApplyPluginsType.modify,initialValue:null,args:{target:Te,opts:ae},async:!0})}var y=null,p=e(93236),h=e(44492),g=e(18280);function b(){return b=Object.assign||function(Te){for(var ae=1;ae=0)&&(we[K]=Te[K]);return we}const x=["onClick","reloadDocument","replace","state","target","to"],A=["aria-current","caseSensitive","className","end","style","to","children"];function O(Te,ae){if(!Te){typeof console!="undefined"&&console.warn(ae);try{throw new Error(ae)}catch(we){}}}function k(Te){let{basename:ae,children:we,window:S}=Te,K=useRef();K.current==null&&(K.current=createBrowserHistory({window:S}));let Ee=K.current,[de,_e]=useState({action:Ee.action,location:Ee.location});return useLayoutEffect(()=>Ee.listen(_e),[Ee]),createElement(Router,{basename:ae,children:we,location:de.location,navigationType:de.action,navigator:Ee})}function L(Te){let{basename:ae,children:we,window:S}=Te,K=useRef();K.current==null&&(K.current=createHashHistory({window:S}));let Ee=K.current,[de,_e]=useState({action:Ee.action,location:Ee.location});return useLayoutEffect(()=>Ee.listen(_e),[Ee]),createElement(Router,{basename:ae,children:we,location:de.location,navigationType:de.action,navigator:Ee})}function U(Te){let{basename:ae,children:we,history:S}=Te;const[K,Ee]=useState({action:S.action,location:S.location});return useLayoutEffect(()=>S.listen(Ee),[S]),createElement(Router,{basename:ae,children:we,location:K.location,navigationType:K.action,navigator:S})}function T(Te){return!!(Te.metaKey||Te.altKey||Te.ctrlKey||Te.shiftKey)}const _=(0,p.forwardRef)(function(ae,we){let{onClick:S,reloadDocument:K,replace:Ee=!1,state:de,target:_e,to:tt}=ae,qe=w(ae,x),It=(0,h.oQ)(tt),Re=Y(tt,{replace:Ee,state:de,target:_e});function Be(Fe){S&&S(Fe),!Fe.defaultPrevented&&!K&&Re(Fe)}return(0,p.createElement)("a",b({},qe,{href:It,onClick:Be,ref:we,target:_e}))}),$=(0,p.forwardRef)(function(ae,we){let{"aria-current":S="page",caseSensitive:K=!1,className:Ee="",end:de=!1,style:_e,to:tt,children:qe}=ae,It=w(ae,A),Re=(0,h.TH)(),Be=(0,h.WU)(tt),Fe=Re.pathname,Ue=Be.pathname;K||(Fe=Fe.toLowerCase(),Ue=Ue.toLowerCase());let He=Fe===Ue||!de&&Fe.startsWith(Ue)&&Fe.charAt(Ue.length)==="/",vt=He?S:void 0,Pt;typeof Ee=="function"?Pt=Ee({isActive:He}):Pt=[Ee,He?"active":null].filter(Boolean).join(" ");let Ct=typeof _e=="function"?_e({isActive:He}):_e;return(0,p.createElement)(_,b({},It,{"aria-current":vt,className:Pt,ref:we,style:Ct,to:tt}),typeof qe=="function"?qe({isActive:He}):qe)});function Y(Te,ae){let{target:we,replace:S,state:K}=ae===void 0?{}:ae,Ee=(0,h.s0)(),de=(0,h.TH)(),_e=(0,h.WU)(Te);return(0,p.useCallback)(tt=>{if(tt.button===0&&(!we||we==="_self")&&!T(tt)){tt.preventDefault();let qe=!!S||(0,g.Ep)(de)===(0,g.Ep)(_e);Ee(Te,{replace:qe,state:K})}},[de,Ee,_e,S,K,we,Te])}function q(Te){let ae=(0,p.useRef)(te(Te)),we=(0,h.TH)(),S=(0,p.useMemo)(()=>{let de=te(we.search);for(let _e of ae.current.keys())de.has(_e)||ae.current.getAll(_e).forEach(tt=>{de.append(_e,tt)});return de},[we.search]),K=(0,h.s0)(),Ee=(0,p.useCallback)((de,_e)=>{K("?"+te(de),_e)},[K]);return[S,Ee]}function te(Te){return Te===void 0&&(Te=""),new URLSearchParams(typeof Te=="string"||Array.isArray(Te)||Te instanceof URLSearchParams?Te:Object.keys(Te).reduce((ae,we)=>{let S=Te[we];return ae.concat(Array.isArray(S)?S.map(K=>[we,K]):[[we,S]])},[]))}var fe=e(56920),Ie=e(48385),Ae=e(70471),Me=["prefetch"];function Ne(Te){var ae,we=Te.prefetch,S=(0,Ie.Z)(Te,Me),K=(0,Ae.Ov)(),Ee=typeof Te.to=="string"?Te.to:(ae=Te.to)===null||ae===void 0?void 0:ae.pathname;return Ee?p.createElement(_,(0,fe.Z)({onMouseEnter:function(){var _e;return we&&Ee&&((_e=K.preloadRoute)===null||_e===void 0?void 0:_e.call(K,Ee))}},S),Te.children):null}var J=e(62363),z=e(50332),H=e(91744);function G(){"use strict";G=function(){return ae};var Te,ae={},we=Object.prototype,S=we.hasOwnProperty,K=Object.defineProperty||function(yt,it,mt){yt[it]=mt.value},Ee=typeof Symbol=="function"?Symbol:{},de=Ee.iterator||"@@iterator",_e=Ee.asyncIterator||"@@asyncIterator",tt=Ee.toStringTag||"@@toStringTag";function qe(yt,it,mt){return Object.defineProperty(yt,it,{value:mt,enumerable:!0,configurable:!0,writable:!0}),yt[it]}try{qe({},"")}catch(yt){qe=function(mt,Zt,Jt){return mt[Zt]=Jt}}function It(yt,it,mt,Zt){var Jt=it&&it.prototype instanceof Pt?it:Pt,Xt=Object.create(Jt.prototype),Or=new or(Zt||[]);return K(Xt,"_invoke",{value:Mt(yt,mt,Or)}),Xt}function Re(yt,it,mt){try{return{type:"normal",arg:yt.call(it,mt)}}catch(Zt){return{type:"throw",arg:Zt}}}ae.wrap=It;var Be="suspendedStart",Fe="suspendedYield",Ue="executing",He="completed",vt={};function Pt(){}function Ct(){}function fr(){}var Jr={};qe(Jr,de,function(){return this});var Je=Object.getPrototypeOf,nt=Je&&Je(Je(Dr([])));nt&&nt!==we&&S.call(nt,de)&&(Jr=nt);var ot=fr.prototype=Pt.prototype=Object.create(Jr);function wt(yt){["next","throw","return"].forEach(function(it){qe(yt,it,function(mt){return this._invoke(it,mt)})})}function Dt(yt,it){function mt(Jt,Xt,Or,rn){var nn=Re(yt[Jt],yt,Xt);if(nn.type!=="throw"){var qn=nn.arg,_r=qn.value;return _r&&(0,H.Z)(_r)=="object"&&S.call(_r,"__await")?it.resolve(_r.__await).then(function(Fn){mt("next",Fn,Or,rn)},function(Fn){mt("throw",Fn,Or,rn)}):it.resolve(_r).then(function(Fn){qn.value=Fn,Or(qn)},function(Fn){return mt("throw",Fn,Or,rn)})}rn(nn.arg)}var Zt;K(this,"_invoke",{value:function(Xt,Or){function rn(){return new it(function(nn,qn){mt(Xt,Or,nn,qn)})}return Zt=Zt?Zt.then(rn,rn):rn()}})}function Mt(yt,it,mt){var Zt=Be;return function(Jt,Xt){if(Zt===Ue)throw new Error("Generator is already running");if(Zt===He){if(Jt==="throw")throw Xt;return{value:Te,done:!0}}for(mt.method=Jt,mt.arg=Xt;;){var Or=mt.delegate;if(Or){var rn=Bt(Or,mt);if(rn){if(rn===vt)continue;return rn}}if(mt.method==="next")mt.sent=mt._sent=mt.arg;else if(mt.method==="throw"){if(Zt===Be)throw Zt=He,mt.arg;mt.dispatchException(mt.arg)}else mt.method==="return"&&mt.abrupt("return",mt.arg);Zt=Ue;var nn=Re(yt,it,mt);if(nn.type==="normal"){if(Zt=mt.done?He:Fe,nn.arg===vt)continue;return{value:nn.arg,done:mt.done}}nn.type==="throw"&&(Zt=He,mt.method="throw",mt.arg=nn.arg)}}}function Bt(yt,it){var mt=it.method,Zt=yt.iterator[mt];if(Zt===Te)return it.delegate=null,mt==="throw"&&yt.iterator.return&&(it.method="return",it.arg=Te,Bt(yt,it),it.method==="throw")||mt!=="return"&&(it.method="throw",it.arg=new TypeError("The iterator does not provide a '"+mt+"' method")),vt;var Jt=Re(Zt,yt.iterator,it.arg);if(Jt.type==="throw")return it.method="throw",it.arg=Jt.arg,it.delegate=null,vt;var Xt=Jt.arg;return Xt?Xt.done?(it[yt.resultName]=Xt.value,it.next=yt.nextLoc,it.method!=="return"&&(it.method="next",it.arg=Te),it.delegate=null,vt):Xt:(it.method="throw",it.arg=new TypeError("iterator result is not an object"),it.delegate=null,vt)}function hr(yt){var it={tryLoc:yt[0]};1 in yt&&(it.catchLoc=yt[1]),2 in yt&&(it.finallyLoc=yt[2],it.afterLoc=yt[3]),this.tryEntries.push(it)}function Sr(yt){var it=yt.completion||{};it.type="normal",delete it.arg,yt.completion=it}function or(yt){this.tryEntries=[{tryLoc:"root"}],yt.forEach(hr,this),this.reset(!0)}function Dr(yt){if(yt||yt===""){var it=yt[de];if(it)return it.call(yt);if(typeof yt.next=="function")return yt;if(!isNaN(yt.length)){var mt=-1,Zt=function Jt(){for(;++mt=0;--Jt){var Xt=this.tryEntries[Jt],Or=Xt.completion;if(Xt.tryLoc==="root")return Zt("end");if(Xt.tryLoc<=this.prev){var rn=S.call(Xt,"catchLoc"),nn=S.call(Xt,"finallyLoc");if(rn&&nn){if(this.prev=0;--Zt){var Jt=this.tryEntries[Zt];if(Jt.tryLoc<=this.prev&&S.call(Jt,"finallyLoc")&&this.prev=0;--mt){var Zt=this.tryEntries[mt];if(Zt.finallyLoc===it)return this.complete(Zt.completion,Zt.afterLoc),Sr(Zt),vt}},catch:function(it){for(var mt=this.tryEntries.length-1;mt>=0;--mt){var Zt=this.tryEntries[mt];if(Zt.tryLoc===it){var Jt=Zt.completion;if(Jt.type==="throw"){var Xt=Jt.arg;Sr(Zt)}return Xt}}throw new Error("illegal catch attempt")},delegateYield:function(it,mt,Zt){return this.delegate={iterator:Dr(it),resultName:mt,nextLoc:Zt},this.method==="next"&&(this.arg=Te),vt}},ae}var N=e(93914);function j(Te,ae,we,S,K,Ee,de){try{var _e=Te[Ee](de),tt=_e.value}catch(qe){we(qe);return}_e.done?ae(tt):Promise.resolve(tt).then(S,K)}function ie(Te){return function(){var ae=this,we=arguments;return new Promise(function(S,K){var Ee=Te.apply(ae,we);function de(tt){j(Ee,S,K,de,_e,"next",tt)}function _e(tt){j(Ee,S,K,de,_e,"throw",tt)}de(void 0)})}}var Se=e(76059);function se(Te,ae){var we=typeof Symbol!="undefined"&&Te[Symbol.iterator]||Te["@@iterator"];if(!we){if(Array.isArray(Te)||(we=(0,Se.Z)(Te))||ae&&Te&&typeof Te.length=="number"){we&&(Te=we);var S=0,K=function(){};return{s:K,n:function(){return S>=Te.length?{done:!0}:{done:!1,value:Te[S++]}},e:function(qe){throw qe},f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ee=!0,de=!1,_e;return{s:function(){we=we.call(Te)},n:function(){var qe=we.next();return Ee=qe.done,qe},e:function(qe){de=!0,_e=qe},f:function(){try{!Ee&&we.return!=null&&we.return()}finally{if(de)throw _e}}}}var C=e(82385);function Z(Te){if(typeof Symbol!="undefined"&&Te[Symbol.iterator]!=null||Te["@@iterator"]!=null)return Array.from(Te)}var W=e(67213);function X(Te){return(0,C.Z)(Te)||Z(Te)||(0,Se.Z)(Te)||(0,W.Z)()}function ue(Te,ae){if(!(Te instanceof ae))throw new TypeError("Cannot call a class as a function")}var Le=e(40394);function ke(Te,ae){for(var we=0;we-1,"register failed, invalid key ".concat(K," ").concat(we.path?"from plugin ".concat(we.path):"",".")),S.hooks[K]=(S.hooks[K]||[]).concat(we.apply[K])})}},{key:"getHooks",value:function(we){var S=we.split("."),K=X(S),Ee=K[0],de=K.slice(1),_e=this.hooks[Ee]||[];return de.length&&(_e=_e.map(function(tt){try{var qe=tt,It=se(de),Re;try{for(It.s();!(Re=It.n()).done;){var Be=Re.value;qe=qe[Be]}}catch(Fe){It.e(Fe)}finally{It.f()}return qe}catch(Fe){return null}}).filter(Boolean)),_e}},{key:"applyPlugins",value:function(we){var S=we.key,K=we.type,Ee=we.initialValue,de=we.args,_e=we.async,tt=this.getHooks(S)||[];switch(de&&Xe((0,H.Z)(de)==="object","applyPlugins failed, args must be plain object."),_e&&Xe(K===he.modify||K===he.event,"async only works with modify and event type."),K){case he.modify:return _e?tt.reduce(function(){var qe=ie(G().mark(function It(Re,Be){var Fe;return G().wrap(function(He){for(;;)switch(He.prev=He.next){case 0:if(Xe(typeof Be=="function"||(0,H.Z)(Be)==="object"||ne(Be),"applyPlugins failed, all hooks for key ".concat(S," must be function, plain object or Promise.")),!ne(Re)){He.next=5;break}return He.next=4,Re;case 4:Re=He.sent;case 5:if(typeof Be!="function"){He.next=16;break}if(Fe=Be(Re,de),!ne(Fe)){He.next=13;break}return He.next=10,Fe;case 10:return He.abrupt("return",He.sent);case 13:return He.abrupt("return",Fe);case 14:He.next=21;break;case 16:if(!ne(Be)){He.next=20;break}return He.next=19,Be;case 19:Be=He.sent;case 20:return He.abrupt("return",(0,N.Z)((0,N.Z)({},Re),Be));case 21:case"end":return He.stop()}},It)}));return function(It,Re){return qe.apply(this,arguments)}}(),ne(Ee)?Ee:Promise.resolve(Ee)):tt.reduce(function(qe,It){return Xe(typeof It=="function"||(0,H.Z)(It)==="object","applyPlugins failed, all hooks for key ".concat(S," must be function or plain object.")),typeof It=="function"?It(qe,de):(0,N.Z)((0,N.Z)({},qe),It)},Ee);case he.event:return ie(G().mark(function qe(){var It,Re,Be,Fe;return G().wrap(function(He){for(;;)switch(He.prev=He.next){case 0:It=se(tt),He.prev=1,It.s();case 3:if((Re=It.n()).done){He.next=12;break}if(Be=Re.value,Xe(typeof Be=="function","applyPlugins failed, all hooks for key ".concat(S," must be function.")),Fe=Be(de),!(_e&&ne(Fe))){He.next=10;break}return He.next=10,Fe;case 10:He.next=3;break;case 12:He.next=17;break;case 14:He.prev=14,He.t0=He.catch(1),It.e(He.t0);case 17:return He.prev=17,It.f(),He.finish(17);case 20:case"end":return He.stop()}},qe,null,[[1,14,17,20]])}))();case he.compose:return function(){return ft({fns:tt.concat(Ee),args:de})()}}}}],[{key:"create",value:function(we){var S=new Te({validKeys:we.validKeys});return we.plugins.forEach(function(K){S.register(K)}),S}}]),Te}(),be=e(74136),Oe=e(31759),oe=e.n(Oe),pe=0,V=0;function le(Te,ae){if(!1)var we}function xe(Te){return JSON.stringify(Te,null,2)}function We(Te){var ae=Te.length>1?Te.map(ze).join(" "):Te[0];return oe()(ae)==="object"?"".concat(xe(ae)):ae.toString()}function ze(Te){return oe()(Te)==="object"?"".concat(JSON.stringify(Te)):Te.toString()}var Ke={log:function(){for(var ae=arguments.length,we=new Array(ae),S=0;Sc.length)&&(v=c.length);for(var e=0,a=new Array(v);ep.length)&&(h=p.length);for(var g=0,b=new Array(h);gL&&p(Ae,arguments[L]),Ae});if(q.prototype=$,T!=="Error"?i?i(q,Y):f(q,Y,{name:!0}):g&&k in _&&(l(q,_,k),l(q,_,"prepareStackTrace")),f(q,_),!b)try{$.name!==T&&n($,"name",T),$.constructor=q}catch(te){}return q}}},16753:function(c,v,e){"use strict";var a=e(26589),o=e(70521),n=e(97987),s=e(56261),i=e(3295),f="AggregateError",l=o(f),m=!s(function(){return l([1]).errors[0]!==1})&&s(function(){return l([1],f,{cause:7}).cause!==7});a({global:!0,constructor:!0,arity:2,forced:m},{AggregateError:i(f,function(y){return function(h,g){return n(y,this,arguments)}},m,!0)})},3491:function(c,v,e){"use strict";var a=e(26589),o=e(59479),n=e(43587),s=e(34205),i=e(64838),f=e(74123),l=e(37917),m=e(85711),y=e(67029),p=e(14947),h=e(70147),g=e(58955),b=e(44525),w=b("toStringTag"),x=Error,A=[].push,O=function(U,T){var _=o(k,this),$;s?$=s(new x,_?n(this):k):($=_?this:f(k),l($,w,"Error")),T!==void 0&&l($,"message",g(T)),p($,O,$.stack,1),arguments.length>2&&y($,arguments[2]);var Y=[];return h(U,A,{that:Y}),l($,"errors",Y),$};s?s(O,x):i(O,x,{name:!0});var k=O.prototype=f(x.prototype,{constructor:m(1,O),message:m(1,""),name:m(1,"AggregateError")});a({global:!0,constructor:!0,arity:2},{AggregateError:O})},96921:function(c,v,e){"use strict";e(3491)},24298:function(c,v,e){"use strict";var a=e(26589),o=e(71953),n=e(48109),s=e(65342),i=e(55278);a({target:"Array",proto:!0},{at:function(l){var m=o(this),y=n(m),p=s(l),h=p>=0?p:y+p;return h<0||h>=y?void 0:m[h]}}),i("at")},51036:function(c,v,e){"use strict";var a=e(26589),o=e(41983).findLastIndex,n=e(55278);a({target:"Array",proto:!0},{findLastIndex:function(i){return o(this,i,arguments.length>1?arguments[1]:void 0)}}),n("findLastIndex")},83821:function(c,v,e){"use strict";var a=e(26589),o=e(41983).findLast,n=e(55278);a({target:"Array",proto:!0},{findLast:function(i){return o(this,i,arguments.length>1?arguments[1]:void 0)}}),n("findLast")},22106:function(c,v,e){"use strict";var a=e(26589),o=e(71953),n=e(48109),s=e(97674),i=e(19920),f=e(56261),l=f(function(){return[].push.call({length:4294967296},1)!==4294967297}),m=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},y=l||!m();a({target:"Array",proto:!0,arity:1,forced:y},{push:function(h){var g=o(this),b=n(g),w=arguments.length;i(b+w);for(var x=0;x79&&s<83,l=f||!n("reduceRight");a({target:"Array",proto:!0,forced:l},{reduceRight:function(y){return o(this,y,arguments.length,arguments.length>1?arguments[1]:void 0)}})},60123:function(c,v,e){"use strict";var a=e(26589),o=e(15051).left,n=e(84620),s=e(50293),i=e(77695),f=!i&&s>79&&s<83,l=f||!n("reduce");a({target:"Array",proto:!0,forced:l},{reduce:function(y){var p=arguments.length;return o(this,y,p,p>1?arguments[1]:void 0)}})},84570:function(c,v,e){"use strict";var a=e(26589),o=e(72740),n=e(42235),s=e(55278),i=Array;a({target:"Array",proto:!0},{toReversed:function(){return o(n(this),i)}}),s("toReversed")},68266:function(c,v,e){"use strict";var a=e(26589),o=e(43930),n=e(91216),s=e(42235),i=e(93320),f=e(39833),l=e(55278),m=Array,y=o(f("Array","sort"));a({target:"Array",proto:!0},{toSorted:function(h){h!==void 0&&n(h);var g=s(this),b=i(m,g);return y(b,h)}}),l("toSorted")},82597:function(c,v,e){"use strict";var a=e(26589),o=e(55278),n=e(19920),s=e(48109),i=e(50655),f=e(42235),l=e(65342),m=Array,y=Math.max,p=Math.min;a({target:"Array",proto:!0},{toSpliced:function(g,b){var w=f(this),x=s(w),A=i(g,x),O=arguments.length,k=0,L,U,T,_;for(O===0?L=U=0:O===1?(L=0,U=x-A):(L=O-2,U=p(y(l(b),0),x-A)),T=n(x+L-U),_=m(T);k=0?b:g+b;return w<0||w>=g?void 0:l(h,w)}})},99507:function(c,v,e){"use strict";var a=e(26589),o=e(43930),n=e(31628),s=e(66516),i=o("".charCodeAt);a({target:"String",proto:!0},{isWellFormed:function(){for(var l=s(n(this)),m=l.length,y=0;y=56320||++y>=m||(i(l,y)&64512)!==56320))return!1}return!0}})},34999:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(43930),s=e(31628),i=e(21051),f=e(95582),l=e(82552),m=e(66516),y=e(98285),p=e(45448),h=e(79267),g=e(44525),b=e(41876),w=g("replace"),x=TypeError,A=n("".indexOf),O=n("".replace),k=n("".slice),L=Math.max,U=function(T,_,$){return $>T.length?-1:_===""?$:A(T,_,$)};a({target:"String",proto:!0},{replaceAll:function(_,$){var Y=s(this),q,te,fe,Ie,Ae,Me,Ne,J,z,H=0,G=0,N="";if(!f(_)){if(q=l(_),q&&(te=m(s(p(_))),!~A(te,"g")))throw new x("`.replaceAll` does not allow non-global regexes");if(fe=y(_,w),fe)return o(fe,_,Y,$);if(b&&q)return O(m(Y),_,$)}for(Ie=m(Y),Ae=m(_),Me=i($),Me||($=m($)),Ne=Ae.length,J=L(1,Ne),H=U(Ie,Ae,0);H!==-1;)z=Me?m($(Ae,H,Ie)):h(Ae,Ie,H,[],void 0,$),N+=k(Ie,G,H)+z,G=H+Ne,H=U(Ie,Ae,H+J);return G=56320||k+1>=A||(y(x,k+1)&64512)!==56320?O[k]=g:(O[k]=m(x,k),O[++k]=m(x,k))}return p(O,"")}})},53006:function(c,v,e){"use strict";var a=e(66221),o=e(48109),n=e(65342),s=a.aTypedArray,i=a.exportTypedArrayMethod;i("at",function(l){var m=s(this),y=o(m),p=n(l),h=p>=0?p:y+p;return h<0||h>=y?void 0:m[h]})},91531:function(c,v,e){"use strict";var a=e(66221),o=e(41983).findLastIndex,n=a.aTypedArray,s=a.exportTypedArrayMethod;s("findLastIndex",function(f){return o(n(this),f,arguments.length>1?arguments[1]:void 0)})},21838:function(c,v,e){"use strict";var a=e(66221),o=e(41983).findLast,n=a.aTypedArray,s=a.exportTypedArrayMethod;s("findLast",function(f){return o(n(this),f,arguments.length>1?arguments[1]:void 0)})},28975:function(c,v,e){"use strict";var a=e(38386),o=e(98789),n=e(66221),s=e(48109),i=e(7270),f=e(71953),l=e(56261),m=a.RangeError,y=a.Int8Array,p=y&&y.prototype,h=p&&p.set,g=n.aTypedArray,b=n.exportTypedArrayMethod,w=!l(function(){var A=new Uint8ClampedArray(2);return o(h,A,{length:1,0:3},1),A[1]!==3}),x=w&&n.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var A=new y(2);return A.set(1),A.set("2",1),A[0]!==0||A[1]!==2});b("set",function(O){g(this);var k=i(arguments.length>1?arguments[1]:void 0,1),L=f(O);if(w)return o(h,this,L,k);var U=this.length,T=s(L),_=0;if(T+k>U)throw new m("Wrong length");for(;_1?arguments[1]:void 0)}}),n("filterOut")},52873:function(c,v,e){"use strict";var a=e(26589),o=e(57311).filterReject,n=e(55278);a({target:"Array",proto:!0,forced:!0},{filterReject:function(i){return o(this,i,arguments.length>1?arguments[1]:void 0)}}),n("filterReject")},89255:function(c,v,e){"use strict";var a=e(26589),o=e(98200);a({target:"Array",stat:!0},{fromAsync:o})},66578:function(c,v,e){"use strict";var a=e(26589),o=e(84620),n=e(55278),s=e(8202),i=e(41876);a({target:"Array",proto:!0,name:"groupToMap",forced:i||!o("groupByToMap")},{groupByToMap:s}),n("groupByToMap")},22938:function(c,v,e){"use strict";var a=e(26589),o=e(20508),n=e(84620),s=e(55278);a({target:"Array",proto:!0,forced:!n("groupBy")},{groupBy:function(f){var l=arguments.length>1?arguments[1]:void 0;return o(this,f,l)}}),s("groupBy")},83:function(c,v,e){"use strict";var a=e(26589),o=e(55278),n=e(8202),s=e(41876);a({target:"Array",proto:!0,forced:s},{groupToMap:n}),o("groupToMap")},78569:function(c,v,e){"use strict";var a=e(26589),o=e(20508),n=e(55278);a({target:"Array",proto:!0},{group:function(i){var f=arguments.length>1?arguments[1]:void 0;return o(this,i,f)}}),n("group")},81357:function(c,v,e){"use strict";var a=e(26589),o=e(87487),n=Object.isFrozen,s=function(i,f){if(!n||!o(i)||!n(i))return!1;for(var l=0,m=i.length,y;l1?arguments[1]:!1);return n([l&255,l>>8&255],10)}})},15515:function(c,v,e){"use strict";var a=e(26589),o=e(43930),n=o(DataView.prototype.getUint8);a({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(i){return n(this,i)}})},14979:function(c,v,e){"use strict";var a=e(26589),o=e(43930),n=e(33242),s=e(78749),i=e(67778).pack,f=e(99953),l=TypeError,m=o(DataView.prototype.setUint16);a({target:"DataView",proto:!0},{setFloat16:function(p,h){if(n(this)!=="DataView")throw new l("Incorrect receiver");var g=s(p),b=i(f(h),10,2);return m(this,g,b[1]<<8|b[0],arguments.length>2?arguments[2]:!1)}})},26357:function(c,v,e){"use strict";var a=e(26589),o=e(43930),n=e(33242),s=e(78749),i=e(76905),f=TypeError,l=o(DataView.prototype.setUint8);a({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(y,p){if(n(this)!=="DataView")throw new f("Incorrect receiver");var h=s(y);return l(this,h,i(p))}})},68291:function(c,v,e){"use strict";var a=e(26589),o=e(27233),n=e(70521),s=e(91216),i=e(86036),f=e(66511),l=e(25785),m=e(42917),y=e(44525),p=e(92657),h=e(58529),g=n("SuppressedError"),b=ReferenceError,w=y("dispose"),x=y("toStringTag"),A="DisposableStack",O=p.set,k=p.getterFor(A),L="sync-dispose",U="disposed",T="pending",_=function(q){var te=k(q);if(te.state===U)throw new b(A+" already disposed");return te},$=function(){O(i(this,Y),{type:A,state:T,stack:[]}),o||(this.disposed=!1)},Y=$.prototype;l(Y,{dispose:function(){var te=k(this);if(te.state!==U){te.state=U,o||(this.disposed=!0);for(var fe=te.stack,Ie=fe.length,Ae=!1,Me;Ie;){var Ne=fe[--Ie];fe[Ie]=null;try{Ne()}catch(J){Ae?Me=new g(J,Me):(Ae=!0,Me=J)}}if(te.stack=null,Ae)throw Me}},use:function(te){return h(_(this),te,L),te},adopt:function(te,fe){var Ie=_(this);return s(fe),h(Ie,void 0,L,function(){fe(te)}),te},defer:function(te){var fe=_(this);s(te),h(fe,void 0,L,te)},move:function(){var te=_(this),fe=new $;return k(fe).stack=te.stack,te.stack=[],te.state=U,o||(this.disposed=!0),fe}}),o&&m(Y,"disposed",{configurable:!0,get:function(){return k(this).state===U}}),f(Y,w,Y.dispose,{name:"dispose"}),f(Y,x,A,{nonWritable:!0}),a({global:!0,constructor:!0},{DisposableStack:$})},66810:function(c,v,e){"use strict";var a=e(26589),o=e(84603);a({target:"Function",proto:!0,forced:!0},{demethodize:o})},7170:function(c,v,e){"use strict";var a=e(26589),o=e(43930),n=e(21051),s=e(48840),i=e(14592),f=e(27233),l=Object.getOwnPropertyDescriptor,m=/^\s*class\b/,y=o(m.exec),p=function(h){try{if(!f||!y(m,s(h)))return!1}catch(b){}var g=l(h,"prototype");return!!g&&i(g,"writable")&&!g.writable};a({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(g){return n(g)&&!p(g)}})},40319:function(c,v,e){"use strict";var a=e(26589),o=e(83808);a({target:"Function",stat:!0,forced:!0},{isConstructor:o})},84670:function(c,v,e){"use strict";var a=e(44525),o=e(17567).f,n=a("metadata"),s=Function.prototype;s[n]===void 0&&o(s,n,{value:null})},64699:function(c,v,e){"use strict";var a=e(26589),o=e(84603);a({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:o})},73834:function(c,v,e){"use strict";var a=e(26589),o=e(38144);a({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:o})},14534:function(c,v,e){"use strict";var a=e(26589),o=e(38386),n=e(86036),s=e(47033),i=e(21051),f=e(43587),l=e(42917),m=e(56853),y=e(56261),p=e(14592),h=e(44525),g=e(71558).IteratorPrototype,b=e(27233),w=e(41876),x="constructor",A="Iterator",O=h("toStringTag"),k=TypeError,L=o[A],U=w||!i(L)||L.prototype!==g||!y(function(){L({})}),T=function(){if(n(this,g),f(this)===g)throw new k("Abstract class Iterator not directly constructable")},_=function($,Y){b?l(g,$,{configurable:!0,get:function(){return Y},set:function(q){if(s(this),this===g)throw new k("You can't redefine this property");p(this,$)?this[$]=q:m(this,$,q)}}):g[$]=Y};p(g,O)||_(O,A),(U||!p(g,x)||g[x]===Object)&&_(x,T),T.prototype=g,a({global:!0,constructor:!0,forced:U},{Iterator:T})},87658:function(c,v,e){"use strict";var a=e(98789),o=e(66511),n=e(98285),s=e(14592),i=e(44525),f=e(71558).IteratorPrototype,l=i("dispose");s(f,l)||o(f,l,function(){var m=n(this,"return");m&&a(m,this)})},94049:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(47033),s=e(81770),i=e(49551),f=e(18709),l=e(96813),m=e(41876),y=l(function(){for(var p=this.iterator,h=this.next,g,b;this.remaining;)if(this.remaining--,g=n(o(h,p)),b=this.done=!!g.done,b)return;if(g=n(o(h,p)),b=this.done=!!g.done,!b)return g.value});a({target:"Iterator",proto:!0,real:!0,forced:m},{drop:function(h){n(this);var g=f(i(+h));return new y(s(this),{remaining:g})}})},56321:function(c,v,e){"use strict";var a=e(26589),o=e(70147),n=e(91216),s=e(47033),i=e(81770);a({target:"Iterator",proto:!0,real:!0},{every:function(l){s(this),n(l);var m=i(this),y=0;return!o(m,function(p,h){if(!l(p,y++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},99801:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(91216),s=e(47033),i=e(81770),f=e(96813),l=e(47967),m=e(41876),y=f(function(){for(var p=this.iterator,h=this.predicate,g=this.next,b,w,x;;){if(b=s(o(g,p)),w=this.done=!!b.done,w)return;if(x=b.value,l(p,h,[x,this.counter++],!0))return x}});a({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function(h){return s(this),n(h),new y(i(this),{predicate:h})}})},53261:function(c,v,e){"use strict";var a=e(26589),o=e(70147),n=e(91216),s=e(47033),i=e(81770);a({target:"Iterator",proto:!0,real:!0},{find:function(l){s(this),n(l);var m=i(this),y=0;return o(m,function(p,h){if(l(p,y++))return h(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},24208:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(91216),s=e(47033),i=e(81770),f=e(7734),l=e(96813),m=e(90431),y=e(41876),p=l(function(){for(var h=this.iterator,g=this.mapper,b,w;;){if(w=this.inner)try{if(b=s(o(w.next,w.iterator)),!b.done)return b.value;this.inner=null}catch(x){m(h,"throw",x)}if(b=s(o(this.next,h)),this.done=!!b.done)return;try{this.inner=f(g(b.value,this.counter++),!1)}catch(x){m(h,"throw",x)}}});a({target:"Iterator",proto:!0,real:!0,forced:y},{flatMap:function(g){return s(this),n(g),new p(i(this),{mapper:g,inner:null})}})},82119:function(c,v,e){"use strict";var a=e(26589),o=e(70147),n=e(91216),s=e(47033),i=e(81770);a({target:"Iterator",proto:!0,real:!0},{forEach:function(l){s(this),n(l);var m=i(this),y=0;o(m,function(p){l(p,y++)},{IS_RECORD:!0})}})},85836:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(71953),s=e(59479),i=e(71558).IteratorPrototype,f=e(96813),l=e(7734),m=e(41876),y=f(function(){return o(this.next,this.iterator)},!0);a({target:"Iterator",stat:!0,forced:m},{from:function(h){var g=l(typeof h=="string"?n(h):h,!0);return s(i,g.iterator)?g.iterator:new y(g)}})},4482:function(c,v,e){"use strict";var a=e(26589),o=e(38144);a({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:o})},55330:function(c,v,e){"use strict";var a=e(26589),o=e(24736),n=e(41876);a({target:"Iterator",proto:!0,real:!0,forced:n},{map:o})},18594:function(c,v,e){"use strict";var a=e(26589),o=e(4048),n=TypeError;a({target:"Iterator",stat:!0,forced:!0},{range:function(i,f,l){if(typeof i=="number")return new o(i,f,l,"number",0,1);if(typeof i=="bigint")return new o(i,f,l,"bigint",BigInt(0),BigInt(1));throw new n("Incorrect Iterator.range arguments")}})},82063:function(c,v,e){"use strict";var a=e(26589),o=e(70147),n=e(91216),s=e(47033),i=e(81770),f=TypeError;a({target:"Iterator",proto:!0,real:!0},{reduce:function(m){s(this),n(m);var y=i(this),p=arguments.length<2,h=p?void 0:arguments[1],g=0;if(o(y,function(b){p?(p=!1,h=b):h=m(h,b,g),g++},{IS_RECORD:!0}),p)throw new f("Reduce of empty iterator with no initial value");return h}})},69776:function(c,v,e){"use strict";var a=e(26589),o=e(70147),n=e(91216),s=e(47033),i=e(81770);a({target:"Iterator",proto:!0,real:!0},{some:function(l){s(this),n(l);var m=i(this),y=0;return o(m,function(p,h){if(l(p,y++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},44140:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(47033),s=e(81770),i=e(49551),f=e(18709),l=e(96813),m=e(90431),y=e(41876),p=l(function(){var h=this.iterator;if(!this.remaining--)return this.done=!0,m(h,"normal",void 0);var g=n(o(this.next,h)),b=this.done=!!g.done;if(!b)return g.value});a({target:"Iterator",proto:!0,real:!0,forced:y},{take:function(g){n(this);var b=f(i(+g));return new p(s(this),{remaining:b})}})},99906:function(c,v,e){"use strict";var a=e(26589),o=e(47033),n=e(70147),s=e(81770),i=[].push;a({target:"Iterator",proto:!0,real:!0},{toArray:function(){var l=[];return n(s(o(this)),i,{that:l,IS_RECORD:!0}),l}})},89711:function(c,v,e){"use strict";var a=e(26589),o=e(47033),n=e(86219),s=e(54646),i=e(81770),f=e(41876);a({target:"Iterator",proto:!0,real:!0,forced:f},{toAsync:function(){return new s(i(new n(i(o(this)))))}})},11876:function(c,v,e){"use strict";var a=e(26589),o=e(97343),n=e(54931);a({target:"JSON",stat:!0,forced:!o},{isRawJSON:n})},74335:function(c,v,e){"use strict";var a=e(26589),o=e(27233),n=e(38386),s=e(70521),i=e(43930),f=e(98789),l=e(21051),m=e(11203),y=e(87487),p=e(14592),h=e(66516),g=e(48109),b=e(56853),w=e(56261),x=e(98224),A=e(13293),O=n.JSON,k=n.Number,L=n.SyntaxError,U=O&&O.parse,T=s("Object","keys"),_=Object.getOwnPropertyDescriptor,$=i("".charAt),Y=i("".slice),q=i(/./.exec),te=i([].push),fe=/^\d$/,Ie=/^[1-9]$/,Ae=/^(?:-|\d)$/,Me=/^[\t\n\r ]$/,Ne=0,J=1,z=function(se,C){se=h(se);var Z=new j(se,0,""),W=Z.parse(),X=W.value,ue=Z.skip(Me,W.end);if(ue1?arguments[1]:void 0);return s(l,function(y,p){if(!m(y,p,l))return!1},!0)!==!1}})},77877:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(782),s=e(92192),i=e(73536),f=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(y){var p=n(this),h=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return i(p,function(b,w){h(b,w,p)&&l(g,w,b)}),g}})},82401:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(782),s=e(73536);a({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(f){var l=n(this),m=o(f,arguments.length>1?arguments[1]:void 0),y=s(l,function(p,h){if(m(p,h,l))return{key:h}},!0);return y&&y.key}})},34499:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(782),s=e(73536);a({target:"Map",proto:!0,real:!0,forced:!0},{find:function(f){var l=n(this),m=o(f,arguments.length>1?arguments[1]:void 0),y=s(l,function(p,h){if(m(p,h,l))return{value:p}},!0);return y&&y.value}})},52933:function(c,v,e){"use strict";var a=e(26589),o=e(13271);a({target:"Map",stat:!0,forced:!0},{from:o})},63018:function(c,v,e){"use strict";var a=e(26589),o=e(56472),n=e(782),s=e(73536);a({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(f){return s(n(this),function(l){if(o(l,f))return!0},!0)===!0}})},39888:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(70147),s=e(21051),i=e(91216),f=e(92192).Map;a({target:"Map",stat:!0,forced:!0},{keyBy:function(m,y){var p=s(this)?this:f,h=new p;i(y);var g=i(h.set);return n(m,function(b){o(g,h,y(b),b)}),h}})},6415:function(c,v,e){"use strict";var a=e(26589),o=e(782),n=e(73536);a({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(i){var f=n(o(this),function(l,m){if(l===i)return{key:m}},!0);return f&&f.key}})},48137:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(782),s=e(92192),i=e(73536),f=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(y){var p=n(this),h=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return i(p,function(b,w){l(g,h(b,w,p),b)}),g}})},49233:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(782),s=e(92192),i=e(73536),f=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(y){var p=n(this),h=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return i(p,function(b,w){l(g,w,h(b,w,p))}),g}})},61656:function(c,v,e){"use strict";var a=e(26589),o=e(782),n=e(70147),s=e(92192).set;a({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(f){for(var l=o(this),m=arguments.length,y=0;y1?arguments[1]:void 0);return s(l,function(y,p){if(m(y,p,l))return!0},!0)===!0}})},34033:function(c,v,e){"use strict";var a=e(26589),o=e(23766);a({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:o})},73363:function(c,v,e){"use strict";var a=e(26589),o=e(91216),n=e(782),s=e(92192),i=TypeError,f=s.get,l=s.has,m=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{update:function(p,h){var g=n(this),b=arguments.length;o(h);var w=l(g,p);if(!w&&b<3)throw new i("Updating absent value");var x=w?f(g,p):o(b>2?arguments[2]:void 0)(p,g);return m(g,p,h(x,p,g)),g}})},10397:function(c,v,e){"use strict";var a=e(26589),o=e(23766);a({target:"Map",proto:!0,real:!0,forced:!0},{upsert:o})},58527:function(c,v,e){"use strict";var a=e(26589),o=Math.min,n=Math.max;a({target:"Math",stat:!0,forced:!0},{clamp:function(i,f,l){return o(l,n(f,i))}})},43446:function(c,v,e){"use strict";var a=e(26589);a({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},10986:function(c,v,e){"use strict";var a=e(26589),o=180/Math.PI;a({target:"Math",stat:!0,forced:!0},{degrees:function(s){return s*o}})},53408:function(c,v,e){"use strict";var a=e(26589),o=e(99953);a({target:"Math",stat:!0},{f16round:o})},14316:function(c,v,e){"use strict";var a=e(26589),o=e(60114),n=e(18208);a({target:"Math",stat:!0,forced:!0},{fscale:function(i,f,l,m,y){return n(o(i,f,l,m,y))}})},55693:function(c,v,e){"use strict";var a=e(26589);a({target:"Math",stat:!0,forced:!0},{iaddh:function(n,s,i,f){var l=n>>>0,m=s>>>0,y=i>>>0;return m+(f>>>0)+((l&y|(l|y)&~(l+y>>>0))>>>31)|0}})},91067:function(c,v,e){"use strict";var a=e(26589);a({target:"Math",stat:!0,forced:!0},{imulh:function(n,s){var i=65535,f=+n,l=+s,m=f&i,y=l&i,p=f>>16,h=l>>16,g=(p*y>>>0)+(m*y>>>16);return p*h+(g>>16)+((m*h>>>0)+(g&i)>>16)}})},6927:function(c,v,e){"use strict";var a=e(26589);a({target:"Math",stat:!0,forced:!0},{isubh:function(n,s,i,f){var l=n>>>0,m=s>>>0,y=i>>>0;return m-(f>>>0)-((~l&y|~(l^y)&l-y>>>0)>>>31)|0}})},21459:function(c,v,e){"use strict";var a=e(26589);a({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},51986:function(c,v,e){"use strict";var a=e(26589),o=Math.PI/180;a({target:"Math",stat:!0,forced:!0},{radians:function(s){return s*o}})},68828:function(c,v,e){"use strict";var a=e(26589),o=e(60114);a({target:"Math",stat:!0,forced:!0},{scale:o})},9011:function(c,v,e){"use strict";var a=e(26589),o=e(47033),n=e(19447),s=e(92388),i=e(13988),f=e(92657),l="Seeded Random",m=l+" Generator",y='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=f.set,h=f.getterFor(m),g=TypeError,b=s(function(x){p(this,{type:m,seed:x%2147483647})},l,function(){var x=h(this),A=x.seed=(x.seed*1103515245+12345)%2147483647;return i((A&1073741823)/1073741823,!1)});a({target:"Math",stat:!0,forced:!0},{seededPRNG:function(x){var A=o(x).seed;if(!n(A))throw new g(y);return new b(A)}})},94887:function(c,v,e){"use strict";var a=e(26589);a({target:"Math",stat:!0,forced:!0},{signbit:function(n){var s=+n;return s===s&&s===0?1/s===-1/0:s<0}})},67007:function(c,v,e){"use strict";var a=e(26589);a({target:"Math",stat:!0,forced:!0},{umulh:function(n,s){var i=65535,f=+n,l=+s,m=f&i,y=l&i,p=f>>>16,h=l>>>16,g=(p*y>>>0)+(m*y>>>16);return p*h+(g>>>16)+((m*h>>>0)+(g&i)>>>16)}})},34482:function(c,v,e){"use strict";var a=e(26589),o=e(43930),n=e(65342),s="Invalid number representation",i="Invalid radix",f=RangeError,l=SyntaxError,m=TypeError,y=parseInt,p=Math.pow,h=/^[\d.a-z]+$/,g=o("".charAt),b=o(h.exec),w=o(1 .toString),x=o("".slice),A=o("".split);a({target:"Number",stat:!0,forced:!0},{fromString:function(k,L){var U=1;if(typeof k!="string")throw new m(s);if(!k.length)throw new l(s);if(g(k,0)==="-"&&(U=-1,k=x(k,1),!k.length))throw new l(s);var T=L===void 0?10:n(L);if(T<2||T>36)throw new f(i);if(!b(h,k))throw new l(s);var _=A(k,"."),$=y(_[0],T);if(_.length>1&&($+=y(_[1],T)/p(T,_[1].length)),T===10&&w($,T)!==k)throw new l(s);return U*$}})},1945:function(c,v,e){"use strict";var a=e(26589),o=e(4048);a({target:"Number",stat:!0,forced:!0},{range:function(s,i,f){return new o(s,i,f,"number",0,1)}})},51976:function(c,v,e){"use strict";var a=e(26589),o=e(75902);a({target:"Object",stat:!0,forced:!0},{iterateEntries:function(s){return new o(s,"entries")}})},766:function(c,v,e){"use strict";var a=e(26589),o=e(75902);a({target:"Object",stat:!0,forced:!0},{iterateKeys:function(s){return new o(s,"keys")}})},87799:function(c,v,e){"use strict";var a=e(26589),o=e(75902);a({target:"Object",stat:!0,forced:!0},{iterateValues:function(s){return new o(s,"values")}})},84059:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(27233),s=e(39693),i=e(91216),f=e(47033),l=e(86036),m=e(21051),y=e(95582),p=e(11203),h=e(98285),g=e(66511),b=e(25785),w=e(42917),x=e(31981),A=e(44525),O=e(92657),k=A("observable"),L="Observable",U="Subscription",T="SubscriptionObserver",_=O.getterFor,$=O.set,Y=_(L),q=_(U),te=_(T),fe=function(J){this.observer=f(J),this.cleanup=void 0,this.subscriptionObserver=void 0};fe.prototype={type:U,clean:function(){var J=this.cleanup;if(J){this.cleanup=void 0;try{J()}catch(z){x(z)}}},close:function(){if(!n){var J=this.facade,z=this.subscriptionObserver;J.closed=!0,z&&(z.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var Ie=function(J,z){var H=$(this,new fe(J)),G;n||(this.closed=!1);try{(G=h(J,"start"))&&o(G,J,this)}catch(Se){x(Se)}if(!H.isClosed()){var N=H.subscriptionObserver=new Ae(H);try{var j=z(N),ie=j;y(j)||(H.cleanup=m(j.unsubscribe)?function(){ie.unsubscribe()}:i(j))}catch(Se){N.error(Se);return}H.isClosed()&&H.clean()}};Ie.prototype=b({},{unsubscribe:function(){var z=q(this);z.isClosed()||(z.close(),z.clean())}}),n&&w(Ie.prototype,"closed",{configurable:!0,get:function(){return q(this).isClosed()}});var Ae=function(J){$(this,{type:T,subscriptionState:J}),n||(this.closed=!1)};Ae.prototype=b({},{next:function(z){var H=te(this).subscriptionState;if(!H.isClosed()){var G=H.observer;try{var N=h(G,"next");N&&o(N,G,z)}catch(j){x(j)}}},error:function(z){var H=te(this).subscriptionState;if(!H.isClosed()){var G=H.observer;H.close();try{var N=h(G,"error");N?o(N,G,z):x(z)}catch(j){x(j)}H.clean()}},complete:function(){var z=te(this).subscriptionState;if(!z.isClosed()){var H=z.observer;z.close();try{var G=h(H,"complete");G&&o(G,H)}catch(N){x(N)}z.clean()}}}),n&&w(Ae.prototype,"closed",{configurable:!0,get:function(){return te(this).subscriptionState.isClosed()}});var Me=function(z){l(this,Ne),$(this,{type:L,subscriber:i(z)})},Ne=Me.prototype;b(Ne,{subscribe:function(z){var H=arguments.length;return new Ie(m(z)?{next:z,error:H>1?arguments[1]:void 0,complete:H>2?arguments[2]:void 0}:p(z)?z:{},Y(this).subscriber)}}),g(Ne,k,function(){return this}),a({global:!0,constructor:!0,forced:!0},{Observable:Me}),s(L)},82629:function(c,v,e){"use strict";var a=e(26589),o=e(70521),n=e(98789),s=e(47033),i=e(83808),f=e(39151),l=e(98285),m=e(70147),y=e(44525),p=y("observable");a({target:"Observable",stat:!0,forced:!0},{from:function(g){var b=i(this)?this:o("Observable"),w=l(s(g),p);if(w){var x=s(n(w,g));return x.constructor===b?x:new b(function(O){return x.subscribe(O)})}var A=f(g);return new b(function(O){m(A,function(k,L){if(O.next(k),O.closed)return L()},{IS_ITERATOR:!0,INTERRUPTED:!0}),O.complete()})}})},79395:function(c,v,e){"use strict";e(84059),e(82629),e(73184)},73184:function(c,v,e){"use strict";var a=e(26589),o=e(70521),n=e(83808),s=o("Array");a({target:"Observable",stat:!0,forced:!0},{of:function(){for(var f=n(this)?this:o("Observable"),l=arguments.length,m=s(l),y=0;y?@[\\\\\\]^`{|}~"+s+"]","g");a({target:"RegExp",stat:!0,forced:!0},{escape:function(y){var p=n(y),h=i(p,0);return(h>47&&h<58?"\\x3":"")+f(p,l,"\\$&")}})},10682:function(c,v,e){"use strict";var a=e(26589),o=e(19397),n=e(81343).add;a({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var i=o(this),f=0,l=arguments.length;f1?arguments[1]:void 0);return s(l,function(y){if(!m(y,y,l))return!1},!0)!==!1}})},79253:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(19397),s=e(81343),i=e(12834),f=s.Set,l=s.add;a({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(y){var p=n(this),h=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return i(p,function(b){h(b,b,p)&&l(g,b)}),g}})},30417:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(19397),s=e(12834);a({target:"Set",proto:!0,real:!0,forced:!0},{find:function(f){var l=n(this),m=o(f,arguments.length>1?arguments[1]:void 0),y=s(l,function(p){if(m(p,p,l))return{value:p}},!0);return y&&y.value}})},78410:function(c,v,e){"use strict";var a=e(26589),o=e(13271);a({target:"Set",stat:!0,forced:!0},{from:o})},85922:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(68255),s=e(91054);a({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(f){return o(s,this,n(f))}})},29746:function(c,v,e){"use strict";var a=e(26589),o=e(56261),n=e(91054),s=e(47607),i=!s("intersection")||o(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});a({target:"Set",proto:!0,real:!0,forced:i},{intersection:n})},48383:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(68255),s=e(94892);a({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(f){return o(s,this,n(f))}})},29593:function(c,v,e){"use strict";var a=e(26589),o=e(94892),n=e(47607);a({target:"Set",proto:!0,real:!0,forced:!n("isDisjointFrom")},{isDisjointFrom:o})},67295:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(68255),s=e(70351);a({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(f){return o(s,this,n(f))}})},18974:function(c,v,e){"use strict";var a=e(26589),o=e(70351),n=e(47607);a({target:"Set",proto:!0,real:!0,forced:!n("isSubsetOf")},{isSubsetOf:o})},72563:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(68255),s=e(48766);a({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(f){return o(s,this,n(f))}})},7340:function(c,v,e){"use strict";var a=e(26589),o=e(48766),n=e(47607);a({target:"Set",proto:!0,real:!0,forced:!n("isSupersetOf")},{isSupersetOf:o})},22499:function(c,v,e){"use strict";var a=e(26589),o=e(43930),n=e(19397),s=e(12834),i=e(66516),f=o([].join),l=o([].push);a({target:"Set",proto:!0,real:!0,forced:!0},{join:function(y){var p=n(this),h=y===void 0?",":i(y),g=[];return s(p,function(b){l(g,b)}),f(g,h)}})},72260:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(19397),s=e(81343),i=e(12834),f=s.Set,l=s.add;a({target:"Set",proto:!0,real:!0,forced:!0},{map:function(y){var p=n(this),h=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return i(p,function(b){l(g,h(b,b,p))}),g}})},82077:function(c,v,e){"use strict";var a=e(26589),o=e(94449);a({target:"Set",stat:!0,forced:!0},{of:o})},33288:function(c,v,e){"use strict";var a=e(26589),o=e(91216),n=e(19397),s=e(12834),i=TypeError;a({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(l){var m=n(this),y=arguments.length<2,p=y?void 0:arguments[1];if(o(l),s(m,function(h){y?(y=!1,p=h):p=l(p,h,h,m)}),y)throw new i("Reduce of empty set with no initial value");return p}})},5257:function(c,v,e){"use strict";var a=e(26589),o=e(9873),n=e(19397),s=e(12834);a({target:"Set",proto:!0,real:!0,forced:!0},{some:function(f){var l=n(this),m=o(f,arguments.length>1?arguments[1]:void 0);return s(l,function(y){if(m(y,y,l))return!0},!0)===!0}})},20108:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(68255),s=e(1605);a({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(f){return o(s,this,n(f))}})},28220:function(c,v,e){"use strict";var a=e(26589),o=e(1605),n=e(47607);a({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:o})},51340:function(c,v,e){"use strict";var a=e(26589),o=e(98789),n=e(68255),s=e(31130);a({target:"Set",proto:!0,real:!0,forced:!0},{union:function(f){return o(s,this,n(f))}})},80628:function(c,v,e){"use strict";var a=e(26589),o=e(31130),n=e(47607);a({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:o})},347:function(c,v,e){"use strict";var a=e(26589),o=e(41409).charAt,n=e(31628),s=e(65342),i=e(66516);a({target:"String",proto:!0,forced:!0},{at:function(l){var m=i(n(this)),y=m.length,p=s(l),h=p>=0?p:y+p;return h<0||h>=y?void 0:o(m,h)}})},2803:function(c,v,e){"use strict";var a=e(26589),o=e(92388),n=e(13988),s=e(31628),i=e(66516),f=e(92657),l=e(41409),m=l.codeAt,y=l.charAt,p="String Iterator",h=f.set,g=f.getterFor(p),b=o(function(x){h(this,{type:p,string:x,index:0})},"String",function(){var x=g(this),A=x.string,O=x.index,k;return O>=A.length?n(void 0,!0):(k=y(A,O),x.index+=k.length,n({codePoint:m(k,0),position:O},!1))});a({target:"String",proto:!0,forced:!0},{codePoints:function(){return new b(i(s(this)))}})},11489:function(c,v,e){"use strict";var a=e(26589),o=e(40975);a({target:"String",stat:!0,forced:!0},{cooked:o})},74055:function(c,v,e){"use strict";var a=e(10356),o=e(26589),n=e(9107),s=e(43930),i=e(97987),f=e(47033),l=e(71953),m=e(21051),y=e(48109),p=e(17567).f,h=e(43420),g=e(44098),b=e(40975),w=e(7184),x=e(88287),A=new g.WeakMap,O=g.get,k=g.has,L=g.set,U=Array,T=TypeError,_=Object.freeze||Object,$=Object.isFrozen,Y=Math.min,q=s("".charAt),te=s("".slice),fe=s("".split),Ie=s(/./.exec),Ae=/([\n\u2028\u2029]|\r\n?)/g,Me=RegExp("^["+x+"]*"),Ne=RegExp("[^"+x+"]"),J="Invalid tag",z="Invalid opening line",H="Invalid closing line",G=function(C){var Z=C.raw;if(a&&!$(Z))throw new T("Raw template should be frozen");if(k(A,Z))return O(A,Z);var W=N(Z),X=ie(W);return p(X,"raw",{value:_(W)}),_(X),L(A,Z,X),X},N=function(C){var Z=l(C),W=y(Z),X=U(W),ue=U(W),Le=0,ke,et,Ze,Xe;if(!W)throw new T(J);for(;Le0)throw new T(z);ke[1]=""}if(ne){if(ke.length===1||Ie(Ne,ke[ke.length-1]))throw new T(H);ke[ke.length-2]="",ke[ke.length-1]=""}for(var he=2;he1?arguments[1]:void 0);return n(this,m)},!0)},4489:function(c,v,e){"use strict";var a=e(66221),o=e(57311).filterReject,n=e(82693),s=a.aTypedArray,i=a.exportTypedArrayMethod;i("filterReject",function(l){var m=o(s(this),l,arguments.length>1?arguments[1]:void 0);return n(this,m)},!0)},56457:function(c,v,e){"use strict";var a=e(70521),o=e(82915),n=e(98200),s=e(66221),i=e(93320),f=s.aTypedArrayConstructor,l=s.exportTypedArrayStaticMethod;l("fromAsync",function(y){var p=this,h=arguments.length,g=h>1?arguments[1]:void 0,b=h>2?arguments[2]:void 0;return new(a("Promise"))(function(w){o(p),w(n(y,g,b))}).then(function(w){return i(f(p),w)})},!0)},69320:function(c,v,e){"use strict";var a=e(66221),o=e(20508),n=e(79936),s=a.aTypedArray,i=a.exportTypedArrayMethod;i("groupBy",function(l){var m=arguments.length>1?arguments[1]:void 0;return o(s(this),l,m,n)},!0)},54781:function(c,v,e){"use strict";var a=e(66221),o=e(48109),n=e(63113),s=e(50655),i=e(42355),f=e(65342),l=e(56261),m=a.aTypedArray,y=a.getTypedArrayConstructor,p=a.exportTypedArrayMethod,h=Math.max,g=Math.min,b=!l(function(){var w=new Int8Array([1]),x=w.toSpliced(1,0,{valueOf:function(){return w[0]=2,3}});return x[0]!==2||x[1]!==3});p("toSpliced",function(x,A){var O=m(this),k=y(O),L=o(O),U=s(x,L),T=arguments.length,_=0,$,Y,q,te,fe,Ie,Ae;if(T===0)$=Y=0;else if(T===1)$=0,Y=L-U;else if(Y=g(h(f(A),0),L-U),$=T-2,$){te=new k($),q=n(te);for(var Me=2;Me1?s(arguments[1]):void 0,$=y(_)==="base64"?p:h,Y=_?!!_.strict:!1,q=Y?T:x(T,k,"");if(q.length%4===0)A(q,-2)==="=="?q=A(q,0,-2):A(q,-1)==="="&&(q=A(q,0,-1));else if(Y)throw new b("Input is not correctly padded");var te=q.length%4;switch(te){case 1:throw new b("Bad input length");case 2:q+="AA";break;case 3:q+="A"}for(var fe=[],Ie=0,Ae=q.length,Me=function(z){var H=w(q,Ie+z);if(!f($,H))throw new b('Bad char in input: "'+H+'"');return $[H]<<18-6*z};Ie>16&255,Ne>>8&255,Ne&255)}var J=fe.length;if(te===2){if(Y&&fe[J-2]!==0)throw new b(L);J-=2}else if(te===3){if(Y&&fe[J-1]!==0)throw new b(L);J--}return l(g,fe,J)}})},91442:function(c,v,e){"use strict";var a=e(26589),o=e(38386),n=e(43930),s=e(23325),i=o.Uint8Array,f=o.SyntaxError,l=o.parseInt,m=/[^\da-f]/i,y=n(m.exec),p=n("".slice);i&&a({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(g){s(g);var b=g.length;if(b%2)throw new f("String should have an even number of characters");if(y(m,g))throw new f("String should only contain hex characters");for(var w=new i(b/2),x=0;x>6*T&63)};O+21&&!p(arguments[1])?w(arguments[1]):void 0,K=S?S.transfer:void 0,Ee,de;K!==void 0&&(Ee=new G,de=At(K,Ee));var _e=Ke(we,Ee);return de&&Te(de),_e}})},84289:function(c,v,e){"use strict";var a=e(66511),o=e(43930),n=e(66516),s=e(93107),i=URLSearchParams,f=i.prototype,l=o(f.append),m=o(f.delete),y=o(f.forEach),p=o([].push),h=new i("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&a(f,"delete",function(g){var b=arguments.length,w=b<2?void 0:arguments[1];if(b&&w===void 0)return m(this,g);var x=[];y(this,function($,Y){p(x,{key:Y,value:$})}),s(b,1);for(var A=n(g),O=n(w),k=0,L=0,U=!1,T=x.length,_;ko.length)&&(n=o.length);for(var s=0,i=new Array(n);s=0)&&(i[l]=n[l]);return i}function o(n,s){if(n==null)return{};var i=a(n,s),f,l;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(n,f)&&(i[f]=n[f])}return i}},57768:function(c,v,e){"use strict";e.d(v,{Z:function(){return i}});function a(f){if(Array.isArray(f))return f}function o(f,l){var m=f==null?null:typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var y,p,h,g,b=[],w=!0,x=!1;try{if(h=(m=m.call(f)).next,l===0){if(Object(m)!==m)return;w=!1}else for(;!(w=(y=h.call(m)).done)&&(b.push(y.value),b.length!==l);w=!0);}catch(A){x=!0,p=A}finally{try{if(!w&&m.return!=null&&(g=m.return(),Object(g)!==g))return}finally{if(x)throw p}}return b}}var n=e(22266);function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(f,l){return a(f)||o(f,l)||(0,n.Z)(f,l)||s()}},77554:function(c,v,e){"use strict";e.d(v,{Z:function(){return f}});var a=e(8681);function o(l){if(Array.isArray(l))return(0,a.Z)(l)}function n(l){if(typeof Symbol!="undefined"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}var s=e(22266);function i(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(l){return o(l)||n(l)||(0,s.Z)(l)||i()}},1536:function(c,v,e){"use strict";e.d(v,{Z:function(){return n}});var a=e(26143);function o(s,i){if((0,a.Z)(s)!=="object"||s===null)return s;var f=s[Symbol.toPrimitive];if(f!==void 0){var l=f.call(s,i||"default");if((0,a.Z)(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(s)}function n(s){var i=o(s,"string");return(0,a.Z)(i)==="symbol"?i:String(i)}},26143:function(c,v,e){"use strict";e.d(v,{Z:function(){return a}});function a(o){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},a(o)}},22266:function(c,v,e){"use strict";e.d(v,{Z:function(){return o}});var a=e(8681);function o(n,s){if(n){if(typeof n=="string")return(0,a.Z)(n,s);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return(0,a.Z)(n,s)}}},82385:function(c,v,e){"use strict";e.d(v,{Z:function(){return a}});function a(o){if(Array.isArray(o))return o}},25940:function(c,v,e){"use strict";e.d(v,{Z:function(){return o}});var a=e(40394);function o(n,s,i){return s=(0,a.Z)(s),s in n?Object.defineProperty(n,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[s]=i,n}},56920:function(c,v,e){"use strict";e.d(v,{Z:function(){return a}});function a(){return a=Object.assign?Object.assign.bind():function(o){for(var n=1;n=0)&&(i[l]=n[l]);return i}function o(n,s){if(n==null)return{};var i=a(n,s),f,l;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(n,f)&&(i[f]=n[f])}return i}},40394:function(c,v,e){"use strict";e.d(v,{Z:function(){return n}});var a=e(91744);function o(s,i){if((0,a.Z)(s)!="object"||!s)return s;var f=s[Symbol.toPrimitive];if(f!==void 0){var l=f.call(s,i||"default");if((0,a.Z)(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(s)}function n(s){var i=o(s,"string");return(0,a.Z)(i)=="symbol"?i:String(i)}},91744:function(c,v,e){"use strict";e.d(v,{Z:function(){return a}});function a(o){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},a(o)}},76059:function(c,v,e){"use strict";e.d(v,{Z:function(){return o}});function a(n,s){(s==null||s>n.length)&&(s=n.length);for(var i=0,f=new Array(s);i=0)&&(i[l]=n[l]);return i}function o(n,s){if(n==null)return{};var i=a(n,s),f,l;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(n,f)&&(i[f]=n[f])}return i}},40394:function(c,v,e){"use strict";e.d(v,{Z:function(){return n}});var a=e(91744);function o(s,i){if((0,a.Z)(s)!="object"||!s)return s;var f=s[Symbol.toPrimitive];if(f!==void 0){var l=f.call(s,i||"default");if((0,a.Z)(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(s)}function n(s){var i=o(s,"string");return(0,a.Z)(i)=="symbol"?i:String(i)}},91744:function(c,v,e){"use strict";e.d(v,{Z:function(){return a}});function a(o){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},a(o)}},76059:function(c,v,e){"use strict";e.d(v,{Z:function(){return o}});function a(n,s){(s==null||s>n.length)&&(s=n.length);for(var i=0,f=new Array(s);i0&&arguments[0]!==void 0?arguments[0]:"";return $t.endsWith("/")?$t:"".concat($t,"/")}var bs=__webpack_require__(48385),Zu=__webpack_require__(56920),wu=__webpack_require__(50332),Hs=["redirect"];function Zi($t){var jt=$t.routesById,wr=$t.parentId,Zr=$t.routeComponents;return Object.keys(jt).filter(function(on){return jt[on].parentId===wr}).map(function(on){var ln=Ki((0,ja.Z)({route:jt[on],routeComponent:Zr[on],loadingComponent:$t.loadingComponent,reactRouter5Compat:$t.reactRouter5Compat},$t.reactRouter5Compat&&{hasChildren:Object.keys(jt).filter(function(aa){return jt[aa].parentId===on}).length>0})),_n=Zi({routesById:jt,routeComponents:Zr,parentId:ln.id,loadingComponent:$t.loadingComponent,reactRouter5Compat:$t.reactRouter5Compat});return _n.length>0&&(ln.children=_n,ln.routes=_n),ln})}function Ca($t){var jt=(0,Po.UO)(),wr=(0,Po.Gn)($t.to,jt),Zr=(0,Hu.T$)(),on=(0,Po.TH)();if(Zr!=null&&Zr.keepQuery){var ln=on.search+on.hash;wr+=ln}var _n=(0,ja.Z)((0,ja.Z)({},$t),{},{to:wr});return sr.createElement(Po.Fg,(0,Zu.Z)({replace:!0},_n))}function Ki($t){var jt=$t.route,wr=jt.redirect,Zr=(0,bs.Z)(jt,Hs),on=$t.reactRouter5Compat?Gs:Zs;return(0,ja.Z)({element:wr?sr.createElement(Ca,{to:wr}):sr.createElement(wu.X.Provider,{value:{route:$t.route}},sr.createElement(on,{loader:sr.memo($t.routeComponent),loadingComponent:$t.loadingComponent||Ws,hasChildren:$t.hasChildren}))},Zr)}function Ws(){return sr.createElement("div",null)}function Gs($t){var jt=(0,wu.Q)(),wr=jt.route,Zr=(0,Hu.Ov)(),on=Zr.history,ln=Zr.clientRoutes,_n=(0,Po.UO)(),aa={params:_n,isExact:!0,path:wr.path,url:on.location.pathname},to=$t.loader;return sr.createElement(sr.Suspense,{fallback:sr.createElement($t.loadingComponent,null)},sr.createElement(to,{location:on.location,match:aa,history:on,params:_n,route:wr,routes:ln},$t.hasChildren&&sr.createElement(Po.j3,null)))}function Zs($t){var jt=$t.loader;return sr.createElement(sr.Suspense,{fallback:sr.createElement($t.loadingComponent,null)},sr.createElement(jt,null))}var Vi=null;function Es(){return Vi}function xs($t){var jt=$t.history,wr=sr.useState({action:jt.action,location:jt.location}),Zr=Gi(wr,2),on=Zr[0],ln=Zr[1];return(0,sr.useLayoutEffect)(function(){return jt.listen(ln)},[jt]),(0,sr.useLayoutEffect)(function(){function _n(aa){$t.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:$t.routes,clientRoutes:$t.clientRoutes,location:aa.location,action:aa.action,basename:$t.basename,isFirst:!!aa.isFirst}})}return _n({location:on.location,action:on.action,isFirst:!0}),jt.listen(_n)},[jt,$t.routes,$t.clientRoutes]),sr.createElement(Po.F0,{navigator:jt,location:on.location,basename:$t.basename},$t.children)}function cl(){var $t=(0,Hu.Ov)(),jt=$t.clientRoutes;return(0,Po.V$)(jt)}var Yi=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Tu=function(jt,wr){var Zr=jt.basename||"/",on=Zi({routesById:jt.routes,routeComponents:jt.routeComponents,loadingComponent:jt.loadingComponent,reactRouter5Compat:jt.reactRouter5Compat});jt.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:on}});for(var ln=sr.createElement(xs,{basename:Zr,pluginManager:jt.pluginManager,routes:jt.routes,clientRoutes:on,history:jt.history},wr),_n=0,aa=Yi;_n1&&location.pathname.endsWith("/")&&history.replaceState({},"",location.pathname.slice(0,-1)+location.search+location.hash),function(){var $t=typeof navigator!="undefined"&&navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&localStorage.getItem("dumi:prefers-color")||"light",jt=window.matchMedia("(prefers-color-scheme: dark)").matches,wr=["light","dark","auto"];document.documentElement.setAttribute("data-prefers-color",$t===wr[2]?jt?wr[1]:wr[0]:wr.indexOf($t)>-1?$t:wr[0])}(),Ts(),window.g_umi={version:"4.1.9"},(0,Wi.rl)((0,$o.We)())})()})(); }()); \ No newline at end of file diff --git a/~demos/:id/index.html b/~demos/:id/index.html index e73dfd1..be78091 100644 --- a/~demos/:id/index.html +++ b/~demos/:id/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/~demos/docs-faq-faq-demo-0/index.html b/~demos/docs-faq-faq-demo-0/index.html index e73dfd1..be78091 100644 --- a/~demos/docs-faq-faq-demo-0/index.html +++ b/~demos/docs-faq-faq-demo-0/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/~demos/docs-faq-faq-demo-1/index.html b/~demos/docs-faq-faq-demo-1/index.html index e73dfd1..be78091 100644 --- a/~demos/docs-faq-faq-demo-1/index.html +++ b/~demos/docs-faq-faq-demo-1/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/~demos/docs-faq-faq-demo-2/index.html b/~demos/docs-faq-faq-demo-2/index.html index e73dfd1..be78091 100644 --- a/~demos/docs-faq-faq-demo-2/index.html +++ b/~demos/docs-faq-faq-demo-2/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/~demos/docs-methods-to-fixed-demo-0/index.html b/~demos/docs-methods-to-fixed-demo-0/index.html index e73dfd1..be78091 100644 --- a/~demos/docs-methods-to-fixed-demo-0/index.html +++ b/~demos/docs-methods-to-fixed-demo-0/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/~demos/docs-methods-to-percent-demo-0/index.html b/~demos/docs-methods-to-percent-demo-0/index.html index e73dfd1..be78091 100644 --- a/~demos/docs-methods-to-percent-demo-0/index.html +++ b/~demos/docs-methods-to-percent-demo-0/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file