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.
NewEduCoderBuild/p__HttpStatus__UserAgents.1...

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 N=u(33885),B=u(42978),oe=u(75931),te=u(43403),A=u(92310),zt=u.n(A),ct=u(29301),ft=u(76846),gt=u(96452),a=u(6089),wt=u(80402),o=u(34280),fn=u(49658),V=u(59301),wn=u(54476),En=u(77900),$t=u(8654);function nt(r){var i=r.prefixCls,n=r.align,c=r.arrow,p=r.arrowPos,C=c||{},E=C.className,L=C.content,P=p.x,G=P===void 0?0:P,F=p.y,k=F===void 0?0:F,z=V.useRef();if(!n||!n.points)return null;var Z={position:"absolute"};if(n.autoArrow!==!1){var j=n.points[0],me=n.points[1],he=j[0],q=j[1],Re=me[0],ue=me[1];he===Re||!["t","b"].includes(he)?Z.top=k:he==="t"?Z.top=0:Z.bottom=0,q===ue||!["l","r"].includes(q)?Z.left=G:q==="l"?Z.left=0:Z.right=0}return V.createElement("div",{ref:z,className:zt()("".concat(i,"-arrow"),E),style:Z},L)}function vn(r){var i=r.prefixCls,n=r.open,c=r.zIndex,p=r.mask,C=r.motion;return p?V.createElement(En.default,(0,wn.Z)({},C,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(E){var L=E.className;return V.createElement("div",{style:{zIndex:c},className:zt()("".concat(i,"-mask"),L)})}):null}var Ht=V.memo(function(r){var i=r.children;return i},function(r,i){return i.cache}),rt=Ht,dn=V.forwardRef(function(r,i){var n=r.popup,c=r.className,p=r.prefixCls,C=r.style,E=r.target,L=r.onVisibleChanged,P=r.open,G=r.keepDom,F=r.fresh,k=r.onClick,z=r.mask,Z=r.arrow,j=r.arrowPos,me=r.align,he=r.motion,q=r.maskMotion,Re=r.forceRender,ue=r.getPopupContainer,He=r.autoDestroy,ge=r.portal,Y=r.zIndex,St=r.onMouseEnter,at=r.onMouseLeave,ve=r.onPointerEnter,It=r.onPointerDownCapture,Qt=r.ready,Et=r.offsetX,Dt=r.offsetY,At=r.offsetR,bt=r.offsetB,ot=r.onAlign,je=r.onPrepare,Pe=r.stretch,it=r.targetWidth,Ge=r.targetHeight,Vt=typeof n=="function"?n():n,ie=P||G,Ut=(ue==null?void 0:ue.length)>0,gn=V.useState(!ue||!Ut),ln=(0,B.Z)(gn,2),Xt=ln[0],lt=ln[1];if((0,o.Z)(function(){!Xt&&Ut&&E&&lt(!0)},[Xt,Ut,E]),!Xt)return null;var et="auto",Nt={left:"-1000vw",top:"-1000vh",right:et,bottom:et};if(Qt||!P){var Xe,dt=me.points,ut=me.dynamicInset||((Xe=me._experimental)===null||Xe===void 0?void 0:Xe.dynamicInset),pt=ut&&dt[0][1]==="r",Rt=ut&&dt[0][0]==="b";pt?(Nt.right=At,Nt.left=et):(Nt.left=Et,Nt.right=et),Rt?(Nt.bottom=bt,Nt.top=et):(Nt.top=Dt,Nt.bottom=et)}var Zt={};return Pe&&(Pe.includes("height")&&Ge?Zt.height=Ge:Pe.includes("minHeight")&&Ge&&(Zt.minHeight=Ge),Pe.includes("width")&&it?Zt.width=it:Pe.includes("minWidth")&&it&&(Zt.minWidth=it)),P||(Zt.pointerEvents="none"),V.createElement(ge,{open:Re||ie,getContainer:ue&&function(){return ue(E)},autoDestroy:He},V.createElement(vn,{prefixCls:p,open:P,zIndex:Y,mask:z,motion:q}),V.createElement(ct.Z,{onResize:ot,disabled:!P},function(un){return V.createElement(En.default,(0,wn.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Re,leavedClassName:"".concat(p,"-hidden")},he,{onAppearPrepare:je,onEnterPrepare:je,visible:P,onVisibleChanged:function(bn){var t;he==null||(t=he.onVisibleChanged)===null||t===void 0||t.call(he,bn),L(bn)}}),function(en,bn){var t=en.className,e=en.style,v=zt()(p,t,c);return V.createElement("div",{ref:(0,$t.sQ)(un,i,bn),className:v,style:(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({"--arrow-x":"".concat(j.x||0,"px"),"--arrow-y":"".concat(j.y||0,"px")},Nt),Zt),e),{},{boxSizing:"border-box",zIndex:Y},C),onMouseEnter:St,onMouseLeave:at,onPointerEnter:ve,onClick:k,onPointerDownCapture:It},Z&&V.createElement(nt,{prefixCls:p,arrow:Z,arrowPos:j,align:me}),V.createElement(rt,{cache:!P&&!F},Vt))})}))}),Pn=dn,fe=V.forwardRef(function(r,i){var n=r.children,c=r.getTriggerDOMNode,p=(0,$t.Yr)(n),C=V.useCallback(function(L){(0,$t.mH)(i,c?c(L):L)},[c]),E=(0,$t.x1)(C,(0,$t.C4)(n));return p?V.cloneElement(n,{ref:E}):n}),mn=fe,$=V.createContext(null),Gt=$;function ye(r){return r?Array.isArray(r)?r:[r]:[]}function Kt(r,i,n,c){return V.useMemo(function(){var p=ye(n!=null?n:i),C=ye(c!=null?c:i),E=new Set(p),L=new Set(C);return r&&(E.has("hover")&&(E.delete("hover"),E.add("click")),L.has("hover")&&(L.delete("hover"),L.add("click"))),[E,L]},[r,i,n,c])}var R=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 x(r,i,n,c){for(var p=n.points,C=Object.keys(r),E=0;E<C.length;E+=1){var L,P=C[E];if(s((L=r[P])===null||L===void 0?void 0:L.points,p,c))return"".concat(i,"-placement-").concat(P)}return""}function w(r,i,n,c){return i||(n?{motionName:"".concat(r,"-").concat(n)}:c?{motionName:c}:null)}function X(r){return r.ownerDocument.defaultView}function ae(r){for(var i=[],n=r==null?void 0:r.parentElement,c=["hidden","scroll","clip","auto"];n;){var p=X(n).getComputedStyle(n),C=p.overflowX,E=p.overflowY,L=p.overflow;[C,E,L].some(function(P){return c.includes(P)})&&i.push(n),n=n.parentElement}return i}function b(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(r)?i:r}function xe(r){return b(parseFloat(r),0)}function We(r,i){var n=(0,N.Z)({},r);return(i||[]).forEach(function(c){if(!(c instanceof HTMLBodyElement||c instanceof HTMLHtmlElement)){var p=X(c).getComputedStyle(c),C=p.overflow,E=p.overflowClipMargin,L=p.borderTopWidth,P=p.borderBottomWidth,G=p.borderLeftWidth,F=p.borderRightWidth,k=c.getBoundingClientRect(),z=c.offsetHeight,Z=c.clientHeight,j=c.offsetWidth,me=c.clientWidth,he=xe(L),q=xe(P),Re=xe(G),ue=xe(F),He=b(Math.round(k.width/j*1e3)/1e3),ge=b(Math.round(k.height/z*1e3)/1e3),Y=(j-me-Re-ue)*He,St=(z-Z-he-q)*ge,at=he*ge,ve=q*ge,It=Re*He,Qt=ue*He,Et=0,Dt=0;if(C==="clip"){var At=xe(E);Et=At*He,Dt=At*ge}var bt=k.x+It-Et,ot=k.y+at-Dt,je=bt+k.width+2*Et-It-Qt-Y,Pe=ot+k.height+2*Dt-at-ve-St;n.left=Math.max(n.left,bt),n.top=Math.max(n.top,ot),n.right=Math.min(n.right,je),n.bottom=Math.min(n.bottom,Pe)}}),n}function Ve(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 $e(r,i){var n=i||[],c=(0,B.Z)(n,2),p=c[0],C=c[1];return[Ve(r.width,p),Ve(r.height,C)]}function Me(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[r[0],r[1]]}function Pt(r,i){var n=i[0],c=i[1],p,C;return n==="t"?C=r.y:n==="b"?C=r.y+r.height:C=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:C}}function vt(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 Jt(r,i,n,c,p,C,E){var L=V.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)(L,2),G=P[0],F=P[1],k=V.useRef(0),z=V.useMemo(function(){return i?ae(i):[]},[i]),Z=V.useRef({}),j=function(){Z.current={}};r||j();var me=(0,a.Z)(function(){if(i&&n&&r){let ht=function($n,ne){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:M,de=ie.x+$n,we=ie.y+ne,qe=de+Rt,Tt=we+pt,Fn=Math.max(de,Ce.left),Q=Math.max(we,Ce.top),ce=Math.min(qe,Ce.right),Ae=Math.min(Tt,Ce.bottom);return Math.max(0,(ce-Fn)*(Ae-Q))},Kn=function(){yn=ie.y+Se,nn=yn+pt,xt=ie.x+pe,be=xt+Rt};var Re,ue,He,ge,Y=i,St=Y.ownerDocument,at=X(Y),ve=at.getComputedStyle(Y),It=ve.position,Qt=Y.style.left,Et=Y.style.top,Dt=Y.style.right,At=Y.style.bottom,bt=Y.style.overflow,ot=(0,N.Z)((0,N.Z)({},p[c]),C),je=St.createElement("div");(Re=Y.parentElement)===null||Re===void 0||Re.appendChild(je),je.style.left="".concat(Y.offsetLeft,"px"),je.style.top="".concat(Y.offsetTop,"px"),je.style.position=It,je.style.height="".concat(Y.offsetHeight,"px"),je.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 Pe;if(Array.isArray(n))Pe={x:n[0],y:n[1],width:0,height:0};else{var it,Ge,Vt=n.getBoundingClientRect();Vt.x=(it=Vt.x)!==null&&it!==void 0?it:Vt.left,Vt.y=(Ge=Vt.y)!==null&&Ge!==void 0?Ge:Vt.top,Pe={x:Vt.x,y:Vt.y,width:Vt.width,height:Vt.height}}var ie=Y.getBoundingClientRect(),Ut=at.getComputedStyle(Y),gn=Ut.height,ln=Ut.width;ie.x=(ue=ie.x)!==null&&ue!==void 0?ue:ie.left,ie.y=(He=ie.y)!==null&&He!==void 0?He:ie.top;var Xt=St.documentElement,lt=Xt.clientWidth,et=Xt.clientHeight,Nt=Xt.scrollWidth,Xe=Xt.scrollHeight,dt=Xt.scrollTop,ut=Xt.scrollLeft,pt=ie.height,Rt=ie.width,Zt=Pe.height,un=Pe.width,en={left:0,top:0,right:lt,bottom:et},bn={left:-ut,top:-dt,right:Nt-ut,bottom:Xe-dt},t=ot.htmlRegion,e="visible",v="visibleFirst";t!=="scroll"&&t!==v&&(t=e);var l=t===v,y=We(bn,z),S=We(en,z),M=t===e?S:y,m=l?S:M;Y.style.left="auto",Y.style.top="auto",Y.style.right="0",Y.style.bottom="0";var I=Y.getBoundingClientRect();Y.style.left=Qt,Y.style.top=Et,Y.style.right=Dt,Y.style.bottom=At,Y.style.overflow=bt,(ge=Y.parentElement)===null||ge===void 0||ge.removeChild(je);var O=b(Math.round(Rt/parseFloat(ln)*1e3)/1e3),_=b(Math.round(pt/parseFloat(gn)*1e3)/1e3);if(O===0||_===0||(0,ft.Sh)(n)&&!(0,R.Z)(n))return;var ee=ot.offset,D=ot.targetOffset,d=$e(ie,ee),U=(0,B.Z)(d,2),W=U[0],H=U[1],Ze=$e(Pe,D),Ke=(0,B.Z)(Ze,2),Ue=Ke[0],Te=Ke[1];Pe.x-=Ue,Pe.y-=Te;var st=ot.points||[],Ee=(0,B.Z)(st,2),Ye=Ee[0],Ct=Ee[1],ze=Me(Ct),Ie=Me(Ye),De=Pt(Pe,ze),_e=Pt(ie,Ie),Le=(0,N.Z)({},ot),pe=De.x-_e.x+W,Se=De.y-_e.y+H,T=ht(pe,Se),re=ht(pe,Se,S),le=Pt(Pe,["t","l"]),ke=Pt(ie,["t","l"]),Oe=Pt(Pe,["b","r"]),Ne=Pt(ie,["b","r"]),Ot=ot.overflow||{},sn=Ot.adjustX,tn=Ot.adjustY,mt=Ot.shiftX,pn=Ot.shiftY,kt=function(ne){return typeof ne=="boolean"?ne:ne>=0},yn,nn,xt,be;Kn();var h=kt(tn),g=Ie[0]===ze[0];if(h&&Ie[0]==="t"&&(nn>m.bottom||Z.current.bt)){var J=Se;g?J-=pt-Zt:J=le.y-Ne.y-H;var K=ht(pe,J),se=ht(pe,J,S);K>T||K===T&&(!l||se>=re)?(Z.current.bt=!0,Se=J,H=-H,Le.points=[vt(Ie,0),vt(ze,0)]):Z.current.bt=!1}if(h&&Ie[0]==="b"&&(yn<m.top||Z.current.tb)){var Be=Se;g?Be+=pt-Zt:Be=Oe.y-ke.y-H;var Je=ht(pe,Be),Qe=ht(pe,Be,S);Je>T||Je===T&&(!l||Qe>=re)?(Z.current.tb=!0,Se=Be,H=-H,Le.points=[vt(Ie,0),vt(ze,0)]):Z.current.tb=!1}var Yt=kt(sn),Sn=Ie[1]===ze[1];if(Yt&&Ie[1]==="l"&&(be>m.right||Z.current.rl)){var rn=pe;Sn?rn-=Rt-un:rn=le.x-Ne.x-W;var In=ht(rn,Se),Bt=ht(rn,Se,S);In>T||In===T&&(!l||Bt>=re)?(Z.current.rl=!0,pe=rn,W=-W,Le.points=[vt(Ie,1),vt(ze,1)]):Z.current.rl=!1}if(Yt&&Ie[1]==="r"&&(xt<m.left||Z.current.lr)){var zn=pe;Sn?zn+=Rt-un:zn=Oe.x-ke.x-W;var kn=ht(zn,Se),Rn=ht(zn,Se,S);kn>T||kn===T&&(!l||Rn>=re)?(Z.current.lr=!0,pe=zn,W=-W,Le.points=[vt(Ie,1),vt(ze,1)]):Z.current.lr=!1}Kn();var Ft=mt===!0?0:mt;typeof Ft=="number"&&(xt<S.left&&(pe-=xt-S.left-W,Pe.x+un<S.left+Ft&&(pe+=Pe.x-S.left+un-Ft)),be>S.right&&(pe-=be-S.right-W,Pe.x>S.right-Ft&&(pe+=Pe.x-S.right+Ft)));var an=pn===!0?0:pn;typeof an=="number"&&(yn<S.top&&(Se-=yn-S.top-H,Pe.y+Zt<S.top+an&&(Se+=Pe.y-S.top+Zt-an)),nn>S.bottom&&(Se-=nn-S.bottom-H,Pe.y>S.bottom-an&&(Se+=Pe.y-S.bottom+an)));var Wt=ie.x+pe,Zn=Wt+Rt,Bn=ie.y+Se,Wn=Bn+pt,Nn=Pe.x,Dn=Nn+un,jn=Pe.y,Tn=jn+Zt,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;E==null||E(i,Le);var Mn=I.right-ie.x-(pe+ie.width),Hn=I.bottom-ie.y-(Se+ie.height);O===1&&(pe=Math.round(pe),Mn=Math.round(Mn)),_===1&&(Se=Math.round(Se),Hn=Math.round(Hn));var Jn={ready:!0,offsetX:pe/O,offsetY:Se/_,offsetR:Mn/O,offsetB:Hn/_,arrowX:Yn/O,arrowY:er/_,scaleX:O,scaleY:_,align:Le};F(Jn)}}),he=function(){k.current+=1;var ue=k.current;Promise.resolve().then(function(){k.current===ue&&me()})},q=function(){F(function(ue){return(0,N.Z)((0,N.Z)({},ue),{},{ready:!1})})};return(0,o.Z)(q,[c]),(0,o.Z)(function(){r||q()},[r]),[G.ready,G.offsetX,G.offsetY,G.offsetR,G.offsetB,G.arrowX,G.arrowY,G.scaleX,G.scaleY,G.align,he]}var hn=u(94480);function on(r,i,n,c,p){(0,o.Z)(function(){if(r&&i&&n){let k=function(){c(),p()};var C=i,E=n,L=ae(C),P=ae(E),G=X(E),F=new Set([G].concat((0,hn.Z)(L),(0,hn.Z)(P)));return F.forEach(function(z){z.addEventListener("scroll",k,{passive:!0})}),G.addEventListener("resize",k,{passive:!0}),c(),function(){F.forEach(function(z){z.removeEventListener("scroll",k),G.removeEventListener("resize",k)})}}},[r,i,n])}var yt=u(48736);function qt(r,i,n,c,p,C,E,L){var P=V.useRef(r);P.current=r;var G=V.useRef(!1);V.useEffect(function(){if(i&&c&&(!p||C)){var k=function(){G.current=!1},z=function(He){var ge;P.current&&!E(((ge=He.composedPath)===null||ge===void 0||(ge=ge.call(He))===null||ge===void 0?void 0:ge[0])||He.target)&&!G.current&&L(!1)},Z=X(c);Z.addEventListener("pointerdown",k,!0),Z.addEventListener("mousedown",z,!0),Z.addEventListener("contextmenu",z,!0);var j=(0,gt.A)(n);if(j&&(j.addEventListener("mousedown",z,!0),j.addEventListener("contextmenu",z,!0)),0)var me,he,q,Re;return function(){Z.removeEventListener("pointerdown",k,!0),Z.removeEventListener("mousedown",z,!0),Z.removeEventListener("contextmenu",z,!0),j&&(j.removeEventListener("mousedown",z,!0),j.removeEventListener("contextmenu",z,!0))}}},[i,n,c,p,C]);function F(){G.current=!0}return F}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 _t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:te.Z,i=V.forwardRef(function(n,c){var p=n.prefixCls,C=p===void 0?"rc-trigger-popup":p,E=n.children,L=n.action,P=L===void 0?"hover":L,G=n.showAction,F=n.hideAction,k=n.popupVisible,z=n.defaultPopupVisible,Z=n.onPopupVisibleChange,j=n.afterPopupVisibleChange,me=n.mouseEnterDelay,he=n.mouseLeaveDelay,q=he===void 0?.1:he,Re=n.focusDelay,ue=n.blurDelay,He=n.mask,ge=n.maskClosable,Y=ge===void 0?!0:ge,St=n.getPopupContainer,at=n.forceRender,ve=n.autoDestroy,It=n.destroyPopupOnHide,Qt=n.popup,Et=n.popupClassName,Dt=n.popupStyle,At=n.popupPlacement,bt=n.builtinPlacements,ot=bt===void 0?{}:bt,je=n.popupAlign,Pe=n.zIndex,it=n.stretch,Ge=n.getPopupClassNameFromAlign,Vt=n.fresh,ie=n.alignPoint,Ut=n.onPopupClick,gn=n.onPopupAlign,ln=n.arrow,Xt=n.popupMotion,lt=n.maskMotion,et=n.popupTransitionName,Nt=n.popupAnimation,Xe=n.maskTransitionName,dt=n.maskAnimation,ut=n.className,pt=n.getTriggerDOMNode,Rt=(0,oe.Z)(n,jt),Zt=ve||It||!1,un=V.useState(!1),en=(0,B.Z)(un,2),bn=en[0],t=en[1];(0,o.Z)(function(){t((0,fn.Z)())},[]);var e=V.useRef({}),v=V.useContext(Gt),l=V.useMemo(function(){return{registerSubPopup:function(ce,Ae){e.current[ce]=Ae,v==null||v.registerSubPopup(ce,Ae)}}},[v]),y=(0,wt.Z)(),S=V.useState(null),M=(0,B.Z)(S,2),m=M[0],I=M[1],O=V.useRef(null),_=(0,a.Z)(function(Q){O.current=Q,(0,ft.Sh)(Q)&&m!==Q&&I(Q),v==null||v.registerSubPopup(y,Q)}),ee=V.useState(null),D=(0,B.Z)(ee,2),d=D[0],U=D[1],W=V.useRef(null),H=(0,a.Z)(function(Q){(0,ft.Sh)(Q)&&d!==Q&&(U(Q),W.current=Q)}),Ze=V.Children.only(E),Ke=(Ze==null?void 0:Ze.props)||{},Ue={},Te=(0,a.Z)(function(Q){var ce,Ae,Lt=d;return(Lt==null?void 0:Lt.contains(Q))||((ce=(0,gt.A)(Lt))===null||ce===void 0?void 0:ce.host)===Q||Q===Lt||(m==null?void 0:m.contains(Q))||((Ae=(0,gt.A)(m))===null||Ae===void 0?void 0:Ae.host)===Q||Q===m||Object.values(e.current).some(function(Mt){return(Mt==null?void 0:Mt.contains(Q))||Q===Mt})}),st=w(C,Xt,Nt,et),Ee=w(C,lt,dt,Xe),Ye=V.useState(z||!1),Ct=(0,B.Z)(Ye,2),ze=Ct[0],Ie=Ct[1],De=k!=null?k:ze,_e=(0,a.Z)(function(Q){k===void 0&&Ie(Q)});(0,o.Z)(function(){Ie(k||!1)},[k]);var Le=V.useRef(De);Le.current=De;var pe=V.useRef([]);pe.current=[];var Se=(0,a.Z)(function(Q){var ce;_e(Q),((ce=pe.current[pe.current.length-1])!==null&&ce!==void 0?ce:De)!==Q&&(pe.current.push(Q),Z==null||Z(Q))}),T=V.useRef(),re=function(){clearTimeout(T.current)},le=function(ce){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;re(),Ae===0?Se(ce):T.current=setTimeout(function(){Se(ce)},Ae*1e3)};V.useEffect(function(){return re},[]);var ke=V.useState(!1),Oe=(0,B.Z)(ke,2),Ne=Oe[0],Ot=Oe[1];(0,o.Z)(function(Q){(!Q||De)&&Ot(!0)},[De]);var sn=V.useState(null),tn=(0,B.Z)(sn,2),mt=tn[0],pn=tn[1],kt=V.useState(null),yn=(0,B.Z)(kt,2),nn=yn[0],xt=yn[1],be=function(ce){xt([ce.clientX,ce.clientY])},h=Jt(De,m,ie&&nn!==null?nn:d,At,ot,je,gn),g=(0,B.Z)(h,11),J=g[0],K=g[1],se=g[2],Be=g[3],Je=g[4],Qe=g[5],Yt=g[6],Sn=g[7],rn=g[8],In=g[9],Bt=g[10],zn=Kt(bn,P,G,F),kn=(0,B.Z)(zn,2),Rn=kn[0],Ft=kn[1],an=Rn.has("click"),Wt=Ft.has("click")||Ft.has("contextMenu"),Zn=(0,a.Z)(function(){Ne||Bt()}),Bn=function(){Le.current&&ie&&Wt&&le(!1)};on(De,d,m,Zn,Bn),(0,o.Z)(function(){Zn()},[nn,At]),(0,o.Z)(function(){De&&!(ot!=null&&ot[At])&&Zn()},[JSON.stringify(je)]);var Wn=V.useMemo(function(){var Q=x(ot,C,In,ie);return zt()(Q,Ge==null?void 0:Ge(In))},[In,Ge,ot,C,ie]);V.useImperativeHandle(c,function(){return{nativeElement:W.current,popupElement:O.current,forceAlign:Zn}});var Nn=V.useState(0),Dn=(0,B.Z)(Nn,2),jn=Dn[0],Tn=Dn[1],Xn=V.useState(0),xn=(0,B.Z)(Xn,2),rr=xn[0],Yn=xn[1],_n=function(){if(it&&d){var ce=d.getBoundingClientRect();Tn(ce.width),Yn(ce.height)}},ar=function(){_n(),Zn()},qn=function(ce){Ot(!1),Bt(),j==null||j(ce)},er=function(){return new Promise(function(ce){_n(),pn(function(){return ce})})};(0,o.Z)(function(){mt&&(Bt(),mt(),pn(null))},[mt]);function Mn(Q,ce,Ae,Lt){Ue[Q]=function(Mt){var tr;Lt==null||Lt(Mt),le(ce,Ae);for(var lr=arguments.length,nr=new Array(lr>1?lr-1:0),Ln=1;Ln<lr;Ln++)nr[Ln-1]=arguments[Ln];(tr=Ke[Q])===null||tr===void 0||tr.call.apply(tr,[Ke,Mt].concat(nr))}}(an||Wt)&&(Ue.onClick=function(Q){var ce;Le.current&&Wt?le(!1):!Le.current&&an&&(be(Q),le(!0));for(var Ae=arguments.length,Lt=new Array(Ae>1?Ae-1:0),Mt=1;Mt<Ae;Mt++)Lt[Mt-1]=arguments[Mt];(ce=Ke.onClick)===null||ce===void 0||ce.call.apply(ce,[Ke,Q].concat(Lt))});var Hn=qt(De,Wt,d,m,He,Y,Te,le),Jn=Rn.has("hover"),ht=Ft.has("hover"),Kn,$n;Jn&&(Mn("onMouseEnter",!0,me,function(Q){be(Q)}),Mn("onPointerEnter",!0,me,function(Q){be(Q)}),Kn=function(ce){(De||Ne)&&m!==null&&m!==void 0&&m.contains(ce.target)&&le(!0,me)},ie&&(Ue.onMouseMove=function(Q){var ce;(ce=Ke.onMouseMove)===null||ce===void 0||ce.call(Ke,Q)})),ht&&(Mn("onMouseLeave",!1,q),Mn("onPointerLeave",!1,q),$n=function(){le(!1,q)}),Rn.has("focus")&&Mn("onFocus",!0,Re),Ft.has("focus")&&Mn("onBlur",!1,ue),Rn.has("contextMenu")&&(Ue.onContextMenu=function(Q){var ce;Le.current&&Ft.has("contextMenu")?le(!1):(be(Q),le(!0)),Q.preventDefault();for(var Ae=arguments.length,Lt=new Array(Ae>1?Ae-1:0),Mt=1;Mt<Ae;Mt++)Lt[Mt-1]=arguments[Mt];(ce=Ke.onContextMenu)===null||ce===void 0||ce.call.apply(ce,[Ke,Q].concat(Lt))}),ut&&(Ue.className=zt()(Ke.className,ut));var ne=V.useRef(!1);ne.current||(ne.current=at||De||Ne);var Ce=(0,N.Z)((0,N.Z)({},Ke),Ue),de={},we=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];we.forEach(function(Q){Rt[Q]&&(de[Q]=function(){for(var ce,Ae=arguments.length,Lt=new Array(Ae),Mt=0;Mt<Ae;Mt++)Lt[Mt]=arguments[Mt];(ce=Ce[Q])===null||ce===void 0||ce.call.apply(ce,[Ce].concat(Lt)),Rt[Q].apply(Rt,Lt)})});var qe=V.cloneElement(Ze,(0,N.Z)((0,N.Z)({},Ce),de)),Tt={x:Qe,y:Yt},Fn=ln?(0,N.Z)({},ln!==!0?ln:{}):null;return V.createElement(V.Fragment,null,V.createElement(ct.Z,{disabled:!De,ref:H,onResize:ar},V.createElement(mn,{getTriggerDOMNode:pt},qe)),ne.current&&V.createElement(Gt.Provider,{value:l},V.createElement(Pn,{portal:r,ref:_,prefixCls:C,popup:Qt,className:zt()(Et,Wn),style:Dt,target:d,onMouseEnter:Kn,onMouseLeave:$n,onPointerEnter:Kn,zIndex:Pe,open:De,keepDom:Ne,fresh:Vt,onClick:Ut,onPointerDownCapture:Hn,mask:He,motion:st,maskMotion:Ee,onVisibleChanged:qn,onPrepare:er,forceRender:at,autoDestroy:Zt,getPopupContainer:St,align:In,arrow:Fn,arrowPos:Tt,ready:J,offsetX:K,offsetY:se,offsetR:Be,offsetB:Je,onAlign:Zn,stretch:it,targetWidth:jn/Sn,targetHeight:rr/rn})))});return i}var f=_t(te.Z)},13366:function(Gn,cn,u){u.r(cn),u.d(cn,{default:function(){return gt}});var N=u(59301);function B({item:a,type:wt,page:o}){return N.createElement("div",{style:{display:"flex",alignItems:"center",flexDirection:"initial",height:"37px",background:"#ffffff",padding:"0px 15px"}},N.createElement("span",{style:{flex:"1"}},o===1?wt+1:wt+1+(o-1)*20),N.createElement("span",{style:{flex:"1"}},a.login||"--"),N.createElement("span",{style:{flex:"2"}},a.name||"--"),N.createElement("span",{style:{flex:"2"}},a.register_info||"--"),N.createElement("span",{style:{flex:"1"}},a.competition_info||"--"),N.createElement("span",{style:{flex:"2"}},a.ip||"--"),N.createElement("span",{style:{flex:"2"}},a.username||"--"))}var oe=B,te=u(13747),A=u(95392),zt=u(57193),ct=(a,wt,o)=>new Promise((fn,V)=>{var wn=nt=>{try{$t(o.next(nt))}catch(vn){V(vn)}},En=nt=>{try{$t(o.throw(nt))}catch(vn){V(vn)}},$t=nt=>nt.done?fn(nt.value):Promise.resolve(nt.value).then(wn,En);$t((o=o.apply(a,wt)).next())});function ft(a){const wt=(0,A.useParams)(),[o,fn]=(0,N.useState)(1),[V,wn]=(0,N.useState)(20),[En,$t]=(0,N.useState)(),[nt,vn]=(0,N.useState)();return(0,N.useEffect)(()=>{function Ht(){return ct(this,null,function*(){const rt=yield(0,zt.ZP)("/api/user_agents.json",{method:"get",params:{page:o,per_page:V}});rt.status===0&&($t(rt.data.user_agents),vn(rt.data))})}Ht()},[o]),N.createElement("div",{className:"edu-container minH500"},N.createElement("div",{className:"educontent mb20 persmstyle",style:{width:"1200px",marginTop:"26px"}},N.createElement("div",{style:{display:"flex",background:"#ffffff",height:"60px",alignItems:"center",padding:"0px 15px"}},N.createElement("span",null,"\u5F15\u6D41\u603B\u4EBA\u6570\uFF1A",nt&&nt.agents_count||"0"),N.createElement("span",{style:{marginLeft:"20px"}},"\u7ADE\u8D5B\u6210\u529F\u62A5\u540D\uFF1A",nt&&nt.action_count||"0")),N.createElement("div",{style:{marginTop:"1px",background:"#ffffff"}},N.createElement("div",{style:{display:"flex",alignItems:"center",flexDirection:"initial",height:"37px",background:"#ffffff",padding:"0px 15px"}},N.createElement("span",{style:{flex:"1"}},"\u5E8F\u53F7"),N.createElement("span",{style:{flex:"1"}},"\u4EE3\u7406\u4EBA\u767B\u5F55\u540D"),N.createElement("span",{style:{flex:"2"}},"\u4EE3\u7406\u4EBA\u59D3\u540D"),N.createElement("span",{style:{flex:"2"}},"\u6CE8\u518C\u60C5\u51B5"),N.createElement("span",{style:{flex:"1"}},"\u7ADE\u8D5B\u62A5\u540D"),N.createElement("span",{style:{flex:"2"}},"IP"),N.createElement("span",{style:{flex:"2"}},"\u5F15\u6D41\u4EBA\u59D3\u540D")),N.createElement("div",{style:{border:"1px solid #fafafa",minHeight:"400px"}},En&&En.map((Ht,rt)=>N.createElement(oe,{page:o,item:Ht,type:rt})))),nt&&nt.agents_count>20?N.createElement("div",{style:{justifyContent:"center",display:"flex",marginTop:"20px"}},N.createElement(te.Z,{defaultCurrent:1,defaultPageSize:20,onChange:(Ht,rt)=>fn(Ht),total:nt&&nt.agents_count})):""))}var gt=ft},11780:function(Gn,cn,u){u.d(cn,{Z:function(){return ae}});var N=u(54476),B=u(33885),oe=u(42978),te=u(75931),A=u(59301),zt=u(92310),ct=u.n(zt),ft=u(29301),gt=u(34280),a=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],wt=void 0;function o(b,xe){var We=b.prefixCls,Ve=b.invalidate,$e=b.item,Me=b.renderItem,Pt=b.responsive,vt=b.responsiveDisabled,Jt=b.registerSize,hn=b.itemKey,on=b.className,yt=b.style,qt=b.children,jt=b.display,_t=b.order,f=b.component,r=f===void 0?"div":f,i=(0,te.Z)(b,a),n=Pt&&!jt;function c(P){Jt(hn,P)}A.useEffect(function(){return function(){c(null)}},[]);var p=Me&&$e!==wt?Me($e,{index:_t}):qt,C;Ve||(C={opacity:n?0:1,height:n?0:wt,overflowY:n?"hidden":wt,order:Pt?_t:wt,pointerEvents:n?"none":wt,position:n?"absolute":wt});var E={};n&&(E["aria-hidden"]=!0);var L=A.createElement(r,(0,N.Z)({className:ct()(!Ve&&We,on),style:(0,B.Z)((0,B.Z)({},C),yt)},E,i,{ref:xe}),p);return Pt&&(L=A.createElement(ft.Z,{onResize:function(G){var F=G.offsetWidth;c(F)},disabled:vt},L)),L}var fn=A.forwardRef(o);fn.displayName="Item";var V=fn,wn=u(6089),En=u(4676),$t=u(16089);function nt(b){if(typeof MessageChannel=="undefined")(0,$t.Z)(b);else{var xe=new MessageChannel;xe.port1.onmessage=function(){return b()},xe.port2.postMessage(void 0)}}function vn(){var b=A.useRef(null),xe=function(Ve){b.current||(b.current=[],nt(function(){(0,En.unstable_batchedUpdates)(function(){b.current.forEach(function($e){$e()}),b.current=null})})),b.current.push(Ve)};return xe}function Ht(b,xe){var We=A.useState(xe),Ve=(0,oe.Z)(We,2),$e=Ve[0],Me=Ve[1],Pt=(0,wn.Z)(function(vt){b(function(){Me(vt)})});return[$e,Pt]}var rt=A.createContext(null),dn=["component"],Pn=["className"],fe=["className"],mn=function(xe,We){var Ve=A.useContext(rt);if(!Ve){var $e=xe.component,Me=$e===void 0?"div":$e,Pt=(0,te.Z)(xe,dn);return A.createElement(Me,(0,N.Z)({},Pt,{ref:We}))}var vt=Ve.className,Jt=(0,te.Z)(Ve,Pn),hn=xe.className,on=(0,te.Z)(xe,fe);return A.createElement(rt.Provider,{value:null},A.createElement(V,(0,N.Z)({ref:We,className:ct()(vt,hn)},Jt,on)))},$=A.forwardRef(mn);$.displayName="RawItem";var Gt=$,ye=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Kt="responsive",R="invalidate";function s(b){return"+ ".concat(b.length," ...")}function x(b,xe){var We=b.prefixCls,Ve=We===void 0?"rc-overflow":We,$e=b.data,Me=$e===void 0?[]:$e,Pt=b.renderItem,vt=b.renderRawItem,Jt=b.itemKey,hn=b.itemWidth,on=hn===void 0?10:hn,yt=b.ssr,qt=b.style,jt=b.className,_t=b.maxCount,f=b.renderRest,r=b.renderRawRest,i=b.suffix,n=b.component,c=n===void 0?"div":n,p=b.itemComponent,C=b.onVisibleChange,E=(0,te.Z)(b,ye),L=yt==="full",P=vn(),G=Ht(P,null),F=(0,oe.Z)(G,2),k=F[0],z=F[1],Z=k||0,j=Ht(P,new Map),me=(0,oe.Z)(j,2),he=me[0],q=me[1],Re=Ht(P,0),ue=(0,oe.Z)(Re,2),He=ue[0],ge=ue[1],Y=Ht(P,0),St=(0,oe.Z)(Y,2),at=St[0],ve=St[1],It=Ht(P,0),Qt=(0,oe.Z)(It,2),Et=Qt[0],Dt=Qt[1],At=(0,A.useState)(null),bt=(0,oe.Z)(At,2),ot=bt[0],je=bt[1],Pe=(0,A.useState)(null),it=(0,oe.Z)(Pe,2),Ge=it[0],Vt=it[1],ie=A.useMemo(function(){return Ge===null&&L?Number.MAX_SAFE_INTEGER:Ge||0},[Ge,k]),Ut=(0,A.useState)(!1),gn=(0,oe.Z)(Ut,2),ln=gn[0],Xt=gn[1],lt="".concat(Ve,"-item"),et=Math.max(He,at),Nt=_t===Kt,Xe=Me.length&&Nt,dt=_t===R,ut=Xe||typeof _t=="number"&&Me.length>_t,pt=(0,A.useMemo)(function(){var D=Me;return Xe?k===null&&L?D=Me:D=Me.slice(0,Math.min(Me.length,Z/on)):typeof _t=="number"&&(D=Me.slice(0,_t)),D},[Me,on,k,_t,Xe]),Rt=(0,A.useMemo)(function(){return Xe?Me.slice(ie+1):Me.slice(pt.length)},[Me,pt,Xe,ie]),Zt=(0,A.useCallback)(function(D,d){var U;return typeof Jt=="function"?Jt(D):(U=Jt&&(D==null?void 0:D[Jt]))!==null&&U!==void 0?U:d},[Jt]),un=(0,A.useCallback)(Pt||function(D){return D},[Pt]);function en(D,d,U){Ge===D&&(d===void 0||d===ot)||(Vt(D),U||(Xt(D<Me.length-1),C==null||C(D)),d!==void 0&&je(d))}function bn(D,d){z(d.clientWidth)}function t(D,d){q(function(U){var W=new Map(U);return d===null?W.delete(D):W.set(D,d),W})}function e(D,d){ve(d),ge(at)}function v(D,d){Dt(d)}function l(D){return he.get(Zt(pt[D],D))}(0,gt.Z)(function(){if(Z&&typeof et=="number"&&pt){var D=Et,d=pt.length,U=d-1;if(!d){en(0,null);return}for(var W=0;W<d;W+=1){var H=l(W);if(L&&(H=H||0),H===void 0){en(W-1,void 0,!0);break}if(D+=H,U===0&&D<=Z||W===U-1&&D+l(U)<=Z){en(U,null);break}else if(D+et>Z){en(W-1,D-H-Et+at);break}}i&&l(0)+Et>Z&&je(null)}},[Z,he,at,Et,Zt,pt]);var y=ln&&!!Rt.length,S={};ot!==null&&Xe&&(S={position:"absolute",left:ot,top:0});var M={prefixCls:lt,responsive:Xe,component:p,invalidate:dt},m=vt?function(D,d){var U=Zt(D,d);return A.createElement(rt.Provider,{key:U,value:(0,B.Z)((0,B.Z)({},M),{},{order:d,item:D,itemKey:U,registerSize:t,display:d<=ie})},vt(D,d))}:function(D,d){var U=Zt(D,d);return A.createElement(V,(0,N.Z)({},M,{order:d,key:U,item:D,renderItem:un,itemKey:U,registerSize:t,display:d<=ie}))},I={order:y?ie:Number.MAX_SAFE_INTEGER,className:"".concat(lt,"-rest"),registerSize:e,display:y},O=f||s,_=r?A.createElement(rt.Provider,{value:(0,B.Z)((0,B.Z)({},M),I)},r(Rt)):A.createElement(V,(0,N.Z)({},M,I),typeof O=="function"?O(Rt):O),ee=A.createElement(c,(0,N.Z)({className:ct()(!dt&&Ve,jt),style:qt,ref:xe},E),pt.map(m),ut?_:null,i&&A.createElement(V,(0,N.Z)({},M,{responsive:Nt,responsiveDisabled:!Xe,order:ie,className:"".concat(lt,"-suffix"),registerSize:v,display:!0,style:S}),i));return Nt?A.createElement(ft.Z,{onResize:bn,disabled:!Xe},ee):ee}var w=A.forwardRef(x);w.displayName="Overflow",w.Item=Gt,w.RESPONSIVE=Kt,w.INVALIDATE=R;var X=w,ae=X},23425:function(Gn,cn,u){u.d(cn,{Z:function(){return fe}});var N=u(20068),B=u(54476),oe=u(76190),te=u(33885),A=u(42978),zt=u(92310),ct=u.n(zt),ft=u(18929),gt=u(10228),a=u(26112),wt=u(48736),o=u(59301),fn=u(17119),V=[10,20,50,100],wn=function($){var Gt=$.pageSizeOptions,ye=Gt===void 0?V:Gt,Kt=$.locale,R=$.changeSize,s=$.pageSize,x=$.goButton,w=$.quickGo,X=$.rootPrefixCls,ae=$.disabled,b=$.buildOptionText,xe=$.showSizeChanger,We=$.sizeChangerRender,Ve=o.useState(""),$e=(0,A.Z)(Ve,2),Me=$e[0],Pt=$e[1],vt=function(){return!Me||Number.isNaN(Me)?void 0:Number(Me)},Jt=typeof b=="function"?b:function(i){return"".concat(i," ").concat(Kt.items_per_page)},hn=function(n){Pt(n.target.value)},on=function(n){x||Me===""||(Pt(""),!(n.relatedTarget&&(n.relatedTarget.className.indexOf("".concat(X,"-item-link"))>=0||n.relatedTarget.className.indexOf("".concat(X,"-item"))>=0))&&(w==null||w(vt())))},yt=function(n){Me!==""&&(n.keyCode===gt.Z.ENTER||n.type==="click")&&(Pt(""),w==null||w(vt()))},qt=function(){return ye.some(function(n){return n.toString()===s.toString()})?ye:ye.concat([s]).sort(function(n,c){var p=Number.isNaN(Number(n))?0:Number(n),C=Number.isNaN(Number(c))?0:Number(c);return p-C})},jt="".concat(X,"-options");if(!xe&&!w)return null;var _t=null,f=null,r=null;return xe&&We&&(_t=We({disabled:ae,size:s,onSizeChange:function(n){R==null||R(Number(n))},"aria-label":Kt.page_size,className:"".concat(jt,"-size-changer"),options:qt().map(function(i){return{label:Jt(i),value:i}})})),w&&(x&&(r=typeof x=="boolean"?o.createElement("button",{type:"button",onClick:yt,onKeyUp:yt,disabled:ae,className:"".concat(jt,"-quick-jumper-button")},Kt.jump_to_confirm):o.createElement("span",{onClick:yt,onKeyUp:yt},x)),f=o.createElement("div",{className:"".concat(jt,"-quick-jumper")},Kt.jump_to,o.createElement("input",{disabled:ae,type:"text",value:Me,onChange:hn,onKeyUp:yt,onBlur:on,"aria-label":Kt.page}),Kt.page,r)),o.createElement("li",{className:jt},_t,f)},En=wn,$t=function($){var Gt=$.rootPrefixCls,ye=$.page,Kt=$.active,R=$.className,s=$.showTitle,x=$.onClick,w=$.onKeyPress,X=$.itemRender,ae="".concat(Gt,"-item"),b=ct()(ae,"".concat(ae,"-").concat(ye),(0,N.Z)((0,N.Z)({},"".concat(ae,"-active"),Kt),"".concat(ae,"-disabled"),!ye),R),xe=function(){x(ye)},We=function(Me){w(Me,x,ye)},Ve=X(ye,"page",o.createElement("a",{rel:"nofollow"},ye));return Ve?o.createElement("li",{title:s?String(ye):null,className:b,onClick:xe,onKeyDown:We,tabIndex:0},Ve):null},nt=$t,vn=function($,Gt,ye){return ye};function Ht(){}function rt(mn){var $=Number(mn);return typeof $=="number"&&!Number.isNaN($)&&isFinite($)&&Math.floor($)===$}function dn(mn,$,Gt){var ye=typeof mn=="undefined"?$:mn;return Math.floor((Gt-1)/ye)+1}var Pn=function($){var Gt=$.prefixCls,ye=Gt===void 0?"rc-pagination":Gt,Kt=$.selectPrefixCls,R=Kt===void 0?"rc-select":Kt,s=$.className,x=$.current,w=$.defaultCurrent,X=w===void 0?1:w,ae=$.total,b=ae===void 0?0:ae,xe=$.pageSize,We=$.defaultPageSize,Ve=We===void 0?10:We,$e=$.onChange,Me=$e===void 0?Ht:$e,Pt=$.hideOnSinglePage,vt=$.align,Jt=$.showPrevNextJumpers,hn=Jt===void 0?!0:Jt,on=$.showQuickJumper,yt=$.showLessItems,qt=$.showTitle,jt=qt===void 0?!0:qt,_t=$.onShowSizeChange,f=_t===void 0?Ht:_t,r=$.locale,i=r===void 0?fn.Z:r,n=$.style,c=$.totalBoundaryShowSizeChanger,p=c===void 0?50:c,C=$.disabled,E=$.simple,L=$.showTotal,P=$.showSizeChanger,G=P===void 0?b>p:P,F=$.sizeChangerRender,k=$.pageSizeOptions,z=$.itemRender,Z=z===void 0?vn:z,j=$.jumpPrevIcon,me=$.jumpNextIcon,he=$.prevIcon,q=$.nextIcon,Re=o.useRef(null),ue=(0,ft.Z)(10,{value:xe,defaultValue:Ve}),He=(0,A.Z)(ue,2),ge=He[0],Y=He[1],St=(0,ft.Z)(1,{value:x,defaultValue:X,postState:function(re){return Math.max(1,Math.min(re,dn(void 0,ge,b)))}}),at=(0,A.Z)(St,2),ve=at[0],It=at[1],Qt=o.useState(ve),Et=(0,A.Z)(Qt,2),Dt=Et[0],At=Et[1];(0,o.useEffect)(function(){At(ve)},[ve]);var bt=Me!==Ht,ot="current"in $,je=Math.max(1,ve-(yt?3:5)),Pe=Math.min(dn(void 0,ge,b),ve+(yt?3:5));function it(T,re){var le=T||o.createElement("button",{type:"button","aria-label":re,className:"".concat(ye,"-item-link")});return typeof T=="function"&&(le=o.createElement(T,(0,te.Z)({},$))),le}function Ge(T){var re=T.target.value,le=dn(void 0,ge,b),ke;return re===""?ke=re:Number.isNaN(Number(re))?ke=Dt:re>=le?ke=le:ke=Number(re),ke}function Vt(T){return rt(T)&&T!==ve&&rt(b)&&b>0}var ie=b>ge?on:!1;function Ut(T){(T.keyCode===gt.Z.UP||T.keyCode===gt.Z.DOWN)&&T.preventDefault()}function gn(T){var re=Ge(T);switch(re!==Dt&&At(re),T.keyCode){case gt.Z.ENTER:lt(re);break;case gt.Z.UP:lt(re-1);break;case gt.Z.DOWN:lt(re+1);break;default:break}}function ln(T){lt(Ge(T))}function Xt(T){var re=dn(T,ge,b),le=ve>re&&re!==0?re:ve;Y(T),At(le),f==null||f(ve,T),It(le),Me==null||Me(le,T)}function lt(T){if(Vt(T)&&!C){var re=dn(void 0,ge,b),le=T;return T>re?le=re:T<1&&(le=1),le!==Dt&&At(le),It(le),Me==null||Me(le,ge),le}return ve}var et=ve>1,Nt=ve<dn(void 0,ge,b);function Xe(){et&&lt(ve-1)}function dt(){Nt&&lt(ve+1)}function ut(){lt(je)}function pt(){lt(Pe)}function Rt(T,re){if(T.key==="Enter"||T.charCode===gt.Z.ENTER||T.keyCode===gt.Z.ENTER){for(var le=arguments.length,ke=new Array(le>2?le-2:0),Oe=2;Oe<le;Oe++)ke[Oe-2]=arguments[Oe];re.apply(void 0,ke)}}function Zt(T){Rt(T,Xe)}function un(T){Rt(T,dt)}function en(T){Rt(T,ut)}function bn(T){Rt(T,pt)}function t(T){var re=Z(T,"prev",it(he,"prev page"));return o.isValidElement(re)?o.cloneElement(re,{disabled:!et}):re}function e(T){var re=Z(T,"next",it(q,"next page"));return o.isValidElement(re)?o.cloneElement(re,{disabled:!Nt}):re}function v(T){(T.type==="click"||T.keyCode===gt.Z.ENTER)&&lt(Dt)}var l=null,y=(0,a.Z)($,{aria:!0,data:!0}),S=L&&o.createElement("li",{className:"".concat(ye,"-total-text")},L(b,[b===0?0:(ve-1)*ge+1,ve*ge>b?b:ve*ge])),M=null,m=dn(void 0,ge,b);if(Pt&&b<=ge)return null;var I=[],O={rootPrefixCls:ye,onClick:lt,onKeyPress:Rt,showTitle:jt,itemRender:Z,page:-1},_=ve-1>0?ve-1:0,ee=ve+1<m?ve+1:m,D=on&&on.goButton,d=(0,oe.Z)(E)==="object"?E.readOnly:!E,U=D,W=null;E&&(D&&(typeof D=="boolean"?U=o.createElement("button",{type:"button",onClick:v,onKeyUp:v},i.jump_to_confirm):U=o.createElement("span",{onClick:v,onKeyUp:v},D),U=o.createElement("li",{title:jt?"".concat(i.jump_to).concat(ve,"/").concat(m):null,className:"".concat(ye,"-simple-pager")},U)),W=o.createElement("li",{title:jt?"".concat(ve,"/").concat(m):null,className:"".concat(ye,"-simple-pager")},d?Dt:o.createElement("input",{type:"text","aria-label":i.jump_to,value:Dt,disabled:C,onKeyDown:Ut,onKeyUp:gn,onChange:gn,onBlur:ln,size:3}),o.createElement("span",{className:"".concat(ye,"-slash")},"/"),m));var H=yt?1:2;if(m<=3+H*2){m||I.push(o.createElement(nt,(0,B.Z)({},O,{key:"noPager",page:1,className:"".concat(ye,"-item-disabled")})));for(var Ze=1;Ze<=m;Ze+=1)I.push(o.createElement(nt,(0,B.Z)({},O,{key:Ze,page:Ze,active:ve===Ze})))}else{var Ke=yt?i.prev_3:i.prev_5,Ue=yt?i.next_3:i.next_5,Te=Z(je,"jump-prev",it(j,"prev page")),st=Z(Pe,"jump-next",it(me,"next page"));hn&&(l=Te?o.createElement("li",{title:jt?Ke:null,key:"prev",onClick:ut,tabIndex:0,onKeyDown:en,className:ct()("".concat(ye,"-jump-prev"),(0,N.Z)({},"".concat(ye,"-jump-prev-custom-icon"),!!j))},Te):null,M=st?o.createElement("li",{title:jt?Ue:null,key:"next",onClick:pt,tabIndex:0,onKeyDown:bn,className:ct()("".concat(ye,"-jump-next"),(0,N.Z)({},"".concat(ye,"-jump-next-custom-icon"),!!me))},st):null);var Ee=Math.max(1,ve-H),Ye=Math.min(ve+H,m);ve-1<=H&&(Ye=1+H*2),m-ve<=H&&(Ee=m-H*2);for(var Ct=Ee;Ct<=Ye;Ct+=1)I.push(o.createElement(nt,(0,B.Z)({},O,{key:Ct,page:Ct,active:ve===Ct})));if(ve-1>=H*2&&ve!==3&&(I[0]=o.cloneElement(I[0],{className:ct()("".concat(ye,"-item-after-jump-prev"),I[0].props.className)}),I.unshift(l)),m-ve>=H*2&&ve!==m-2){var ze=I[I.length-1];I[I.length-1]=o.cloneElement(ze,{className:ct()("".concat(ye,"-item-before-jump-next"),ze.props.className)}),I.push(M)}Ee!==1&&I.unshift(o.createElement(nt,(0,B.Z)({},O,{key:1,page:1}))),Ye!==m&&I.push(o.createElement(nt,(0,B.Z)({},O,{key:m,page:m})))}var Ie=t(_);if(Ie){var De=!et||!m;Ie=o.createElement("li",{title:jt?i.prev_page:null,onClick:Xe,tabIndex:De?null:0,onKeyDown:Zt,className:ct()("".concat(ye,"-prev"),(0,N.Z)({},"".concat(ye,"-disabled"),De)),"aria-disabled":De},Ie)}var _e=e(ee);if(_e){var Le,pe;E?(Le=!Nt,pe=et?0:null):(Le=!Nt||!m,pe=Le?null:0),_e=o.createElement("li",{title:jt?i.next_page:null,onClick:dt,tabIndex:pe,onKeyDown:un,className:ct()("".concat(ye,"-next"),(0,N.Z)({},"".concat(ye,"-disabled"),Le)),"aria-disabled":Le},_e)}var Se=ct()(ye,s,(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({},"".concat(ye,"-start"),vt==="start"),"".concat(ye,"-center"),vt==="center"),"".concat(ye,"-end"),vt==="end"),"".concat(ye,"-simple"),E),"".concat(ye,"-disabled"),C));return o.createElement("ul",(0,B.Z)({className:Se,style:n,ref:Re},y),S,Ie,E?W:I,_e,o.createElement(En,{locale:i,rootPrefixCls:ye,disabled:C,selectPrefixCls:R,changeSize:Xt,pageSize:ge,pageSizeOptions:k,quickGo:ie?lt:null,goButton:U,showSizeChanger:G,sizeChangerRender:F}))},fe=Pn},29301:function(Gn,cn,u){u.d(cn,{Z:function(){return R}});var N=u(54476),B=u(59301),oe=u(11592),te=u(48736),A=u(33885),zt=u(76190),ct=u(76846),ft=u(8654),gt=B.createContext(null);function a(s){var x=s.children,w=s.onBatchResize,X=B.useRef(0),ae=B.useRef([]),b=B.useContext(gt),xe=B.useCallback(function(We,Ve,$e){X.current+=1;var Me=X.current;ae.current.push({size:We,element:Ve,data:$e}),Promise.resolve().then(function(){Me===X.current&&(w==null||w(ae.current),ae.current=[])}),b==null||b(We,Ve,$e)},[w,b]);return B.createElement(gt.Provider,{value:xe},x)}var wt=u(76374),o=new Map;function fn(s){s.forEach(function(x){var w,X=x.target;(w=o.get(X))===null||w===void 0||w.forEach(function(ae){return ae(X)})})}var V=new wt.Z(fn),wn=null,En=null;function $t(s,x){o.has(s)||(o.set(s,new Set),V.observe(s)),o.get(s).add(x)}function nt(s,x){o.has(s)&&(o.get(s).delete(x),o.get(s).size||(V.unobserve(s),o.delete(s)))}var vn=u(67732),Ht=u(83652),rt=u(42403),dn=u(158),Pn=function(s){(0,rt.Z)(w,s);var x=(0,dn.Z)(w);function w(){return(0,vn.Z)(this,w),x.apply(this,arguments)}return(0,Ht.Z)(w,[{key:"render",value:function(){return this.props.children}}]),w}(B.Component);function fe(s,x){var w=s.children,X=s.disabled,ae=B.useRef(null),b=B.useRef(null),xe=B.useContext(gt),We=typeof w=="function",Ve=We?w(ae):w,$e=B.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Me=!We&&B.isValidElement(Ve)&&(0,ft.Yr)(Ve),Pt=Me?(0,ft.C4)(Ve):null,vt=(0,ft.x1)(Pt,ae),Jt=function(){var qt;return(0,ct.ZP)(ae.current)||(ae.current&&(0,zt.Z)(ae.current)==="object"?(0,ct.ZP)((qt=ae.current)===null||qt===void 0?void 0:qt.nativeElement):null)||(0,ct.ZP)(b.current)};B.useImperativeHandle(x,function(){return Jt()});var hn=B.useRef(s);hn.current=s;var on=B.useCallback(function(yt){var qt=hn.current,jt=qt.onResize,_t=qt.data,f=yt.getBoundingClientRect(),r=f.width,i=f.height,n=yt.offsetWidth,c=yt.offsetHeight,p=Math.floor(r),C=Math.floor(i);if($e.current.width!==p||$e.current.height!==C||$e.current.offsetWidth!==n||$e.current.offsetHeight!==c){var E={width:p,height:C,offsetWidth:n,offsetHeight:c};$e.current=E;var L=n===Math.round(r)?r:n,P=c===Math.round(i)?i:c,G=(0,A.Z)((0,A.Z)({},E),{},{offsetWidth:L,offsetHeight:P});xe==null||xe(G,yt,_t),jt&&Promise.resolve().then(function(){jt(G,yt)})}},[]);return B.useEffect(function(){var yt=Jt();return yt&&!X&&$t(yt,on),function(){return nt(yt,on)}},[ae.current,X]),B.createElement(Pn,{ref:b},Me?B.cloneElement(Ve,{ref:vt}):Ve)}var mn=B.forwardRef(fe),$=mn,Gt="rc-observer-key";function ye(s,x){var w=s.children,X=typeof w=="function"?[w]:(0,oe.Z)(w);return X.map(function(ae,b){var xe=(ae==null?void 0:ae.key)||"".concat(Gt,"-").concat(b);return B.createElement($,(0,N.Z)({},s,{key:xe,ref:b===0?x:void 0}),ae)})}var Kt=B.forwardRef(ye);Kt.Collection=a;var R=Kt},6551:function(Gn,cn,u){u.d(cn,{ZP:function(){return ct}});var N=u(42978),B=u(59301),oe=u(47273),te=0,A=(0,oe.Z)();function zt(){var ft;return A?(ft=te,te+=1):ft="TEST_OR_SSR",ft}function ct(ft){var gt=B.useState(),a=(0,N.Z)(gt,2),wt=a[0],o=a[1];return B.useEffect(function(){o("rc_select_".concat(zt()))},[]),ft||wt}},37463:function(Gn,cn,u){u.d(cn,{Ac:function(){return ue},Xo:function(){return ge},Wx:function(){return St},ZP:function(){return bn},lk:function(){return Ht}});var N=u(54476),B=u(94480),oe=u(20068),te=u(33885),A=u(42978),zt=u(75931),ct=u(76190),ft=u(18929),gt=u(48736),a=u(59301),wt=u(92310),o=u.n(wt),fn=u(34280),V=u(49658),wn=u(8654),En=function(e){var v=e.className,l=e.customizeIcon,y=e.customizeIconProps,S=e.children,M=e.onMouseDown,m=e.onClick,I=typeof l=="function"?l(y):l;return a.createElement("span",{className:v,onMouseDown:function(_){_.preventDefault(),M==null||M(_)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:m,"aria-hidden":!0},I!==void 0?I:a.createElement("span",{className:o()(v.split(/\s+/).map(function(O){return"".concat(O,"-icon")}))},S))},$t=En,nt=function(e,v,l,y,S){var M=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,m=arguments.length>6?arguments[6]:void 0,I=arguments.length>7?arguments[7]:void 0,O=a.useMemo(function(){if((0,ct.Z)(y)==="object")return y.clearIcon;if(S)return S},[y,S]),_=a.useMemo(function(){return!!(!M&&y&&(l.length||m)&&!(I==="combobox"&&m===""))},[y,M,l.length,m,I]);return{allowClear:_,clearIcon:a.createElement($t,{className:"".concat(e,"-clear"),onMouseDown:v,customizeIcon:O},"\xD7")}},vn=a.createContext(null);function Ht(){return a.useContext(vn)}function rt(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,e=a.useState(!1),v=(0,A.Z)(e,2),l=v[0],y=v[1],S=a.useRef(null),M=function(){window.clearTimeout(S.current)};a.useEffect(function(){return M},[]);var m=function(O,_){M(),S.current=window.setTimeout(function(){y(O),_&&_()},t)};return[l,m,M]}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(y){(y||e.current===null)&&(e.current=y),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 y=a.useRef(null);y.current={open:e,triggerOpen:v,customizedTrigger:l},a.useEffect(function(){function S(M){var m;if(!((m=y.current)!==null&&m!==void 0&&m.customizedTrigger)){var I=M.target;I.shadowRoot&&M.composed&&(I=M.composedPath()[0]||I),y.current.open&&t().filter(function(O){return O}).every(function(O){return!O.contains(I)&&O!==I})&&y.current.triggerOpen(!1)}}return window.addEventListener("mousedown",S),function(){return window.removeEventListener("mousedown",S)}},[])}var fe=u(10228);function mn(t){return t&&![fe.Z.ESC,fe.Z.SHIFT,fe.Z.BACKSPACE,fe.Z.TAB,fe.Z.WIN_KEY,fe.Z.ALT,fe.Z.META,fe.Z.WIN_KEY_RIGHT,fe.Z.CTRL,fe.Z.SEMICOLON,fe.Z.EQUALS,fe.Z.CAPS_LOCK,fe.Z.CONTEXT_MENU,fe.Z.F1,fe.Z.F2,fe.Z.F3,fe.Z.F4,fe.Z.F5,fe.Z.F6,fe.Z.F7,fe.Z.F8,fe.Z.F9,fe.Z.F10,fe.Z.F11,fe.Z.F12].includes(t)}var $=u(26112),Gt=u(11780);function ye(t,e,v){var l=(0,te.Z)((0,te.Z)({},t),v?e:{});return Object.keys(e).forEach(function(y){var S=e[y];typeof S=="function"&&(l[y]=function(){for(var M,m=arguments.length,I=new Array(m),O=0;O<m;O++)I[O]=arguments[O];return S.apply(void 0,I),(M=t[y])===null||M===void 0?void 0:M.call.apply(M,[t].concat(I))})}),l}var Kt=ye,R=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],s=function(e,v){var l=e.prefixCls,y=e.id,S=e.inputElement,M=e.autoFocus,m=e.autoComplete,I=e.editable,O=e.activeDescendantId,_=e.value,ee=e.open,D=e.attrs,d=(0,zt.Z)(e,R),U=S||a.createElement("input",null),W=U,H=W.ref,Ze=W.props;return(0,gt.Kp)(!("maxLength"in U.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),U=a.cloneElement(U,(0,te.Z)((0,te.Z)((0,te.Z)({type:"search"},Kt(d,Ze,!0)),{},{id:y,ref:(0,wn.sQ)(v,H),autoComplete:m||"off",autoFocus:M,className:o()("".concat(l,"-selection-search-input"),Ze==null?void 0:Ze.className),role:"combobox","aria-expanded":ee||!1,"aria-haspopup":"listbox","aria-owns":"".concat(y,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(y,"_list"),"aria-activedescendant":ee?O:void 0},D),{},{value:I?_:"",readOnly:!I,unselectable:I?null:"on",style:(0,te.Z)((0,te.Z)({},Ze.style),{},{opacity:I?null:0})})),U},x=a.forwardRef(s),w=x;function X(t){return Array.isArray(t)?t:t!==void 0?[t]:[]}var ae=typeof window!="undefined"&&window.document&&window.document.documentElement,b=ae;function xe(t){return t!=null}function We(t){return!t&&t!==0}function Ve(t){return["string","number"].includes((0,ct.Z)(t))}function $e(t){var e=void 0;return t&&(Ve(t.title)?e=t.title.toString():Ve(t.label)&&(e=t.label.toString())),e}function Me(t,e){b?a.useLayoutEffect(t,e):a.useEffect(t,e)}function Pt(t){var e;return(e=t.key)!==null&&e!==void 0?e:t.value}var vt=function(e){e.preventDefault(),e.stopPropagation()},Jt=function(e){var v=e.id,l=e.prefixCls,y=e.values,S=e.open,M=e.searchValue,m=e.autoClearSearchValue,I=e.inputRef,O=e.placeholder,_=e.disabled,ee=e.mode,D=e.showSearch,d=e.autoFocus,U=e.autoComplete,W=e.activeDescendantId,H=e.tabIndex,Ze=e.removeIcon,Ke=e.maxTagCount,Ue=e.maxTagTextLength,Te=e.maxTagPlaceholder,st=Te===void 0?function(J){return"+ ".concat(J.length," ...")}:Te,Ee=e.tagRender,Ye=e.onToggleOpen,Ct=e.onRemove,ze=e.onInputChange,Ie=e.onInputPaste,De=e.onInputKeyDown,_e=e.onInputMouseDown,Le=e.onInputCompositionStart,pe=e.onInputCompositionEnd,Se=e.onInputBlur,T=a.useRef(null),re=(0,a.useState)(0),le=(0,A.Z)(re,2),ke=le[0],Oe=le[1],Ne=(0,a.useState)(!1),Ot=(0,A.Z)(Ne,2),sn=Ot[0],tn=Ot[1],mt="".concat(l,"-selection"),pn=S||ee==="multiple"&&m===!1||ee==="tags"?M:"",kt=ee==="tags"||ee==="multiple"&&m===!1||D&&(S||sn);Me(function(){Oe(T.current.scrollWidth)},[pn]);var yn=function(K,se,Be,Je,Qe){return a.createElement("span",{title:$e(K),className:o()("".concat(mt,"-item"),(0,oe.Z)({},"".concat(mt,"-item-disabled"),Be))},a.createElement("span",{className:"".concat(mt,"-item-content")},se),Je&&a.createElement($t,{className:"".concat(mt,"-item-remove"),onMouseDown:vt,onClick:Qe,customizeIcon:Ze},"\xD7"))},nn=function(K,se,Be,Je,Qe,Yt){var Sn=function(In){vt(In),Ye(!S)};return a.createElement("span",{onMouseDown:Sn},Ee({label:se,value:K,disabled:Be,closable:Je,onClose:Qe,isMaxTag:!!Yt}))},xt=function(K){var se=K.disabled,Be=K.label,Je=K.value,Qe=!_&&!se,Yt=Be;if(typeof Ue=="number"&&(typeof Be=="string"||typeof Be=="number")){var Sn=String(Yt);Sn.length>Ue&&(Yt="".concat(Sn.slice(0,Ue),"..."))}var rn=function(Bt){Bt&&Bt.stopPropagation(),Ct(K)};return typeof Ee=="function"?nn(Je,Yt,se,Qe,rn):yn(K,Yt,se,Qe,rn)},be=function(K){if(!y.length)return null;var se=typeof st=="function"?st(K):st;return typeof Ee=="function"?nn(void 0,se,!1,!1,void 0,!0):yn({title:se},se,!1)},h=a.createElement("div",{className:"".concat(mt,"-search"),style:{width:ke},onFocus:function(){tn(!0)},onBlur:function(){tn(!1)}},a.createElement(w,{ref:I,open:S,prefixCls:l,id:v,inputElement:null,disabled:_,autoFocus:d,autoComplete:U,editable:kt,activeDescendantId:W,value:pn,onKeyDown:De,onMouseDown:_e,onChange:ze,onPaste:Ie,onCompositionStart:Le,onCompositionEnd:pe,onBlur:Se,tabIndex:H,attrs:(0,$.Z)(e,!0)}),a.createElement("span",{ref:T,className:"".concat(mt,"-search-mirror"),"aria-hidden":!0},pn,"\xA0")),g=a.createElement(Gt.Z,{prefixCls:"".concat(mt,"-overflow"),data:y,renderItem:xt,renderRest:be,suffix:h,itemKey:Pt,maxCount:Ke});return a.createElement("span",{className:"".concat(mt,"-wrap")},g,!y.length&&!pn&&a.createElement("span",{className:"".concat(mt,"-placeholder")},O))},hn=Jt,on=function(e){var v=e.inputElement,l=e.prefixCls,y=e.id,S=e.inputRef,M=e.disabled,m=e.autoFocus,I=e.autoComplete,O=e.activeDescendantId,_=e.mode,ee=e.open,D=e.values,d=e.placeholder,U=e.tabIndex,W=e.showSearch,H=e.searchValue,Ze=e.activeValue,Ke=e.maxLength,Ue=e.onInputKeyDown,Te=e.onInputMouseDown,st=e.onInputChange,Ee=e.onInputPaste,Ye=e.onInputCompositionStart,Ct=e.onInputCompositionEnd,ze=e.onInputBlur,Ie=e.title,De=a.useState(!1),_e=(0,A.Z)(De,2),Le=_e[0],pe=_e[1],Se=_==="combobox",T=Se||W,re=D[0],le=H||"";Se&&Ze&&!Le&&(le=Ze),a.useEffect(function(){Se&&pe(!1)},[Se,Ze]);var ke=_!=="combobox"&&!ee&&!W?!1:!!le,Oe=Ie===void 0?$e(re):Ie,Ne=a.useMemo(function(){return re?null:a.createElement("span",{className:"".concat(l,"-selection-placeholder"),style:ke?{visibility:"hidden"}:void 0},d)},[re,ke,d,l]);return a.createElement("span",{className:"".concat(l,"-selection-wrap")},a.createElement("span",{className:"".concat(l,"-selection-search")},a.createElement(w,{ref:S,prefixCls:l,id:y,open:ee,inputElement:v,disabled:M,autoFocus:m,autoComplete:I,editable:T,activeDescendantId:O,value:le,onKeyDown:Ue,onMouseDown:Te,onChange:function(sn){pe(!0),st(sn)},onPaste:Ee,onCompositionStart:Ye,onCompositionEnd:Ct,onBlur:ze,tabIndex:U,attrs:(0,$.Z)(e,!0),maxLength:Se?Ke:void 0})),!Se&&re?a.createElement("span",{className:"".concat(l,"-selection-item"),title:Oe,style:ke?{visibility:"hidden"}:void 0},re.label):null,Ne)},yt=on,qt=function(e,v){var l=(0,a.useRef)(null),y=(0,a.useRef)(!1),S=e.prefixCls,M=e.open,m=e.mode,I=e.showSearch,O=e.tokenWithEnter,_=e.disabled,ee=e.prefix,D=e.autoClearSearchValue,d=e.onSearch,U=e.onSearchSubmit,W=e.onToggleOpen,H=e.onInputKeyDown,Ze=e.onInputBlur,Ke=e.domRef;a.useImperativeHandle(v,function(){return{focus:function(Oe){l.current.focus(Oe)},blur:function(){l.current.blur()}}});var Ue=dn(0),Te=(0,A.Z)(Ue,2),st=Te[0],Ee=Te[1],Ye=function(Oe){var Ne=Oe.which,Ot=l.current instanceof HTMLTextAreaElement;!Ot&&M&&(Ne===fe.Z.UP||Ne===fe.Z.DOWN)&&Oe.preventDefault(),H&&H(Oe),Ne===fe.Z.ENTER&&m==="tags"&&!y.current&&!M&&(U==null||U(Oe.target.value)),!(Ot&&!M&&~[fe.Z.UP,fe.Z.DOWN,fe.Z.LEFT,fe.Z.RIGHT].indexOf(Ne))&&mn(Ne)&&W(!0)},Ct=function(){Ee(!0)},ze=(0,a.useRef)(null),Ie=function(Oe){d(Oe,!0,y.current)!==!1&&W(!0)},De=function(){y.current=!0},_e=function(Oe){y.current=!1,m!=="combobox"&&Ie(Oe.target.value)},Le=function(Oe){var Ne=Oe.target.value;if(O&&ze.current&&/[\r\n]/.test(ze.current)){var Ot=ze.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ne=Ne.replace(Ot,ze.current)}ze.current=null,Ie(Ne)},pe=function(Oe){var Ne=Oe.clipboardData,Ot=Ne==null?void 0:Ne.getData("text");ze.current=Ot||""},Se=function(Oe){var Ne=Oe.target;if(Ne!==l.current){var Ot=document.body.style.msTouchAction!==void 0;Ot?setTimeout(function(){l.current.focus()}):l.current.focus()}},T=function(Oe){var Ne=st();Oe.target!==l.current&&!Ne&&!(m==="combobox"&&_)&&Oe.preventDefault(),(m!=="combobox"&&(!I||!Ne)||!M)&&(M&&D!==!1&&d("",!0,!1),W())},re={inputRef:l,onInputKeyDown:Ye,onInputMouseDown:Ct,onInputChange:Le,onInputPaste:pe,onInputCompositionStart:De,onInputCompositionEnd:_e,onInputBlur:Ze},le=m==="multiple"||m==="tags"?a.createElement(hn,(0,N.Z)({},e,re)):a.createElement(yt,(0,N.Z)({},e,re));return a.createElement("div",{ref:Ke,className:"".concat(S,"-selector"),onClick:Se,onMouseDown:T},ee&&a.createElement("div",{className:"".concat(S,"-prefix")},ee),le)},jt=a.forwardRef(qt),_t=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,y=e.disabled,S=e.visible,M=e.children,m=e.popupElement,I=e.animation,O=e.transitionName,_=e.dropdownStyle,ee=e.dropdownClassName,D=e.direction,d=D===void 0?"ltr":D,U=e.placement,W=e.builtinPlacements,H=e.dropdownMatchSelectWidth,Ze=e.dropdownRender,Ke=e.dropdownAlign,Ue=e.getPopupContainer,Te=e.empty,st=e.getTriggerDOMNode,Ee=e.onPopupVisibleChange,Ye=e.onPopupMouseEnter,Ct=(0,zt.Z)(e,r),ze="".concat(l,"-dropdown"),Ie=m;Ze&&(Ie=Ze(m));var De=a.useMemo(function(){return W||i(H)},[W,H]),_e=I?"".concat(ze,"-").concat(I):O,Le=typeof H=="number",pe=a.useMemo(function(){return Le?null:H===!1?"minWidth":"width"},[H,Le]),Se=_;Le&&(Se=(0,te.Z)((0,te.Z)({},Se),{},{width:H}));var T=a.useRef(null);return a.useImperativeHandle(v,function(){return{getPopupElement:function(){var le;return(le=T.current)===null||le===void 0?void 0:le.popupElement}}}),a.createElement(f.Z,(0,N.Z)({},Ct,{showAction:Ee?["click"]:[],hideAction:Ee?["click"]:[],popupPlacement:U||(d==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:De,prefixCls:ze,popupTransitionName:_e,popup:a.createElement("div",{onMouseEnter:Ye},Ie),ref:T,stretch:pe,popupAlign:Ke,popupVisible:S,getPopupContainer:Ue,popupClassName:o()(ee,(0,oe.Z)({},"".concat(ze,"-empty"),Te)),popupStyle:Se,getTriggerDOMNode:st,onPopupVisibleChange:Ee}),M)},c=a.forwardRef(n),p=c,C=u(66712);function E(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 L(t){return typeof t!="undefined"&&!Number.isNaN(t)}function P(t,e){var v=t||{},l=v.label,y=v.value,S=v.options,M=v.groupLabel,m=l||(e?"children":"label");return{label:m,value:y||"value",options:S||"options",groupLabel:M||m}}function G(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=e.fieldNames,l=e.childrenAsData,y=[],S=P(v,!1),M=S.label,m=S.value,I=S.options,O=S.groupLabel;function _(ee,D){Array.isArray(ee)&&ee.forEach(function(d){if(D||!(I in d)){var U=d[m];y.push({key:E(d,y.length),groupOption:D,data:d,label:d[M],value:U})}else{var W=d[O];W===void 0&&l&&(W=d.label),y.push({key:E(d,y.length),group:!0,data:d,label:W}),_(d[I],!0)}})}return _(t,!1),y}function F(t){var e=(0,te.Z)({},t);return"props"in e||Object.defineProperty(e,"props",{get:function(){return(0,gt.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),e}}),e}var k=function(e,v,l){if(!v||!v.length)return null;var y=!1,S=function m(I,O){var _=(0,C.Z)(O),ee=_[0],D=_.slice(1);if(!ee)return[I];var d=I.split(ee);return y=y||d.length>1,d.reduce(function(U,W){return[].concat((0,B.Z)(U),(0,B.Z)(m(W,D)))},[]).filter(Boolean)},M=S(e,v);return y?typeof l!="undefined"?M.slice(0,l):M:null},z=a.createContext(null),Z=z;function j(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(y){var S=y.label,M=y.value;return["number","string"].includes((0,ct.Z)(S))?S:M}).join(", ")),v.length>l?", ...":null)}var me=["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"],he=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],q=function(e){return e==="tags"||e==="multiple"},Re=a.forwardRef(function(t,e){var v,l=t.id,y=t.prefixCls,S=t.className,M=t.showSearch,m=t.tagRender,I=t.direction,O=t.omitDomProps,_=t.displayValues,ee=t.onDisplayValuesChange,D=t.emptyOptions,d=t.notFoundContent,U=d===void 0?"Not Found":d,W=t.onClear,H=t.mode,Ze=t.disabled,Ke=t.loading,Ue=t.getInputElement,Te=t.getRawInputElement,st=t.open,Ee=t.defaultOpen,Ye=t.onDropdownVisibleChange,Ct=t.activeValue,ze=t.onActiveValueChange,Ie=t.activeDescendantId,De=t.searchValue,_e=t.autoClearSearchValue,Le=t.onSearch,pe=t.onSearchSplit,Se=t.tokenSeparators,T=t.allowClear,re=t.prefix,le=t.suffixIcon,ke=t.clearIcon,Oe=t.OptionList,Ne=t.animation,Ot=t.transitionName,sn=t.dropdownStyle,tn=t.dropdownClassName,mt=t.dropdownMatchSelectWidth,pn=t.dropdownRender,kt=t.dropdownAlign,yn=t.placement,nn=t.builtinPlacements,xt=t.getPopupContainer,be=t.showAction,h=be===void 0?[]:be,g=t.onFocus,J=t.onBlur,K=t.onKeyUp,se=t.onKeyDown,Be=t.onMouseDown,Je=(0,zt.Z)(t,me),Qe=q(H),Yt=(M!==void 0?M:Qe)||H==="combobox",Sn=(0,te.Z)({},Je);he.forEach(function(tt){delete Sn[tt]}),O==null||O.forEach(function(tt){delete Sn[tt]});var rn=a.useState(!1),In=(0,A.Z)(rn,2),Bt=In[0],zn=In[1];a.useEffect(function(){zn((0,V.Z)())},[]);var kn=a.useRef(null),Rn=a.useRef(null),Ft=a.useRef(null),an=a.useRef(null),Wt=a.useRef(null),Zn=a.useRef(!1),Bn=rt(),Wn=(0,A.Z)(Bn,3),Nn=Wn[0],Dn=Wn[1],jn=Wn[2];a.useImperativeHandle(e,function(){var tt,Fe;return{focus:(tt=an.current)===null||tt===void 0?void 0:tt.focus,blur:(Fe=an.current)===null||Fe===void 0?void 0:Fe.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 tt;if(H!=="combobox")return De;var Fe=(tt=_[0])===null||tt===void 0?void 0:tt.value;return typeof Fe=="string"||typeof Fe=="number"?String(Fe):""},[De,H,_]),Xn=H==="combobox"&&typeof Ue=="function"&&Ue()||null,xn=typeof Te=="function"&&Te(),rr=(0,wn.x1)(Rn,xn==null||(v=xn.props)===null||v===void 0?void 0:v.ref),Yn=a.useState(!1),_n=(0,A.Z)(Yn,2),ar=_n[0],qn=_n[1];(0,fn.Z)(function(){qn(!0)},[]);var er=(0,ft.Z)(!1,{defaultValue:Ee,value:st}),Mn=(0,A.Z)(er,2),Hn=Mn[0],Jn=Mn[1],ht=ar?Hn:!1,Kn=!U&&D;(Ze||Kn&&ht&&H==="combobox")&&(ht=!1);var $n=Kn?!1:ht,ne=a.useCallback(function(tt){var Fe=tt!==void 0?tt:!ht;Ze||(Jn(Fe),ht!==Fe&&(Ye==null||Ye(Fe)))},[Ze,ht,Jn,Ye]),Ce=a.useMemo(function(){return(Se||[]).some(function(tt){return[`
`,`\r
`].includes(tt)})},[Se]),de=a.useContext(Z)||{},we=de.maxCount,qe=de.rawValues,Tt=function(Fe,An,Vn){if(!(Qe&&L(we)&&(qe==null?void 0:qe.size)>=we)){var Cn=!0,On=Fe;ze==null||ze(null);var Qn=k(Fe,Se,L(we)?we-qe.size:void 0),Un=Vn?null:Qn;return H!=="combobox"&&Un&&(On="",pe==null||pe(Un),ne(!1),Cn=!1),Le&&Tn!==On&&Le(On,{source:An?"typing":"effect"}),Cn}},Fn=function(Fe){!Fe||!Fe.trim()||Le(Fe,{source:"submit"})};a.useEffect(function(){!ht&&!Qe&&H!=="combobox"&&Tt("",!1,!1)},[ht]),a.useEffect(function(){Hn&&Ze&&Jn(!1),Ze&&!Zn.current&&Dn(!1)},[Ze]);var Q=dn(),ce=(0,A.Z)(Q,2),Ae=ce[0],Lt=ce[1],Mt=a.useRef(!1),tr=function(Fe){var An=Ae(),Vn=Fe.key,Cn=Vn==="Enter";if(Cn&&(H!=="combobox"&&Fe.preventDefault(),ht||ne(!0)),Lt(!!Tn),Vn==="Backspace"&&!An&&Qe&&!Tn&&_.length){for(var On=(0,B.Z)(_),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(ht&&(!Cn||!Mt.current)){var fr;Cn&&(Mt.current=!0),(fr=Wt.current)===null||fr===void 0||fr.onKeyDown.apply(fr,[Fe].concat(ir))}se==null||se.apply(void 0,[Fe].concat(ir))},lr=function(Fe){for(var An=arguments.length,Vn=new Array(An>1?An-1:0),Cn=1;Cn<An;Cn++)Vn[Cn-1]=arguments[Cn];if(ht){var On;(On=Wt.current)===null||On===void 0||On.onKeyUp.apply(On,[Fe].concat(Vn))}Fe.key==="Enter"&&(Mt.current=!1),K==null||K.apply(void 0,[Fe].concat(Vn))},nr=function(Fe){var An=_.filter(function(Vn){return Vn!==Fe});ee(An,{type:"remove",values:[Fe]})},Ln=function(){Mt.current=!1},vr=a.useRef(!1),br=function(){Dn(!0),Ze||(g&&!vr.current&&g.apply(void 0,arguments),h.includes("focus")&&ne(!0)),vr.current=!0},pr=function(){Zn.current=!0,Dn(!1,function(){vr.current=!1,Zn.current=!1,ne(!1)}),!Ze&&(Tn&&(H==="tags"?Le(Tn,{source:"submit"}):H==="multiple"&&Le("",{source:"blur"})),J&&J.apply(void 0,arguments))},ur=[];a.useEffect(function(){return function(){ur.forEach(function(tt){return clearTimeout(tt)}),ur.splice(0,ur.length)}},[]);var Cr=function(Fe){var An,Vn=Fe.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=an.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];Be==null||Be.apply(void 0,[Fe].concat(Un))},wr=a.useState({}),Er=(0,A.Z)(wr,2),Rr=Er[1];function Zr(){Rr({})}var mr;xn&&(mr=function(Fe){ne(Fe)}),Pn(function(){var tt;return[kn.current,(tt=Ft.current)===null||tt===void 0?void 0:tt.getPopupElement()]},$n,ne,!!xn);var xr=a.useMemo(function(){return(0,te.Z)((0,te.Z)({},t),{},{notFoundContent:U,open:ht,triggerOpen:$n,id:l,showSearch:Yt,multiple:Qe,toggleOpen:ne})},[t,U,$n,ht,l,Yt,Qe,ne]),hr=!!le||Ke,gr;hr&&(gr=a.createElement($t,{className:o()("".concat(y,"-arrow"),(0,oe.Z)({},"".concat(y,"-arrow-loading"),Ke)),customizeIcon:le,customizeIconProps:{loading:Ke,searchValue:Tn,open:ht,focused:Nn,showSearch:Yt}}));var Mr=function(){var Fe;W==null||W(),(Fe=an.current)===null||Fe===void 0||Fe.focus(),ee([],{type:"clear",values:_}),Tt("",!1,!1)},yr=nt(y,Mr,_,T,ke,Ze,Tn,H),Pr=yr.allowClear,Ir=yr.clearIcon,Dr=a.createElement(Oe,{ref:Wt}),Nr=o()(y,S,(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(y,"-focused"),Nn),"".concat(y,"-multiple"),Qe),"".concat(y,"-single"),!Qe),"".concat(y,"-allow-clear"),T),"".concat(y,"-show-arrow"),hr),"".concat(y,"-disabled"),Ze),"".concat(y,"-loading"),Ke),"".concat(y,"-open"),ht),"".concat(y,"-customize-input"),Xn),"".concat(y,"-show-search"),Yt)),Sr=a.createElement(p,{ref:Ft,disabled:Ze,prefixCls:y,visible:$n,popupElement:Dr,animation:Ne,transitionName:Ot,dropdownStyle:sn,dropdownClassName:tn,direction:I,dropdownMatchSelectWidth:mt,dropdownRender:pn,dropdownAlign:kt,placement:yn,builtinPlacements:nn,getPopupContainer:xt,empty:D,getTriggerDOMNode:function(Fe){return Rn.current||Fe},onPopupVisibleChange:mr,onPopupMouseEnter:Zr},xn?a.cloneElement(xn,{ref:rr}):a.createElement(_t,(0,N.Z)({},t,{domRef:Rn,prefixCls:y,inputElement:Xn,ref:an,id:l,prefix:re,showSearch:Yt,autoClearSearchValue:_e,mode:H,activeDescendantId:Ie,tagRender:m,values:_,open:ht,onToggleOpen:ne,activeValue:Ct,searchValue:Tn,onSearch:Tt,onSearchSubmit:Fn,onRemove:nr,tokenWithEnter:Ce,onInputBlur:Ln}))),dr;return xn?dr=Sr:dr=a.createElement("div",(0,N.Z)({className:Nr},Sn,{ref:kn,onMouseDown:Cr,onKeyDown:tr,onKeyUp:lr,onFocus:br,onBlur:pr}),a.createElement(j,{visible:Nn&&!ht,values:_}),Sr,gr,Pr&&Ir),a.createElement(vn.Provider,{value:xr},dr)}),ue=Re,He=function(){return null};He.isSelectOptGroup=!0;var ge=He,Y=function(){return null};Y.isSelectOption=!0;var St=Y,at=u(80547),ve=u(2738),It=u(48911);function Qt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Et=["disabled","title","children","style","className"];function Dt(t){return typeof t=="string"||typeof t=="number"}var At=function(e,v){var l=Ht(),y=l.prefixCls,S=l.id,M=l.open,m=l.multiple,I=l.mode,O=l.searchValue,_=l.toggleOpen,ee=l.notFoundContent,D=l.onPopupScroll,d=a.useContext(Z),U=d.maxCount,W=d.flattenOptions,H=d.onActiveValue,Ze=d.defaultActiveFirstOption,Ke=d.onSelect,Ue=d.menuItemSelectedIcon,Te=d.rawValues,st=d.fieldNames,Ee=d.virtual,Ye=d.direction,Ct=d.listHeight,ze=d.listItemHeight,Ie=d.optionRender,De="".concat(y,"-item"),_e=(0,at.Z)(function(){return W},[M,W],function(be,h){return h[0]&&be[1]!==h[1]}),Le=a.useRef(null),pe=a.useMemo(function(){return m&&L(U)&&(Te==null?void 0:Te.size)>=U},[m,U,Te==null?void 0:Te.size]),Se=function(h){h.preventDefault()},T=function(h){var g;(g=Le.current)===null||g===void 0||g.scrollTo(typeof h=="number"?{index:h}:h)},re=a.useCallback(function(be){return I==="combobox"?!1:Te.has(be)},[I,(0,B.Z)(Te).toString(),Te.size]),le=function(h){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,J=_e.length,K=0;K<J;K+=1){var se=(h+K*g+J)%J,Be=_e[se]||{},Je=Be.group,Qe=Be.data;if(!Je&&!(Qe!=null&&Qe.disabled)&&(re(Qe.value)||!pe))return se}return-1},ke=a.useState(function(){return le(0)}),Oe=(0,A.Z)(ke,2),Ne=Oe[0],Ot=Oe[1],sn=function(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ot(h);var J={source:g?"keyboard":"mouse"},K=_e[h];if(!K){H(null,-1,J);return}H(K.value,h,J)};(0,a.useEffect)(function(){sn(Ze!==!1?le(0):-1)},[_e.length,O]);var tn=a.useCallback(function(be){return I==="combobox"?String(be).toLowerCase()===O.toLowerCase():Te.has(be)},[I,O,(0,B.Z)(Te).toString(),Te.size]);(0,a.useEffect)(function(){var be=setTimeout(function(){if(!m&&M&&Te.size===1){var g=Array.from(Te)[0],J=_e.findIndex(function(K){var se=K.data;return O?String(se.value).startsWith(O):se.value===g});J!==-1&&(sn(J),T(J))}});if(M){var h;(h=Le.current)===null||h===void 0||h.scrollTo(void 0)}return function(){return clearTimeout(be)}},[M,O]);var mt=function(h){h!==void 0&&Ke(h,{selected:!Te.has(h)}),m||_(!1)};if(a.useImperativeHandle(v,function(){return{onKeyDown:function(h){var g=h.which,J=h.ctrlKey;switch(g){case fe.Z.N:case fe.Z.P:case fe.Z.UP:case fe.Z.DOWN:{var K=0;if(g===fe.Z.UP?K=-1:g===fe.Z.DOWN?K=1:Qt()&&J&&(g===fe.Z.N?K=1:g===fe.Z.P&&(K=-1)),K!==0){var se=le(Ne+K,K);T(se),sn(se,!0)}break}case fe.Z.TAB:case fe.Z.ENTER:{var Be,Je=_e[Ne];Je&&!(Je!=null&&(Be=Je.data)!==null&&Be!==void 0&&Be.disabled)&&!pe?mt(Je.value):mt(void 0),M&&h.preventDefault();break}case fe.Z.ESC:_(!1),M&&h.stopPropagation()}},onKeyUp:function(){},scrollTo:function(h){T(h)}}}),_e.length===0)return a.createElement("div",{role:"listbox",id:"".concat(S,"_list"),className:"".concat(De,"-empty"),onMouseDown:Se},ee);var pn=Object.keys(st).map(function(be){return st[be]}),kt=function(h){return h.label};function yn(be,h){var g=be.group;return{role:g?"presentation":"option",id:"".concat(S,"_list_").concat(h)}}var nn=function(h){var g=_e[h];if(!g)return null;var J=g.data||{},K=J.value,se=g.group,Be=(0,$.Z)(J,!0),Je=kt(g);return g?a.createElement("div",(0,N.Z)({"aria-label":typeof Je=="string"&&!se?Je:null},Be,{key:h},yn(g,h),{"aria-selected":tn(K)}),K):null},xt={role:"listbox",id:"".concat(S,"_list")};return a.createElement(a.Fragment,null,Ee&&a.createElement("div",(0,N.Z)({},xt,{style:{height:0,width:0,overflow:"hidden"}}),nn(Ne-1),nn(Ne),nn(Ne+1)),a.createElement(It.Z,{itemKey:"key",ref:Le,data:_e,height:Ct,itemHeight:ze,fullHeight:!1,onMouseDown:Se,onScroll:D,virtual:Ee,direction:Ye,innerProps:Ee?null:xt},function(be,h){var g=be.group,J=be.groupOption,K=be.data,se=be.label,Be=be.value,Je=K.key;if(g){var Qe,Yt=(Qe=K.title)!==null&&Qe!==void 0?Qe:Dt(se)?se.toString():void 0;return a.createElement("div",{className:o()(De,"".concat(De,"-group"),K.className),title:Yt},se!==void 0?se:Je)}var Sn=K.disabled,rn=K.title,In=K.children,Bt=K.style,zn=K.className,kn=(0,zt.Z)(K,Et),Rn=(0,ve.Z)(kn,pn),Ft=re(Be),an=Sn||!Ft&&pe,Wt="".concat(De,"-option"),Zn=o()(De,Wt,zn,(0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)({},"".concat(Wt,"-grouped"),J),"".concat(Wt,"-active"),Ne===h&&!an),"".concat(Wt,"-disabled"),an),"".concat(Wt,"-selected"),Ft)),Bn=kt(be),Wn=!Ue||typeof Ue=="function"||Ft,Nn=typeof Bn=="number"?Bn:Bn||Be,Dn=Dt(Nn)?Nn.toString():void 0;return rn!==void 0&&(Dn=rn),a.createElement("div",(0,N.Z)({},(0,$.Z)(Rn),Ee?{}:yn(be,h),{"aria-selected":tn(Be),className:Zn,title:Dn,onMouseMove:function(){Ne===h||an||sn(h)},onClick:function(){an||mt(Be)},style:Bt}),a.createElement("div",{className:"".concat(Wt,"-content")},typeof Ie=="function"?Ie(be,{index:h}):Nn),a.isValidElement(Ue)||Ft,Wn&&a.createElement($t,{className:"".concat(De,"-option-state"),customizeIcon:Ue,customizeIconProps:{value:Be,disabled:an,isSelected:Ft}},Ft?"\u2713":null))}))},bt=a.forwardRef(At),ot=bt,je=function(t,e){var v=a.useRef({values:new Map,options:new Map}),l=a.useMemo(function(){var S=v.current,M=S.values,m=S.options,I=t.map(function(ee){if(ee.label===void 0){var D;return(0,te.Z)((0,te.Z)({},ee),{},{label:(D=M.get(ee.value))===null||D===void 0?void 0:D.label})}return ee}),O=new Map,_=new Map;return I.forEach(function(ee){O.set(ee.value,ee),_.set(ee.value,e.get(ee.value)||m.get(ee.value))}),v.current.values=O,v.current.options=_,I},[t,e]),y=a.useCallback(function(S){return e.get(S)||v.current.options.get(S)},[e]);return[l,y]};function Pe(t,e){return X(t).join("").toUpperCase().includes(e)}var it=function(t,e,v,l,y){return a.useMemo(function(){if(!v||l===!1)return t;var S=e.options,M=e.label,m=e.value,I=[],O=typeof l=="function",_=v.toUpperCase(),ee=O?l:function(d,U){return y?Pe(U[y],_):U[S]?Pe(U[M!=="children"?M:"label"],_):Pe(U[m],_)},D=O?function(d){return F(d)}:function(d){return d};return t.forEach(function(d){if(d[S]){var U=ee(v,D(d));if(U)I.push(d);else{var W=d[S].filter(function(H){return ee(v,D(H))});W.length&&I.push((0,te.Z)((0,te.Z)({},d),{},(0,oe.Z)({},S,W)))}return}ee(v,D(d))&&I.push(d)}),I},[t,l,y,v,e])},Ge=u(6551),Vt=u(11592),ie=["children","value"],Ut=["children"];function gn(t){var e=t,v=e.key,l=e.props,y=l.children,S=l.value,M=(0,zt.Z)(l,ie);return(0,te.Z)({key:v,value:S!==void 0?S:v,children:y},M)}function ln(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Vt.Z)(t).map(function(v,l){if(!a.isValidElement(v)||!v.type)return null;var y=v,S=y.type.isSelectOptGroup,M=y.key,m=y.props,I=m.children,O=(0,zt.Z)(m,Ut);return e||!S?gn(v):(0,te.Z)((0,te.Z)({key:"__RC_SELECT_GRP__".concat(M===null?l:M,"__"),label:M},O),{},{options:ln(I)})}).filter(function(v){return v})}var Xt=function(e,v,l,y,S){return a.useMemo(function(){var M=e,m=!e;m&&(M=ln(v));var I=new Map,O=new Map,_=function(d,U,W){W&&typeof W=="string"&&d.set(U[W],U)},ee=function D(d){for(var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,W=0;W<d.length;W+=1){var H=d[W];!H[l.options]||U?(I.set(H[l.value],H),_(O,H,l.label),_(O,H,y),_(O,H,S)):D(H[l.options],!0)}};return ee(M),{options:M,valueOptions:I,labelOptions:O}},[e,v,l,y,S])},lt=Xt;function et(t){var e=a.useRef();e.current=t;var v=a.useCallback(function(){return e.current.apply(e,arguments)},[]);return v}function Nt(t){var e=t.mode,v=t.options,l=t.children,y=t.backfill,S=t.allowClear,M=t.placeholder,m=t.getInputElement,I=t.showSearch,O=t.onSearch,_=t.defaultOpen,ee=t.autoFocus,D=t.labelInValue,d=t.value,U=t.inputValue,W=t.optionLabelProp,H=isMultiple(e),Ze=I!==void 0?I:H||e==="combobox",Ke=v||convertChildrenToData(l);if(warning(e!=="tags"||Ke.every(function(Ee){return!Ee.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),e==="tags"||e==="combobox"){var Ue=Ke.some(function(Ee){return Ee.options?Ee.options.some(function(Ye){return typeof("value"in Ye?Ye.value:Ye.key)=="number"}):typeof("value"in Ee?Ee.value:Ee.key)=="number"});warning(!Ue,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(e!=="combobox"||!W,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(e==="combobox"||!y,"`backfill` only works with `combobox` mode."),warning(e==="combobox"||!m,"`getInputElement` only work with `combobox` mode."),noteOnce(e!=="combobox"||!m||!S||!M,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),O&&!Ze&&e!=="combobox"&&e!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!_||ee,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),d!=null){var Te=toArray(d);warning(!D||Te.every(function(Ee){return _typeof(Ee)==="object"&&("key"in Ee||"value"in Ee)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!H||Array.isArray(d),"`value` should be array when `mode` is `multiple` or `tags`")}if(l){var st=null;toNodeArray(l).some(function(Ee){if(!React.isValidElement(Ee)||!Ee.type)return!1;var Ye=Ee,Ct=Ye.type;if(Ct.isSelectOption)return!1;if(Ct.isSelectOptGroup){var ze=toNodeArray(Ee.props.children).every(function(Ie){return!React.isValidElement(Ie)||!Ee.type||Ie.type.isSelectOption?!0:(st=Ie.type,!1)});return!ze}return st=Ct,!0}),st&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(st.displayName||st.name||st,"`.")),warning(U===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Xe(t,e){if(t){var v=function l(y){for(var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,M=0;M<y.length;M++){var m=y[M];if(m[e==null?void 0:e.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!S&&Array.isArray(m[e==null?void 0:e.options])&&l(m[e==null?void 0:e.options],!0))break}};v(t)}}var dt=null,ut=["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"],pt=["inputValue"];function Rt(t){return!t||(0,ct.Z)(t)!=="object"}var Zt=a.forwardRef(function(t,e){var v=t.id,l=t.mode,y=t.prefixCls,S=y===void 0?"rc-select":y,M=t.backfill,m=t.fieldNames,I=t.inputValue,O=t.searchValue,_=t.onSearch,ee=t.autoClearSearchValue,D=ee===void 0?!0:ee,d=t.onSelect,U=t.onDeselect,W=t.dropdownMatchSelectWidth,H=W===void 0?!0:W,Ze=t.filterOption,Ke=t.filterSort,Ue=t.optionFilterProp,Te=t.optionLabelProp,st=t.options,Ee=t.optionRender,Ye=t.children,Ct=t.defaultActiveFirstOption,ze=t.menuItemSelectedIcon,Ie=t.virtual,De=t.direction,_e=t.listHeight,Le=_e===void 0?200:_e,pe=t.listItemHeight,Se=pe===void 0?20:pe,T=t.labelRender,re=t.value,le=t.defaultValue,ke=t.labelInValue,Oe=t.onChange,Ne=t.maxCount,Ot=(0,zt.Z)(t,ut),sn=(0,Ge.ZP)(v),tn=q(l),mt=!!(!st&&Ye),pn=a.useMemo(function(){return Ze===void 0&&l==="combobox"?!1:Ze},[Ze,l]),kt=a.useMemo(function(){return P(m,mt)},[JSON.stringify(m),mt]),yn=(0,ft.Z)("",{value:O!==void 0?O:I,postState:function(Ce){return Ce||""}}),nn=(0,A.Z)(yn,2),xt=nn[0],be=nn[1],h=lt(st,Ye,kt,Ue,Te),g=h.valueOptions,J=h.labelOptions,K=h.options,se=a.useCallback(function(ne){var Ce=X(ne);return Ce.map(function(de){var we,qe,Tt,Fn,Q;if(Rt(de))we=de;else{var ce;Tt=de.key,qe=de.label,we=(ce=de.value)!==null&&ce!==void 0?ce:Tt}var Ae=g.get(we);if(Ae){var Lt;if(qe===void 0&&(qe=Ae==null?void 0:Ae[Te||kt.label]),Tt===void 0&&(Tt=(Lt=Ae==null?void 0:Ae.key)!==null&&Lt!==void 0?Lt:we),Fn=Ae==null?void 0:Ae.disabled,Q=Ae==null?void 0:Ae.title,0)var Mt}return{label:qe,value:we,key:Tt,disabled:Fn,title:Q}})},[kt,Te,g]),Be=(0,ft.Z)(le,{value:re}),Je=(0,A.Z)(Be,2),Qe=Je[0],Yt=Je[1],Sn=a.useMemo(function(){var ne,Ce=tn&&Qe===null?[]:Qe,de=se(Ce);return l==="combobox"&&We((ne=de[0])===null||ne===void 0?void 0:ne.value)?[]:de},[Qe,se,l,tn]),rn=je(Sn,g),In=(0,A.Z)(rn,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(Ce){var de;return(0,te.Z)((0,te.Z)({},Ce),{},{label:(de=typeof T=="function"?T(Ce):Ce.label)!==null&&de!==void 0?de:Ce.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,Ce=(ne=Bt[0])===null||ne===void 0?void 0:ne.value;be(xe(Ce)?String(Ce):"")}},[Bt]);var Ft=et(function(ne,Ce){var de=Ce!=null?Ce:ne;return(0,oe.Z)((0,oe.Z)({},kt.value,ne),kt.label,de)}),an=a.useMemo(function(){if(l!=="tags")return K;var ne=(0,B.Z)(K),Ce=function(we){return g.has(we)};return(0,B.Z)(Bt).sort(function(de,we){return de.value<we.value?-1:1}).forEach(function(de){var we=de.value;Ce(we)||ne.push(Ft(we,de.label))}),ne},[Ft,K,g,Bt,l]),Wt=it(an,kt,xt,pn,Ue),Zn=a.useMemo(function(){return l!=="tags"||!xt||Wt.some(function(ne){return ne[Ue||"value"]===xt})||Wt.some(function(ne){return ne[kt.value]===xt})?Wt:[Ft(xt)].concat((0,B.Z)(Wt))},[Ft,Ue,l,Wt,xt,kt]),Bn=function ne(Ce){var de=(0,B.Z)(Ce).sort(function(we,qe){return Ke(we,qe,{searchValue:xt})});return de.map(function(we){return Array.isArray(we.options)?(0,te.Z)((0,te.Z)({},we),{},{options:we.options.length>0?ne(we.options):we.options}):we})},Wn=a.useMemo(function(){return Ke?Bn(Zn):Zn},[Zn,Ke,xt]),Nn=a.useMemo(function(){return G(Wn,{fieldNames:kt,childrenAsData:mt})},[Wn,kt,mt]),Dn=function(Ce){var de=se(Ce);if(Yt(de),Oe&&(de.length!==Bt.length||de.some(function(Tt,Fn){var Q;return((Q=Bt[Fn])===null||Q===void 0?void 0:Q.value)!==(Tt==null?void 0:Tt.value)}))){var we=ke?de:de.map(function(Tt){return Tt.value}),qe=de.map(function(Tt){return F(zn(Tt.value))});Oe(tn?we:we[0],tn?qe:qe[0])}},jn=a.useState(null),Tn=(0,A.Z)(jn,2),Xn=Tn[0],xn=Tn[1],rr=a.useState(0),Yn=(0,A.Z)(rr,2),_n=Yn[0],ar=Yn[1],qn=Ct!==void 0?Ct:l!=="combobox",er=a.useCallback(function(ne,Ce){var de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},we=de.source,qe=we===void 0?"keyboard":we;ar(Ce),M&&l==="combobox"&&ne!==null&&qe==="keyboard"&&xn(String(ne))},[M,l]),Mn=function(Ce,de,we){var qe=function(){var nr,Ln=zn(Ce);return[ke?{label:Ln==null?void 0:Ln[kt.label],value:Ce,key:(nr=Ln==null?void 0:Ln.key)!==null&&nr!==void 0?nr:Ce}:Ce,F(Ln)]};if(de&&d){var Tt=qe(),Fn=(0,A.Z)(Tt,2),Q=Fn[0],ce=Fn[1];d(Q,ce)}else if(!de&&U&&we!=="clear"){var Ae=qe(),Lt=(0,A.Z)(Ae,2),Mt=Lt[0],tr=Lt[1];U(Mt,tr)}},Hn=et(function(ne,Ce){var de,we=tn?Ce.selected:!0;we?de=tn?[].concat((0,B.Z)(Bt),[ne]):[ne]:de=Bt.filter(function(qe){return qe.value!==ne}),Dn(de),Mn(ne,we),l==="combobox"?xn(""):(!q||D)&&(be(""),xn(""))}),Jn=function(Ce,de){Dn(Ce);var we=de.type,qe=de.values;(we==="remove"||we==="clear")&&qe.forEach(function(Tt){Mn(Tt.value,!1,we)})},ht=function(Ce,de){if(be(Ce),xn(null),de.source==="submit"){var we=(Ce||"").trim();if(we){var qe=Array.from(new Set([].concat((0,B.Z)(Rn),[we])));Dn(qe),Mn(we,!0),be("")}return}de.source!=="blur"&&(l==="combobox"&&Dn(Ce),_==null||_(Ce))},Kn=function(Ce){var de=Ce;l!=="tags"&&(de=Ce.map(function(qe){var Tt=J.get(qe);return Tt==null?void 0:Tt.value}).filter(function(qe){return qe!==void 0}));var we=Array.from(new Set([].concat((0,B.Z)(Rn),(0,B.Z)(de))));Dn(we),we.forEach(function(qe){Mn(qe,!0)})},$n=a.useMemo(function(){var ne=Ie!==!1&&H!==!1;return(0,te.Z)((0,te.Z)({},h),{},{flattenOptions:Nn,onActiveValue:er,defaultActiveFirstOption:qn,onSelect:Hn,menuItemSelectedIcon:ze,rawValues:Rn,fieldNames:kt,virtual:ne,direction:De,listHeight:Le,listItemHeight:Se,childrenAsData:mt,maxCount:Ne,optionRender:Ee})},[Ne,h,Nn,er,qn,Hn,ze,Rn,kt,Ie,H,De,Le,Se,mt,Ee]);return a.createElement(Z.Provider,{value:$n},a.createElement(ue,(0,N.Z)({},Ot,{id:sn,prefixCls:S,ref:e,omitDomProps:pt,mode:l,displayValues:kn,onDisplayValuesChange:Jn,direction:De,searchValue:xt,onSearch:ht,autoClearSearchValue:D,onSearchSplit:Kn,dropdownMatchSelectWidth:H,OptionList:ot,emptyOptions:!Nn.length,activeValue:Xn,activeDescendantId:"".concat(sn,"_list_").concat(_n)})))}),un=Zt;un.Option=St,un.OptGroup=ge;var en=un,bn=en},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 _t}});var N=u(54476),B=u(76190),oe=u(33885),te=u(20068),A=u(42978),zt=u(75931),ct=u(92310),ft=u.n(ct),gt=u(29301),a=u(70425),wt=u(34280),o=u(59301),fn=u(4676),V=o.forwardRef(function(f,r){var i=f.height,n=f.offsetY,c=f.offsetX,p=f.children,C=f.prefixCls,E=f.onInnerResize,L=f.innerProps,P=f.rtl,G=f.extra,F={},k={display:"flex",flexDirection:"column"};return n!==void 0&&(F={height:i,position:"relative",overflow:"hidden"},k=(0,oe.Z)((0,oe.Z)({},k),{},(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:F},o.createElement(gt.Z,{onResize:function(Z){var j=Z.offsetHeight;j&&E&&E()}},o.createElement("div",(0,N.Z)({style:k,className:ft()((0,te.Z)({},"".concat(C,"-holder-inner"),C)),ref:r},L),p,G)))});V.displayName="Filler";var wn=V;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,C,E){var L=E.getKey;return f.slice(r,i+1).map(function(P,G){var F=r+G,k=C(P,F,{style:{width:n},offsetX:c}),z=L(P);return o.createElement(En,{key:z,setRef:function(j){return p(P,j)}},k)})}function nt(f,r,i,n){var c=i-f,p=r-i,C=Math.min(c,p)*2;if(n<=C){var E=Math.floor(n/2);return n%2?i+E+1:i-E}return c>p?i-(n-p):i+(n-c)}function vn(f,r,i){var n=f.length,c=r.length,p,C;if(n===0&&c===0)return null;n<c?(p=f,C=r):(p=r,C=f);var E={__EMPTY_ITEM__:!0};function L(Z){return Z!==void 0?i(Z):E}for(var P=null,G=Math.abs(n-c)!==1,F=0;F<C.length;F+=1){var k=L(p[F]),z=L(C[F]);if(k!==z){P=F,G=G||k!==L(C[F+1]);break}}return P===null?null:{index:P,multiple:G}}function Ht(f,r,i){var n=o.useState(f),c=(0,A.Z)(n,2),p=c[0],C=c[1],E=o.useState(null),L=(0,A.Z)(E,2),P=L[0],G=L[1];return o.useEffect(function(){var F=vn(p||[],f||[],r);(F==null?void 0:F.index)!==void 0&&(i==null||i(F.index),G(f[F.index])),C(f)},[f]),[P]}var rt=u(16089),dn=(typeof navigator=="undefined"?"undefined":(0,B.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Pn=dn,fe=function(f,r,i,n){var c=(0,o.useRef)(!1),p=(0,o.useRef)(null);function C(){clearTimeout(p.current),c.current=!0,p.current=setTimeout(function(){c.current=!1},50)}var E=(0,o.useRef)({top:f,bottom:r,left:i,right:n});return E.current.top=f,E.current.bottom=r,E.current.left=i,E.current.right=n,function(L,P){var G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,F=L?P<0&&E.current.left||P>0&&E.current.right:P<0&&E.current.top||P>0&&E.current.bottom;return G&&F?(clearTimeout(p.current),c.current=!1):(!F||c.current)&&C(),!c.current&&F}};function mn(f,r,i,n,c,p,C){var E=(0,o.useRef)(0),L=(0,o.useRef)(null),P=(0,o.useRef)(null),G=(0,o.useRef)(!1),F=fe(r,i,n,c);function k(q,Re){if(rt.Z.cancel(L.current),!F(!1,Re)){var ue=q;if(!ue._virtualHandled)ue._virtualHandled=!0;else return;E.current+=Re,P.current=Re,Pn||ue.preventDefault(),L.current=(0,rt.Z)(function(){var He=G.current?10:1;C(E.current*He,!1),E.current=0})}}function z(q,Re){C(Re,!0),Pn||q.preventDefault()}var Z=(0,o.useRef)(null),j=(0,o.useRef)(null);function me(q){if(f){rt.Z.cancel(j.current),j.current=(0,rt.Z)(function(){Z.current=null},2);var Re=q.deltaX,ue=q.deltaY,He=q.shiftKey,ge=Re,Y=ue;(Z.current==="sx"||!Z.current&&He&&ue&&!Re)&&(ge=ue,Y=0,Z.current="sx");var St=Math.abs(ge),at=Math.abs(Y);Z.current===null&&(Z.current=p&&St>at?"x":"y"),Z.current==="y"?k(q,Y):z(q,ge)}}function he(q){f&&(G.current=q.detail===P.current)}return[me,he]}function $(f,r,i,n){var c=o.useMemo(function(){return[new Map,[]]},[f,i.id,n]),p=(0,A.Z)(c,2),C=p[0],E=p[1],L=function(G){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G,k=C.get(G),z=C.get(F);if(k===void 0||z===void 0)for(var Z=f.length,j=E.length;j<Z;j+=1){var me,he=f[j],q=r(he);C.set(q,j);var Re=(me=i.get(q))!==null&&me!==void 0?me:n;if(E[j]=(E[j-1]||0)+Re,q===G&&(k=j),q===F&&(z=j),k!==void 0&&z!==void 0)break}return{top:E[k-1]||0,bottom:E[z]}};return L}var Gt=u(67732),ye=u(83652),Kt=function(){function f(){(0,Gt.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,ye.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}(),R=Kt;function s(f){var r=parseFloat(f);return isNaN(r)?0:r}function x(f,r,i){var n=o.useState(0),c=(0,A.Z)(n,2),p=c[0],C=c[1],E=(0,o.useRef)(new Map),L=(0,o.useRef)(new R),P=(0,o.useRef)(0);function G(){P.current+=1}function F(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;G();var Z=function(){var he=!1;E.current.forEach(function(q,Re){if(q&&q.offsetParent){var ue=q.offsetHeight,He=getComputedStyle(q),ge=He.marginTop,Y=He.marginBottom,St=s(ge),at=s(Y),ve=ue+St+at;L.current.get(Re)!==ve&&(L.current.set(Re,ve),he=!0)}}),he&&C(function(q){return q+1})};if(z)Z();else{P.current+=1;var j=P.current;Promise.resolve().then(function(){j===P.current&&Z()})}}function k(z,Z){var j=f(z),me=E.current.get(j);Z?(E.current.set(j,Z),F()):E.current.delete(j),!me!=!Z&&(Z?r==null||r(z):i==null||i(z))}return(0,o.useEffect)(function(){return G},[]),[k,F,L.current,p]}var w=14/15;function X(f,r,i){var n=(0,o.useRef)(!1),c=(0,o.useRef)(0),p=(0,o.useRef)(0),C=(0,o.useRef)(null),E=(0,o.useRef)(null),L,P=function(z){if(n.current){var Z=Math.ceil(z.touches[0].pageX),j=Math.ceil(z.touches[0].pageY),me=c.current-Z,he=p.current-j,q=Math.abs(me)>Math.abs(he);q?c.current=Z:p.current=j;var Re=i(q,q?me:he,!1,z);Re&&z.preventDefault(),clearInterval(E.current),Re&&(E.current=setInterval(function(){q?me*=w:he*=w;var ue=Math.floor(q?me:he);(!i(q,ue,!0)||Math.abs(ue)<=.1)&&clearInterval(E.current)},16))}},G=function(){n.current=!1,L()},F=function(z){L(),z.touches.length===1&&!n.current&&(n.current=!0,c.current=Math.ceil(z.touches[0].pageX),p.current=Math.ceil(z.touches[0].pageY),C.current=z.target,C.current.addEventListener("touchmove",P,{passive:!1}),C.current.addEventListener("touchend",G,{passive:!0}))};L=function(){C.current&&(C.current.removeEventListener("touchmove",P),C.current.removeEventListener("touchend",G))},(0,wt.Z)(function(){return f&&r.current.addEventListener("touchstart",F,{passive:!0}),function(){var k;(k=r.current)===null||k===void 0||k.removeEventListener("touchstart",F),L(),clearInterval(E.current)}},[f])}function ae(f){return Math.floor(Math.pow(f,.5))}function b(f,r){var i="touches"in f?f.touches[0]:f;return i[r?"pageX":"pageY"]-window[r?"scrollX":"scrollY"]}function xe(f,r,i){o.useEffect(function(){var n=r.current;if(f&&n){var c=!1,p,C,E=function(){rt.Z.cancel(p)},L=function k(){E(),p=(0,rt.Z)(function(){i(C),k()})},P=function(){c=!1,E()},G=function(z){if(!(z.target.draggable||z.button!==0)){var Z=z;Z._virtualHandled||(Z._virtualHandled=!0,c=!0)}},F=function(z){if(c){var Z=b(z,!1),j=n.getBoundingClientRect(),me=j.top,he=j.bottom;if(Z<=me){var q=me-Z;C=-ae(q),L()}else if(Z>=he){var Re=Z-he;C=ae(Re),L()}else E()}};return n.addEventListener("mousedown",G),n.ownerDocument.addEventListener("mouseup",P),n.ownerDocument.addEventListener("mousemove",F),n.ownerDocument.addEventListener("dragend",P),function(){n.removeEventListener("mousedown",G),n.ownerDocument.removeEventListener("mouseup",P),n.ownerDocument.removeEventListener("mousemove",F),n.ownerDocument.removeEventListener("dragend",P),E()}}},[f])}var We=10;function Ve(f,r,i,n,c,p,C,E){var L=o.useRef(),P=o.useState(null),G=(0,A.Z)(P,2),F=G[0],k=G[1];return(0,wt.Z)(function(){if(F&&F.times<We){if(!f.current){k(function(Pe){return(0,oe.Z)({},Pe)});return}p();var z=F.targetAlign,Z=F.originAlign,j=F.index,me=F.offset,he=f.current.clientHeight,q=!1,Re=z,ue=null;if(he){for(var He=z||Z,ge=0,Y=0,St=0,at=Math.min(r.length-1,j),ve=0;ve<=at;ve+=1){var It=c(r[ve]);Y=ge;var Qt=i.get(It);St=Y+(Qt===void 0?n:Qt),ge=St}for(var Et=He==="top"?me:he-me,Dt=at;Dt>=0;Dt-=1){var At=c(r[Dt]),bt=i.get(At);if(bt===void 0){q=!0;break}if(Et-=bt,Et<=0)break}switch(He){case"top":ue=Y-me;break;case"bottom":ue=St-he+me;break;default:{var ot=f.current.scrollTop,je=ot+he;Y<ot?Re="top":St>je&&(Re="bottom")}}ue!==null&&C(ue),ue!==F.lastTop&&(q=!0)}q&&k((0,oe.Z)((0,oe.Z)({},F),{},{times:F.times+1,targetAlign:Re,lastTop:ue}))}},[F,f.current]),function(z){if(z==null){E();return}if(rt.Z.cancel(L.current),typeof z=="number")C(z);else if(z&&(0,B.Z)(z)==="object"){var Z,j=z.align;"index"in z?Z=z.index:Z=r.findIndex(function(q){return c(q)===z.key});var me=z.offset,he=me===void 0?0:me;k({times:0,index:Z,offset:he,originAlign:j})}}}var $e=o.forwardRef(function(f,r){var i=f.prefixCls,n=f.rtl,c=f.scrollOffset,p=f.scrollRange,C=f.onStartMove,E=f.onStopMove,L=f.onScroll,P=f.horizontal,G=f.spinSize,F=f.containerSize,k=f.style,z=f.thumbStyle,Z=f.showScrollBar,j=o.useState(!1),me=(0,A.Z)(j,2),he=me[0],q=me[1],Re=o.useState(null),ue=(0,A.Z)(Re,2),He=ue[0],ge=ue[1],Y=o.useState(null),St=(0,A.Z)(Y,2),at=St[0],ve=St[1],It=!n,Qt=o.useRef(),Et=o.useRef(),Dt=o.useState(Z),At=(0,A.Z)(Dt,2),bt=At[0],ot=At[1],je=o.useRef(),Pe=function(){Z===!0||Z===!1||(clearTimeout(je.current),ot(!0),je.current=setTimeout(function(){ot(!1)},3e3))},it=p-F||0,Ge=F-G||0,Vt=o.useMemo(function(){if(c===0||it===0)return 0;var Xe=c/it;return Xe*Ge},[c,it,Ge]),ie=function(dt){dt.stopPropagation(),dt.preventDefault()},Ut=o.useRef({top:Vt,dragging:he,pageY:He,startTop:at});Ut.current={top:Vt,dragging:he,pageY:He,startTop:at};var gn=function(dt){q(!0),ge(b(dt,P)),ve(Ut.current.top),C(),dt.stopPropagation(),dt.preventDefault()};o.useEffect(function(){var Xe=function(Rt){Rt.preventDefault()},dt=Qt.current,ut=Et.current;return dt.addEventListener("touchstart",Xe,{passive:!1}),ut.addEventListener("touchstart",gn,{passive:!1}),function(){dt.removeEventListener("touchstart",Xe),ut.removeEventListener("touchstart",gn)}},[]);var ln=o.useRef();ln.current=it;var Xt=o.useRef();Xt.current=Ge,o.useEffect(function(){if(he){var Xe,dt=function(Rt){var Zt=Ut.current,un=Zt.dragging,en=Zt.pageY,bn=Zt.startTop;rt.Z.cancel(Xe);var t=Qt.current.getBoundingClientRect(),e=F/(P?t.width:t.height);if(un){var v=(b(Rt,P)-en)*e,l=bn;!It&&P?l-=v:l+=v;var y=ln.current,S=Xt.current,M=S?l/S:0,m=Math.ceil(M*y);m=Math.max(m,0),m=Math.min(m,y),Xe=(0,rt.Z)(function(){L(m,P)})}},ut=function(){q(!1),E()};return window.addEventListener("mousemove",dt,{passive:!0}),window.addEventListener("touchmove",dt,{passive:!0}),window.addEventListener("mouseup",ut,{passive:!0}),window.addEventListener("touchend",ut,{passive:!0}),function(){window.removeEventListener("mousemove",dt),window.removeEventListener("touchmove",dt),window.removeEventListener("mouseup",ut),window.removeEventListener("touchend",ut),rt.Z.cancel(Xe)}}},[he]),o.useEffect(function(){return Pe(),function(){clearTimeout(je.current)}},[c]),o.useImperativeHandle(r,function(){return{delayHidden:Pe}});var lt="".concat(i,"-scrollbar"),et={position:"absolute",visibility:bt?null:"hidden"},Nt={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(et,{height:8,left:0,right:0,bottom:0}),Object.assign(Nt,(0,te.Z)({height:"100%",width:G},It?"left":"right",Vt))):(Object.assign(et,(0,te.Z)({width:8,top:0,bottom:0},It?"right":"left",0)),Object.assign(Nt,{width:"100%",height:G,top:Vt})),o.createElement("div",{ref:Qt,className:ft()(lt,(0,te.Z)((0,te.Z)((0,te.Z)({},"".concat(lt,"-horizontal"),P),"".concat(lt,"-vertical"),!P),"".concat(lt,"-visible"),bt)),style:(0,oe.Z)((0,oe.Z)({},et),k),onMouseDown:ie,onMouseMove:Pe},o.createElement("div",{ref:Et,className:ft()("".concat(lt,"-thumb"),(0,te.Z)({},"".concat(lt,"-thumb-moving"),he)),style:(0,oe.Z)((0,oe.Z)({},Nt),z),onMouseDown:gn}))}),Me=$e,Pt=20;function vt(){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,Pt),Math.floor(i)}var Jt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],hn=[],on={overflowY:"auto",overflowAnchor:"none"};function yt(f,r){var i=f.prefixCls,n=i===void 0?"rc-virtual-list":i,c=f.className,p=f.height,C=f.itemHeight,E=f.fullHeight,L=E===void 0?!0:E,P=f.style,G=f.data,F=f.children,k=f.itemKey,z=f.virtual,Z=f.direction,j=f.scrollWidth,me=f.component,he=me===void 0?"div":me,q=f.onScroll,Re=f.onVirtualScroll,ue=f.onVisibleChange,He=f.innerProps,ge=f.extraRender,Y=f.styles,St=f.showScrollBar,at=St===void 0?"optional":St,ve=(0,zt.Z)(f,Jt),It=o.useCallback(function(h){return typeof k=="function"?k(h):h==null?void 0:h[k]},[k]),Qt=x(It,null,null),Et=(0,A.Z)(Qt,4),Dt=Et[0],At=Et[1],bt=Et[2],ot=Et[3],je=!!(z!==!1&&p&&C),Pe=o.useMemo(function(){return Object.values(bt.maps).reduce(function(h,g){return h+g},0)},[bt.id,bt.maps]),it=je&&G&&(Math.max(C*G.length,Pe)>p||!!j),Ge=Z==="rtl",Vt=ft()(n,(0,te.Z)({},"".concat(n,"-rtl"),Ge),c),ie=G||hn,Ut=(0,o.useRef)(),gn=(0,o.useRef)(),ln=(0,o.useRef)(),Xt=(0,o.useState)(0),lt=(0,A.Z)(Xt,2),et=lt[0],Nt=lt[1],Xe=(0,o.useState)(0),dt=(0,A.Z)(Xe,2),ut=dt[0],pt=dt[1],Rt=(0,o.useState)(!1),Zt=(0,A.Z)(Rt,2),un=Zt[0],en=Zt[1],bn=function(){en(!0)},t=function(){en(!1)},e={getKey:It};function v(h){Nt(function(g){var J;typeof h=="function"?J=h(g):J=h;var K=Ct(J);return Ut.current.scrollTop=K,K})}var l=(0,o.useRef)({start:0,end:ie.length}),y=(0,o.useRef)(),S=Ht(ie,It),M=(0,A.Z)(S,1),m=M[0];y.current=m;var I=o.useMemo(function(){if(!je)return{scrollHeight:void 0,start:0,end:ie.length-1,offset:void 0};if(!it){var h;return{scrollHeight:((h=gn.current)===null||h===void 0?void 0:h.offsetHeight)||0,start:0,end:ie.length-1,offset:void 0}}for(var g=0,J,K,se,Be=ie.length,Je=0;Je<Be;Je+=1){var Qe=ie[Je],Yt=It(Qe),Sn=bt.get(Yt),rn=g+(Sn===void 0?C:Sn);rn>=et&&J===void 0&&(J=Je,K=g),rn>et+p&&se===void 0&&(se=Je),g=rn}return J===void 0&&(J=0,K=0,se=Math.ceil(p/C)),se===void 0&&(se=ie.length-1),se=Math.min(se+1,ie.length-1),{scrollHeight:g,start:J,end:se,offset:K}},[it,je,et,ie,ot,p]),O=I.scrollHeight,_=I.start,ee=I.end,D=I.offset;l.current.start=_,l.current.end=ee,o.useLayoutEffect(function(){var h=bt.getRecord();if(h.size===1){var g=Array.from(h.keys())[0],J=h.get(g),K=ie[_];if(K&&J===void 0){var se=It(K);if(se===g){var Be=bt.get(g),Je=Be-C;v(function(Qe){return Qe+Je})}}}bt.resetRecord()},[O]);var d=o.useState({width:0,height:p}),U=(0,A.Z)(d,2),W=U[0],H=U[1],Ze=function(g){H({width:g.offsetWidth,height:g.offsetHeight})},Ke=(0,o.useRef)(),Ue=(0,o.useRef)(),Te=o.useMemo(function(){return vt(W.width,j)},[W.width,j]),st=o.useMemo(function(){return vt(W.height,O)},[W.height,O]),Ee=O-p,Ye=(0,o.useRef)(Ee);Ye.current=Ee;function Ct(h){var g=h;return Number.isNaN(Ye.current)||(g=Math.min(g,Ye.current)),g=Math.max(g,0),g}var ze=et<=0,Ie=et>=Ee,De=ut<=0,_e=ut>=j,Le=fe(ze,Ie,De,_e),pe=function(){return{x:Ge?-ut:ut,y:et}},Se=(0,o.useRef)(pe()),T=(0,a.zX)(function(h){if(Re){var g=(0,oe.Z)((0,oe.Z)({},pe()),h);(Se.current.x!==g.x||Se.current.y!==g.y)&&(Re(g),Se.current=g)}});function re(h,g){var J=h;g?((0,fn.flushSync)(function(){pt(J)}),T()):v(J)}function le(h){var g=h.currentTarget.scrollTop;g!==et&&v(g),q==null||q(h),T()}var ke=function(g){var J=g,K=j?j-W.width:0;return J=Math.max(J,0),J=Math.min(J,K),J},Oe=(0,a.zX)(function(h,g){g?((0,fn.flushSync)(function(){pt(function(J){var K=J+(Ge?-h:h);return ke(K)})}),T()):v(function(J){var K=J+h;return K})}),Ne=mn(je,ze,Ie,De,_e,!!j,Oe),Ot=(0,A.Z)(Ne,2),sn=Ot[0],tn=Ot[1];X(je,Ut,function(h,g,J,K){var se=K;return Le(h,g,J)?!1:!se||!se._virtualHandled?(se&&(se._virtualHandled=!0),sn({preventDefault:function(){},deltaX:h?g:0,deltaY:h?0:g}),!0):!1}),xe(it,Ut,function(h){v(function(g){return g+h})}),(0,wt.Z)(function(){function h(J){var K=ze&&J.detail<0,se=Ie&&J.detail>0;je&&!K&&!se&&J.preventDefault()}var g=Ut.current;return g.addEventListener("wheel",sn,{passive:!1}),g.addEventListener("DOMMouseScroll",tn,{passive:!0}),g.addEventListener("MozMousePixelScroll",h,{passive:!1}),function(){g.removeEventListener("wheel",sn),g.removeEventListener("DOMMouseScroll",tn),g.removeEventListener("MozMousePixelScroll",h)}},[je,ze,Ie]),(0,wt.Z)(function(){if(j){var h=ke(ut);pt(h),T({x:h})}},[W.width,j]);var mt=function(){var g,J;(g=Ke.current)===null||g===void 0||g.delayHidden(),(J=Ue.current)===null||J===void 0||J.delayHidden()},pn=Ve(Ut,ie,bt,C,It,function(){return At(!0)},v,mt);o.useImperativeHandle(r,function(){return{nativeElement:ln.current,getScrollInfo:pe,scrollTo:function(g){function J(K){return K&&(0,B.Z)(K)==="object"&&("left"in K||"top"in K)}J(g)?(g.left!==void 0&&pt(ke(g.left)),pn(g.top)):pn(g)}}}),(0,wt.Z)(function(){if(ue){var h=ie.slice(_,ee+1);ue(h,ie)}},[_,ee,ie]);var kt=$(ie,It,bt,C),yn=ge==null?void 0:ge({start:_,end:ee,virtual:it,offsetX:ut,offsetY:D,rtl:Ge,getSize:kt}),nn=$t(ie,_,ee,j,ut,Dt,F,e),xt=null;p&&(xt=(0,oe.Z)((0,te.Z)({},L?"height":"maxHeight",p),on),je&&(xt.overflowY="hidden",j&&(xt.overflowX="hidden"),un&&(xt.pointerEvents="none")));var be={};return Ge&&(be.dir="rtl"),o.createElement("div",(0,N.Z)({ref:ln,style:(0,oe.Z)((0,oe.Z)({},P),{},{position:"relative"}),className:Vt},be,ve),o.createElement(gt.Z,{onResize:Ze},o.createElement(he,{className:"".concat(n,"-holder"),style:xt,ref:Ut,onScroll:le,onMouseEnter:mt},o.createElement(wn,{prefixCls:n,height:O,offsetX:ut,offsetY:D,scrollWidth:j,onInnerResize:At,ref:gn,innerProps:He,rtl:Ge,extra:yn},nn))),it&&O>p&&o.createElement(Me,{ref:Ke,prefixCls:n,scrollOffset:et,scrollRange:O,rtl:Ge,onScroll:re,onStartMove:bn,onStopMove:t,spinSize:st,containerSize:W.height,style:Y==null?void 0:Y.verticalScrollBar,thumbStyle:Y==null?void 0:Y.verticalScrollBarThumb,showScrollBar:at}),it&&j>W.width&&o.createElement(Me,{ref:Ue,prefixCls:n,scrollOffset:ut,scrollRange:j,rtl:Ge,onScroll:re,onStartMove:bn,onStopMove:t,spinSize:Te,containerSize:W.width,horizontal:!0,style:Y==null?void 0:Y.horizontalScrollBar,thumbStyle:Y==null?void 0:Y.horizontalScrollBarThumb,showScrollBar:at}))}var qt=o.forwardRef(yt);qt.displayName="List";var jt=qt,_t=jt},76374:function(Gn,cn,u){var N=function(){if(typeof Map!="undefined")return Map;function R(s,x){var w=-1;return s.some(function(X,ae){return X[0]===x?(w=ae,!0):!1}),w}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(x){var w=R(this.__entries__,x),X=this.__entries__[w];return X&&X[1]},s.prototype.set=function(x,w){var X=R(this.__entries__,x);~X?this.__entries__[X][1]=w:this.__entries__.push([x,w])},s.prototype.delete=function(x){var w=this.__entries__,X=R(w,x);~X&&w.splice(X,1)},s.prototype.has=function(x){return!!~R(this.__entries__,x)},s.prototype.clear=function(){this.__entries__.splice(0)},s.prototype.forEach=function(x,w){w===void 0&&(w=null);for(var X=0,ae=this.__entries__;X<ae.length;X++){var b=ae[X];x.call(w,b[1],b[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(R){return setTimeout(function(){return R(Date.now())},1e3/60)}}(),A=2;function zt(R,s){var x=!1,w=!1,X=0;function ae(){x&&(x=!1,R()),w&&xe()}function b(){te(ae)}function xe(){var We=Date.now();if(x){if(We-X<A)return;w=!0}else x=!0,w=!1,setTimeout(b,s);X=We}return xe}var ct=20,ft=["top","right","bottom","left","width","height","size","weight"],gt=typeof MutationObserver!="undefined",a=function(){function R(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=zt(this.refresh.bind(this),ct)}return R.prototype.addObserver=function(s){~this.observers_.indexOf(s)||this.observers_.push(s),this.connected_||this.connect_()},R.prototype.removeObserver=function(s){var x=this.observers_,w=x.indexOf(s);~w&&x.splice(w,1),!x.length&&this.connected_&&this.disconnect_()},R.prototype.refresh=function(){var s=this.updateObservers_();s&&this.refresh()},R.prototype.updateObservers_=function(){var s=this.observers_.filter(function(x){return x.gatherActive(),x.hasActive()});return s.forEach(function(x){return x.broadcastActive()}),s.length>0},R.prototype.connect_=function(){!B||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),gt?(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)},R.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)},R.prototype.onTransitionEnd_=function(s){var x=s.propertyName,w=x===void 0?"":x,X=ft.some(function(ae){return!!~w.indexOf(ae)});X&&this.refresh()},R.getInstance=function(){return this.instance_||(this.instance_=new R),this.instance_},R.instance_=null,R}(),wt=function(R,s){for(var x=0,w=Object.keys(s);x<w.length;x++){var X=w[x];Object.defineProperty(R,X,{value:s[X],enumerable:!1,writable:!1,configurable:!0})}return R},o=function(R){var s=R&&R.ownerDocument&&R.ownerDocument.defaultView;return s||oe},fn=Pn(0,0,0,0);function V(R){return parseFloat(R)||0}function wn(R){for(var s=[],x=1;x<arguments.length;x++)s[x-1]=arguments[x];return s.reduce(function(w,X){var ae=R["border-"+X+"-width"];return w+V(ae)},0)}function En(R){for(var s=["top","right","bottom","left"],x={},w=0,X=s;w<X.length;w++){var ae=X[w],b=R["padding-"+ae];x[ae]=V(b)}return x}function $t(R){var s=R.getBBox();return Pn(0,0,s.width,s.height)}function nt(R){var s=R.clientWidth,x=R.clientHeight;if(!s&&!x)return fn;var w=o(R).getComputedStyle(R),X=En(w),ae=X.left+X.right,b=X.top+X.bottom,xe=V(w.width),We=V(w.height);if(w.boxSizing==="border-box"&&(Math.round(xe+ae)!==s&&(xe-=wn(w,"left","right")+ae),Math.round(We+b)!==x&&(We-=wn(w,"top","bottom")+b)),!Ht(R)){var Ve=Math.round(xe+ae)-s,$e=Math.round(We+b)-x;Math.abs(Ve)!==1&&(xe-=Ve),Math.abs($e)!==1&&(We-=$e)}return Pn(X.left,X.top,xe,We)}var vn=function(){return typeof SVGGraphicsElement!="undefined"?function(R){return R instanceof o(R).SVGGraphicsElement}:function(R){return R instanceof o(R).SVGElement&&typeof R.getBBox=="function"}}();function Ht(R){return R===o(R).document.documentElement}function rt(R){return B?vn(R)?$t(R):nt(R):fn}function dn(R){var s=R.x,x=R.y,w=R.width,X=R.height,ae=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,b=Object.create(ae.prototype);return wt(b,{x:s,y:x,width:w,height:X,top:x,right:s+w,bottom:X+x,left:s}),b}function Pn(R,s,x,w){return{x:R,y:s,width:x,height:w}}var fe=function(){function R(s){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Pn(0,0,0,0),this.target=s}return R.prototype.isActive=function(){var s=rt(this.target);return this.contentRect_=s,s.width!==this.broadcastWidth||s.height!==this.broadcastHeight},R.prototype.broadcastRect=function(){var s=this.contentRect_;return this.broadcastWidth=s.width,this.broadcastHeight=s.height,s},R}(),mn=function(){function R(s,x){var w=dn(x);wt(this,{target:s,contentRect:w})}return R}(),$=function(){function R(s,x,w){if(this.activeObservations_=[],this.observations_=new N,typeof s!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=s,this.controller_=x,this.callbackCtx_=w}return R.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 x=this.observations_;x.has(s)||(x.set(s,new fe(s)),this.controller_.addObserver(this),this.controller_.refresh())}},R.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 x=this.observations_;x.has(s)&&(x.delete(s),x.size||this.controller_.removeObserver(this))}},R.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},R.prototype.gatherActive=function(){var s=this;this.clearActive(),this.observations_.forEach(function(x){x.isActive()&&s.activeObservations_.push(x)})},R.prototype.broadcastActive=function(){if(this.hasActive()){var s=this.callbackCtx_,x=this.activeObservations_.map(function(w){return new mn(w.target,w.broadcastRect())});this.callback_.call(s,x,s),this.clearActive()}},R.prototype.clearActive=function(){this.activeObservations_.splice(0)},R.prototype.hasActive=function(){return this.activeObservations_.length>0},R}(),Gt=typeof WeakMap!="undefined"?new WeakMap:new N,ye=function(){function R(s){if(!(this instanceof R))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var x=a.getInstance(),w=new $(s,x,this);Gt.set(this,w)}return R}();["observe","unobserve","disconnect"].forEach(function(R){ye.prototype[R]=function(){var s;return(s=Gt.get(this))[R].apply(s,arguments)}});var Kt=function(){return typeof oe.ResizeObserver!="undefined"?oe.ResizeObserver:ye}();cn.Z=Kt}}]);