1"use strict";(self.webpackChunkbezlimit=self.webpackChunkbezlimit||[]).push([[6640],{35808:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.getTransitionDirection=t.default=void 0;var o=n(42154),getCollapsedHeight=function(){return{height:0,opacity:0}},getRealHeight=function(e){return{height:e.scrollHeight,opacity:1}},skipOpacityTransition=function(e,t){return(null==t?void 0:t.deadline)===!0||"height"===t.propertyName};(0,o.tuple)("bottomLeft","bottomRight","topLeft","topRight"),t.getTransitionDirection=function(e){return void 0!==e&&("topLeft"===e||"topRight"===e)?"slide-down":"slide-up"},t.getTransitionName=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)},t.default={motionName:"ant-motion-collapse",onAppearStart:getCollapsedHeight,onEnterStart:getCollapsedHeight,onAppearActive:getRealHeight,onEnterActive:getRealHeight,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:getCollapsedHeight,onAppearEnd:skipOpacityTransition,onEnterEnd:skipOpacityTransition,onLeaveEnd:skipOpacityTransition,motionDeadline:500}},64951:function(e,t,n){n.d(t,{A:function(){return es}});var o,i,r,a=n(89379),u=n(58168),s=n(23029),l=n(92901),c=n(9417),p=n(84535),f=n(64718),d=n(64467),h=n(73884),m=n.n(h),g=n(10486),v=n.n(g),w=n(25371),y=n(54808),b=n(66588),A=n(8719),T=n(69916),x=n(20998),C=(0,h.forwardRef)(function(e,t){var n=e.didUpdate,o=e.getContainer,i=e.children,r=(0,h.useRef)(),a=(0,h.useRef)();(0,h.useImperativeHandle)(t,function(){return{}});var u=(0,h.useRef)(!1);return!u.current&&(0,x.A)()&&(a.current=o(),r.current=a.current.parentNode,u.current=!0),(0,h.useEffect)(function(){null==n||n(e)}),(0,h.useEffect)(function(){return null===a.current.parentNode&&null!==r.current&&r.current.appendChild(a.current),function(){var e;null===(e=a.current)||void 0===e||null===(e=e.parentNode)||void 0===e||e.removeChild(a.current)}},[]),a.current?v().createPortal(i,a.current):null}),M=n(46942),P=n.n(M),k=n(80641),O=n(82305),E=n(68430),D=n(78612);function getMotion(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 Mask(e){var t=e.prefixCls,n=e.visible,o=e.zIndex,i=e.mask,r=e.maskMotion,s=e.maskAnimation,l=e.maskTransitionName;if(!i)return null;var c={};return(r||l||s)&&(c=(0,a.A)({motionAppear:!0},getMotion({motion:r,prefixCls:t,transitionName:l,animation:s}))),h.createElement(D.default,(0,u.A)({},c,{visible:n,removeOnLeave:!0}),function(e){var n=e.className;return h.createElement("div",{style:{zIndex:o},className:P()("".concat(t,"-mask"),n)})})}var S=n(82284);function ownKeys(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 _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o;o=n[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _typeof(e){return(_typeof="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 R={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function getVendorPrefix(){if(void 0!==i)return i;i="";var e=document.createElement("p").style;for(var t in R)t+"Transform" in e&&(i=t);return i}function getTransitionName(){return getVendorPrefix()?"".concat(getVendorPrefix(),"TransitionProperty"):"transitionProperty"}function getTransformName(){return getVendorPrefix()?"".concat(getVendorPrefix(),"Transform"):"transform"}function setTransitionProperty(e,t){var n=getTransitionName();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function setTransform(e,t){var n=getTransformName();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var H=/matrix\((.*)\)/,N=/matrix3d\((.*)\)/,V=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;function forceRelayout(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function css(e,t,n){var o=n;if("object"===_typeof(t)){for(var i in t)t.hasOwnProperty(i)&&css(e,i,t[i]);return}if(void 0!==o){"number"==typeof o&&(o="".concat(o,"px")),e.style[t]=o;return}return r(e,t)}function getScroll(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 getOffset(e){var t,n,o,i,r,a,u=(r=(i=e.ownerDocument).body,a=i&&i.documentElement,n=Math.floor((t=e.getBoundingClientRect()).left),o=Math.floor(t.top),{left:n-=a.clientLeft||r.clientLeft||0,top:o-=a.clientTop||r.clientTop||0}),s=e.ownerDocument,l=s.defaultView||s.parentWindow;return u.left+=getScroll(l),u.top+=getScroll(l,!0),u}function isWindow(e){return null!=e&&e==e.window}
vendor: 5,952 bytes, line 1
1function getDocument(e){return isWindow(e)?e.document:9===e.nodeType?e:e.ownerDocument}var W=RegExp("^(".concat(V,")(?!px)[a-z%]+$"),"i"),L=/^(top|right|bottom|left)$/,F="currentStyle",B="runtimeStyle",j="left";function getOffsetDirection(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function oppositeOffsetDirection(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function setLeftTop(e,t,n){"static"===css(e,"position")&&(e.style.position="relative");var o=-999,i=-999,r=getOffsetDirection("left",n),a=getOffsetDirection("top",n),u=oppositeOffsetDirection(r),s=oppositeOffsetDirection(a);"left"!==r&&(o=999),"top"!==a&&(i=999);var l="",c=getOffset(e);("left"in t||"top"in t)&&(l=e.style.transitionProperty||e.style[getTransitionName()]||"",setTransitionProperty(e,"none")),"left"in t&&(e.style[u]="",e.style[r]="".concat(o,"px")),"top"in t&&(e.style[s]="",e.style[a]="".concat(i,"px")),forceRelayout(e);var p=getOffset(e),f={};for(var d in t)if(t.hasOwnProperty(d)){var h=getOffsetDirection(d,n),m="left"===d?o:i,g=c[d]-p[d];h===d?f[h]=m+g:f[h]=m-g}css(e,f),forceRelayout(e),("left"in t||"top"in t)&&setTransitionProperty(e,l);var v={};for(var w in t)if(t.hasOwnProperty(w)){var y=getOffsetDirection(w,n),b=t[w]-c[w];w===y?v[y]=f[y]+b:v[y]=f[y]-b}css(e,v)}function each(e,t){for(var n=0;n<e.length;n++)t(e[n])}function isBorderBoxFn(e){return"border-box"===r(e,"boxSizing")}"undefined"!=typeof window&&(r=window.getComputedStyle?function(e,t,n){var o=n,i="",r=getDocument(e);return(o=o||r.defaultView.getComputedStyle(e,null))&&(i=o.getPropertyValue(t)||o[t]),i}:function(e,t){var n=e[F]&&e[F][t];if(W.test(n)&&!L.test(t)){var o=e.style,i=o[j],r=e[B][j];e[B][j]=e[F][j],o[j]="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o[j]=i,e[B][j]=r}return""===n?"auto":n});var z=["margin","border","padding"];function getPBMWidth(e,t,n){var o,i,a,u=0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?"".concat(o).concat(n[a],"Width"):o+n[a],u+=parseFloat(r(e,s))||0}return u}var I={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 getWH(e,t,n){var o=n;if(isWindow(e))return"width"===t?I.viewportWidth(e):I.viewportHeight(e);if(9===e.nodeType)return"width"===t?I.docWidth(e):I.docHeight(e);var i="width"===t?["Left","Right"]:["Top","Bottom"],a="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),u=isBorderBoxFn(e),s=0;(null==a||a<=0)&&(a=void 0,(null==(s=r(e,t))||0>Number(s))&&(s=e.style[t]||0),s=Math.floor(parseFloat(s))||0),void 0===o&&(o=u?1:-1);var l=void 0!==a||u,c=a||s;return -1===o?l?c-getPBMWidth(e,["border","padding"],i):s:l?1===o?c:c+(2===o?-getPBMWidth(e,["border"],i):getPBMWidth(e,["margin"],i)):s+getPBMWidth(e,z.slice(o),i)}each(["Width","Height"],function(e){I["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],I["viewport".concat(e)](n))},I["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 X={position:"absolute",visibility:"hidden",display:"block"};function getWHIgnoreDisplay(){for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];var i=n[0];return 0!==i.offsetWidth?e=getWH.apply(void 0,n):function(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])}(i,X,function(){e=getWH.apply(void 0,n)}),e}function mix(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}each(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);I["outer".concat(t)]=function(t,n){return t&&getWHIgnoreDisplay(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];I[e]=function(t,o){var i=o;return void 0!==i?t?(isBorderBoxFn(t)&&(i+=getPBMWidth(t,["padding","border"],n)),css(t,e,i)):void 0:t&&getWHIgnoreDisplay(t,e,-1)}});var Y={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:getDocument,offset:function(e,t,n){if(void 0===t)return getOffset(e);!function(e,t,n){if(n.ignoreShake){var o,i,r,a=getOffset(e),u=a.left.toFixed(0),s=a.top.toFixed(0),l=t.left.toFixed(0),c=t.top.toFixed(0);if(u===l&&s===c)return}n.useCssRight||n.useCssBottom?setLeftTop(e,t,n):n.useCssTransform&&getTransformName() in document.body.style?(o=getOffset(e),r={x:(i=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(getTransformName());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)).x,y:i.y},"left"in t&&(r.x=i.x+t.left-o.left),"top"in t&&(r.y=i.y+t.top-o.top),function(e,t){var n=window.getComputedStyle(e,null),o=n.getPropertyValue("transform")||n.getPropertyValue(getTransformName());if(o&&"none"!==o){var i,r=o.match(H);r?((i=(r=r[1]).split(",").map(function(e){return parseFloat(e,10)}))[4]=t.x,i[5]=t.y,setTransform(e,"matrix(".concat(i.join(","),")"))):((i=o.match(N)[1].split(",").map(function(e){return parseFloat(e,10)}))[12]=t.x,i[13]=t.y,setTransform(e,"matrix3d(".concat(i.join(","),")")))}else setTransform(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,r)):setLeftTop(e,t,n)}(e,t,n||{})},isWindow:isWindow,each:each,css:css,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:mix,getWindowScrollLeft:function(e){return getScroll(e)},getWindowScrollTop:function(e){return getScroll(e,!0)},merge:function(){for(var e={},t=0;t<arguments.length;t++)Y.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e}
1,viewportWidth:0,viewportHeight:0};mix(Y,I);var _=Y.getParent;function getOffsetParent(e){if(Y.isWindow(e)||9===e.nodeType)return null;var t,n=Y.getDocument(e).body,o=Y.css(e,"position");if(!("fixed"===o||"absolute"===o))return"html"===e.nodeName.toLowerCase()?null:_(e);for(t=_(e);t&&t!==n&&9!==t.nodeType;t=_(t))if("static"!==(o=Y.css(t,"position")))return t;return null}var U=Y.getParent;function getVisibleRectForElement(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},o=getOffsetParent(e),i=Y.getDocument(e),r=i.defaultView||i.parentWindow,a=i.body,u=i.documentElement;o;){if((-1===navigator.userAgent.indexOf("MSIE")||0!==o.clientWidth)&&o!==a&&o!==u&&"visible"!==Y.css(o,"overflow")){var s=Y.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===a||o===u)break;o=getOffsetParent(o)}var l=null;Y.isWindow(e)||9===e.nodeType||(l=e.style.position,"absolute"!==Y.css(e,"position")||(e.style.position="fixed"));var c=Y.getWindowScrollLeft(r),p=Y.getWindowScrollTop(r),f=Y.viewportWidth(r),d=Y.viewportHeight(r),h=u.scrollWidth,m=u.scrollHeight,g=window.getComputedStyle(a);if("hidden"===g.overflowX&&(h=r.innerWidth),"hidden"===g.overflowY&&(m=r.innerHeight),e.style&&(e.style.position=l),t||function(e){if(Y.isWindow(e)||9===e.nodeType)return!1;var t=Y.getDocument(e),n=t.body,o=null;for(o=U(e);o&&o!==n&&o!==t;o=U(o))if("fixed"===Y.css(o,"position"))return!0;return!1}(e))n.left=Math.max(n.left,c),n.top=Math.max(n.top,p),n.right=Math.min(n.right,c+f),n.bottom=Math.min(n.bottom,p+d);else{var v=Math.max(h,c+f);n.right=Math.min(n.right,v);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 getRegion(e){if(Y.isWindow(e)||9===e.nodeType){var t,n,o,i=Y.getWindow(e);t={left:Y.getWindowScrollLeft(i),top:Y.getWindowScrollTop(i)},n=Y.viewportWidth(i),o=Y.viewportHeight(i)}else t=Y.offset(e),n=Y.outerWidth(e),o=Y.outerHeight(e);return t.width=n,t.height=o,t}function getAlignOffset(e,t){var n=t.charAt(0),o=t.charAt(1),i=e.width,r=e.height,a=e.left,u=e.top;return"c"===n?u+=r/2:"b"===n&&(u+=r),"c"===o?a+=i/2:"r"===o&&(a+=i),{left:a,top:u}}function getElFuturePos(e,t,n,o,i){var r=getAlignOffset(t,n[1]),a=getAlignOffset(e,n[0]),u=[a.left-r.left,a.top-r.top];return{left:Math.round(e.left-u[0]+o[0]-i[0]),top:Math.round(e.top-u[1]+o[1]-i[1])}}function isFailX(e,t,n){return e.left<n.left||e.left+t.width>n.right}function isFailY(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function flip(e,t,n){var o=[];return Y.each(e,function(e){o.push(e.replace(t,function(e){return n[e]}))}),o}function flipOffset(e,t){return e[t]=-e[t],e}function convertOffset(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function normalizeOffset(e,t){e[0]=convertOffset(e[0],t.width),e[1]=convertOffset(e[1],t.height)}function doAlign(e,t,n,o){var i=n.points,r=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,s=n.source||e;r=[].concat(r),a=[].concat(a);var l={},c=0,p=getVisibleRectForElement(s,!!(u=u||{}).alwaysByViewport),f=getRegion(s);normalizeOffset(r,f),normalizeOffset(a,t);var d=getElFuturePos(f,t,i,r,a),h=Y.merge(f,d);if(p&&(u.adjustX||u.adjustY)&&o){if(u.adjustX&&isFailX(d,f,p)){var m,g,v,w,y=flip(i,/[lr]/gi,{l:"r",r:"l"}),b=flipOffset(r,0),A=flipOffset(a,0);(w=getElFuturePos(f,t,y,b,A)).left>p.right||w.left+f.width<p.left||(c=1,i=y,r=b,a=A)}if(u.adjustY&&isFailY(d,f,p)){var T,x=flip(i,/[tb]/gi,{t:"b",b:"t"}),C=flipOffset(r,1),M=flipOffset(a,1);(T=getElFuturePos(f,t,x,C,M)).top>p.bottom||T.top+f.height<p.top||(c=1,i=x,r=C,a=M)}c&&(d=getElFuturePos(f,t,i,r,a),Y.mix(h,d));var P=isFailX(d,f,p),k=isFailY(d,f,p);if(P||k){var O=i;P&&(O=flip(i,/[lr]/gi,{l:"r",r:"l"}
1)),k&&(O=flip(i,/[tb]/gi,{t:"b",b:"t"})),i=O,r=n.offset||[0,0],a=n.targetOffset||[0,0]}l.adjustX=u.adjustX&&P,l.adjustY=u.adjustY&&k,(l.adjustX||l.adjustY)&&(m=d,g=Y.clone(m),v={width:f.width,height:f.height},l.adjustX&&g.left<p.left&&(g.left=p.left),l.resizeWidth&&g.left>=p.left&&g.left+v.width>p.right&&(v.width-=g.left+v.width-p.right),l.adjustX&&g.left+v.width>p.right&&(g.left=Math.max(p.right-v.width,p.left)),l.adjustY&&g.top<p.top&&(g.top=p.top),l.resizeHeight&&g.top>=p.top&&g.top+v.height>p.bottom&&(v.height-=g.top+v.height-p.bottom),l.adjustY&&g.top+v.height>p.bottom&&(g.top=Math.max(p.bottom-v.height,p.top)),h=Y.mix(g,v))}return h.width!==f.width&&Y.css(s,"width",Y.width(s)+h.width-f.width),h.height!==f.height&&Y.css(s,"height",Y.height(s)+h.height-f.height),Y.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:a,overflow:l}}function alignElement(e,t,n){var o,i,r=n.target||t,a=getRegion(r),u=(o=getVisibleRectForElement(r,n.overflow&&n.overflow.alwaysByViewport),i=getRegion(r),!!o&&!(i.left+i.width<=o.left)&&!(i.top+i.height<=o.top)&&!(i.left>=o.right)&&!(i.top>=o.bottom));return doAlign(e,a,n,u)}alignElement.__getOffsetParent=getOffsetParent,alignElement.__getVisibleRectForElement=getVisibleRectForElement;var q=n(43210),K=n(42467),$=n(30981),useBuffer=function(e,t){var n=m().useRef(!1),o=m().useRef(null);function cancelTrigger(){window.clearTimeout(o.current)}return[function trigger(i){if(cancelTrigger(),n.current&&!0!==i)o.current=window.setTimeout(function(){n.current=!1,trigger()},t);else{if(!1===e(i))return;n.current=!0,o.current=window.setTimeout(function(){n.current=!1},t)}},function(){n.current=!1,cancelTrigger()}]},Z=n(43591);function monitorResize(e,t){var n=null,o=null,i=new Z.A(function(e){var i=(0,k.A)(e,1)[0].target;if(document.documentElement.contains(i)){var r=i.getBoundingClientRect(),a=r.width,u=r.height,s=Math.floor(a),l=Math.floor(u);(n!==s||o!==l)&&Promise.resolve().then(function(){t({width:s,height:l})}),n=s,o=l}});return e&&i.observe(e),function(){i.disconnect()}}function getElement(e){return"function"!=typeof e?null:e()}function getPoint(e){return"object"===(0,S.A)(e)&&e?e:null}var G=m().forwardRef(function(e,t){var n=e.children,o=e.disabled,i=e.target,r=e.align,a=e.onAlign,u=e.monitorWindowResize,s=e.monitorBufferTime,l=void 0===s?0:s,c=m().useRef({}),p=m().useRef(),f=m().Children.only(n),d=m().useRef({});d.current.disabled=o,d.current.target=i,d.current.align=r,d.current.onAlign=a;var h=useBuffer(function(){var e=d.current,t=e.disabled,n=e.target,o=e.align,i=e.onAlign,r=p.current;if(!t&&n&&r){var a,u,s,l,f,h,m,g,v,w,b,A,T=getElement(n),x=getPoint(n);c.current.element=T,c.current.point=x,c.current.align=o;var C=document.activeElement;return T&&(0,K.A)(T)?A=alignElement(r,T,o):x&&(l=(s=Y.getDocument(r)).defaultView||s.parentWindow,f=Y.getWindowScrollLeft(l),h=Y.getWindowScrollTop(l),m=Y.viewportWidth(l),g=Y.viewportHeight(l),v={left:a="pageX"in x?x.pageX:f+x.clientX,top:u="pageY"in x?x.pageY:h+x.clientY,width:0,height:0},w=a>=0&&a<=f+m&&u>=0&&u<=h+g,b=[o.points[0],"cc"],A=doAlign(r,v,_objectSpread2(_objectSpread2({},o),{},{points:b}),w)),C!==document.activeElement&&(0,y.A)(r,C)&&"function"==typeof C.focus&&C.focus(),i&&A&&i(r,A),!0}return!1},l),g=(0,k.A)(h,2),v=g[0],w=g[1],b=m().useState(),x=(0,k.A)(b,2),C=x[0],M=x[1],P=m().useState(),O=(0,k.A)(P,2),E=O[0],D=O[1];return(0,$.A)(function(){M(getElement(i)),D(getPoint(i))}),m().useEffect(function(){var e;c.current.element===C&&((e=c.current.point)===E||e&&E&&("pageX"in E&&"pageY"in E?e.pageX===E.pageX&&e.pageY===E.pageY:"clientX"in E&&"clientY"in E&&e.clientX===E.clientX&&e.clientY===E.clientY))&&(0,q.A)(c.current.align,r)||v()}),m().useEffect(function(){return monitorResize(p.current,v)},[p.current]),m().useEffect(function(){return monitorResize(C,v)},[C]),m().useEffect(function(){o?w():v()},[o]),m().useEffect(function(){if(u)return(0,T.A)(window,"resize",v).remove},[u]),m().useEffect(function(){return function(){w()}},[]),m().useImperativeHandle(t,function(){return{forceAlign:function(){return v(!0)}}}),m().isValidElement(f)&&(f=m().cloneElement(f,{ref:(0,A.K4)(f.ref,p)})),f});G.displayName="Align";
1var J=n(40798),Q=n(10467),ee=n(1233),et=["measure","alignPre","align",null,"motion"],useVisibleStatus=function(e,t){var n=(0,ee.A)(null),o=(0,k.A)(n,2),i=o[0],r=o[1],a=(0,h.useRef)();function cancelRaf(){w.A.cancel(a.current)}return(0,h.useEffect)(function(){r("measure",!0)},[e]),(0,h.useEffect)(function(){"measure"===i&&t(),i&&(a.current=(0,w.A)((0,Q.A)((0,J.A)().mark(function _callee(){var e,t;return(0,J.A)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:e=et.indexOf(i),(t=et[e+1])&&-1!==e&&r(t,!0);case 3:case"end":return n.stop()}},_callee)}))))},[i]),(0,h.useEffect)(function(){return function(){cancelRaf()}},[]),[i,function(e){cancelRaf(),a.current=(0,w.A)(function(){r(function(e){switch(i){case"align":return"motion";case"motion":return"stable"}return e},!0),null==e||e()})}]},useStretchStyle=function(e){var t=h.useState({width:0,height:0}),n=(0,k.A)(t,2),o=n[0],i=n[1];return[h.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){var t=e.offsetWidth,n=e.offsetHeight,o=e.getBoundingClientRect(),r=o.width,a=o.height;1>Math.abs(t-r)&&1>Math.abs(n-a)&&(t=r,n=a),i({width:t,height:n})}]},en=h.forwardRef(function(e,t){var n=e.visible,o=e.prefixCls,i=e.className,r=e.style,s=e.children,l=e.zIndex,c=e.stretch,p=e.destroyPopupOnHide,f=e.forceRender,d=e.align,m=e.point,g=e.getRootDomNode,v=e.getClassNameFromAlign,w=e.onAlign,y=e.onMouseEnter,b=e.onMouseLeave,A=e.onMouseDown,T=e.onTouchStart,x=e.onClick,C=(0,h.useRef)(),M=(0,h.useRef)(),O=(0,h.useState)(),E=(0,k.A)(O,2),S=E[0],R=E[1],H=useStretchStyle(c),N=(0,k.A)(H,2),V=N[0],W=N[1],L=useVisibleStatus(n,function(){c&&W(g())}),F=(0,k.A)(L,2),B=F[0],j=F[1],z=(0,h.useState)(0),I=(0,k.A)(z,2),X=I[0],Y=I[1],_=(0,h.useRef)();function forceAlign(){var e;null===(e=C.current)||void 0===e||e.forceAlign()}function onInternalAlign(e,t){var n=v(t);S!==n&&R(n),Y(function(e){return e+1}),"align"===B&&(null==w||w(e,t))}(0,$.A)(function(){"alignPre"===B&&Y(0)},[B]),(0,$.A)(function(){"align"===B&&(X<3?forceAlign():j(function(){var e;null===(e=_.current)||void 0===e||e.call(_)}))},[X]);var U=(0,a.A)({},getMotion(e));function onShowPrepare(){return new Promise(function(e){_.current=e})}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(e){var t=U[e];U[e]=function(e,n){return j(),null==t?void 0:t(e,n)}}),h.useEffect(function(){U.motionName||"motion"!==B||j()},[U.motionName,B]),h.useImperativeHandle(t,function(){return{forceAlign:forceAlign,getElement:function(){return M.current}}});var q=(0,a.A)((0,a.A)({},V),{},{zIndex:l,opacity:"motion"!==B&&"stable"!==B&&n?0:void 0,pointerEvents:n||"stable"===B?void 0:"none"},r),K=!0;null!=d&&d.points&&("align"===B||"stable"===B)&&(K=!1);var Z=s;return h.Children.count(s)>1&&(Z=h.createElement("div",{className:"".concat(o,"-content")},s)),h.createElement(D.default,(0,u.A)({visible:n,ref:M,leavedClassName:"".concat(o,"-hidden")},U,{onAppearPrepare:onShowPrepare,onEnterPrepare:onShowPrepare,removeOnLeave:p,forceRender:f}),function(e,t){var n=e.className,r=e.style,u=P()(o,i,S,n);return h.createElement(G,{target:m||g,key:"popup",ref:C,monitorWindowResize:!0,disabled:K,align:d,onAlign:onInternalAlign},h.createElement("div",{ref:t,className:u,onMouseEnter:y,onMouseLeave:b,onMouseDownCapture:A,onTouchStartCapture:T,onClick:x,style:(0,a.A)((0,a.A)({},r),q)},Z))})});en.displayName="PopupInner";var eo=h.forwardRef(function(e,t){var n=e.prefixCls,o=e.visible,i=e.zIndex,r=e.children,s=e.mobile,l=(s=void 0===s?{}:s).popupClassName,c=s.popupStyle,p=s.popupMotion,f=void 0===p?{}:p,d=s.popupRender,m=e.onClick,g=h.useRef();h.useImperativeHandle(t,function(){return{forceAlign:function(){},getElement:function(){return g.current}}});var v=(0,a.A)({zIndex:i},c),w=r;return h.Children.count(r)>1&&(w=h.createElement("div",{className:"".concat(n,"-content")},r)),d&&(w=d(w)),h.createElement(D.default,(0,u.A)({visible:o,ref:g,removeOnLeave:!0},f),function(e,t){var o=e.className,i=e.style,r=P()(n,l,o);return h.createElement("div",{ref:t,className:r,onClick:m,style:(0,a.A)((0,a.A)({},i),v)},w)})});eo.displayName="MobilePopupInner";var ei=["visible","mobile"],er=h.forwardRef(function(e,t){var n=e.visible,o=e.mobile,i=(0,O.A)(e,ei),r=(0,h.useState)(n),s=(0,k.A)(r,2),l=s[0],c=s[1],p=(0,h.useState)(!1),f=(0,k.A)(p,2),d=f[0],m=f[1],g=(0,a.A)((0,a.A)({},i),{},{visible:l});(0,h.useEffect)(function(){c(n),n&&o&&m((0,E.A)())},[n,o]);var v=d?h.createElement(eo,(0,u.A)({},g,{mobile:o,ref:t})):h.createElement(en,(0,u.A)({},g,{ref:t}));return h.createElement("div",null,h.createElement(Mask,g),v)});er.displayName="Popup";var ea=h.createContext(null);function noop(){}var eu=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onF
1ocus","onBlur","onContextMenu"],es=(o=function(e){(0,p.A)(Trigger,e);var t=(0,f.A)(Trigger);function Trigger(e){var n,o;return(0,s.A)(this,Trigger),n=t.call(this,e),(0,d.A)((0,c.A)(n),"popupRef",h.createRef()),(0,d.A)((0,c.A)(n),"triggerRef",h.createRef()),(0,d.A)((0,c.A)(n),"portalContainer",void 0),(0,d.A)((0,c.A)(n),"attachId",void 0),(0,d.A)((0,c.A)(n),"clickOutsideHandler",void 0),(0,d.A)((0,c.A)(n),"touchOutsideHandler",void 0),(0,d.A)((0,c.A)(n),"contextMenuOutsideHandler1",void 0),(0,d.A)((0,c.A)(n),"contextMenuOutsideHandler2",void 0),(0,d.A)((0,c.A)(n),"mouseDownTimeout",void 0),(0,d.A)((0,c.A)(n),"focusTime",void 0),(0,d.A)((0,c.A)(n),"preClickTime",void 0),(0,d.A)((0,c.A)(n),"preTouchTime",void 0),(0,d.A)((0,c.A)(n),"delayTimer",void 0),(0,d.A)((0,c.A)(n),"hasPopupMouseDown",void 0),(0,d.A)((0,c.A)(n),"onMouseEnter",function(e){var t=n.props.mouseEnterDelay;n.fireEvents("onMouseEnter",e),n.delaySetPopupVisible(!0,t,t?null:e)}),(0,d.A)((0,c.A)(n),"onMouseMove",function(e){n.fireEvents("onMouseMove",e),n.setPoint(e)}),(0,d.A)((0,c.A)(n),"onMouseLeave",function(e){n.fireEvents("onMouseLeave",e),n.delaySetPopupVisible(!1,n.props.mouseLeaveDelay)}),(0,d.A)((0,c.A)(n),"onPopupMouseEnter",function(){n.clearDelayTimer()}),(0,d.A)((0,c.A)(n),"onPopupMouseLeave",function(e){var t;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,y.A)(null===(t=n.popupRef.current)||void 0===t?void 0:t.getElement(),e.relatedTarget)||n.delaySetPopupVisible(!1,n.props.mouseLeaveDelay)}),(0,d.A)((0,c.A)(n),"onFocus",function(e){n.fireEvents("onFocus",e),n.clearDelayTimer(),n.isFocusToShow()&&(n.focusTime=Date.now(),n.delaySetPopupVisible(!0,n.props.focusDelay))}),(0,d.A)((0,c.A)(n),"onMouseDown",function(e){n.fireEvents("onMouseDown",e),n.preClickTime=Date.now()}),(0,d.A)((0,c.A)(n),"onTouchStart",function(e){n.fireEvents("onTouchStart",e),n.preTouchTime=Date.now()}),(0,d.A)((0,c.A)(n),"onBlur",function(e){n.fireEvents("onBlur",e),n.clearDelayTimer(),n.isBlurToHide()&&n.delaySetPopupVisible(!1,n.props.blurDelay)}),(0,d.A)((0,c.A)(n),"onContextMenu",function(e){e.preventDefault(),n.fireEvents("onContextMenu",e),n.setPopupVisible(!0,e)}),(0,d.A)((0,c.A)(n),"onContextMenuClose",function(){n.isContextMenuToShow()&&n.close()}),(0,d.A)((0,c.A)(n),"onClick",function(e){if(n.fireEvents("onClick",e),n.focusTime){var t;if(n.preClickTime&&n.preTouchTime?t=Math.min(n.preClickTime,n.preTouchTime):n.preClickTime?t=n.preClickTime:n.preTouchTime&&(t=n.preTouchTime),20>Math.abs(t-n.focusTime))return;n.focusTime=0}n.preClickTime=0,n.preTouchTime=0,n.isClickToShow()&&(n.isClickToHide()||n.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var o=!n.state.popupVisible;(n.isClickToHide()&&!o||o&&n.isClickToShow())&&n.setPopupVisible(!n.state.popupVisible,e)}),(0,d.A)((0,c.A)(n),"onPopupMouseDown",function(){if(n.hasPopupMouseDown=!0,clearTimeout(n.mouseDownTimeout),n.mouseDownTimeout=window.setTimeout(function(){n.hasPopupMouseDown=!1},0),n.context){var e;(e=n.context).onPopupMouseDown.apply(e,arguments)}}),(0,d.A)((0,c.A)(n),"onDocumentClick",function(e){if(!n.props.mask||n.props.maskClosable){var t=e.target,o=n.getRootDomNode(),i=n.getPopupDomNode();(!(0,y.A)(o,t)||n.isContextMenuOnly())&&!(0,y.A)(i,t)&&!n.hasPopupMouseDown&&n.close()}}),(0,d.A)((0,c.A)(n),"getRootDomNode",function(){var e=n.props.getTriggerDOMNode;if(e)return e(n.triggerRef.current);try{var t=(0,b.Ay)(n.triggerRef.current);if(t)return t}catch(e){}return v().findDOMNode((0,c.A)(n))}),(0,d.A)((0,c.A)(n),"getPopupClassNameFromAlign",function(e){var t=[],o=n.props,i=o.popupPlacement,r=o.builtinPlacements,a=o.prefixCls,u=o.alignPoint,s=o.getPopupClassNameFromAlign;return i&&r&&t.push(function(e,t,n,o){for(var i=n.points,r=Object.keys(e),a=0;a<r.length;a+=1){var u,s=r[a];if(u=e[s].points,o?u[0]===i[0]:u[0]===i[0]&&u[1]===i[1])return"".concat(t,"-placement-").concat(s)}return""}(r,a,e,u)),s&&t.push(s(e)),t.join(" ")}),(0,d.A)((0,c.A)(n),"getComponent",function(){var e=n.props,t=e.prefixCls,o=e.destroyPopupOnHide,i=e.popupClassName,r=e.onPopupAlign,a=e.popupMotion,s=e.popupAnimation,l=e.popupTransitionName,c=e.popupStyle,p=e.mask,f=e.maskAnimation,d=e.maskTransitionName,m=e.maskMotion,g=e.zIndex,v=e.popup,w=e.stretch,y=e.alignPoint,b=e.mobile,A=e.forceRender,T=e.onPopupClick,x=n.state,C=x.popupVisible,M=x.point,P=n.getPopupAlign(),k={};return n.isMouseEnterToShow()&&(k.onMouseEnter=n.onPopupMouseEnter),n.isMouseLeaveToHide()&&(k.onMouseLeave=n.onPopupMouseLeave),k.onMouseDown=n.onPopupMouseDown,k.onTouchStart=n.onPopupMouseDown,h.createElement(er,(0,u.A)({prefixCls:t,destroyPopupOnHide:o,visible:C,point:y&&M,className:i,align:P,onAlign:r,animation:s,getClassNameFromAlign:n.getPopupClassNameFromAlign}
1,k,{stretch:w,getRootDomNode:n.getRootDomNode,style:c,mask:p,zIndex:g,transitionName:l,maskAnimation:f,maskTransitionName:d,maskMotion:m,ref:n.popupRef,motion:a,mobile:b,forceRender:A,onClick:T}),"function"==typeof v?v():v)}),(0,d.A)((0,c.A)(n),"attachParent",function(e){w.A.cancel(n.attachId);var t,o=n.props,i=o.getPopupContainer,r=o.getDocument,a=n.getRootDomNode();i?(a||0===i.length)&&(t=i(a)):t=r(n.getRootDomNode()).body,t?t.appendChild(e):n.attachId=(0,w.A)(function(){n.attachParent(e)})}),(0,d.A)((0,c.A)(n),"getContainer",function(){if(!n.portalContainer){var e=(0,n.props.getDocument)(n.getRootDomNode()).createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",n.portalContainer=e}return n.attachParent(n.portalContainer),n.portalContainer}),(0,d.A)((0,c.A)(n),"setPoint",function(e){n.props.alignPoint&&e&&n.setState({point:{pageX:e.pageX,pageY:e.pageY}})}),(0,d.A)((0,c.A)(n),"handlePortalUpdate",function(){n.state.prevPopupVisible!==n.state.popupVisible&&n.props.afterPopupVisibleChange(n.state.popupVisible)}),(0,d.A)((0,c.A)(n),"triggerContextValue",{onPopupMouseDown:n.onPopupMouseDown}),o="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,n.state={prevPopupVisible:o,popupVisible:o},eu.forEach(function(e){n["fire".concat(e)]=function(t){n.fireEvents(e,t)}}),n}return(0,l.A)(Trigger,[{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=(0,T.A)(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=(0,T.A)(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=(0,T.A)(e,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,T.A)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),w.A.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,t=this.props,n=t.popupPlacement,o=t.popupAlign,i=t.builtinPlacements;return n&&i?(e=i[n]||{},(0,a.A)((0,a.A)({},e),o)):o}},{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(){if(this.state.popupVisible){var e;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 e,t=this.state.popupVisible,n=this.props,o=n.children,i=n.forceRender,r=n.alignPoint,u=n.className,s=n.autoDestroy,l=h.Children.only(o),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,r&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var p=P()(l&&l.props&&l.props.className,u);p&&(c.className=p);var f=(0,a.A)({},c);(0,A.f3)(l)&&(f.ref=(0,A.K4)(this.triggerRef,l.ref));var d=h.cloneElement(l,f);return(t||this.popupRef.current||i)&&(e=h.createElement(C,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&s&&(e=null),h.createElement(ea.Provider,{value:this.triggerContextValue},d,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}}]),Trigger}(h.Component),(0,d.A)(o,"contextType",ea),(0,d.A)(o,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(e){return e?e.ownerDocument:window.document},onPopupVisibleChange:noop,afterPopupVisibleChange:noop,onPopupAlign:noop,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),o)},69916:function(e,t,n){n.d(t,{A:function(){return addEventListenerWrap}});var o=n(10486),i=n.n(o);function addEventListenerWrap(e,t,n,o){var r=i().unstable_batchedUpdates?function(e){i().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)}}}},54808:function(e,t,n){n.d(t,{A:function(){return contains}});function contains(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}},42467:function(e,t){t.A=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,o=t.height;if(n||o)return!0}if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),r=i.width,a=i.height;if(r||a)return!0}}return!1}},68430:function(e,t){t.A=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.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.