1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5814,1280],{60057:function(e,n,t){t.d(n,{Z:function(){return C}});var r=t(1413),u=t(4942),o=t(86854),i=t(45987),c=t(67294),a=t(61267),f=t(94184),l=t.n(f),s={adjustX:1,adjustY:1},p=[0,0],v={topLeft:{points:["bl","tl"],overflow:s,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:s,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:s,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:s,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:s,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:s,offset:[0,4],targetOffset:p}},d=t(15105),m=t(75164),g=d.Z.ESC,w=d.Z.TAB,h=t(53156),b=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],C=c.forwardRef(function(e,n){var t,f,s,p,d,C,y,R,k,E,Z,A,N,x,O,F,T,P=e.arrow,V=void 0!==P&&P,M=e.prefixCls,S=void 0===M?"rc-dropdown":M,L=e.transitionName,W=e.animation,j=e.align,D=e.placement,_=e.placements,q=e.getPopupContainer,Y=e.showAction,B=e.hideAction,H=e.overlayClassName,I=e.overlayStyle,Q=e.visible,X=e.trigger,z=void 0===X?["hover"]:X,G=e.autoFocus,J=(0,i.Z)(e,b),K=c.useState(),U=(0,o.Z)(K,2),$=U[0],ee=U[1],en="visible"in e?Q:$,et=c.useRef(null);c.useImperativeHandle(n,function(){return et.current});var er=c.useRef(null),eu="".concat(S,"-menu");s=(f={visible:en,setTriggerVisible:ee,triggerRef:et,menuRef:er,onVisibleChange:e.onVisibleChange,autoFocus:G}).visible,p=f.setTriggerVisible,d=f.triggerRef,C=f.menuRef,y=f.onVisibleChange,R=f.autoFocus,k=c.useRef(!1),E=function(){if(s&&d.current){var e,n,t,r;null===(e=d.current)||void 0===e||null===(n=e.triggerRef)||void 0===n||null===(t=n.current)||void 0===t||null===(r=t.focus)||void 0===r||r.call(t),p(!1),"function"==typeof y&&y(!1)}},Z=function(){var e,n;null===(e=C.current)||void 0===e||null===(n=e.focus)||void 0===n||n.call(e),k.current=!0},A=function(e){var n;switch(e.keyCode){case g:E();break;case w:!k.current&&(null===(n=C.current)||void 0===n?void 0:n.focus)?(e.preventDefault(),Z()):E()}},c.useEffect(function(){return s?(window.addEventListener("keydown",A),R&&(0,m.Z)(Z,3),function(){window.removeEventListener("keydown",A),k.current=!1}):function(){k.current=!1}},[s]);var eo=function(){var n=e.overlay;return"function"==typeof n?n():n},ei=function(n){var t=e.onOverlayClick,r=eo().props;ee(!1),t&&t(n),r.onClick&&r.onClick(n)},ec=function(){var e,n=eo(),t=(0,h.sQ)(er,n.ref),r=(e={prefixCls:eu},(0,u.Z)(e,"data-dropdown-inject",!0),(0,u.Z)(e,"onClick",ei),(0,u.Z)(e,"ref",(0,h.Yr)(n)?t:void 0),e);return"string"==typeof n.type&&(delete r.prefixCls,delete r["data-dropdown-inject"]),c.createElement(c.Fragment,null,V&&c.createElement("div",{className:"".concat(S,"-arrow")}),c.cloneElement(n,r))},ea=B;return ea||-1===z.indexOf("contextMenu")||(ea=["click"]),c.createElement(a.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===_?v:_},J),{},{prefixCls:S,ref:et,popupClassName:l()(H,(0,u.Z)({},"".concat(S,"-show-arrow"),V)),popupStyle:I,action:z,showAction:Y,hideAction:ea||[],popupPlacement:void 0===D?"bottomLeft":D,popupAlign:j,popupTransitionName:L,popupAnimation:W,popupVisible:en,stretch:(N=e.minOverlayWidthMatchTrigger,x=e.alignPoint,"minOverlayWidthMatchTrigger"in e?N:!x)?"minWidth":"",popup:"function"==typeof e.overlay?ec:ec(),onPopupVisibleChange:function(n){var t=e.onVisibleChange;ee(n),"function"==typeof t&&t(n)},getPopupContainer:q}),(F=(O=e.children).props?O.props:{},T=l()(F.className,void 0!==(t=e.openClassName)?t:"".concat(S,"-open")),en&&O?c.cloneElement(O,{className:T}):O))})},85769:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(67294);function u(e,n){return e===n}function o(e){return"function"==typeof e?function(){return e}:e}function i(e,n,t){var i,c,a,f=t&&t.equalityFn||u,l=(c=(i=(0,r.useState)(o(e)))[0],a=i[1],[c,(0,r.useCallback)(function(e){return a(o(e))},[])]),s=l[0],p=l[1],v=function(e,n,t){var u=this,o=(0,r.useRef)(null),i=(0,r.useRef)(0),c=(0,r.useRef)(null),a=(0,r.useRef)([]),f=(0,r.useRef)(),l=(0,r.useRef)(),s=(0,r.useRef)(e),p=(0,r.useRef)(!0);s.current=e;var v=!n&&0!==n&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");n=+n||0;var d=!!(t=t||{}).leading,m=!("trailing"in t)||!!t.trailing,g="maxWait"in t,w=g?Math.max(+t.maxWait||0,n):null;return(0,r.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,r.useMemo)(function(){var e=function(e){var n=a.current,t=f.current;return a.current=f.current=null,i.current=e,l.current=s.current.apply(t,n)},t=function(e,n){v&&cancelAnimationFrame(c.current),c.current=v?requestAnimationFrame(e):setTimeout(e,n)},r=function(e){if(!p.current)return!1;var t=e-o.current,r=e-i.current;return!o.current||t>=n||t<0||g&&r>=w},h=function(n){return(c.current=null,m&&a.current)?e(n):(a.current=f.current=null,l.current)},b=function(){var e=Date.now();if(r(e))return h(e);if(p.current){var u=e-o.current,c=e-i.current,a=n-u;t(b,g?Math.min(a,w-c):a)}},C=function(){for(var s=[],v=0;v<arguments.length;v++)s[v]=arguments[v];var m=Date.now(),w=r(m);if(a.current=s,f.current=u,o.current=m,w){if(!c.current&&p.current)return i.current=o.current,t(b,n),d?e(o.current):l.current;if(g)return t(b,n),e(o.current)}return c.current||t(b,n),l.current};return C.cancel=function(){c.current&&(v?cancelAnimationFrame(c.current):clearTimeout(c.current)),i.current=0,a.current=o.current=f.current=c.current=null},C.isPending=function(){return!!c.current},C.flush=function(){return c.current?h(Date.now()):l.current},C},[d,g,n,w,m,v])}((0,r.useCallback)(function(e){return p(e)},[p]),n,t),d=(0,r.useRef)(e);return f(d.current,e)||(v(e),d.current=e),[s,v]}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.