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