vdi/web-fe/serve/dist/929.async.js

26 lines
86 KiB
JavaScript

(self.webpackChunk=self.webpackChunk||[]).push([[929],{65773:function(lt,Ge,p){"use strict";p.d(Ge,{Z:function(){return ie}});var i=p(66283),$e=p(75271),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},Me=G,K=p(60101),W=function(Ee,Ce){return $e.createElement(K.Z,(0,i.Z)({},Ee,{ref:Ce,icon:Me}))},Ne=$e.forwardRef(W),ie=Ne},89745:function(lt,Ge,p){"use strict";p.d(Ge,{Z:function(){return De}});var i=p(75271),$e=p(78354),G=p(48368),Me=p(45659),K=p(21427),W=p(15007),Ne=p(82187),ie=p.n(Ne),re=p(62803),Ee=p(71305),Ce=p(42684),I=p(48349),ne=p(70436),Se=p(89260),J=p(67083),c=p(89348);const s=(x,P,A,j,V)=>({background:x,border:`${(0,Se.bf)(j.lineWidth)} ${j.lineType} ${P}`,[`${V}-icon`]:{color:A}}),t=x=>{const{componentCls:P,motionDurationSlow:A,marginXS:j,marginSM:V,fontSize:Q,fontSizeLG:Te,lineHeight:Ze,borderRadiusLG:_e,motionEaseInOutCirc:Ye,withDescriptionIconSize:gt,colorText:mt,colorTextHeading:et,withDescriptionPadding:tt,defaultPadding:Re}=x;return{[P]:Object.assign(Object.assign({},(0,J.Wf)(x)),{position:"relative",display:"flex",alignItems:"center",padding:Re,wordWrap:"break-word",borderRadius:_e,[`&${P}-rtl`]:{direction:"rtl"},[`${P}-content`]:{flex:1,minWidth:0},[`${P}-icon`]:{marginInlineEnd:j,lineHeight:0},"&-description":{display:"none",fontSize:Q,lineHeight:Ze},"&-message":{color:et},[`&${P}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${A} ${Ye}, opacity ${A} ${Ye},
padding-top ${A} ${Ye}, padding-bottom ${A} ${Ye},
margin-bottom ${A} ${Ye}`},[`&${P}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${P}-with-description`]:{alignItems:"flex-start",padding:tt,[`${P}-icon`]:{marginInlineEnd:V,fontSize:gt,lineHeight:0},[`${P}-message`]:{display:"block",marginBottom:j,color:et,fontSize:Te},[`${P}-description`]:{display:"block",color:mt}},[`${P}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},e=x=>{const{componentCls:P,colorSuccess:A,colorSuccessBorder:j,colorSuccessBg:V,colorWarning:Q,colorWarningBorder:Te,colorWarningBg:Ze,colorError:_e,colorErrorBorder:Ye,colorErrorBg:gt,colorInfo:mt,colorInfoBorder:et,colorInfoBg:tt}=x;return{[P]:{"&-success":s(V,j,A,x,P),"&-info":s(tt,et,mt,x,P),"&-warning":s(Ze,Te,Q,x,P),"&-error":Object.assign(Object.assign({},s(gt,Ye,_e,x,P)),{[`${P}-description > pre`]:{margin:0,padding:0}})}}},a=x=>{const{componentCls:P,iconCls:A,motionDurationMid:j,marginXS:V,fontSizeIcon:Q,colorIcon:Te,colorIconHover:Ze}=x;return{[P]:{"&-action":{marginInlineStart:V},[`${P}-close-icon`]:{marginInlineStart:V,padding:0,overflow:"hidden",fontSize:Q,lineHeight:(0,Se.bf)(Q),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${A}-close`]:{color:Te,transition:`color ${j}`,"&:hover":{color:Ze}}},"&-close-text":{color:Te,transition:`color ${j}`,"&:hover":{color:Ze}}}}},n=x=>({withDescriptionIconSize:x.fontSizeHeading3,defaultPadding:`${x.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${x.paddingMD}px ${x.paddingContentHorizontalLG}px`});var ve=(0,c.I$)("Alert",x=>[t(x),e(x),a(x)],n),oe=function(x,P){var A={};for(var j in x)Object.prototype.hasOwnProperty.call(x,j)&&P.indexOf(j)<0&&(A[j]=x[j]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,j=Object.getOwnPropertySymbols(x);V<j.length;V++)P.indexOf(j[V])<0&&Object.prototype.propertyIsEnumerable.call(x,j[V])&&(A[j[V]]=x[j[V]]);return A};const Y={success:$e.Z,info:W.Z,error:G.Z,warning:K.Z},ot=x=>{const{icon:P,prefixCls:A,type:j}=x,V=Y[j]||null;return P?(0,I.wm)(P,i.createElement("span",{className:`${A}-icon`},P),()=>({className:ie()(`${A}-icon`,P.props.className)})):i.createElement(V,{className:`${A}-icon`})},ct=x=>{const{isClosable:P,prefixCls:A,closeIcon:j,handleClose:V,ariaProps:Q}=x,Te=j===!0||j===void 0?i.createElement(Me.Z,null):j;return P?i.createElement("button",Object.assign({type:"button",onClick:V,className:`${A}-close-icon`,tabIndex:0},Q),Te):null};var w=i.forwardRef((x,P)=>{const{description:A,prefixCls:j,message:V,banner:Q,className:Te,rootClassName:Ze,style:_e,onMouseEnter:Ye,onMouseLeave:gt,onClick:mt,afterClose:et,showIcon:tt,closable:Re,closeText:ze,closeIcon:$t,action:Rt,id:Jt}=x,Qt=oe(x,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[jt,kt]=i.useState(!1),Ut=i.useRef(null);i.useImperativeHandle(P,()=>({nativeElement:Ut.current}));const{getPrefixCls:St,direction:cr,closable:ut,closeIcon:Ct,className:Bt,style:ht}=(0,ne.dj)("alert"),Ke=St("alert",j),[Ft,vr,pr]=ve(Ke),gr=z=>{var T;kt(!0),(T=x.onClose)===null||T===void 0||T.call(x,z)},o=i.useMemo(()=>x.type!==void 0?x.type:Q?"warning":"info",[x.type,Q]),d=i.useMemo(()=>typeof Re=="object"&&Re.closeIcon||ze?!0:typeof Re=="boolean"?Re:$t!==!1&&$t!==null&&$t!==void 0?!0:!!ut,[ze,$t,Re,ut]),v=Q&&tt===void 0?!0:tt,O=ie()(Ke,`${Ke}-${o}`,{[`${Ke}-with-description`]:!!A,[`${Ke}-no-icon`]:!v,[`${Ke}-banner`]:!!Q,[`${Ke}-rtl`]:cr==="rtl"},Bt,Te,Ze,pr,vr),L=(0,Ee.Z)(Qt,{aria:!0,data:!0}),k=i.useMemo(()=>typeof Re=="object"&&Re.closeIcon?Re.closeIcon:ze||($t!==void 0?$t:typeof ut=="object"&&ut.closeIcon?ut.closeIcon:Ct),[$t,Re,ze,Ct]),H=i.useMemo(()=>{const z=Re!=null?Re:ut;if(typeof z=="object"){const{closeIcon:T}=z;return oe(z,["closeIcon"])}return{}},[Re,ut]);return Ft(i.createElement(re.ZP,{visible:!jt,motionName:`${Ke}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:z=>({maxHeight:z.offsetHeight}),onLeaveEnd:et},({className:z,style:T},ge)=>i.createElement("div",Object.assign({id:Jt,ref:(0,Ce.sQ)(Ut,ge),"data-show":!jt,className:ie()(O,z),style:Object.assign(Object.assign(Object.assign({},ht),_e),T),onMouseEnter:Ye,onMouseLeave:gt,onClick:mt,role:"alert"},L),v?i.createElement(ot,{description:A,icon:x.icon,prefixCls:Ke,type:o}):null,i.createElement("div",{className:`${Ke}-content`},V?i.createElement("div",{className:`${Ke}-message`},V):null,A?i.createElement("div",{className:`${Ke}-description`},A):null),Rt?i.createElement("div",{className:`${Ke}-action`},Rt):null,i.createElement(ct,{isClosable:d,prefixCls:Ke,closeIcon:k,handleClose:gr,ariaProps:H}))))}),$=p(47519),E=p(59694),C=p(56953),f=p(88811),S=p(76227);function R(x,P,A){return P=(0,C.Z)(P),(0,S.Z)(x,(0,f.Z)()?Reflect.construct(P,A||[],(0,C.Z)(x).constructor):P.apply(x,A))}var D=p(66217),se=function(x){function P(){var A;return(0,$.Z)(this,P),A=R(this,P,arguments),A.state={error:void 0,info:{componentStack:""}},A}return(0,D.Z)(P,x),(0,E.Z)(P,[{key:"componentDidCatch",value:function(j,V){this.setState({error:j,info:V})}},{key:"render",value:function(){const{message:j,description:V,id:Q,children:Te}=this.props,{error:Ze,info:_e}=this.state,Ye=(_e==null?void 0:_e.componentStack)||null,gt=typeof j=="undefined"?(Ze||"").toString():j,mt=typeof V=="undefined"?Ye:V;return Ze?i.createElement(w,{id:Q,type:"error",message:gt,description:i.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},mt)}):Te}}])}(i.Component);const de=w;de.ErrorBoundary=se;var De=de},96021:function(lt,Ge,p){"use strict";p.d(Ge,{Z:function(){return gr}});var i=p(75271),$e=p(84432),G=p(78354),Me=p(24302),K=p(48368),W=p(45659),Ne=p(82187),ie=p.n(Ne),re=p(18051),Ee=p(70436),Ce=p(66283),I=p(28037),ne=p(79843),Se={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},J=function(){var d=(0,i.useRef)([]),v=(0,i.useRef)(null);return(0,i.useEffect)(function(){var O=Date.now(),L=!1;d.current.forEach(function(k){if(k){L=!0;var H=k.style;H.transitionDuration=".3s, .3s, .3s, .06s",v.current&&O-v.current<100&&(H.transitionDuration="0s, 0s")}}),L&&(v.current=Date.now())}),d.current},c=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],s=function(d){var v=(0,I.Z)((0,I.Z)({},Se),d),O=v.className,L=v.percent,k=v.prefixCls,H=v.strokeColor,z=v.strokeLinecap,T=v.strokeWidth,ge=v.style,ae=v.trailColor,he=v.trailWidth,Pe=v.transition,Ue=(0,ne.Z)(v,c);delete Ue.gapPosition;var Le=Array.isArray(L)?L:[L],Ae=Array.isArray(H)?H:[H],Je=J(),le=T/2,je=100-T/2,dt="M ".concat(z==="round"?le:0,",").concat(le,`
L `).concat(z==="round"?je:100,",").concat(le),at="0 0 100 ".concat(T),We=0;return i.createElement("svg",(0,Ce.Z)({className:ie()("".concat(k,"-line"),O),viewBox:at,preserveAspectRatio:"none",style:ge},Ue),i.createElement("path",{className:"".concat(k,"-line-trail"),d:dt,strokeLinecap:z,stroke:ae,strokeWidth:he||T,fillOpacity:"0"}),Le.map(function(He,rt){var Xe=1;switch(z){case"round":Xe=1-T/100;break;case"square":Xe=1-T/2/100;break;default:Xe=1;break}var it={strokeDasharray:"".concat(He*Xe,"px, 100px"),strokeDashoffset:"-".concat(We,"px"),transition:Pe||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},me=Ae[rt]||Ae[Ae.length-1];return We+=He,i.createElement("path",{key:rt,className:"".concat(k,"-line-path"),d:dt,strokeLinecap:z,stroke:me,strokeWidth:T,fillOpacity:"0",ref:function(_t){Je[rt]=_t},style:it})}))},t=s,e=p(19505),a=p(29705),n=p(18415),ve=0,oe=(0,n.Z)();function Y(){var o;return oe?(o=ve,ve+=1):o="TEST_OR_SSR",o}var ot=function(o){var d=i.useState(),v=(0,a.Z)(d,2),O=v[0],L=v[1];return i.useEffect(function(){L("rc_progress_".concat(Y()))},[]),o||O},ct=function(d){var v=d.bg,O=d.children;return i.createElement("div",{style:{width:"100%",height:"100%",background:v}},O)};function U(o,d){return Object.keys(o).map(function(v){var O=parseFloat(v),L="".concat(Math.floor(O*d),"%");return"".concat(o[v]," ").concat(L)})}var w=i.forwardRef(function(o,d){var v=o.prefixCls,O=o.color,L=o.gradientId,k=o.radius,H=o.style,z=o.ptg,T=o.strokeLinecap,ge=o.strokeWidth,ae=o.size,he=o.gapDegree,Pe=O&&(0,e.Z)(O)==="object",Ue=Pe?"#FFF":void 0,Le=ae/2,Ae=i.createElement("circle",{className:"".concat(v,"-circle-path"),r:k,cx:Le,cy:Le,stroke:Ue,strokeLinecap:T,strokeWidth:ge,opacity:z===0?0:1,style:H,ref:d});if(!Pe)return Ae;var Je="".concat(L,"-conic"),le=he?"".concat(180+he/2,"deg"):"0deg",je=U(O,(360-he)/360),dt=U(O,1),at="conic-gradient(from ".concat(le,", ").concat(je.join(", "),")"),We="linear-gradient(to ".concat(he?"bottom":"top",", ").concat(dt.join(", "),")");return i.createElement(i.Fragment,null,i.createElement("mask",{id:Je},Ae),i.createElement("foreignObject",{x:0,y:0,width:ae,height:ae,mask:"url(#".concat(Je,")")},i.createElement(ct,{bg:We},i.createElement(ct,{bg:at}))))}),$=w,E=100,C=function(d,v,O,L,k,H,z,T,ge,ae){var he=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Pe=O/100*360*((360-H)/360),Ue=H===0?0:{bottom:0,top:180,left:90,right:-90}[z],Le=(100-L)/100*v;ge==="round"&&L!==100&&(Le+=ae/2,Le>=v&&(Le=v-.01));var Ae=E/2;return{stroke:typeof T=="string"?T:void 0,strokeDasharray:"".concat(v,"px ").concat(d),strokeDashoffset:Le+he,transform:"rotate(".concat(k+Pe+Ue,"deg)"),transformOrigin:"".concat(Ae,"px ").concat(Ae,"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}},f=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function S(o){var d=o!=null?o:[];return Array.isArray(d)?d:[d]}var R=function(d){var v=(0,I.Z)((0,I.Z)({},Se),d),O=v.id,L=v.prefixCls,k=v.steps,H=v.strokeWidth,z=v.trailWidth,T=v.gapDegree,ge=T===void 0?0:T,ae=v.gapPosition,he=v.trailColor,Pe=v.strokeLinecap,Ue=v.style,Le=v.className,Ae=v.strokeColor,Je=v.percent,le=(0,ne.Z)(v,f),je=E/2,dt=ot(O),at="".concat(dt,"-gradient"),We=je-H/2,He=Math.PI*2*We,rt=ge>0?90+ge/2:-90,Xe=He*((360-ge)/360),it=(0,e.Z)(k)==="object"?k:{count:k,gap:2},me=it.count,qt=it.gap,_t=S(Je),Lt=S(Ae),At=Lt.find(function(ft){return ft&&(0,e.Z)(ft)==="object"}),zt=At&&(0,e.Z)(At)==="object",It=zt?"butt":Pe,er=C(He,Xe,0,100,rt,ge,ae,he,It,H),xt=J(),wt=function(){var Wt=0;return _t.map(function(Ht,Xt){var tr=Lt[Xt]||Lt[Lt.length-1],rr=C(He,Xe,Wt,Ht,rt,ge,ae,tr,It,H);return Wt+=Ht,i.createElement($,{key:Xt,color:tr,ptg:Ht,radius:We,prefixCls:L,gradientId:at,style:rr,strokeLinecap:It,strokeWidth:H,gapDegree:ge,ref:function(u){xt[Xt]=u},size:E})}).reverse()},vt=function(){var Wt=Math.round(me*(_t[0]/100)),Ht=100/me,Xt=0;return new Array(me).fill(null).map(function(tr,rr){var r=rr<=Wt-1?Lt[0]:he,u=r&&(0,e.Z)(r)==="object"?"url(#".concat(at,")"):void 0,h=C(He,Xe,Xt,Ht,rt,ge,ae,r,"butt",H,qt);return Xt+=(Xe-h.strokeDashoffset+qt)*100/Xe,i.createElement("circle",{key:rr,className:"".concat(L,"-circle-path"),r:We,cx:je,cy:je,stroke:u,strokeWidth:H,opacity:1,style:h,ref:function(m){xt[rr]=m}})})};return i.createElement("svg",(0,Ce.Z)({className:ie()("".concat(L,"-circle"),Le),viewBox:"0 0 ".concat(E," ").concat(E),style:Ue,id:O,role:"presentation"},le),!me&&i.createElement("circle",{className:"".concat(L,"-circle-trail"),r:We,cx:je,cy:je,stroke:he,strokeLinecap:It,strokeWidth:z||H,style:er}),me?vt():wt())},D=R,B={Line:t,Circle:D},se=p(24655),de=p(62509);function De(o){return!o||o<0?0:o>100?100:o}function x({success:o,successPercent:d}){let v=d;return o&&"progress"in o&&(v=o.progress),o&&"percent"in o&&(v=o.percent),v}const P=({percent:o,success:d,successPercent:v})=>{const O=De(x({success:d,successPercent:v}));return[O,De(De(o)-O)]},A=({success:o={},strokeColor:d})=>{const{strokeColor:v}=o;return[v||de.ez.green,d||null]},j=(o,d,v)=>{var O,L,k,H;let z=-1,T=-1;if(d==="step"){const ge=v.steps,ae=v.strokeWidth;typeof o=="string"||typeof o=="undefined"?(z=o==="small"?2:14,T=ae!=null?ae:8):typeof o=="number"?[z,T]=[o,o]:[z=14,T=8]=Array.isArray(o)?o:[o.width,o.height],z*=ge}else if(d==="line"){const ge=v==null?void 0:v.strokeWidth;typeof o=="string"||typeof o=="undefined"?T=ge||(o==="small"?6:8):typeof o=="number"?[z,T]=[o,o]:[z=-1,T=8]=Array.isArray(o)?o:[o.width,o.height]}else(d==="circle"||d==="dashboard")&&(typeof o=="string"||typeof o=="undefined"?[z,T]=o==="small"?[60,60]:[120,120]:typeof o=="number"?[z,T]=[o,o]:Array.isArray(o)&&(z=(L=(O=o[0])!==null&&O!==void 0?O:o[1])!==null&&L!==void 0?L:120,T=(H=(k=o[0])!==null&&k!==void 0?k:o[1])!==null&&H!==void 0?H:120));return[z,T]},V=3,Q=o=>V/o*100;var Ze=o=>{const{prefixCls:d,trailColor:v=null,strokeLinecap:O="round",gapPosition:L,gapDegree:k,width:H=120,type:z,children:T,success:ge,size:ae=H,steps:he}=o,[Pe,Ue]=j(ae,"circle");let{strokeWidth:Le}=o;Le===void 0&&(Le=Math.max(Q(Pe),6));const Ae={width:Pe,height:Ue,fontSize:Pe*.15+6},Je=i.useMemo(()=>{if(k||k===0)return k;if(z==="dashboard")return 75},[k,z]),le=P(o),je=L||z==="dashboard"&&"bottom"||void 0,dt=Object.prototype.toString.call(o.strokeColor)==="[object Object]",at=A({success:ge,strokeColor:o.strokeColor}),We=ie()(`${d}-inner`,{[`${d}-circle-gradient`]:dt}),He=i.createElement(D,{steps:he,percent:he?le[1]:le,strokeWidth:Le,trailWidth:Le,strokeColor:he?at[1]:at,strokeLinecap:O,trailColor:v,prefixCls:d,gapDegree:Je,gapPosition:je}),rt=Pe<=20,Xe=i.createElement("div",{className:We,style:Ae},He,!rt&&T);return rt?i.createElement(se.Z,{title:T},Xe):Xe},_e=p(89260),Ye=p(67083),gt=p(89348),mt=p(30509);const et="--progress-line-stroke-color",tt="--progress-percent",Re=o=>{const d=o?"100%":"-100%";return new _e.E4(`antProgress${o?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${d}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${d}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ze=o=>{const{componentCls:d,iconCls:v}=o;return{[d]:Object.assign(Object.assign({},(0,Ye.Wf)(o)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:o.fontSize},[`${d}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${d}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:o.remainingColor,borderRadius:o.lineBorderRadius},[`${d}-inner:not(${d}-circle-gradient)`]:{[`${d}-circle-path`]:{stroke:o.defaultColor}},[`${d}-success-bg, ${d}-bg`]:{position:"relative",background:o.defaultColor,borderRadius:o.lineBorderRadius,transition:`all ${o.motionDurationSlow} ${o.motionEaseInOutCirc}`},[`${d}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${d}-text`]:{width:"max-content",marginInlineStart:0,marginTop:o.marginXXS}},[`${d}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${et})`]},height:"100%",width:`calc(1 / var(${tt}) * 100%)`,display:"block"},[`&${d}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${d}-text-inner`]:{color:o.colorWhite,[`&${d}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${d}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:o.colorSuccess},[`${d}-text`]:{display:"inline-block",marginInlineStart:o.marginXS,color:o.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[v]:{fontSize:o.fontSize},[`&${d}-text-outer`]:{width:"max-content"},[`&${d}-text-outer${d}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:o.marginXS}},[`${d}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,_e.bf)(o.paddingXXS)}`,[`&${d}-text-start`]:{justifyContent:"start"},[`&${d}-text-end`]:{justifyContent:"end"}},[`&${d}-status-active`]:{[`${d}-bg::before`]:{position:"absolute",inset:0,backgroundColor:o.colorBgContainer,borderRadius:o.lineBorderRadius,opacity:0,animationName:Re(),animationDuration:o.progressActiveMotionDuration,animationTimingFunction:o.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${d}-rtl${d}-status-active`]:{[`${d}-bg::before`]:{animationName:Re(!0)}},[`&${d}-status-exception`]:{[`${d}-bg`]:{backgroundColor:o.colorError},[`${d}-text`]:{color:o.colorError}},[`&${d}-status-exception ${d}-inner:not(${d}-circle-gradient)`]:{[`${d}-circle-path`]:{stroke:o.colorError}},[`&${d}-status-success`]:{[`${d}-bg`]:{backgroundColor:o.colorSuccess},[`${d}-text`]:{color:o.colorSuccess}},[`&${d}-status-success ${d}-inner:not(${d}-circle-gradient)`]:{[`${d}-circle-path`]:{stroke:o.colorSuccess}}})}},$t=o=>{const{componentCls:d,iconCls:v}=o;return{[d]:{[`${d}-circle-trail`]:{stroke:o.remainingColor},[`&${d}-circle ${d}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${d}-circle ${d}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:o.circleTextColor,fontSize:o.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[v]:{fontSize:o.circleIconFontSize}},[`${d}-circle&-status-exception`]:{[`${d}-text`]:{color:o.colorError}},[`${d}-circle&-status-success`]:{[`${d}-text`]:{color:o.colorSuccess}}},[`${d}-inline-circle`]:{lineHeight:1,[`${d}-inner`]:{verticalAlign:"bottom"}}}},Rt=o=>{const{componentCls:d}=o;return{[d]:{[`${d}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:o.progressStepMinWidth,marginInlineEnd:o.progressStepMarginInlineEnd,backgroundColor:o.remainingColor,transition:`all ${o.motionDurationSlow}`,"&-active":{backgroundColor:o.defaultColor}}}}}},Jt=o=>{const{componentCls:d,iconCls:v}=o;return{[d]:{[`${d}-small&-line, ${d}-small&-line ${d}-text ${v}`]:{fontSize:o.fontSizeSM}}}},Qt=o=>({circleTextColor:o.colorText,defaultColor:o.colorInfo,remainingColor:o.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${o.fontSize/o.fontSizeSM}em`});var jt=(0,gt.I$)("Progress",o=>{const d=o.calc(o.marginXXS).div(2).equal(),v=(0,mt.IX)(o,{progressStepMarginInlineEnd:d,progressStepMinWidth:d,progressActiveMotionDuration:"2.4s"});return[ze(v),$t(v),Rt(v),Jt(v)]},Qt),kt=function(o,d){var v={};for(var O in o)Object.prototype.hasOwnProperty.call(o,O)&&d.indexOf(O)<0&&(v[O]=o[O]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,O=Object.getOwnPropertySymbols(o);L<O.length;L++)d.indexOf(O[L])<0&&Object.prototype.propertyIsEnumerable.call(o,O[L])&&(v[O[L]]=o[O[L]]);return v};const Ut=o=>{let d=[];return Object.keys(o).forEach(v=>{const O=parseFloat(v.replace(/%/g,""));Number.isNaN(O)||d.push({key:O,value:o[v]})}),d=d.sort((v,O)=>v.key-O.key),d.map(({key:v,value:O})=>`${O} ${v}%`).join(", ")},St=(o,d)=>{const{from:v=de.ez.blue,to:O=de.ez.blue,direction:L=d==="rtl"?"to left":"to right"}=o,k=kt(o,["from","to","direction"]);if(Object.keys(k).length!==0){const z=Ut(k),T=`linear-gradient(${L}, ${z})`;return{background:T,[et]:T}}const H=`linear-gradient(${L}, ${v}, ${O})`;return{background:H,[et]:H}};var ut=o=>{const{prefixCls:d,direction:v,percent:O,size:L,strokeWidth:k,strokeColor:H,strokeLinecap:z="round",children:T,trailColor:ge=null,percentPosition:ae,success:he}=o,{align:Pe,type:Ue}=ae,Le=H&&typeof H!="string"?St(H,v):{[et]:H,background:H},Ae=z==="square"||z==="butt"?0:void 0,Je=L!=null?L:[-1,k||(L==="small"?6:8)],[le,je]=j(Je,"line",{strokeWidth:k}),dt={backgroundColor:ge||void 0,borderRadius:Ae},at=Object.assign(Object.assign({width:`${De(O)}%`,height:je,borderRadius:Ae},Le),{[tt]:De(O)/100}),We=x(o),He={width:`${De(We)}%`,height:je,borderRadius:Ae,backgroundColor:he==null?void 0:he.strokeColor},rt={width:le<0?"100%":le},Xe=i.createElement("div",{className:`${d}-inner`,style:dt},i.createElement("div",{className:ie()(`${d}-bg`,`${d}-bg-${Ue}`),style:at},Ue==="inner"&&T),We!==void 0&&i.createElement("div",{className:`${d}-success-bg`,style:He})),it=Ue==="outer"&&Pe==="start",me=Ue==="outer"&&Pe==="end";return Ue==="outer"&&Pe==="center"?i.createElement("div",{className:`${d}-layout-bottom`},Xe,T):i.createElement("div",{className:`${d}-outer`,style:rt},it&&T,Xe,me&&T)},Bt=o=>{const{size:d,steps:v,rounding:O=Math.round,percent:L=0,strokeWidth:k=8,strokeColor:H,trailColor:z=null,prefixCls:T,children:ge}=o,ae=O(v*(L/100)),he=d==="small"?2:14,Pe=d!=null?d:[he,k],[Ue,Le]=j(Pe,"step",{steps:v,strokeWidth:k}),Ae=Ue/v,Je=Array.from({length:v});for(let le=0;le<v;le++){const je=Array.isArray(H)?H[le]:H;Je[le]=i.createElement("div",{key:le,className:ie()(`${T}-steps-item`,{[`${T}-steps-item-active`]:le<=ae-1}),style:{backgroundColor:le<=ae-1?je:z,width:Ae,height:Le}})}return i.createElement("div",{className:`${T}-steps-outer`},Je,ge)},ht=function(o,d){var v={};for(var O in o)Object.prototype.hasOwnProperty.call(o,O)&&d.indexOf(O)<0&&(v[O]=o[O]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,O=Object.getOwnPropertySymbols(o);L<O.length;L++)d.indexOf(O[L])<0&&Object.prototype.propertyIsEnumerable.call(o,O[L])&&(v[O[L]]=o[O[L]]);return v};const Ke=null,Ft=["normal","exception","active","success"];var pr=i.forwardRef((o,d)=>{const{prefixCls:v,className:O,rootClassName:L,steps:k,strokeColor:H,percent:z=0,size:T="default",showInfo:ge=!0,type:ae="line",status:he,format:Pe,style:Ue,percentPosition:Le={}}=o,Ae=ht(o,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Je="end",type:le="outer"}=Le,je=Array.isArray(H)?H[0]:H,dt=typeof H=="string"||Array.isArray(H)?H:void 0,at=i.useMemo(()=>{if(je){const wt=typeof je=="string"?je:Object.values(je)[0];return new $e.t(wt).isLight()}return!1},[H]),We=i.useMemo(()=>{var wt,vt;const ft=x(o);return parseInt(ft!==void 0?(wt=ft!=null?ft:0)===null||wt===void 0?void 0:wt.toString():(vt=z!=null?z:0)===null||vt===void 0?void 0:vt.toString(),10)},[z,o.success,o.successPercent]),He=i.useMemo(()=>!Ft.includes(he)&&We>=100?"success":he||"normal",[he,We]),{getPrefixCls:rt,direction:Xe,progress:it}=i.useContext(Ee.E_),me=rt("progress",v),[qt,_t,Lt]=jt(me),At=ae==="line",zt=At&&!k,It=i.useMemo(()=>{if(!ge)return null;const wt=x(o);let vt;const ft=Pe||(Ht=>`${Ht}%`),Wt=At&&at&&le==="inner";return le==="inner"||Pe||He!=="exception"&&He!=="success"?vt=ft(De(z),De(wt)):He==="exception"?vt=At?i.createElement(K.Z,null):i.createElement(W.Z,null):He==="success"&&(vt=At?i.createElement(G.Z,null):i.createElement(Me.Z,null)),i.createElement("span",{className:ie()(`${me}-text`,{[`${me}-text-bright`]:Wt,[`${me}-text-${Je}`]:zt,[`${me}-text-${le}`]:zt}),title:typeof vt=="string"?vt:void 0},vt)},[ge,z,We,He,ae,me,Pe]);let er;ae==="line"?er=k?i.createElement(Bt,Object.assign({},o,{strokeColor:dt,prefixCls:me,steps:typeof k=="object"?k.count:k}),It):i.createElement(ut,Object.assign({},o,{strokeColor:je,prefixCls:me,direction:Xe,percentPosition:{align:Je,type:le}}),It):(ae==="circle"||ae==="dashboard")&&(er=i.createElement(Ze,Object.assign({},o,{strokeColor:je,prefixCls:me,progressStatus:He}),It));const xt=ie()(me,`${me}-status-${He}`,{[`${me}-${ae==="dashboard"&&"circle"||ae}`]:ae!=="line",[`${me}-inline-circle`]:ae==="circle"&&j(T,"circle")[0]<=20,[`${me}-line`]:zt,[`${me}-line-align-${Je}`]:zt,[`${me}-line-position-${le}`]:zt,[`${me}-steps`]:k,[`${me}-show-info`]:ge,[`${me}-${T}`]:typeof T=="string",[`${me}-rtl`]:Xe==="rtl"},it==null?void 0:it.className,O,L,_t,Lt);return qt(i.createElement("div",Object.assign({ref:d,style:Object.assign(Object.assign({},it==null?void 0:it.style),Ue),className:xt,role:"progressbar","aria-valuenow":We,"aria-valuemin":0,"aria-valuemax":100},(0,re.Z)(Ae,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),er))}),gr=pr},97102:function(lt,Ge,p){"use strict";p.d(Ge,{Z:function(){return C}});var i=p(75271),$e=p(82187),G=p.n($e),Me=p(18051),K=p(61306),W=p(48803),Ne=p(48349),ie=p(84563),re=p(70436),Ee=p(89260),Ce=p(84432),I=p(67083),ne=p(30509),Se=p(89348);const J=f=>{const{paddingXXS:S,lineWidth:R,tagPaddingHorizontal:D,componentCls:B,calc:se}=f,de=se(D).sub(R).equal(),De=se(S).sub(R).equal();return{[B]:Object.assign(Object.assign({},(0,I.Wf)(f)),{display:"inline-block",height:"auto",marginInlineEnd:f.marginXS,paddingInline:de,fontSize:f.tagFontSize,lineHeight:f.tagLineHeight,whiteSpace:"nowrap",background:f.defaultBg,border:`${(0,Ee.bf)(f.lineWidth)} ${f.lineType} ${f.colorBorder}`,borderRadius:f.borderRadiusSM,opacity:1,transition:`all ${f.motionDurationMid}`,textAlign:"start",position:"relative",[`&${B}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:f.defaultColor},[`${B}-close-icon`]:{marginInlineStart:De,fontSize:f.tagIconSize,color:f.colorIcon,cursor:"pointer",transition:`all ${f.motionDurationMid}`,"&:hover":{color:f.colorTextHeading}},[`&${B}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${f.iconCls}-close, ${f.iconCls}-close:hover`]:{color:f.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${B}-checkable-checked):hover`]:{color:f.colorPrimary,backgroundColor:f.colorFillSecondary},"&:active, &-checked":{color:f.colorTextLightSolid},"&-checked":{backgroundColor:f.colorPrimary,"&:hover":{backgroundColor:f.colorPrimaryHover}},"&:active":{backgroundColor:f.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${f.iconCls} + span, > span + ${f.iconCls}`]:{marginInlineStart:de}}),[`${B}-borderless`]:{borderColor:"transparent",background:f.tagBorderlessBg}}},c=f=>{const{lineWidth:S,fontSizeIcon:R,calc:D}=f,B=f.fontSizeSM;return(0,ne.IX)(f,{tagFontSize:B,tagLineHeight:(0,Ee.bf)(D(f.lineHeightSM).mul(B).equal()),tagIconSize:D(R).sub(D(S).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:f.defaultBg})},s=f=>({defaultBg:new Ce.t(f.colorFillQuaternary).onBackground(f.colorBgContainer).toHexString(),defaultColor:f.colorText});var t=(0,Se.I$)("Tag",f=>{const S=c(f);return J(S)},s),e=function(f,S){var R={};for(var D in f)Object.prototype.hasOwnProperty.call(f,D)&&S.indexOf(D)<0&&(R[D]=f[D]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(f);B<D.length;B++)S.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(f,D[B])&&(R[D[B]]=f[D[B]]);return R},n=i.forwardRef((f,S)=>{const{prefixCls:R,style:D,className:B,checked:se,onChange:de,onClick:De}=f,x=e(f,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:P,tag:A}=i.useContext(re.E_),j=Ye=>{de==null||de(!se),De==null||De(Ye)},V=P("tag",R),[Q,Te,Ze]=t(V),_e=G()(V,`${V}-checkable`,{[`${V}-checkable-checked`]:se},A==null?void 0:A.className,B,Te,Ze);return Q(i.createElement("span",Object.assign({},x,{ref:S,style:Object.assign(Object.assign({},D),A==null?void 0:A.style),className:_e,onClick:j})))}),ve=p(45414);const oe=f=>(0,ve.Z)(f,(S,{textColor:R,lightBorderColor:D,lightColor:B,darkColor:se})=>({[`${f.componentCls}${f.componentCls}-${S}`]:{color:R,background:B,borderColor:D,"&-inverse":{color:f.colorTextLightSolid,background:se,borderColor:se},[`&${f.componentCls}-borderless`]:{borderColor:"transparent"}}}));var Y=(0,Se.bk)(["Tag","preset"],f=>{const S=c(f);return oe(S)},s);function ot(f){return typeof f!="string"?f:f.charAt(0).toUpperCase()+f.slice(1)}const ct=(f,S,R)=>{const D=ot(R);return{[`${f.componentCls}${f.componentCls}-${S}`]:{color:f[`color${R}`],background:f[`color${D}Bg`],borderColor:f[`color${D}Border`],[`&${f.componentCls}-borderless`]:{borderColor:"transparent"}}}};var U=(0,Se.bk)(["Tag","status"],f=>{const S=c(f);return[ct(S,"success","Success"),ct(S,"processing","Info"),ct(S,"error","Error"),ct(S,"warning","Warning")]},s),w=function(f,S){var R={};for(var D in f)Object.prototype.hasOwnProperty.call(f,D)&&S.indexOf(D)<0&&(R[D]=f[D]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(f);B<D.length;B++)S.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(f,D[B])&&(R[D[B]]=f[D[B]]);return R};const E=i.forwardRef((f,S)=>{const{prefixCls:R,className:D,rootClassName:B,style:se,children:de,icon:De,color:x,onClose:P,bordered:A=!0,visible:j}=f,V=w(f,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Q,direction:Te,tag:Ze}=i.useContext(re.E_),[_e,Ye]=i.useState(!0),gt=(0,Me.Z)(V,["closeIcon","closable"]);i.useEffect(()=>{j!==void 0&&Ye(j)},[j]);const mt=(0,K.o2)(x),et=(0,K.yT)(x),tt=mt||et,Re=Object.assign(Object.assign({backgroundColor:x&&!tt?x:void 0},Ze==null?void 0:Ze.style),se),ze=Q("tag",R),[$t,Rt,Jt]=t(ze),Qt=G()(ze,Ze==null?void 0:Ze.className,{[`${ze}-${x}`]:tt,[`${ze}-has-color`]:x&&!tt,[`${ze}-hidden`]:!_e,[`${ze}-rtl`]:Te==="rtl",[`${ze}-borderless`]:!A},D,B,Rt,Jt),jt=Ct=>{Ct.stopPropagation(),P==null||P(Ct),!Ct.defaultPrevented&&Ye(!1)},[,kt]=(0,W.Z)((0,W.w)(f),(0,W.w)(Ze),{closable:!1,closeIconRender:Ct=>{const Bt=i.createElement("span",{className:`${ze}-close-icon`,onClick:jt},Ct);return(0,Ne.wm)(Ct,Bt,ht=>({onClick:Ke=>{var Ft;(Ft=ht==null?void 0:ht.onClick)===null||Ft===void 0||Ft.call(ht,Ke),jt(Ke)},className:G()(ht==null?void 0:ht.className,`${ze}-close-icon`)}))}}),Ut=typeof V.onClick=="function"||de&&de.type==="a",St=De||null,cr=St?i.createElement(i.Fragment,null,St,de&&i.createElement("span",null,de)):de,ut=i.createElement("span",Object.assign({},gt,{ref:S,className:Qt,style:Re}),cr,kt,mt&&i.createElement(Y,{key:"preset",prefixCls:ze}),et&&i.createElement(U,{key:"status",prefixCls:ze}));return $t(Ut?i.createElement(ie.Z,{component:"Tag"},ut):ut)});E.CheckableTag=n;var C=E},91663:function(lt,Ge,p){"use strict";p.d(Ge,{Z:function(){return rr}});var i=p(75271),$e=p(49744),G=p(30967),Me=p(82187),K=p.n(Me),W=p(66283),Ne=p(47519),ie=p(59694),re=p(32551),Ee=p(66217),Ce=p(55928),I=p(781),ne=p(28037),Se=p(79843),J=p(19505),c=p(39452),s=p(69578),t=p(71305),e=p(4449),a=function(r,u){if(r&&u){var h=Array.isArray(u)?u:u.split(","),g=r.name||"",m=r.type||"",l=m.replace(/\/.*$/,"");return h.some(function(b){var y=b.trim();if(/^\*(\/\*)?$/.test(b))return!0;if(y.charAt(0)==="."){var M=g.toLowerCase(),Z=y.toLowerCase(),F=[Z];return(Z===".jpg"||Z===".jpeg")&&(F=[".jpg",".jpeg"]),F.some(function(X){return M.endsWith(X)})}return/\/\*$/.test(y)?l===y.replace(/\/.*$/,""):m===y?!0:/^\w+$/.test(y)?((0,e.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(y,"'.Skip for check.")),!0):!1})}return!0};function n(r,u){var h="cannot ".concat(r.method," ").concat(r.action," ").concat(u.status,"'"),g=new Error(h);return g.status=u.status,g.method=r.method,g.url=r.action,g}function ve(r){var u=r.responseText||r.response;if(!u)return u;try{return JSON.parse(u)}catch(h){return u}}function oe(r){var u=new XMLHttpRequest;r.onProgress&&u.upload&&(u.upload.onprogress=function(l){l.total>0&&(l.percent=l.loaded/l.total*100),r.onProgress(l)});var h=new FormData;r.data&&Object.keys(r.data).forEach(function(m){var l=r.data[m];if(Array.isArray(l)){l.forEach(function(b){h.append("".concat(m,"[]"),b)});return}h.append(m,l)}),r.file instanceof Blob?h.append(r.filename,r.file,r.file.name):h.append(r.filename,r.file),u.onerror=function(l){r.onError(l)},u.onload=function(){return u.status<200||u.status>=300?r.onError(n(r,u),ve(u)):r.onSuccess(ve(u),u)},u.open(r.method,r.action,!0),r.withCredentials&&"withCredentials"in u&&(u.withCredentials=!0);var g=r.headers||{};return g["X-Requested-With"]!==null&&u.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(g).forEach(function(m){g[m]!==null&&u.setRequestHeader(m,g[m])}),u.send(h),{abort:function(){u.abort()}}}var Y=function(){var r=(0,s.Z)((0,c.Z)().mark(function u(h,g){var m,l,b,y,M,Z,F,X;return(0,c.Z)().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:Z=function(){return Z=(0,s.Z)((0,c.Z)().mark(function Ie(ce){return(0,c.Z)().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",new Promise(function(ue){ce.file(function(fe){g(fe)?(ce.fullPath&&!fe.webkitRelativePath&&(Object.defineProperties(fe,{webkitRelativePath:{writable:!0}}),fe.webkitRelativePath=ce.fullPath.replace(/^\//,""),Object.defineProperties(fe,{webkitRelativePath:{writable:!1}})),ue(fe)):ue(null)})}));case 1:case"end":return ye.stop()}},Ie)})),Z.apply(this,arguments)},M=function(Ie){return Z.apply(this,arguments)},y=function(){return y=(0,s.Z)((0,c.Z)().mark(function Ie(ce){var xe,ye,ue,fe,N;return(0,c.Z)().wrap(function(be){for(;;)switch(be.prev=be.next){case 0:xe=ce.createReader(),ye=[];case 2:return be.next=5,new Promise(function(yt){xe.readEntries(yt,function(){return yt([])})});case 5:if(ue=be.sent,fe=ue.length,fe){be.next=9;break}return be.abrupt("break",12);case 9:for(N=0;N<fe;N++)ye.push(ue[N]);be.next=2;break;case 12:return be.abrupt("return",ye);case 13:case"end":return be.stop()}},Ie)})),y.apply(this,arguments)},b=function(Ie){return y.apply(this,arguments)},m=[],l=[],h.forEach(function(we){return l.push(we.webkitGetAsEntry())}),F=function(){var we=(0,s.Z)((0,c.Z)().mark(function Ie(ce,xe){var ye,ue;return(0,c.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(ce){N.next=2;break}return N.abrupt("return");case 2:if(ce.path=xe||"",!ce.isFile){N.next=10;break}return N.next=6,M(ce);case 6:ye=N.sent,ye&&m.push(ye),N.next=15;break;case 10:if(!ce.isDirectory){N.next=15;break}return N.next=13,b(ce);case 13:ue=N.sent,l.push.apply(l,(0,$e.Z)(ue));case 15:case"end":return N.stop()}},Ie)}));return function(ce,xe){return we.apply(this,arguments)}}(),X=0;case 9:if(!(X<l.length)){ee.next=15;break}return ee.next=12,F(l[X]);case 12:X++,ee.next=9;break;case 15:return ee.abrupt("return",m);case 16:case"end":return ee.stop()}},u)}));return function(h,g){return r.apply(this,arguments)}}(),ot=Y,ct=+new Date,U=0;function w(){return"rc-upload-".concat(ct,"-").concat(++U)}var $=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],E=function(r){(0,Ee.Z)(h,r);var u=(0,Ce.Z)(h);function h(){var g;(0,Ne.Z)(this,h);for(var m=arguments.length,l=new Array(m),b=0;b<m;b++)l[b]=arguments[b];return g=u.call.apply(u,[this].concat(l)),(0,I.Z)((0,re.Z)(g),"state",{uid:w()}),(0,I.Z)((0,re.Z)(g),"reqs",{}),(0,I.Z)((0,re.Z)(g),"fileInput",void 0),(0,I.Z)((0,re.Z)(g),"_isMounted",void 0),(0,I.Z)((0,re.Z)(g),"onChange",function(y){var M=g.props,Z=M.accept,F=M.directory,X=y.target.files,q=(0,$e.Z)(X).filter(function(ee){return!F||a(ee,Z)});g.uploadFiles(q),g.reset()}),(0,I.Z)((0,re.Z)(g),"onClick",function(y){var M=g.fileInput;if(M){var Z=y.target,F=g.props.onClick;if(Z&&Z.tagName==="BUTTON"){var X=M.parentNode;X.focus(),Z.blur()}M.click(),F&&F(y)}}),(0,I.Z)((0,re.Z)(g),"onKeyDown",function(y){y.key==="Enter"&&g.onClick(y)}),(0,I.Z)((0,re.Z)(g),"onDataTransferFiles",function(){var y=(0,s.Z)((0,c.Z)().mark(function M(Z,F){var X,q,ee,we,Ie,ce,xe;return(0,c.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(X=g.props,q=X.multiple,ee=X.accept,we=X.directory,Ie=(0,$e.Z)(Z.items||[]),ce=(0,$e.Z)(Z.files||[]),(ce.length>0||Ie.some(function(fe){return fe.kind==="file"}))&&(F==null||F()),!we){ue.next=11;break}return ue.next=7,ot(Array.prototype.slice.call(Ie),function(fe){return a(fe,g.props.accept)});case 7:ce=ue.sent,g.uploadFiles(ce),ue.next=14;break;case 11:xe=(0,$e.Z)(ce).filter(function(fe){return a(fe,ee)}),q===!1&&(xe=ce.slice(0,1)),g.uploadFiles(xe);case 14:case"end":return ue.stop()}},M)}));return function(M,Z){return y.apply(this,arguments)}}()),(0,I.Z)((0,re.Z)(g),"onFilePaste",function(){var y=(0,s.Z)((0,c.Z)().mark(function M(Z){var F,X;return(0,c.Z)().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(F=g.props.pastable,F){ee.next=3;break}return ee.abrupt("return");case 3:if(Z.type!=="paste"){ee.next=6;break}return X=Z.clipboardData,ee.abrupt("return",g.onDataTransferFiles(X,function(){Z.preventDefault()}));case 6:case"end":return ee.stop()}},M)}));return function(M){return y.apply(this,arguments)}}()),(0,I.Z)((0,re.Z)(g),"onFileDragOver",function(y){y.preventDefault()}),(0,I.Z)((0,re.Z)(g),"onFileDrop",function(){var y=(0,s.Z)((0,c.Z)().mark(function M(Z){var F;return(0,c.Z)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(Z.preventDefault(),Z.type!=="drop"){q.next=4;break}return F=Z.dataTransfer,q.abrupt("return",g.onDataTransferFiles(F));case 4:case"end":return q.stop()}},M)}));return function(M){return y.apply(this,arguments)}}()),(0,I.Z)((0,re.Z)(g),"uploadFiles",function(y){var M=(0,$e.Z)(y),Z=M.map(function(F){return F.uid=w(),g.processFile(F,M)});Promise.all(Z).then(function(F){var X=g.props.onBatchStart;X==null||X(F.map(function(q){var ee=q.origin,we=q.parsedFile;return{file:ee,parsedFile:we}})),F.filter(function(q){return q.parsedFile!==null}).forEach(function(q){g.post(q)})})}),(0,I.Z)((0,re.Z)(g),"processFile",function(){var y=(0,s.Z)((0,c.Z)().mark(function M(Z,F){var X,q,ee,we,Ie,ce,xe,ye,ue;return(0,c.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(X=g.props.beforeUpload,q=Z,!X){N.next=14;break}return N.prev=3,N.next=6,X(Z,F);case 6:q=N.sent,N.next=12;break;case 9:N.prev=9,N.t0=N.catch(3),q=!1;case 12:if(q!==!1){N.next=14;break}return N.abrupt("return",{origin:Z,parsedFile:null,action:null,data:null});case 14:if(ee=g.props.action,typeof ee!="function"){N.next=21;break}return N.next=18,ee(Z);case 18:we=N.sent,N.next=22;break;case 21:we=ee;case 22:if(Ie=g.props.data,typeof Ie!="function"){N.next=29;break}return N.next=26,Ie(Z);case 26:ce=N.sent,N.next=30;break;case 29:ce=Ie;case 30:return xe=((0,J.Z)(q)==="object"||typeof q=="string")&&q?q:Z,xe instanceof File?ye=xe:ye=new File([xe],Z.name,{type:Z.type}),ue=ye,ue.uid=Z.uid,N.abrupt("return",{origin:Z,data:ce,parsedFile:ue,action:we});case 35:case"end":return N.stop()}},M,null,[[3,9]])}));return function(M,Z){return y.apply(this,arguments)}}()),(0,I.Z)((0,re.Z)(g),"saveFileInput",function(y){g.fileInput=y}),g}return(0,ie.Z)(h,[{key:"componentDidMount",value:function(){this._isMounted=!0;var m=this.props.pastable;m&&document.addEventListener("paste",this.onFilePaste)}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort(),document.removeEventListener("paste",this.onFilePaste)}},{key:"componentDidUpdate",value:function(m){var l=this.props.pastable;l&&!m.pastable?document.addEventListener("paste",this.onFilePaste):!l&&m.pastable&&document.removeEventListener("paste",this.onFilePaste)}},{key:"post",value:function(m){var l=this,b=m.data,y=m.origin,M=m.action,Z=m.parsedFile;if(this._isMounted){var F=this.props,X=F.onStart,q=F.customRequest,ee=F.name,we=F.headers,Ie=F.withCredentials,ce=F.method,xe=y.uid,ye=q||oe,ue={action:M,filename:ee,data:b,file:Z,headers:we,withCredentials:Ie,method:ce||"post",onProgress:function(N){var nt=l.props.onProgress;nt==null||nt(N,Z)},onSuccess:function(N,nt){var be=l.props.onSuccess;be==null||be(N,Z,nt),delete l.reqs[xe]},onError:function(N,nt){var be=l.props.onError;be==null||be(N,nt,Z),delete l.reqs[xe]}};X(y),this.reqs[xe]=ye(ue)}}},{key:"reset",value:function(){this.setState({uid:w()})}},{key:"abort",value:function(m){var l=this.reqs;if(m){var b=m.uid?m.uid:m;l[b]&&l[b].abort&&l[b].abort(),delete l[b]}else Object.keys(l).forEach(function(y){l[y]&&l[y].abort&&l[y].abort(),delete l[y]})}},{key:"render",value:function(){var m=this.props,l=m.component,b=m.prefixCls,y=m.className,M=m.classNames,Z=M===void 0?{}:M,F=m.disabled,X=m.id,q=m.name,ee=m.style,we=m.styles,Ie=we===void 0?{}:we,ce=m.multiple,xe=m.accept,ye=m.capture,ue=m.children,fe=m.directory,N=m.openFileDialogOnClick,nt=m.onMouseEnter,be=m.onMouseLeave,yt=m.hasControlInside,Ot=(0,Se.Z)(m,$),pt=K()((0,I.Z)((0,I.Z)((0,I.Z)({},b,!0),"".concat(b,"-disabled"),F),y,y)),Vt=fe?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Gt=F?{}:{onClick:N?this.onClick:function(){},onKeyDown:N?this.onKeyDown:function(){},onMouseEnter:nt,onMouseLeave:be,onDrop:this.onFileDrop,onDragOver:this.onFileDragOver,tabIndex:yt?void 0:"0"};return i.createElement(l,(0,W.Z)({},Gt,{className:pt,role:yt?void 0:"button",style:ee}),i.createElement("input",(0,W.Z)({},(0,t.Z)(Ot,{aria:!0,data:!0}),{id:X,name:q,disabled:F,type:"file",ref:this.saveFileInput,onClick:function(Mt){return Mt.stopPropagation()},key:this.state.uid,style:(0,ne.Z)({display:"none"},Ie.input),className:Z.input,accept:xe},Vt,{multiple:ce,onChange:this.onChange},ye!=null?{capture:ye}:{})),ue)}}]),h}(i.Component),C=E;function f(){}var S=function(r){(0,Ee.Z)(h,r);var u=(0,Ce.Z)(h);function h(){var g;(0,Ne.Z)(this,h);for(var m=arguments.length,l=new Array(m),b=0;b<m;b++)l[b]=arguments[b];return g=u.call.apply(u,[this].concat(l)),(0,I.Z)((0,re.Z)(g),"uploader",void 0),(0,I.Z)((0,re.Z)(g),"saveUploader",function(y){g.uploader=y}),g}return(0,ie.Z)(h,[{key:"abort",value:function(m){this.uploader.abort(m)}},{key:"render",value:function(){return i.createElement(C,(0,W.Z)({},this.props,{ref:this.saveUploader}))}}]),h}(i.Component);(0,I.Z)(S,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:f,onError:f,onSuccess:f,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var R=S,D=R,B=p(93954),se=p(70436),de=p(57365),De=p(76212),x=p(39926),P=p(67083),A=p(94174),j=p(89348),V=p(30509),Q=p(89260),Ze=r=>{const{componentCls:u,iconCls:h}=r;return{[`${u}-wrapper`]:{[`${u}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:r.colorFillAlter,border:`${(0,Q.bf)(r.lineWidth)} dashed ${r.colorBorder}`,borderRadius:r.borderRadiusLG,cursor:"pointer",transition:`border-color ${r.motionDurationSlow}`,[u]:{padding:r.padding},[`${u}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:r.borderRadiusLG,"&:focus-visible":{outline:`${(0,Q.bf)(r.lineWidthFocus)} solid ${r.colorPrimaryBorder}`}},[`${u}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
&:not(${u}-disabled):hover,
&-hover:not(${u}-disabled)
`]:{borderColor:r.colorPrimaryHover},[`p${u}-drag-icon`]:{marginBottom:r.margin,[h]:{color:r.colorPrimary,fontSize:r.uploadThumbnailSize}},[`p${u}-text`]:{margin:`0 0 ${(0,Q.bf)(r.marginXXS)}`,color:r.colorTextHeading,fontSize:r.fontSizeLG},[`p${u}-hint`]:{color:r.colorTextDescription,fontSize:r.fontSize},[`&${u}-disabled`]:{[`p${u}-drag-icon ${h},
p${u}-text,
p${u}-hint
`]:{color:r.colorTextDisabled}}}}}},Ye=r=>{const{componentCls:u,iconCls:h,fontSize:g,lineHeight:m,calc:l}=r,b=`${u}-list-item`,y=`${b}-actions`,M=`${b}-action`;return{[`${u}-wrapper`]:{[`${u}-list`]:Object.assign(Object.assign({},(0,P.dF)()),{lineHeight:r.lineHeight,[b]:{position:"relative",height:l(r.lineHeight).mul(g).equal(),marginTop:r.marginXS,fontSize:g,display:"flex",alignItems:"center",transition:`background-color ${r.motionDurationSlow}`,borderRadius:r.borderRadiusSM,"&:hover":{backgroundColor:r.controlItemBgHover},[`${b}-name`]:Object.assign(Object.assign({},P.vS),{padding:`0 ${(0,Q.bf)(r.paddingXS)}`,lineHeight:m,flex:"auto",transition:`all ${r.motionDurationSlow}`}),[y]:{whiteSpace:"nowrap",[M]:{opacity:0},[h]:{color:r.actionsColor,transition:`all ${r.motionDurationSlow}`},[`
${M}:focus-visible,
&.picture ${M}
`]:{opacity:1}},[`${u}-icon ${h}`]:{color:r.colorIcon,fontSize:g},[`${b}-progress`]:{position:"absolute",bottom:r.calc(r.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:l(g).add(r.paddingXS).equal(),fontSize:g,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${b}:hover ${M}`]:{opacity:1},[`${b}-error`]:{color:r.colorError,[`${b}-name, ${u}-icon ${h}`]:{color:r.colorError},[y]:{[`${h}, ${h}:hover`]:{color:r.colorError},[M]:{opacity:1}}},[`${u}-list-item-container`]:{transition:`opacity ${r.motionDurationSlow}, height ${r.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},gt=p(59741),et=r=>{const{componentCls:u}=r,h=new Q.E4("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:r.calc(r.marginXS).div(-2).equal()}}),g=new Q.E4("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:r.calc(r.marginXS).div(-2).equal()}}),m=`${u}-animate-inline`;return[{[`${u}-wrapper`]:{[`${m}-appear, ${m}-enter, ${m}-leave`]:{animationDuration:r.motionDurationSlow,animationTimingFunction:r.motionEaseInOutCirc,animationFillMode:"forwards"},[`${m}-appear, ${m}-enter`]:{animationName:h},[`${m}-leave`]:{animationName:g}}},{[`${u}-wrapper`]:(0,gt.J$)(r)},h,g]},tt=p(62509);const Re=r=>{const{componentCls:u,iconCls:h,uploadThumbnailSize:g,uploadProgressOffset:m,calc:l}=r,b=`${u}-list`,y=`${b}-item`;return{[`${u}-wrapper`]:{[`
${b}${b}-picture,
${b}${b}-picture-card,
${b}${b}-picture-circle
`]:{[y]:{position:"relative",height:l(g).add(l(r.lineWidth).mul(2)).add(l(r.paddingXS).mul(2)).equal(),padding:r.paddingXS,border:`${(0,Q.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,borderRadius:r.borderRadiusLG,"&:hover":{background:"transparent"},[`${y}-thumbnail`]:Object.assign(Object.assign({},P.vS),{width:g,height:g,lineHeight:(0,Q.bf)(l(g).add(r.paddingSM).equal()),textAlign:"center",flex:"none",[h]:{fontSize:r.fontSizeHeading2,color:r.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${y}-progress`]:{bottom:m,width:`calc(100% - ${(0,Q.bf)(l(r.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:l(g).add(r.paddingXS).equal()}},[`${y}-error`]:{borderColor:r.colorError,[`${y}-thumbnail ${h}`]:{[`svg path[fill='${tt.iN[0]}']`]:{fill:r.colorErrorBg},[`svg path[fill='${tt.iN.primary}']`]:{fill:r.colorError}}},[`${y}-uploading`]:{borderStyle:"dashed",[`${y}-name`]:{marginBottom:m}}},[`${b}${b}-picture-circle ${y}`]:{[`&, &::before, ${y}-thumbnail`]:{borderRadius:"50%"}}}}},ze=r=>{const{componentCls:u,iconCls:h,fontSizeLG:g,colorTextLightSolid:m,calc:l}=r,b=`${u}-list`,y=`${b}-item`,M=r.uploadPicCardSize;return{[`
${u}-wrapper${u}-picture-card-wrapper,
${u}-wrapper${u}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,P.dF)()),{display:"block",[`${u}${u}-select`]:{width:M,height:M,textAlign:"center",verticalAlign:"top",backgroundColor:r.colorFillAlter,border:`${(0,Q.bf)(r.lineWidth)} dashed ${r.colorBorder}`,borderRadius:r.borderRadiusLG,cursor:"pointer",transition:`border-color ${r.motionDurationSlow}`,[`> ${u}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${u}-disabled):hover`]:{borderColor:r.colorPrimary}},[`${b}${b}-picture-card, ${b}${b}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:r.marginXS,marginInlineEnd:r.marginXS}},"@supports (gap: 1px)":{gap:r.marginXS},[`${b}-item-container`]:{display:"inline-block",width:M,height:M,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[y]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Q.bf)(l(r.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Q.bf)(l(r.paddingXS).mul(2).equal())})`,backgroundColor:r.colorBgMask,opacity:0,transition:`all ${r.motionDurationSlow}`,content:'" "'}},[`${y}:hover`]:{[`&::before, ${y}-actions`]:{opacity:1}},[`${y}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${r.motionDurationSlow}`,[`
${h}-eye,
${h}-download,
${h}-delete
`]:{zIndex:10,width:g,margin:`0 ${(0,Q.bf)(r.marginXXS)}`,fontSize:g,cursor:"pointer",transition:`all ${r.motionDurationSlow}`,color:m,"&:hover":{color:m},svg:{verticalAlign:"baseline"}}},[`${y}-thumbnail, ${y}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${y}-name`]:{display:"none",textAlign:"center"},[`${y}-file + ${y}-name`]:{position:"absolute",bottom:r.margin,display:"block",width:`calc(100% - ${(0,Q.bf)(l(r.paddingXS).mul(2).equal())})`},[`${y}-uploading`]:{[`&${y}`]:{backgroundColor:r.colorFillAlter},[`&::before, ${h}-eye, ${h}-download, ${h}-delete`]:{display:"none"}},[`${y}-progress`]:{bottom:r.marginXL,width:`calc(100% - ${(0,Q.bf)(l(r.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${u}-wrapper${u}-picture-circle-wrapper`]:{[`${u}${u}-select`]:{borderRadius:"50%"}}}};var Rt=r=>{const{componentCls:u}=r;return{[`${u}-rtl`]:{direction:"rtl"}}};const Jt=r=>{const{componentCls:u,colorTextDisabled:h}=r;return{[`${u}-wrapper`]:Object.assign(Object.assign({},(0,P.Wf)(r)),{[u]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${u}-select`]:{display:"inline-block"},[`${u}-hidden`]:{display:"none"},[`${u}-disabled`]:{color:h,cursor:"not-allowed"}})}},Qt=r=>({actionsColor:r.colorIcon});var jt=(0,j.I$)("Upload",r=>{const{fontSizeHeading3:u,fontHeight:h,lineWidth:g,controlHeightLG:m,calc:l}=r,b=(0,V.IX)(r,{uploadThumbnailSize:l(u).mul(2).equal(),uploadProgressOffset:l(l(h).div(2)).add(g).equal(),uploadPicCardSize:l(m).mul(2.55).equal()});return[Jt(b),Ze(b),Re(b),ze(b),Ye(b),et(b),Rt(b),(0,A.Z)(b)]},Qt),kt={icon:function(u,h){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:h}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:u}}]}},name:"file",theme:"twotone"},Ut=kt,St=p(60101),cr=function(u,h){return i.createElement(St.Z,(0,W.Z)({},u,{ref:h,icon:Ut}))},ut=i.forwardRef(cr),Ct=ut,Bt=p(28019),ht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Ke=ht,Ft=function(u,h){return i.createElement(St.Z,(0,W.Z)({},u,{ref:h,icon:Ke}))},vr=i.forwardRef(Ft),pr=vr,gr={icon:function(u,h){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:u}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:h}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:h}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:h}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:u}}]}},name:"picture",theme:"twotone"},o=gr,d=function(u,h){return i.createElement(St.Z,(0,W.Z)({},u,{ref:h,icon:o}))},v=i.forwardRef(d),O=v,L=p(62803),k=p(18051),H=p(41410),z=p(68819),T=p(48349),ge=p(74970);function ae(r){return Object.assign(Object.assign({},r),{lastModified:r.lastModified,lastModifiedDate:r.lastModifiedDate,name:r.name,size:r.size,type:r.type,uid:r.uid,percent:0,originFileObj:r})}function he(r,u){const h=(0,$e.Z)(u),g=h.findIndex(({uid:m})=>m===r.uid);return g===-1?h.push(r):h[g]=r,h}function Pe(r,u){const h=r.uid!==void 0?"uid":"name";return u.filter(g=>g[h]===r[h])[0]}function Ue(r,u){const h=r.uid!==void 0?"uid":"name",g=u.filter(m=>m[h]!==r[h]);return g.length===u.length?null:g}const Le=(r="")=>{const u=r.split("/"),g=u[u.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(g)||[""])[0]},Ae=r=>r.indexOf("image/")===0,Je=r=>{if(r.type&&!r.thumbUrl)return Ae(r.type);const u=r.thumbUrl||r.url||"",h=Le(u);return/^data:image\//.test(u)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(h)?!0:!(/^data:/.test(u)||h)},le=200;function je(r){return new Promise(u=>{if(!r.type||!Ae(r.type)){u("");return}const h=document.createElement("canvas");h.width=le,h.height=le,h.style.cssText=`position: fixed; left: 0; top: 0; width: ${le}px; height: ${le}px; z-index: 9999; display: none;`,document.body.appendChild(h);const g=h.getContext("2d"),m=new Image;if(m.onload=()=>{const{width:l,height:b}=m;let y=le,M=le,Z=0,F=0;l>b?(M=b*(le/l),F=-(M-y)/2):(y=l*(le/b),Z=-(y-M)/2),g.drawImage(m,Z,F,y,M);const X=h.toDataURL();document.body.removeChild(h),window.URL.revokeObjectURL(m.src),u(X)},m.crossOrigin="anonymous",r.type.startsWith("image/svg+xml")){const l=new FileReader;l.onload=()=>{l.result&&typeof l.result=="string"&&(m.src=l.result)},l.readAsDataURL(r)}else if(r.type.startsWith("image/gif")){const l=new FileReader;l.onload=()=>{l.result&&u(l.result)},l.readAsDataURL(r)}else m.src=window.URL.createObjectURL(r)})}var dt=p(10770),at={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},We=at,He=function(u,h){return i.createElement(St.Z,(0,W.Z)({},u,{ref:h,icon:We}))},rt=i.forwardRef(He),Xe=rt,it=p(21317),me=p(96021),qt=p(24655),Lt=i.forwardRef(({prefixCls:r,className:u,style:h,locale:g,listType:m,file:l,items:b,progress:y,iconRender:M,actionIconRender:Z,itemRender:F,isImgUrl:X,showPreviewIcon:q,showRemoveIcon:ee,showDownloadIcon:we,previewIcon:Ie,removeIcon:ce,downloadIcon:xe,extra:ye,onPreview:ue,onDownload:fe,onClose:N},nt)=>{var be,yt;const{status:Ot}=l,[pt,Vt]=i.useState(Ot);i.useEffect(()=>{Ot!=="removed"&&Vt(Ot)},[Ot]);const[Gt,nr]=i.useState(!1);i.useEffect(()=>{const qe=setTimeout(()=>{nr(!0)},300);return()=>{clearTimeout(qe)}},[]);const Mt=M(l);let or=i.createElement("div",{className:`${r}-icon`},Mt);if(m==="picture"||m==="picture-card"||m==="picture-circle")if(pt==="uploading"||!l.thumbUrl&&!l.url){const qe=K()(`${r}-list-item-thumbnail`,{[`${r}-list-item-file`]:pt!=="uploading"});or=i.createElement("div",{className:qe},Mt)}else{const qe=X!=null&&X(l)?i.createElement("img",{src:l.thumbUrl||l.url,alt:l.name,className:`${r}-list-item-image`,crossOrigin:l.crossOrigin}):Mt,Zt=K()(`${r}-list-item-thumbnail`,{[`${r}-list-item-file`]:X&&!X(l)});or=i.createElement("a",{className:Zt,onClick:Ve=>ue(l,Ve),href:l.url||l.thumbUrl,target:"_blank",rel:"noopener noreferrer"},qe)}const Et=K()(`${r}-list-item`,`${r}-list-item-${pt}`),Qe=typeof l.linkProps=="string"?JSON.parse(l.linkProps):l.linkProps,Nt=(typeof ee=="function"?ee(l):ee)?Z((typeof ce=="function"?ce(l):ce)||i.createElement(dt.Z,null),()=>N(l),r,g.removeFile,!0):null,ar=(typeof we=="function"?we(l):we)&&pt==="done"?Z((typeof xe=="function"?xe(l):xe)||i.createElement(Xe,null),()=>fe(l),r,g.downloadFile):null,mr=m!=="picture-card"&&m!=="picture-circle"&&i.createElement("span",{key:"download-delete",className:K()(`${r}-list-item-actions`,{picture:m==="picture"})},ar,Nt),Tt=typeof ye=="function"?ye(l):ye,Dt=Tt&&i.createElement("span",{className:`${r}-list-item-extra`},Tt),_=K()(`${r}-list-item-name`),ke=l.url?i.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:_,title:l.name},Qe,{href:l.url,onClick:qe=>ue(l,qe)}),l.name,Dt):i.createElement("span",{key:"view",className:_,onClick:qe=>ue(l,qe),title:l.name},l.name,Dt),bt=(typeof q=="function"?q(l):q)&&(l.url||l.thumbUrl)?i.createElement("a",{href:l.url||l.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:qe=>ue(l,qe),title:g.previewFile},typeof Ie=="function"?Ie(l):Ie||i.createElement(it.Z,null)):null,Pt=(m==="picture-card"||m==="picture-circle")&&pt!=="uploading"&&i.createElement("span",{className:`${r}-list-item-actions`},bt,pt==="done"&&ar,Nt),{getPrefixCls:ur}=i.useContext(se.E_),ir=ur(),dr=i.createElement("div",{className:Et},or,ke,mr,Pt,Gt&&i.createElement(L.ZP,{motionName:`${ir}-fade`,visible:pt==="uploading",motionDeadline:2e3},({className:qe})=>{const Zt="percent"in l?i.createElement(me.Z,Object.assign({type:"line",percent:l.percent,"aria-label":l["aria-label"],"aria-labelledby":l["aria-labelledby"]},y)):null;return i.createElement("div",{className:K()(`${r}-list-item-progress`,qe)},Zt)})),Yt=l.response&&typeof l.response=="string"?l.response:((be=l.error)===null||be===void 0?void 0:be.statusText)||((yt=l.error)===null||yt===void 0?void 0:yt.message)||g.uploadError,Kt=pt==="error"?i.createElement(qt.Z,{title:Yt,getPopupContainer:qe=>qe.parentNode},dr):dr;return i.createElement("div",{className:K()(`${r}-list-item-container`,u),style:h,ref:nt},F?F(Kt,l,b,{download:fe.bind(null,l),preview:ue.bind(null,l),remove:N.bind(null,l)}):Kt)});const At=(r,u)=>{const{listType:h="text",previewFile:g=je,onPreview:m,onDownload:l,onRemove:b,locale:y,iconRender:M,isImageUrl:Z=Je,prefixCls:F,items:X=[],showPreviewIcon:q=!0,showRemoveIcon:ee=!0,showDownloadIcon:we=!1,removeIcon:Ie,previewIcon:ce,downloadIcon:xe,extra:ye,progress:ue={size:[-1,2],showInfo:!1},appendAction:fe,appendActionVisible:N=!0,itemRender:nt,disabled:be}=r,yt=(0,H.Z)(),[Ot,pt]=i.useState(!1),Vt=["picture-card","picture-circle"].includes(h);i.useEffect(()=>{h.startsWith("picture")&&(X||[]).forEach(_=>{!(_.originFileObj instanceof File||_.originFileObj instanceof Blob)||_.thumbUrl!==void 0||(_.thumbUrl="",g==null||g(_.originFileObj).then(ke=>{_.thumbUrl=ke||"",yt()}))})},[h,X,g]),i.useEffect(()=>{pt(!0)},[]);const Gt=(_,ke)=>{if(m)return ke==null||ke.preventDefault(),m(_)},nr=_=>{typeof l=="function"?l(_):_.url&&window.open(_.url)},Mt=_=>{b==null||b(_)},or=_=>{if(M)return M(_,h);const ke=_.status==="uploading";if(h.startsWith("picture")){const bt=h==="picture"?i.createElement(Bt.Z,null):y.uploading,Pt=Z!=null&&Z(_)?i.createElement(O,null):i.createElement(Ct,null);return ke?bt:Pt}return ke?i.createElement(Bt.Z,null):i.createElement(pr,null)},Et=(_,ke,bt,Pt,ur)=>{const ir={type:"text",size:"small",title:Pt,onClick:dr=>{var Yt,Kt;ke(),i.isValidElement(_)&&((Kt=(Yt=_.props).onClick)===null||Kt===void 0||Kt.call(Yt,dr))},className:`${bt}-list-item-action`,disabled:ur?be:!1};return i.isValidElement(_)?i.createElement(ge.ZP,Object.assign({},ir,{icon:(0,T.Tm)(_,Object.assign(Object.assign({},_.props),{onClick:()=>{}}))})):i.createElement(ge.ZP,Object.assign({},ir),i.createElement("span",null,_))};i.useImperativeHandle(u,()=>({handlePreview:Gt,handleDownload:nr}));const{getPrefixCls:Qe}=i.useContext(se.E_),Nt=Qe("upload",F),ar=Qe(),mr=K()(`${Nt}-list`,`${Nt}-list-${h}`),Tt=i.useMemo(()=>(0,k.Z)((0,z.Z)(ar),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[ar]),Dt=Object.assign(Object.assign({},Vt?{}:Tt),{motionDeadline:2e3,motionName:`${Nt}-${Vt?"animate-inline":"animate"}`,keys:(0,$e.Z)(X.map(_=>({key:_.uid,file:_}))),motionAppear:Ot});return i.createElement("div",{className:mr},i.createElement(L.V4,Object.assign({},Dt,{component:!1}),({key:_,file:ke,className:bt,style:Pt})=>i.createElement(Lt,{key:_,locale:y,prefixCls:Nt,className:bt,style:Pt,file:ke,items:X,progress:ue,listType:h,isImgUrl:Z,showPreviewIcon:q,showRemoveIcon:ee,showDownloadIcon:we,removeIcon:Ie,previewIcon:ce,downloadIcon:xe,extra:ye,iconRender:or,actionIconRender:Et,itemRender:nt,onPreview:Gt,onDownload:nr,onClose:Mt})),fe&&i.createElement(L.ZP,Object.assign({},Dt,{visible:N,forceRender:!0}),({className:_,style:ke})=>(0,T.Tm)(fe,bt=>({className:K()(bt.className,_),style:Object.assign(Object.assign(Object.assign({},ke),{pointerEvents:_?"none":void 0}),bt.style)}))))};var It=i.forwardRef(At),er=function(r,u,h,g){function m(l){return l instanceof h?l:new h(function(b){b(l)})}return new(h||(h=Promise))(function(l,b){function y(F){try{Z(g.next(F))}catch(X){b(X)}}function M(F){try{Z(g.throw(F))}catch(X){b(X)}}function Z(F){F.done?l(F.value):m(F.value).then(y,M)}Z((g=g.apply(r,u||[])).next())})};const xt=`__LIST_IGNORE_${Date.now()}__`,wt=(r,u)=>{const{fileList:h,defaultFileList:g,onRemove:m,showUploadList:l=!0,listType:b="text",onPreview:y,onDownload:M,onChange:Z,onDrop:F,previewFile:X,disabled:q,locale:ee,iconRender:we,isImageUrl:Ie,progress:ce,prefixCls:xe,className:ye,type:ue="select",children:fe,style:N,itemRender:nt,maxCount:be,data:yt={},multiple:Ot=!1,hasControlInside:pt=!0,action:Vt="",accept:Gt="",supportServerRender:nr=!0,rootClassName:Mt}=r,or=i.useContext(de.Z),Et=q!=null?q:or,[Qe,Nt]=(0,B.Z)(g||[],{value:h,postState:te=>te!=null?te:[]}),[ar,mr]=i.useState("drop"),Tt=i.useRef(null),Dt=i.useRef(null);i.useMemo(()=>{const te=Date.now();(h||[]).forEach((Oe,Be)=>{!Oe.uid&&!Object.isFrozen(Oe)&&(Oe.uid=`__AUTO__${te}_${Be}__`)})},[h]);const _=(te,Oe,Be)=>{let pe=(0,$e.Z)(Oe),Fe=!1;be===1?pe=pe.slice(-1):be&&(Fe=pe.length>be,pe=pe.slice(0,be)),(0,G.flushSync)(()=>{Nt(pe)});const st={file:te,fileList:pe};Be&&(st.event=Be),(!Fe||te.status==="removed"||pe.some(sr=>sr.uid===te.uid))&&(0,G.flushSync)(()=>{Z==null||Z(st)})},ke=(te,Oe)=>er(void 0,void 0,void 0,function*(){const{beforeUpload:Be,transformFile:pe}=r;let Fe=te;if(Be){const st=yield Be(te,Oe);if(st===!1)return!1;if(delete te[xt],st===xt)return Object.defineProperty(te,xt,{value:!0,configurable:!0}),!1;typeof st=="object"&&st&&(Fe=st)}return pe&&(Fe=yield pe(Fe)),Fe}),bt=te=>{const Oe=te.filter(Fe=>!Fe.file[xt]);if(!Oe.length)return;const Be=Oe.map(Fe=>ae(Fe.file));let pe=(0,$e.Z)(Qe);Be.forEach(Fe=>{pe=he(Fe,pe)}),Be.forEach((Fe,st)=>{let sr=Fe;if(Oe[st].parsedFile)Fe.status="uploading";else{const{originFileObj:fr}=Fe;let lr;try{lr=new File([fr],fr.name,{type:fr.type})}catch(Nr){lr=new Blob([fr],{type:fr.type}),lr.name=fr.name,lr.lastModifiedDate=new Date,lr.lastModified=new Date().getTime()}lr.uid=Fe.uid,sr=lr}_(sr,pe)})},Pt=(te,Oe,Be)=>{try{typeof te=="string"&&(te=JSON.parse(te))}catch(st){}if(!Pe(Oe,Qe))return;const pe=ae(Oe);pe.status="done",pe.percent=100,pe.response=te,pe.xhr=Be;const Fe=he(pe,Qe);_(pe,Fe)},ur=(te,Oe)=>{if(!Pe(Oe,Qe))return;const Be=ae(Oe);Be.status="uploading",Be.percent=te.percent;const pe=he(Be,Qe);_(Be,pe,te)},ir=(te,Oe,Be)=>{if(!Pe(Be,Qe))return;const pe=ae(Be);pe.error=te,pe.response=Oe,pe.status="error";const Fe=he(pe,Qe);_(pe,Fe)},dr=te=>{let Oe;Promise.resolve(typeof m=="function"?m(te):m).then(Be=>{var pe;if(Be===!1)return;const Fe=Ue(te,Qe);Fe&&(Oe=Object.assign(Object.assign({},te),{status:"removed"}),Qe==null||Qe.forEach(st=>{const sr=Oe.uid!==void 0?"uid":"name";st[sr]===Oe[sr]&&!Object.isFrozen(st)&&(st.status="removed")}),(pe=Tt.current)===null||pe===void 0||pe.abort(Oe),_(Oe,Fe))})},Yt=te=>{mr(te.type),te.type==="drop"&&(F==null||F(te))};i.useImperativeHandle(u,()=>({onBatchStart:bt,onSuccess:Pt,onProgress:ur,onError:ir,fileList:Qe,upload:Tt.current,nativeElement:Dt.current}));const{getPrefixCls:Kt,direction:qe,upload:Zt}=i.useContext(se.E_),Ve=Kt("upload",xe),hr=Object.assign(Object.assign({onBatchStart:bt,onError:ir,onProgress:ur,onSuccess:Pt},r),{data:yt,multiple:Ot,action:Vt,accept:Gt,supportServerRender:nr,prefixCls:Ve,disabled:Et,beforeUpload:ke,onChange:void 0,hasControlInside:pt});delete hr.className,delete hr.style,(!fe||Et)&&delete hr.id;const Cr=`${Ve}-wrapper`,[yr,Sr,Or]=jt(Ve,Cr),[Er]=(0,De.Z)("Upload",x.Z.Upload),{showRemoveIcon:wr,showPreviewIcon:Dr,showDownloadIcon:Pr,removeIcon:Zr,previewIcon:jr,downloadIcon:Fr,extra:Lr}=typeof l=="boolean"?{}:l,Ar=typeof wr=="undefined"?!Et:wr,br=(te,Oe)=>l?i.createElement(It,{prefixCls:Ve,listType:b,items:Qe,previewFile:X,onPreview:y,onDownload:M,onRemove:dr,showRemoveIcon:Ar,showPreviewIcon:Dr,showDownloadIcon:Pr,removeIcon:Zr,previewIcon:jr,downloadIcon:Fr,iconRender:we,extra:Lr,locale:Object.assign(Object.assign({},Er),ee),isImageUrl:Ie,progress:ce,appendAction:te,appendActionVisible:Oe,itemRender:nt,disabled:Et}):te,$r=K()(Cr,ye,Mt,Sr,Or,Zt==null?void 0:Zt.className,{[`${Ve}-rtl`]:qe==="rtl",[`${Ve}-picture-card-wrapper`]:b==="picture-card",[`${Ve}-picture-circle-wrapper`]:b==="picture-circle"}),Ir=Object.assign(Object.assign({},Zt==null?void 0:Zt.style),N);if(ue==="drag"){const te=K()(Sr,Ve,`${Ve}-drag`,{[`${Ve}-drag-uploading`]:Qe.some(Oe=>Oe.status==="uploading"),[`${Ve}-drag-hover`]:ar==="dragover",[`${Ve}-disabled`]:Et,[`${Ve}-rtl`]:qe==="rtl"});return yr(i.createElement("span",{className:$r,ref:Dt},i.createElement("div",{className:te,style:Ir,onDrop:Yt,onDragOver:Yt,onDragLeave:Yt},i.createElement(D,Object.assign({},hr,{ref:Tt,className:`${Ve}-btn`}),i.createElement("div",{className:`${Ve}-drag-container`},fe))),br()))}const Mr=K()(Ve,`${Ve}-select`,{[`${Ve}-disabled`]:Et,[`${Ve}-hidden`]:!fe}),xr=i.createElement("div",{className:Mr,style:Ir},i.createElement(D,Object.assign({},hr,{ref:Tt})));return yr(b==="picture-card"||b==="picture-circle"?i.createElement("span",{className:$r,ref:Dt},br(xr,!!fe)):i.createElement("span",{className:$r,ref:Dt},xr,br()))};var ft=i.forwardRef(wt),Wt=function(r,u){var h={};for(var g in r)Object.prototype.hasOwnProperty.call(r,g)&&u.indexOf(g)<0&&(h[g]=r[g]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(r);m<g.length;m++)u.indexOf(g[m])<0&&Object.prototype.propertyIsEnumerable.call(r,g[m])&&(h[g[m]]=r[g[m]]);return h},Xt=i.forwardRef((r,u)=>{var{style:h,height:g,hasControlInside:m=!1}=r,l=Wt(r,["style","height","hasControlInside"]);return i.createElement(ft,Object.assign({ref:u,hasControlInside:m},l,{type:"drag",style:Object.assign(Object.assign({},h),{height:g})}))});const tr=ft;tr.Dragger=Xt,tr.LIST_IGNORE=xt;var rr=tr},16483:function(lt){(function(Ge,p){lt.exports=p()})(this,function(){"use strict";var Ge=1e3,p=6e4,i=36e5,$e="millisecond",G="second",Me="minute",K="hour",W="day",Ne="week",ie="month",re="quarter",Ee="year",Ce="date",I="Invalid Date",ne=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Se=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,J={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(U){var w=["th","st","nd","rd"],$=U%100;return"["+U+(w[($-20)%10]||w[$]||w[0])+"]"}},c=function(U,w,$){var E=String(U);return!E||E.length>=w?U:""+Array(w+1-E.length).join($)+U},s={s:c,z:function(U){var w=-U.utcOffset(),$=Math.abs(w),E=Math.floor($/60),C=$%60;return(w<=0?"+":"-")+c(E,2,"0")+":"+c(C,2,"0")},m:function U(w,$){if(w.date()<$.date())return-U($,w);var E=12*($.year()-w.year())+($.month()-w.month()),C=w.clone().add(E,ie),f=$-C<0,S=w.clone().add(E+(f?-1:1),ie);return+(-(E+($-C)/(f?C-S:S-C))||0)},a:function(U){return U<0?Math.ceil(U)||0:Math.floor(U)},p:function(U){return{M:ie,y:Ee,w:Ne,d:W,D:Ce,h:K,m:Me,s:G,ms:$e,Q:re}[U]||String(U||"").toLowerCase().replace(/s$/,"")},u:function(U){return U===void 0}},t="en",e={};e[t]=J;var a="$isDayjsObject",n=function(U){return U instanceof ot||!(!U||!U[a])},ve=function U(w,$,E){var C;if(!w)return t;if(typeof w=="string"){var f=w.toLowerCase();e[f]&&(C=f),$&&(e[f]=$,C=f);var S=w.split("-");if(!C&&S.length>1)return U(S[0])}else{var R=w.name;e[R]=w,C=R}return!E&&C&&(t=C),C||!E&&t},oe=function(U,w){if(n(U))return U.clone();var $=typeof w=="object"?w:{};return $.date=U,$.args=arguments,new ot($)},Y=s;Y.l=ve,Y.i=n,Y.w=function(U,w){return oe(U,{locale:w.$L,utc:w.$u,x:w.$x,$offset:w.$offset})};var ot=function(){function U($){this.$L=ve($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[a]=!0}var w=U.prototype;return w.parse=function($){this.$d=function(E){var C=E.date,f=E.utc;if(C===null)return new Date(NaN);if(Y.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var S=C.match(ne);if(S){var R=S[2]-1||0,D=(S[7]||"0").substring(0,3);return f?new Date(Date.UTC(S[1],R,S[3]||1,S[4]||0,S[5]||0,S[6]||0,D)):new Date(S[1],R,S[3]||1,S[4]||0,S[5]||0,S[6]||0,D)}}return new Date(C)}($),this.init()},w.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},w.$utils=function(){return Y},w.isValid=function(){return this.$d.toString()!==I},w.isSame=function($,E){var C=oe($);return this.startOf(E)<=C&&C<=this.endOf(E)},w.isAfter=function($,E){return oe($)<this.startOf(E)},w.isBefore=function($,E){return this.endOf(E)<oe($)},w.$g=function($,E,C){return Y.u($)?this[E]:this.set(C,$)},w.unix=function(){return Math.floor(this.valueOf()/1e3)},w.valueOf=function(){return this.$d.getTime()},w.startOf=function($,E){var C=this,f=!!Y.u(E)||E,S=Y.p($),R=function(A,j){var V=Y.w(C.$u?Date.UTC(C.$y,j,A):new Date(C.$y,j,A),C);return f?V:V.endOf(W)},D=function(A,j){return Y.w(C.toDate()[A].apply(C.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(j)),C)},B=this.$W,se=this.$M,de=this.$D,De="set"+(this.$u?"UTC":"");switch(S){case Ee:return f?R(1,0):R(31,11);case ie:return f?R(1,se):R(0,se+1);case Ne:var x=this.$locale().weekStart||0,P=(B<x?B+7:B)-x;return R(f?de-P:de+(6-P),se);case W:case Ce:return D(De+"Hours",0);case K:return D(De+"Minutes",1);case Me:return D(De+"Seconds",2);case G:return D(De+"Milliseconds",3);default:return this.clone()}},w.endOf=function($){return this.startOf($,!1)},w.$set=function($,E){var C,f=Y.p($),S="set"+(this.$u?"UTC":""),R=(C={},C[W]=S+"Date",C[Ce]=S+"Date",C[ie]=S+"Month",C[Ee]=S+"FullYear",C[K]=S+"Hours",C[Me]=S+"Minutes",C[G]=S+"Seconds",C[$e]=S+"Milliseconds",C)[f],D=f===W?this.$D+(E-this.$W):E;if(f===ie||f===Ee){var B=this.clone().set(Ce,1);B.$d[R](D),B.init(),this.$d=B.set(Ce,Math.min(this.$D,B.daysInMonth())).$d}else R&&this.$d[R](D);return this.init(),this},w.set=function($,E){return this.clone().$set($,E)},w.get=function($){return this[Y.p($)]()},w.add=function($,E){var C,f=this;$=Number($);var S=Y.p(E),R=function(se){var de=oe(f);return Y.w(de.date(de.date()+Math.round(se*$)),f)};if(S===ie)return this.set(ie,this.$M+$);if(S===Ee)return this.set(Ee,this.$y+$);if(S===W)return R(1);if(S===Ne)return R(7);var D=(C={},C[Me]=p,C[K]=i,C[G]=Ge,C)[S]||1,B=this.$d.getTime()+$*D;return Y.w(B,this)},w.subtract=function($,E){return this.add(-1*$,E)},w.format=function($){var E=this,C=this.$locale();if(!this.isValid())return C.invalidDate||I;var f=$||"YYYY-MM-DDTHH:mm:ssZ",S=Y.z(this),R=this.$H,D=this.$m,B=this.$M,se=C.weekdays,de=C.months,De=C.meridiem,x=function(j,V,Q,Te){return j&&(j[V]||j(E,f))||Q[V].slice(0,Te)},P=function(j){return Y.s(R%12||12,j,"0")},A=De||function(j,V,Q){var Te=j<12?"AM":"PM";return Q?Te.toLowerCase():Te};return f.replace(Se,function(j,V){return V||function(Q){switch(Q){case"YY":return String(E.$y).slice(-2);case"YYYY":return Y.s(E.$y,4,"0");case"M":return B+1;case"MM":return Y.s(B+1,2,"0");case"MMM":return x(C.monthsShort,B,de,3);case"MMMM":return x(de,B);case"D":return E.$D;case"DD":return Y.s(E.$D,2,"0");case"d":return String(E.$W);case"dd":return x(C.weekdaysMin,E.$W,se,2);case"ddd":return x(C.weekdaysShort,E.$W,se,3);case"dddd":return se[E.$W];case"H":return String(R);case"HH":return Y.s(R,2,"0");case"h":return P(1);case"hh":return P(2);case"a":return A(R,D,!0);case"A":return A(R,D,!1);case"m":return String(D);case"mm":return Y.s(D,2,"0");case"s":return String(E.$s);case"ss":return Y.s(E.$s,2,"0");case"SSS":return Y.s(E.$ms,3,"0");case"Z":return S}return null}(j)||S.replace(":","")})},w.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},w.diff=function($,E,C){var f,S=this,R=Y.p(E),D=oe($),B=(D.utcOffset()-this.utcOffset())*p,se=this-D,de=function(){return Y.m(S,D)};switch(R){case Ee:f=de()/12;break;case ie:f=de();break;case re:f=de()/3;break;case Ne:f=(se-B)/6048e5;break;case W:f=(se-B)/864e5;break;case K:f=se/i;break;case Me:f=se/p;break;case G:f=se/Ge;break;default:f=se}return C?f:Y.a(f)},w.daysInMonth=function(){return this.endOf(ie).$D},w.$locale=function(){return e[this.$L]},w.locale=function($,E){if(!$)return this.$L;var C=this.clone(),f=ve($,E,!0);return f&&(C.$L=f),C},w.clone=function(){return Y.w(this.$d,this)},w.toDate=function(){return new Date(this.valueOf())},w.toJSON=function(){return this.isValid()?this.toISOString():null},w.toISOString=function(){return this.$d.toISOString()},w.toString=function(){return this.$d.toUTCString()},U}(),ct=ot.prototype;return oe.prototype=ct,[["$ms",$e],["$s",G],["$m",Me],["$H",K],["$W",W],["$M",ie],["$y",Ee],["$D",Ce]].forEach(function(U){ct[U[1]]=function(w){return this.$g(w,U[0],U[1])}}),oe.extend=function(U,w){return U.$i||(U(w,ot,oe),U.$i=!0),oe},oe.locale=ve,oe.isDayjs=n,oe.unix=function(U){return oe(1e3*U)},oe.en=e[t],oe.Ls=e,oe.p={},oe})},34847:function(lt){(function(Ge){if(1)lt.exports=Ge();else var p})(function(Ge){"use strict";var p=function(c,s){return c+s&4294967295},i=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function $e(c,s,t,e,a,n){return s=p(p(s,c),p(e,n)),p(s<<a|s>>>32-a,t)}function G(c,s){var t=c[0],e=c[1],a=c[2],n=c[3];t+=(e&a|~e&n)+s[0]-680876936|0,t=(t<<7|t>>>25)+e|0,n+=(t&e|~t&a)+s[1]-389564586|0,n=(n<<12|n>>>20)+t|0,a+=(n&t|~n&e)+s[2]+606105819|0,a=(a<<17|a>>>15)+n|0,e+=(a&n|~a&t)+s[3]-1044525330|0,e=(e<<22|e>>>10)+a|0,t+=(e&a|~e&n)+s[4]-176418897|0,t=(t<<7|t>>>25)+e|0,n+=(t&e|~t&a)+s[5]+1200080426|0,n=(n<<12|n>>>20)+t|0,a+=(n&t|~n&e)+s[6]-1473231341|0,a=(a<<17|a>>>15)+n|0,e+=(a&n|~a&t)+s[7]-45705983|0,e=(e<<22|e>>>10)+a|0,t+=(e&a|~e&n)+s[8]+1770035416|0,t=(t<<7|t>>>25)+e|0,n+=(t&e|~t&a)+s[9]-1958414417|0,n=(n<<12|n>>>20)+t|0,a+=(n&t|~n&e)+s[10]-42063|0,a=(a<<17|a>>>15)+n|0,e+=(a&n|~a&t)+s[11]-1990404162|0,e=(e<<22|e>>>10)+a|0,t+=(e&a|~e&n)+s[12]+1804603682|0,t=(t<<7|t>>>25)+e|0,n+=(t&e|~t&a)+s[13]-40341101|0,n=(n<<12|n>>>20)+t|0,a+=(n&t|~n&e)+s[14]-1502002290|0,a=(a<<17|a>>>15)+n|0,e+=(a&n|~a&t)+s[15]+1236535329|0,e=(e<<22|e>>>10)+a|0,t+=(e&n|a&~n)+s[1]-165796510|0,t=(t<<5|t>>>27)+e|0,n+=(t&a|e&~a)+s[6]-1069501632|0,n=(n<<9|n>>>23)+t|0,a+=(n&e|t&~e)+s[11]+643717713|0,a=(a<<14|a>>>18)+n|0,e+=(a&t|n&~t)+s[0]-373897302|0,e=(e<<20|e>>>12)+a|0,t+=(e&n|a&~n)+s[5]-701558691|0,t=(t<<5|t>>>27)+e|0,n+=(t&a|e&~a)+s[10]+38016083|0,n=(n<<9|n>>>23)+t|0,a+=(n&e|t&~e)+s[15]-660478335|0,a=(a<<14|a>>>18)+n|0,e+=(a&t|n&~t)+s[4]-405537848|0,e=(e<<20|e>>>12)+a|0,t+=(e&n|a&~n)+s[9]+568446438|0,t=(t<<5|t>>>27)+e|0,n+=(t&a|e&~a)+s[14]-1019803690|0,n=(n<<9|n>>>23)+t|0,a+=(n&e|t&~e)+s[3]-187363961|0,a=(a<<14|a>>>18)+n|0,e+=(a&t|n&~t)+s[8]+1163531501|0,e=(e<<20|e>>>12)+a|0,t+=(e&n|a&~n)+s[13]-1444681467|0,t=(t<<5|t>>>27)+e|0,n+=(t&a|e&~a)+s[2]-51403784|0,n=(n<<9|n>>>23)+t|0,a+=(n&e|t&~e)+s[7]+1735328473|0,a=(a<<14|a>>>18)+n|0,e+=(a&t|n&~t)+s[12]-1926607734|0,e=(e<<20|e>>>12)+a|0,t+=(e^a^n)+s[5]-378558|0,t=(t<<4|t>>>28)+e|0,n+=(t^e^a)+s[8]-2022574463|0,n=(n<<11|n>>>21)+t|0,a+=(n^t^e)+s[11]+1839030562|0,a=(a<<16|a>>>16)+n|0,e+=(a^n^t)+s[14]-35309556|0,e=(e<<23|e>>>9)+a|0,t+=(e^a^n)+s[1]-1530992060|0,t=(t<<4|t>>>28)+e|0,n+=(t^e^a)+s[4]+1272893353|0,n=(n<<11|n>>>21)+t|0,a+=(n^t^e)+s[7]-155497632|0,a=(a<<16|a>>>16)+n|0,e+=(a^n^t)+s[10]-1094730640|0,e=(e<<23|e>>>9)+a|0,t+=(e^a^n)+s[13]+681279174|0,t=(t<<4|t>>>28)+e|0,n+=(t^e^a)+s[0]-358537222|0,n=(n<<11|n>>>21)+t|0,a+=(n^t^e)+s[3]-722521979|0,a=(a<<16|a>>>16)+n|0,e+=(a^n^t)+s[6]+76029189|0,e=(e<<23|e>>>9)+a|0,t+=(e^a^n)+s[9]-640364487|0,t=(t<<4|t>>>28)+e|0,n+=(t^e^a)+s[12]-421815835|0,n=(n<<11|n>>>21)+t|0,a+=(n^t^e)+s[15]+530742520|0,a=(a<<16|a>>>16)+n|0,e+=(a^n^t)+s[2]-995338651|0,e=(e<<23|e>>>9)+a|0,t+=(a^(e|~n))+s[0]-198630844|0,t=(t<<6|t>>>26)+e|0,n+=(e^(t|~a))+s[7]+1126891415|0,n=(n<<10|n>>>22)+t|0,a+=(t^(n|~e))+s[14]-1416354905|0,a=(a<<15|a>>>17)+n|0,e+=(n^(a|~t))+s[5]-57434055|0,e=(e<<21|e>>>11)+a|0,t+=(a^(e|~n))+s[12]+1700485571|0,t=(t<<6|t>>>26)+e|0,n+=(e^(t|~a))+s[3]-1894986606|0,n=(n<<10|n>>>22)+t|0,a+=(t^(n|~e))+s[10]-1051523|0,a=(a<<15|a>>>17)+n|0,e+=(n^(a|~t))+s[1]-2054922799|0,e=(e<<21|e>>>11)+a|0,t+=(a^(e|~n))+s[8]+1873313359|0,t=(t<<6|t>>>26)+e|0,n+=(e^(t|~a))+s[15]-30611744|0,n=(n<<10|n>>>22)+t|0,a+=(t^(n|~e))+s[6]-1560198380|0,a=(a<<15|a>>>17)+n|0,e+=(n^(a|~t))+s[13]+1309151649|0,e=(e<<21|e>>>11)+a|0,t+=(a^(e|~n))+s[4]-145523070|0,t=(t<<6|t>>>26)+e|0,n+=(e^(t|~a))+s[11]-1120210379|0,n=(n<<10|n>>>22)+t|0,a+=(t^(n|~e))+s[2]+718787259|0,a=(a<<15|a>>>17)+n|0,e+=(n^(a|~t))+s[9]-343485551|0,e=(e<<21|e>>>11)+a|0,c[0]=t+c[0]|0,c[1]=e+c[1]|0,c[2]=a+c[2]|0,c[3]=n+c[3]|0}function Me(c){var s=[],t;for(t=0;t<64;t+=4)s[t>>2]=c.charCodeAt(t)+(c.charCodeAt(t+1)<<8)+(c.charCodeAt(t+2)<<16)+(c.charCodeAt(t+3)<<24);return s}function K(c){var s=[],t;for(t=0;t<64;t+=4)s[t>>2]=c[t]+(c[t+1]<<8)+(c[t+2]<<16)+(c[t+3]<<24);return s}function W(c){var s=c.length,t=[1732584193,-271733879,-1732584194,271733878],e,a,n,ve,oe,Y;for(e=64;e<=s;e+=64)G(t,Me(c.substring(e-64,e)));for(c=c.substring(e-64),a=c.length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<a;e+=1)n[e>>2]|=c.charCodeAt(e)<<(e%4<<3);if(n[e>>2]|=128<<(e%4<<3),e>55)for(G(t,n),e=0;e<16;e+=1)n[e]=0;return ve=s*8,ve=ve.toString(16).match(/(.*?)(.{0,8})$/),oe=parseInt(ve[2],16),Y=parseInt(ve[1],16)||0,n[14]=oe,n[15]=Y,G(t,n),t}function Ne(c){var s=c.length,t=[1732584193,-271733879,-1732584194,271733878],e,a,n,ve,oe,Y;for(e=64;e<=s;e+=64)G(t,K(c.subarray(e-64,e)));for(c=e-64<s?c.subarray(e-64):new Uint8Array(0),a=c.length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<a;e+=1)n[e>>2]|=c[e]<<(e%4<<3);if(n[e>>2]|=128<<(e%4<<3),e>55)for(G(t,n),e=0;e<16;e+=1)n[e]=0;return ve=s*8,ve=ve.toString(16).match(/(.*?)(.{0,8})$/),oe=parseInt(ve[2],16),Y=parseInt(ve[1],16)||0,n[14]=oe,n[15]=Y,G(t,n),t}function ie(c){var s="",t;for(t=0;t<4;t+=1)s+=i[c>>t*8+4&15]+i[c>>t*8&15];return s}function re(c){var s;for(s=0;s<c.length;s+=1)c[s]=ie(c[s]);return c.join("")}re(W("hello"))!=="5d41402abc4b2a76b9719d911017c592"&&(p=function(c,s){var t=(c&65535)+(s&65535),e=(c>>16)+(s>>16)+(t>>16);return e<<16|t&65535}),typeof ArrayBuffer!="undefined"&&!ArrayBuffer.prototype.slice&&function(){function c(s,t){return s=s|0||0,s<0?Math.max(s+t,0):Math.min(s,t)}ArrayBuffer.prototype.slice=function(s,t){var e=this.byteLength,a=c(s,e),n=e,ve,oe,Y,ot;return t!==Ge&&(n=c(t,e)),a>n?new ArrayBuffer(0):(ve=n-a,oe=new ArrayBuffer(ve),Y=new Uint8Array(oe),ot=new Uint8Array(this,a,ve),Y.set(ot),oe)}}();function Ee(c){return/[\u0080-\uFFFF]/.test(c)&&(c=unescape(encodeURIComponent(c))),c}function Ce(c,s){var t=c.length,e=new ArrayBuffer(t),a=new Uint8Array(e),n;for(n=0;n<t;n+=1)a[n]=c.charCodeAt(n);return s?a:e}function I(c){return String.fromCharCode.apply(null,new Uint8Array(c))}function ne(c,s,t){var e=new Uint8Array(c.byteLength+s.byteLength);return e.set(new Uint8Array(c)),e.set(new Uint8Array(s),c.byteLength),t?e:e.buffer}function Se(c){var s=[],t=c.length,e;for(e=0;e<t-1;e+=2)s.push(parseInt(c.substr(e,2),16));return String.fromCharCode.apply(String,s)}function J(){this.reset()}return J.prototype.append=function(c){return this.appendBinary(Ee(c)),this},J.prototype.appendBinary=function(c){this._buff+=c,this._length+=c.length;var s=this._buff.length,t;for(t=64;t<=s;t+=64)G(this._hash,Me(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},J.prototype.end=function(c){var s=this._buff,t=s.length,e,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n;for(e=0;e<t;e+=1)a[e>>2]|=s.charCodeAt(e)<<(e%4<<3);return this._finish(a,t),n=re(this._hash),c&&(n=Se(n)),this.reset(),n},J.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},J.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},J.prototype.setState=function(c){return this._buff=c.buff,this._length=c.length,this._hash=c.hash,this},J.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},J.prototype._finish=function(c,s){var t=s,e,a,n;if(c[t>>2]|=128<<(t%4<<3),t>55)for(G(this._hash,c),t=0;t<16;t+=1)c[t]=0;e=this._length*8,e=e.toString(16).match(/(.*?)(.{0,8})$/),a=parseInt(e[2],16),n=parseInt(e[1],16)||0,c[14]=a,c[15]=n,G(this._hash,c)},J.hash=function(c,s){return J.hashBinary(Ee(c),s)},J.hashBinary=function(c,s){var t=W(c),e=re(t);return s?Se(e):e},J.ArrayBuffer=function(){this.reset()},J.ArrayBuffer.prototype.append=function(c){var s=ne(this._buff.buffer,c,!0),t=s.length,e;for(this._length+=c.byteLength,e=64;e<=t;e+=64)G(this._hash,K(s.subarray(e-64,e)));return this._buff=e-64<t?new Uint8Array(s.buffer.slice(e-64)):new Uint8Array(0),this},J.ArrayBuffer.prototype.end=function(c){var s=this._buff,t=s.length,e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],a,n;for(a=0;a<t;a+=1)e[a>>2]|=s[a]<<(a%4<<3);return this._finish(e,t),n=re(this._hash),c&&(n=Se(n)),this.reset(),n},J.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},J.ArrayBuffer.prototype.getState=function(){var c=J.prototype.getState.call(this);return c.buff=I(c.buff),c},J.ArrayBuffer.prototype.setState=function(c){return c.buff=Ce(c.buff,!0),J.prototype.setState.call(this,c)},J.ArrayBuffer.prototype.destroy=J.prototype.destroy,J.ArrayBuffer.prototype._finish=J.prototype._finish,J.ArrayBuffer.hash=function(c,s){var t=Ne(new Uint8Array(c)),e=re(t);return s?Se(e):e},J})},335:function(lt,Ge,p){var i=p(31479);function $e(G,Me){var K=typeof Symbol!="undefined"&&G[Symbol.iterator]||G["@@iterator"];if(!K){if(Array.isArray(G)||(K=i(G))||Me&&G&&typeof G.length=="number"){K&&(G=K);var W=0,Ne=function(){};return{s:Ne,n:function(){return W>=G.length?{done:!0}:{done:!1,value:G[W++]}},e:function(I){throw I},f:Ne}}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 ie=!0,re=!1,Ee;return{s:function(){K=K.call(G)},n:function(){var I=K.next();return ie=I.done,I},e:function(I){re=!0,Ee=I},f:function(){try{!ie&&K.return!=null&&K.return()}finally{if(re)throw Ee}}}}lt.exports=$e,lt.exports.__esModule=!0,lt.exports.default=lt.exports},92448:function(lt,Ge,p){"use strict";p.d(Ge,{Z:function(){return Ce}});var $e={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let G;const Me=new Uint8Array(16);function K(){if(!G){if(typeof crypto=="undefined"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");G=crypto.getRandomValues.bind(crypto)}return G(Me)}const W=[];for(let I=0;I<256;++I)W.push((I+256).toString(16).slice(1));function Ne(I,ne=0){return(W[I[ne+0]]+W[I[ne+1]]+W[I[ne+2]]+W[I[ne+3]]+"-"+W[I[ne+4]]+W[I[ne+5]]+"-"+W[I[ne+6]]+W[I[ne+7]]+"-"+W[I[ne+8]]+W[I[ne+9]]+"-"+W[I[ne+10]]+W[I[ne+11]]+W[I[ne+12]]+W[I[ne+13]]+W[I[ne+14]]+W[I[ne+15]]).toLowerCase()}function ie(I,ne=0){const Se=Ne(I,ne);if(!validate(Se))throw TypeError("Stringified UUID is invalid");return Se}var re=null;function Ee(I,ne,Se){var c,s,t;if($e.randomUUID&&!ne&&!I)return $e.randomUUID();I=I||{};const J=(t=(s=I.random)!=null?s:(c=I.rng)==null?void 0:c.call(I))!=null?t:K();if(J.length<16)throw new Error("Random bytes length must be >= 16");if(J[6]=J[6]&15|64,J[8]=J[8]&63|128,ne){if(Se=Se||0,Se<0||Se+16>ne.length)throw new RangeError(`UUID byte range ${Se}:${Se+15} is out of buffer bounds`);for(let e=0;e<16;++e)ne[Se+e]=J[e];return ne}return Ne(J)}var Ce=Ee}}]);