!(function(){var zm=Object.defineProperty,Km=Object.defineProperties;var Gm=Object.getOwnPropertyDescriptors;var M1=Object.getOwnPropertySymbols;var em=Object.prototype.hasOwnProperty,tm=Object.prototype.propertyIsEnumerable;var rm=Math.pow,dg=(qt,pt,G)=>pt in qt?zm(qt,pt,{enumerable:!0,configurable:!0,writable:!0,value:G}):qt[pt]=G,jc=(qt,pt)=>{for(var G in pt||(pt={}))em.call(pt,G)&&dg(qt,G,pt[G]);if(M1)for(var G of M1(pt))tm.call(pt,G)&&dg(qt,G,pt[G]);return qt},pg=(qt,pt)=>Km(qt,Gm(pt));var nm=(qt,pt)=>{var G={};for(var v in qt)em.call(qt,v)&&pt.indexOf(v)<0&&(G[v]=qt[v]);if(qt!=null&&M1)for(var v of M1(qt))pt.indexOf(v)<0&&tm.call(qt,v)&&(G[v]=qt[v]);return G};var so=(qt,pt,G)=>dg(qt,typeof pt!="symbol"?pt+"":pt,G);(self.webpackChunk=self.webpackChunk||[]).push([[2303],{70557:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return D}});var v=G(60499),He=G(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},Ie=Se,ee=G(7657),w=function(y,H){return He.createElement(ee.Z,(0,v.Z)({},y,{ref:H,icon:Ie}))},ie=He.forwardRef(w),D=ie},27812:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return D}});var v=G(60499),He=G(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Ie=Se,ee=G(7657),w=function(y,H){return He.createElement(ee.Z,(0,v.Z)({},y,{ref:H,icon:Ie}))},ie=He.forwardRef(w),D=ie},84105:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return D}});var v=G(60499),He=G(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Ie=Se,ee=G(7657),w=function(y,H){return He.createElement(ee.Z,(0,v.Z)({},y,{ref:H,icon:Ie}))},ie=He.forwardRef(w),D=ie},18785:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return D}});var v=G(60499),He=G(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Ie=Se,ee=G(7657),w=function(y,H){return He.createElement(ee.Z,(0,v.Z)({},y,{ref:H,icon:Ie}))},ie=He.forwardRef(w),D=ie},87169:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return D}});var v=G(60499),He=G(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ie=Se,ee=G(7657),w=function(y,H){return He.createElement(ee.Z,(0,v.Z)({},y,{ref:H,icon:Ie}))},ie=He.forwardRef(w),D=ie},95869:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return D}});var v=G(60499),He=G(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},Ie=Se,ee=G(7657),w=function(y,H){return He.createElement(ee.Z,(0,v.Z)({},y,{ref:H,icon:Ie}))},ie=He.forwardRef(w),D=ie},32050:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return D}});var v=G(60499),He=G(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 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:"upload",theme:"outlined"},Ie=Se,ee=G(7657),w=function(y,H){return He.createElement(ee.Z,(0,v.Z)({},y,{ref:H,icon:Ie}))},ie=He.forwardRef(w),D=ie},68196:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return Be}});var v=G(85899),He=G(72190),Se=G(42244),Ie=G(43403),ee=G(92310),w=G.n(ee),ie=G(29301),D=G(76846),l=G(96452),y=G(6089),H=G(80402),p=G(34280),m=G(49658),h=G(59301),C=G(60499),R=G(77900),U=G(8654);function L(Je){var Ae=Je.prefixCls,O=Je.align,K=Je.arrow,pe=Je.arrowPos,ze=K||{},Ee=ze.className,ke=ze.content,st=pe.x,ot=st===void 0?0:st,lt=pe.y,Nt=lt===void 0?0:lt,er=h.useRef();if(!O||!O.points)return null;var Ar={position:"absolute"};if(O.autoArrow!==!1){var Pe=O.points[0],zt=O.points[1],Jt=Pe[0],ir=Pe[1],$t=zt[0],Ut=zt[1];Jt===$t||!["t","b"].includes(Jt)?Ar.top=Nt:Jt==="t"?Ar.top=0:Ar.bottom=0,ir===Ut||!["l","r"].includes(ir)?Ar.left=ot:ir==="l"?Ar.left=0:Ar.right=0}return h.createElement("div",{ref:er,className:w()("".concat(Ae,"-arrow"),Ee),style:Ar},ke)}function T(Je){var Ae=Je.prefixCls,O=Je.open,K=Je.zIndex,pe=Je.mask,ze=Je.motion;return pe?h.createElement(R.default,(0,C.Z)({},ze,{motionAppear:!0,visible:O,removeOnLeave:!0}),function(Ee){var ke=Ee.className;return h.createElement("div",{style:{zIndex:K},className:w()("".concat(Ae,"-mask"),ke)})}):null}var j=h.memo(function(Je){var Ae=Je.children;return Ae},function(Je,Ae){return Ae.cache}),V=j,J=h.forwardRef(function(Je,Ae){var O=Je.popup,K=Je.className,pe=Je.prefixCls,ze=Je.style,Ee=Je.target,ke=Je.onVisibleChanged,st=Je.open,ot=Je.keepDom,lt=Je.fresh,Nt=Je.onClick,er=Je.mask,Ar=Je.arrow,Pe=Je.arrowPos,zt=Je.align,Jt=Je.motion,ir=Je.maskMotion,$t=Je.forceRender,Ut=Je.getPopupContainer,Kr=Je.autoDestroy,Mr=Je.portal,Ir=Je.zIndex,wn=Je.onMouseEnter,te=Je.onMouseLeave,de=Je.onPointerEnter,Yt=Je.onPointerDownCapture,Oe=Je.ready,Ke=Je.offsetX,pr=Je.offsetY,it=Je.offsetR,Dt=Je.offsetB,Pt=Je.onAlign,Ge=Je.onPrepare,Xe=Je.stretch,ut=Je.targetWidth,Ft=Je.targetHeight,Le=typeof O=="function"?O():O,nr=st||ot,$e=(Ut==null?void 0:Ut.length)>0,Tr=h.useState(!Ut||!$e),Xr=(0,He.Z)(Tr,2),Fn=Xr[0],Cn=Xr[1];if((0,p.Z)(function(){!Fn&&$e&&Ee&&Cn(!0)},[Fn,$e,Ee]),!Fn)return null;var pn="auto",En={left:"-1000vw",top:"-1000vh",right:pn,bottom:pn};if(Oe||!st){var oi,Mi=zt.points,li=zt.dynamicInset||((oi=zt._experimental)===null||oi===void 0?void 0:oi.dynamicInset),ui=li&&Mi[0][1]==="r",gn=li&&Mi[0][0]==="b";ui?(En.right=it,En.left=pn):(En.left=Ke,En.right=pn),gn?(En.bottom=Dt,En.top=pn):(En.top=pr,En.bottom=pn)}var Hr={};return Xe&&(Xe.includes("height")&&Ft?Hr.height=Ft:Xe.includes("minHeight")&&Ft&&(Hr.minHeight=Ft),Xe.includes("width")&&ut?Hr.width=ut:Xe.includes("minWidth")&&ut&&(Hr.minWidth=ut)),st||(Hr.pointerEvents="none"),h.createElement(Mr,{open:$t||nr,getContainer:Ut&&function(){return Ut(Ee)},autoDestroy:Kr},h.createElement(T,{prefixCls:pe,open:st,zIndex:Ir,mask:er,motion:ir}),h.createElement(ie.Z,{onResize:Pt,disabled:!st},function(rn){return h.createElement(R.default,(0,C.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:$t,leavedClassName:"".concat(pe,"-hidden")},Jt,{onAppearPrepare:Ge,onEnterPrepare:Ge,visible:st,onVisibleChanged:function(On){var xi;Jt==null||(xi=Jt.onVisibleChanged)===null||xi===void 0||xi.call(Jt,On),ke(On)}}),function(Pn,On){var xi=Pn.className,ni=Pn.style,Yi=w()(pe,xi,K);return h.createElement("div",{ref:(0,U.sQ)(rn,Ae,On),className:Yi,style:(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)({"--arrow-x":"".concat(Pe.x||0,"px"),"--arrow-y":"".concat(Pe.y||0,"px")},En),Hr),ni),{},{boxSizing:"border-box",zIndex:Ir},ze),onMouseEnter:wn,onMouseLeave:te,onPointerEnter:de,onClick:Nt,onPointerDownCapture:Yt},Ar&&h.createElement(L,{prefixCls:pe,arrow:Ar,arrowPos:Pe,align:zt}),h.createElement(V,{cache:!st&&!lt},Le))})}))}),we=J,be=h.forwardRef(function(Je,Ae){var O=Je.children,K=Je.getTriggerDOMNode,pe=(0,U.Yr)(O),ze=h.useCallback(function(ke){(0,U.mH)(Ae,K?K(ke):ke)},[K]),Ee=(0,U.x1)(ze,(0,U.C4)(O));return pe?h.cloneElement(O,{ref:Ee}):O}),me=be,De=h.createContext(null),Re=De;function _e(Je){return Je?Array.isArray(Je)?Je:[Je]:[]}function ue(Je,Ae,O,K){return h.useMemo(function(){var pe=_e(O!=null?O:Ae),ze=_e(K!=null?K:Ae),Ee=new Set(pe),ke=new Set(ze);return Je&&(Ee.has("hover")&&(Ee.delete("hover"),Ee.add("click")),ke.has("hover")&&(ke.delete("hover"),ke.add("click"))),[Ee,ke]},[Je,Ae,O,K])}var le=G(29194);function k(){var Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],O=arguments.length>2?arguments[2]:void 0;return O?Je[0]===Ae[0]:Je[0]===Ae[0]&&Je[1]===Ae[1]}function ce(Je,Ae,O,K){for(var pe=O.points,ze=Object.keys(Je),Ee=0;Ee1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Je)?Ae:Je}function z(Je){return Q(parseFloat(Je),0)}function $(Je,Ae){var O=(0,v.Z)({},Je);return(Ae||[]).forEach(function(K){if(!(K instanceof HTMLBodyElement||K instanceof HTMLHtmlElement)){var pe=he(K).getComputedStyle(K),ze=pe.overflow,Ee=pe.overflowClipMargin,ke=pe.borderTopWidth,st=pe.borderBottomWidth,ot=pe.borderLeftWidth,lt=pe.borderRightWidth,Nt=K.getBoundingClientRect(),er=K.offsetHeight,Ar=K.clientHeight,Pe=K.offsetWidth,zt=K.clientWidth,Jt=z(ke),ir=z(st),$t=z(ot),Ut=z(lt),Kr=Q(Math.round(Nt.width/Pe*1e3)/1e3),Mr=Q(Math.round(Nt.height/er*1e3)/1e3),Ir=(Pe-zt-$t-Ut)*Kr,wn=(er-Ar-Jt-ir)*Mr,te=Jt*Mr,de=ir*Mr,Yt=$t*Kr,Oe=Ut*Kr,Ke=0,pr=0;if(ze==="clip"){var it=z(Ee);Ke=it*Kr,pr=it*Mr}var Dt=Nt.x+Yt-Ke,Pt=Nt.y+te-pr,Ge=Dt+Nt.width+2*Ke-Yt-Oe-Ir,Xe=Pt+Nt.height+2*pr-te-de-wn;O.left=Math.max(O.left,Dt),O.top=Math.max(O.top,Pt),O.right=Math.min(O.right,Ge),O.bottom=Math.min(O.bottom,Xe)}}),O}function fe(Je){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,O="".concat(Ae),K=O.match(/^(.*)\%$/);return K?Je*(parseFloat(K[1])/100):parseFloat(O)}function et(Je,Ae){var O=Ae||[],K=(0,He.Z)(O,2),pe=K[0],ze=K[1];return[fe(Je.width,pe),fe(Je.height,ze)]}function ct(){var Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Je[0],Je[1]]}function ht(Je,Ae){var O=Ae[0],K=Ae[1],pe,ze;return O==="t"?ze=Je.y:O==="b"?ze=Je.y+Je.height:ze=Je.y+Je.height/2,K==="l"?pe=Je.x:K==="r"?pe=Je.x+Je.width:pe=Je.x+Je.width/2,{x:pe,y:ze}}function Lt(Je,Ae){var O={t:"b",b:"t",l:"r",r:"l"};return Je.map(function(K,pe){return pe===Ae?O[K]||"c":K}).join("")}function Gt(Je,Ae,O,K,pe,ze,Ee){var ke=h.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:pe[K]||{}}),st=(0,He.Z)(ke,2),ot=st[0],lt=st[1],Nt=h.useRef(0),er=h.useMemo(function(){return Ae?ae(Ae):[]},[Ae]),Ar=h.useRef({}),Pe=function(){Ar.current={}};Je||Pe();var zt=(0,y.Z)(function(){if(Ae&&O&&Je){let uo=function(ho,Bo){var Jo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:vs,qo=nr.x+ho,Fo=nr.y+Bo,No=qo+gn,$o=Fo+ui,Ms=Math.max(qo,Jo.left),ri=Math.max(Fo,Jo.top),Li=Math.min(No,Jo.right),ea=Math.min($o,Jo.bottom);return Math.max(0,(Li-Ms)*(ea-ri))},Ka=function(){_a=nr.y+fi,Ys=_a+ui,qn=nr.x+Zn,zi=qn+gn};var $t,Ut,Kr,Mr,Ir=Ae,wn=Ir.ownerDocument,te=he(Ir),de=te.getComputedStyle(Ir),Yt=de.position,Oe=Ir.style.left,Ke=Ir.style.top,pr=Ir.style.right,it=Ir.style.bottom,Dt=Ir.style.overflow,Pt=(0,v.Z)((0,v.Z)({},pe[K]),ze),Ge=wn.createElement("div");($t=Ir.parentElement)===null||$t===void 0||$t.appendChild(Ge),Ge.style.left="".concat(Ir.offsetLeft,"px"),Ge.style.top="".concat(Ir.offsetTop,"px"),Ge.style.position=Yt,Ge.style.height="".concat(Ir.offsetHeight,"px"),Ge.style.width="".concat(Ir.offsetWidth,"px"),Ir.style.left="0",Ir.style.top="0",Ir.style.right="auto",Ir.style.bottom="auto",Ir.style.overflow="hidden";var Xe;if(Array.isArray(O))Xe={x:O[0],y:O[1],width:0,height:0};else{var ut,Ft,Le=O.getBoundingClientRect();Le.x=(ut=Le.x)!==null&&ut!==void 0?ut:Le.left,Le.y=(Ft=Le.y)!==null&&Ft!==void 0?Ft:Le.top,Xe={x:Le.x,y:Le.y,width:Le.width,height:Le.height}}var nr=Ir.getBoundingClientRect(),$e=te.getComputedStyle(Ir),Tr=$e.height,Xr=$e.width;nr.x=(Ut=nr.x)!==null&&Ut!==void 0?Ut:nr.left,nr.y=(Kr=nr.y)!==null&&Kr!==void 0?Kr:nr.top;var Fn=wn.documentElement,Cn=Fn.clientWidth,pn=Fn.clientHeight,En=Fn.scrollWidth,oi=Fn.scrollHeight,Mi=Fn.scrollTop,li=Fn.scrollLeft,ui=nr.height,gn=nr.width,Hr=Xe.height,rn=Xe.width,Pn={left:0,top:0,right:Cn,bottom:pn},On={left:-li,top:-Mi,right:En-li,bottom:oi-Mi},xi=Pt.htmlRegion,ni="visible",Yi="visibleFirst";xi!=="scroll"&&xi!==Yi&&(xi=ni);var Ss=xi===Yi,qs=$(On,er),tr=$(Pn,er),vs=xi===ni?tr:qs,ls=Ss?tr:vs;Ir.style.left="auto",Ir.style.top="auto",Ir.style.right="0",Ir.style.bottom="0";var $a=Ir.getBoundingClientRect();Ir.style.left=Oe,Ir.style.top=Ke,Ir.style.right=pr,Ir.style.bottom=it,Ir.style.overflow=Dt,(Mr=Ir.parentElement)===null||Mr===void 0||Mr.removeChild(Ge);var Ea=Q(Math.round(gn/parseFloat(Xr)*1e3)/1e3),$i=Q(Math.round(ui/parseFloat(Tr)*1e3)/1e3);if(Ea===0||$i===0||(0,D.Sh)(O)&&!(0,le.Z)(O))return;var _s=Pt.offset,Xi=Pt.targetOffset,Gs=et(nr,_s),ur=(0,He.Z)(Gs,2),Er=ur[0],cn=ur[1],Qr=et(Xe,Xi),Pr=(0,He.Z)(Qr,2),$r=Pr[0],xn=Pr[1];Xe.x-=$r,Xe.y-=xn;var Dn=Pt.points||[],Oi=(0,He.Z)(Dn,2),Ni=Oi[0],us=Oi[1],bi=ct(us),mi=ct(Ni),As=ht(Xe,bi),Ls=ht(nr,mi),$n=(0,v.Z)({},Pt),Zn=As.x-Ls.x+Er,fi=As.y-Ls.y+cn,ys=uo(Zn,fi),ws=uo(Zn,fi,tr),es=ht(Xe,["t","l"]),cs=ht(nr,["t","l"]),Is=ht(Xe,["b","r"]),xs=ht(nr,["b","r"]),Ci=Pt.overflow||{},Cr=Ci.adjustX,Ai=Ci.adjustY,fs=Ci.shiftX,Vs=Ci.shiftY,ks=function(Bo){return typeof Bo=="boolean"?Bo:Bo>=0},_a,Ys,qn,zi;Ka();var sa=ks(Ai),hs=mi[0]===bi[0];if(sa&&mi[0]==="t"&&(Ys>ls.bottom||Ar.current.bt)){var ds=fi;hs?ds-=ui-Hr:ds=es.y-xs.y-cn;var Io=uo(Zn,ds),xa=uo(Zn,ds,tr);Io>ys||Io===ys&&(!Ss||xa>=ws)?(Ar.current.bt=!0,fi=ds,cn=-cn,$n.points=[Lt(mi,0),Lt(bi,0)]):Ar.current.bt=!1}if(sa&&mi[0]==="b"&&(_ays||Nn===ys&&(!Ss||$s>=ws)?(Ar.current.tb=!0,fi=pa,cn=-cn,$n.points=[Lt(mi,0),Lt(bi,0)]):Ar.current.tb=!1}var Ts=ks(Cr),Ha=mi[1]===bi[1];if(Ts&&mi[1]==="l"&&(zi>ls.right||Ar.current.rl)){var Jr=Zn;Ha?Jr-=gn-rn:Jr=es.x-xs.x-Er;var Si=uo(Jr,fi),hi=uo(Jr,fi,tr);Si>ys||Si===ys&&(!Ss||hi>=ws)?(Ar.current.rl=!0,Zn=Jr,Er=-Er,$n.points=[Lt(mi,1),Lt(bi,1)]):Ar.current.rl=!1}if(Ts&&mi[1]==="r"&&(qnys||vi===ys&&(!Ss||Bs>=ws)?(Ar.current.lr=!0,Zn=Vi,Er=-Er,$n.points=[Lt(mi,1),Lt(bi,1)]):Ar.current.lr=!1}Ka();var is=fs===!0?0:fs;typeof is=="number"&&(qntr.right&&(Zn-=zi-tr.right-Er,Xe.x>tr.right-is&&(Zn+=Xe.x-tr.right+is)));var Rs=Vs===!0?0:Vs;typeof Rs=="number"&&(_atr.bottom&&(fi-=Ys-tr.bottom-cn,Xe.y>tr.bottom-Rs&&(fi+=Xe.y-tr.bottom+Rs)));var ga=nr.x+Zn,Aa=ga+gn,_i=nr.y+fi,La=_i+ui,To=Xe.x,Ho=To+rn,eo=Xe.y,Ui=eo+Hr,Xo=Math.max(ga,To),In=Math.min(Aa,Ho),ka=(Xo+In)/2,za=ka-ga,ao=Math.max(_i,eo),oo=Math.min(La,Ui),lo=(ao+oo)/2,Ii=lo-_i;Ee==null||Ee(Ae,$n);var yo=$a.right-nr.x-(Zn+nr.width),sl=$a.bottom-nr.y-(fi+nr.height);Ea===1&&(Zn=Math.floor(Zn),yo=Math.floor(yo)),$i===1&&(fi=Math.floor(fi),sl=Math.floor(sl));var Sl={ready:!0,offsetX:Zn/Ea,offsetY:fi/$i,offsetR:yo/Ea,offsetB:sl/$i,arrowX:za/Ea,arrowY:Ii/$i,scaleX:Ea,scaleY:$i,align:$n};lt(Sl)}}),Jt=function(){Nt.current+=1;var Ut=Nt.current;Promise.resolve().then(function(){Nt.current===Ut&&zt()})},ir=function(){lt(function(Ut){return(0,v.Z)((0,v.Z)({},Ut),{},{ready:!1})})};return(0,p.Z)(ir,[K]),(0,p.Z)(function(){Je||ir()},[Je]),[ot.ready,ot.offsetX,ot.offsetY,ot.offsetR,ot.offsetB,ot.arrowX,ot.arrowY,ot.scaleX,ot.scaleY,ot.align,Jt]}var Et=G(77654);function gt(Je,Ae,O,K,pe){(0,p.Z)(function(){if(Je&&Ae&&O){let Nt=function(){K(),pe()};var ze=Ae,Ee=O,ke=ae(ze),st=ae(Ee),ot=he(Ee),lt=new Set([ot].concat((0,Et.Z)(ke),(0,Et.Z)(st)));return lt.forEach(function(er){er.addEventListener("scroll",Nt,{passive:!0})}),ot.addEventListener("resize",Nt,{passive:!0}),K(),function(){lt.forEach(function(er){er.removeEventListener("scroll",Nt),ot.removeEventListener("resize",Nt)})}}},[Je,Ae,O])}var Dr=G(48736);function Kt(Je,Ae,O,K,pe,ze,Ee,ke){var st=h.useRef(Je);st.current=Je;var ot=h.useRef(!1);h.useEffect(function(){if(Ae&&K&&(!pe||ze)){var Nt=function(){ot.current=!1},er=function(Kr){var Mr;st.current&&!Ee(((Mr=Kr.composedPath)===null||Mr===void 0||(Mr=Mr.call(Kr))===null||Mr===void 0?void 0:Mr[0])||Kr.target)&&!ot.current&&ke(!1)},Ar=he(K);Ar.addEventListener("pointerdown",Nt,!0),Ar.addEventListener("mousedown",er,!0),Ar.addEventListener("contextmenu",er,!0);var Pe=(0,l.A)(O);if(Pe&&(Pe.addEventListener("mousedown",er,!0),Pe.addEventListener("contextmenu",er,!0)),0)var zt,Jt,ir,$t;return function(){Ar.removeEventListener("pointerdown",Nt,!0),Ar.removeEventListener("mousedown",er,!0),Ar.removeEventListener("contextmenu",er,!0),Pe&&(Pe.removeEventListener("mousedown",er,!0),Pe.removeEventListener("contextmenu",er,!0))}}},[Ae,O,K,pe,ze]);function lt(){ot.current=!0}return lt}var dr=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Wt(){var Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ie.Z,Ae=h.forwardRef(function(O,K){var pe=O.prefixCls,ze=pe===void 0?"rc-trigger-popup":pe,Ee=O.children,ke=O.action,st=ke===void 0?"hover":ke,ot=O.showAction,lt=O.hideAction,Nt=O.popupVisible,er=O.defaultPopupVisible,Ar=O.onPopupVisibleChange,Pe=O.afterPopupVisibleChange,zt=O.mouseEnterDelay,Jt=O.mouseLeaveDelay,ir=Jt===void 0?.1:Jt,$t=O.focusDelay,Ut=O.blurDelay,Kr=O.mask,Mr=O.maskClosable,Ir=Mr===void 0?!0:Mr,wn=O.getPopupContainer,te=O.forceRender,de=O.autoDestroy,Yt=O.destroyPopupOnHide,Oe=O.popup,Ke=O.popupClassName,pr=O.popupStyle,it=O.popupPlacement,Dt=O.builtinPlacements,Pt=Dt===void 0?{}:Dt,Ge=O.popupAlign,Xe=O.zIndex,ut=O.stretch,Ft=O.getPopupClassNameFromAlign,Le=O.fresh,nr=O.alignPoint,$e=O.onPopupClick,Tr=O.onPopupAlign,Xr=O.arrow,Fn=O.popupMotion,Cn=O.maskMotion,pn=O.popupTransitionName,En=O.popupAnimation,oi=O.maskTransitionName,Mi=O.maskAnimation,li=O.className,ui=O.getTriggerDOMNode,gn=(0,Se.Z)(O,dr),Hr=de||Yt||!1,rn=h.useState(!1),Pn=(0,He.Z)(rn,2),On=Pn[0],xi=Pn[1];(0,p.Z)(function(){xi((0,m.Z)())},[]);var ni=h.useRef({}),Yi=h.useContext(Re),Ss=h.useMemo(function(){return{registerSubPopup:function(Li,ea){ni.current[Li]=ea,Yi==null||Yi.registerSubPopup(Li,ea)}}},[Yi]),qs=(0,H.Z)(),tr=h.useState(null),vs=(0,He.Z)(tr,2),ls=vs[0],$a=vs[1],Ea=h.useRef(null),$i=(0,y.Z)(function(ri){Ea.current=ri,(0,D.Sh)(ri)&&ls!==ri&&$a(ri),Yi==null||Yi.registerSubPopup(qs,ri)}),_s=h.useState(null),Xi=(0,He.Z)(_s,2),Gs=Xi[0],ur=Xi[1],Er=h.useRef(null),cn=(0,y.Z)(function(ri){(0,D.Sh)(ri)&&Gs!==ri&&(ur(ri),Er.current=ri)}),Qr=h.Children.only(Ee),Pr=(Qr==null?void 0:Qr.props)||{},$r={},xn=(0,y.Z)(function(ri){var Li,ea,Wi=Gs;return(Wi==null?void 0:Wi.contains(ri))||((Li=(0,l.A)(Wi))===null||Li===void 0?void 0:Li.host)===ri||ri===Wi||(ls==null?void 0:ls.contains(ri))||((ea=(0,l.A)(ls))===null||ea===void 0?void 0:ea.host)===ri||ri===ls||Object.values(ni.current).some(function(Ki){return(Ki==null?void 0:Ki.contains(ri))||ri===Ki})}),Dn=Ne(ze,Fn,En,pn),Oi=Ne(ze,Cn,Mi,oi),Ni=h.useState(er||!1),us=(0,He.Z)(Ni,2),bi=us[0],mi=us[1],As=Nt!=null?Nt:bi,Ls=(0,y.Z)(function(ri){Nt===void 0&&mi(ri)});(0,p.Z)(function(){mi(Nt||!1)},[Nt]);var $n=h.useRef(As);$n.current=As;var Zn=h.useRef([]);Zn.current=[];var fi=(0,y.Z)(function(ri){var Li;Ls(ri),((Li=Zn.current[Zn.current.length-1])!==null&&Li!==void 0?Li:As)!==ri&&(Zn.current.push(ri),Ar==null||Ar(ri))}),ys=h.useRef(),ws=function(){clearTimeout(ys.current)},es=function(Li){var ea=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ws(),ea===0?fi(Li):ys.current=setTimeout(function(){fi(Li)},ea*1e3)};h.useEffect(function(){return ws},[]);var cs=h.useState(!1),Is=(0,He.Z)(cs,2),xs=Is[0],Ci=Is[1];(0,p.Z)(function(ri){(!ri||As)&&Ci(!0)},[As]);var Cr=h.useState(null),Ai=(0,He.Z)(Cr,2),fs=Ai[0],Vs=Ai[1],ks=h.useState(null),_a=(0,He.Z)(ks,2),Ys=_a[0],qn=_a[1],zi=function(Li){qn([Li.clientX,Li.clientY])},sa=Gt(As,ls,nr&&Ys!==null?Ys:Gs,it,Pt,Ge,Tr),hs=(0,He.Z)(sa,11),ds=hs[0],Io=hs[1],xa=hs[2],pa=hs[3],Nn=hs[4],$s=hs[5],Ts=hs[6],Ha=hs[7],Jr=hs[8],Si=hs[9],hi=hs[10],Vi=ue(On,st,ot,lt),vi=(0,He.Z)(Vi,2),Bs=vi[0],is=vi[1],Rs=Bs.has("click"),ga=is.has("click")||is.has("contextMenu"),Aa=(0,y.Z)(function(){xs||hi()}),_i=function(){$n.current&&nr&&ga&&es(!1)};gt(As,Gs,ls,Aa,_i),(0,p.Z)(function(){Aa()},[Ys,it]),(0,p.Z)(function(){As&&!(Pt!=null&&Pt[it])&&Aa()},[JSON.stringify(Ge)]);var La=h.useMemo(function(){var ri=ce(Pt,ze,Si,nr);return w()(ri,Ft==null?void 0:Ft(Si))},[Si,Ft,Pt,ze,nr]);h.useImperativeHandle(K,function(){return{nativeElement:Er.current,popupElement:Ea.current,forceAlign:Aa}});var To=h.useState(0),Ho=(0,He.Z)(To,2),eo=Ho[0],Ui=Ho[1],Xo=h.useState(0),In=(0,He.Z)(Xo,2),ka=In[0],za=In[1],ao=function(){if(ut&&Gs){var Li=Gs.getBoundingClientRect();Ui(Li.width),za(Li.height)}},oo=function(){ao(),Aa()},lo=function(Li){Ci(!1),hi(),Pe==null||Pe(Li)},Ii=function(){return new Promise(function(Li){ao(),Vs(function(){return Li})})};(0,p.Z)(function(){fs&&(hi(),fs(),Vs(null))},[fs]);function yo(ri,Li,ea,Wi){$r[ri]=function(Ki){var Do;Wi==null||Wi(Ki),es(Li,ea);for(var Ga=arguments.length,Ba=new Array(Ga>1?Ga-1:0),Nl=1;Nl1?ea-1:0),Ki=1;Ki1?ea-1:0),Ki=1;KiR in C?Se(C,R,{enumerable:!0,configurable:!0,writable:!0,value:U}):C[R]=U,y=(C,R)=>{for(var U in R||(R={}))ie.call(R,U)&&l(C,U,R[U]);if(w)for(var U of w(R))D.call(R,U)&&l(C,U,R[U]);return C},H=(C,R)=>Ie(C,ee(R)),p=(C,R)=>{var U={};for(var L in C)ie.call(C,L)&&R.indexOf(L)<0&&(U[L]=C[L]);if(C!=null&&w)for(var L of w(C))R.indexOf(L)<0&&D.call(C,L)&&(U[L]=C[L]);return U},m=(C,R,U)=>new Promise((L,T)=>{var j=we=>{try{J(U.next(we))}catch(be){T(be)}},V=we=>{try{J(U.throw(we))}catch(be){T(be)}},J=we=>we.done?L(we.value):Promise.resolve(we.value).then(j,V);J((U=U.apply(C,R)).next())});const h=C=>{var R=C,{children:U}=R,L=p(R,["children"]);const[T,j]=(0,He.useState)(!1);return He.createElement(v.ZP,H(y({},L),{loading:T,onClick:V=>m(void 0,null,function*(){try{j(!0),yield L.onClick(V),j(!1)}catch(J){console.error(J),j(!1)}})}),U)}},74410:function(qt,pt,G){"use strict";var v=G(86204),He=G.n(v),Se=Object.defineProperty,Ie=(D,l,y)=>l in D?Se(D,l,{enumerable:!0,configurable:!0,writable:!0,value:y}):D[l]=y,ee=(D,l,y)=>Ie(D,typeof l!="symbol"?l+"":l,y),w=(D,l,y)=>new Promise((H,p)=>{var m=R=>{try{C(y.next(R))}catch(U){p(U)}},h=R=>{try{C(y.throw(R))}catch(U){p(U)}},C=R=>R.done?H(R.value):Promise.resolve(R.value).then(m,h);C((y=y.apply(D,l)).next())});class ie extends v.EventEmitter{constructor(l,y){super(),ee(this,"url"),ee(this,"body"),ee(this,"fullContent",""),ee(this,"controller",null),ee(this,"buffer",""),this.url=l,this.body=y}startStream(){return w(this,null,function*(){this.controller=new AbortController;const{signal:l}=this.controller;try{const y=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:l});if(!y.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${y.status}`);const H=y.headers.get("content-type");if(!H)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(H.includes("application/json")){const h=yield y.json();this.emit("error",h);return}if(!H.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const p=y.body.getReader(),m=new TextDecoder("utf-8");for(;;){const{done:h,value:C}=yield p.read();if(h)break;const R=m.decode(C,{stream:!0});this.buffer+=R;const U=this.buffer.split(` `);this.buffer=U.pop()||"";for(const L of U)if(L.startsWith("data:")){const T=L.slice(5).trim();if(T==="[DONE]")break;try{const j=JSON.parse(T);j.data&&this.handleData(j.data)}catch(j){this.buffer=L+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",j)}}}this.emit("done",this.fullContent)}catch(y){y.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",y.message)}})}handleData(l){l.content&&(this.fullContent+=l.content,this.emit("data",{chunk:l,full:this.fullContent}))}cancelRequest(){var l;(l=this.controller)==null||l.abort()}}pt.Z=ie},76593:function(qt,pt,G){"use strict";G.d(pt,{Z:function(){return m}});var v=G(59301),He=G(36207),Se=G(77019),Ie=G(5269),ee={smartWrp:"smartWrp___NjRcB"},w=G(34728),ie=G(70467),D=G(42075),l=G(59301),y=(h,C,R)=>new Promise((U,L)=>{var T=J=>{try{V(R.next(J))}catch(we){L(we)}},j=J=>{try{V(R.throw(J))}catch(we){L(we)}},V=J=>J.done?U(J.value):Promise.resolve(J.value).then(T,j);V((R=R.apply(h,C)).next())});const H=` \u5FEB\u901F\u6392\u5E8F\u6F14\u793A

\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A