1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6538],{41205:function(t,e,n){n.d(e,{Z:function(){return i}});var o=n(20688),r=n(88661),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(69977),i=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,o.Z)({},t,{ref:e,icon:c}))})},6538:function(t,e,n){n.d(e,{Z:function(){return tc}});var o=n(88661),r=n(2817),c=n(41205),a=n(1315),i=n(13908),l=n(71269),s=n(59607),u=n.n(s),d=n(84579),p=n(34971),g=n(20688),f=n(8884),m=n(13969),b={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},h=function(){var t=(0,o.useRef)([]),e=(0,o.useRef)(null);return(0,o.useEffect)(function(){var n=Date.now(),o=!1;t.current.forEach(function(t){if(t){o=!0;var r=t.style;r.transitionDuration=".3s, .3s, .3s, .06s",e.current&&n-e.current<100&&(r.transitionDuration="0s, 0s")}}),o&&(e.current=Date.now())}),t.current},y=n(12693),v=n(69236),k=n(57924),x=0,C=(0,k.Z)(),S=function(t){var e=o.useState(),n=(0,v.Z)(e,2),r=n[0],c=n[1];return o.useEffect(function(){var t;c("rc_progress_".concat((C?(t=x,x+=1):t="TEST_OR_SSR",t)))},[]),t||r},E=function(t){var e=t.bg,n=t.children;return o.createElement("div",{style:{width:"100%",height:"100%",background:e}},n)};function w(t,e){return Object.keys(t).map(function(n){var o=parseFloat(n);return"".concat(t[n]," ").concat("".concat(Math.floor(o*e),"%"))})}var O=o.forwardRef(function(t,e){var n=t.prefixCls,r=t.color,c=t.gradientId,a=t.radius,i=t.style,l=t.ptg,s=t.strokeLinecap,u=t.strokeWidth,d=t.size,p=t.gapDegree,g=r&&"object"===(0,y.Z)(r),f=d/2,m=o.createElement("circle",{className:"".concat(n,"-circle-path"),r:a,cx:f,cy:f,stroke:g?"#FFF":void 0,strokeLinecap:s,strokeWidth:u,opacity:0===l?0:1,style:i,ref:e});if(!g)return m;var b="".concat(c,"-conic"),h=w(r,(360-p)/360),v=w(r,1),k="conic-gradient(from ".concat(p?"".concat(180+p/2,"deg"):"0deg",", ").concat(h.join(", "),")"),x="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(v.join(", "),")");return o.createElement(o.Fragment,null,o.createElement("mask",{id:b},m),o.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(b,")")},o.createElement(E,{bg:x},o.createElement(E,{bg:k}))))}),j=function(t,e,n,o,r,c,a,i,l,s){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-o)/100*e;return"round"===l&&100!==o&&(d+=s/2)>=e&&(d=e-.01),{stroke:"string"==typeof i?i:void 0,strokeDasharray:"".concat(e,"px ").concat(t),strokeDashoffset:d+u,transform:"rotate(".concat(r+n/100*360*((360-c)/360)+(0===c?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},I=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function N(t){var e=null!=t?t:[];return Array.isArray(e)?e:[e]}var A=function(t){var e,n,r,c,a=(0,f.Z)((0,f.Z)({},b),t),i=a.id,l=a.prefixCls,s=a.steps,d=a.strokeWidth,p=a.trailWidth,v=a.gapDegree,k=void 0===v?0:v,x=a.gapPosition,C=a.trailColor,E=a.strokeLinecap,w=a.style,A=a.className,D=a.strokeColor,z=a.percent,W=(0,m.Z)(a,I),Z=S(i),M="".concat(Z,"-gradient"),P=50-d/2,R=2*Math.PI*P,X=k>0?90+k/2:-90,L=(360-k)/360*R,F="object"===(0,y.Z)(s)?s:{count:s,gap:2},T=F.count,_=F.gap,B=N(z),H=N(D),q=H.find(function(t){return t&&"object"===(0,y.Z)(t)}),Q=q&&"object"===(0,y.Z)(q)?"butt":E,Y=j(R,L,0,100,X,k,x,C,Q,d),$=h();return o.createElement("svg",(0,g.Z)({className:u()("".concat(l,"-circle"),A),viewBox:"0 0 ".concat(100," ").concat(100),style:w,id:i,role:"presentation"},W),!T&&o.createElement("circle",{className:"".concat(l,"-circle-trail"),r:P,cx:50,cy:50,stroke:C,strokeLinecap:Q,strokeWidth:p||d,style:Y}),T?(e=Math.round(B[0]/100*T),n=100/T,r=0,Array(T).fill(null).map(function(t,c){var a=c<=e-1?H[0]:C,i=a&&"object"===(0,y.Z)(a)?"url(#".concat(M,")"):void 0,s=j(R,L,r,n,X,k,x,a,"butt",d,_);return r+=(L-s.strokeDashoffset+_)*100/L,o.createElement("circle",{key:c,className:"".concat(l,"-circle-path"),r:P,c
1x:50,cy:50,stroke:i,strokeWidth:d,opacity:1,style:s,ref:function(t){$[c]=t}})})):(c=0,B.map(function(t,e){var n=H[e]||H[H.length-1],r=j(R,L,c,t,X,k,x,n,Q,d);return c+=t,o.createElement(O,{key:e,color:n,ptg:t,radius:P,prefixCls:l,gradientId:M,style:r,strokeLinecap:Q,strokeWidth:d,gapDegree:k,ref:function(t){$[e]=t},size:100})}).reverse()))},D=n(79736),z=n(52450);function W(t){return!t||t<0?0:t>100?100:t}function Z(t){let{success:e,successPercent:n}=t,o=n;return e&&"progress"in e&&(o=e.progress),e&&"percent"in e&&(o=e.percent),o}let M=t=>{let{percent:e,success:n,successPercent:o}=t,r=W(Z({success:n,successPercent:o}));return[r,W(W(e)-r)]},P=t=>{let{success:e={},strokeColor:n}=t,{strokeColor:o}=e;return[o||z.ez.green,n||null]},R=(t,e,n)=>{var o,r,c,a;let i=-1,l=-1;if("step"===e){let e=n.steps,o=n.strokeWidth;"string"==typeof t||void 0===t?(i="small"===t?2:14,l=null!=o?o:8):"number"==typeof t?[i,l]=[t,t]:[i=14,l=8]=Array.isArray(t)?t:[t.width,t.height],i*=e}else if("line"===e){let e=null==n?void 0:n.strokeWidth;"string"==typeof t||void 0===t?l=e||("small"===t?6:8):"number"==typeof t?[i,l]=[t,t]:[i=-1,l=8]=Array.isArray(t)?t:[t.width,t.height]}else("circle"===e||"dashboard"===e)&&("string"==typeof t||void 0===t?[i,l]="small"===t?[60,60]:[120,120]:"number"==typeof t?[i,l]=[t,t]:Array.isArray(t)&&(i=null!==(r=null!==(o=t[0])&&void 0!==o?o:t[1])&&void 0!==r?r:120,l=null!==(a=null!==(c=t[0])&&void 0!==c?c:t[1])&&void 0!==a?a:120));return[i,l]},X=t=>3/t*100;var L=t=>{let{prefixCls:e,trailColor:n=null,strokeLinecap:r="round",gapPosition:c,gapDegree:a,width:i=120,type:l,children:s,success:d,size:p=i,steps:g}=t,[f,m]=R(p,"circle"),{strokeWidth:b}=t;void 0===b&&(b=Math.max(X(f),6));let h=o.useMemo(()=>a||0===a?a:"dashboard"===l?75:void 0,[a,l]),y=M(t),v="[object Object]"===Object.prototype.toString.call(t.strokeColor),k=P({success:d,strokeColor:t.strokeColor}),x=u()("".concat(e,"-inner"),{["".concat(e,"-circle-gradient")]:v}),C=o.createElement(A,{steps:g,percent:g?y[1]:y,strokeWidth:b,trailWidth:b,strokeColor:g?k[1]:k,strokeLinecap:r,trailColor:n,prefixCls:e,gapDegree:h,gapPosition:c||"dashboard"===l&&"bottom"||void 0}),S=f<=20,E=o.createElement("div",{className:x,style:{width:f,height:m,fontSize:.15*f+6}},C,!S&&s);return S?o.createElement(D.Z,{title:s},E):E},F=n(51681),T=n(52295),_=n(70041),B=n(11383);let H="--progress-line-stroke-color",q="--progress-percent",Q=t=>{let e=t?"100%":"-100%";return new F.E4("antProgress".concat(t?"RTL":"LTR","Active"),{"0%":{transform:"translateX(".concat(e,") scaleX(0)"),opacity:.1},"20%":{transform:"translateX(".concat(e,") scaleX(0)"),opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Y=t=>{let{componentCls:e,iconCls:n}=t;return{[e]:Object.assign(Object.assign({},(0,T.Wf)(t)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:t.fontSize},["".concat(e,"-outer")]:{display:"inline-flex",alignItems:"center",width:"100%"},["".concat(e,"-inner")]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:t.remainingColor,borderRadius:t.lineBorderRadius},["".concat(e,"-inner:not(").concat(e,"-circle-gradient)")]:{["".concat(e,"-circle-path")]:{stroke:t.defaultColor}},["".concat(e,"-success-bg, ").concat(e,"-bg")]:{position:"relative",background:t.defaultColor,borderRadius:t.lineBorderRadius,transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOutCirc)},["".concat(e,"-layout-bottom")]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",["".concat(e,"-text")]:{width:"max-content",marginInlineStart:0,marginTop:t.marginXXS}},["".concat(e,"-bg")]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit","var(".concat(H,")")]},height:"100%",width:"calc(1 / var(".concat(q,") * 100%)"),display:"block"},["&".concat(e,"-bg-inner")]:{minWidth:"max-content","&::after":{content:"none"},["".concat(e,"-text-inner")]:{color:t.colorWhite,["&".concat(e,"-text-bright")]:{color:"rgba(0, 0, 0, 0.45)"}}}},["".concat(e,"-success-bg")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:t.colorSuccess},["".concat(e,"-text")]:{display:"inline-block",marginInlineStart:t.marginXS,color:t.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:t.fontSize},["&".concat(e,"-text-outer")]:{width:"max-content"},["&".concat(e,"-text-outer").concat(e,"-text-start")]:{width:"max-content",marginInlineStart:0,marginInlineEnd:t.marginXS}},["".concat(e,"-text-inner")]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:"0 ".concat((0,F.bf)(t.paddingXXS)),["&".concat(e,"-text-start")]:{justifyContent:"start"},["&".concat(e,"-text-end")]:{justifyContent:"end"}},["&".concat(e,"-status-active")]:{["".concat(e,"-bg::before")]:{position:"absolute",inset:0,backgroundColor:t.colorBg
1Container,borderRadius:t.lineBorderRadius,opacity:0,animationName:Q(),animationDuration:t.progressActiveMotionDuration,animationTimingFunction:t.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},["&".concat(e,"-rtl").concat(e,"-status-active")]:{["".concat(e,"-bg::before")]:{animationName:Q(!0)}},["&".concat(e,"-status-exception")]:{["".concat(e,"-bg")]:{backgroundColor:t.colorError},["".concat(e,"-text")]:{color:t.colorError}},["&".concat(e,"-status-exception ").concat(e,"-inner:not(").concat(e,"-circle-gradient)")]:{["".concat(e,"-circle-path")]:{stroke:t.colorError}},["&".concat(e,"-status-success")]:{["".concat(e,"-bg")]:{backgroundColor:t.colorSuccess},["".concat(e,"-text")]:{color:t.colorSuccess}},["&".concat(e,"-status-success ").concat(e,"-inner:not(").concat(e,"-circle-gradient)")]:{["".concat(e,"-circle-path")]:{stroke:t.colorSuccess}}})}},$=t=>{let{componentCls:e,iconCls:n}=t;return{[e]:{["".concat(e,"-circle-trail")]:{stroke:t.remainingColor},["&".concat(e,"-circle ").concat(e,"-inner")]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},["&".concat(e,"-circle ").concat(e,"-text")]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:t.circleTextColor,fontSize:t.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:t.circleIconFontSize}},["".concat(e,"-circle&-status-exception")]:{["".concat(e,"-text")]:{color:t.colorError}},["".concat(e,"-circle&-status-success")]:{["".concat(e,"-text")]:{color:t.colorSuccess}}},["".concat(e,"-inline-circle")]:{lineHeight:1,["".concat(e,"-inner")]:{verticalAlign:"bottom"}}}},G=t=>{let{componentCls:e}=t;
1return{[e]:{["".concat(e,"-steps")]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:t.progressStepMinWidth,marginInlineEnd:t.progressStepMarginInlineEnd,backgroundColor:t.remainingColor,transition:"all ".concat(t.motionDurationSlow),"&-active":{backgroundColor:t.defaultColor}}}}}},J=t=>{let{componentCls:e,iconCls:n}=t;return{[e]:{["".concat(e,"-small&-line, ").concat(e,"-small&-line ").concat(e,"-text ").concat(n)]:{fontSize:t.fontSizeSM}}}};var K=(0,_.I$)("Progress",t=>{let e=t.calc(t.marginXXS).div(2).equal(),n=(0,B.IX)(t,{progressStepMarginInlineEnd:e,progressStepMinWidth:e,progressActiveMotionDuration:"2.4s"});return[Y(n),$(n),G(n),J(n)]},t=>({circleTextColor:t.colorText,defaultColor:t.colorInfo,remainingColor:t.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:"".concat(t.fontSize/t.fontSizeSM,"em")})),U=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)0>e.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};let V=t=>{let e=[];return Object.keys(t).forEach(n=>{let o=parseFloat(n.replace(/%/g,""));isNaN(o)||e.push({key:o,value:t[n]})}),(e=e.sort((t,e)=>t.key-e.key)).map(t=>{let{key:e,value:n}=t;return"".concat(n," ").concat(e,"%")}).join(", ")},tt=(t,e)=>{let{from:n=z.ez.blue,to:o=z.ez.blue,direction:r="rtl"===e?"to left":"to right"}=t,c=U(t,["from","to","direction"]);if(0!==Object.keys(c).length){let t=V(c),e="linear-gradient(".concat(r,", ").concat(t,")");return{background:e,[H]:e}}let a="linear-gradient(".concat(r,", ").concat(n,", ").concat(o,")");return{background:a,[H]:a}};var te=t=>{let{prefixCls:e,direction:n,percent:r,size:c,strokeWidth:a,strokeColor:i,strokeLinecap:l="round",children:s,trailColor:d=null,percentPosition:p,success:g}=t,{align:f,type:m}=p,b=i&&"string"!=typeof i?tt(i,n):{[H]:i,background:i},h="square"===l||"butt"===l?0:void 0,[y,v]=R(null!=c?c:[-1,a||("small"===c?6:8)],"line",{strokeWidth:a}),k=Object.assign(Object.assign({width:"".concat(W(r),"%"),height:v,borderRadius:h},b),{[q]:W(r)/100}),x=Z(t),C={width:"".concat(W(x),"%"),height:v,borderRadius:h,backgroundColor:null==g?void 0:g.strokeColor},S=o.createElement("div",{className:"".concat(e,"-inner"),style:{backgroundColor:d||void 0,borderRadius:h}},o.createElement("div",{className:u()("".concat(e,"-bg"),"".concat(e,"-bg-").concat(m)),style:k},"inner"===m&&s),void 0!==x&&o.createElement("div",{className:"".concat(e,"-success-bg"),style:C})),E="outer"===m&&"start"===f,w="outer"===m&&"end"===f;return"outer"===m&&"center"===f?o.createElement("div",{className:"".concat(e,"-layout-bottom")},S,s):o.createElement("div",{className:"".concat(e,"-outer"),style:{width:y<0?"100%":y}},E&&s,S,w&&s)},tn=t=>{let{size:e,steps:n,percent:r=0,strokeWidth:c=8,strokeColor:a,trailColor:i=null,prefixCls:l,children:s}=t,d=Math.round(r/100*n),[p,g]=R(null!=e?e:["small"===e?2:14,c],"step",{steps:n,strokeWidth:c}),f=p/n,m=Array(n);for(let t=0;t<n;t++){let e=Array.isArray(a)?a[t]:a;m[t]=o.createElement("div",{key:t,className:u()("".concat(l,"-steps-item"),{["".concat(l,"-steps-item-active")]:t<=d-1}),style:{backgroundColor:t<=d-1?e:i,width:f,height:g}})}return o.createElement("div",{className:"".concat(l,"-steps-outer")},m,s)},to=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)0>e.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};let tr=["normal","exception","active","success"];var tc=o.forwardRef((t,e)=>{let n;let{prefixCls:s,className:g,rootClassName:f,steps:m,strokeColor:b,percent:h=0,size:y="default",showInfo:v=!0,type:k="line",status:x,format:C,style:S,percentPosition:E={}}=t,w=to(t,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:O="end",type:j="outer"}=E,I=Array.isArray(b)?b[0]:b,N="string"==typeof b||Array.isArray(b)?b:void 0,A=o.useMemo(()=>
1{if(I){let t="string"==typeof I?I:Object.values(I)[0];return new l.C(t).isLight()}return!1},[b]),D=o.useMemo(()=>{var e,n;let o=Z(t);return parseInt(void 0!==o?null===(e=null!=o?o:0)||void 0===e?void 0:e.toString():null===(n=null!=h?h:0)||void 0===n?void 0:n.toString(),10)},[h,t.success,t.successPercent]),z=o.useMemo(()=>!tr.includes(x)&&D>=100?"success":x||"normal",[x,D]),{getPrefixCls:M,direction:P,progress:X}=o.useContext(p.E_),F=M("progress",s),[T,_,B]=K(F),H="line"===k,q=H&&!m,Q=o.useMemo(()=>{let e;if(!v)return null;let n=Z(t),l=C||(t=>"".concat(t,"%")),s=H&&A&&"inner"===j;return"inner"===j||C||"exception"!==z&&"success"!==z?e=l(W(h),W(n)):"exception"===z?e=H?o.createElement(a.Z,null):o.createElement(i.Z,null):"success"===z&&(e=H?o.createElement(r.Z,null):o.createElement(c.Z,null)),o.createElement("span",{className:u()("".concat(F,"-text"),{["".concat(F,"-text-bright")]:s,["".concat(F,"-text-").concat(O)]:q,["".concat(F,"-text-").concat(j)]:q}),title:"string"==typeof e?e:void 0},e)},[v,h,D,z,k,F,C]);"line"===k?n=m?o.createElement(tn,Object.assign({},t,{strokeColor:N,prefixCls:F,steps:"object"==typeof m?m.count:m}),Q):o.createElement(te,Object.assign({},t,{strokeColor:I,prefixCls:F,direction:P,percentPosition:{align:O,type:j}}),Q):("circle"===k||"dashboard"===k)&&(n=o.createElement(L,Object.assign({},t,{strokeColor:I,prefixCls:F,progressStatus:z}),Q));let Y=u()(F,"".concat(F,"-status-").concat(z),{["".concat(F,"-").concat("dashboard"===k&&"circle"||k)]:"line"!==k,["".concat(F,"-inline-circle")]:"circle"===k&&R(y,"circle")[0]<=20,["".concat(F,"-line")]:q,["".concat(F,"-line-align-").concat(O)]:q,["".concat(F,"-line-position-").concat(j)]:q,["".concat(F,"-steps")]:m,["".concat(F,"-show-info")]:v,["".concat(F,"-").concat(y)]:"string"==typeof y,["".concat(F,"-rtl")]:"rtl"===P},null==X?void 0:X.className,g,f,_,B);return T(o.createElement("div",Object.assign({ref:e,style:Object.assign(Object.assign({},null==X?void 0:X.style),S),className:Y,role:"progressbar","aria-valuenow":D,"aria-valuemin":0,"aria-valuemax":100},(0,d.Z)(w,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),n))})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.