1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1169],{51169:function(e,t,n){n.d(t,{Z:function(){return Qe}});var o=n(1413),i=n(87462),r=n(15671),u=n(43144),a=n(97326),s=n(60136),c=n(29388),l=n(67294),p=n(73935),f=n(75164),d=n(94999),h=n(34203),m=n(42550),v=n(64019),g=n(59015),w=n(94184),y=n.n(w);function b(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var x=n(97685),T=n(45987),C=n(31131),M=n(93481);function k(e){var t=e.prefixCls,n=e.motion,o=e.animation,i=e.transitionName;return n||(o?{motionName:"".concat(t,"-").concat(o)}:i?{motionName:i}:null)}function P(e){var t=e.prefixCls,n=e.visible,r=e.zIndex,u=e.mask,a=e.maskMotion,s=e.maskAnimation,c=e.maskTransitionName;if(!u)return null;var p={};return(a||c||s)&&(p=(0,o.Z)({motionAppear:!0},k({motion:a,prefixCls:t,transitionName:c,animation:s}))),l.createElement(M.Z,(0,i.Z)({},p,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return l.createElement("div",{style:{zIndex:r},className:y()("".concat(t,"-mask"),n)})}))}var E,D=n(71002),O=n(5110);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R(e){return R="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function V(){if(void 0!==E)return E;E="";var e=document.createElement("p").style;for(var t in N)t+"Transform"in e&&(E=t);return E}function A(){return V()?"".concat(V(),"TransitionProperty"):"transitionProperty"}function W(){return V()?"".concat(V(),"Transform"):"transform"}function L(e,t){var n=A();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function j(e,t){var n=W();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var B,z=/matrix\((.*)\)/,F=/matrix3d\((.*)\)/;function Y(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function X(e,t,n){var o=n;if("object"!==R(t))return"undefined"!==typeof o?("number"===typeof o&&(o="".concat(o,"px")),void(e.style[t]=o)):B(e,t);for(var i in t)t.hasOwnProperty(i)&&X(e,i,t[i])}function I(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var i=e.document;"number"!==typeof(n=i.documentElement[o])&&(n=i.body[o])}return n}function _(e){return I(e)}function U(e){return I(e,!0)}function q(e){var t=function(e){var t,n,o,i=e.ownerDocument,r=i.body,u=i&&i.documentElement;return n=(t=e.getBoundingClientRect()).left,o=t.top,{left:n-=u.clientLeft||r.clientLeft||0,top:o-=u.clientTop||r.clientTop||0}}(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=_(o),t.top+=U(o),t}function $(e){return null!==e&&void 0!==e&&e==e.window}function Q(e){return $(e)?e.document:9===e.nodeType?e:e.ownerDocument}var G=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),J=/^(top|right|bottom|left)$/;function K(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function ee(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function te(e,t,n){"static"===X(e,"position")&&(e.style.position="relative");var o=-999,i=-999,r=K("left",n),u=K("top",n),a=ee(r),s=ee(u);"left"!==r&&(o=999),"top"!==u&&(i=999);var c,l="",p=q(e);("left"in t||"top"in t)&&(l=(c=e).style.transitionProperty||c.style[A()]||"",L(e,"none")),"left"in t&&(e.style[a]="",e.style[r]="".concat(o,"px")),"top"in t&&(e.style[s]="",e.style[u]="".concat(i,"px")),Y(e);var f=q(e),d={};
1for(var h in t)if(t.hasOwnProperty(h)){var m=K(h,n),v="left"===h?o:i,g=p[h]-f[h];d[m]=m===h?v+g:v-g}X(e,d),Y(e),("left"in t||"top"in t)&&L(e,l);var w={};for(var y in t)if(t.hasOwnProperty(y)){var b=K(y,n),x=t[y]-p[y];w[b]=y===b?d[b]+x:d[b]-x}X(e,w)}function ne(e,t){var n=q(e),o=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(W());if(n&&"none"!==n){var o=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(o[12]||o[4],0),y:parseFloat(o[13]||o[5],0)}}return{x:0,y:0}}(e),i={x:o.x,y:o.y};"left"in t&&(i.x=o.x+t.left-n.left),"top"in t&&(i.y=o.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),o=n.getPropertyValue("transform")||n.getPropertyValue(W());if(o&&"none"!==o){var i,r=o.match(z);r?((i=(r=r[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,i[5]=t.y,j(e,"matrix(".concat(i.join(","),")"))):((i=o.match(F)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,i[13]=t.y,j(e,"matrix3d(".concat(i.join(","),")")))}else j(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,i)}function oe(e,t){for(var n=0;n<e.length;n++)t(e[n])}function ie(e){return"border-box"===B(e,"boxSizing")}"undefined"!==typeof window&&(B=window.getComputedStyle?function(e,t,n){var o=n,i="",r=Q(e);return(o=o||r.defaultView.getComputedStyle(e,null))&&(i=o.getPropertyValue(t)||o[t]),i}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(G.test(n)&&!J.test(t)){var o=e.style,i=o.left,r=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,o.left="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o.left=i,e.runtimeStyle.left=r}return""===n?"auto":n});var re=["margin","border","padding"];function ue(e,t,n){var o,i={},r=e.style;for(o in t)t.hasOwnProperty(o)&&(i[o]=r[o],r[o]=t[o]);for(o in n.call(e),t)t.hasOwnProperty(o)&&(r[o]=i[o])}function ae(e,t,n){var o,i,r,u=0;for(i=0;i<t.length;i++)if(o=t[i])for(r=0;r<n.length;r++){var a=void 0;a="border"===o?"".concat(o).concat(n[r],"Width"):o+n[r],u+=parseFloat(B(e,a))||0}return u}var se={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function ce(e,t,n){var o=n;if($(e))return"width"===t?se.viewportWidth(e):se.viewportHeight(e);if(9===e.nodeType)return"width"===t?se.docWidth(e):se.docHeight(e);var i="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,u=ie(e),a=0;(null===r||void 0===r||r<=0)&&(r=void 0,(null===(a=B(e,t))||void 0===a||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===o&&(o=u?1:-1);var s=void 0!==r||u,c=r||a;return-1===o?s?c-ae(e,["border","padding"],i):a:s?1===o?c:c+(2===o?-ae(e,["border"],i):ae(e,["margin"],i)):a+ae(e,re.slice(o),i)}oe(["Width","Height"],(function(e){se["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],se["viewport".concat(e)](n))},se["viewport".concat(e)]=function(t){var n="client".concat(e),o=t.document,i=o.body,r=o.documentElement[n];return"CSS1Compat"===o.compatMode&&r||i&&i[n]||r}}));var le={position:"absolute",visibility:"hidden",display:"block"};function pe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,i=t[0];return 0!==i.offsetWidth?o=ce.apply(void 0,t):ue(i,le,(function(){o=ce.apply(void 0,t)})),o}function fe(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}oe(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);se["outer".concat(t)]=function(t,n){return t&&pe(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];se[e]=function(t,o){var i=o;return void 0!==i?t?(ie(t)&&(i+=ae(t,["padding","border"],n)),X(t,e,i)):void 0:t&&pe(t,e,-1)}}));var de={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:Q,offset:function(e,t,n){if("undefined"===typeof t)return q(e);!function(e,t,n){if(n.ignoreShake){var o=q(e),i=o.left.toFixed(0),r=o.top.toFixed(0),u=t.left.toFixed(0),a=t.top.toFixed(0);if(i===u&&r===a)return}n.useCssRight||n.useCssBottom?te(e,t,n):n.useCssTransform&&W()in document.body.style?ne(e,t):te(e,t,n)}(e,t,n||{})},isWindow:$,each:oe,css:X,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n}
vendor: 3,906 bytes, line 1
1,mix:fe,getWindowScrollLeft:function(e){return _(e)},getWindowScrollTop:function(e){return U(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)de.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};fe(de,se);var he=de.getParent;function me(e){if(de.isWindow(e)||9===e.nodeType)return null;var t,n=de.getDocument(e).body,o=de.css(e,"position");if(!("fixed"===o||"absolute"===o))return"html"===e.nodeName.toLowerCase()?null:he(e);for(t=he(e);t&&t!==n&&9!==t.nodeType;t=he(t))if("static"!==(o=de.css(t,"position")))return t;return null}var ve=de.getParent;function ge(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},o=me(e),i=de.getDocument(e),r=i.defaultView||i.parentWindow,u=i.body,a=i.documentElement;o;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===o.clientWidth||o===u||o===a||"visible"===de.css(o,"overflow")){if(o===u||o===a)break}else{var s=de.offset(o);s.left+=o.clientLeft,s.top+=o.clientTop,n.top=Math.max(n.top,s.top),n.right=Math.min(n.right,s.left+o.clientWidth),n.bottom=Math.min(n.bottom,s.top+o.clientHeight),n.left=Math.max(n.left,s.left)}o=me(o)}var c=null;de.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===de.css(e,"position")&&(e.style.position="fixed"));var l=de.getWindowScrollLeft(r),p=de.getWindowScrollTop(r),f=de.viewportWidth(r),d=de.viewportHeight(r),h=a.scrollWidth,m=a.scrollHeight,v=window.getComputedStyle(u);if("hidden"===v.overflowX&&(h=r.innerWidth),"hidden"===v.overflowY&&(m=r.innerHeight),e.style&&(e.style.position=c),t||function(e){if(de.isWindow(e)||9===e.nodeType)return!1;var t=de.getDocument(e),n=t.body,o=null;for(o=ve(e);o&&o!==n&&o!==t;o=ve(o))if("fixed"===de.css(o,"position"))return!0;return!1}(e))n.left=Math.max(n.left,l),n.top=Math.max(n.top,p),n.right=Math.min(n.right,l+f),n.bottom=Math.min(n.bottom,p+d);else{var g=Math.max(h,l+f);n.right=Math.min(n.right,g);var w=Math.max(m,p+d);n.bottom=Math.min(n.bottom,w)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function we(e){var t,n,o;if(de.isWindow(e)||9===e.nodeType){var i=de.getWindow(e);t={left:de.getWindowScrollLeft(i),top:de.getWindowScrollTop(i)},n=de.viewportWidth(i),o=de.viewportHeight(i)}else t=de.offset(e),n=de.outerWidth(e),o=de.outerHeight(e);return t.width=n,t.height=o,t}function ye(e,t){var n=t.charAt(0),o=t.charAt(1),i=e.width,r=e.height,u=e.left,a=e.top;return"c"===n?a+=r/2:"b"===n&&(a+=r),"c"===o?u+=i/2:"r"===o&&(u+=i),{left:u,top:a}}function be(e,t,n,o,i){var r=ye(t,n[1]),u=ye(e,n[0]),a=[u.left-r.left,u.top-r.top];return{left:Math.round(e.left-a[0]+o[0]-i[0]),top:Math.round(e.top-a[1]+o[1]-i[1])}}function xe(e,t,n){return e.left<n.left||e.left+t.width>n.right}function Te(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function Ce(e,t,n){var o=[];return de.each(e,(function(e){o.push(e.replace(t,(function(e){return n[e]})))})),o}function Me(e,t){return e[t]=-e[t],e}function ke(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function Pe(e,t){e[0]=ke(e[0],t.width),e[1]=ke(e[1],t.height)}function Ee(e,t,n,o){var i=n.points,r=n.offset||[0,0],u=n.targetOffset||[0,0],a=n.overflow,s=n.source||e;r=[].concat(r),u=[].concat(u);var c={},l=0,p=ge(s,!(!(a=a||{})||!a.alwaysByViewport)),f=we(s);Pe(r,f),Pe(u,t);var d=be(f,t,i,r,u),h=de.merge(f,d);if(p&&(a.adjustX||a.adjustY)&&o){if(a.adjustX&&xe(d,f,p)){var m=Ce(i,/[lr]/gi,{l:"r",r:"l"}),v=Me(r,0),g=Me(u,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(be(f,t,m,v,g),f,p)||(l=1,i=m,r=v,u=g)}if(a.adjustY&&Te(d,f,p)){var w=Ce(i,/[tb]/gi,{t:"b",b:"t"}),y=Me(r,1),b=Me(u,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(be(f,t,w,y,b),f,p)||(l=1,i=w,r=y,u=b)}l&&(d=be(f,t,i,r,u),de.mix(h,d));var x=xe(d,f,p),T=Te(d,f,p);if(x||T){var C=i;x&&(C=Ce(i,/[lr]/gi,{l:"r",r:"l"})),T&&(C=Ce(i,/[tb]/gi,{t:"b",b:"t"})),i=C,r=n.offset||[0,0],u=n.targetOffset||[0,0]}
1c.adjustX=a.adjustX&&x,c.adjustY=a.adjustY&&T,(c.adjustX||c.adjustY)&&(h=function(e,t,n,o){var i=de.clone(e),r={width:t.width,height:t.height};return o.adjustX&&i.left<n.left&&(i.left=n.left),o.resizeWidth&&i.left>=n.left&&i.left+r.width>n.right&&(r.width-=i.left+r.width-n.right),o.adjustX&&i.left+r.width>n.right&&(i.left=Math.max(n.right-r.width,n.left)),o.adjustY&&i.top<n.top&&(i.top=n.top),o.resizeHeight&&i.top>=n.top&&i.top+r.height>n.bottom&&(r.height-=i.top+r.height-n.bottom),o.adjustY&&i.top+r.height>n.bottom&&(i.top=Math.max(n.bottom-r.height,n.top)),de.mix(i,r)}(d,f,p,c))}return h.width!==f.width&&de.css(s,"width",de.width(s)+h.width-f.width),h.height!==f.height&&de.css(s,"height",de.height(s)+h.height-f.height),de.offset(s,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:i,offset:r,targetOffset:u,overflow:c}}function De(e,t,n){var o=n.target||t,i=we(o),r=!function(e,t){var n=ge(e,t),o=we(e);return!n||o.left+o.width<=n.left||o.top+o.height<=n.top||o.left>=n.right||o.top>=n.bottom}(o,n.overflow&&n.overflow.alwaysByViewport);return Ee(e,i,n,r)}De.__getOffsetParent=me,De.__getVisibleRectForElement=ge;var Oe=n(91033);function Se(e,t){var n=null,o=null;var i=new Oe.Z((function(e){var i=(0,x.Z)(e,1)[0].target;if(document.documentElement.contains(i)){var r=i.getBoundingClientRect(),u=r.width,a=r.height,s=Math.floor(u),c=Math.floor(a);n===s&&o===c||Promise.resolve().then((function(){t({width:s,height:c})})),n=s,o=c}}));return e&&i.observe(e),function(){i.disconnect()}}function Ze(e){return"function"!==typeof e?null:e()}function Re(e){return"object"===(0,D.Z)(e)&&e?e:null}var He=l.forwardRef((function(e,t){var n=e.children,o=e.disabled,i=e.target,r=e.align,u=e.onAlign,a=e.monitorWindowResize,s=e.monitorBufferTime,c=void 0===s?0:s,p=l.useRef({}),f=l.useRef(),h=l.Children.only(n),g=l.useRef({});g.current.disabled=o,g.current.target=i,g.current.onAlign=u;var w=function(e,t){var n=l.useRef(!1),o=l.useRef(null);function i(){window.clearTimeout(o.current)}return[function r(u){if(n.current&&!0!==u)i(),o.current=window.setTimeout((function(){n.current=!1,r()}),t);else{if(!1===e())return;n.current=!0,i(),o.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,i()}]}((function(){var e=g.current,t=e.disabled,n=e.target,o=e.onAlign;if(!t&&n){var i,u=f.current,a=Ze(n),s=Re(n);p.current.element=a,p.current.point=s;var c=document.activeElement;return a&&(0,O.Z)(a)?i=De(u,a,r):s&&(i=function(e,t,n){var o,i,r=de.getDocument(e),u=r.defaultView||r.parentWindow,a=de.getWindowScrollLeft(u),s=de.getWindowScrollTop(u),c=de.viewportWidth(u),l=de.viewportHeight(u),p={left:o="pageX"in t?t.pageX:a+t.clientX,top:i="pageY"in t?t.pageY:s+t.clientY,width:0,height:0},f=o>=0&&o<=a+c&&i>=0&&i<=s+l,d=[n.points[0],"cc"];return Ee(e,p,Z(Z({},n),{},{points:d}),f)}(u,s,r)),function(e,t){e!==document.activeElement&&(0,d.Z)(t,e)&&"function"===typeof e.focus&&e.focus()}(c,u),o&&i&&o(u,i),!0}return!1}),c),y=(0,x.Z)(w,2),b=y[0],T=y[1],C=l.useRef({cancel:function(){}}),M=l.useRef({cancel:function(){}});l.useEffect((function(){var e,t,n=Ze(i),o=Re(i);f.current!==M.current.element&&(M.current.cancel(),M.current.element=f.current,M.current.cancel=Se(f.current,b)),p.current.element===n&&((e=p.current.point)===(t=o)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))||(b(),C.current.element!==n&&(C.current.cancel(),C.current.element=n,C.current.cancel=Se(n,b)))})),l.useEffect((function(){o?T():b()}),[o]);var k=l.useRef(null);return l.useEffect((function(){a?k.current||(k.current=(0,v.Z)(window,"resize",b)):k.current&&(k.current.remove(),k.current=null)}),[a]),l.useEffect((function(){return function(){C.current.cancel(),M.current.cancel(),k.current&&k.current.remove(),T()}}),[]),l.useImperativeHandle(t,(function(){return{forceAlign:function(){return b(!0)}}})),l.isValidElement(h)&&(h=l.cloneElement(h,{ref:(0,m.sQ)(h.ref,f)})),h}));He.displayName="Align";var Ne=He,Ve=n(64687),Ae=n.n(Ve),We=n(15861),Le=["measure","align",null,"motion"],je=l.forwardRef((function(e,t){var n=e.visible,r=e.prefixCls,u=e.className,a=e.style,s=e.children,c=e.zIndex,p=e.stretch,d=e.destroyPopupOnHide,h=e.forceRender,m=e.align,v=e.point,g=e.getRootDomNo
1de,w=e.getClassNameFromAlign,b=e.onAlign,T=e.onMouseEnter,C=e.onMouseLeave,P=e.onMouseDown,E=e.onTouchStart,D=(0,l.useRef)(),O=(0,l.useRef)(),S=(0,l.useState)(),Z=(0,x.Z)(S,2),R=Z[0],H=Z[1],N=function(e){var t=l.useState({width:0,height:0}),n=(0,x.Z)(t,2),o=n[0],i=n[1];return[l.useMemo((function(){var t={};if(e){var n=o.width,i=o.height;-1!==e.indexOf("height")&&i?t.height=i:-1!==e.indexOf("minHeight")&&i&&(t.minHeight=i),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,o]),function(e){i({width:e.offsetWidth,height:e.offsetHeight})}]}(p),V=(0,x.Z)(N,2),A=V[0],W=V[1];var L=function(e,t){var n=(0,l.useState)(null),o=(0,x.Z)(n,2),i=o[0],r=o[1],u=(0,l.useRef)(),a=(0,l.useRef)(!1);function s(e){a.current||r(e)}function c(){f.Z.cancel(u.current)}return(0,l.useEffect)((function(){s("measure")}),[e]),(0,l.useEffect)((function(){"measure"===i&&t(),i&&(u.current=(0,f.Z)((0,We.Z)(Ae().mark((function e(){var t,n;return Ae().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Le.indexOf(i),(n=Le[t+1])&&-1!==t&&s(n);case 3:case"end":return e.stop()}}),e)})))))}),[i]),(0,l.useEffect)((function(){return function(){a.current=!0,c()}}),[]),[i,function(e){c(),u.current=(0,f.Z)((function(){s((function(e){switch(i){case"align":return"motion";case"motion":return"stable"}return e})),null===e||void 0===e||e()}))}]}(n,(function(){p&&W(g())})),j=(0,x.Z)(L,2),B=j[0],z=j[1],F=(0,l.useRef)();function Y(){var e;null===(e=D.current)||void 0===e||e.forceAlign()}function X(e,t){if("align"===B){var n=w(t);H(n),R!==n?Promise.resolve().then((function(){Y()})):z((function(){var e;null===(e=F.current)||void 0===e||e.call(F)})),null===b||void 0===b||b(e,t)}}var I=(0,o.Z)({},k(e));function _(){return new Promise((function(e){F.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=I[e];I[e]=function(e,n){return z(),null===t||void 0===t?void 0:t(e,n)}})),l.useEffect((function(){I.motionName||"motion"!==B||z()}),[I.motionName,B]),l.useImperativeHandle(t,(function(){return{forceAlign:Y,getElement:function(){return O.current}}}));var U=(0,o.Z)((0,o.Z)({},A),{},{zIndex:c,opacity:"motion"!==B&&"stable"!==B&&n?0:void 0,pointerEvents:"stable"===B?void 0:"none"},a),q=!0;!(null===m||void 0===m?void 0:m.points)||"align"!==B&&"stable"!==B||(q=!1);var $=s;return l.Children.count(s)>1&&($=l.createElement("div",{className:"".concat(r,"-content")},s)),l.createElement(M.Z,(0,i.Z)({visible:n,ref:O,leavedClassName:"".concat(r,"-hidden")},I,{onAppearPrepare:_,onEnterPrepare:_,removeOnLeave:d,forceRender:h}),(function(e,t){var n=e.className,i=e.style,a=y()(r,u,R,n);return l.createElement(Ne,{target:v||g,key:"popup",ref:D,monitorWindowResize:!0,disabled:q,align:m,onAlign:X},l.createElement("div",{ref:t,className:a,onMouseEnter:T,onMouseLeave:C,onMouseDownCapture:P,onTouchStartCapture:E,style:(0,o.Z)((0,o.Z)({},i),U)},$))}))}));je.displayName="PopupInner";var Be=je,ze=l.forwardRef((function(e,t){var n=e.prefixCls,r=e.visible,u=e.zIndex,a=e.children,s=e.mobile,c=(s=void 0===s?{}:s).popupClassName,p=s.popupStyle,f=s.popupMotion,d=void 0===f?{}:f,h=s.popupRender,m=l.useRef();l.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return m.current}}}));var v=(0,o.Z)({zIndex:u},p),g=a;return l.Children.count(a)>1&&(g=l.createElement("div",{className:"".concat(n,"-content")},a)),h&&(g=h(g)),l.createElement(M.Z,(0,i.Z)({visible:r,ref:m,removeOnLeave:!0},d),(function(e,t){var i=e.className,r=e.style,u=y()(n,c,i);return l.createElement("div",{ref:t,className:u,style:(0,o.Z)((0,o.Z)({},r),v)},g)}))}));ze.displayName="MobilePopupInner";var Fe=ze,Ye=l.forwardRef((function(e,t){var n=e.visible,r=e.mobile,u=(0,T.Z)(e,["visible","mobile"]),a=(0,l.useState)(n),s=(0,x.Z)(a,2),c=s[0],p=s[1],f=(0,l.useState)(!1),d=(0,x.Z)(f,2),h=d[0],m=d[1],v=(0,o.Z)((0,o.Z)({},u),{},{visible:c});(0,l.useEffect)((function(){p(n),n&&r&&m((0,C.Z)())}),[n,r]);var g=h?l.createElement(Fe,(0,i.Z)({},v,{mobile:r,ref:t})):l.createElement(Be,(0,i.Z)({},v,{ref:t}));return l.createElement("div",null,l.createElement(P,v),g)}));Ye.displayName="Popup";var Xe=Ye,Ie=l.createContext(null);function _e(){}function Ue(){return""}function qe(e){return e?e.ownerDocument:window.document}var $e=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onF
1ocus","onBlur","onContextMenu"];var Qe=function(e){var t=function(t){(0,s.Z)(g,t);var n=(0,c.Z)(g);function g(e){var t,o;return(0,r.Z)(this,g),(t=n.call(this,e)).popupRef=l.createRef(),t.triggerRef=l.createRef(),t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,d.Z)(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var o=!t.state.popupVisible;(t.isClickToHide()&&!o||o&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,o=t.getRootDomNode(),i=t.getPopupDomNode();(0,d.Z)(o,n)&&!t.isContextMenuOnly()||(0,d.Z)(i,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=(0,h.Z)(t.triggerRef.current);if(n)return n}catch(o){}return p.findDOMNode((0,a.Z)(t))},t.getPopupClassNameFromAlign=function(e){var n=[],o=t.props,i=o.popupPlacement,r=o.builtinPlacements,u=o.prefixCls,a=o.alignPoint,s=o.getPopupClassNameFromAlign;return i&&r&&n.push(function(e,t,n,o){for(var i=n.points,r=Object.keys(e),u=0;u<r.length;u+=1){var a=r[u];if(b(e[a].points,i,o))return"".concat(t,"-placement-").concat(a)}return""}(r,u,e,a)),s&&n.push(s(e)),n.join(" ")},t.getComponent=function(){var e=t.props,n=e.prefixCls,o=e.destroyPopupOnHide,r=e.popupClassName,u=e.onPopupAlign,a=e.popupMotion,s=e.popupAnimation,c=e.popupTransitionName,p=e.popupStyle,f=e.mask,d=e.maskAnimation,h=e.maskTransitionName,m=e.maskMotion,v=e.zIndex,g=e.popup,w=e.stretch,y=e.alignPoint,b=e.mobile,x=e.forceRender,T=t.state,C=T.popupVisible,M=T.point,k=t.getPopupAlign(),P={};return t.isMouseEnterToShow()&&(P.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(P.onMouseLeave=t.onPopupMouseLeave),P.onMouseDown=t.onPopupMouseDown,P.onTouchStart=t.onPopupMouseDown,l.createElement(Xe,(0,i.Z)({prefixCls:n,destroyPopupOnHide:o,visible:C,point:y&&M,className:r,align:k,onAlign:u,animation:s,getClassNameFromAlign:t.getPopupClassNameFromAlign},P,{stretch:w,getRootDomNode:t.getRootDomNode,style:p,mask:f,zIndex:v,transitionName:c,maskAnimation:d,maskTransitionName:h,maskMotion:m,ref:t.popupRef,motion:a,mobile:b,forceRender:x}),"function"===typeof g?g():g)},t.attachParent=function(e){f.Z.cancel(t.attachId);var n,o=t.props,i=o.getPopupContainer,r=o.getDocument,u=t.getRootDomNode();
1i?(u||0===i.length)&&(n=i(u)):n=r(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=(0,f.Z)((function(){t.attachParent(e)}))},t.getContainer=function(){var e=(0,t.props.getDocument)(t.getRootDomNode()).createElement("div");return e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",t.attachParent(e),e},t.setPoint=function(e){t.props.alignPoint&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},t.handlePortalUpdate=function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},t.triggerContextValue={onPopupMouseDown:t.onPopupMouseDown},o="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:o,popupVisible:o},$e.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return(0,u.Z)(g,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=(0,v.Z)(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=(0,v.Z)(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=(0,v.Z)(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,v.Z)(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),f.Z.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,i=e.builtinPlacements;return t&&i?function(e,t,n){var i=e[t]||{};return(0,o.Z)((0,o.Z)({},i),n)}(i,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,o=this.state.popupVisible;this.clearDelayTimer(),o!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:o}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var o=this,i=1e3*t;if(this.clearDelayTimer(),i){var r=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){o.setPopupVisible(e,r),o.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;
1return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var o=this.props[e];o&&o(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,i=n.children,r=n.forceRender,u=n.alignPoint,a=n.className,s=n.autoDestroy,c=l.Children.only(i),p={key:"trigger"};this.isContextMenuToShow()?p.onContextMenu=this.onContextMenu:p.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(p.onClick=this.onClick,p.onMouseDown=this.onMouseDown,p.onTouchStart=this.onTouchStart):(p.onClick=this.createTwoChains("onClick"),p.onMouseDown=this.createTwoChains("onMouseDown"),p.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(p.onMouseEnter=this.onMouseEnter,u&&(p.onMouseMove=this.onMouseMove)):p.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?p.onMouseLeave=this.onMouseLeave:p.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(p.onFocus=this.onFocus,p.onBlur=this.onBlur):(p.onFocus=this.createTwoChains("onFocus"),p.onBlur=this.createTwoChains("onBlur"));var f=y()(c&&c.props&&c.props.className,a);f&&(p.className=f);var d=(0,o.Z)({},p);(0,m.Yr)(c)&&(d.ref=(0,m.sQ)(this.triggerRef,c.ref));var h,v=l.cloneElement(c,d);return(t||this.popupRef.current||r)&&(h=l.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&s&&(h=null),l.createElement(Ie.Provider,{value:this.triggerContextValue},v,h)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,o={};return void 0!==n&&t.popupVisible!==n&&(o.popupVisible=n,o.prevPopupVisible=t.popupVisible),o}}]),g}(l.Component);return t.contextType=Ie,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Ue,getDocument:qe,onPopupVisibleChange:_e,afterPopupVisibleChange:_e,onPopupAlign:_e,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}(g.Z)},64019:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(73935);function i(e,t,n,i){var r=o.unstable_batchedUpdates?function(e){o.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,r,i),{remove:function(){e.removeEventListener&&e.removeEventListener(t,r)}}}},94999:function(e,t,n){function o(e,t){return!!e&&e.contains(t)}n.d(t,{Z:function(){return o}})},5110:function(e,t){t.Z=function(e){if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n.width||n.height)return!0}return!1}},59015:function(e,t,n){var o=n(67294),i=n(73935),r=n(98924),u=(0,o.forwardRef)((function(e,t){var n=e.didUpdate,u=e.getContainer,a=e.children,s=(0,o.useRef)();(0,o.useImperativeHandle)(t,(function(){return{}}));var c=(0,o.useRef)(!1);return!c.current&&(0,r.Z)()&&(s.current=u(),c.current=!0),(0,o.useEffect)((function(){null===n||void 0===n||n(e)})),(0,o.useEffect)((function(){return function(){var e,t;null===(e=s.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(s.current)}}),[]),s.current?i.createPortal(a,s.current):null}));t.Z=u},31131:function(e,t){t.Z=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=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(e)&&!/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(null===e||void 0===e?void 0:e.substr(0,4)))}}}]);
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.