You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
106 KiB
4 lines
106 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6034],{65030:function(Gn,cn,u){u.d(cn,{Z:function(){return f}});var I=u(33885),B=u(42978),oe=u(75931),te=u(43403),L=u(92310),Nt=u.n(L),lt=u(29301),ut=u(76846),mt=u(96452),a=u(6089),pt=u(80402),o=u(34280),fn=u(49658),A=u(59301),wn=u(54476),En=u(77900),$t=u(8654);function at(r){var i=r.prefixCls,n=r.align,c=r.arrow,p=r.arrowPos,w=c||{},y=w.className,V=w.content,P=p.x,k=P===void 0?0:P,$=p.y,H=$===void 0?0:$,D=A.useRef();if(!n||!n.points)return null;var Z={position:"absolute"};if(n.autoArrow!==!1){var z=n.points[0],Ce=n.points[1],Se=z[0],X=z[1],Pe=Ce[0],me=Ce[1];Se===Pe||!["t","b"].includes(Se)?Z.top=H:Se==="t"?Z.top=0:Z.bottom=0,X===me||!["l","r"].includes(X)?Z.left=k:X==="l"?Z.left=0:Z.right=0}return A.createElement("div",{ref:D,className:Nt()("".concat(i,"-arrow"),y),style:Z},V)}function vn(r){var i=r.prefixCls,n=r.open,c=r.zIndex,p=r.mask,w=r.motion;return p?A.createElement(En.default,(0,wn.Z)({},w,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(y){var V=y.className;return A.createElement("div",{style:{zIndex:c},className:Nt()("".concat(i,"-mask"),V)})}):null}var Lt=A.memo(function(r){var i=r.children;return i},function(r,i){return i.cache}),ot=Lt,dn=A.forwardRef(function(r,i){var n=r.popup,c=r.className,p=r.prefixCls,w=r.style,y=r.target,V=r.onVisibleChanged,P=r.open,k=r.keepDom,$=r.fresh,H=r.onClick,D=r.mask,Z=r.arrow,z=r.arrowPos,Ce=r.align,Se=r.motion,X=r.maskMotion,Pe=r.forceRender,me=r.getPopupContainer,We=r.autoDestroy,be=r.portal,Y=r.zIndex,Ct=r.onMouseEnter,gt=r.onMouseLeave,ue=r.onPointerEnter,Mt=r.onPointerDownCapture,tn=r.ready,Ot=r.offsetX,wt=r.offsetY,At=r.offsetR,Et=r.offsetB,ct=r.onAlign,Ge=r.onPrepare,Ne=r.stretch,ft=r.targetWidth,nt=r.targetHeight,Pt=typeof n=="function"?n():n,he=P||k,Ut=(me==null?void 0:me.length)>0,gn=A.useState(!me||!Ut),Qt=(0,B.Z)(gn,2),Yt=Qt[0],_e=Qt[1];if((0,o.Z)(function(){!Yt&&Ut&&y&&_e(!0)},[Yt,Ut,y]),!Yt)return null;var it="auto",Tt={left:"-1000vw",top:"-1000vh",right:it,bottom:it};if(tn||!P){var Vt,yt=Ce.points,Je=Ce.dynamicInset||((Vt=Ce._experimental)===null||Vt===void 0?void 0:Vt.dynamicInset),Ht=Je&&yt[0][1]==="r",St=Je&&yt[0][0]==="b";Ht?(Tt.right=At,Tt.left=it):(Tt.left=Ot,Tt.right=it),St?(Tt.bottom=Et,Tt.top=it):(Tt.top=wt,Tt.bottom=it)}var Qe={};return Ne&&(Ne.includes("height")&&nt?Qe.height=nt:Ne.includes("minHeight")&&nt&&(Qe.minHeight=nt),Ne.includes("width")&&ft?Qe.width=ft:Ne.includes("minWidth")&&ft&&(Qe.minWidth=ft)),P||(Qe.pointerEvents="none"),A.createElement(be,{open:Pe||he,getContainer:me&&function(){return me(y)},autoDestroy:We},A.createElement(vn,{prefixCls:p,open:P,zIndex:Y,mask:D,motion:X}),A.createElement(lt.Z,{onResize:ct,disabled:!P},function(nn){return A.createElement(En.default,(0,wn.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Pe,leavedClassName:"".concat(p,"-hidden")},Se,{onAppearPrepare:Ge,onEnterPrepare:Ge,visible:P,onVisibleChanged:function(Gt){var t;Se==null||(t=Se.onVisibleChanged)===null||t===void 0||t.call(Se,Gt),V(Gt)}}),function(bn,Gt){var t=bn.className,e=bn.style,v=Nt()(p,t,c);return A.createElement("div",{ref:(0,$t.sQ)(nn,i,Gt),className:v,style:(0,I.Z)((0,I.Z)((0,I.Z)((0,I.Z)({"--arrow-x":"".concat(z.x||0,"px"),"--arrow-y":"".concat(z.y||0,"px")},Tt),Qe),e),{},{boxSizing:"border-box",zIndex:Y},w),onMouseEnter:Ct,onMouseLeave:gt,onPointerEnter:ue,onClick:H,onPointerDownCapture:Mt},Z&&A.createElement(at,{prefixCls:p,arrow:Z,arrowPos:z,align:Ce}),A.createElement(ot,{cache:!P&&!$},Pt))})}))}),Pn=dn,de=A.forwardRef(function(r,i){var n=r.children,c=r.getTriggerDOMNode,p=(0,$t.Yr)(n),w=A.useCallback(function(V){(0,$t.mH)(i,c?c(V):V)},[c]),y=(0,$t.x1)(w,(0,$t.C4)(n));return p?A.cloneElement(n,{ref:y}):n}),mn=de,W=A.createContext(null),_t=W;function pe(r){return r?Array.isArray(r)?r:[r]:[]}function Kt(r,i,n,c){return A.useMemo(function(){var p=pe(n!=null?n:i),w=pe(c!=null?c:i),y=new Set(p),V=new Set(w);return r&&(y.has("hover")&&(y.delete("hover"),y.add("click")),V.has("hover")&&(V.delete("hover"),V.add("click"))),[y,V]},[r,i,n,c])}var E=u(29194);function s(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?r[0]===i[0]:r[0]===i[0]&&r[1]===i[1]}function R(r,i,n,c){for(var p=n.points,w=Object.keys(r),y=0;y<w.length;y+=1){var V,P=w[y];if(s((V=r[P])===null||V===void 0?void 0:V.points,p,c))return"".concat(i,"-placement-").concat(P)}return""}function C(r,i,n,c){return i||(n?{motionName:"".concat(r,"-").concat(n)}:c?{motionName:c}:null)}function Q(r){return r.ownerDocument.defaultView}function ie(r){for(var i=[],n=r==null?void 0:r.parentElement,c=["hidden","scroll","clip","auto"];n;){var p=Q(n).getComputedStyle(n),w=p.overflowX,y=p.overflowY,V=p.overflow;[w,y,V].some(function(P){return c.includes(P)})&&i.push(n),n=n.parentElement}return i}function g(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(r)?i:r}function Ie(r){return g(parseFloat(r),0)}function je(r,i){var n=(0,I.Z)({},r);return(i||[]).forEach(function(c){if(!(c instanceof HTMLBodyElement||c instanceof HTMLHtmlElement)){var p=Q(c).getComputedStyle(c),w=p.overflow,y=p.overflowClipMargin,V=p.borderTopWidth,P=p.borderBottomWidth,k=p.borderLeftWidth,$=p.borderRightWidth,H=c.getBoundingClientRect(),D=c.offsetHeight,Z=c.clientHeight,z=c.offsetWidth,Ce=c.clientWidth,Se=Ie(V),X=Ie(P),Pe=Ie(k),me=Ie($),We=g(Math.round(H.width/z*1e3)/1e3),be=g(Math.round(H.height/D*1e3)/1e3),Y=(z-Ce-Pe-me)*We,Ct=(D-Z-Se-X)*be,gt=Se*be,ue=X*be,Mt=Pe*We,tn=me*We,Ot=0,wt=0;if(w==="clip"){var At=Ie(y);Ot=At*We,wt=At*be}var Et=H.x+Mt-Ot,ct=H.y+gt-wt,Ge=Et+H.width+2*Ot-Mt-tn-Y,Ne=ct+H.height+2*wt-gt-ue-Ct;n.left=Math.max(n.left,Et),n.top=Math.max(n.top,ct),n.right=Math.min(n.right,Ge),n.bottom=Math.min(n.bottom,Ne)}}),n}function Fe(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(i),c=n.match(/^(.*)\%$/);return c?r*(parseFloat(c[1])/100):parseFloat(n)}function Ue(r,i){var n=i||[],c=(0,B.Z)(n,2),p=c[0],w=c[1];return[Fe(r.width,p),Fe(r.height,w)]}function De(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[r[0],r[1]]}function xt(r,i){var n=i[0],c=i[1],p,w;return n==="t"?w=r.y:n==="b"?w=r.y+r.height:w=r.y+r.height/2,c==="l"?p=r.x:c==="r"?p=r.x+r.width:p=r.x+r.width/2,{x:p,y:w}}function st(r,i){var n={t:"b",b:"t",l:"r",r:"l"};return r.map(function(c,p){return p===i?n[c]||"c":c}).join("")}function Xt(r,i,n,c,p,w,y){var V=A.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:p[c]||{}}),P=(0,B.Z)(V,2),k=P[0],$=P[1],H=A.useRef(0),D=A.useMemo(function(){return i?ie(i):[]},[i]),Z=A.useRef({}),z=function(){Z.current={}};r||z();var Ce=(0,a.Z)(function(){if(i&&n&&r){let dt=function($n,ne){var xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:x,ye=he.x+$n,Me=he.y+ne,tt=ye+St,Dt=Me+Ht,Fn=Math.max(ye,xe.left),_=Math.max(Me,xe.top),ve=Math.min(tt,xe.right),Be=Math.min(Dt,xe.bottom);return Math.max(0,(ve-Fn)*(Be-_))},Kn=function(){yn=he.y+Ee,an=yn+Ht,Rt=he.x+Ze,Re=Rt+St};var Pe,me,We,be,Y=i,Ct=Y.ownerDocument,gt=Q(Y),ue=gt.getComputedStyle(Y),Mt=ue.position,tn=Y.style.left,Ot=Y.style.top,wt=Y.style.right,At=Y.style.bottom,Et=Y.style.overflow,ct=(0,I.Z)((0,I.Z)({},p[c]),w),Ge=Ct.createElement("div");(Pe=Y.parentElement)===null||Pe===void 0||Pe.appendChild(Ge),Ge.style.left="".concat(Y.offsetLeft,"px"),Ge.style.top="".concat(Y.offsetTop,"px"),Ge.style.position=Mt,Ge.style.height="".concat(Y.offsetHeight,"px"),Ge.style.width="".concat(Y.offsetWidth,"px"),Y.style.left="0",Y.style.top="0",Y.style.right="auto",Y.style.bottom="auto",Y.style.overflow="hidden";var Ne;if(Array.isArray(n))Ne={x:n[0],y:n[1],width:0,height:0};else{var ft,nt,Pt=n.getBoundingClientRect();Pt.x=(ft=Pt.x)!==null&&ft!==void 0?ft:Pt.left,Pt.y=(nt=Pt.y)!==null&&nt!==void 0?nt:Pt.top,Ne={x:Pt.x,y:Pt.y,width:Pt.width,height:Pt.height}}var he=Y.getBoundingClientRect(),Ut=gt.getComputedStyle(Y),gn=Ut.height,Qt=Ut.width;he.x=(me=he.x)!==null&&me!==void 0?me:he.left,he.y=(We=he.y)!==null&&We!==void 0?We:he.top;var Yt=Ct.documentElement,_e=Yt.clientWidth,it=Yt.clientHeight,Tt=Yt.scrollWidth,Vt=Yt.scrollHeight,yt=Yt.scrollTop,Je=Yt.scrollLeft,Ht=he.height,St=he.width,Qe=Ne.height,nn=Ne.width,bn={left:0,top:0,right:_e,bottom:it},Gt={left:-Je,top:-yt,right:Tt-Je,bottom:Vt-yt},t=ct.htmlRegion,e="visible",v="visibleFirst";t!=="scroll"&&t!==v&&(t=e);var l=t===v,S=je(Gt,D),b=je(bn,D),x=t===e?b:S,d=l?b:x;Y.style.left="auto",Y.style.top="auto",Y.style.right="0",Y.style.bottom="0";var M=Y.getBoundingClientRect();Y.style.left=tn,Y.style.top=Ot,Y.style.right=wt,Y.style.bottom=At,Y.style.overflow=Et,(be=Y.parentElement)===null||be===void 0||be.removeChild(Ge);var N=g(Math.round(St/parseFloat(Qt)*1e3)/1e3),j=g(Math.round(Ht/parseFloat(gn)*1e3)/1e3);if(N===0||j===0||(0,ut.Sh)(n)&&!(0,E.Z)(n))return;var ee=ct.offset,ge=ct.targetOffset,O=Ue(he,ee),le=(0,B.Z)(O,2),J=le[0],U=le[1],we=Ue(Ne,ge),F=(0,B.Z)(we,2),q=F[0],re=F[1];Ne.x-=q,Ne.y-=re;var Le=ct.points||[],se=(0,B.Z)(Le,2),et=se[0],bt=se[1],Ve=De(bt),Oe=De(et),Te=xt(Ne,Ve),Xe=xt(he,Oe),ke=(0,I.Z)({},ct),Ze=Te.x-Xe.x+J,Ee=Te.y-Xe.y+U,T=dt(Ze,Ee),ae=dt(Ze,Ee,b),ce=xt(Ne,["t","l"]),$e=xt(he,["t","l"]),Ae=xt(Ne,["b","r"]),ze=xt(he,["b","r"]),It=ct.overflow||{},sn=It.adjustX,rn=It.adjustY,vt=It.shiftX,pn=It.shiftY,kt=function(ne){return typeof ne=="boolean"?ne:ne>=0},yn,an,Rt,Re;Kn();var m=kt(rn),h=Oe[0]===Ve[0];if(m&&Oe[0]==="t"&&(an>d.bottom||Z.current.bt)){var G=Ee;h?G-=Ht-Qe:G=ce.y-ze.y-U;var K=dt(Ze,G),fe=dt(Ze,G,b);K>T||K===T&&(!l||fe>=ae)?(Z.current.bt=!0,Ee=G,U=-U,ke.points=[st(Oe,0),st(Ve,0)]):Z.current.bt=!1}if(m&&Oe[0]==="b"&&(yn<d.top||Z.current.tb)){var He=Ee;h?He+=Ht-Qe:He=Ae.y-$e.y-U;var Ye=dt(Ze,He),qe=dt(Ze,He,b);Ye>T||Ye===T&&(!l||qe>=ae)?(Z.current.tb=!0,Ee=He,U=-U,ke.points=[st(Oe,0),st(Ve,0)]):Z.current.tb=!1}var qt=kt(sn),Sn=Oe[1]===Ve[1];if(qt&&Oe[1]==="l"&&(Re>d.right||Z.current.rl)){var on=Ze;Sn?on-=St-nn:on=ce.x-ze.x-J;var In=dt(on,Ee),Bt=dt(on,Ee,b);In>T||In===T&&(!l||Bt>=ae)?(Z.current.rl=!0,Ze=on,J=-J,ke.points=[st(Oe,1),st(Ve,1)]):Z.current.rl=!1}if(qt&&Oe[1]==="r"&&(Rt<d.left||Z.current.lr)){var zn=Ze;Sn?zn+=St-nn:zn=Ae.x-$e.x-J;var kn=dt(zn,Ee),Rn=dt(zn,Ee,b);kn>T||kn===T&&(!l||Rn>=ae)?(Z.current.lr=!0,Ze=zn,J=-J,ke.points=[st(Oe,1),st(Ve,1)]):Z.current.lr=!1}Kn();var Ft=vt===!0?0:vt;typeof Ft=="number"&&(Rt<b.left&&(Ze-=Rt-b.left-J,Ne.x+nn<b.left+Ft&&(Ze+=Ne.x-b.left+nn-Ft)),Re>b.right&&(Ze-=Re-b.right-J,Ne.x>b.right-Ft&&(Ze+=Ne.x-b.right+Ft)));var ln=pn===!0?0:pn;typeof ln=="number"&&(yn<b.top&&(Ee-=yn-b.top-U,Ne.y+Qe<b.top+ln&&(Ee+=Ne.y-b.top+Qe-ln)),an>b.bottom&&(Ee-=an-b.bottom-U,Ne.y>b.bottom-ln&&(Ee+=Ne.y-b.bottom+ln)));var Wt=he.x+Ze,Zn=Wt+St,Bn=he.y+Ee,Wn=Bn+Ht,Nn=Ne.x,Dn=Nn+nn,jn=Ne.y,Tn=jn+Qe,Xn=Math.max(Wt,Nn),xn=Math.min(Zn,Dn),rr=(Xn+xn)/2,Yn=rr-Wt,_n=Math.max(Bn,jn),ar=Math.min(Wn,Tn),qn=(_n+ar)/2,er=qn-Bn;y==null||y(i,ke);var Mn=M.right-he.x-(Ze+he.width),Hn=M.bottom-he.y-(Ee+he.height);N===1&&(Ze=Math.round(Ze),Mn=Math.round(Mn)),j===1&&(Ee=Math.round(Ee),Hn=Math.round(Hn));var Jn={ready:!0,offsetX:Ze/N,offsetY:Ee/j,offsetR:Mn/N,offsetB:Hn/j,arrowX:Yn/N,arrowY:er/j,scaleX:N,scaleY:j,align:ke};$(Jn)}}),Se=function(){H.current+=1;var me=H.current;Promise.resolve().then(function(){H.current===me&&Ce()})},X=function(){$(function(me){return(0,I.Z)((0,I.Z)({},me),{},{ready:!1})})};return(0,o.Z)(X,[c]),(0,o.Z)(function(){r||X()},[r]),[k.ready,k.offsetX,k.offsetY,k.offsetR,k.offsetB,k.arrowX,k.arrowY,k.scaleX,k.scaleY,k.align,Se]}var hn=u(94480);function un(r,i,n,c,p){(0,o.Z)(function(){if(r&&i&&n){let H=function(){c(),p()};var w=i,y=n,V=ie(w),P=ie(y),k=Q(y),$=new Set([k].concat((0,hn.Z)(V),(0,hn.Z)(P)));return $.forEach(function(D){D.addEventListener("scroll",H,{passive:!0})}),k.addEventListener("resize",H,{passive:!0}),c(),function(){$.forEach(function(D){D.removeEventListener("scroll",H),k.removeEventListener("resize",H)})}}},[r,i,n])}var ht=u(48736);function en(r,i,n,c,p,w,y,V){var P=A.useRef(r);P.current=r;var k=A.useRef(!1);A.useEffect(function(){if(i&&c&&(!p||w)){var H=function(){k.current=!1},D=function(We){var be;P.current&&!y(((be=We.composedPath)===null||be===void 0||(be=be.call(We))===null||be===void 0?void 0:be[0])||We.target)&&!k.current&&V(!1)},Z=Q(c);Z.addEventListener("pointerdown",H,!0),Z.addEventListener("mousedown",D,!0),Z.addEventListener("contextmenu",D,!0);var z=(0,mt.A)(n);if(z&&(z.addEventListener("mousedown",D,!0),z.addEventListener("contextmenu",D,!0)),0)var Ce,Se,X,Pe;return function(){Z.removeEventListener("pointerdown",H,!0),Z.removeEventListener("mousedown",D,!0),Z.removeEventListener("contextmenu",D,!0),z&&(z.removeEventListener("mousedown",D,!0),z.removeEventListener("contextmenu",D,!0))}}},[i,n,c,p,w]);function $(){k.current=!0}return $}var jt=["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 Jt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:te.Z,i=A.forwardRef(function(n,c){var p=n.prefixCls,w=p===void 0?"rc-trigger-popup":p,y=n.children,V=n.action,P=V===void 0?"hover":V,k=n.showAction,$=n.hideAction,H=n.popupVisible,D=n.defaultPopupVisible,Z=n.onPopupVisibleChange,z=n.afterPopupVisibleChange,Ce=n.mouseEnterDelay,Se=n.mouseLeaveDelay,X=Se===void 0?.1:Se,Pe=n.focusDelay,me=n.blurDelay,We=n.mask,be=n.maskClosable,Y=be===void 0?!0:be,Ct=n.getPopupContainer,gt=n.forceRender,ue=n.autoDestroy,Mt=n.destroyPopupOnHide,tn=n.popup,Ot=n.popupClassName,wt=n.popupStyle,At=n.popupPlacement,Et=n.builtinPlacements,ct=Et===void 0?{}:Et,Ge=n.popupAlign,Ne=n.zIndex,ft=n.stretch,nt=n.getPopupClassNameFromAlign,Pt=n.fresh,he=n.alignPoint,Ut=n.onPopupClick,gn=n.onPopupAlign,Qt=n.arrow,Yt=n.popupMotion,_e=n.maskMotion,it=n.popupTransitionName,Tt=n.popupAnimation,Vt=n.maskTransitionName,yt=n.maskAnimation,Je=n.className,Ht=n.getTriggerDOMNode,St=(0,oe.Z)(n,jt),Qe=ue||Mt||!1,nn=A.useState(!1),bn=(0,B.Z)(nn,2),Gt=bn[0],t=bn[1];(0,o.Z)(function(){t((0,fn.Z)())},[]);var e=A.useRef({}),v=A.useContext(_t),l=A.useMemo(function(){return{registerSubPopup:function(ve,Be){e.current[ve]=Be,v==null||v.registerSubPopup(ve,Be)}}},[v]),S=(0,pt.Z)(),b=A.useState(null),x=(0,B.Z)(b,2),d=x[0],M=x[1],N=A.useRef(null),j=(0,a.Z)(function(_){N.current=_,(0,ut.Sh)(_)&&d!==_&&M(_),v==null||v.registerSubPopup(S,_)}),ee=A.useState(null),ge=(0,B.Z)(ee,2),O=ge[0],le=ge[1],J=A.useRef(null),U=(0,a.Z)(function(_){(0,ut.Sh)(_)&&O!==_&&(le(_),J.current=_)}),we=A.Children.only(y),F=(we==null?void 0:we.props)||{},q={},re=(0,a.Z)(function(_){var ve,Be,zt=O;return(zt==null?void 0:zt.contains(_))||((ve=(0,mt.A)(zt))===null||ve===void 0?void 0:ve.host)===_||_===zt||(d==null?void 0:d.contains(_))||((Be=(0,mt.A)(d))===null||Be===void 0?void 0:Be.host)===_||_===d||Object.values(e.current).some(function(Zt){return(Zt==null?void 0:Zt.contains(_))||_===Zt})}),Le=C(w,Yt,Tt,it),se=C(w,_e,yt,Vt),et=A.useState(D||!1),bt=(0,B.Z)(et,2),Ve=bt[0],Oe=bt[1],Te=H!=null?H:Ve,Xe=(0,a.Z)(function(_){H===void 0&&Oe(_)});(0,o.Z)(function(){Oe(H||!1)},[H]);var ke=A.useRef(Te);ke.current=Te;var Ze=A.useRef([]);Ze.current=[];var Ee=(0,a.Z)(function(_){var ve;Xe(_),((ve=Ze.current[Ze.current.length-1])!==null&&ve!==void 0?ve:Te)!==_&&(Ze.current.push(_),Z==null||Z(_))}),T=A.useRef(),ae=function(){clearTimeout(T.current)},ce=function(ve){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ae(),Be===0?Ee(ve):T.current=setTimeout(function(){Ee(ve)},Be*1e3)};A.useEffect(function(){return ae},[]);var $e=A.useState(!1),Ae=(0,B.Z)($e,2),ze=Ae[0],It=Ae[1];(0,o.Z)(function(_){(!_||Te)&&It(!0)},[Te]);var sn=A.useState(null),rn=(0,B.Z)(sn,2),vt=rn[0],pn=rn[1],kt=A.useState(null),yn=(0,B.Z)(kt,2),an=yn[0],Rt=yn[1],Re=function(ve){Rt([ve.clientX,ve.clientY])},m=Xt(Te,d,he&&an!==null?an:O,At,ct,Ge,gn),h=(0,B.Z)(m,11),G=h[0],K=h[1],fe=h[2],He=h[3],Ye=h[4],qe=h[5],qt=h[6],Sn=h[7],on=h[8],In=h[9],Bt=h[10],zn=Kt(Gt,P,k,$),kn=(0,B.Z)(zn,2),Rn=kn[0],Ft=kn[1],ln=Rn.has("click"),Wt=Ft.has("click")||Ft.has("contextMenu"),Zn=(0,a.Z)(function(){ze||Bt()}),Bn=function(){ke.current&&he&&Wt&&ce(!1)};un(Te,O,d,Zn,Bn),(0,o.Z)(function(){Zn()},[an,At]),(0,o.Z)(function(){Te&&!(ct!=null&&ct[At])&&Zn()},[JSON.stringify(Ge)]);var Wn=A.useMemo(function(){var _=R(ct,w,In,he);return Nt()(_,nt==null?void 0:nt(In))},[In,nt,ct,w,he]);A.useImperativeHandle(c,function(){return{nativeElement:J.current,popupElement:N.current,forceAlign:Zn}});var Nn=A.useState(0),Dn=(0,B.Z)(Nn,2),jn=Dn[0],Tn=Dn[1],Xn=A.useState(0),xn=(0,B.Z)(Xn,2),rr=xn[0],Yn=xn[1],_n=function(){if(ft&&O){var ve=O.getBoundingClientRect();Tn(ve.width),Yn(ve.height)}},ar=function(){_n(),Zn()},qn=function(ve){It(!1),Bt(),z==null||z(ve)},er=function(){return new Promise(function(ve){_n(),pn(function(){return ve})})};(0,o.Z)(function(){vt&&(Bt(),vt(),pn(null))},[vt]);function Mn(_,ve,Be,zt){q[_]=function(Zt){var tr;zt==null||zt(Zt),ce(ve,Be);for(var lr=arguments.length,nr=new Array(lr>1?lr-1:0),Ln=1;Ln<lr;Ln++)nr[Ln-1]=arguments[Ln];(tr=F[_])===null||tr===void 0||tr.call.apply(tr,[F,Zt].concat(nr))}}(ln||Wt)&&(q.onClick=function(_){var ve;ke.current&&Wt?ce(!1):!ke.current&&ln&&(Re(_),ce(!0));for(var Be=arguments.length,zt=new Array(Be>1?Be-1:0),Zt=1;Zt<Be;Zt++)zt[Zt-1]=arguments[Zt];(ve=F.onClick)===null||ve===void 0||ve.call.apply(ve,[F,_].concat(zt))});var Hn=en(Te,Wt,O,d,We,Y,re,ce),Jn=Rn.has("hover"),dt=Ft.has("hover"),Kn,$n;Jn&&(Mn("onMouseEnter",!0,Ce,function(_){Re(_)}),Mn("onPointerEnter",!0,Ce,function(_){Re(_)}),Kn=function(ve){(Te||ze)&&d!==null&&d!==void 0&&d.contains(ve.target)&&ce(!0,Ce)},he&&(q.onMouseMove=function(_){var ve;(ve=F.onMouseMove)===null||ve===void 0||ve.call(F,_)})),dt&&(Mn("onMouseLeave",!1,X),Mn("onPointerLeave",!1,X),$n=function(){ce(!1,X)}),Rn.has("focus")&&Mn("onFocus",!0,Pe),Ft.has("focus")&&Mn("onBlur",!1,me),Rn.has("contextMenu")&&(q.onContextMenu=function(_){var ve;ke.current&&Ft.has("contextMenu")?ce(!1):(Re(_),ce(!0)),_.preventDefault();for(var Be=arguments.length,zt=new Array(Be>1?Be-1:0),Zt=1;Zt<Be;Zt++)zt[Zt-1]=arguments[Zt];(ve=F.onContextMenu)===null||ve===void 0||ve.call.apply(ve,[F,_].concat(zt))}),Je&&(q.className=Nt()(F.className,Je));var ne=A.useRef(!1);ne.current||(ne.current=gt||Te||ze);var xe=(0,I.Z)((0,I.Z)({},F),q),ye={},Me=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Me.forEach(function(_){St[_]&&(ye[_]=function(){for(var ve,Be=arguments.length,zt=new Array(Be),Zt=0;Zt<Be;Zt++)zt[Zt]=arguments[Zt];(ve=xe[_])===null||ve===void 0||ve.call.apply(ve,[xe].concat(zt)),St[_].apply(St,zt)})});var tt=A.cloneElement(we,(0,I.Z)((0,I.Z)({},xe),ye)),Dt={x:qe,y:qt},Fn=Qt?(0,I.Z)({},Qt!==!0?Qt:{}):null;return A.createElement(A.Fragment,null,A.createElement(lt.Z,{disabled:!Te,ref:U,onResize:ar},A.createElement(mn,{getTriggerDOMNode:Ht},tt)),ne.current&&A.createElement(_t.Provider,{value:l},A.createElement(Pn,{portal:r,ref:j,prefixCls:w,popup:tn,className:Nt()(Ot,Wn),style:wt,target:O,onMouseEnter:Kn,onMouseLeave:$n,onPointerEnter:Kn,zIndex:Ne,open:Te,keepDom:ze,fresh:Pt,onClick:Ut,onPointerDownCapture:Hn,mask:We,motion:Le,maskMotion:se,onVisibleChanged:qn,onPrepare:er,forceRender:gt,autoDestroy:Qe,getPopupContainer:Ct,align:In,arrow:Fn,arrowPos:Dt,ready:G,offsetX:K,offsetY:fe,offsetR:He,offsetB:Ye,onAlign:Zn,stretch:ft,targetWidth:jn/Sn,targetHeight:rr/on})))});return i}var f=Jt(te.Z)},75413:function(Gn,cn,u){u.r(cn),u.d(cn,{default:function(){return mt}});var I=u(59301);function B({item:a,type:pt,page:o}){return I.createElement("div",{style:{display:"flex",alignItems:"center",flexDirection:"initial",height:"37px",background:"#ffffff",padding:"0px 15px"}},I.createElement("span",{style:{flex:"1"}},o===1?pt+1:pt+1+(o-1)*20),I.createElement("span",{style:{flex:"1"}},a.login||"--"),I.createElement("span",{style:{flex:"2"}},a.name||"--"),I.createElement("span",{style:{flex:"2"}},a.register_info||"--"),I.createElement("span",{style:{flex:"1"}},a.competition_info||"--"),I.createElement("span",{style:{flex:"2"}},a.ip||"--"),I.createElement("span",{style:{flex:"2"}},a.username||"--"))}var oe=B,te=u(13747),L=u(65582),Nt=u(38147),lt=(a,pt,o)=>new Promise((fn,A)=>{var wn=at=>{try{$t(o.next(at))}catch(vn){A(vn)}},En=at=>{try{$t(o.throw(at))}catch(vn){A(vn)}},$t=at=>at.done?fn(at.value):Promise.resolve(at.value).then(wn,En);$t((o=o.apply(a,pt)).next())});function ut(a){const pt=(0,L.useParams)(),[o,fn]=(0,I.useState)(1),[A,wn]=(0,I.useState)(20),[En,$t]=(0,I.useState)(),[at,vn]=(0,I.useState)();return(0,I.useEffect)(()=>{function Lt(){return lt(this,null,function*(){const ot=yield(0,Nt.ZP)("/api/user_agents.json",{method:"get",params:{page:o,per_page:A}});ot.status===0&&($t(ot.data.user_agents),vn(ot.data))})}Lt()},[o]),I.createElement("div",{className:"edu-container minH500"},I.createElement("div",{className:"educontent mb20 persmstyle",style:{width:"1200px",marginTop:"26px"}},I.createElement("div",{style:{display:"flex",background:"#ffffff",height:"60px",alignItems:"center",padding:"0px 15px"}},I.createElement("span",null,"\u5F15\u6D41\u603B\u4EBA\u6570\uFF1A",at&&at.agents_count||"0"),I.createElement("span",{style:{marginLeft:"20px"}},"\u7ADE\u8D5B\u6210\u529F\u62A5\u540D\uFF1A",at&&at.action_count||"0")),I.createElement("div",{style:{marginTop:"1px",background:"#ffffff"}},I.createElement("div",{style:{display:"flex",alignItems:"center",flexDirection:"initial",height:"37px",background:"#ffffff",padding:"0px 15px"}},I.createElement("span",{style:{flex:"1"}},"\u5E8F\u53F7"),I.createElement("span",{style:{flex:"1"}},"\u4EE3\u7406\u4EBA\u767B\u5F55\u540D"),I.createElement("span",{style:{flex:"2"}},"\u4EE3\u7406\u4EBA\u59D3\u540D"),I.createElement("span",{style:{flex:"2"}},"\u6CE8\u518C\u60C5\u51B5"),I.createElement("span",{style:{flex:"1"}},"\u7ADE\u8D5B\u62A5\u540D"),I.createElement("span",{style:{flex:"2"}},"IP"),I.createElement("span",{style:{flex:"2"}},"\u5F15\u6D41\u4EBA\u59D3\u540D")),I.createElement("div",{style:{border:"1px solid #fafafa",minHeight:"400px"}},En&&En.map((Lt,ot)=>I.createElement(oe,{page:o,item:Lt,type:ot})))),at&&at.agents_count>20?I.createElement("div",{style:{justifyContent:"center",display:"flex",marginTop:"20px"}},I.createElement(te.Z,{defaultCurrent:1,defaultPageSize:20,onChange:(Lt,ot)=>fn(Lt),total:at&&at.agents_count})):""))}var mt=ut},83836:function(Gn,cn,u){u.d(cn,{Z:function(){return ie}});var I=u(54476),B=u(33885),oe=u(42978),te=u(75931),L=u(59301),Nt=u(92310),lt=u.n(Nt),ut=u(29301),mt=u(34280),a=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],pt=void 0;function o(g,Ie){var je=g.prefixCls,Fe=g.invalidate,Ue=g.item,De=g.renderItem,xt=g.responsive,st=g.responsiveDisabled,Xt=g.registerSize,hn=g.itemKey,un=g.className,ht=g.style,en=g.children,jt=g.display,Jt=g.order,f=g.component,r=f===void 0?"div":f,i=(0,te.Z)(g,a),n=xt&&!jt;function c(P){Xt(hn,P)}L.useEffect(function(){return function(){c(null)}},[]);var p=De&&Ue!==pt?De(Ue,{index:Jt}):en,w;Fe||(w={opacity:n?0:1,height:n?0:pt,overflowY:n?"hidden":pt,order:xt?Jt:pt,pointerEvents:n?"none":pt,position:n?"absolute":pt});var y={};n&&(y["aria-hidden"]=!0);var V=L.createElement(r,(0,I.Z)({className:lt()(!Fe&&je,un),style:(0,B.Z)((0,B.Z)({},w),ht)},y,i,{ref:Ie}),p);return xt&&(V=L.createElement(ut.Z,{onResize:function(k){var $=k.offsetWidth;c($)},disabled:st},V)),V}var fn=L.forwardRef(o);fn.displayName="Item";var A=fn,wn=u(6089),En=u(4676),$t=u(16089);function at(g){if(typeof MessageChannel=="undefined")(0,$t.Z)(g);else{var Ie=new MessageChannel;Ie.port1.onmessage=function(){return g()},Ie.port2.postMessage(void 0)}}function vn(){var g=L.useRef(null),Ie=function(Fe){g.current||(g.current=[],at(function(){(0,En.unstable_batchedUpdates)(function(){g.current.forEach(function(Ue){Ue()}),g.current=null})})),g.current.push(Fe)};return Ie}function Lt(g,Ie){var je=L.useState(Ie),Fe=(0,oe.Z)(je,2),Ue=Fe[0],De=Fe[1],xt=(0,wn.Z)(function(st){g(function(){De(st)})});return[Ue,xt]}var ot=L.createContext(null),dn=["component"],Pn=["className"],de=["className"],mn=function(Ie,je){var Fe=L.useContext(ot);if(!Fe){var Ue=Ie.component,De=Ue===void 0?"div":Ue,xt=(0,te.Z)(Ie,dn);return L.createElement(De,(0,I.Z)({},xt,{ref:je}))}var st=Fe.className,Xt=(0,te.Z)(Fe,Pn),hn=Ie.className,un=(0,te.Z)(Ie,de);return L.createElement(ot.Provider,{value:null},L.createElement(A,(0,I.Z)({ref:je,className:lt()(st,hn)},Xt,un)))},W=L.forwardRef(mn);W.displayName="RawItem";var _t=W,pe=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Kt="responsive",E="invalidate";function s(g){return"+ ".concat(g.length," ...")}function R(g,Ie){var je=g.prefixCls,Fe=je===void 0?"rc-overflow":je,Ue=g.data,De=Ue===void 0?[]:Ue,xt=g.renderItem,st=g.renderRawItem,Xt=g.itemKey,hn=g.itemWidth,un=hn===void 0?10:hn,ht=g.ssr,en=g.style,jt=g.className,Jt=g.maxCount,f=g.renderRest,r=g.renderRawRest,i=g.prefix,n=g.suffix,c=g.component,p=c===void 0?"div":c,w=g.itemComponent,y=g.onVisibleChange,V=(0,te.Z)(g,pe),P=ht==="full",k=vn(),$=Lt(k,null),H=(0,oe.Z)($,2),D=H[0],Z=H[1],z=D||0,Ce=Lt(k,new Map),Se=(0,oe.Z)(Ce,2),X=Se[0],Pe=Se[1],me=Lt(k,0),We=(0,oe.Z)(me,2),be=We[0],Y=We[1],Ct=Lt(k,0),gt=(0,oe.Z)(Ct,2),ue=gt[0],Mt=gt[1],tn=Lt(k,0),Ot=(0,oe.Z)(tn,2),wt=Ot[0],At=Ot[1],Et=Lt(k,0),ct=(0,oe.Z)(Et,2),Ge=ct[0],Ne=ct[1],ft=(0,L.useState)(null),nt=(0,oe.Z)(ft,2),Pt=nt[0],he=nt[1],Ut=(0,L.useState)(null),gn=(0,oe.Z)(Ut,2),Qt=gn[0],Yt=gn[1],_e=L.useMemo(function(){return Qt===null&&P?Number.MAX_SAFE_INTEGER:Qt||0},[Qt,D]),it=(0,L.useState)(!1),Tt=(0,oe.Z)(it,2),Vt=Tt[0],yt=Tt[1],Je="".concat(Fe,"-item"),Ht=Math.max(be,ue),St=Jt===Kt,Qe=De.length&&St,nn=Jt===E,bn=Qe||typeof Jt=="number"&&De.length>Jt,Gt=(0,L.useMemo)(function(){var F=De;return Qe?D===null&&P?F=De:F=De.slice(0,Math.min(De.length,z/un)):typeof Jt=="number"&&(F=De.slice(0,Jt)),F},[De,un,D,Jt,Qe]),t=(0,L.useMemo)(function(){return Qe?De.slice(_e+1):De.slice(Gt.length)},[De,Gt,Qe,_e]),e=(0,L.useCallback)(function(F,q){var re;return typeof Xt=="function"?Xt(F):(re=Xt&&(F==null?void 0:F[Xt]))!==null&&re!==void 0?re:q},[Xt]),v=(0,L.useCallback)(xt||function(F){return F},[xt]);function l(F,q,re){Qt===F&&(q===void 0||q===Pt)||(Yt(F),re||(yt(F<De.length-1),y==null||y(F)),q!==void 0&&he(q))}function S(F,q){Z(q.clientWidth)}function b(F,q){Pe(function(re){var Le=new Map(re);return q===null?Le.delete(F):Le.set(F,q),Le})}function x(F,q){Mt(q),Y(ue)}function d(F,q){At(q)}function M(F,q){Ne(q)}function N(F){return X.get(e(Gt[F],F))}(0,mt.Z)(function(){if(z&&typeof Ht=="number"&&Gt){var F=wt+Ge,q=Gt.length,re=q-1;if(!q){l(0,null);return}for(var Le=0;Le<q;Le+=1){var se=N(Le);if(P&&(se=se||0),se===void 0){l(Le-1,void 0,!0);break}if(F+=se,re===0&&F<=z||Le===re-1&&F+N(re)<=z){l(re,null);break}else if(F+Ht>z){l(Le-1,F-se-Ge+ue);break}}n&&N(0)+Ge>z&&he(null)}},[z,X,ue,wt,Ge,e,Gt]);var j=Vt&&!!t.length,ee={};Pt!==null&&Qe&&(ee={position:"absolute",left:Pt,top:0});var ge={prefixCls:Je,responsive:Qe,component:w,invalidate:nn},O=st?function(F,q){var re=e(F,q);return L.createElement(ot.Provider,{key:re,value:(0,B.Z)((0,B.Z)({},ge),{},{order:q,item:F,itemKey:re,registerSize:b,display:q<=_e})},st(F,q))}:function(F,q){var re=e(F,q);return L.createElement(A,(0,I.Z)({},ge,{order:q,key:re,item:F,renderItem:v,itemKey:re,registerSize:b,display:q<=_e}))},le={order:j?_e:Number.MAX_SAFE_INTEGER,className:"".concat(Je,"-rest"),registerSize:x,display:j},J=f||s,U=r?L.createElement(ot.Provider,{value:(0,B.Z)((0,B.Z)({},ge),le)},r(t)):L.createElement(A,(0,I.Z)({},ge,le),typeof J=="function"?J(t):J),we=L.createElement(p,(0,I.Z)({className:lt()(!nn&&Fe,jt),style:en,ref:Ie},V),i&&L.createElement(A,(0,I.Z)({},ge,{responsive:St,responsiveDisabled:!Qe,order:-1,className:"".concat(Je,"-prefix"),registerSize:d,display:!0}),i),Gt.map(O),bn?U:null,n&&L.createElement(A,(0,I.Z)({},ge,{responsive:St,responsiveDisabled:!Qe,order:_e,className:"".concat(Je,"-suffix"),registerSize:M,display:!0,style:ee}),n));return St?L.createElement(ut.Z,{onResize:S,disabled:!Qe},we):we}var C=L.forwardRef(R);C.displayName="Overflow",C.Item=_t,C.RESPONSIVE=Kt,C.INVALIDATE=E;var Q=C,ie=Q},23425:function(Gn,cn,u){u.d(cn,{Z:function(){return de}});var I=u(20068),B=u(54476),oe=u(76190),te=u(33885),L=u(42978),Nt=u(92310),lt=u.n(Nt),ut=u(18929),mt=u(10228),a=u(26112),pt=u(48736),o=u(59301),fn=u(17119),A=[10,20,50,100],wn=function(W){var _t=W.pageSizeOptions,pe=_t===void 0?A:_t,Kt=W.locale,E=W.changeSize,s=W.pageSize,R=W.goButton,C=W.quickGo,Q=W.rootPrefixCls,ie=W.disabled,g=W.buildOptionText,Ie=W.showSizeChanger,je=W.sizeChangerRender,Fe=o.useState(""),Ue=(0,L.Z)(Fe,2),De=Ue[0],xt=Ue[1],st=function(){return!De||Number.isNaN(De)?void 0:Number(De)},Xt=typeof g=="function"?g:function(i){return"".concat(i," ").concat(Kt.items_per_page)},hn=function(n){xt(n.target.value)},un=function(n){R||De===""||(xt(""),!(n.relatedTarget&&(n.relatedTarget.className.indexOf("".concat(Q,"-item-link"))>=0||n.relatedTarget.className.indexOf("".concat(Q,"-item"))>=0))&&(C==null||C(st())))},ht=function(n){De!==""&&(n.keyCode===mt.Z.ENTER||n.type==="click")&&(xt(""),C==null||C(st()))},en=function(){return pe.some(function(n){return n.toString()===s.toString()})?pe:pe.concat([s]).sort(function(n,c){var p=Number.isNaN(Number(n))?0:Number(n),w=Number.isNaN(Number(c))?0:Number(c);return p-w})},jt="".concat(Q,"-options");if(!Ie&&!C)return null;var Jt=null,f=null,r=null;return Ie&&je&&(Jt=je({disabled:ie,size:s,onSizeChange:function(n){E==null||E(Number(n))},"aria-label":Kt.page_size,className:"".concat(jt,"-size-changer"),options:en().map(function(i){return{label:Xt(i),value:i}})})),C&&(R&&(r=typeof R=="boolean"?o.createElement("button",{type:"button",onClick:ht,onKeyUp:ht,disabled:ie,className:"".concat(jt,"-quick-jumper-button")},Kt.jump_to_confirm):o.createElement("span",{onClick:ht,onKeyUp:ht},R)),f=o.createElement("div",{className:"".concat(jt,"-quick-jumper")},Kt.jump_to,o.createElement("input",{disabled:ie,type:"text",value:De,onChange:hn,onKeyUp:ht,onBlur:un,"aria-label":Kt.page}),Kt.page,r)),o.createElement("li",{className:jt},Jt,f)},En=wn,$t=function(W){var _t=W.rootPrefixCls,pe=W.page,Kt=W.active,E=W.className,s=W.showTitle,R=W.onClick,C=W.onKeyPress,Q=W.itemRender,ie="".concat(_t,"-item"),g=lt()(ie,"".concat(ie,"-").concat(pe),(0,I.Z)((0,I.Z)({},"".concat(ie,"-active"),Kt),"".concat(ie,"-disabled"),!pe),E),Ie=function(){R(pe)},je=function(De){C(De,R,pe)},Fe=Q(pe,"page",o.createElement("a",{rel:"nofollow"},pe));return Fe?o.createElement("li",{title:s?String(pe):null,className:g,onClick:Ie,onKeyDown:je,tabIndex:0},Fe):null},at=$t,vn=function(W,_t,pe){return pe};function Lt(){}function ot(mn){var W=Number(mn);return typeof W=="number"&&!Number.isNaN(W)&&isFinite(W)&&Math.floor(W)===W}function dn(mn,W,_t){var pe=typeof mn=="undefined"?W:mn;return Math.floor((_t-1)/pe)+1}var Pn=function(W){var _t=W.prefixCls,pe=_t===void 0?"rc-pagination":_t,Kt=W.selectPrefixCls,E=Kt===void 0?"rc-select":Kt,s=W.className,R=W.current,C=W.defaultCurrent,Q=C===void 0?1:C,ie=W.total,g=ie===void 0?0:ie,Ie=W.pageSize,je=W.defaultPageSize,Fe=je===void 0?10:je,Ue=W.onChange,De=Ue===void 0?Lt:Ue,xt=W.hideOnSinglePage,st=W.align,Xt=W.showPrevNextJumpers,hn=Xt===void 0?!0:Xt,un=W.showQuickJumper,ht=W.showLessItems,en=W.showTitle,jt=en===void 0?!0:en,Jt=W.onShowSizeChange,f=Jt===void 0?Lt:Jt,r=W.locale,i=r===void 0?fn.Z:r,n=W.style,c=W.totalBoundaryShowSizeChanger,p=c===void 0?50:c,w=W.disabled,y=W.simple,V=W.showTotal,P=W.showSizeChanger,k=P===void 0?g>p:P,$=W.sizeChangerRender,H=W.pageSizeOptions,D=W.itemRender,Z=D===void 0?vn:D,z=W.jumpPrevIcon,Ce=W.jumpNextIcon,Se=W.prevIcon,X=W.nextIcon,Pe=o.useRef(null),me=(0,ut.Z)(10,{value:Ie,defaultValue:Fe}),We=(0,L.Z)(me,2),be=We[0],Y=We[1],Ct=(0,ut.Z)(1,{value:R,defaultValue:Q,postState:function(ae){return Math.max(1,Math.min(ae,dn(void 0,be,g)))}}),gt=(0,L.Z)(Ct,2),ue=gt[0],Mt=gt[1],tn=o.useState(ue),Ot=(0,L.Z)(tn,2),wt=Ot[0],At=Ot[1];(0,o.useEffect)(function(){At(ue)},[ue]);var Et=De!==Lt,ct="current"in W,Ge=Math.max(1,ue-(ht?3:5)),Ne=Math.min(dn(void 0,be,g),ue+(ht?3:5));function ft(T,ae){var ce=T||o.createElement("button",{type:"button","aria-label":ae,className:"".concat(pe,"-item-link")});return typeof T=="function"&&(ce=o.createElement(T,(0,te.Z)({},W))),ce}function nt(T){var ae=T.target.value,ce=dn(void 0,be,g),$e;return ae===""?$e=ae:Number.isNaN(Number(ae))?$e=wt:ae>=ce?$e=ce:$e=Number(ae),$e}function Pt(T){return ot(T)&&T!==ue&&ot(g)&&g>0}var he=g>be?un:!1;function Ut(T){(T.keyCode===mt.Z.UP||T.keyCode===mt.Z.DOWN)&&T.preventDefault()}function gn(T){var ae=nt(T);switch(ae!==wt&&At(ae),T.keyCode){case mt.Z.ENTER:_e(ae);break;case mt.Z.UP:_e(ae-1);break;case mt.Z.DOWN:_e(ae+1);break;default:break}}function Qt(T){_e(nt(T))}function Yt(T){var ae=dn(T,be,g),ce=ue>ae&&ae!==0?ae:ue;Y(T),At(ce),f==null||f(ue,T),Mt(ce),De==null||De(ce,T)}function _e(T){if(Pt(T)&&!w){var ae=dn(void 0,be,g),ce=T;return T>ae?ce=ae:T<1&&(ce=1),ce!==wt&&At(ce),Mt(ce),De==null||De(ce,be),ce}return ue}var it=ue>1,Tt=ue<dn(void 0,be,g);function Vt(){it&&_e(ue-1)}function yt(){Tt&&_e(ue+1)}function Je(){_e(Ge)}function Ht(){_e(Ne)}function St(T,ae){if(T.key==="Enter"||T.charCode===mt.Z.ENTER||T.keyCode===mt.Z.ENTER){for(var ce=arguments.length,$e=new Array(ce>2?ce-2:0),Ae=2;Ae<ce;Ae++)$e[Ae-2]=arguments[Ae];ae.apply(void 0,$e)}}function Qe(T){St(T,Vt)}function nn(T){St(T,yt)}function bn(T){St(T,Je)}function Gt(T){St(T,Ht)}function t(T){var ae=Z(T,"prev",ft(Se,"prev page"));return o.isValidElement(ae)?o.cloneElement(ae,{disabled:!it}):ae}function e(T){var ae=Z(T,"next",ft(X,"next page"));return o.isValidElement(ae)?o.cloneElement(ae,{disabled:!Tt}):ae}function v(T){(T.type==="click"||T.keyCode===mt.Z.ENTER)&&_e(wt)}var l=null,S=(0,a.Z)(W,{aria:!0,data:!0}),b=V&&o.createElement("li",{className:"".concat(pe,"-total-text")},V(g,[g===0?0:(ue-1)*be+1,ue*be>g?g:ue*be])),x=null,d=dn(void 0,be,g);if(xt&&g<=be)return null;var M=[],N={rootPrefixCls:pe,onClick:_e,onKeyPress:St,showTitle:jt,itemRender:Z,page:-1},j=ue-1>0?ue-1:0,ee=ue+1<d?ue+1:d,ge=un&&un.goButton,O=(0,oe.Z)(y)==="object"?y.readOnly:!y,le=ge,J=null;y&&(ge&&(typeof ge=="boolean"?le=o.createElement("button",{type:"button",onClick:v,onKeyUp:v},i.jump_to_confirm):le=o.createElement("span",{onClick:v,onKeyUp:v},ge),le=o.createElement("li",{title:jt?"".concat(i.jump_to).concat(ue,"/").concat(d):null,className:"".concat(pe,"-simple-pager")},le)),J=o.createElement("li",{title:jt?"".concat(ue,"/").concat(d):null,className:"".concat(pe,"-simple-pager")},O?wt:o.createElement("input",{type:"text","aria-label":i.jump_to,value:wt,disabled:w,onKeyDown:Ut,onKeyUp:gn,onChange:gn,onBlur:Qt,size:3}),o.createElement("span",{className:"".concat(pe,"-slash")},"/"),d));var U=ht?1:2;if(d<=3+U*2){d||M.push(o.createElement(at,(0,B.Z)({},N,{key:"noPager",page:1,className:"".concat(pe,"-item-disabled")})));for(var we=1;we<=d;we+=1)M.push(o.createElement(at,(0,B.Z)({},N,{key:we,page:we,active:ue===we})))}else{var F=ht?i.prev_3:i.prev_5,q=ht?i.next_3:i.next_5,re=Z(Ge,"jump-prev",ft(z,"prev page")),Le=Z(Ne,"jump-next",ft(Ce,"next page"));hn&&(l=re?o.createElement("li",{title:jt?F:null,key:"prev",onClick:Je,tabIndex:0,onKeyDown:bn,className:lt()("".concat(pe,"-jump-prev"),(0,I.Z)({},"".concat(pe,"-jump-prev-custom-icon"),!!z))},re):null,x=Le?o.createElement("li",{title:jt?q:null,key:"next",onClick:Ht,tabIndex:0,onKeyDown:Gt,className:lt()("".concat(pe,"-jump-next"),(0,I.Z)({},"".concat(pe,"-jump-next-custom-icon"),!!Ce))},Le):null);var se=Math.max(1,ue-U),et=Math.min(ue+U,d);ue-1<=U&&(et=1+U*2),d-ue<=U&&(se=d-U*2);for(var bt=se;bt<=et;bt+=1)M.push(o.createElement(at,(0,B.Z)({},N,{key:bt,page:bt,active:ue===bt})));if(ue-1>=U*2&&ue!==3&&(M[0]=o.cloneElement(M[0],{className:lt()("".concat(pe,"-item-after-jump-prev"),M[0].props.className)}),M.unshift(l)),d-ue>=U*2&&ue!==d-2){var Ve=M[M.length-1];M[M.length-1]=o.cloneElement(Ve,{className:lt()("".concat(pe,"-item-before-jump-next"),Ve.props.className)}),M.push(x)}se!==1&&M.unshift(o.createElement(at,(0,B.Z)({},N,{key:1,page:1}))),et!==d&&M.push(o.createElement(at,(0,B.Z)({},N,{key:d,page:d})))}var Oe=t(j);if(Oe){var Te=!it||!d;Oe=o.createElement("li",{title:jt?i.prev_page:null,onClick:Vt,tabIndex:Te?null:0,onKeyDown:Qe,className:lt()("".concat(pe,"-prev"),(0,I.Z)({},"".concat(pe,"-disabled"),Te)),"aria-disabled":Te},Oe)}var Xe=e(ee);if(Xe){var ke,Ze;y?(ke=!Tt,Ze=it?0:null):(ke=!Tt||!d,Ze=ke?null:0),Xe=o.createElement("li",{title:jt?i.next_page:null,onClick:yt,tabIndex:Ze,onKeyDown:nn,className:lt()("".concat(pe,"-next"),(0,I.Z)({},"".concat(pe,"-disabled"),ke)),"aria-disabled":ke},Xe)}var Ee=lt()(pe,s,(0,I.Z)((0,I.Z)((0,I.Z)((0,I.Z)((0,I.Z)({},"".concat(pe,"-start"),st==="start"),"".concat(pe,"-center"),st==="center"),"".concat(pe,"-end"),st==="end"),"".concat(pe,"-simple"),y),"".concat(pe,"-disabled"),w));return o.createElement("ul",(0,B.Z)({className:Ee,style:n,ref:Pe},S),b,Oe,y?J:M,Xe,o.createElement(En,{locale:i,rootPrefixCls:pe,disabled:w,selectPrefixCls:E,changeSize:Yt,pageSize:be,pageSizeOptions:H,quickGo:he?_e:null,goButton:le,showSizeChanger:k,sizeChangerRender:$}))},de=Pn},29301:function(Gn,cn,u){u.d(cn,{Z:function(){return E}});var I=u(54476),B=u(59301),oe=u(11592),te=u(48736),L=u(33885),Nt=u(76190),lt=u(76846),ut=u(8654),mt=B.createContext(null);function a(s){var R=s.children,C=s.onBatchResize,Q=B.useRef(0),ie=B.useRef([]),g=B.useContext(mt),Ie=B.useCallback(function(je,Fe,Ue){Q.current+=1;var De=Q.current;ie.current.push({size:je,element:Fe,data:Ue}),Promise.resolve().then(function(){De===Q.current&&(C==null||C(ie.current),ie.current=[])}),g==null||g(je,Fe,Ue)},[C,g]);return B.createElement(mt.Provider,{value:Ie},R)}var pt=u(76374),o=new Map;function fn(s){s.forEach(function(R){var C,Q=R.target;(C=o.get(Q))===null||C===void 0||C.forEach(function(ie){return ie(Q)})})}var A=new pt.Z(fn),wn=null,En=null;function $t(s,R){o.has(s)||(o.set(s,new Set),A.observe(s)),o.get(s).add(R)}function at(s,R){o.has(s)&&(o.get(s).delete(R),o.get(s).size||(A.unobserve(s),o.delete(s)))}var vn=u(67732),Lt=u(83652),ot=u(42403),dn=u(158),Pn=function(s){(0,ot.Z)(C,s);var R=(0,dn.Z)(C);function C(){return(0,vn.Z)(this,C),R.apply(this,arguments)}return(0,Lt.Z)(C,[{key:"render",value:function(){return this.props.children}}]),C}(B.Component);function de(s,R){var C=s.children,Q=s.disabled,ie=B.useRef(null),g=B.useRef(null),Ie=B.useContext(mt),je=typeof C=="function",Fe=je?C(ie):C,Ue=B.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),De=!je&&B.isValidElement(Fe)&&(0,ut.Yr)(Fe),xt=De?(0,ut.C4)(Fe):null,st=(0,ut.x1)(xt,ie),Xt=function(){var en;return(0,lt.ZP)(ie.current)||(ie.current&&(0,Nt.Z)(ie.current)==="object"?(0,lt.ZP)((en=ie.current)===null||en===void 0?void 0:en.nativeElement):null)||(0,lt.ZP)(g.current)};B.useImperativeHandle(R,function(){return Xt()});var hn=B.useRef(s);hn.current=s;var un=B.useCallback(function(ht){var en=hn.current,jt=en.onResize,Jt=en.data,f=ht.getBoundingClientRect(),r=f.width,i=f.height,n=ht.offsetWidth,c=ht.offsetHeight,p=Math.floor(r),w=Math.floor(i);if(Ue.current.width!==p||Ue.current.height!==w||Ue.current.offsetWidth!==n||Ue.current.offsetHeight!==c){var y={width:p,height:w,offsetWidth:n,offsetHeight:c};Ue.current=y;var V=n===Math.round(r)?r:n,P=c===Math.round(i)?i:c,k=(0,L.Z)((0,L.Z)({},y),{},{offsetWidth:V,offsetHeight:P});Ie==null||Ie(k,ht,Jt),jt&&Promise.resolve().then(function(){jt(k,ht)})}},[]);return B.useEffect(function(){var ht=Xt();return ht&&!Q&&$t(ht,un),function(){return at(ht,un)}},[ie.current,Q]),B.createElement(Pn,{ref:g},De?B.cloneElement(Fe,{ref:st}):Fe)}var mn=B.forwardRef(de),W=mn,_t="rc-observer-key";function pe(s,R){var C=s.children,Q=typeof C=="function"?[C]:(0,oe.Z)(C);return Q.map(function(ie,g){var Ie=(ie==null?void 0:ie.key)||"".concat(_t,"-").concat(g);return B.createElement(W,(0,I.Z)({},s,{key:Ie,ref:g===0?R:void 0}),ie)})}var Kt=B.forwardRef(pe);Kt.Collection=a;var E=Kt},6551:function(Gn,cn,u){u.d(cn,{ZP:function(){return lt}});var I=u(42978),B=u(59301),oe=u(47273),te=0,L=(0,oe.Z)();function Nt(){var ut;return L?(ut=te,te+=1):ut="TEST_OR_SSR",ut}function lt(ut){var mt=B.useState(),a=(0,I.Z)(mt,2),pt=a[0],o=a[1];return B.useEffect(function(){o("rc_select_".concat(Nt()))},[]),ut||pt}},37463:function(Gn,cn,u){u.d(cn,{Ac:function(){return me},Xo:function(){return be},Wx:function(){return Ct},ZP:function(){return Gt},lk:function(){return Lt}});var I=u(54476),B=u(94480),oe=u(20068),te=u(33885),L=u(42978),Nt=u(75931),lt=u(76190),ut=u(18929),mt=u(48736),a=u(59301),pt=u(92310),o=u.n(pt),fn=u(34280),A=u(49658),wn=u(8654),En=function(e){var v=e.className,l=e.customizeIcon,S=e.customizeIconProps,b=e.children,x=e.onMouseDown,d=e.onClick,M=typeof l=="function"?l(S):l;return a.createElement("span",{className:v,onMouseDown:function(j){j.preventDefault(),x==null||x(j)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:d,"aria-hidden":!0},M!==void 0?M:a.createElement("span",{className:o()(v.split(/\s+/).map(function(N){return"".concat(N,"-icon")}))},b))},$t=En,at=function(e,v,l,S,b){var x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,d=arguments.length>6?arguments[6]:void 0,M=arguments.length>7?arguments[7]:void 0,N=a.useMemo(function(){if((0,lt.Z)(S)==="object")return S.clearIcon;if(b)return b},[S,b]),j=a.useMemo(function(){return!!(!x&&S&&(l.length||d)&&!(M==="combobox"&&d===""))},[S,x,l.length,d,M]);return{allowClear:j,clearIcon:a.createElement($t,{className:"".concat(e,"-clear"),onMouseDown:v,customizeIcon:N},"\xD7")}},vn=a.createContext(null);function Lt(){return a.useContext(vn)}function ot(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,e=a.useState(!1),v=(0,L.Z)(e,2),l=v[0],S=v[1],b=a.useRef(null),x=function(){window.clearTimeout(b.current)};a.useEffect(function(){return x},[]);var d=function(N,j){x(),b.current=window.setTimeout(function(){S(N),j&&j()},t)};return[l,d,x]}function dn(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,e=a.useRef(null),v=a.useRef(null);a.useEffect(function(){return function(){window.clearTimeout(v.current)}},[]);function l(S){(S||e.current===null)&&(e.current=S),window.clearTimeout(v.current),v.current=window.setTimeout(function(){e.current=null},t)}return[function(){return e.current},l]}function Pn(t,e,v,l){var S=a.useRef(null);S.current={open:e,triggerOpen:v,customizedTrigger:l},a.useEffect(function(){function b(x){var d;if(!((d=S.current)!==null&&d!==void 0&&d.customizedTrigger)){var M=x.target;M.shadowRoot&&x.composed&&(M=x.composedPath()[0]||M),S.current.open&&t().filter(function(N){return N}).every(function(N){return!N.contains(M)&&N!==M})&&S.current.triggerOpen(!1)}}return window.addEventListener("mousedown",b),function(){return window.removeEventListener("mousedown",b)}},[])}var de=u(10228);function mn(t){return t&&![de.Z.ESC,de.Z.SHIFT,de.Z.BACKSPACE,de.Z.TAB,de.Z.WIN_KEY,de.Z.ALT,de.Z.META,de.Z.WIN_KEY_RIGHT,de.Z.CTRL,de.Z.SEMICOLON,de.Z.EQUALS,de.Z.CAPS_LOCK,de.Z.CONTEXT_MENU,de.Z.F1,de.Z.F2,de.Z.F3,de.Z.F4,de.Z.F5,de.Z.F6,de.Z.F7,de.Z.F8,de.Z.F9,de.Z.F10,de.Z.F11,de.Z.F12].includes(t)}var W=u(26112),_t=u(83836);function pe(t,e,v){var l=(0,te.Z)((0,te.Z)({},t),v?e:{});return Object.keys(e).forEach(function(S){var b=e[S];typeof b=="function"&&(l[S]=function(){for(var x,d=arguments.length,M=new Array(d),N=0;N<d;N++)M[N]=arguments[N];return b.apply(void 0,M),(x=t[S])===null||x===void 0?void 0:x.call.apply(x,[t].concat(M))})}),l}var Kt=pe,E=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],s=function(e,v){var l=e.prefixCls,S=e.id,b=e.inputElement,x=e.autoFocus,d=e.autoComplete,M=e.editable,N=e.activeDescendantId,j=e.value,ee=e.open,ge=e.attrs,O=(0,Nt.Z)(e,E),le=b||a.createElement("input",null),J=le,U=J.ref,we=J.props;return(0,mt.Kp)(!("maxLength"in le.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),le=a.cloneElement(le,(0,te.Z)((0,te.Z)((0,te.Z)({type:"search"},Kt(O,we,!0)),{},{id:S,ref:(0,wn.sQ)(v,U),autoComplete:d||"off",autoFocus:x,className:o()("".concat(l,"-selection-search-input"),we==null?void 0:we.className),role:"combobox","aria-expanded":ee||!1,"aria-haspopup":"listbox","aria-owns":"".concat(S,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(S,"_list"),"aria-activedescendant":ee?N:void 0},ge),{},{value:M?j:"",readOnly:!M,unselectable:M?null:"on",style:(0,te.Z)((0,te.Z)({},we.style),{},{opacity:M?null:0})})),le},R=a.forwardRef(s),C=R;function Q(t){return Array.isArray(t)?t:t!==void 0?[t]:[]}var ie=typeof window!="undefined"&&window.document&&window.document.documentElement,g=ie;function Ie(t){return t!=null}function je(t){return!t&&t!==0}function Fe(t){return["string","number"].includes((0,lt.Z)(t))}function Ue(t){var e=void 0;return t&&(Fe(t.title)?e=t.title.toString():Fe(t.label)&&(e=t.label.toString())),e}function De(t,e){g?a.useLayoutEffect(t,e):a.useEffect(t,e)}function xt(t){var e;return(e=t.key)!==null&&e!==void 0?e:t.value}var st=function(e){e.preventDefault(),e.stopPropagation()},Xt=function(e){var v=e.id,l=e.prefixCls,S=e.values,b=e.open,x=e.searchValue,d=e.autoClearSearchValue,M=e.inputRef,N=e.placeholder,j=e.disabled,ee=e.mode,ge=e.showSearch,O=e.autoFocus,le=e.autoComplete,J=e.activeDescendantId,U=e.tabIndex,we=e.removeIcon,F=e.maxTagCount,q=e.maxTagTextLength,re=e.maxTagPlaceholder,Le=re===void 0?function(G){return"+ ".concat(G.length," ...")}:re,se=e.tagRender,et=e.onToggleOpen,bt=e.onRemove,Ve=e.onInputChange,Oe=e.onInputPaste,Te=e.onInputKeyDown,Xe=e.onInputMouseDown,ke=e.onInputCompositionStart,Ze=e.onInputCompositionEnd,Ee=e.onInputBlur,T=a.useRef(null),ae=(0,a.useState)(0),ce=(0,L.Z)(ae,2),$e=ce[0],Ae=ce[1],ze=(0,a.useState)(!1),It=(0,L.Z)(ze,2),sn=It[0],rn=It[1],vt="".concat(l,"-selection"),pn=b||ee==="multiple"&&d===!1||ee==="tags"?x:"",kt=ee==="tags"||ee==="multiple"&&d===!1||ge&&(b||sn);De(function(){Ae(T.current.scrollWidth)},[pn]);var yn=function(K,fe,He,Ye,qe){return a.createElement("span",{title:Ue(K),className:o()("".concat(vt,"-item"),(0,oe.Z)({},"".concat(vt,"-item-disabled"),He))},a.createElement("span",{className:"".concat(vt,"-item-content")},fe),Ye&&a.createElement($t,{className:"".concat(vt,"-item-remove"),onMouseDown:st,onClick:qe,customizeIcon:we},"\xD7"))},an=function(K,fe,He,Ye,qe,qt){var Sn=function(In){st(In),et(!b)};return a.createElement("span",{onMouseDown:Sn},se({label:fe,value:K,disabled:He,closable:Ye,onClose:qe,isMaxTag:!!qt}))},Rt=function(K){var fe=K.disabled,He=K.label,Ye=K.value,qe=!j&&!fe,qt=He;if(typeof q=="number"&&(typeof He=="string"||typeof He=="number")){var Sn=String(qt);Sn.length>q&&(qt="".concat(Sn.slice(0,q),"..."))}var on=function(Bt){Bt&&Bt.stopPropagation(),bt(K)};return typeof se=="function"?an(Ye,qt,fe,qe,on):yn(K,qt,fe,qe,on)},Re=function(K){if(!S.length)return null;var fe=typeof Le=="function"?Le(K):Le;return typeof se=="function"?an(void 0,fe,!1,!1,void 0,!0):yn({title:fe},fe,!1)},m=a.createElement("div",{className:"".concat(vt,"-search"),style:{width:$e},onFocus:function(){rn(!0)},onBlur:function(){rn(!1)}},a.createElement(C,{ref:M,open:b,prefixCls:l,id:v,inputElement:null,disabled:j,autoFocus:O,autoComplete:le,editable:kt,activeDescendantId:J,value:pn,onKeyDown:Te,onMouseDown:Xe,onChange:Ve,onPaste:Oe,onCompositionStart:ke,onCompositionEnd:Ze,onBlur:Ee,tabIndex:U,attrs:(0,W.Z)(e,!0)}),a.createElement("span",{ref:T,className:"".concat(vt,"-search-mirror"),"aria-hidden":!0},pn,"\xA0")),h=a.createElement(_t.Z,{prefixCls:"".concat(vt,"-overflow"),data:S,renderItem:Rt,renderRest:Re,suffix:m,itemKey:xt,maxCount:F});return a.createElement("span",{className:"".concat(vt,"-wrap")},h,!S.length&&!pn&&a.createElement("span",{className:"".concat(vt,"-placeholder")},N))},hn=Xt,un=function(e){var v=e.inputElement,l=e.prefixCls,S=e.id,b=e.inputRef,x=e.disabled,d=e.autoFocus,M=e.autoComplete,N=e.activeDescendantId,j=e.mode,ee=e.open,ge=e.values,O=e.placeholder,le=e.tabIndex,J=e.showSearch,U=e.searchValue,we=e.activeValue,F=e.maxLength,q=e.onInputKeyDown,re=e.onInputMouseDown,Le=e.onInputChange,se=e.onInputPaste,et=e.onInputCompositionStart,bt=e.onInputCompositionEnd,Ve=e.onInputBlur,Oe=e.title,Te=a.useState(!1),Xe=(0,L.Z)(Te,2),ke=Xe[0],Ze=Xe[1],Ee=j==="combobox",T=Ee||J,ae=ge[0],ce=U||"";Ee&&we&&!ke&&(ce=we),a.useEffect(function(){Ee&&Ze(!1)},[Ee,we]);var $e=j!=="combobox"&&!ee&&!J?!1:!!ce,Ae=Oe===void 0?Ue(ae):Oe,ze=a.useMemo(function(){return ae?null:a.createElement("span",{className:"".concat(l,"-selection-placeholder"),style:$e?{visibility:"hidden"}:void 0},O)},[ae,$e,O,l]);return a.createElement("span",{className:"".concat(l,"-selection-wrap")},a.createElement("span",{className:"".concat(l,"-selection-search")},a.createElement(C,{ref:b,prefixCls:l,id:S,open:ee,inputElement:v,disabled:x,autoFocus:d,autoComplete:M,editable:T,activeDescendantId:N,value:ce,onKeyDown:q,onMouseDown:re,onChange:function(sn){Ze(!0),Le(sn)},onPaste:se,onCompositionStart:et,onCompositionEnd:bt,onBlur:Ve,tabIndex:le,attrs:(0,W.Z)(e,!0),maxLength:Ee?F:void 0})),!Ee&&ae?a.createElement("span",{className:"".concat(l,"-selection-item"),title:Ae,style:$e?{visibility:"hidden"}:void 0},ae.label):null,ze)},ht=un,en=function(e,v){var l=(0,a.useRef)(null),S=(0,a.useRef)(!1),b=e.prefixCls,x=e.open,d=e.mode,M=e.showSearch,N=e.tokenWithEnter,j=e.disabled,ee=e.prefix,ge=e.autoClearSearchValue,O=e.onSearch,le=e.onSearchSubmit,J=e.onToggleOpen,U=e.onInputKeyDown,we=e.onInputBlur,F=e.domRef;a.useImperativeHandle(v,function(){return{focus:function(Ae){l.current.focus(Ae)},blur:function(){l.current.blur()}}});var q=dn(0),re=(0,L.Z)(q,2),Le=re[0],se=re[1],et=function(Ae){var ze=Ae.which,It=l.current instanceof HTMLTextAreaElement;!It&&x&&(ze===de.Z.UP||ze===de.Z.DOWN)&&Ae.preventDefault(),U&&U(Ae),ze===de.Z.ENTER&&d==="tags"&&!S.current&&!x&&(le==null||le(Ae.target.value)),!(It&&!x&&~[de.Z.UP,de.Z.DOWN,de.Z.LEFT,de.Z.RIGHT].indexOf(ze))&&mn(ze)&&J(!0)},bt=function(){se(!0)},Ve=(0,a.useRef)(null),Oe=function(Ae){O(Ae,!0,S.current)!==!1&&J(!0)},Te=function(){S.current=!0},Xe=function(Ae){S.current=!1,d!=="combobox"&&Oe(Ae.target.value)},ke=function(Ae){var ze=Ae.target.value;if(N&&Ve.current&&/[\r\n]/.test(Ve.current)){var It=Ve.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ze=ze.replace(It,Ve.current)}Ve.current=null,Oe(ze)},Ze=function(Ae){var ze=Ae.clipboardData,It=ze==null?void 0:ze.getData("text");Ve.current=It||""},Ee=function(Ae){var ze=Ae.target;if(ze!==l.current){var It=document.body.style.msTouchAction!==void 0;It?setTimeout(function(){l.current.focus()}):l.current.focus()}},T=function(Ae){var ze=Le();Ae.target!==l.current&&!ze&&!(d==="combobox"&&j)&&Ae.preventDefault(),(d!=="combobox"&&(!M||!ze)||!x)&&(x&&ge!==!1&&O("",!0,!1),J())},ae={inputRef:l,onInputKeyDown:et,onInputMouseDown:bt,onInputChange:ke,onInputPaste:Ze,onInputCompositionStart:Te,onInputCompositionEnd:Xe,onInputBlur:we},ce=d==="multiple"||d==="tags"?a.createElement(hn,(0,I.Z)({},e,ae)):a.createElement(ht,(0,I.Z)({},e,ae));return a.createElement("div",{ref:F,className:"".concat(b,"-selector"),onClick:Ee,onMouseDown:T},ee&&a.createElement("div",{className:"".concat(b,"-prefix")},ee),ce)},jt=a.forwardRef(en),Jt=jt,f=u(65030),r=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],i=function(e){var v=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:v,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:v,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:v,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:v,adjustY:1},htmlRegion:"scroll"}}},n=function(e,v){var l=e.prefixCls,S=e.disabled,b=e.visible,x=e.children,d=e.popupElement,M=e.animation,N=e.transitionName,j=e.dropdownStyle,ee=e.dropdownClassName,ge=e.direction,O=ge===void 0?"ltr":ge,le=e.placement,J=e.builtinPlacements,U=e.dropdownMatchSelectWidth,we=e.dropdownRender,F=e.dropdownAlign,q=e.getPopupContainer,re=e.empty,Le=e.getTriggerDOMNode,se=e.onPopupVisibleChange,et=e.onPopupMouseEnter,bt=(0,Nt.Z)(e,r),Ve="".concat(l,"-dropdown"),Oe=d;we&&(Oe=we(d));var Te=a.useMemo(function(){return J||i(U)},[J,U]),Xe=M?"".concat(Ve,"-").concat(M):N,ke=typeof U=="number",Ze=a.useMemo(function(){return ke?null:U===!1?"minWidth":"width"},[U,ke]),Ee=j;ke&&(Ee=(0,te.Z)((0,te.Z)({},Ee),{},{width:U}));var T=a.useRef(null);return a.useImperativeHandle(v,function(){return{getPopupElement:function(){var ce;return(ce=T.current)===null||ce===void 0?void 0:ce.popupElement}}}),a.createElement(f.Z,(0,I.Z)({},bt,{showAction:se?["click"]:[],hideAction:se?["click"]:[],popupPlacement:le||(O==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Te,prefixCls:Ve,popupTransitionName:Xe,popup:a.createElement("div",{onMouseEnter:et},Oe),ref:T,stretch:Ze,popupAlign:F,popupVisible:b,getPopupContainer:q,popupClassName:o()(ee,(0,oe.Z)({},"".concat(Ve,"-empty"),re)),popupStyle:Ee,getTriggerDOMNode:Le,onPopupVisibleChange:se}),x)},c=a.forwardRef(n),p=c,w=u(66712);function y(t,e){var v=t.key,l;return"value"in t&&(l=t.value),v!=null?v:l!==void 0?l:"rc-index-key-".concat(e)}function V(t){return typeof t!="undefined"&&!Number.isNaN(t)}function P(t,e){var v=t||{},l=v.label,S=v.value,b=v.options,x=v.groupLabel,d=l||(e?"children":"label");return{label:d,value:S||"value",options:b||"options",groupLabel:x||d}}function k(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=e.fieldNames,l=e.childrenAsData,S=[],b=P(v,!1),x=b.label,d=b.value,M=b.options,N=b.groupLabel;function j(ee,ge){Array.isArray(ee)&&ee.forEach(function(O){if(ge||!(M in O)){var le=O[d];S.push({key:y(O,S.length),groupOption:ge,data:O,label:O[x],value:le})}else{var J=O[N];J===void 0&&l&&(J=O.label),S.push({key:y(O,S.length),group:!0,data:O,label:J}),j(O[M],!0)}})}return j(t,!1),S}function $(t){var e=(0,te.Z)({},t);return"props"in e||Object.defineProperty(e,"props",{get:function(){return(0,mt.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),e}}),e}var H=function(e,v,l){if(!v||!v.length)return null;var S=!1,b=function d(M,N){var j=(0,w.Z)(N),ee=j[0],ge=j.slice(1);if(!ee)return[M];var O=M.split(ee);return S=S||O.length>1,O.reduce(function(le,J){return[].concat((0,B.Z)(le),(0,B.Z)(d(J,ge)))},[]).filter(Boolean)},x=b(e,v);return S?typeof l!="undefined"?x.slice(0,l):x:null},D=a.createContext(null),Z=D;function z(t){var e=t.visible,v=t.values;if(!e)return null;var l=50;return a.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(v.slice(0,l).map(function(S){var b=S.label,x=S.value;return["number","string"].includes((0,lt.Z)(b))?b:x}).join(", ")),v.length>l?", ...":null)}var Ce=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Se=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],X=function(e){return e==="tags"||e==="multiple"},Pe=a.forwardRef(function(t,e){var v,l=t.id,S=t.prefixCls,b=t.className,x=t.showSearch,d=t.tagRender,M=t.direction,N=t.omitDomProps,j=t.displayValues,ee=t.onDisplayValuesChange,ge=t.emptyOptions,O=t.notFoundContent,le=O===void 0?"Not Found":O,J=t.onClear,U=t.mode,we=t.disabled,F=t.loading,q=t.getInputElement,re=t.getRawInputElement,Le=t.open,se=t.defaultOpen,et=t.onDropdownVisibleChange,bt=t.activeValue,Ve=t.onActiveValueChange,Oe=t.activeDescendantId,Te=t.searchValue,Xe=t.autoClearSearchValue,ke=t.onSearch,Ze=t.onSearchSplit,Ee=t.tokenSeparators,T=t.allowClear,ae=t.prefix,ce=t.suffixIcon,$e=t.clearIcon,Ae=t.OptionList,ze=t.animation,It=t.transitionName,sn=t.dropdownStyle,rn=t.dropdownClassName,vt=t.dropdownMatchSelectWidth,pn=t.dropdownRender,kt=t.dropdownAlign,yn=t.placement,an=t.builtinPlacements,Rt=t.getPopupContainer,Re=t.showAction,m=Re===void 0?[]:Re,h=t.onFocus,G=t.onBlur,K=t.onKeyUp,fe=t.onKeyDown,He=t.onMouseDown,Ye=(0,Nt.Z)(t,Ce),qe=X(U),qt=(x!==void 0?x:qe)||U==="combobox",Sn=(0,te.Z)({},Ye);Se.forEach(function(rt){delete Sn[rt]}),N==null||N.forEach(function(rt){delete Sn[rt]});var on=a.useState(!1),In=(0,L.Z)(on,2),Bt=In[0],zn=In[1];a.useEffect(function(){zn((0,A.Z)())},[]);var kn=a.useRef(null),Rn=a.useRef(null),Ft=a.useRef(null),ln=a.useRef(null),Wt=a.useRef(null),Zn=a.useRef(!1),Bn=ot(),Wn=(0,L.Z)(Bn,3),Nn=Wn[0],Dn=Wn[1],jn=Wn[2];a.useImperativeHandle(e,function(){var rt,Ke;return{focus:(rt=ln.current)===null||rt===void 0?void 0:rt.focus,blur:(Ke=ln.current)===null||Ke===void 0?void 0:Ke.blur,scrollTo:function(Vn){var Cn;return(Cn=Wt.current)===null||Cn===void 0?void 0:Cn.scrollTo(Vn)},nativeElement:kn.current||Rn.current}});var Tn=a.useMemo(function(){var rt;if(U!=="combobox")return Te;var Ke=(rt=j[0])===null||rt===void 0?void 0:rt.value;return typeof Ke=="string"||typeof Ke=="number"?String(Ke):""},[Te,U,j]),Xn=U==="combobox"&&typeof q=="function"&&q()||null,xn=typeof re=="function"&&re(),rr=(0,wn.x1)(Rn,xn==null||(v=xn.props)===null||v===void 0?void 0:v.ref),Yn=a.useState(!1),_n=(0,L.Z)(Yn,2),ar=_n[0],qn=_n[1];(0,fn.Z)(function(){qn(!0)},[]);var er=(0,ut.Z)(!1,{defaultValue:se,value:Le}),Mn=(0,L.Z)(er,2),Hn=Mn[0],Jn=Mn[1],dt=ar?Hn:!1,Kn=!le&≥(we||Kn&&dt&&U==="combobox")&&(dt=!1);var $n=Kn?!1:dt,ne=a.useCallback(function(rt){var Ke=rt!==void 0?rt:!dt;we||(Jn(Ke),dt!==Ke&&(et==null||et(Ke)))},[we,dt,Jn,et]),xe=a.useMemo(function(){return(Ee||[]).some(function(rt){return[`
|
|
`,`\r
|
|
`].includes(rt)})},[Ee]),ye=a.useContext(Z)||{},Me=ye.maxCount,tt=ye.rawValues,Dt=function(Ke,An,Vn){if(!(qe&&V(Me)&&(tt==null?void 0:tt.size)>=Me)){var Cn=!0,On=Ke;Ve==null||Ve(null);var Qn=H(Ke,Ee,V(Me)?Me-tt.size:void 0),Un=Vn?null:Qn;return U!=="combobox"&&Un&&(On="",Ze==null||Ze(Un),ne(!1),Cn=!1),ke&&Tn!==On&&ke(On,{source:An?"typing":"effect"}),Cn}},Fn=function(Ke){!Ke||!Ke.trim()||ke(Ke,{source:"submit"})};a.useEffect(function(){!dt&&!qe&&U!=="combobox"&&Dt("",!1,!1)},[dt]),a.useEffect(function(){Hn&&we&&Jn(!1),we&&!Zn.current&&Dn(!1)},[we]);var _=dn(),ve=(0,L.Z)(_,2),Be=ve[0],zt=ve[1],Zt=a.useRef(!1),tr=function(Ke){var An=Be(),Vn=Ke.key,Cn=Vn==="Enter";if(Cn&&(U!=="combobox"&&Ke.preventDefault(),dt||ne(!0)),zt(!!Tn),Vn==="Backspace"&&!An&&qe&&!Tn&&j.length){for(var On=(0,B.Z)(j),Qn=null,Un=On.length-1;Un>=0;Un-=1){var or=On[Un];if(!or.disabled){On.splice(Un,1),Qn=or;break}}Qn&&ee(On,{type:"remove",values:[Qn]})}for(var sr=arguments.length,ir=new Array(sr>1?sr-1:0),cr=1;cr<sr;cr++)ir[cr-1]=arguments[cr];if(dt&&(!Cn||!Zt.current)){var fr;Cn&&(Zt.current=!0),(fr=Wt.current)===null||fr===void 0||fr.onKeyDown.apply(fr,[Ke].concat(ir))}fe==null||fe.apply(void 0,[Ke].concat(ir))},lr=function(Ke){for(var An=arguments.length,Vn=new Array(An>1?An-1:0),Cn=1;Cn<An;Cn++)Vn[Cn-1]=arguments[Cn];if(dt){var On;(On=Wt.current)===null||On===void 0||On.onKeyUp.apply(On,[Ke].concat(Vn))}Ke.key==="Enter"&&(Zt.current=!1),K==null||K.apply(void 0,[Ke].concat(Vn))},nr=function(Ke){var An=j.filter(function(Vn){return Vn!==Ke});ee(An,{type:"remove",values:[Ke]})},Ln=function(){Zt.current=!1},vr=a.useRef(!1),br=function(){Dn(!0),we||(h&&!vr.current&&h.apply(void 0,arguments),m.includes("focus")&&ne(!0)),vr.current=!0},pr=function(){Zn.current=!0,Dn(!1,function(){vr.current=!1,Zn.current=!1,ne(!1)}),!we&&(Tn&&(U==="tags"?ke(Tn,{source:"submit"}):U==="multiple"&&ke("",{source:"blur"})),G&&G.apply(void 0,arguments))},ur=[];a.useEffect(function(){return function(){ur.forEach(function(rt){return clearTimeout(rt)}),ur.splice(0,ur.length)}},[]);var Cr=function(Ke){var An,Vn=Ke.target,Cn=(An=Ft.current)===null||An===void 0?void 0:An.getPopupElement();if(Cn&&Cn.contains(Vn)){var On=setTimeout(function(){var sr=ur.indexOf(On);if(sr!==-1&&ur.splice(sr,1),jn(),!Bt&&!Cn.contains(document.activeElement)){var ir;(ir=ln.current)===null||ir===void 0||ir.focus()}});ur.push(On)}for(var Qn=arguments.length,Un=new Array(Qn>1?Qn-1:0),or=1;or<Qn;or++)Un[or-1]=arguments[or];He==null||He.apply(void 0,[Ke].concat(Un))},wr=a.useState({}),Er=(0,L.Z)(wr,2),Rr=Er[1];function Zr(){Rr({})}var mr;xn&&(mr=function(Ke){ne(Ke)}),Pn(function(){var rt;return[kn.current,(rt=Ft.current)===null||rt===void 0?void 0:rt.getPopupElement()]},$n,ne,!!xn);var xr=a.useMemo(function(){return(0,te.Z)((0,te.Z)({},t),{},{notFoundContent:le,open:dt,triggerOpen:$n,id:l,showSearch:qt,multiple:qe,toggleOpen:ne})},[t,le,$n,dt,l,qt,qe,ne]),hr=!!ce||F,gr;hr&&(gr=a.createElement($t,{className:o()("".concat(S,"-arrow"),(0,oe.Z)({},"".concat(S,"-arrow-loading"),F)),customizeIcon:ce,customizeIconProps:{loading:F,searchValue:Tn,open:dt,focused:Nn,showSearch:qt}}));var Mr=function(){var Ke;J==null||J(),(Ke=ln.current)===null||Ke===void 0||Ke.focus(),ee([],{type:"clear",values:j}),Dt("",!1,!1)},yr=at(S,Mr,j,T,$e,we,Tn,U),Pr=yr.allowClear,Ir=yr.clearIcon,Dr=a.createElement(Ae,{ref:Wt}),Nr=o()(S,b,(0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)({},"".concat(S,"-focused"),Nn),"".concat(S,"-multiple"),qe),"".concat(S,"-single"),!qe),"".concat(S,"-allow-clear"),T),"".concat(S,"-show-arrow"),hr),"".concat(S,"-disabled"),we),"".concat(S,"-loading"),F),"".concat(S,"-open"),dt),"".concat(S,"-customize-input"),Xn),"".concat(S,"-show-search"),qt)),Sr=a.createElement(p,{ref:Ft,disabled:we,prefixCls:S,visible:$n,popupElement:Dr,animation:ze,transitionName:It,dropdownStyle:sn,dropdownClassName:rn,direction:M,dropdownMatchSelectWidth:vt,dropdownRender:pn,dropdownAlign:kt,placement:yn,builtinPlacements:an,getPopupContainer:Rt,empty:ge,getTriggerDOMNode:function(Ke){return Rn.current||Ke},onPopupVisibleChange:mr,onPopupMouseEnter:Zr},xn?a.cloneElement(xn,{ref:rr}):a.createElement(Jt,(0,I.Z)({},t,{domRef:Rn,prefixCls:S,inputElement:Xn,ref:ln,id:l,prefix:ae,showSearch:qt,autoClearSearchValue:Xe,mode:U,activeDescendantId:Oe,tagRender:d,values:j,open:dt,onToggleOpen:ne,activeValue:bt,searchValue:Tn,onSearch:Dt,onSearchSubmit:Fn,onRemove:nr,tokenWithEnter:xe,onInputBlur:Ln}))),dr;return xn?dr=Sr:dr=a.createElement("div",(0,I.Z)({className:Nr},Sn,{ref:kn,onMouseDown:Cr,onKeyDown:tr,onKeyUp:lr,onFocus:br,onBlur:pr}),a.createElement(z,{visible:Nn&&!dt,values:j}),Sr,gr,Pr&&Ir),a.createElement(vn.Provider,{value:xr},dr)}),me=Pe,We=function(){return null};We.isSelectOptGroup=!0;var be=We,Y=function(){return null};Y.isSelectOption=!0;var Ct=Y,gt=u(80547),ue=u(2738),Mt=u(48911);function tn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Ot=["disabled","title","children","style","className"];function wt(t){return typeof t=="string"||typeof t=="number"}var At=function(e,v){var l=Lt(),S=l.prefixCls,b=l.id,x=l.open,d=l.multiple,M=l.mode,N=l.searchValue,j=l.toggleOpen,ee=l.notFoundContent,ge=l.onPopupScroll,O=a.useContext(Z),le=O.maxCount,J=O.flattenOptions,U=O.onActiveValue,we=O.defaultActiveFirstOption,F=O.onSelect,q=O.menuItemSelectedIcon,re=O.rawValues,Le=O.fieldNames,se=O.virtual,et=O.direction,bt=O.listHeight,Ve=O.listItemHeight,Oe=O.optionRender,Te="".concat(S,"-item"),Xe=(0,gt.Z)(function(){return J},[x,J],function(Re,m){return m[0]&&Re[1]!==m[1]}),ke=a.useRef(null),Ze=a.useMemo(function(){return d&&V(le)&&(re==null?void 0:re.size)>=le},[d,le,re==null?void 0:re.size]),Ee=function(m){m.preventDefault()},T=function(m){var h;(h=ke.current)===null||h===void 0||h.scrollTo(typeof m=="number"?{index:m}:m)},ae=a.useCallback(function(Re){return M==="combobox"?!1:re.has(Re)},[M,(0,B.Z)(re).toString(),re.size]),ce=function(m){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,G=Xe.length,K=0;K<G;K+=1){var fe=(m+K*h+G)%G,He=Xe[fe]||{},Ye=He.group,qe=He.data;if(!Ye&&!(qe!=null&&qe.disabled)&&(ae(qe.value)||!Ze))return fe}return-1},$e=a.useState(function(){return ce(0)}),Ae=(0,L.Z)($e,2),ze=Ae[0],It=Ae[1],sn=function(m){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;It(m);var G={source:h?"keyboard":"mouse"},K=Xe[m];if(!K){U(null,-1,G);return}U(K.value,m,G)};(0,a.useEffect)(function(){sn(we!==!1?ce(0):-1)},[Xe.length,N]);var rn=a.useCallback(function(Re){return M==="combobox"?String(Re).toLowerCase()===N.toLowerCase():re.has(Re)},[M,N,(0,B.Z)(re).toString(),re.size]);(0,a.useEffect)(function(){var Re=setTimeout(function(){if(!d&&x&&re.size===1){var h=Array.from(re)[0],G=Xe.findIndex(function(K){var fe=K.data;return N?String(fe.value).startsWith(N):fe.value===h});G!==-1&&(sn(G),T(G))}});if(x){var m;(m=ke.current)===null||m===void 0||m.scrollTo(void 0)}return function(){return clearTimeout(Re)}},[x,N]);var vt=function(m){m!==void 0&&F(m,{selected:!re.has(m)}),d||j(!1)};if(a.useImperativeHandle(v,function(){return{onKeyDown:function(m){var h=m.which,G=m.ctrlKey;switch(h){case de.Z.N:case de.Z.P:case de.Z.UP:case de.Z.DOWN:{var K=0;if(h===de.Z.UP?K=-1:h===de.Z.DOWN?K=1:tn()&&G&&(h===de.Z.N?K=1:h===de.Z.P&&(K=-1)),K!==0){var fe=ce(ze+K,K);T(fe),sn(fe,!0)}break}case de.Z.TAB:case de.Z.ENTER:{var He,Ye=Xe[ze];Ye&&!(Ye!=null&&(He=Ye.data)!==null&&He!==void 0&&He.disabled)&&!Ze?vt(Ye.value):vt(void 0),x&&m.preventDefault();break}case de.Z.ESC:j(!1),x&&m.stopPropagation()}},onKeyUp:function(){},scrollTo:function(m){T(m)}}}),Xe.length===0)return a.createElement("div",{role:"listbox",id:"".concat(b,"_list"),className:"".concat(Te,"-empty"),onMouseDown:Ee},ee);var pn=Object.keys(Le).map(function(Re){return Le[Re]}),kt=function(m){return m.label};function yn(Re,m){var h=Re.group;return{role:h?"presentation":"option",id:"".concat(b,"_list_").concat(m)}}var an=function(m){var h=Xe[m];if(!h)return null;var G=h.data||{},K=G.value,fe=h.group,He=(0,W.Z)(G,!0),Ye=kt(h);return h?a.createElement("div",(0,I.Z)({"aria-label":typeof Ye=="string"&&!fe?Ye:null},He,{key:m},yn(h,m),{"aria-selected":rn(K)}),K):null},Rt={role:"listbox",id:"".concat(b,"_list")};return a.createElement(a.Fragment,null,se&&a.createElement("div",(0,I.Z)({},Rt,{style:{height:0,width:0,overflow:"hidden"}}),an(ze-1),an(ze),an(ze+1)),a.createElement(Mt.Z,{itemKey:"key",ref:ke,data:Xe,height:bt,itemHeight:Ve,fullHeight:!1,onMouseDown:Ee,onScroll:ge,virtual:se,direction:et,innerProps:se?null:Rt},function(Re,m){var h=Re.group,G=Re.groupOption,K=Re.data,fe=Re.label,He=Re.value,Ye=K.key;if(h){var qe,qt=(qe=K.title)!==null&&qe!==void 0?qe:wt(fe)?fe.toString():void 0;return a.createElement("div",{className:o()(Te,"".concat(Te,"-group"),K.className),title:qt},fe!==void 0?fe:Ye)}var Sn=K.disabled,on=K.title,In=K.children,Bt=K.style,zn=K.className,kn=(0,Nt.Z)(K,Ot),Rn=(0,ue.Z)(kn,pn),Ft=ae(He),ln=Sn||!Ft&&Ze,Wt="".concat(Te,"-option"),Zn=o()(Te,Wt,zn,(0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)({},"".concat(Wt,"-grouped"),G),"".concat(Wt,"-active"),ze===m&&!ln),"".concat(Wt,"-disabled"),ln),"".concat(Wt,"-selected"),Ft)),Bn=kt(Re),Wn=!q||typeof q=="function"||Ft,Nn=typeof Bn=="number"?Bn:Bn||He,Dn=wt(Nn)?Nn.toString():void 0;return on!==void 0&&(Dn=on),a.createElement("div",(0,I.Z)({},(0,W.Z)(Rn),se?{}:yn(Re,m),{"aria-selected":rn(He),className:Zn,title:Dn,onMouseMove:function(){ze===m||ln||sn(m)},onClick:function(){ln||vt(He)},style:Bt}),a.createElement("div",{className:"".concat(Wt,"-content")},typeof Oe=="function"?Oe(Re,{index:m}):Nn),a.isValidElement(q)||Ft,Wn&&a.createElement($t,{className:"".concat(Te,"-option-state"),customizeIcon:q,customizeIconProps:{value:He,disabled:ln,isSelected:Ft}},Ft?"\u2713":null))}))},Et=a.forwardRef(At),ct=Et,Ge=function(t,e){var v=a.useRef({values:new Map,options:new Map}),l=a.useMemo(function(){var b=v.current,x=b.values,d=b.options,M=t.map(function(ee){if(ee.label===void 0){var ge;return(0,te.Z)((0,te.Z)({},ee),{},{label:(ge=x.get(ee.value))===null||ge===void 0?void 0:ge.label})}return ee}),N=new Map,j=new Map;return M.forEach(function(ee){N.set(ee.value,ee),j.set(ee.value,e.get(ee.value)||d.get(ee.value))}),v.current.values=N,v.current.options=j,M},[t,e]),S=a.useCallback(function(b){return e.get(b)||v.current.options.get(b)},[e]);return[l,S]};function Ne(t,e){return Q(t).join("").toUpperCase().includes(e)}var ft=function(t,e,v,l,S){return a.useMemo(function(){if(!v||l===!1)return t;var b=e.options,x=e.label,d=e.value,M=[],N=typeof l=="function",j=v.toUpperCase(),ee=N?l:function(O,le){return S?Ne(le[S],j):le[b]?Ne(le[x!=="children"?x:"label"],j):Ne(le[d],j)},ge=N?function(O){return $(O)}:function(O){return O};return t.forEach(function(O){if(O[b]){var le=ee(v,ge(O));if(le)M.push(O);else{var J=O[b].filter(function(U){return ee(v,ge(U))});J.length&&M.push((0,te.Z)((0,te.Z)({},O),{},(0,oe.Z)({},b,J)))}return}ee(v,ge(O))&&M.push(O)}),M},[t,l,S,v,e])},nt=u(6551),Pt=u(11592),he=["children","value"],Ut=["children"];function gn(t){var e=t,v=e.key,l=e.props,S=l.children,b=l.value,x=(0,Nt.Z)(l,he);return(0,te.Z)({key:v,value:b!==void 0?b:v,children:S},x)}function Qt(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Pt.Z)(t).map(function(v,l){if(!a.isValidElement(v)||!v.type)return null;var S=v,b=S.type.isSelectOptGroup,x=S.key,d=S.props,M=d.children,N=(0,Nt.Z)(d,Ut);return e||!b?gn(v):(0,te.Z)((0,te.Z)({key:"__RC_SELECT_GRP__".concat(x===null?l:x,"__"),label:x},N),{},{options:Qt(M)})}).filter(function(v){return v})}var Yt=function(e,v,l,S,b){return a.useMemo(function(){var x=e,d=!e;d&&(x=Qt(v));var M=new Map,N=new Map,j=function(O,le,J){J&&typeof J=="string"&&O.set(le[J],le)},ee=function ge(O){for(var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,J=0;J<O.length;J+=1){var U=O[J];!U[l.options]||le?(M.set(U[l.value],U),j(N,U,l.label),j(N,U,S),j(N,U,b)):ge(U[l.options],!0)}};return ee(x),{options:x,valueOptions:M,labelOptions:N}},[e,v,l,S,b])},_e=Yt;function it(t){var e=a.useRef();e.current=t;var v=a.useCallback(function(){return e.current.apply(e,arguments)},[]);return v}function Tt(t){var e=t.mode,v=t.options,l=t.children,S=t.backfill,b=t.allowClear,x=t.placeholder,d=t.getInputElement,M=t.showSearch,N=t.onSearch,j=t.defaultOpen,ee=t.autoFocus,ge=t.labelInValue,O=t.value,le=t.inputValue,J=t.optionLabelProp,U=isMultiple(e),we=M!==void 0?M:U||e==="combobox",F=v||convertChildrenToData(l);if(warning(e!=="tags"||F.every(function(se){return!se.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),e==="tags"||e==="combobox"){var q=F.some(function(se){return se.options?se.options.some(function(et){return typeof("value"in et?et.value:et.key)=="number"}):typeof("value"in se?se.value:se.key)=="number"});warning(!q,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(e!=="combobox"||!J,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(e==="combobox"||!S,"`backfill` only works with `combobox` mode."),warning(e==="combobox"||!d,"`getInputElement` only work with `combobox` mode."),noteOnce(e!=="combobox"||!d||!b||!x,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),N&&!we&&e!=="combobox"&&e!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!j||ee,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),O!=null){var re=toArray(O);warning(!ge||re.every(function(se){return _typeof(se)==="object"&&("key"in se||"value"in se)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!U||Array.isArray(O),"`value` should be array when `mode` is `multiple` or `tags`")}if(l){var Le=null;toNodeArray(l).some(function(se){if(!React.isValidElement(se)||!se.type)return!1;var et=se,bt=et.type;if(bt.isSelectOption)return!1;if(bt.isSelectOptGroup){var Ve=toNodeArray(se.props.children).every(function(Oe){return!React.isValidElement(Oe)||!se.type||Oe.type.isSelectOption?!0:(Le=Oe.type,!1)});return!Ve}return Le=bt,!0}),Le&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Le.displayName||Le.name||Le,"`.")),warning(le===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Vt(t,e){if(t){var v=function l(S){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,x=0;x<S.length;x++){var d=S[x];if(d[e==null?void 0:e.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!b&&Array.isArray(d[e==null?void 0:e.options])&&l(d[e==null?void 0:e.options],!0))break}};v(t)}}var yt=null,Je=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Ht=["inputValue"];function St(t){return!t||(0,lt.Z)(t)!=="object"}var Qe=a.forwardRef(function(t,e){var v=t.id,l=t.mode,S=t.prefixCls,b=S===void 0?"rc-select":S,x=t.backfill,d=t.fieldNames,M=t.inputValue,N=t.searchValue,j=t.onSearch,ee=t.autoClearSearchValue,ge=ee===void 0?!0:ee,O=t.onSelect,le=t.onDeselect,J=t.dropdownMatchSelectWidth,U=J===void 0?!0:J,we=t.filterOption,F=t.filterSort,q=t.optionFilterProp,re=t.optionLabelProp,Le=t.options,se=t.optionRender,et=t.children,bt=t.defaultActiveFirstOption,Ve=t.menuItemSelectedIcon,Oe=t.virtual,Te=t.direction,Xe=t.listHeight,ke=Xe===void 0?200:Xe,Ze=t.listItemHeight,Ee=Ze===void 0?20:Ze,T=t.labelRender,ae=t.value,ce=t.defaultValue,$e=t.labelInValue,Ae=t.onChange,ze=t.maxCount,It=(0,Nt.Z)(t,Je),sn=(0,nt.ZP)(v),rn=X(l),vt=!!(!Le&&et),pn=a.useMemo(function(){return we===void 0&&l==="combobox"?!1:we},[we,l]),kt=a.useMemo(function(){return P(d,vt)},[JSON.stringify(d),vt]),yn=(0,ut.Z)("",{value:N!==void 0?N:M,postState:function(xe){return xe||""}}),an=(0,L.Z)(yn,2),Rt=an[0],Re=an[1],m=_e(Le,et,kt,q,re),h=m.valueOptions,G=m.labelOptions,K=m.options,fe=a.useCallback(function(ne){var xe=Q(ne);return xe.map(function(ye){var Me,tt,Dt,Fn,_;if(St(ye))Me=ye;else{var ve;Dt=ye.key,tt=ye.label,Me=(ve=ye.value)!==null&&ve!==void 0?ve:Dt}var Be=h.get(Me);if(Be){var zt;if(tt===void 0&&(tt=Be==null?void 0:Be[re||kt.label]),Dt===void 0&&(Dt=(zt=Be==null?void 0:Be.key)!==null&&zt!==void 0?zt:Me),Fn=Be==null?void 0:Be.disabled,_=Be==null?void 0:Be.title,0)var Zt}return{label:tt,value:Me,key:Dt,disabled:Fn,title:_}})},[kt,re,h]),He=(0,ut.Z)(ce,{value:ae}),Ye=(0,L.Z)(He,2),qe=Ye[0],qt=Ye[1],Sn=a.useMemo(function(){var ne,xe=rn&&qe===null?[]:qe,ye=fe(xe);return l==="combobox"&&je((ne=ye[0])===null||ne===void 0?void 0:ne.value)?[]:ye},[qe,fe,l,rn]),on=Ge(Sn,h),In=(0,L.Z)(on,2),Bt=In[0],zn=In[1],kn=a.useMemo(function(){if(!l&&Bt.length===1){var ne=Bt[0];if(ne.value===null&&(ne.label===null||ne.label===void 0))return[]}return Bt.map(function(xe){var ye;return(0,te.Z)((0,te.Z)({},xe),{},{label:(ye=typeof T=="function"?T(xe):xe.label)!==null&&ye!==void 0?ye:xe.value})})},[l,Bt,T]),Rn=a.useMemo(function(){return new Set(Bt.map(function(ne){return ne.value}))},[Bt]);a.useEffect(function(){if(l==="combobox"){var ne,xe=(ne=Bt[0])===null||ne===void 0?void 0:ne.value;Re(Ie(xe)?String(xe):"")}},[Bt]);var Ft=it(function(ne,xe){var ye=xe!=null?xe:ne;return(0,oe.Z)((0,oe.Z)({},kt.value,ne),kt.label,ye)}),ln=a.useMemo(function(){if(l!=="tags")return K;var ne=(0,B.Z)(K),xe=function(Me){return h.has(Me)};return(0,B.Z)(Bt).sort(function(ye,Me){return ye.value<Me.value?-1:1}).forEach(function(ye){var Me=ye.value;xe(Me)||ne.push(Ft(Me,ye.label))}),ne},[Ft,K,h,Bt,l]),Wt=ft(ln,kt,Rt,pn,q),Zn=a.useMemo(function(){return l!=="tags"||!Rt||Wt.some(function(ne){return ne[q||"value"]===Rt})||Wt.some(function(ne){return ne[kt.value]===Rt})?Wt:[Ft(Rt)].concat((0,B.Z)(Wt))},[Ft,q,l,Wt,Rt,kt]),Bn=function ne(xe){var ye=(0,B.Z)(xe).sort(function(Me,tt){return F(Me,tt,{searchValue:Rt})});return ye.map(function(Me){return Array.isArray(Me.options)?(0,te.Z)((0,te.Z)({},Me),{},{options:Me.options.length>0?ne(Me.options):Me.options}):Me})},Wn=a.useMemo(function(){return F?Bn(Zn):Zn},[Zn,F,Rt]),Nn=a.useMemo(function(){return k(Wn,{fieldNames:kt,childrenAsData:vt})},[Wn,kt,vt]),Dn=function(xe){var ye=fe(xe);if(qt(ye),Ae&&(ye.length!==Bt.length||ye.some(function(Dt,Fn){var _;return((_=Bt[Fn])===null||_===void 0?void 0:_.value)!==(Dt==null?void 0:Dt.value)}))){var Me=$e?ye:ye.map(function(Dt){return Dt.value}),tt=ye.map(function(Dt){return $(zn(Dt.value))});Ae(rn?Me:Me[0],rn?tt:tt[0])}},jn=a.useState(null),Tn=(0,L.Z)(jn,2),Xn=Tn[0],xn=Tn[1],rr=a.useState(0),Yn=(0,L.Z)(rr,2),_n=Yn[0],ar=Yn[1],qn=bt!==void 0?bt:l!=="combobox",er=a.useCallback(function(ne,xe){var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Me=ye.source,tt=Me===void 0?"keyboard":Me;ar(xe),x&&l==="combobox"&&ne!==null&&tt==="keyboard"&&xn(String(ne))},[x,l]),Mn=function(xe,ye,Me){var tt=function(){var nr,Ln=zn(xe);return[$e?{label:Ln==null?void 0:Ln[kt.label],value:xe,key:(nr=Ln==null?void 0:Ln.key)!==null&&nr!==void 0?nr:xe}:xe,$(Ln)]};if(ye&&O){var Dt=tt(),Fn=(0,L.Z)(Dt,2),_=Fn[0],ve=Fn[1];O(_,ve)}else if(!ye&&le&&Me!=="clear"){var Be=tt(),zt=(0,L.Z)(Be,2),Zt=zt[0],tr=zt[1];le(Zt,tr)}},Hn=it(function(ne,xe){var ye,Me=rn?xe.selected:!0;Me?ye=rn?[].concat((0,B.Z)(Bt),[ne]):[ne]:ye=Bt.filter(function(tt){return tt.value!==ne}),Dn(ye),Mn(ne,Me),l==="combobox"?xn(""):(!X||ge)&&(Re(""),xn(""))}),Jn=function(xe,ye){Dn(xe);var Me=ye.type,tt=ye.values;(Me==="remove"||Me==="clear")&&tt.forEach(function(Dt){Mn(Dt.value,!1,Me)})},dt=function(xe,ye){if(Re(xe),xn(null),ye.source==="submit"){var Me=(xe||"").trim();if(Me){var tt=Array.from(new Set([].concat((0,B.Z)(Rn),[Me])));Dn(tt),Mn(Me,!0),Re("")}return}ye.source!=="blur"&&(l==="combobox"&&Dn(xe),j==null||j(xe))},Kn=function(xe){var ye=xe;l!=="tags"&&(ye=xe.map(function(tt){var Dt=G.get(tt);return Dt==null?void 0:Dt.value}).filter(function(tt){return tt!==void 0}));var Me=Array.from(new Set([].concat((0,B.Z)(Rn),(0,B.Z)(ye))));Dn(Me),Me.forEach(function(tt){Mn(tt,!0)})},$n=a.useMemo(function(){var ne=Oe!==!1&&U!==!1;return(0,te.Z)((0,te.Z)({},m),{},{flattenOptions:Nn,onActiveValue:er,defaultActiveFirstOption:qn,onSelect:Hn,menuItemSelectedIcon:Ve,rawValues:Rn,fieldNames:kt,virtual:ne,direction:Te,listHeight:ke,listItemHeight:Ee,childrenAsData:vt,maxCount:ze,optionRender:se})},[ze,m,Nn,er,qn,Hn,Ve,Rn,kt,Oe,U,Te,ke,Ee,vt,se]);return a.createElement(Z.Provider,{value:$n},a.createElement(me,(0,I.Z)({},It,{id:sn,prefixCls:b,ref:e,omitDomProps:Ht,mode:l,displayValues:kn,onDisplayValuesChange:Jn,direction:Te,searchValue:Rt,onSearch:dt,autoClearSearchValue:ge,onSearchSplit:Kn,dropdownMatchSelectWidth:U,OptionList:ct,emptyOptions:!Nn.length,activeValue:Xn,activeDescendantId:"".concat(sn,"_list_").concat(_n)})))}),nn=Qe;nn.Option=Ct,nn.OptGroup=be;var bn=nn,Gt=bn},49658:function(Gn,cn){cn.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var u=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(u)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(u==null?void 0:u.substr(0,4))}},48911:function(Gn,cn,u){u.d(cn,{Z:function(){return Jt}});var I=u(54476),B=u(76190),oe=u(33885),te=u(20068),L=u(42978),Nt=u(75931),lt=u(92310),ut=u.n(lt),mt=u(29301),a=u(70425),pt=u(34280),o=u(59301),fn=u(4676),A=o.forwardRef(function(f,r){var i=f.height,n=f.offsetY,c=f.offsetX,p=f.children,w=f.prefixCls,y=f.onInnerResize,V=f.innerProps,P=f.rtl,k=f.extra,$={},H={display:"flex",flexDirection:"column"};return n!==void 0&&($={height:i,position:"relative",overflow:"hidden"},H=(0,oe.Z)((0,oe.Z)({},H),{},(0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)({transform:"translateY(".concat(n,"px)")},P?"marginRight":"marginLeft",-c),"position","absolute"),"left",0),"right",0),"top",0))),o.createElement("div",{style:$},o.createElement(mt.Z,{onResize:function(Z){var z=Z.offsetHeight;z&&y&&y()}},o.createElement("div",(0,I.Z)({style:H,className:ut()((0,te.Z)({},"".concat(w,"-holder-inner"),w)),ref:r},V),p,k)))});A.displayName="Filler";var wn=A;function En(f){var r=f.children,i=f.setRef,n=o.useCallback(function(c){i(c)},[]);return o.cloneElement(r,{ref:n})}function $t(f,r,i,n,c,p,w,y){var V=y.getKey;return f.slice(r,i+1).map(function(P,k){var $=r+k,H=w(P,$,{style:{width:n},offsetX:c}),D=V(P);return o.createElement(En,{key:D,setRef:function(z){return p(P,z)}},H)})}function at(f,r,i,n){var c=i-f,p=r-i,w=Math.min(c,p)*2;if(n<=w){var y=Math.floor(n/2);return n%2?i+y+1:i-y}return c>p?i-(n-p):i+(n-c)}function vn(f,r,i){var n=f.length,c=r.length,p,w;if(n===0&&c===0)return null;n<c?(p=f,w=r):(p=r,w=f);var y={__EMPTY_ITEM__:!0};function V(Z){return Z!==void 0?i(Z):y}for(var P=null,k=Math.abs(n-c)!==1,$=0;$<w.length;$+=1){var H=V(p[$]),D=V(w[$]);if(H!==D){P=$,k=k||H!==V(w[$+1]);break}}return P===null?null:{index:P,multiple:k}}function Lt(f,r,i){var n=o.useState(f),c=(0,L.Z)(n,2),p=c[0],w=c[1],y=o.useState(null),V=(0,L.Z)(y,2),P=V[0],k=V[1];return o.useEffect(function(){var $=vn(p||[],f||[],r);($==null?void 0:$.index)!==void 0&&(i==null||i($.index),k(f[$.index])),w(f)},[f]),[P]}var ot=u(16089),dn=(typeof navigator=="undefined"?"undefined":(0,B.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Pn=dn,de=function(f,r,i,n){var c=(0,o.useRef)(!1),p=(0,o.useRef)(null);function w(){clearTimeout(p.current),c.current=!0,p.current=setTimeout(function(){c.current=!1},50)}var y=(0,o.useRef)({top:f,bottom:r,left:i,right:n});return y.current.top=f,y.current.bottom=r,y.current.left=i,y.current.right=n,function(V,P){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$=V?P<0&&y.current.left||P>0&&y.current.right:P<0&&y.current.top||P>0&&y.current.bottom;return k&&$?(clearTimeout(p.current),c.current=!1):(!$||c.current)&&w(),!c.current&&$}};function mn(f,r,i,n,c,p,w){var y=(0,o.useRef)(0),V=(0,o.useRef)(null),P=(0,o.useRef)(null),k=(0,o.useRef)(!1),$=de(r,i,n,c);function H(X,Pe){if(ot.Z.cancel(V.current),!$(!1,Pe)){var me=X;if(!me._virtualHandled)me._virtualHandled=!0;else return;y.current+=Pe,P.current=Pe,Pn||me.preventDefault(),V.current=(0,ot.Z)(function(){var We=k.current?10:1;w(y.current*We,!1),y.current=0})}}function D(X,Pe){w(Pe,!0),Pn||X.preventDefault()}var Z=(0,o.useRef)(null),z=(0,o.useRef)(null);function Ce(X){if(f){ot.Z.cancel(z.current),z.current=(0,ot.Z)(function(){Z.current=null},2);var Pe=X.deltaX,me=X.deltaY,We=X.shiftKey,be=Pe,Y=me;(Z.current==="sx"||!Z.current&&We&&me&&!Pe)&&(be=me,Y=0,Z.current="sx");var Ct=Math.abs(be),gt=Math.abs(Y);Z.current===null&&(Z.current=p&&Ct>gt?"x":"y"),Z.current==="y"?H(X,Y):D(X,be)}}function Se(X){f&&(k.current=X.detail===P.current)}return[Ce,Se]}function W(f,r,i,n){var c=o.useMemo(function(){return[new Map,[]]},[f,i.id,n]),p=(0,L.Z)(c,2),w=p[0],y=p[1],V=function(k){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,H=w.get(k),D=w.get($);if(H===void 0||D===void 0)for(var Z=f.length,z=y.length;z<Z;z+=1){var Ce,Se=f[z],X=r(Se);w.set(X,z);var Pe=(Ce=i.get(X))!==null&&Ce!==void 0?Ce:n;if(y[z]=(y[z-1]||0)+Pe,X===k&&(H=z),X===$&&(D=z),H!==void 0&&D!==void 0)break}return{top:y[H-1]||0,bottom:y[D]}};return V}var _t=u(67732),pe=u(83652),Kt=function(){function f(){(0,_t.Z)(this,f),(0,te.Z)(this,"maps",void 0),(0,te.Z)(this,"id",0),(0,te.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,pe.Z)(f,[{key:"set",value:function(i,n){this.diffRecords.set(i,this.maps[i]),this.maps[i]=n,this.id+=1}},{key:"get",value:function(i){return this.maps[i]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),f}(),E=Kt;function s(f){var r=parseFloat(f);return isNaN(r)?0:r}function R(f,r,i){var n=o.useState(0),c=(0,L.Z)(n,2),p=c[0],w=c[1],y=(0,o.useRef)(new Map),V=(0,o.useRef)(new E),P=(0,o.useRef)(0);function k(){P.current+=1}function $(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;k();var Z=function(){var Se=!1;y.current.forEach(function(X,Pe){if(X&&X.offsetParent){var me=X.offsetHeight,We=getComputedStyle(X),be=We.marginTop,Y=We.marginBottom,Ct=s(be),gt=s(Y),ue=me+Ct+gt;V.current.get(Pe)!==ue&&(V.current.set(Pe,ue),Se=!0)}}),Se&&w(function(X){return X+1})};if(D)Z();else{P.current+=1;var z=P.current;Promise.resolve().then(function(){z===P.current&&Z()})}}function H(D,Z){var z=f(D),Ce=y.current.get(z);Z?(y.current.set(z,Z),$()):y.current.delete(z),!Ce!=!Z&&(Z?r==null||r(D):i==null||i(D))}return(0,o.useEffect)(function(){return k},[]),[H,$,V.current,p]}var C=14/15;function Q(f,r,i){var n=(0,o.useRef)(!1),c=(0,o.useRef)(0),p=(0,o.useRef)(0),w=(0,o.useRef)(null),y=(0,o.useRef)(null),V,P=function(D){if(n.current){var Z=Math.ceil(D.touches[0].pageX),z=Math.ceil(D.touches[0].pageY),Ce=c.current-Z,Se=p.current-z,X=Math.abs(Ce)>Math.abs(Se);X?c.current=Z:p.current=z;var Pe=i(X,X?Ce:Se,!1,D);Pe&&D.preventDefault(),clearInterval(y.current),Pe&&(y.current=setInterval(function(){X?Ce*=C:Se*=C;var me=Math.floor(X?Ce:Se);(!i(X,me,!0)||Math.abs(me)<=.1)&&clearInterval(y.current)},16))}},k=function(){n.current=!1,V()},$=function(D){V(),D.touches.length===1&&!n.current&&(n.current=!0,c.current=Math.ceil(D.touches[0].pageX),p.current=Math.ceil(D.touches[0].pageY),w.current=D.target,w.current.addEventListener("touchmove",P,{passive:!1}),w.current.addEventListener("touchend",k,{passive:!0}))};V=function(){w.current&&(w.current.removeEventListener("touchmove",P),w.current.removeEventListener("touchend",k))},(0,pt.Z)(function(){return f&&r.current.addEventListener("touchstart",$,{passive:!0}),function(){var H;(H=r.current)===null||H===void 0||H.removeEventListener("touchstart",$),V(),clearInterval(y.current)}},[f])}function ie(f){return Math.floor(Math.pow(f,.5))}function g(f,r){var i="touches"in f?f.touches[0]:f;return i[r?"pageX":"pageY"]-window[r?"scrollX":"scrollY"]}function Ie(f,r,i){o.useEffect(function(){var n=r.current;if(f&&n){var c=!1,p,w,y=function(){ot.Z.cancel(p)},V=function H(){y(),p=(0,ot.Z)(function(){i(w),H()})},P=function(){c=!1,y()},k=function(D){if(!(D.target.draggable||D.button!==0)){var Z=D;Z._virtualHandled||(Z._virtualHandled=!0,c=!0)}},$=function(D){if(c){var Z=g(D,!1),z=n.getBoundingClientRect(),Ce=z.top,Se=z.bottom;if(Z<=Ce){var X=Ce-Z;w=-ie(X),V()}else if(Z>=Se){var Pe=Z-Se;w=ie(Pe),V()}else y()}};return n.addEventListener("mousedown",k),n.ownerDocument.addEventListener("mouseup",P),n.ownerDocument.addEventListener("mousemove",$),n.ownerDocument.addEventListener("dragend",P),function(){n.removeEventListener("mousedown",k),n.ownerDocument.removeEventListener("mouseup",P),n.ownerDocument.removeEventListener("mousemove",$),n.ownerDocument.removeEventListener("dragend",P),y()}}},[f])}var je=10;function Fe(f,r,i,n,c,p,w,y){var V=o.useRef(),P=o.useState(null),k=(0,L.Z)(P,2),$=k[0],H=k[1];return(0,pt.Z)(function(){if($&&$.times<je){if(!f.current){H(function(Ne){return(0,oe.Z)({},Ne)});return}p();var D=$.targetAlign,Z=$.originAlign,z=$.index,Ce=$.offset,Se=f.current.clientHeight,X=!1,Pe=D,me=null;if(Se){for(var We=D||Z,be=0,Y=0,Ct=0,gt=Math.min(r.length-1,z),ue=0;ue<=gt;ue+=1){var Mt=c(r[ue]);Y=be;var tn=i.get(Mt);Ct=Y+(tn===void 0?n:tn),be=Ct}for(var Ot=We==="top"?Ce:Se-Ce,wt=gt;wt>=0;wt-=1){var At=c(r[wt]),Et=i.get(At);if(Et===void 0){X=!0;break}if(Ot-=Et,Ot<=0)break}switch(We){case"top":me=Y-Ce;break;case"bottom":me=Ct-Se+Ce;break;default:{var ct=f.current.scrollTop,Ge=ct+Se;Y<ct?Pe="top":Ct>Ge&&(Pe="bottom")}}me!==null&&w(me),me!==$.lastTop&&(X=!0)}X&&H((0,oe.Z)((0,oe.Z)({},$),{},{times:$.times+1,targetAlign:Pe,lastTop:me}))}},[$,f.current]),function(D){if(D==null){y();return}if(ot.Z.cancel(V.current),typeof D=="number")w(D);else if(D&&(0,B.Z)(D)==="object"){var Z,z=D.align;"index"in D?Z=D.index:Z=r.findIndex(function(X){return c(X)===D.key});var Ce=D.offset,Se=Ce===void 0?0:Ce;H({times:0,index:Z,offset:Se,originAlign:z})}}}var Ue=o.forwardRef(function(f,r){var i=f.prefixCls,n=f.rtl,c=f.scrollOffset,p=f.scrollRange,w=f.onStartMove,y=f.onStopMove,V=f.onScroll,P=f.horizontal,k=f.spinSize,$=f.containerSize,H=f.style,D=f.thumbStyle,Z=f.showScrollBar,z=o.useState(!1),Ce=(0,L.Z)(z,2),Se=Ce[0],X=Ce[1],Pe=o.useState(null),me=(0,L.Z)(Pe,2),We=me[0],be=me[1],Y=o.useState(null),Ct=(0,L.Z)(Y,2),gt=Ct[0],ue=Ct[1],Mt=!n,tn=o.useRef(),Ot=o.useRef(),wt=o.useState(Z),At=(0,L.Z)(wt,2),Et=At[0],ct=At[1],Ge=o.useRef(),Ne=function(){Z===!0||Z===!1||(clearTimeout(Ge.current),ct(!0),Ge.current=setTimeout(function(){ct(!1)},3e3))},ft=p-$||0,nt=$-k||0,Pt=o.useMemo(function(){if(c===0||ft===0)return 0;var Vt=c/ft;return Vt*nt},[c,ft,nt]),he=function(yt){yt.stopPropagation(),yt.preventDefault()},Ut=o.useRef({top:Pt,dragging:Se,pageY:We,startTop:gt});Ut.current={top:Pt,dragging:Se,pageY:We,startTop:gt};var gn=function(yt){X(!0),be(g(yt,P)),ue(Ut.current.top),w(),yt.stopPropagation(),yt.preventDefault()};o.useEffect(function(){var Vt=function(St){St.preventDefault()},yt=tn.current,Je=Ot.current;return yt.addEventListener("touchstart",Vt,{passive:!1}),Je.addEventListener("touchstart",gn,{passive:!1}),function(){yt.removeEventListener("touchstart",Vt),Je.removeEventListener("touchstart",gn)}},[]);var Qt=o.useRef();Qt.current=ft;var Yt=o.useRef();Yt.current=nt,o.useEffect(function(){if(Se){var Vt,yt=function(St){var Qe=Ut.current,nn=Qe.dragging,bn=Qe.pageY,Gt=Qe.startTop;ot.Z.cancel(Vt);var t=tn.current.getBoundingClientRect(),e=$/(P?t.width:t.height);if(nn){var v=(g(St,P)-bn)*e,l=Gt;!Mt&&P?l-=v:l+=v;var S=Qt.current,b=Yt.current,x=b?l/b:0,d=Math.ceil(x*S);d=Math.max(d,0),d=Math.min(d,S),Vt=(0,ot.Z)(function(){V(d,P)})}},Je=function(){X(!1),y()};return window.addEventListener("mousemove",yt,{passive:!0}),window.addEventListener("touchmove",yt,{passive:!0}),window.addEventListener("mouseup",Je,{passive:!0}),window.addEventListener("touchend",Je,{passive:!0}),function(){window.removeEventListener("mousemove",yt),window.removeEventListener("touchmove",yt),window.removeEventListener("mouseup",Je),window.removeEventListener("touchend",Je),ot.Z.cancel(Vt)}}},[Se]),o.useEffect(function(){return Ne(),function(){clearTimeout(Ge.current)}},[c]),o.useImperativeHandle(r,function(){return{delayHidden:Ne}});var _e="".concat(i,"-scrollbar"),it={position:"absolute",visibility:Et?null:"hidden"},Tt={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return P?(Object.assign(it,{height:8,left:0,right:0,bottom:0}),Object.assign(Tt,(0,te.Z)({height:"100%",width:k},Mt?"left":"right",Pt))):(Object.assign(it,(0,te.Z)({width:8,top:0,bottom:0},Mt?"right":"left",0)),Object.assign(Tt,{width:"100%",height:k,top:Pt})),o.createElement("div",{ref:tn,className:ut()(_e,(0,te.Z)((0,te.Z)((0,te.Z)({},"".concat(_e,"-horizontal"),P),"".concat(_e,"-vertical"),!P),"".concat(_e,"-visible"),Et)),style:(0,oe.Z)((0,oe.Z)({},it),H),onMouseDown:he,onMouseMove:Ne},o.createElement("div",{ref:Ot,className:ut()("".concat(_e,"-thumb"),(0,te.Z)({},"".concat(_e,"-thumb-moving"),Se)),style:(0,oe.Z)((0,oe.Z)({},Tt),D),onMouseDown:gn}))}),De=Ue,xt=20;function st(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=f/r*f;return isNaN(i)&&(i=0),i=Math.max(i,xt),Math.floor(i)}var Xt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],hn=[],un={overflowY:"auto",overflowAnchor:"none"};function ht(f,r){var i=f.prefixCls,n=i===void 0?"rc-virtual-list":i,c=f.className,p=f.height,w=f.itemHeight,y=f.fullHeight,V=y===void 0?!0:y,P=f.style,k=f.data,$=f.children,H=f.itemKey,D=f.virtual,Z=f.direction,z=f.scrollWidth,Ce=f.component,Se=Ce===void 0?"div":Ce,X=f.onScroll,Pe=f.onVirtualScroll,me=f.onVisibleChange,We=f.innerProps,be=f.extraRender,Y=f.styles,Ct=f.showScrollBar,gt=Ct===void 0?"optional":Ct,ue=(0,Nt.Z)(f,Xt),Mt=o.useCallback(function(m){return typeof H=="function"?H(m):m==null?void 0:m[H]},[H]),tn=R(Mt,null,null),Ot=(0,L.Z)(tn,4),wt=Ot[0],At=Ot[1],Et=Ot[2],ct=Ot[3],Ge=!!(D!==!1&&p&&w),Ne=o.useMemo(function(){return Object.values(Et.maps).reduce(function(m,h){return m+h},0)},[Et.id,Et.maps]),ft=Ge&&k&&(Math.max(w*k.length,Ne)>p||!!z),nt=Z==="rtl",Pt=ut()(n,(0,te.Z)({},"".concat(n,"-rtl"),nt),c),he=k||hn,Ut=(0,o.useRef)(),gn=(0,o.useRef)(),Qt=(0,o.useRef)(),Yt=(0,o.useState)(0),_e=(0,L.Z)(Yt,2),it=_e[0],Tt=_e[1],Vt=(0,o.useState)(0),yt=(0,L.Z)(Vt,2),Je=yt[0],Ht=yt[1],St=(0,o.useState)(!1),Qe=(0,L.Z)(St,2),nn=Qe[0],bn=Qe[1],Gt=function(){bn(!0)},t=function(){bn(!1)},e={getKey:Mt};function v(m){Tt(function(h){var G;typeof m=="function"?G=m(h):G=m;var K=bt(G);return Ut.current.scrollTop=K,K})}var l=(0,o.useRef)({start:0,end:he.length}),S=(0,o.useRef)(),b=Lt(he,Mt),x=(0,L.Z)(b,1),d=x[0];S.current=d;var M=o.useMemo(function(){if(!Ge)return{scrollHeight:void 0,start:0,end:he.length-1,offset:void 0};if(!ft){var m;return{scrollHeight:((m=gn.current)===null||m===void 0?void 0:m.offsetHeight)||0,start:0,end:he.length-1,offset:void 0}}for(var h=0,G,K,fe,He=he.length,Ye=0;Ye<He;Ye+=1){var qe=he[Ye],qt=Mt(qe),Sn=Et.get(qt),on=h+(Sn===void 0?w:Sn);on>=it&&G===void 0&&(G=Ye,K=h),on>it+p&&fe===void 0&&(fe=Ye),h=on}return G===void 0&&(G=0,K=0,fe=Math.ceil(p/w)),fe===void 0&&(fe=he.length-1),fe=Math.min(fe+1,he.length-1),{scrollHeight:h,start:G,end:fe,offset:K}},[ft,Ge,it,he,ct,p]),N=M.scrollHeight,j=M.start,ee=M.end,ge=M.offset;l.current.start=j,l.current.end=ee,o.useLayoutEffect(function(){var m=Et.getRecord();if(m.size===1){var h=Array.from(m.keys())[0],G=m.get(h),K=he[j];if(K&&G===void 0){var fe=Mt(K);if(fe===h){var He=Et.get(h),Ye=He-w;v(function(qe){return qe+Ye})}}}Et.resetRecord()},[N]);var O=o.useState({width:0,height:p}),le=(0,L.Z)(O,2),J=le[0],U=le[1],we=function(h){U({width:h.offsetWidth,height:h.offsetHeight})},F=(0,o.useRef)(),q=(0,o.useRef)(),re=o.useMemo(function(){return st(J.width,z)},[J.width,z]),Le=o.useMemo(function(){return st(J.height,N)},[J.height,N]),se=N-p,et=(0,o.useRef)(se);et.current=se;function bt(m){var h=m;return Number.isNaN(et.current)||(h=Math.min(h,et.current)),h=Math.max(h,0),h}var Ve=it<=0,Oe=it>=se,Te=Je<=0,Xe=Je>=z,ke=de(Ve,Oe,Te,Xe),Ze=function(){return{x:nt?-Je:Je,y:it}},Ee=(0,o.useRef)(Ze()),T=(0,a.zX)(function(m){if(Pe){var h=(0,oe.Z)((0,oe.Z)({},Ze()),m);(Ee.current.x!==h.x||Ee.current.y!==h.y)&&(Pe(h),Ee.current=h)}});function ae(m,h){var G=m;h?((0,fn.flushSync)(function(){Ht(G)}),T()):v(G)}function ce(m){var h=m.currentTarget.scrollTop;h!==it&&v(h),X==null||X(m),T()}var $e=function(h){var G=h,K=z?z-J.width:0;return G=Math.max(G,0),G=Math.min(G,K),G},Ae=(0,a.zX)(function(m,h){h?((0,fn.flushSync)(function(){Ht(function(G){var K=G+(nt?-m:m);return $e(K)})}),T()):v(function(G){var K=G+m;return K})}),ze=mn(Ge,Ve,Oe,Te,Xe,!!z,Ae),It=(0,L.Z)(ze,2),sn=It[0],rn=It[1];Q(Ge,Ut,function(m,h,G,K){var fe=K;return ke(m,h,G)?!1:!fe||!fe._virtualHandled?(fe&&(fe._virtualHandled=!0),sn({preventDefault:function(){},deltaX:m?h:0,deltaY:m?0:h}),!0):!1}),Ie(ft,Ut,function(m){v(function(h){return h+m})}),(0,pt.Z)(function(){function m(G){var K=Ve&&G.detail<0,fe=Oe&&G.detail>0;Ge&&!K&&!fe&&G.preventDefault()}var h=Ut.current;return h.addEventListener("wheel",sn,{passive:!1}),h.addEventListener("DOMMouseScroll",rn,{passive:!0}),h.addEventListener("MozMousePixelScroll",m,{passive:!1}),function(){h.removeEventListener("wheel",sn),h.removeEventListener("DOMMouseScroll",rn),h.removeEventListener("MozMousePixelScroll",m)}},[Ge,Ve,Oe]),(0,pt.Z)(function(){if(z){var m=$e(Je);Ht(m),T({x:m})}},[J.width,z]);var vt=function(){var h,G;(h=F.current)===null||h===void 0||h.delayHidden(),(G=q.current)===null||G===void 0||G.delayHidden()},pn=Fe(Ut,he,Et,w,Mt,function(){return At(!0)},v,vt);o.useImperativeHandle(r,function(){return{nativeElement:Qt.current,getScrollInfo:Ze,scrollTo:function(h){function G(K){return K&&(0,B.Z)(K)==="object"&&("left"in K||"top"in K)}G(h)?(h.left!==void 0&&Ht($e(h.left)),pn(h.top)):pn(h)}}}),(0,pt.Z)(function(){if(me){var m=he.slice(j,ee+1);me(m,he)}},[j,ee,he]);var kt=W(he,Mt,Et,w),yn=be==null?void 0:be({start:j,end:ee,virtual:ft,offsetX:Je,offsetY:ge,rtl:nt,getSize:kt}),an=$t(he,j,ee,z,Je,wt,$,e),Rt=null;p&&(Rt=(0,oe.Z)((0,te.Z)({},V?"height":"maxHeight",p),un),Ge&&(Rt.overflowY="hidden",z&&(Rt.overflowX="hidden"),nn&&(Rt.pointerEvents="none")));var Re={};return nt&&(Re.dir="rtl"),o.createElement("div",(0,I.Z)({ref:Qt,style:(0,oe.Z)((0,oe.Z)({},P),{},{position:"relative"}),className:Pt},Re,ue),o.createElement(mt.Z,{onResize:we},o.createElement(Se,{className:"".concat(n,"-holder"),style:Rt,ref:Ut,onScroll:ce,onMouseEnter:vt},o.createElement(wn,{prefixCls:n,height:N,offsetX:Je,offsetY:ge,scrollWidth:z,onInnerResize:At,ref:gn,innerProps:We,rtl:nt,extra:yn},an))),ft&&N>p&&o.createElement(De,{ref:F,prefixCls:n,scrollOffset:it,scrollRange:N,rtl:nt,onScroll:ae,onStartMove:Gt,onStopMove:t,spinSize:Le,containerSize:J.height,style:Y==null?void 0:Y.verticalScrollBar,thumbStyle:Y==null?void 0:Y.verticalScrollBarThumb,showScrollBar:gt}),ft&&z>J.width&&o.createElement(De,{ref:q,prefixCls:n,scrollOffset:Je,scrollRange:z,rtl:nt,onScroll:ae,onStartMove:Gt,onStopMove:t,spinSize:re,containerSize:J.width,horizontal:!0,style:Y==null?void 0:Y.horizontalScrollBar,thumbStyle:Y==null?void 0:Y.horizontalScrollBarThumb,showScrollBar:gt}))}var en=o.forwardRef(ht);en.displayName="List";var jt=en,Jt=jt},76374:function(Gn,cn,u){var I=function(){if(typeof Map!="undefined")return Map;function E(s,R){var C=-1;return s.some(function(Q,ie){return Q[0]===R?(C=ie,!0):!1}),C}return function(){function s(){this.__entries__=[]}return Object.defineProperty(s.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),s.prototype.get=function(R){var C=E(this.__entries__,R),Q=this.__entries__[C];return Q&&Q[1]},s.prototype.set=function(R,C){var Q=E(this.__entries__,R);~Q?this.__entries__[Q][1]=C:this.__entries__.push([R,C])},s.prototype.delete=function(R){var C=this.__entries__,Q=E(C,R);~Q&&C.splice(Q,1)},s.prototype.has=function(R){return!!~E(this.__entries__,R)},s.prototype.clear=function(){this.__entries__.splice(0)},s.prototype.forEach=function(R,C){C===void 0&&(C=null);for(var Q=0,ie=this.__entries__;Q<ie.length;Q++){var g=ie[Q];R.call(C,g[1],g[0])}},s}()}(),B=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,oe=function(){return typeof u.g!="undefined"&&u.g.Math===Math?u.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),te=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(oe):function(E){return setTimeout(function(){return E(Date.now())},1e3/60)}}(),L=2;function Nt(E,s){var R=!1,C=!1,Q=0;function ie(){R&&(R=!1,E()),C&&Ie()}function g(){te(ie)}function Ie(){var je=Date.now();if(R){if(je-Q<L)return;C=!0}else R=!0,C=!1,setTimeout(g,s);Q=je}return Ie}var lt=20,ut=["top","right","bottom","left","width","height","size","weight"],mt=typeof MutationObserver!="undefined",a=function(){function E(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Nt(this.refresh.bind(this),lt)}return E.prototype.addObserver=function(s){~this.observers_.indexOf(s)||this.observers_.push(s),this.connected_||this.connect_()},E.prototype.removeObserver=function(s){var R=this.observers_,C=R.indexOf(s);~C&&R.splice(C,1),!R.length&&this.connected_&&this.disconnect_()},E.prototype.refresh=function(){var s=this.updateObservers_();s&&this.refresh()},E.prototype.updateObservers_=function(){var s=this.observers_.filter(function(R){return R.gatherActive(),R.hasActive()});return s.forEach(function(R){return R.broadcastActive()}),s.length>0},E.prototype.connect_=function(){!B||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mt?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},E.prototype.disconnect_=function(){!B||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},E.prototype.onTransitionEnd_=function(s){var R=s.propertyName,C=R===void 0?"":R,Q=ut.some(function(ie){return!!~C.indexOf(ie)});Q&&this.refresh()},E.getInstance=function(){return this.instance_||(this.instance_=new E),this.instance_},E.instance_=null,E}(),pt=function(E,s){for(var R=0,C=Object.keys(s);R<C.length;R++){var Q=C[R];Object.defineProperty(E,Q,{value:s[Q],enumerable:!1,writable:!1,configurable:!0})}return E},o=function(E){var s=E&&E.ownerDocument&&E.ownerDocument.defaultView;return s||oe},fn=Pn(0,0,0,0);function A(E){return parseFloat(E)||0}function wn(E){for(var s=[],R=1;R<arguments.length;R++)s[R-1]=arguments[R];return s.reduce(function(C,Q){var ie=E["border-"+Q+"-width"];return C+A(ie)},0)}function En(E){for(var s=["top","right","bottom","left"],R={},C=0,Q=s;C<Q.length;C++){var ie=Q[C],g=E["padding-"+ie];R[ie]=A(g)}return R}function $t(E){var s=E.getBBox();return Pn(0,0,s.width,s.height)}function at(E){var s=E.clientWidth,R=E.clientHeight;if(!s&&!R)return fn;var C=o(E).getComputedStyle(E),Q=En(C),ie=Q.left+Q.right,g=Q.top+Q.bottom,Ie=A(C.width),je=A(C.height);if(C.boxSizing==="border-box"&&(Math.round(Ie+ie)!==s&&(Ie-=wn(C,"left","right")+ie),Math.round(je+g)!==R&&(je-=wn(C,"top","bottom")+g)),!Lt(E)){var Fe=Math.round(Ie+ie)-s,Ue=Math.round(je+g)-R;Math.abs(Fe)!==1&&(Ie-=Fe),Math.abs(Ue)!==1&&(je-=Ue)}return Pn(Q.left,Q.top,Ie,je)}var vn=function(){return typeof SVGGraphicsElement!="undefined"?function(E){return E instanceof o(E).SVGGraphicsElement}:function(E){return E instanceof o(E).SVGElement&&typeof E.getBBox=="function"}}();function Lt(E){return E===o(E).document.documentElement}function ot(E){return B?vn(E)?$t(E):at(E):fn}function dn(E){var s=E.x,R=E.y,C=E.width,Q=E.height,ie=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,g=Object.create(ie.prototype);return pt(g,{x:s,y:R,width:C,height:Q,top:R,right:s+C,bottom:Q+R,left:s}),g}function Pn(E,s,R,C){return{x:E,y:s,width:R,height:C}}var de=function(){function E(s){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Pn(0,0,0,0),this.target=s}return E.prototype.isActive=function(){var s=ot(this.target);return this.contentRect_=s,s.width!==this.broadcastWidth||s.height!==this.broadcastHeight},E.prototype.broadcastRect=function(){var s=this.contentRect_;return this.broadcastWidth=s.width,this.broadcastHeight=s.height,s},E}(),mn=function(){function E(s,R){var C=dn(R);pt(this,{target:s,contentRect:C})}return E}(),W=function(){function E(s,R,C){if(this.activeObservations_=[],this.observations_=new I,typeof s!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=s,this.controller_=R,this.callbackCtx_=C}return E.prototype.observe=function(s){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(s instanceof o(s).Element))throw new TypeError('parameter 1 is not of type "Element".');var R=this.observations_;R.has(s)||(R.set(s,new de(s)),this.controller_.addObserver(this),this.controller_.refresh())}},E.prototype.unobserve=function(s){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(s instanceof o(s).Element))throw new TypeError('parameter 1 is not of type "Element".');var R=this.observations_;R.has(s)&&(R.delete(s),R.size||this.controller_.removeObserver(this))}},E.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},E.prototype.gatherActive=function(){var s=this;this.clearActive(),this.observations_.forEach(function(R){R.isActive()&&s.activeObservations_.push(R)})},E.prototype.broadcastActive=function(){if(this.hasActive()){var s=this.callbackCtx_,R=this.activeObservations_.map(function(C){return new mn(C.target,C.broadcastRect())});this.callback_.call(s,R,s),this.clearActive()}},E.prototype.clearActive=function(){this.activeObservations_.splice(0)},E.prototype.hasActive=function(){return this.activeObservations_.length>0},E}(),_t=typeof WeakMap!="undefined"?new WeakMap:new I,pe=function(){function E(s){if(!(this instanceof E))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var R=a.getInstance(),C=new W(s,R,this);_t.set(this,C)}return E}();["observe","unobserve","disconnect"].forEach(function(E){pe.prototype[E]=function(){var s;return(s=_t.get(this))[E].apply(s,arguments)}});var Kt=function(){return typeof oe.ResizeObserver!="undefined"?oe.ResizeObserver:pe}();cn.Z=Kt}}]);
|