PageSourceSearch

https://community.bandwidth.com/_next/static/chunks/20101-d3ec6a88c49aa791.js

js bandwidth.com collected 2026-09-24 08:49:14 UTC 42,883 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="244a1f67-d459-43ad-ae42-204c8881a02c",e._sentryDebugIdIdentifier="sentry-dbid-244a1f67-d459-43ad-ae42-204c8881a02c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20101],{271568:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(765421),r=n(873156);let i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,u){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(t);if((0,r.Ay)(!s,"Warning: There may be circular references"),s)return!1;if(t===u)return!0;if(n&&a>1)return!1;i.add(t);var l=a+1;if(Array.isArray(t)){if(!Array.isArray(u)||t.length!==u.length)return!1;for(var c=0;c<t.length;c++)if(!e(t[c],u[c],l))return!1;return!0}if(t&&u&&"object"===(0,o.A)(t)&&"object"===(0,o.A)(u)){var f=Object.keys(t);return f.length===Object.keys(u).length&&f.every(function(n){return e(t[n],u[n],l)})}return!1}(e,t)}},419011:(e,t,n)=>{n.d(t,{A:()=>o});let o=n(397109).useLayoutEffect},435402:(e,t,n)=>{function o(e,t,n,o,r,i,u){try{var a=e[i](u),s=a.value}catch(e){return void n(e)}a.done?t(s):Promise.resolve(s).then(o,r)}function r(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var u=e.apply(t,n);function a(e){o(u,r,i,a,s,"next",e)}function s(e){o(u,r,i,a,s,"throw",e)}a(void 0)})}}n.d(t,{A:()=>r})},495015:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(397109),r=n(419011),i=n(153090),u={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};let a=i.oc&&window.ResizeObserver?function(){var e=(0,o.useState)(null),t=e[0],n=e[1],i=(0,o.useState)(u),a=i[0],s=i[1],l=(0,o.useMemo)(function(){return new window.ResizeObserver(function(e){if(e[0]){var t=e[0].contentRect;s({x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,left:t.left,bottom:t.bottom,right:t.right})}})},[]);return(0,r.A)(function(){if(t)return l.observe(t),function(){l.disconnect()}},[t]),[n,a]}:function(){return[function(){},u]}},614295:(e,t,n)=>{n.d(t,{A:()=>to});var o,r,i,u=n(37746),a=n(406384),s=n(40193),l=n(360634),c=n(397109),f=n(803746),p=n(889985),d=n(945408),h=n(749416),v=n(325652),m=n(448112),g=n(409860),y=n(576642),w=n(761222),b=n(630293),A=n(787568),C=n(256278),T=n(83633);function x(e,t,n,o){var r=w.unstable_batchedUpdates?function(e){w.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,r,o),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,r,o)}}}var M=n(243824),P=(0,c.forwardRef)(function(e,t){var n=e.didUpdate,o=e.getContainer,r=e.children,i=(0,c.useRef)(),u=(0,c.useRef)();(0,c.useImperativeHandle)(t,function(){return{}});var a=(0,c.useRef)(!1);return!a.current&&(0,M.A)()&&(u.current=o(),i.current=u.current.parentNode,a.current=!0),(0,c.useEffect)(function(){null==n||n(e)}),(0,c.useEffect)(function(){return null===u.current.parentNode&&null!==i.current&&i.current.appendChild(u.current),function(){var e;null==(e=u.current)||null==(e=e.parentNode)||e.removeChild(u.current)}},[]),u.current?w.createPortal(r,u.current):null}),O=n(714562),k=n.n(O),E=n(773398),D=n(187648),S=n(618390),N=n(100713);function R(e){var t=e.prefixCls,n=e.motion,o=e.animation,r=e.transitionName;return n||(o?{motionName:"".concat(t,"-").concat(o)}:r?{motionName:r}:null)}function H(e){var t=e.prefixCls,n=e.visible,o=e.zIndex,r=e.mask,i=e.maskMotion,u=e.maskAnimation,a=e.maskTransitionName;if(!r)return null;var s={};return(i||a||u)&&(s=(0,f.A)({motionAppear:!0},R({motion:i,prefixCls:t,transitionName:a,animation:u}))),c.createElement(N.Ay,(0,p.A)({},s,{visible:n,removeOnLeave:!0}),function(e){var n=e.className;return c.createElement("div",{style:{zIndex:o},className:k()("".concat(t,"-mask"),n)})})}var V=n(765421);function j(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 L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?j(Object(n),!0).forEach(function(t){var o,r,i;o=e,r=t,i=n[t],r in o?Object.defineProperty(o,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e){return(W="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})(e)}var I={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function F(){if(void 0!==r)return r;r="";var e=document.createElement("p").style;for(var t in I)t+"Transform"in e&&(r=t);return r}function B(){return F()?"".concat(F(),"TransitionProperty"):"transitionProperty"}function Y(){return F()?"".concat(F(),"Transform"):"transform"}function _(e,t){var n=B();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function X(e,t){var n=Y();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var z=/matrix\((.*)\)/,U=/matrix3d\((.*)\)/,G=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;function $(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function K(e,t,n){var o=n;if("object"===W(t)){for(var r in t)t.hasOwnProperty(r)&&K(e,r,t[r]);return}if(void 0!==o){"number"==typeof o&&(o="".concat(o,"px")),e.style[t]=o;return}return i(e,t)}function Z(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}function q(e){var t,n,o,r,i,u,a=(i=(r=e.ownerDocument).body,u=r&&r.documentElement,n=Math.floor((t=e.getBoundingClientRect()).left),o=Math.floor(t.top),{left:n-=u.clientLeft||i.clientLeft||0,top:o-=u.clientTop||i.clientTop||0}),s=e.ownerDocument,l=s.defaultView||s.parentWindow;return a.left+=Z(l),a.top+=Z(l,!0),a}function J(e){return null!=e&&e==e.window}function Q(e){return J(e)?e.document:9===e.nodeType?e:e.ownerDocument}var ee=RegExp("^(".concat(G,")(?!px)[a-z%]+$"),"i"),et=/^(top|right|bottom|left)$/,en="currentStyle",eo="runtimeStyle",er="left";function ei(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function eu(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function ea(e,t,n){"static"===K(e,"position")&&(e.style.position="relative");var o=-999,r=-999,i=ei("left",n),u=ei("top",n),a=eu(i),s=eu(u);"left"!==i&&(o=999),"top"!==u&&(r=999);var l="",c=q(e);("left"in t||"top"in t)&&(l=e.style.transitionProperty||e.style[B()]||"",_(e,"none")),"left"in t&&(e.style[a]="",e.style[i]="".concat(o,"px")),"top"in t&&(e.style[s]="",e.style[u]="".concat(r,"px")),$(e);var f=q(e),p={};for(var d in t)if(t.hasOwnProperty(d)){var h=ei(d,n),v="left"===d?o:r,m=c[d]-f[d];h===d?p[h]=v+m:p[h]=v-m}K(e,p),$(e),("left"in t||"top"in t)&&_(e,l);var g={};for(var y in t)if(t.hasOwnProperty(y)){var w=ei(y,n),b=t[y]-c[y];y===w?g[w]=p[w]+b:g[w]=p[w]-b}K(e,g)}function es(e,t){for(var n=0;n<e.length;n++)t(e[n])}function el(e){return"border-box"===i(e,"boxSizing")}"u">typeof window&&(i=window.getComputedStyle?function(e,t,n){var o=n,r="",i=Q(e);return(o=o||i.defaultView.getComputedStyle(e,null))&&(r=o.getPropertyValue(t)||o[t]),r}:function(e,t){var n=e[en]&&e[en][t];if(ee.test(n)&&!et.test(t)){var o=e.style,r=o[er],i=e[eo][er];e[eo][er]=e[en][er],o[er]="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o[er]=r,e[eo][er]=i}return""===n?"auto":n});var ec=["margin","border","padding"];function ef(e,t,n){var o,r,u,a=0;for(r=0;r<t.length;r++)if(o=t[r])for(u=0;u<n.length;u++){var s=void 0;s="border"===o?"".concat(o).concat(n[u],"Width"):o+n[u],a+=parseFloat(i(e,s))||0}return a}var ep={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 ed(e,t,n){var o=n;if(J(e))return"width"===t?ep.viewportWidth(e):ep.viewportHeight(e);if(9===e.nodeType)return"width"===t?ep.docWidth(e):ep.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],u="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=el(e),s=0;(null==u||u<=0)&&(u=void 0,(null==(s=i(e,t))||0>Number(s))&&(s=e.style[t]||0),s=Math.floor(parseFloat(s))||0),void 0===o&&(o=a?1:-1);var l=void 0!==u||a,c=u||s;return -1===o?l?c-ef(e,["border","padding"],r):s:l?1===o?c:c+(2===o?-ef(e,["border"],r):ef(e,["margin"],r)):s+ef(e,ec.slice(o),r)}
vendor: 4,769 bytes, line 1
1es(["Width","Height"],function(e){ep["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],ep["viewport".concat(e)](n))},ep["viewport".concat(e)]=function(t){var n="client".concat(e),o=t.document,r=o.body,i=o.documentElement[n];return"CSS1Compat"===o.compatMode&&i||r&&r[n]||i}});var eh={position:"absolute",visibility:"hidden",display:"block"};function ev(){for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];var r=n[0];return 0!==r.offsetWidth?e=ed.apply(void 0,n):!function(e,t,n){var o,r={},i=e.style;for(o in t)t.hasOwnProperty(o)&&(r[o]=i[o],i[o]=t[o]);for(o in n.call(e),t)t.hasOwnProperty(o)&&(i[o]=r[o])}(r,eh,function(){e=ed.apply(void 0,n)}),e}function em(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}es(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);ep["outer".concat(t)]=function(t,n){return t&&ev(t,e,+!n)};var n="width"===e?["Left","Right"]:["Top","Bottom"];ep[e]=function(t,o){var r=o;return void 0!==r?t?(el(t)&&(r+=ef(t,["padding","border"],n)),K(t,e,r)):void 0:t&&ev(t,e,-1)}});var eg={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(void 0===t)return q(e);!function(e,t,n){if(n.ignoreShake){var o=q(e),r=o.left.toFixed(0),i=o.top.toFixed(0),u=t.left.toFixed(0),a=t.top.toFixed(0);if(r===u&&i===a)return}n.useCssRight||n.useCssBottom?ea(e,t,n):n.useCssTransform&&Y()in document.body.style?function(e,t){var n=q(e),o=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(Y());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),r={x:o.x,y:o.y};"left"in t&&(r.x=o.x+t.left-n.left),"top"in t&&(r.y=o.y+t.top-n.top);var i=window.getComputedStyle(e,null),u=i.getPropertyValue("transform")||i.getPropertyValue(Y());if(u&&"none"!==u){var a,s=u.match(z);s?((a=(s=s[1]).split(",").map(function(e){return parseFloat(e,10)}))[4]=r.x,a[5]=r.y,X(e,"matrix(".concat(a.join(","),")"))):((a=u.match(U)[1].split(",").map(function(e){return parseFloat(e,10)}))[12]=r.x,a[13]=r.y,X(e,"matrix3d(".concat(a.join(","),")")))}else X(e,"translateX(".concat(r.x,"px) translateY(").concat(r.y,"px) translateZ(0)"))}(e,t):ea(e,t,n)}(e,t,n||{})},isWindow:J,each:es,css:K,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},mix:em,getWindowScrollLeft:function(e){return Z(e)},getWindowScrollTop:function(e){return Z(e,!0)},merge:function(){for(var e={},t=0;t<arguments.length;t++)eg.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};em(eg,ep);var ey=eg.getParent;function ew(e){if(eg.isWindow(e)||9===e.nodeType)return null;var t,n=eg.getDocument(e).body,o=eg.css(e,"position");if("fixed"!==o&&"absolute"!==o)return"html"===e.nodeName.toLowerCase()?null:ey(e);for(t=ey(e);t&&t!==n&&9!==t.nodeType;t=ey(t))if("static"!==(o=eg.css(t,"position")))return t;return null}var eb=eg.getParent;function eA(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},o=ew(e),r=eg.getDocument(e),i=r.defaultView||r.parentWindow,u=r.body,a=r.documentElement;o;){if((-1===navigator.userAgent.indexOf("MSIE")||0!==o.clientWidth)&&o!==u&&o!==a&&"visible"!==eg.css(o,"overflow")){var s=eg.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)}else if(o===u||o===a)break;o=ew(o)}var l=null;eg.isWindow(e)||9===e.nodeType||(l=e.style.position,"absolute"===eg.css(e,"position")&&(e.style.position="fixed"));var c=eg.getWindowScrollLeft(i),f=eg.getWindowScrollTop(i),p=eg.viewportWidth(i),d=eg.viewportHeight(i),h=a.scrollWidth,v=a.scrollHeight,m=window.getComputedStyle(u);if("hidden"===m.overflowX&&(h=i.innerWidth),"hidden"===m.overflowY&&(v=i.innerHeight),e.style&&(e.style.position=l),t||function(e){if(eg.isWindow(e)||9===e.nodeType)return!1;var t=eg.getDocument(e),n=t.body,o=null;for(o=eb(e);o&&o!==n&&o!==t;o=eb(o))if("fixed"===eg.css(o,"position"))return!0;return!1}(e))n.left=Math.max(n.left,c),n.top=Math.max(n.top,f),n.right=Math.min(n.right,c+p),n.bottom=Math.min(n.bottom,f+d);else{var g=Math.max(h,c+p);n.right=Math.min(n.right,g);var y=Math.max(v,f+d);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function eC(e){if(eg.isWindow(e)||9===e.nodeType){var t,n,o,r=eg.getWindow(e);t={left:eg.getWindowScrollLeft(r),top:eg.getWindowScrollTop(r)}
1,n=eg.viewportWidth(r),o=eg.viewportHeight(r)}else t=eg.offset(e),n=eg.outerWidth(e),o=eg.outerHeight(e);return t.width=n,t.height=o,t}function eT(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,i=e.height,u=e.left,a=e.top;return"c"===n?a+=i/2:"b"===n&&(a+=i),"c"===o?u+=r/2:"r"===o&&(u+=r),{left:u,top:a}}function ex(e,t,n,o,r){var i=eT(t,n[1]),u=eT(e,n[0]),a=[u.left-i.left,u.top-i.top];return{left:Math.round(e.left-a[0]+o[0]-r[0]),top:Math.round(e.top-a[1]+o[1]-r[1])}}function eM(e,t,n){return e.left<n.left||e.left+t.width>n.right}function eP(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function eO(e,t,n){var o=[];return eg.each(e,function(e){o.push(e.replace(t,function(e){return n[e]}))}),o}function ek(e,t){return e[t]=-e[t],e}function eE(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function eD(e,t){e[0]=eE(e[0],t.width),e[1]=eE(e[1],t.height)}function eS(e,t,n,o){var r=n.points,i=n.offset||[0,0],u=n.targetOffset||[0,0],a=n.overflow,s=n.source||e;i=[].concat(i),u=[].concat(u);var l={},c=0,f=eA(s,!!(a=a||{}).alwaysByViewport),p=eC(s);eD(i,p),eD(u,t);var d=ex(p,t,r,i,u),h=eg.merge(p,d);if(f&&(a.adjustX||a.adjustY)&&o){if(a.adjustX&&eM(d,p,f)){var v,m,g,y,w=eO(r,/[lr]/gi,{l:"r",r:"l"}),b=ek(i,0),A=ek(u,0);y=ex(p,t,w,b,A),y.left>f.right||y.left+p.width<f.left||(c=1,r=w,i=b,u=A)}if(a.adjustY&&eP(d,p,f)){var C,T=eO(r,/[tb]/gi,{t:"b",b:"t"}),x=ek(i,1),M=ek(u,1);C=ex(p,t,T,x,M),C.top>f.bottom||C.top+p.height<f.top||(c=1,r=T,i=x,u=M)}c&&(d=ex(p,t,r,i,u),eg.mix(h,d));var P=eM(d,p,f),O=eP(d,p,f);if(P||O){var k=r;P&&(k=eO(r,/[lr]/gi,{l:"r",r:"l"})),O&&(k=eO(r,/[tb]/gi,{t:"b",b:"t"})),r=k,i=n.offset||[0,0],u=n.targetOffset||[0,0]}
1l.adjustX=a.adjustX&&P,l.adjustY=a.adjustY&&O,(l.adjustX||l.adjustY)&&(v=d,m=eg.clone(v),g={width:p.width,height:p.height},l.adjustX&&m.left<f.left&&(m.left=f.left),l.resizeWidth&&m.left>=f.left&&m.left+g.width>f.right&&(g.width-=m.left+g.width-f.right),l.adjustX&&m.left+g.width>f.right&&(m.left=Math.max(f.right-g.width,f.left)),l.adjustY&&m.top<f.top&&(m.top=f.top),l.resizeHeight&&m.top>=f.top&&m.top+g.height>f.bottom&&(g.height-=m.top+g.height-f.bottom),l.adjustY&&m.top+g.height>f.bottom&&(m.top=Math.max(f.bottom-g.height,f.top)),h=eg.mix(m,g))}return h.width!==p.width&&eg.css(s,"width",eg.width(s)+h.width-p.width),h.height!==p.height&&eg.css(s,"height",eg.height(s)+h.height-p.height),eg.offset(s,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:i,targetOffset:u,overflow:l}}function eN(e,t,n){var o,r,i=n.target||t,u=eC(i),a=(o=eA(i,n.overflow&&n.overflow.alwaysByViewport),r=eC(i),!!o&&!(r.left+r.width<=o.left)&&!(r.top+r.height<=o.top)&&!(r.left>=o.right)&&!(r.top>=o.bottom));return eS(e,u,n,a)}eN.__getOffsetParent=ew,eN.__getVisibleRectForElement=eA;var eR=n(271568),eH=n(875393),eV=n(614599);let ej=function(e,t){var n=c.useRef(!1),o=c.useRef(null);function r(){window.clearTimeout(o.current)}return[function i(u){if(r(),n.current&&!0!==u)o.current=window.setTimeout(function(){n.current=!1,i()},t);else{if(!1===e(u))return;n.current=!0,o.current=window.setTimeout(function(){n.current=!1},t)}},function(){n.current=!1,r()}]};var eL=n(894834);function eW(e,t){var n=null,o=null,r=new eL.default(function(e){var r=(0,E.A)(e,1)[0].target;if(document.documentElement.contains(r)){var i=r.getBoundingClientRect(),u=i.width,a=i.height,s=Math.floor(u),l=Math.floor(a);(n!==s||o!==l)&&Promise.resolve().then(function(){t({width:s,height:l})}),n=s,o=l}});return e&&r.observe(e),function(){r.disconnect()}}function eI(e){return"function"!=typeof e?null:e()}function eF(e){return"object"===(0,V.A)(e)&&e?e:null}var eB=c.forwardRef(function(e,t){var n=e.children,o=e.disabled,r=e.target,i=e.align,u=e.onAlign,a=e.monitorWindowResize,s=e.monitorBufferTime,l=c.useRef({}),f=c.useRef(),p=c.Children.only(n),d=c.useRef({});d.current.disabled=o,d.current.target=r,d.current.align=i,d.current.onAlign=u;var h=ej(function(){var e=d.current,t=e.disabled,n=e.target,o=e.align,r=e.onAlign,i=f.current;if(!t&&n&&i){var u,a,s,c,p,h,v,m,g,y,w,b=eI(n),C=eF(n);l.current.element=b,l.current.point=C,l.current.align=o;var T=document.activeElement;return b&&(0,eH.A)(b)?w=eN(i,b,o):C&&(c=(s=eg.getDocument(i)).defaultView||s.parentWindow,p=eg.getWindowScrollLeft(c),h=eg.getWindowScrollTop(c),v=eg.viewportWidth(c),m=eg.viewportHeight(c),g={left:u="pageX"in C?C.pageX:p+C.clientX,top:a="pageY"in C?C.pageY:h+C.clientY,width:0,height:0},y=[o.points[0],"cc"],w=eS(i,g,L(L({},o),{},{points:y}),u>=0&&u<=p+v&&a>=0&&a<=h+m)),T!==document.activeElement&&(0,A.A)(i,T)&&"function"==typeof T.focus&&T.focus(),r&&w&&r(i,w),!0}return!1},void 0===s?0:s),v=(0,E.A)(h,2),m=v[0],g=v[1],y=c.useState(),w=(0,E.A)(y,2),b=w[0],C=w[1],M=c.useState(),P=(0,E.A)(M,2),O=P[0],k=P[1];return(0,eV.A)(function(){C(eI(r)),k(eF(r))}),c.useEffect(function(){var e;l.current.element===b&&((e=l.current.point)===O||e&&O&&("pageX"in O&&"pageY"in O?e.pageX===O.pageX&&e.pageY===O.pageY:"clientX"in O&&"clientY"in O&&e.clientX===O.clientX&&e.clientY===O.clientY))&&(0,eR.A)(l.current.align,i)||m()}),c.useEffect(function(){return eW(f.current,m)},[f.current]),c.useEffect(function(){return eW(b,m)},[b]),c.useEffect(function(){o?g():m()},[o]),c.useEffect(function(){if(a)return x(window,"resize",m).remove},[a]),c.useEffect(function(){return function(){g()}},[]),c.useImperativeHandle(t,function(){return{forceAlign:function(){return m(!0)}}}),c.isValidElement(p)&&(p=c.cloneElement(p,{ref:(0,T.K4)(p.ref,f)})),p});function eY(e,t){this.v=e,this.k=t}function e_(e,t,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}(e_=function(e,t,n,o){function i(t,n){e_(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(i("next",0),i("throw",1),i("return",2))})(e,t,n,o)}function eX(){var e,t,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function i(n,o,r,i){var s=Object.create((o&&o.prototype instanceof a?o:a).prototype);return e_(s,"_invoke",function(n,o,r){var i,a,s,l=0,c=r||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,s=e,p.n=n,u}};function d(n,o){for(a=n,s=o,t=0;!f&&l&&!r&&t<c.length;t++){var r,i=c[t],d=p.p,h=i[2];n>3?(r=h===o)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((r=n<2&&d<i[1])?(a=0,p.v=o,p.n=i[1]):d<h&&
1(r=n<3||i[0]>o||o>h)&&(i[4]=n,i[5]=o,p.n=h,a=0))}if(r||n>1)return u;throw f=!0,o}return function(r,c,h){if(l>1)throw TypeError("Generator is already running");for(f&&1===c&&d(c,h),a=c,s=h;(t=a<2?e:s)||!f;){i||(a?a<3?(a>1&&(p.n=-1),d(a,s)):p.n=s:p.v=s);try{if(l=2,i){if(a||(r="next"),t=i[r]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+r+"' method"),a=1);i=e}else if((t=(f=p.n<0)?s:n.call(o,p))!==u)break}catch(t){i=e,a=1,s=t}finally{l=1}}return{value:t,done:f}}}(n,r,i),!0),s}var u={};function a(){}function s(){}function l(){}t=Object.getPrototypeOf;var c=l.prototype=a.prototype=Object.create([][o]?t(t([][o]())):(e_(t={},o,function(){return this}),t));function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,e_(e,r,"GeneratorFunction")),e.prototype=Object.create(c),e}return s.prototype=l,e_(c,"constructor",l),e_(l,"constructor",s),s.displayName="GeneratorFunction",e_(l,r,"GeneratorFunction"),e_(c),e_(c,r,"Generator"),e_(c,o,function(){return this}),e_(c,"toString",function(){return"[object Generator]"}),(eX=function(){return{w:i,m:f}})()}function ez(e,t){var n;this.next||(e_(ez.prototype),e_(ez.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),e_(this,"_invoke",function(o,r,i){function u(){return new t(function(n,r){!function n(o,r,i,u){try{var a=e[o](r),s=a.value;return s instanceof eY?t.resolve(s.v).then(function(e){n("next",e,i,u)},function(e){n("throw",e,i,u)}):t.resolve(s).then(function(e){a.value=e,i(a)},function(e){return n("throw",e,i,u)})}catch(e){u(e)}}(o,i,n,r)})}return n=n?n.then(u,u):u()},!0)}function eU(e,t,n,o,r){return new ez(eX().w(e,t,n,o),r||Promise)}function eG(e){var t=Object(e),n=[];for(var o in t)n.unshift(o);return function e(){for(;n.length;)if((o=n.pop())in t)return e.value=o,e.done=!1,e;return e.done=!0,e}}function e$(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw TypeError((0,V.A)(e)+" is not iterable")}function eK(){"use strict";var e=eX(),t=e.m(eK),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function o(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var r={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(o){t||(t={stop:function(){return n(o.a,2)},catch:function(){return o.v},abrupt:function(e,t){return n(o.a,r[e],t)},delegateYield:function(e,r,i){return t.resultName=r,n(o.d,e$(e),i)},finish:function(e){return n(o.f,e)}},n=function(e,n,r){o.p=t.prev,o.n=t.next;try{return e(n,r)}finally{t.next=o.n}}),t.resultName&&(t[t.resultName]=o.v,t.resultName=void 0),t.sent=o.v,t.next=o.n;try{return e.call(this,t)}finally{o.p=t.prev,o.n=t.next}}}return(eK=function(){return{wrap:function(t,n,o,r){return e.w(i(t),n,o,r&&r.reverse())},isGeneratorFunction:o,mark:e.m,awrap:function(e,t){return new eY(e,t)},AsyncIterator:ez,async:function(e,t,n,r,u){return(o(t)?eU:function(e,t,n,o,r){var i=eU(e,t,n,o,r);return i.next().then(function(e){return e.done?e.value:i.next()})})(i(e),t,n,r,u)},keys:eG,values:e$}})()}eB.displayName="Align";var eZ=n(435402),eq=n(563697),eJ=["measure","alignPre","align",null,"motion"];let eQ=function(e,t){var n=(0,eq.A)(null),o=(0,E.A)(n,2),r=o[0],i=o[1],u=(0,c.useRef)();function a(){b.A.cancel(u.current)}return(0,c.useEffect)(function(){i("measure",!0)},[e]),(0,c.useEffect)(function(){"measure"===r&&t(),r&&(u.current=(0,b.A)((0,eZ.A)(eK().mark(function e(){var t,n;return eK().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=eJ.indexOf(r),(n=eJ[t+1])&&-1!==t&&i(n,!0);case 3:case"end":return e.stop()}},e)}))))},[r]),(0,c.useEffect)(function(){return function(){a()}},[]),[r,function(e){a(),u.current=(0,b.A)(function(){i(function(e){switch(r){case"align":return"motion";case"motion":return"stable"}return e},!0),null==e||e()})}]},e0=function(e){var t=c.useState({width:0,height:0}),n=(0,E.A)(t,2),o=n[0],r=n[1];return[c.useMemo(function(){var t={};if(e){var n=o.width,r=o.height;-1!==e.indexOf("height")&&r?t.height=r:-1!==e.indexOf("minHeight")&&r&&(t.minHeight=r),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t},[e,o]),function(e){var t=e.offsetWidth,n=e.offsetHeight,o=e.getBoundingClientRect(),i=o.width,u=o.height;1>Math.abs(t-i)&&1>Math.abs(n-u)&&(t=i,n=u),r({width:t,height:n})}]};var e1=c.forwardRef(function(e,t){var n=e.visible,o=e.prefixCls,r=e.className,i=e.style,u=e.children,a=e.zIndex,s=e.stretch,l=e.destroyPopupOnHide,d=e.forceRender,h=e.align,v=e.point,m=e.getRootDomNo
1de,g=e.getClassNameFromAlign,y=e.onAlign,w=e.onMouseEnter,b=e.onMouseLeave,A=e.onMouseDown,C=e.onTouchStart,T=e.onClick,x=(0,c.useRef)(),M=(0,c.useRef)(),P=(0,c.useState)(),O=(0,E.A)(P,2),D=O[0],S=O[1],H=e0(s),V=(0,E.A)(H,2),j=V[0],L=V[1],W=eQ(n,function(){s&&L(m())}),I=(0,E.A)(W,2),F=I[0],B=I[1],Y=(0,c.useState)(0),_=(0,E.A)(Y,2),X=_[0],z=_[1],U=(0,c.useRef)();function G(){var e;null==(e=x.current)||e.forceAlign()}function $(e,t){var n=g(t);D!==n&&S(n),z(function(e){return e+1}),"align"===F&&(null==y||y(e,t))}(0,eV.A)(function(){"alignPre"===F&&z(0)},[F]),(0,eV.A)(function(){"align"===F&&(X<3?G():B(function(){var e;null==(e=U.current)||e.call(U)}))},[X]);var K=(0,f.A)({},R(e));function Z(){return new Promise(function(e){U.current=e})}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(e){var t=K[e];K[e]=function(e,n){return B(),null==t?void 0:t(e,n)}}),c.useEffect(function(){K.motionName||"motion"!==F||B()},[K.motionName,F]),c.useImperativeHandle(t,function(){return{forceAlign:G,getElement:function(){return M.current}}});var q=(0,f.A)((0,f.A)({},j),{},{zIndex:a,opacity:"motion"!==F&&"stable"!==F&&n?0:void 0,pointerEvents:n||"stable"===F?void 0:"none"},i),J=!0;null!=h&&h.points&&("align"===F||"stable"===F)&&(J=!1);var Q=u;return c.Children.count(u)>1&&(Q=c.createElement("div",{className:"".concat(o,"-content")},u)),c.createElement(N.Ay,(0,p.A)({visible:n,ref:M,leavedClassName:"".concat(o,"-hidden")},K,{onAppearPrepare:Z,onEnterPrepare:Z,removeOnLeave:l,forceRender:d}),function(e,t){var n=e.className,i=e.style,u=k()(o,r,D,n);return c.createElement(eB,{target:v||m,key:"popup",ref:x,monitorWindowResize:!0,disabled:J,align:h,onAlign:$},c.createElement("div",{ref:t,className:u,onMouseEnter:w,onMouseLeave:b,onMouseDownCapture:A,onTouchStartCapture:C,onClick:T,style:(0,f.A)((0,f.A)({},i),q)},Q))})});e1.displayName="PopupInner";var e2=c.forwardRef(function(e,t){var n=e.prefixCls,o=e.visible,r=e.zIndex,i=e.children,u=e.mobile,a=(u=void 0===u?{}:u).popupClassName,s=u.popupStyle,l=u.popupMotion,d=u.popupRender,h=e.onClick,v=c.useRef();c.useImperativeHandle(t,function(){return{forceAlign:function(){},getElement:function(){return v.current}}});var m=(0,f.A)({zIndex:r},s),g=i;return c.Children.count(i)>1&&(g=c.createElement("div",{className:"".concat(n,"-content")},i)),d&&(g=d(g)),c.createElement(N.Ay,(0,p.A)({visible:o,ref:v,removeOnLeave:!0},void 0===l?{}:l),function(e,t){var o=e.className,r=e.style,i=k()(n,a,o);return c.createElement("div",{ref:t,className:i,onClick:h,style:(0,f.A)((0,f.A)({},r),m)},g)})});e2.displayName="MobilePopupInner";var e4=["visible","mobile"],e9=c.forwardRef(function(e,t){var n=e.visible,o=e.mobile,r=(0,D.A)(e,e4),i=(0,c.useState)(n),u=(0,E.A)(i,2),a=u[0],s=u[1],l=(0,c.useState)(!1),d=(0,E.A)(l,2),h=d[0],v=d[1],m=(0,f.A)((0,f.A)({},r),{},{visible:a});(0,c.useEffect)(function(){s(n),n&&o&&v((0,S.A)())},[n,o]);var g=h?c.createElement(e2,(0,p.A)({},m,{mobile:o,ref:t})):c.createElement(e1,(0,p.A)({},m,{ref:t}));return c.createElement("div",null,c.createElement(H,m),g)});e9.displayName="Popup";var e3=c.createContext(null);function e5(){}var e6=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];let e8=(o=function(e){(0,m.A)(n,e);var t=(0,g.A)(n);function n(e){var o,r;return(0,d.A)(this,n),o=t.call(this,e),(0,y.A)((0,v.A)(o),"popupRef",c.createRef()),(0,y.A)((0,v.A)(o),"triggerRef",c.createRef()),(0,y.A)((0,v.A)(o),"portalContainer",void 0),(0,y.A)((0,v.A)(o),"attachId",void 0),(0,y.A)((0,v.A)(o),"clickOutsideHandler",void 0),(0,y.A)((0,v.A)(o),"touchOutsideHandler",void 0),(0,y.A)((0,v.A)(o),"contextMenuOutsideHandler1",void 0),(0,y.A)((0,v.A)(o),"contextMenuOutsideHandler2",void 0),(0,y.A)((0,v.A)(o),"mouseDownTimeout",void 0),(0,y.A)((0,v.A)(o),"focusTime",void 0),(0,y.A)((0,v.A)(o),"preClickTime",void 0),(0,y.A)((0,v.A)(o),"preTouchTime",void 0),(0,y.A)((0,v.A)(o),"delayTimer",void 0),(0,y.A)((0,v.A)(o),"hasPopupMouseDown",void 0),(0,y.A)((0,v.A)(o),"onMouseEnter",function(e){var t=o.props.mouseEnterDelay;o.fireEvents("onMouseEnter",e),o.delaySetPopupVisible(!0,t,t?null:e)}),(0,y.A)((0,v.A)(o),"onMouseMove",function(e){o.fireEvents("onMouseMove",e),o.setPoint(e)}),(0,y.A)((0,v.A)(o),"onMouseLeave",function(e){o.fireEvents("onMouseLeave",e),o.delaySetPopupVisible(!1,o.props.mouseLeaveDelay)}),(0,y.A)((0,v.A)(o),"onPopupMouseEnter",function(){o.clearDelayTimer()}),(0,y.A)((0,v.A)(o),"onPopupMouseLeave",function(e){var t;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,A.A)(null==(t=o.popupRef.current)?void 0:t.getElement(),e.relatedTarget)||o.delaySetPopupVisible(!1,o.props.mouseLeaveDelay)}),(0,y.A)((0,v.A)(o),"onFocus",function(e){o.fireEvents("onFocus",e),o.clearDelayTimer(),o.isFocusToShow()&&(o.focusTime=Date.now(),o.delaySetPopupVisible(!0,o.props.focusDelay))}),(0,y.A)((0,v.A)(o),"onMouseDown",function(e){o.fireEvents("onMouseDown",e),o.preClickTime=Date.now()}),(0,y.A)((0,v.A)(o),"onTouchStart",function(e){o.fireEvents("onTouchStart",e),o.preTouchTime=Date.now()}),(0,y.A)((0,v.A)(o),"onBlur",function(e){o.fireEvents("onBlur",e),o.clearDelayTimer(),o.isBlurToHide()&&o.delaySetPopupVisible(!1,o.props.blurDelay)}),(0,y.A)((0,v.A)(o),"onContextMenu",function(e){e.preventDefault(),o.fireEvents("onContextMenu",e),o.setPopupVisible(!0,e)}),(0,y.A)((0,v.A)(o),"onContextMenuClose",function(){o.isContextMenuToShow()&&o.close()}),(0,y.A)((0,v.A)(o),"onClick",function(e){if(o.fireEvents("onClick",e),o.focusTime){var t;if(o.preClickTime&&o.preTouchTime?t=Math.min(o.preClickTime,o.preTouchTime):o.preClickTime?t=o.preClickTime:o.preTouchTime&&(t=o.preTouchTime),20>Math.abs(t-o.focusTime))return;o.focusTime=0}o.preClickTime=0,o.preTouchTime=0,o.isClickToShow()&&(o.isClickToHide()||o.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var n=!o.state.popupVisible;(o.isClickToHide()&&!n||n&&o.isClickToShow())&&o.setPopupVisible(!o.state.popupVisible,e)}),(0,y.A)((0,v.A)(o),"onPopupMouseDown",function(){if(o.hasPopupMouseDown=!0,clearTimeout(o.mouseDownTimeout),o.mouseDownTimeout=window.setTimeout(function(){o.hasPopupMouseDown=!1},0),o.context){var e;(e=o.context).onPopupMouseDown.apply(e,arguments)}}),(0,y.A)((0,v.A)(o),"onDocumentClick",function(e){if(!o.props.mask||o.props.maskClosable){var t=e.target,n=o.getRootDomNo
1de(),r=o.getPopupDomNode();(!(0,A.A)(n,t)||o.isContextMenuOnly())&&!(0,A.A)(r,t)&&!o.hasPopupMouseDown&&o.close()}}),(0,y.A)((0,v.A)(o),"getRootDomNode",function(){var e=o.props.getTriggerDOMNode;if(e)return e(o.triggerRef.current);try{var t=(0,C.Ay)(o.triggerRef.current);if(t)return t}catch(e){}return w.findDOMNode((0,v.A)(o))}),(0,y.A)((0,v.A)(o),"getPopupClassNameFromAlign",function(e){var t=[],n=o.props,r=n.popupPlacement,i=n.builtinPlacements,u=n.prefixCls,a=n.alignPoint,s=n.getPopupClassNameFromAlign;return r&&i&&t.push(function(e,t,n,o){for(var r=n.points,i=Object.keys(e),u=0;u<i.length;u+=1){var a,s=i[u];if(a=e[s].points,o?a[0]===r[0]:a[0]===r[0]&&a[1]===r[1])return"".concat(t,"-placement-").concat(s)}return""}(i,u,e,a)),s&&t.push(s(e)),t.join(" ")}),(0,y.A)((0,v.A)(o),"getComponent",function(){var e=o.props,t=e.prefixCls,n=e.destroyPopupOnHide,r=e.popupClassName,i=e.onPopupAlign,u=e.popupMotion,a=e.popupAnimation,s=e.popupTransitionName,l=e.popupStyle,f=e.mask,d=e.maskAnimation,h=e.maskTransitionName,v=e.maskMotion,m=e.zIndex,g=e.popup,y=e.stretch,w=e.alignPoint,b=e.mobile,A=e.forceRender,C=e.onPopupClick,T=o.state,x=T.popupVisible,M=T.point,P=o.getPopupAlign(),O={};return o.isMouseEnterToShow()&&(O.onMouseEnter=o.onPopupMouseEnter),o.isMouseLeaveToHide()&&(O.onMouseLeave=o.onPopupMouseLeave),O.onMouseDown=o.onPopupMouseDown,O.onTouchStart=o.onPopupMouseDown,c.createElement(e9,(0,p.A)({prefixCls:t,destroyPopupOnHide:n,visible:x,point:w&&M,className:r,align:P,onAlign:i,animation:a,getClassNameFromAlign:o.getPopupClassNameFromAlign},O,{stretch:y,getRootDomNode:o.getRootDomNode,style:l,mask:f,zIndex:m,transitionName:s,maskAnimation:d,maskTransitionName:h,maskMotion:v,ref:o.popupRef,motion:u,mobile:b,forceRender:A,onClick:C}),"function"==typeof g?g():g)}),(0,y.A)((0,v.A)(o),"attachParent",function(e){b.A.cancel(o.attachId);var t,n=o.props,r=n.getPopupContainer,i=n.getDocument,u=o.getRootDomNode();r?(u||0===r.length)&&(t=r(u)):t=i(o.getRootDomNode()).body,t?t.appendChild(e):o.attachId=(0,b.A)(function(){o.attachParent(e)})}),(0,y.A)((0,v.A)(o),"getContainer",function(){if(!o.portalContainer){var e=(0,o.props.getDocument)(o.getRootDomNode()).createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",o.portalContainer=e}return o.attachParent(o.portalContainer),o.portalContainer}),(0,y.A)((0,v.A)(o),"setPoint",function(e){o.props.alignPoint&&e&&o.setState({point:{pageX:e.pageX,pageY:e.pageY}})}),(0,y.A)((0,v.A)(o),"handlePortalUpdate",function(){o.state.prevPopupVisible!==o.state.popupVisible&&o.props.afterPopupVisibleChange(o.state.popupVisible)}),(0,y.A)((0,v.A)(o),"triggerContextValue",{onPopupMouseDown:o.onPopupMouseDown}),o.state={prevPopupVisible:r="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,popupVisible:r},e6.forEach(function(e){o["fire".concat(e)]=function(t){o.fireEvents(e,t)}}),o}return(0,h.A)(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props;if(this.state.popupVisible){!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=x(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=x(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=x(e,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=x(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),b.A.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null==(e=this.popupRef.current)?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e,t=this.props,n=t.popupPlacement,o=t.popupAlign,r=t.builtinPlacements;return n&&r?(e=r[n]||{},(0,f.A)((0,f.A)({},e),o)):o}}
1,{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,r=1e3*t;if(this.clearDelayTimer(),r){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout(function(){o.setPopupVisible(e,i),o.clearDelayTimer()},r)}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;return -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(){if(this.state.popupVisible){var e;null==(e=this.popupRef.current)||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 e,t=this.state.popupVisible,n=this.props,o=n.children,r=n.forceRender,i=n.alignPoint,u=n.className,a=n.autoDestroy,s=c.Children.only(o),l={key:"trigger"};this.isContextMenuToShow()?l.onContextMenu=this.onContextMenu:l.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(l.onClick=this.onClick,l.onMouseDown=this.onMouseDown,l.onTouchStart=this.onTouchStart):(l.onClick=this.createTwoChains("onClick"),l.onMouseDown=this.createTwoChains("onMouseDown"),l.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(l.onMouseEnter=this.onMouseEnter,i&&(l.onMouseMove=this.onMouseMove)):l.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?l.onMouseLeave=this.onMouseLeave:l.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(l.onFocus=this.onFocus,l.onBlur=this.onBlur):(l.onFocus=this.createTwoChains("onFocus"),l.onBlur=this.createTwoChains("onBlur"));var p=k()(s&&s.props&&s.props.className,u);p&&(l.className=p);var d=(0,f.A)({},l);(0,T.f3)(s)&&(d.ref=(0,T.K4)(this.triggerRef,s.ref));var h=c.cloneElement(s,d);return(t||this.popupRef.current||r)&&(e=c.createElement(P,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&a&&(e=null),c.createElement(e3.Provider,{value:this.triggerContextValue},h,e)}}],[{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}}]),n}(c.Component),(0,y.A)(o,"contextType",e3),(0,y.A)(o,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(e){return e?e.ownerDocument:window.document},onPopupVisibleChange:e5,afterPopupVisibleChange:e5,onPopupAlign:e5,popupClassName:"",mouseEnterDelay:0,mou
1seLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),o);var e7={adjustX:1,adjustY:1},te=[0,0],tt={left:{points:["cr","cl"],overflow:e7,offset:[-4,0],targetOffset:te},right:{points:["cl","cr"],overflow:e7,offset:[4,0],targetOffset:te},top:{points:["bc","tc"],overflow:e7,offset:[0,-4],targetOffset:te},bottom:{points:["tc","bc"],overflow:e7,offset:[0,4],targetOffset:te},topLeft:{points:["bl","tl"],overflow:e7,offset:[0,-4],targetOffset:te},leftTop:{points:["tr","tl"],overflow:e7,offset:[-4,0],targetOffset:te},topRight:{points:["br","tr"],overflow:e7,offset:[0,-4],targetOffset:te},rightTop:{points:["tl","tr"],overflow:e7,offset:[4,0],targetOffset:te},bottomRight:{points:["tr","br"],overflow:e7,offset:[0,4],targetOffset:te},rightBottom:{points:["bl","br"],overflow:e7,offset:[4,0],targetOffset:te},bottomLeft:{points:["tl","bl"],overflow:e7,offset:[0,4],targetOffset:te},leftBottom:{points:["br","bl"],overflow:e7,offset:[-4,0],targetOffset:te}};let tn=function(e){var t=e.overlay,n=e.prefixCls,o=e.id,r=e.overlayInnerStyle;return c.createElement("div",{className:"".concat(n,"-inner"),id:o,role:"tooltip",style:r},"function"==typeof t?t():t)},to=(0,c.forwardRef)(function(e,t){var n=e.overlayClassName,o=e.trigger,r=e.mouseEnterDelay,i=e.mouseLeaveDelay,f=e.overlayStyle,p=e.prefixCls,d=void 0===p?"rc-tooltip":p,h=e.children,v=e.onVisibleChange,m=e.afterVisibleChange,g=e.transitionName,y=e.animation,w=e.motion,b=e.placement,A=e.align,C=e.destroyTooltipOnHide,T=void 0!==C&&C,x=e.defaultVisible,M=e.getTooltipContainer,P=e.overlayInnerStyle,O=(0,l.A)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),k=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,function(){return k.current});var E=(0,s.A)({},O);"visible"in e&&(E.popupVisible=e.visible);var D=!1,S=!1;if("boolean"==typeof T)D=T;else if(T&&"object"===(0,a.A)(T)){var N=T.keepParent;D=!0===N,S=!1===N}return c.createElement(e8,(0,u.A)({popupClassName:n,prefixCls:d,popup:function(){var t=e.arrowContent,n=e.overlay,o=e.id;return[c.createElement("div",{className:"".concat(d,"-arrow"),key:"arrow"},void 0===t?null:t),c.createElement(tn,{key:"content",prefixCls:d,id:o,overlay:n,overlayInnerStyle:P})]},action:void 0===o?["hover"]:o,builtinPlacements:tt,popupPlacement:void 0===b?"right":b,ref:k,popupAlign:void 0===A?{}:A,getPopupContainer:M,onPopupVisibleChange:v,afterPopupVisibleChange:m,popupTransitionName:g,popupAnimation:y,popupMotion:w,defaultPopupVisible:x,destroyPopupOnHide:D,autoDestroy:S,mouseLeaveDelay:void 0===i?.1:i,popupStyle:f,mouseEnterDelay:void 0===r?0:r},E),h)})}}]);
2//# 

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.