1/*! For license information please see 3599.188a0bf5.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkbelgiumwebnet=self.webpackChunkbelgiumwebnet||[]).push([[3599],{38302:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(87462),r=n(45987),i=n(72791),a=n(28182),u=n(38317),s=n(91122),l={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},c=i.forwardRef((function(e,t){var n=e.align,u=void 0===n?"inherit":n,c=e.classes,f=e.className,p=e.color,d=void 0===p?"initial":p,v=e.component,h=e.display,m=void 0===h?"initial":h,g=e.gutterBottom,y=void 0!==g&&g,b=e.noWrap,w=void 0!==b&&b,k=e.paragraph,E=void 0!==k&&k,C=e.variant,Z=void 0===C?"body1":C,M=e.variantMapping,x=void 0===M?l:M,T=(0,r.Z)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),S=v||(E?"p":x[Z]||l[Z])||"span";return i.createElement(S,(0,o.Z)({className:(0,a.Z)(c.root,f,"inherit"!==Z&&c[Z],"initial"!==d&&c["color".concat((0,s.Z)(d))],w&&c.noWrap,y&&c.gutterBottom,E&&c.paragraph,"inherit"!==u&&c["align".concat((0,s.Z)(u))],"initial"!==m&&c["display".concat((0,s.Z)(m))]),ref:t},T))}));const f=(0,u.Z)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(c)},98018:(e,t,n)=>{n.d(t,{default:()=>ao});var o=n(1413),r=n(15671),i=n(43144),a=n(89611);function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,a.Z)(e,t)}
2function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}var c=n(71002),f=n(97326);function p(e){var t=l();return function(){var n,o=s(e);if(t){var r=s(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==(0,c.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,f.Z)(e)}(this,n)}}var d=n(72791),v={},h=[];function m(e,t){}function g(e,t){}function y(e,t,n){t||v[n]||(e(!1,n),v[n]=!0)}function b(e,t){y(m,e,t)}b.preMessage=function(e){h.push(e)},b.resetWarned=function(){v={}},b.noteOnce=function(e,t){y(g,e,t)};const w=b;var k=n(4942);const E=function(e){var t,n,r=e.className,i=e.included,a=e.vertical,u=e.style,s=e.length,l=e.offset,c=e.reverse;s<0&&(c=!c,s=Math.abs(s),l=100-l);var f=a?(t={},(0,k.Z)(t,c?"top":"bottom","".concat(l,"%")),(0,k.Z)(t,c?"bottom":"top","auto"),(0,k.Z)(t,"height","".concat(s,"%")),t):(n={},(0,k.Z)(n,c?"right":"left","".concat(l,"%")),(0,k.Z)(n,c?"left":"right","auto"),(0,k.Z)(n,"width","".concat(s,"%")),n),p=(0,o.Z)((0,o.Z)({},u),f);return i?d.createElement("div",{className:r,style:p}):null};var C=n(87462),Z=n(45987),M=n(42982);function x(){return x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},x.apply(null,arguments)}var T=n(54164);function S(e,t,n,o){var r=T.unstable_batchedUpdates?function(e){T.unstable_batchedUpdates(n,e)}:n;return null!==e&&void 0!==e&&e.addEventListener&&e.addEventListener(t,r,o),{remove:function(){null!==e&&void 0!==e&&e.removeEventListener&&e.removeEventListener(t,r,o)}}}var O=n(41418),P=n.n(O);const N=function(e){var t=e.prefixCls,n=e.vertical,r=e.reverse,i=e.marks,a=e.dots,u=e.step,s=e.included,l=e.lowerBound,c=e.upperBound,f=e.max,p=e.min,v=e.dotStyle,h=e.activeDotStyle,m=f-p,g=function(e,t,n,o,r,i){w(!n||o>0,"`Slider[step]` should be a positive number in order to make Slider[dots] work.");var a=Object.keys(t).map(parseFloat).sort((function(e,t){return e-t}));if(n&&o)for(var u=r;u<=i;u+=o)-1===a.indexOf(u)&&a.push(u);return a}(0,i,a,u,p,f).map((function(e){var i,a="".concat(Math.abs(e-p)/m*100,"%"),u=!s&&e===c||s&&e<=c&&e>=l,f=n?(0,o.Z)((0,o.Z)({},v),{},(0,k.Z)({},r?"top":"bottom",a)):(0,o.Z)((0,o.Z)({},v),{},(0,k.Z)({},r?"right":"left",a));u&&(f=(0,o.Z)((0,o.Z)({},f),h));var g=P()((i={},(0,k.Z)(i,"".concat(t,"-dot"),!0),(0,k.Z)(i,"".concat(t,"-dot-active"),u),(0,k.Z)(i,"".concat(t,"-dot-reverse"),r),i));return d.createElement("span",{className:g,style:f,key:e})}));return d.createElement("div",{className:"".concat(t,"-step")},g)};const D=function(e){var t=e.className,n=e.vertical,r=e.reverse,i=e.marks,a=e.included,u=e.upperBound,s=e.lowerBound,l=e.max,f=e.min,p=e.onClickLabel,v=Object.keys(i),h=l-f,m=v.map(parseFloat).sort((function(e,t){return e-t})).map((function(e){var l,v=i[e],m="object"===(0,c.Z)(v)&&!d.isValidElement(v),g=m?v.label:v;if(!g&&0!==g)return null;var y=!a&&e===u||a&&e<=u&&e>=s,b=P()((l={},(0,k.Z)(l,"".concat(t,"-text"),!0),(0,k.Z)(l,"".concat(t,"-text-active"),y),l)),w=(0,k.Z)({marginBottom:"-50%"},r?"top":"bottom","".concat((e-f)/h*100,"%")),E=(0,k.Z)({transform:"translateX(".concat(r?"50%":"-50%",")"),msTransform:"translateX(".concat(r?"50%":"-50%",")")},r?"right":"left","".concat((e-f)/h*100,"%")),C=n?w:E,Z=m?(0,o.Z)((0,o.Z)({},C),v.style):C;return d.createElement("span",{className:b,style:Z,key:e,onMouseDown:function(t){return p(t,e)},onTouchStart:function(t){return p(t,e)}},g)}));return d.createElement("div",{className:t},m)};var R=function(e){u(n,e);var t=p(n);function n(){var e;return(0,r.Z)(this,n),(e=t.apply(this,arguments)).state={clickFocused:!1},e.setHandleRef=function(t){e.handle=t},e.handleMouseUp=function(){document.activeElement===e.handle&&e.setClickFocus(!0)},e.handleMouseDown=function(t){t.preventDefault(),e.focus()},e.handleBlur=function(){e.setClickFocus(!1)},e.handleKeyDown=function(){e.setClickFocus(!1)},e}
2return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.onMouseUpListener=S(document,"mouseup",this.handleMouseUp)}},{key:"componentWillUnmount",value:function(){this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"setClickFocus",value:function(e){this.setState({clickFocused:e})}},{key:"clickFocus",value:function(){this.setClickFocus(!0),this.focus()}},{key:"focus",value:function(){this.handle.focus()}},{key:"blur",value:function(){this.handle.blur()}},{key:"render",value:function(){var e,t,n,r=this.props,i=r.prefixCls,a=r.vertical,u=r.reverse,s=r.offset,l=r.style,c=r.disabled,f=r.min,p=r.max,v=r.value,h=r.tabIndex,m=r.ariaLabel,g=r.ariaLabelledBy,y=r.ariaValueTextFormatter,b=(0,Z.Z)(r,["prefixCls","vertical","reverse","offset","style","disabled","min","max","value","tabIndex","ariaLabel","ariaLabelledBy","ariaValueTextFormatter"]),w=P()(this.props.className,(0,k.Z)({},"".concat(i,"-handle-click-focused"),this.state.clickFocused)),E=a?(e={},(0,k.Z)(e,u?"top":"bottom","".concat(s,"%")),(0,k.Z)(e,u?"bottom":"top","auto"),(0,k.Z)(e,"transform",u?null:"translateY(+50%)"),e):(t={},(0,k.Z)(t,u?"right":"left","".concat(s,"%")),(0,k.Z)(t,u?"left":"right","auto"),(0,k.Z)(t,"transform","translateX(".concat(u?"+":"-","50%)")),t),M=(0,o.Z)((0,o.Z)({},l),E),x=h||0;return(c||null===h)&&(x=null),y&&(n=y(v)),d.createElement("div",(0,C.Z)({ref:this.setHandleRef,tabIndex:x},b,{className:w,style:M,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,role:"slider","aria-valuemin":f,"aria-valuemax":p,"aria-valuenow":v,"aria-disabled":!!c,"aria-label":m,"aria-labelledby":g,"aria-valuetext":n}))}}]),n}(d.Component),A={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=A.F1&&t<=A.F12)return!1;switch(t){case A.ALT:case A.CAPS_LOCK:case A.CONTEXT_MENU:case A.CTRL:case A.DOWN:case A.END:case A.ESC:case A.HOME:case A.INSERT:case A.LEFT:case A.MAC_FF_META:case A.META:case A.NUMLOCK:case A.NUM_CENTER:case A.PAGE_DOWN:case A.PAGE_UP:case A.PAUSE:case A.PRINT_SCREEN:case A.RIGHT:case A.SHIFT:case A.UP:case A.WIN_KEY:case A.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=A.ZERO&&e<=A.NINE)return!0;if(e>=A.NUM_ZERO&&e<=A.NUM_MULTIPLY)return!0;if(e>=A.A&&e<=A.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case A.SPACE:case A.QUESTION_MARK:case A.NUM_PLUS:case A.NUM_MINUS:case A.NUM_PE
vendor: 4,471 bytes, line 2
2RIOD:case A.NUM_DIVISION:case A.SEMICOLON:case A.DASH:case A.EQUALS:case A.COMMA:case A.PERIOD:case A.SLASH:case A.APOSTROPHE:case A.SINGLE_QUOTE:case A.OPEN_SQUARE_BRACKET:case A.BACKSLASH:case A.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const L=A;function H(e,t){try{return Object.keys(t).some((function(n){return e.target===(0,T.findDOMNode)(t[n])}))}catch(n){return!1}}function V(e,t){var n=t.min,o=t.max;return e<n||e>o}function F(e){return e.touches.length>1||"touchend"===e.type.toLowerCase()&&e.touches.length>0}function B(e,t){var n=t.marks,o=t.step,r=t.min,i=t.max,a=Object.keys(n).map(parseFloat);if(null!==o){var u=Math.pow(10,I(o)),s=Math.floor((i*u-r*u)/(o*u)),l=Math.min((e-r)/o,s),c=Math.round(l)*o+r;a.push(c)}var f=a.map((function(t){return Math.abs(e-t)}));return a[f.indexOf(Math.min.apply(Math,(0,M.Z)(f)))]}function I(e){var t=e.toString(),n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function U(e,t){return e?t.clientY:t.pageX}function _(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function j(e,t){var n=t.getBoundingClientRect();return e?n.top+.5*n.height:window.pageXOffset+n.left+.5*n.width}function W(e,t){var n=t.max,o=t.min;return e<=o?o:e>=n?n:e}function X(e,t){var n=t.step,o=isFinite(B(e,t))?B(e,t):0;return null===n?o:parseFloat(o.toFixed(I(n)))}function G(e){e.stopPropagation(),e.preventDefault()}function K(e,t,n){var o="increase",r="decrease",i=o;switch(e.keyCode){case L.UP:i=t&&n?r:o;break;case L.RIGHT:i=!t&&n?r:o;break;case L.DOWN:i=t&&n?o:r;break;case L.LEFT:i=!t&&n?o:r;break;case L.END:return function(e,t){return t.max};case L.HOME:return function(e,t){return t.min};case L.PAGE_UP:return function(e,t){return e+2*t.step};case L.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}return function(e,t){return function(e,t,n){var o={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}},r=o[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),i=Object.keys(n.marks)[r];return n.step?o[e](t,n.step):Object.keys(n.marks).length&&n.marks[i]?n.marks[i]:t}(i,e,t)}}function Y(){}function z(e){var t;return t=function(e){u(n,e);var t=p(n);function n(e){var o;(0,r.Z)(this,n),(o=t.call(this,e)).onDown=function(e,t){var n=t,r=o.props,i=r.draggableTrack,a=r.vertical,u=o.state.bounds,s=i&&o.positionGetValue&&o.positionGetValue(n)||[],l=H(e,o.handlesRefs);if(o.dragTrack=i&&u.length>=2&&!l&&!s.map((function(e,t){var n=!!t||e>=u[t];return t===s.length-1?e<=u[t]:n})).some((function(e){return!e})),o.dragTrack)o.dragOffset=n,o.startBounds=(0,M.Z)(u);else{if(l){var c=j(a,e.target);o.dragOffset=n-c,n=c}else o.dragOffset=0;o.onStart(n)}},o.onMouseDown=function(e){if(0===e.button){o.removeDocumentEvents();var t=U(o.props.vertical,e);o.onDown(e,t),o.addDocumentMouseEvents()}},o.onTouchStart=function(e){if(!F(e)){var t=_(o.props.vertical,e);o.onDown(e,t),o.addDocumentTouchEvents(),G(e)}},o.onFocus=function(e){var t=o.props,n=t.onFocus,r=t.vertical;if(H(e,o.handlesRefs)&&!o.dragTrack){var i=j(r,e.target);o.dragOffset=0,o.onStart(i),G(e),n&&n(e)}},o.onBlur=function(e){var t=o.props.onBlur;o.dragTrack||o.onEnd(),t&&t(e)},o.onMouseUp=function(){o.handlesRefs[o.prevMovedHandleIndex]&&o.handlesRefs[o.prevMovedHandleIndex].clickFocus()},o.onMouseMove=function(e){if(o.sliderRef){var t=U(o.props.vertical,e);o.onMove(e,t-o.dragOffset,o.dragTrack,o.startBounds)}else o.onEnd()},o.onTouchMove=function(e){if(!F(e)&&o.sliderRef){var t=_(o.props.vertical,e);o.onMove(e,t-o.dragOffset,o.dragTrack,o.startBounds)}else o.onEnd()},o.onKeyDown=function(e){o.sliderRef&&H(e,o.handlesRefs)&&o.onKeyboard(e)},o.onClickMarkLabel=function(e,t){e.stopPropagation(),o.onChange({value:t}),o.setState({value:t},(function(){return o.onEnd(!0)}))},o.saveSlider=function(e){o.sliderRef=e};var i=e.step,a=e.max,u=e.min,s=!isFinite(a-u)||(a-u)%i===0;return w(!i||Math.floor(i)!==i||s,"Slider[max] - Slider[min] (".concat(a-u,") should be a multiple of Slider[step] (").concat(i,")")),o.handlesRefs={},o}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.document=this.sliderRef&&this.sliderRef.ownerDocument;var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"componentWillUnmount",value:function(){x(s(n.prototype),"componentWillUnmount",this)&&x(s(n.prototype),"componentWillUnmount",this).call(this),this.removeDocumentEvents()}},{key:"getSliderStart",value:function(){var e=this.sliderRef,t=this.props,n=t.vertical,o=t.reverse,r=e.getBoundingClientRect();
2return n?o?r.bottom:r.top:window.pageXOffset+(o?r.right:r.left)}},{key:"getSliderLength",value:function(){var e=this.sliderRef;if(!e)return 0;var t=e.getBoundingClientRect();return this.props.vertical?t.height:t.width}},{key:"addDocumentTouchEvents",value:function(){this.onTouchMoveListener=S(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=S(this.document,"touchend",this.onEnd)}},{key:"addDocumentMouseEvents",value:function(){this.onMouseMoveListener=S(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=S(this.document,"mouseup",this.onEnd)}},{key:"removeDocumentEvents",value:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"focus",value:function(){var e;this.props.disabled||null===(e=this.handlesRefs[0])||void 0===e||e.focus()}},{key:"blur",value:function(){var e=this;this.props.disabled||Object.keys(this.handlesRefs).forEach((function(t){var n,o;null===(n=e.handlesRefs[t])||void 0===n||null===(o=n.blur)||void 0===o||o.call(n)}))}},{key:"calcValue",value:function(e){var t=this.props,n=t.vertical,o=t.min,r=t.max,i=Math.abs(Math.max(e,0)/this.getSliderLength());return n?(1-i)*(r-o)+o:i*(r-o)+o}},{key:"calcValueByPos",value:function(e){var t=(this.props.reverse?-1:1)*(e-this.getSliderStart());return this.trimAlignValue(this.calcValue(t))}},{key:"calcOffset",value:function(e){var t=this.props,n=t.min,o=(e-n)/(t.max-n);return Math.max(0,100*o)}},{key:"saveHandle",value:function(e,t){this.handlesRefs[e]=t}},{key:"render",value:function(){var e,t=this.props,r=t.prefixCls,i=t.className,a=t.marks,u=t.dots,l=t.step,c=t.included,f=t.disabled,p=t.vertical,v=t.reverse,h=t.min,m=t.max,g=t.children,y=t.maximumTrackStyle,b=t.style,w=t.railStyle,E=t.dotStyle,C=t.activeDotStyle,Z=x(s(n.prototype),"render",this).call(this),M=Z.tracks,T=Z.handles,S=P()(r,(e={},(0,k.Z)(e,"".concat(r,"-with-marks"),Object.keys(a).length),(0,k.Z)(e,"".concat(r,"-disabled"),f),(0,k.Z)(e,"".concat(r,"-vertical"),p),(0,k.Z)(e,i,i),e));return d.createElement("div",{ref:this.saveSlider,className:S,onTouchStart:f?Y:this.onTouchStart,onMouseDown:f?Y:this.onMouseDown,onMouseUp:f?Y:this.onMouseUp,onKeyDown:f?Y:this.onKeyDown,onFocus:f?Y:this.onFocus,onBlur:f?Y:this.onBlur,style:b},d.createElement("div",{className:"".concat(r,"-rail"),style:(0,o.Z)((0,o.Z)({},y),w)}),M,d.createElement(N,{prefixCls:r,vertical:p,reverse:v,marks:a,dots:u,step:l,included:c,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:m,min:h,dotStyle:E,activeDotStyle:C}),T,d.createElement(D,{className:"".concat(r,"-mark"),onClickLabel:f?Y:this.onClickMarkLabel,vertical:p,marks:a,included:c,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:m,min:h,reverse:v}),g)}}]),n}(e),t.displayName="ComponentEnhancer(".concat(e.displayName,")"),t.defaultProps=(0,o.Z)((0,o.Z)({},e.defaultProps),{},{prefixCls:"rc-slider",className:"",min:0,max:100,step:1,marks:{},handle:function(e){var t=e.index,n=(0,Z.Z)(e,["index"]);return delete n.dragging,null===n.value?null:d.createElement(R,(0,C.Z)({},n,{key:t}))},onBeforeChange:Y,onChange:Y,onAfterChange:Y,included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),t}const Q=z(function(e){u(n,e);var t=p(n);function n(e){var o;(0,r.Z)(this,n),(o=t.call(this,e)).positionGetValue=function(e){return[]},o.onEnd=function(e){var t=o.state.dragging;o.removeDocumentEvents(),(t||e)&&o.props.onAfterChange(o.getValue()),o.setState({dragging:!1})};var i=void 0!==e.defaultValue?e.defaultValue:e.min,a=void 0!==e.value?e.value:i;return o.state={value:o.trimAlignValue(a),dragging:!1},w(!("minimumTrackStyle"in e),"minimumTrackStyle will be deprecated, please use trackStyle instead."),w(!("maximumTrackStyle"in e),"maximumTrackStyle will be deprecated, please use railStyle instead."),o}return(0,i.Z)(n,[{key:"calcValueByPos",value:function(e){return 0}},{key:"calcOffset",value:function(e){return 0}},{key:"saveHandle",value:function(e,t){}},{key:"removeDocumentEvents",value:function(){}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,o=n.min,r=n.max,i=n.value,a=n.onChange;if("min"in this.props||"max"in this.props){var u=void 0!==i?i:t.value,s=this.trimAlignValue(u,this.props);s!==t.value&&(this.setState({value:s}),o===e.min&&r===e.max||!V(u,this.props)||a(s))}}},{key:"onChange",value:function(e){var t=this.props,n=!("value"in t),r=e.value>this.props.max?(0,o.Z)((0,o.Z)({},e),{},{value:this.props.max}):e;n&&this.setState(r);var i=r.value;t.onChange(i)}},{key:"onStart",value:function(e){this.setState({dragging:!0});var t=this.props,n=this.getValue();t.onBeforeChange(n);var o=this.calcValueByPos(e);this.startValue=o,this.startPosition=e,o!==n&&(this.prevMovedHandleIndex=0,this.onChange({value:o}))}},{key:"onMove",value:function(e,t){G(e);var n=this.state.value,o=this.calcValueByPos(t);o!==n&&this.onChange({value:o})}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,o=K(e,t.vertical,n);if(o){G(e);var r=this.state.value,i=o(r,this.props),a=this.trimAlignValue(i);if(a===r)return;this.onChange({value:a}),this.props.onAfterChange(a),this.onEnd()}}},{key:"getValue",value:function(){return this.state.value}},{key:"getLowerBound",value:function(){var e=this.props.startPoint||this.props.min;return this.state.value>e?e:this.state.value}},{key:"getUpperBound",value:function(){return this.state.value<this.props.startPoint?this.props.startPoint:this.state.value}},{key:"trimAlignValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return null;var n=(0,o.Z)((0,o.Z)({},this.props),t);return X(W(e,n),n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.vertical,i=t.included,a=t.disabled,u=t.minimumTrackStyle,s=t.trackStyle,l=t.handleStyle,c=t.tabIndex,f=t.ariaLabelForHandle,p=t.ariaLabelledByForHandle,v=t.ariaValueTextFormatterForHandle,h=t.min,m=t.max,g=t.startPoint,y=t.reverse,b=t.handle,w=this.state,k=w.value,C=w.dragging,Z=this.calcOffset(k),M=b({className:"".concat(n,"-handle"),prefixCls:n,vertical:r,offset:Z,value:k,dragging:C,disabled:a,min:h,max:m,reverse:y,index:0,tabIndex:c,ariaLabel:f,ariaLabelledBy:p,ariaValueTextFormatter:v,style:l[0]||l,ref:function(t){return e.saveHandle(0,t)}}),x=void 0!==g?this.calcOffset(g):0,T=s[0]||s;return{tracks:d.createElement(E,{className:"".concat(n,"-track"),vertical:r,included:i,offset:x,reverse:y,length:Z-x,style:(0,o.Z)((0,o.Z)({},u),T)}),handles:M}}}]),n}(d.Component));var q=function(e){var t=e.value,n=e.handle,o=e.bounds,r=e.props,i=r.allowCross,a=r.pushable,u=Number(a),s=W(t,r),l=s;return i||null==n||void 0===o||(n>0&&s<=o[n-1]+u&&(l=o[n-1]+u),n<o.length-1&&s>=o[n+1]-u&&(l=o[n+1]-u)),X(l,r)},$=function(e){u(n,e);var t=p(n);function n(e){var o;(0,r.Z)(this,n),(o=t.call(this,e)).positionGetValue=function(e){var t=o.getValue(),n=o.calcValueByPos(e),r=o.getClosestBound(n),i=o.getBoundNeedMoving(n,r);if(n===t[i])return null;var a=(0,M.Z)(t);return a[i]=n,a},o.onEnd=function(e){var t=o.state.handle;o.removeDocumentEvents(),t||(o.dragTrack=!1),(null!==t||e)&&o.props.onAfterChange(o.getValue()),o.setState({handle:null})};var i=e.count,a=e.min,u=e.max,s=Array.apply(void 0,(0,M.Z)(Array(i+1))).map((function(){return a}
2)),l="defaultValue"in e?e.defaultValue:s,c=(void 0!==e.value?e.value:l).map((function(t,n){return q({value:t,handle:n,props:e})})),f=c[0]===u?0:c.length-1;return o.state={handle:null,recent:f,bounds:c},o}return(0,i.Z)(n,[{key:"calcValueByPos",value:function(e){return 0}},{key:"getSliderLength",value:function(){return 0}},{key:"calcOffset",value:function(e){return 0}},{key:"saveHandle",value:function(e,t){}},{key:"removeDocumentEvents",value:function(){}},{key:"componentDidUpdate",value:function(e,t){var n=this,o=this.props,r=o.onChange,i=o.value,a=o.min,u=o.max;if(("min"in this.props||"max"in this.props)&&(a!==e.min||u!==e.max)){var s=i||t.bounds;if(s.some((function(e){return V(e,n.props)})))r(s.map((function(e){return W(e,n.props)})))}}},{key:"onChange",value:function(e){var t=this.props;if(!("value"in t))this.setState(e);else{var n={};["handle","recent"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),Object.keys(n).length&&this.setState(n)}var r=(0,o.Z)((0,o.Z)({},this.state),e).bounds;t.onChange(r)}},{key:"onStart",value:function(e){var t=this.props,n=this.state,o=this.getValue();t.onBeforeChange(o);var r=this.calcValueByPos(e);this.startValue=r,this.startPosition=e;var i=this.getClosestBound(r);if(this.prevMovedHandleIndex=this.getBoundNeedMoving(r,i),this.setState({handle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex}),r!==o[this.prevMovedHandleIndex]){var a=(0,M.Z)(n.bounds);a[this.prevMovedHandleIndex]=r,this.onChange({bounds:a})}}},{key:"onMove",value:function(e,t,n,o){G(e);var r=this.state,i=this.props,a=i.max||100,u=i.min||0;if(n){var s=i.vertical?-t:t;s=i.reverse?-s:s;var l=a-Math.max.apply(Math,(0,M.Z)(o)),c=u-Math.min.apply(Math,(0,M.Z)(o)),f=Math.min(Math.max(s/(this.getSliderLength()/(a-u)),c),l),p=o.map((function(e){return Math.floor(Math.max(Math.min(e+f,a),u))}));r.bounds.map((function(e,t){return e===p[t]})).some((function(e){return!e}))&&this.onChange({bounds:p})}else{var d=this.calcValueByPos(t);d!==r.bounds[r.handle]&&this.moveTo(d)}}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,o=K(e,t.vertical,n);if(o){G(e);var r=this.state,i=this.props,a=r.bounds,u=r.handle,s=a[null===u?r.recent:u],l=o(s,i),c=q({value:l,handle:u,bounds:r.bounds,props:i});if(c===s)return;this.moveTo(c,!0)}}},{key:"getValue",value:function(){return this.state.bounds}},{key:"getClosestBound",value:function(e){for(var t=this.state.bounds,n=0,o=1;o<t.length-1;o+=1)e>=t[o]&&(n=o);return Math.abs(t[n+1]-e)<Math.abs(t[n]-e)&&(n+=1),n}},{key:"getBoundNeedMoving",value:function(e,t){var n=this.state,o=n.bounds,r=n.recent,i=t,a=o[t+1]===o[t];return a&&o[r]===o[t]&&(i=r),a&&e!==o[t+1]&&(i=e<o[t+1]?t:t+1),i}},{key:"getLowerBound",value:function(){return this.state.bounds[0]}},{key:"getUpperBound",value:function(){var e=this.state.bounds;return e[e.length-1]}},{key:"getPoints",value:function(){var e=this.props,t=e.marks,n=e.step,r=e.min,i=e.max,a=this.internalPointsCache;if(!a||a.marks!==t||a.step!==n){var u=(0,o.Z)({},t);if(null!==n)for(var s=r;s<=i;s+=n)u[s]=s;var l=Object.keys(u).map(parseFloat);l.sort((function(e,t){return e-t})),this.internalPointsCache={marks:t,step:n,points:l}}return this.internalPointsCache.points}},{key:"moveTo",value:function(e,t){var n=this,o=this.state,r=this.props,i=(0,M.Z)(o.bounds),a=null===o.handle?o.recent:o.handle;i[a]=e;var u=a;!1!==r.pushable?this.pushSurroundingHandles(i,u):r.allowCross&&(i.sort((function(e,t){return e-t})),u=i.indexOf(e)),this.onChange({recent:u,handle:u,bounds:i}),t&&(this.props.onAfterChange(i),this.setState({},(function(){n.handlesRefs[u].focus()})),this.onEnd())}},{key:"pushSurroundingHandles",value:function(e,t){var n=e[t],o=this.props.pushable,r=Number(o),i=0;if(e[t+1]-n<r&&(i=1),n-e[t-1]<r&&(i=-1),0!==i){var a=t+i,u=i*(e[a]-n);this.pushHandle(e,a,i,r-u)||(e[t]=e[a]-i*r)}}},{key:"pushHandle",value:function(e,t,n,o){for(var r=e[t],i=e[t];n*(i-r)<o;){if(!this.pushHandleOnePoint(e,t,n))return e[t]=r,!1;i=e[t]}return!0}},{key:"pushHandleOnePoint",value:function(e,t,n){var o=this.getPoints(),r=o.indexOf(e[t])+n;if(r>=o.length||r<0)return!1;var i=t+n,a=o[r],u=this.props.pushable,s=Number(u),l=n*(e[i]-a);return!!this.pushHandle(e,i,n,s-l)&&(e[t]=a,!0)}},{key:"trimAlignValue",value:function(e){var t=this.state,n=t.handle,o=t.bounds;return q({value:e,handle:n,bounds:o,props:this.props})}},{key:"render",value:function(){var e=this,t=this.state,n=t.handle,o=t.bounds,r=this.props,i=r.prefixCls,a=r.vertical,u=r.included,s=r.disabled,l=r.min,c=r.max,f=r.reverse,p=r.handle,v=r.trackStyle,h=r.handleStyle,m=r.tabIndex,g=r.ariaLabelGroupForHandles,y=r.ariaLabelledByGroupForHandles,b=r.ariaValueTextFormatterGroupForHandles,w=o.map((function(t){return e.calcOffset(t)}
2)),C="".concat(i,"-handle"),Z=o.map((function(t,o){var r,u=m[o]||0;(s||null===m[o])&&(u=null);var d=n===o;return p({className:P()((r={},(0,k.Z)(r,C,!0),(0,k.Z)(r,"".concat(C,"-").concat(o+1),!0),(0,k.Z)(r,"".concat(C,"-dragging"),d),r)),prefixCls:i,vertical:a,dragging:d,offset:w[o],value:t,index:o,tabIndex:u,min:l,max:c,reverse:f,disabled:s,style:h[o],ref:function(t){return e.saveHandle(o,t)},ariaLabel:g[o],ariaLabelledBy:y[o],ariaValueTextFormatter:b[o]})}));return{tracks:o.slice(0,-1).map((function(e,t){var n,o=t+1,r=P()((n={},(0,k.Z)(n,"".concat(i,"-track"),!0),(0,k.Z)(n,"".concat(i,"-track-").concat(o),!0),n));return d.createElement(E,{className:r,vertical:a,reverse:f,included:u,offset:w[o-1],length:w[o]-w[o-1],style:v[t],key:o})})),handles:Z}}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(!("value"in e||"min"in e||"max"in e))return null;var n=e.value||t.bounds,r=n.map((function(n,o){return q({value:n,handle:o,bounds:t.bounds,props:e})}));if(t.bounds.length===r.length){if(r.every((function(e,n){return e===t.bounds[n]})))return null}else r=n.map((function(t,n){return q({value:t,handle:n,props:e})}));return(0,o.Z)((0,o.Z)({},t),{},{bounds:r})}}]),n}(d.Component);$.displayName="Range",$.defaultProps={count:1,allowCross:!0,pushable:!1,draggableTrack:!1,tabIndex:[],ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]};const J=z($);var ee=function(e){return+setTimeout(e,16)},te=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(ee=function(e){return window.requestAnimationFrame(e)},te=function(e){return window.cancelAnimationFrame(e)});var ne=0,oe=new Map;function re(e){oe.delete(e)}var ie=function(e){var t=ne+=1;return function n(o){if(0===o)re(t),e();else{var r=ee((function(){n(o-1)}));oe.set(t,r)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};ie.cancel=function(e){var t=oe.get(e);return re(e),te(t)};const ae=ie;function ue(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}function se(e){return function(e){return e instanceof HTMLElement||e instanceof SVGElement}(e)?e:e instanceof d.Component?T.findDOMNode(e):null}var le=n(73873);function ce(e,t){"function"===typeof e?e(t):"object"===(0,c.Z)(e)&&e&&"current"in e&&(e.current=t)}function fe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.filter((function(e){return e}));return o.length<=1?o[0]:function(e){t.forEach((function(t){ce(t,e)}))}}function pe(e){var t,n,o=(0,le.isMemo)(e)?e.type.type:e.type;return!!("function"!==typeof o||null!==(t=o.prototype)&&void 0!==t&&t.render)&&!!("function"!==typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render)}function de(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}const ve=(0,d.forwardRef)((function(e,t){var n=e.didUpdate,o=e.getContainer,r=e.children,i=(0,d.useRef)(),a=(0,d.useRef)();(0,d.useImperativeHandle)(t,(function(){return{}}));var u=(0,d.useRef)(!1);return!u.current&&de()&&(a.current=o(),i.current=a.current.parentNode,u.current=!0),(0,d.useEffect)((function(){null===n||void 0===n||n(e)})),(0,d.useEffect)((function(){return null===a.current.parentNode&&null!==i.current&&i.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?T.createPortal(r,a.current):null}));function he(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var me=n(70885);var ge=d.createContext({});const ye=function(e){u(n,e);var t=p(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component);function be(e){var t=d.useRef(!1),n=d.useState(e),o=(0,me.Z)(n,2),r=o[0],i=o[1];return d.useEffect((function(){return t.current=!1,function(){t.current=!0}}
2),[]),[r,function(e,n){n&&t.current||i(e)}]}var we="none",ke="appear",Ee="enter",Ce="leave",Ze="none",Me="prepare",xe="start",Te="active",Se="end",Oe="prepared";function Pe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var Ne=function(e,t){var n={animationend:Pe("Animation","AnimationEnd"),transitionend:Pe("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}(de(),"undefined"!==typeof window?window:{}),De={};if(de()){var Re=document.createElement("div");De=Re.style}var Ae={};function Le(e){if(Ae[e])return Ae[e];var t=Ne[e];if(t)for(var n=Object.keys(t),o=n.length,r=0;r<o;r+=1){var i=n[r];if(Object.prototype.hasOwnProperty.call(t,i)&&i in De)return Ae[e]=t[i],Ae[e]}return""}var He=Le("animationend"),Ve=Le("transitionend"),Fe=!(!He||!Ve),Be=He||"animationend",Ie=Ve||"transitionend";function Ue(e,t){return e?"object"===(0,c.Z)(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}const _e=function(e){var t=(0,d.useRef)(),n=(0,d.useRef)(e);n.current=e;var o=d.useCallback((function(e){n.current(e)}),[]);function r(e){e&&(e.removeEventListener(Ie,o),e.removeEventListener(Be,o))}return d.useEffect((function(){return function(){r(t.current)}}),[]),[function(e){t.current&&t.current!==e&&r(t.current),e&&e!==t.current&&(e.addEventListener(Ie,o),e.addEventListener(Be,o),t.current=e)},r]};const je=de()?d.useLayoutEffect:d.useEffect;var We=[Me,xe,Te,Se],Xe=[Me,Oe],Ge=!1,Ke=!0;function Ye(e){return e===Te||e===Se}const ze=function(e,t,n){var o=be(Ze),r=(0,me.Z)(o,2),i=r[0],a=r[1],u=function(){var e=d.useRef(null);function t(){ae.cancel(e.current)}return d.useEffect((function(){return function(){t()}}),[]),[function n(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=ae((function(){r<=1?o({isCanceled:function(){return i!==e.current}}):n(o,r-1)}));e.current=i},t]}(),s=(0,me.Z)(u,2),l=s[0],c=s[1];var f=t?Xe:We;return je((function(){if(i!==Ze&&i!==Se){var e=f.indexOf(i),t=f[e+1],o=n(i);o===Ge?a(t,!0):t&&l((function(e){function n(){e.isCanceled()||a(t,!0)}!0===o?n():Promise.resolve(o).then(n)}))}}),[e,i]),d.useEffect((function(){return function(){c()}}),[]),[function(){a(Me,!0)},i]};const Qe=function(e){var t=e;"object"===(0,c.Z)(e)&&(t=e.transitionSupport);var n=d.forwardRef((function(e,n){var r=e.visible,i=void 0===r||r,a=e.removeOnLeave,u=void 0===a||a,s=e.forceRender,l=e.children,c=e.motionName,f=e.leavedClassName,p=e.eventProps,v=function(e,n){return!(!e.motionName||!t||!1===n)}(e,d.useContext(ge).motion),h=(0,d.useRef)(),m=(0,d.useRef)();var g=function(e,t,n,r){var i=r.motionEnter,a=void 0===i||i,u=r.motionAppear,s=void 0===u||u,l=r.motionLeave,c=void 0===l||l,f=r.motionDeadline,p=r.motionLeaveImmediately,v=r.onAppearPrepare,h=r.onEnterPrepare,m=r.onLeavePrepare,g=r.onAppearStart,y=r.onEnterStart,b=r.onLeaveStart,w=r.onAppearActive,E=r.onEnterActive,C=r.onLeaveActive,Z=r.onAppearEnd,M=r.onEnterEnd,x=r.onLeaveEnd,T=r.onVisibleChanged,S=be(),O=(0,me.Z)(S,2),P=O[0],N=O[1],D=be(we),R=(0,me.Z)(D,2),A=R[0],L=R[1],H=be(null),V=(0,me.Z)(H,2),F=V[0],B=V[1],I=(0,d.useRef)(!1),U=(0,d.useRef)(null);function _(){return n()}var j=(0,d.useRef)(!1);function W(){L(we,!0),B(null,!0)}function X(e){var t=_();if(!e||e.deadline||e.target===t){var n,o=j.current;A===ke&&o?n=null===Z||void 0===Z?void 0:Z(t,e):A===Ee&&o?n=null===M||void 0===M?void 0:M(t,e):A===Ce&&o&&(n=null===x||void 0===x?void 0:x(t,e)),A!==we&&o&&!1!==n&&W()}}var G=_e(X),K=(0,me.Z)(G,1)[0],Y=function(e){var t,n,o;switch(e){case ke:return t={},(0,k.Z)(t,Me,v),(0,k.Z)(t,xe,g),(0,k.Z)(t,Te,w),t;case Ee:return n={},(0,k.Z)(n,Me,h),(0,k.Z)(n,xe,y),(0,k.Z)(n,Te,E),n;case Ce:return o={},(0,k.Z)(o,Me,m),(0,k.Z)(o,xe,b),(0,k.Z)(o,Te,C),o;default:return{}}},z=d.useMemo((function(){return Y(A)}),[A]),Q=ze(A,!e,(function(e){if(e===Me){var t=z[Me];return t?t(_()):Ge}var n;return J in z&&B((null===(n=z[J])||void 0===n?void 0:n.call(z,_(),null))||null),J===Te&&(K(_()),f>0&&(clearTimeout(U.current),U.current=setTimeout((function(){X({deadline:!0})}),f))),J===Oe&&W(),Ke})),q=(0,me.Z)(Q,2),$=q[0],J=q[1],ee=Ye(J);j.current=ee,je((function(){N(t);var n,o=I.current;I.current=!0,!o&&t&&s&&(n=ke),o&&t&&a&&(n=Ee),(o&&!t&&c||!o&&p&&!t&&c)&&(n=Ce);var r=Y(n);n&&(e||r[Me])?(L(n),$()):L(we)}),[t]),(0,d.useEffect)((function(){(A===ke&&!s||A===Ee&&!a||A===Ce&&!c)&&L(we)}),[s,a,c]),(0,d.useEffect)((function(){return function(){I.current=!1,clearTimeout(U.current)}}),[]);var te=d.useRef(!1);(0,d.useEffect)((function(){P&&(te.current=!0),void 0!==P&&A===we&&((te.current||P)&&(null===T||void 0===T||T(P)),te.current=!0)}),[P,A]);var ne=F;return z[Me]&&J===xe&&(ne=(0,o.Z)({transition:"none"},ne)),[A,J,ne,null!==P&&void 0!==P?P:t]}(v,i,(function(){try{return h.current instanceof HTMLElement?h.current:se(m.current)}catch(e){return null}}),e),y=(0,me.Z)(g,4),b=y[0],w=y[1],E=y[2],C=y[3],Z=d.useRef(C);C&&(Z.current=!0);var M,x=d.useCallback((function(e){h.current=e,ce(n,e)}),[n]),T=(0,o.Z)((0,o.Z)({},p),{},{visible:i});if(l)if(b===we)M=C?l((0,o.Z)({},T),x):!u&&Z.current&&f?l((0,o.Z)((0,o.Z)({},T),{},{className:f}),x):s||!u&&!f?l((0,o.Z)((0,o.Z)({},T),{},{style:{display:"none"}}),x):null;else{var S,O;w===Me?O="prepare":Ye(w)?O="active":w===xe&&(O="start");var N=Ue(c,"".concat(b,"-").concat(O));M=l((0,o.Z)((0,o.Z)({},T),{},{className:P()(Ue(c,b),(S={},(0,k.Z)(S,N,N&&O),(0,k.Z)(S,c,"string"===typeof c),S)),style:E}),x)}else M=null;d.isValidElement(M)&&pe(M)&&(M.ref||(M=d.cloneElement(M,{ref:x})));return d.createElement(ye,{ref:m},M)}));return n.displayName="CSSMotion",n}(Fe);var qe="add",$e="keep",Je="remove",et="removed";function tt(e){var t;return t=e&&"object"===(0,c.Z)(e)&&"key"in e?e:{key:e},(0,o.Z)((0,o.Z)({},t),{},{key:String(t.key)})}function nt(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(tt)}var ot=["component","children","onVisibleChanged","onAllRemoved"],rt=["status"],it=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Qe,n=function(e){u(a,e);var n=p(a);function a(){var e;(0,r.Z)(this,a);for(var t=arguments.length,i=new Array(t),u=0;u<t;u++)i[u]=arguments[u];return e=n.call.apply(n,[this].concat(i)),(0,k.Z)((0,f.Z)(e),"state",{keyEntities:[]}),(0,k.Z)((0,f.Z)(e),"removeKey",(function(t){var n=e.state.keyEntities.map((function(e){return e.key!==t?e:(0,o.Z)((0,o.Z)({},e),{},{status:et})}));return e.setState({keyEntities:n}),n.filter((function(e){return e.status!==et})).length})),e}return(0,i.Z)(a,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r
2=this.props,i=r.component,a=r.children,u=r.onVisibleChanged,s=r.onAllRemoved,l=(0,Z.Z)(r,ot),c=i||d.Fragment,f={};return it.forEach((function(e){f[e]=l[e],delete l[e]})),delete l.keys,d.createElement(c,l,n.map((function(n,r){var i=n.status,l=(0,Z.Z)(n,rt),c=i===qe||i===$e;return d.createElement(t,(0,C.Z)({},f,{key:l.key,visible:c,eventProps:l,onVisibleChanged:function(t){(null===u||void 0===u||u(t,{key:l.key}),t)||0===e.removeKey(l.key)&&s&&s()}}),(function(e,t){return a((0,o.Z)((0,o.Z)({},e),{},{index:r}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,i=nt(n),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=nt(e),u=nt(t);a.forEach((function(e){for(var t=!1,a=r;a<i;a+=1){var s=u[a];if(s.key===e.key){r<a&&(n=n.concat(u.slice(r,a).map((function(e){return(0,o.Z)((0,o.Z)({},e),{},{status:qe})}))),r=a),n.push((0,o.Z)((0,o.Z)({},s),{},{status:$e})),r+=1,t=!0;break}}t||n.push((0,o.Z)((0,o.Z)({},e),{},{status:Je}))})),r<i&&(n=n.concat(u.slice(r).map((function(e){return(0,o.Z)((0,o.Z)({},e),{},{status:qe})}))));var s={};return n.forEach((function(e){var t=e.key;s[t]=(s[t]||0)+1})),Object.keys(s).filter((function(e){return s[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,o=t.status;return n!==e||o!==Je}))).forEach((function(t){t.key===e&&(t.status=$e)}))})),n}(r,i);return{keyEntities:a.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==et||e.status!==Je}))}}}]),a}(d.Component);(0,k.Z)(n,"defaultProps",{component:"div"})}(Fe);const at=Qe;function ut(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 st(e){var t=e.prefixCls,n=e.visible,r=e.zIndex,i=e.mask,a=e.maskMotion,u=e.maskAnimation,s=e.maskTransitionName;if(!i)return null;var l={};return(a||s||u)&&(l=(0,o.Z)({motionAppear:!0},ut({motion:a,prefixCls:t,transitionName:s,animation:u}))),d.createElement(at,(0,C.Z)({},l,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return d.createElement("div",{style:{zIndex:r},className:P()("".concat(t,"-mask"),n)})}))}function lt(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 ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(n),!0).forEach((function(t){pt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ft(e){return ft="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},ft(e)}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt,vt={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function ht(){if(void 0!==dt)return dt;dt="";var e=document.createElement("p").style;for(var t in vt)t+"Transform"in e&&(dt=t);return dt}function mt(){return ht()?"".concat(ht(),"TransitionProperty"):"transitionProperty"}function gt(){return ht()?"".concat(ht(),"Transform"):"transform"}function yt(e,t){var n=mt();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function bt(e,t){var n=gt();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var wt,kt=/matrix\((.*)\)/,Et=/matrix3d\((.*)\)/;function Ct(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function Zt(e,t,n){var o=n;if("object"!==ft(t))return"undefined"!==typeof o?("number"===typeof o&&(o="".concat(o,"px")),void(e.style[t]=o)):wt(e,t);for(var r in t)t.hasOwnProperty(r)&&Zt(e,r,t[r])}function Mt(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 xt(e){return Mt(e)}function Tt(e){return Mt(e,!0)}function St(e){var t=function(e){var t,n,o,r=e.ownerDocument,i=r.body,a=r&&r.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),o=Math.floor(t.top),{left:n-=a.clientLeft||i.clientLeft||0,top:o-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=xt(o),t.top+=Tt(o),t}function Ot(e){return null!==e&&void 0!==e&&e==e.window}
vendor: 5,562 bytes, line 2
2function Pt(e){return Ot(e)?e.document:9===e.nodeType?e:e.ownerDocument}var Nt=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),Dt=/^(top|right|bottom|left)$/,Rt="currentStyle",At="runtimeStyle",Lt="left";function Ht(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function Vt(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function Ft(e,t,n){"static"===Zt(e,"position")&&(e.style.position="relative");var o=-999,r=-999,i=Ht("left",n),a=Ht("top",n),u=Vt(i),s=Vt(a);"left"!==i&&(o=999),"top"!==a&&(r=999);var l,c="",f=St(e);("left"in t||"top"in t)&&(c=(l=e).style.transitionProperty||l.style[mt()]||"",yt(e,"none")),"left"in t&&(e.style[u]="",e.style[i]="".concat(o,"px")),"top"in t&&(e.style[s]="",e.style[a]="".concat(r,"px")),Ct(e);var p=St(e),d={};for(var v in t)if(t.hasOwnProperty(v)){var h=Ht(v,n),m="left"===v?o:r,g=f[v]-p[v];d[h]=h===v?m+g:m-g}Zt(e,d),Ct(e),("left"in t||"top"in t)&&yt(e,c);var y={};for(var b in t)if(t.hasOwnProperty(b)){var w=Ht(b,n),k=t[b]-f[b];y[w]=b===w?d[w]+k:d[w]-k}Zt(e,y)}function Bt(e,t){var n=St(e),o=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(gt());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),function(e,t){var n=window.getComputedStyle(e,null),o=n.getPropertyValue("transform")||n.getPropertyValue(gt());if(o&&"none"!==o){var r,i=o.match(kt);i?((r=(i=i[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,r[5]=t.y,bt(e,"matrix(".concat(r.join(","),")"))):((r=o.match(Et)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,r[13]=t.y,bt(e,"matrix3d(".concat(r.join(","),")")))}else bt(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,r)}function It(e,t){for(var n=0;n<e.length;n++)t(e[n])}function Ut(e){return"border-box"===wt(e,"boxSizing")}"undefined"!==typeof window&&(wt=window.getComputedStyle?function(e,t,n){var o=n,r="",i=Pt(e);return(o=o||i.defaultView.getComputedStyle(e,null))&&(r=o.getPropertyValue(t)||o[t]),r}:function(e,t){var n=e[Rt]&&e[Rt][t];if(Nt.test(n)&&!Dt.test(t)){var o=e.style,r=o[Lt],i=e[At][Lt];e[At][Lt]=e[Rt][Lt],o[Lt]="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o[Lt]=r,e[At][Lt]=i}return""===n?"auto":n});var _t=["margin","border","padding"],jt=-1,Wt=2,Xt=1;function Gt(e,t,n){var o,r,i,a=0;for(r=0;r<t.length;r++)if(o=t[r])for(i=0;i<n.length;i++){var u=void 0;u="border"===o?"".concat(o).concat(n[i],"Width"):o+n[i],a+=parseFloat(wt(e,u))||0}return a}var Kt={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 Yt(e,t,n){var o=n;if(Ot(e))return"width"===t?Kt.viewportWidth(e):Kt.viewportHeight(e);if(9===e.nodeType)return"width"===t?Kt.docWidth(e):Kt.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=Ut(e),u=0;(null===i||void 0===i||i<=0)&&(i=void 0,(null===(u=wt(e,t))||void 0===u||Number(u)<0)&&(u=e.style[t]||0),u=Math.floor(parseFloat(u))||0),void 0===o&&(o=a?Xt:jt);var s=void 0!==i||a,l=i||u;return o===jt?s?l-Gt(e,["border","padding"],r):u:s?o===Xt?l:l+(o===Wt?-Gt(e,["border"],r):Gt(e,["margin"],r)):u+Gt(e,_t.slice(o),r)}It(["Width","Height"],(function(e){Kt["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],Kt["viewport".concat(e)](n))},Kt["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 zt={position:"absolute",visibility:"hidden",display:"block"};function Qt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t[0];return 0!==r.offsetWidth?o=Yt.apply(void 0,t):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,zt,(function(){o=Yt.apply(void 0,t)})),o}function qt(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}It(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Kt["outer".concat(t)]=function(t,n){return t&&Qt(t,e,n?0:Xt)};var n="width"===e?["Left","Right"]:["Top","Bottom"];Kt[e]=function(t,o){var r=o;return void 0!==r?t?(Ut(t)&&(r+=Gt(t,["padding","border"],n)),Zt(t,e,r)):void 0:t&&Qt(t,e,jt)}}));var $t={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:Pt,offset:function(e,t,n){if("undefined"===typeof t)return St(e);!function(e,t,n){if(n.ignoreShake){var o=St(e),r=o.left.toFixed(0),i=o.top.toFixed(0),a=t.left.toFixed(0),u=t.top.toFixed(0);if(r===a&&i===u)return}n.useCssRight||n.useCssBottom?Ft(e,t,n):n.useCssTransform&>()in document.body.style?Bt(e,t):Ft(e,t,n)}(e,t,n||{})},isWindow:Ot,each:It,css:Zt,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:qt,getWindowScrollLeft:function(e){return xt(e)},getWindowScrollTop:function(e){return Tt(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)$t.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e}
vendor: 2,534 bytes, line 2
2,viewportWidth:0,viewportHeight:0};qt($t,Kt);var Jt=$t.getParent;function en(e){if($t.isWindow(e)||9===e.nodeType)return null;var t,n=$t.getDocument(e).body,o=$t.css(e,"position");if(!("fixed"===o||"absolute"===o))return"html"===e.nodeName.toLowerCase()?null:Jt(e);for(t=Jt(e);t&&t!==n&&9!==t.nodeType;t=Jt(t))if("static"!==(o=$t.css(t,"position")))return t;return null}var tn=$t.getParent;function nn(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},o=en(e),r=$t.getDocument(e),i=r.defaultView||r.parentWindow,a=r.body,u=r.documentElement;o;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===o.clientWidth||o===a||o===u||"visible"===$t.css(o,"overflow")){if(o===a||o===u)break}else{var s=$t.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=en(o)}var l=null;$t.isWindow(e)||9===e.nodeType||(l=e.style.position,"absolute"===$t.css(e,"position")&&(e.style.position="fixed"));var c=$t.getWindowScrollLeft(i),f=$t.getWindowScrollTop(i),p=$t.viewportWidth(i),d=$t.viewportHeight(i),v=u.scrollWidth,h=u.scrollHeight,m=window.getComputedStyle(a);if("hidden"===m.overflowX&&(v=i.innerWidth),"hidden"===m.overflowY&&(h=i.innerHeight),e.style&&(e.style.position=l),t||function(e){if($t.isWindow(e)||9===e.nodeType)return!1;var t=$t.getDocument(e),n=t.body,o=null;for(o=tn(e);o&&o!==n&&o!==t;o=tn(o))if("fixed"===$t.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(v,c+p);n.right=Math.min(n.right,g);var y=Math.max(h,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 on(e){var t,n,o;if($t.isWindow(e)||9===e.nodeType){var r=$t.getWindow(e);t={left:$t.getWindowScrollLeft(r),top:$t.getWindowScrollTop(r)},n=$t.viewportWidth(r),o=$t.viewportHeight(r)}else t=$t.offset(e),n=$t.outerWidth(e),o=$t.outerHeight(e);return t.width=n,t.height=o,t}function rn(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,i=e.height,a=e.left,u=e.top;return"c"===n?u+=i/2:"b"===n&&(u+=i),"c"===o?a+=r/2:"r"===o&&(a+=r),{left:a,top:u}}function an(e,t,n,o,r){var i=rn(t,n[1]),a=rn(e,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-u[0]+o[0]-r[0]),top:Math.round(e.top-u[1]+o[1]-r[1])}}function un(e,t,n){return e.left<n.left||e.left+t.width>n.right}function sn(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}
vendor: 2,084 bytes, line 2
2function ln(e,t,n){var o=[];return $t.each(e,(function(e){o.push(e.replace(t,(function(e){return n[e]})))})),o}function cn(e,t){return e[t]=-e[t],e}function fn(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function pn(e,t){e[0]=fn(e[0],t.width),e[1]=fn(e[1],t.height)}function dn(e,t,n,o){var r=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,s=n.source||e;i=[].concat(i),a=[].concat(a);var l={},c=0,f=nn(s,!(!(u=u||{})||!u.alwaysByViewport)),p=on(s);pn(i,p),pn(a,t);var d=an(p,t,r,i,a),v=$t.merge(p,d);if(f&&(u.adjustX||u.adjustY)&&o){if(u.adjustX&&un(d,p,f)){var h=ln(r,/[lr]/gi,{l:"r",r:"l"}),m=cn(i,0),g=cn(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(an(p,t,h,m,g),p,f)||(c=1,r=h,i=m,a=g)}if(u.adjustY&&sn(d,p,f)){var y=ln(r,/[tb]/gi,{t:"b",b:"t"}),b=cn(i,1),w=cn(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(an(p,t,y,b,w),p,f)||(c=1,r=y,i=b,a=w)}c&&(d=an(p,t,r,i,a),$t.mix(v,d));var k=un(d,p,f),E=sn(d,p,f);if(k||E){var C=r;k&&(C=ln(r,/[lr]/gi,{l:"r",r:"l"})),E&&(C=ln(r,/[tb]/gi,{t:"b",b:"t"})),r=C,i=n.offset||[0,0],a=n.targetOffset||[0,0]}l.adjustX=u.adjustX&&k,l.adjustY=u.adjustY&&E,(l.adjustX||l.adjustY)&&(v=function(e,t,n,o){var r=$t.clone(e),i={width:t.width,height:t.height};return o.adjustX&&r.left<n.left&&(r.left=n.left),o.resizeWidth&&r.left>=n.left&&r.left+i.width>n.right&&(i.width-=r.left+i.width-n.right),o.adjustX&&r.left+i.width>n.right&&(r.left=Math.max(n.right-i.width,n.left)),o.adjustY&&r.top<n.top&&(r.top=n.top),o.resizeHeight&&r.top>=n.top&&r.top+i.height>n.bottom&&(i.height-=r.top+i.height-n.bottom),o.adjustY&&r.top+i.height>n.bottom&&(r.top=Math.max(n.bottom-i.height,n.top)),$t.mix(r,i)}(d,p,f,l))}return v.width!==p.width&&$t.css(s,"width",$t.width(s)+v.width-p.width),v.height!==p.height&&$t.css(s,"height",$t.height(s)+v.height-p.height),$t.offset(s,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:i,targetOffset:a,overflow:l}}
2function vn(e,t,n){var o=n.target||t,r=on(o),i=!function(e,t){var n=nn(e,t),o=on(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 dn(e,r,n,i)}vn.__getOffsetParent=en,vn.__getVisibleRectForElement=nn;const hn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=new Set;return function e(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=o.has(t);if(w(!a,"Warning: There may be circular references"),a)return!1;if(t===r)return!0;if(n&&i>1)return!1;o.add(t);var u=i+1;if(Array.isArray(t)){if(!Array.isArray(r)||t.length!==r.length)return!1;for(var s=0;s<t.length;s++)if(!e(t[s],r[s],u))return!1;return!0}if(t&&r&&"object"===(0,c.Z)(t)&&"object"===(0,c.Z)(r)){var l=Object.keys(t);return l.length===Object.keys(r).length&&l.every((function(n){return e(t[n],r[n],u)}))}return!1}(e,t)};var mn=de()?d.useLayoutEffect:d.useEffect,gn=function(e,t){var n=d.useRef(!0);mn((function(){return e(n.current)}),t),mn((function(){return n.current=!1,function(){n.current=!0}}),[])};const yn=gn;var bn=n(90474);function wn(e,t){var n=null,o=null;var r=new bn.default((function(e){var r=(0,me.Z)(e,1)[0].target;if(document.documentElement.contains(r)){var i=r.getBoundingClientRect(),a=i.width,u=i.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&&r.observe(e),function(){r.disconnect()}}function kn(e){return"function"!==typeof e?null:e()}function En(e){return"object"===(0,c.Z)(e)&&e?e:null}var Cn=function(e,t){var n=e.children,o=e.disabled,r=e.target,i=e.align,a=e.onAlign,u=e.monitorWindowResize,s=e.monitorBufferTime,l=void 0===s?0:s,c=d.useRef({}),f=d.useRef(),p=d.Children.only(n),v=d.useRef({});v.current.disabled=o,v.current.target=r,v.current.align=i,v.current.onAlign=a;var h=function(e,t){var n=d.useRef(!1),o=d.useRef(null);function r(){window.clearTimeout(o.current)}return[function i(a){if(r(),n.current&&!0!==a)o.current=window.setTimeout((function(){n.current=!1,i()}),t);else{if(!1===e(a))return;n.current=!0,o.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,r()}]}((function(){var e=v.current,t=e.disabled,n=e.target,o=e.align,r=e.onAlign,i=f.current;if(!t&&n&&i){var a,u=kn(n),s=En(n);c.current.element=u,c.current.point=s,c.current.align=o;var l=document.activeElement;return u&&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 r=e.getBoundingClientRect(),i=r.width,a=r.height;if(i||a)return!0}}return!1}(u)?a=vn(i,u,o):s&&(a=function(e,t,n){var o,r,i=$t.getDocument(e),a=i.defaultView||i.parentWindow,u=$t.getWindowScrollLeft(a),s=$t.getWindowScrollTop(a),l=$t.viewportWidth(a),c=$t.viewportHeight(a),f={left:o="pageX"in t?t.pageX:u+t.clientX,top:r="pageY"in t?t.pageY:s+t.clientY,width:0,height:0},p=o>=0&&o<=u+l&&r>=0&&r<=s+c,d=[n.points[0],"cc"];return dn(e,f,ct(ct({},n),{},{points:d}),p)}(i,s,o)),function(e,t){e!==document.activeElement&&ue(t,e)&&"function"===typeof e.focus&&e.focus()}(l,i),r&&a&&r(i,a),!0}return!1}),l),m=(0,me.Z)(h,2),g=m[0],y=m[1],b=d.useState(),w=(0,me.Z)(b,2),k=w[0],E=w[1],C=d.useState(),Z=(0,me.Z)(C,2),M=Z[0],x=Z[1];return yn((function(){E(kn(r)),x(En(r))})),d.useEffect((function(){var e,t;c.current.element===k&&((e=c.current.point)===(t=M)||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))&&hn(c.current.align,i)||g()})),d.useEffect((function(){return wn(f.current,g)}),[f.current]),d.useEffect((function(){return wn(k,g)}),[k]),d.useEffect((function(){o?y():g()}),[o]),d.useEffect((function(){if(u)return S(window,"resize",g).remove}),[u]),d.useEffect((function(){return function(){y()}}),[]),d.useImperativeHandle(t,(function(){return{forceAlign:function(){return g(!0)}}})),d.isValidElement(p)&&(p=d.cloneElement(p,{ref:fe(p.ref,f)})),p},Zn=d.forwardRef(Cn);Zn.displayName="Align";const Mn=Zn;function xn(e,t){this.v=e,this.k=t}function Tn(e,t,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}Tn=function(e,t,n,o){if(t)r?r(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n;else{var i=function(t,n){Tn(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},Tn(e,t,n,o)}function Sn(){var e,t,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function i(n,o,r,i){var s=o&&o.prototype instanceof u?o:u,l=Object.create(s.prototype);return Tn(l,"_invoke",function(n,o,r){var i,u,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,u=0,s=e,p.n=n,a}};function d(n,o){for(u=n,s=o,t=0;!f&&l&&!r&&t<c.length;t++){var r,i=c[t],d=p.p,v=i[2];n>3?(r=v===o)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=d&&((r=n<2&&d<i[1])?(u=0,p.v=o,p.n=i[1]):d<v&&(r=n<3||i[0]>o||o>v)&&(i[4]=n,i[5]=o,p.n=v,u=0))}if(r||n>1)return a;throw f=!0,o}
2return function(r,c,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===c&&d(c,v),u=c,s=v;(t=u<2?e:s)||!f;){i||(u?u<3?(u>1&&(p.n=-1),d(u,s)):p.n=s:p.v=s);try{if(l=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+r+"' method"),u=1);i=e}else if((t=(f=p.n<0)?s:n.call(o,p))!==a)break}catch(t){i=e,u=1,s=t}finally{l=1}}return{value:t,done:f}}}(n,r,i),!0),l}var a={};function u(){}function s(){}function l(){}t=Object.getPrototypeOf;var c=[][o]?t(t([][o]())):(Tn(t={},o,(function(){return this})),t),f=l.prototype=u.prototype=Object.create(c);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,Tn(e,r,"GeneratorFunction")),e.prototype=Object.create(f),e}return s.prototype=l,Tn(f,"constructor",l),Tn(l,"constructor",s),s.displayName="GeneratorFunction",Tn(l,r,"GeneratorFunction"),Tn(f),Tn(f,r,"Generator"),Tn(f,o,(function(){return this})),Tn(f,"toString",(function(){return"[object Generator]"})),(Sn=function(){return{w:i,m:p}})()}function On(e,t){function n(o,r,i,a){try{var u=e[o](r),s=u.value;return s instanceof xn?t.resolve(s.v).then((function(e){n("next",e,i,a)}),(function(e){n("throw",e,i,a)})):t.resolve(s).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,a)}))}catch(e){a(e)}}var o;this.next||(Tn(On.prototype),Tn(On.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),Tn(this,"_invoke",(function(e,r,i){function a(){return new t((function(t,o){n(e,i,t,o)}))}return o=o?o.then(a,a):a()}),!0)}function Pn(e,t,n,o,r){return new On(Sn().w(e,t,n,o),r||Promise)}function Nn(e,t,n,o,r){var i=Pn(e,t,n,o,r);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Dn(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 Rn(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 new TypeError((0,c.Z)(e)+" is not iterable")}function An(){var e=Sn(),t=e.m(An),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,Rn(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(An=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 xn(e,t)},AsyncIterator:On,async:function(e,t,n,r,a){return(o(t)?Pn:Nn)(i(e),t,n,r,a)},keys:Dn,values:Rn}})()}function Ln(e,t,n,o,r,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(o,r)}function Hn(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){Ln(i,o,r,a,u,"next",e)}function u(e){Ln(i,o,r,a,u,"throw",e)}a(void 0)}))}}var Vn=["measure","alignPre","align",null,"motion"];var Fn=d.forwardRef((function(e,t){var n=e.visible,r=e.prefixCls,i=e.className,a=e.style,u=e.children,s=e.zIndex,l=e.stretch,c=e.destroyPopupOnHide,f=e.forceRender,p=e.align,v=e.point,h=e.getRootDomNode,m=e.getClassNameFromAlign,g=e.onAlign,y=e.onMouseEnter,b=e.onMouseLeave,w=e.onMouseDown,k=e.onTouchStart,E=e.onClick,Z=(0,d.useRef)(),M=(0,d.useRef)(),x=(0,d.useState)(),T=(0,me.Z)(x,2),S=T[0],O=T[1],N=function(e){var t=d.useState({width:0,height:0}),n=(0,me.Z)(t,2),o=n[0],r=n[1];return[d.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,a=o.height;Math.abs(t-i)<1&&Math.abs(n-a)<1&&(t=i,n=a),r({width:t,height:n})}]}(l),D=(0,me.Z)(N,2),R=D[0],A=D[1];var L=function(e,t){var n=be(null),o=(0,me.Z)(n,2),r=o[0],i=o[1],a=(0,d.useRef)();function u(e){i(e,!0)}function s(){ae.cancel(a.current)}return(0,d.useEffect)((function(){u("measure")}),[e]),(0,d.useEffect)((function(){"measure"===r&&t(),r&&(a.current=ae(Hn(An().mark((function e(){var t,n;return An().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Vn.indexOf(r),(n=Vn[t+1])&&-1!==t&&u(n);case 3:case"end":return e.stop()}}),e)})))))}),[r]),(0,d.useEffect)((function(){return function(){s()}}),[]),[r,function(e){s(),a.current=ae((function(){u((function(e){switch(r){case"align":return"motion";case"motion":return"stable"}return e})),null===e||void 0===e||e()}))}]}(n,(function(){l&&A(h())})),H=(0,me.Z)(L,2),V=H[0],F=H[1],B=(0,d.useState)(0),I=(0,me.Z)(B,2),U=I[0],_=I[1],j=(0,d.useRef)();function W(){var e;null===(e=Z.current)||void 0===e||e.forceAlign()}function X(e,t){var n=m(t);S!==n&&O(n),_((function(e){return e+1})),"align"===V&&(null===g||void 0===g||g(e,t))}yn((function(){"alignPre"===V&&_(0)}),[V]),yn((function(){"align"===V&&(U<3?W():F((function(){var e;null===(e=j.current)||void 0===e||e.call(j)})))}),[U]);var G=(0,o.Z)({},ut(e));function K(){return new Promise((function(e){j.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=G[e];G[e]=function(e,n){return F(),null===t||void 0===t?void 0:t(e,n)}})),d.useEffect((function(){G.motionName||"motion"!==V||F()}),[G.motionName,V]),d.useImperativeHandle(t,(function(){return{forceAlign:W,getElement:function(){return M.current}}}));var Y=(0,o.Z)((0,o.Z)({},R),{},{zIndex:s,opacity:"motion"!==V&&"stable"!==V&&n?0:void 0,pointerEvents:n||"stable"===V?void 0:"none"},a),z=!0;null===p||void 0===p||!p.points||"align"!==V&&"stable"!==V||(z=!1);var Q=u;return d.Children.count(u)>1&&(Q=d.createElement("div",{className:"".concat(r,"-content")},u)),d.createElement(at,(0,C.Z)({visible:n,ref:M,leavedClassName:"".concat(r,"-hidden")},G,{onAppearPrepare:K,onEnterPrepare:K,removeOnLeave:c,forceRender:f}),(function(e,t){var n=e.className,a=e.style,u=P()(r,i,S,n);return d.createElement(Mn,{target:v||h,key:"popup",ref:Z,monitorWindowResize:!0,disabled:z,align:p,onAlign:X},d.createElement("div",{ref:t,className:u,onMouseEnter:y,onMouseLeave:b,onMouseDownCapture:w,onTouchStartCapture:k,onClick:E,style:(0,o.Z)((0,o.Z)({},a),Y)},Q))}))}));Fn.displayName="PopupInner";const Bn=Fn;var In=d.forwardRef((function(e,t){var n=e.prefixCls,r=e.visible,i=e.zIndex,a=e.children,u=e.mobile,s=(u=void 0===u?{}:u).popupClassName,l=u.popupStyle,c=u.popupMotion,f=void 0===c?{}:c,p=u.popupRender,v=e.onClick,h=d.useRef();d.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return h.current}}}));var m=(0,o.Z)({zIndex:i},l),g=a;return d.Children.count(a)>1&&(g=d.createElement("div",{className:"".concat(n,"-content")},a)),p&&(g=p(g)),d.createElement(at,(0,C.Z)({visible:r,ref:h,removeOnLeave:!0},f),(function(e,t){var r=e.className,i=e.style,a=P()(n,s,r);return d.createElement("div",{ref:t,className:a,onClick:v,style:(0,o.Z)((0,o.Z)({},i),m)},g)}))}));In.displayName="MobilePopupInner";const Un=In;var _n=["visible","mobile"],jn=d.forwardRef((function(e,t){var n=e.visible,r=e.mobile,i=(0,Z.Z)(e,_n),a=(0,d.useState)(n),u=(0,me.Z)(a,2),s=u[0],l=u[1],c=(0,d.useState)(!1),f=(0,me.Z)(c,2),p=f[0],v=f[1],h=(0,o.Z)((0,o.Z)({},i),{},{visible:s});(0,d.useEffect)((function(){l(n),n&&r&&v(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))}())}),[n,r]);var m=p?d.createElement(Un,(0,C.Z)({},h,{mobile:r,ref:t})):d.createElement(Bn,(0,C.Z)({},h,{ref:t}));return d.createElement("div",null,d.createElement(st,h),m)}));jn.displayName="Popup";const Wn=jn;const Xn=d.createContext(null);function Gn(){}function Kn(){return""}function Yn(e){return e?e.ownerDocument:window.document}var zn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onF
2ocus","onBlur","onContextMenu"];const Qn=function(e){var t=function(t){u(a,t);var n=p(a);function a(e){var t,o;return(0,r.Z)(this,a),t=n.call(this,e),(0,k.Z)((0,f.Z)(t),"popupRef",d.createRef()),(0,k.Z)((0,f.Z)(t),"triggerRef",d.createRef()),(0,k.Z)((0,f.Z)(t),"portalContainer",void 0),(0,k.Z)((0,f.Z)(t),"attachId",void 0),(0,k.Z)((0,f.Z)(t),"clickOutsideHandler",void 0),(0,k.Z)((0,f.Z)(t),"touchOutsideHandler",void 0),(0,k.Z)((0,f.Z)(t),"contextMenuOutsideHandler1",void 0),(0,k.Z)((0,f.Z)(t),"contextMenuOutsideHandler2",void 0),(0,k.Z)((0,f.Z)(t),"mouseDownTimeout",void 0),(0,k.Z)((0,f.Z)(t),"focusTime",void 0),(0,k.Z)((0,f.Z)(t),"preClickTime",void 0),(0,k.Z)((0,f.Z)(t),"preTouchTime",void 0),(0,k.Z)((0,f.Z)(t),"delayTimer",void 0),(0,k.Z)((0,f.Z)(t),"hasPopupMouseDown",void 0),(0,k.Z)((0,f.Z)(t),"onMouseEnter",(function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)})),(0,k.Z)((0,f.Z)(t),"onMouseMove",(function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)})),(0,k.Z)((0,f.Z)(t),"onMouseLeave",(function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),(0,k.Z)((0,f.Z)(t),"onPopupMouseEnter",(function(){t.clearDelayTimer()})),(0,k.Z)((0,f.Z)(t),"onPopupMouseLeave",(function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&ue(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),(0,k.Z)((0,f.Z)(t),"onFocus",(function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))})),(0,k.Z)((0,f.Z)(t),"onMouseDown",(function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()})),(0,k.Z)((0,f.Z)(t),"onTouchStart",(function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()})),(0,k.Z)((0,f.Z)(t),"onBlur",(function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)})),(0,k.Z)((0,f.Z)(t),"onContextMenu",(function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)})),(0,k.Z)((0,f.Z)(t),"onContextMenuClose",(function(){t.isContextMenuToShow()&&t.close()})),(0,k.Z)((0,f.Z)(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)})),(0,k.Z)((0,f.Z)(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)})),(0,k.Z)((0,f.Z)(t),"onDocumentClick",(function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,o=t.getRootDomNode(),r=t.getPopupDomNode();ue(o,n)&&!t.isContextMenuOnly()||ue(r,n)||t.hasPopupMouseDown||t.close()}})),(0,k.Z)((0,f.Z)(t),"getRootDomNode",(function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=se(t.triggerRef.current);if(n)return n}catch(o){}return T.findDOMNode((0,f.Z)(t))})),(0,k.Z)((0,f.Z)(t),"getPopupClassNameFromAlign",(function(e){var n=[],o=t.props,r=o.popupPlacement,i=o.builtinPlacements,a=o.prefixCls,u=o.alignPoint,s=o.getPopupClassNameFromAlign;return r&&i&&n.push(function(e,t,n,o){for(var r=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var u=i[a];if(he(e[u].points,r,o))return"".concat(t,"-placement-").concat(u)}return""}(i,a,e,u)),s&&n.push(s(e)),n.join(" ")})),(0,k.Z)((0,f.Z)(t),"getComponent",(function(){var e=t.props,n=e.prefixCls,o=e.destroyPopupOnHide,r=e.popupClassName,i=e.onPopupAlign,a=e.popupMotion,u=e.popupAnimation,s=e.popupTransitionName,l=e.popupStyle,c=e.mask,f=e.maskAnimation,p=e.maskTransitionName,v=e.maskMotion,h=e.zIndex,m=e.popup,g=e.stretch,y=e.alignPoint,b=e.mobile,w=e.forceRender,k=e.onPopupClick,E=t.state,Z=E.popupVisible,M=E.point,x=t.getPopupAlign(),T={};return t.isMouseEnterToShow()&&(T.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(T.onMouseLeave=t.onPopupMouseLeave),T.onMouseDown=t.onPopupMouseDown,T.onTouchStart=t.onPopupMouseDown,d.createElement(Wn,(0,C.Z)({prefixCls:n,destroyPopupOnHide:o,visible:Z,point:y&&M,className:r,align:x,onAlign:i,animation:u,getClassNameFromAlign:t.getPopupClassNameFromAlign}
2,T,{stretch:g,getRootDomNode:t.getRootDomNode,style:l,mask:c,zIndex:h,transitionName:s,maskAnimation:f,maskTransitionName:p,maskMotion:v,ref:t.popupRef,motion:a,mobile:b,forceRender:w,onClick:k}),"function"===typeof m?m():m)})),(0,k.Z)((0,f.Z)(t),"attachParent",(function(e){ae.cancel(t.attachId);var n,o=t.props,r=o.getPopupContainer,i=o.getDocument,a=t.getRootDomNode();r?(a||0===r.length)&&(n=r(a)):n=i(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=ae((function(){t.attachParent(e)}))})),(0,k.Z)((0,f.Z)(t),"getContainer",(function(){if(!t.portalContainer){var e=(0,t.props.getDocument)(t.getRootDomNode()).createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",t.portalContainer=e}return t.attachParent(t.portalContainer),t.portalContainer})),(0,k.Z)((0,f.Z)(t),"setPoint",(function(e){t.props.alignPoint&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})})),(0,k.Z)((0,f.Z)(t),"handlePortalUpdate",(function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)})),(0,k.Z)((0,f.Z)(t),"triggerContextValue",{onPopupMouseDown:t.onPopupMouseDown}),o="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:o,popupVisible:o},zn.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return(0,i.Z)(a,[{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=S(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=S(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=S(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=S(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),ae.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,r=e.builtinPlacements;return t&&r?function(e,t,n){var r=e[t]||{};return(0,o.Z)((0,o.Z)({},r),n)}(r,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,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;
2return-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,r=n.children,i=n.forceRender,a=n.alignPoint,u=n.className,s=n.autoDestroy,l=d.Children.only(r),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,a&&(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 f=P()(l&&l.props&&l.props.className,u);f&&(c.className=f);var p=(0,o.Z)({},c);pe(l)&&(p.ref=fe(this.triggerRef,l.ref));var v,h=d.cloneElement(l,p);return(t||this.popupRef.current||i)&&(v=d.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&s&&(v=null),d.createElement(Xn.Provider,{value:this.triggerContextValue},h,v)}}],[{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}}]),a}(d.Component);return(0,k.Z)(t,"contextType",Xn),(0,k.Z)(t,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Kn,getDocument:Yn,onPopupVisibleChange:Gn,afterPopupVisibleChange:Gn,onPopupAlign:Gn,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}(ve);var qn={adjustX:1,adjustY:1},$n=[0,0],Jn={left:{points:["cr","cl"],overflow:qn,offset:[-4,0],targetOffset:$n},right:{points:["cl","cr"],overflow:qn,offset:[4,0],targetOffset:$n},top:{points:["bc","tc"],overflow:qn,offset:[0,-4],targetOffset:$n},bottom:{points:["tc","bc"],overflow:qn,offset:[0,4],targetOffset:$n},topLeft:{points:["bl","tl"],overflow:qn,offset:[0,-4],targetOffset:$n},leftTop:{points:["tr","tl"],overflow:qn,offset:[-4,0],targetOffset:$n},topRight:{points:["br","tr"],overflow:qn,offset:[0,-4],targetOffset:$n},rightTop:{points:["tl","tr"],overflow:qn,offset:[4,0],targetOffset:$n},bottomRight:{points:["tr","br"],overflow:qn,offset:[0,4],targetOffset:$n},rightBottom:{points:["bl","br"],overflow:qn,offset:[4,0],targetOffset:$n},bottomLeft:{points:["tl","bl"],overflow:qn,offset:[0,4],targetOffset:$n},leftBottom:{points:["br","bl"],overflow:qn,offset:[-4,0],targetOffset:$n}};function eo(e){var t=e.showArrow,n=e.arrowContent,o=e.children,r=e.prefixCls,i=e.id,a=e.overlayInnerStyle,u=e.className,s=e.style;return d.createElement("div",{className:P()("".concat(r,"-content"),u),style:s},!1!==t&&d.createElement("div",{className:"".concat(r,"-arrow"),key:"arrow"},n),d.createElement("div",{className:"".concat(r,"-inner"),id:i,role:"tooltip",style:a},"function"===typeof o?o():o))}var to=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],no=function(e,t){var n=e.overlayClassName,r=e.trigger,i=void 0===r?["hover"]:r,a=e.mouseEnterDelay,u=void 0===a?0:a,s=e.mouseLeaveDelay,l=void 0===s?.1:s,f=e.overlayStyle,p=e.prefixCls,v=void 0===p?"rc-tooltip":p,h=e.children,m=e.onVisibleChange,g=e.afterVisibleChange,y=e.transitionName,b=e.animation,w=e.motion,k=e.placement,E=void 0===k?"right":k,M=e.align,x=void 0===M?{}:M,T=e.destroyTooltipOnHide,S=void 0!==T&&T,O=e.defaultVisible,P=e.getTooltipContainer,N=e.overlayInnerStyle,D=e.arrowContent,R=e.overlay,A=e.id,L=e.showArrow,H=void 0===L||L,V=(0,Z.Z)(e,to),F=(0,d.useRef)(null);(0,d.useImperativeHandle)(t,(function(){return F.current}));var B=(0,o.Z)({},V);"visible"in e&&(B.popupVisible=e.visible);var I=!1,U=!1;if("boolean"===typeof S)I=S;else if(S&&"object"===(0,c.Z)(S)){var _=S.keepParent;I=!0===_,U=!1===_}return d.createElement(Qn,(0,C.Z)({popupClassName:n,prefixCls:v,popup:function(){return d.createElement(eo,{showArrow:H,arrowContent:D,key:"c
2ontent",prefixCls:v,id:A,overlayInnerStyle:N},R)},action:i,builtinPlacements:Jn,popupPlacement:E,ref:F,popupAlign:x,getPopupContainer:P,onPopupVisibleChange:m,afterPopupVisibleChange:g,popupTransitionName:y,popupAnimation:b,popupMotion:w,defaultPopupVisible:O,destroyPopupOnHide:I,autoDestroy:U,mouseLeaveDelay:l,popupStyle:f,mouseEnterDelay:u},B),h)};const oo=(0,d.forwardRef)(no);const ro=d.forwardRef((function(e,t){var n=e.visible,o=e.overlay,r=d.useRef(null),i=fe(t,r),a=d.useRef(null);function u(){ae.cancel(a.current)}return d.useEffect((function(){return n?a.current=ae((function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign()})):u(),u}),[n,o]),d.createElement(oo,(0,C.Z)({ref:i},e))}));var io=Q;io.Range=J,io.Handle=R,io.createSliderWithTooltip=function(e){var t;return(t=function(t){u(a,t);var n=p(a);function a(){var e;return(0,r.Z)(this,a),(e=n.apply(this,arguments)).state={visibles:{}},e.handleTooltipVisibleChange=function(t,n){e.setState((function(e){return{visibles:(0,o.Z)((0,o.Z)({},e.visibles),{},(0,k.Z)({},t,n))}}))},e.handleWithTooltip=function(t){var n,r=t.value,i=t.dragging,a=t.index,u=t.disabled,s=(0,Z.Z)(t,["value","dragging","index","disabled"]),l=e.props,c=l.tipFormatter,f=l.tipProps,p=l.handleStyle,v=l.getTooltipContainer,h=f.prefixCls,m=void 0===h?"rc-slider-tooltip":h,g=f.overlay,y=void 0===g?c(r):g,b=f.placement,w=void 0===b?"top":b,k=f.visible,E=void 0!==k&&k,M=(0,Z.Z)(f,["prefixCls","overlay","placement","visible"]);return n=Array.isArray(p)?p[a]||p[0]:p,d.createElement(ro,(0,C.Z)({},M,{getTooltipContainer:v,prefixCls:m,overlay:y,placement:w,visible:!u&&(e.state.visibles[a]||i)||E,key:a}),d.createElement(R,(0,C.Z)({},s,{style:(0,o.Z)({},n),value:r,onMouseEnter:function(){return e.handleTooltipVisibleChange(a,!0)},onMouseLeave:function(){return e.handleTooltipVisibleChange(a,!1)}})))},e}return(0,i.Z)(a,[{key:"render",value:function(){return d.createElement(e,(0,C.Z)({},this.props,{handle:this.handleWithTooltip}))}}]),a}(d.Component)).defaultProps={tipFormatter:function(e){return e},handleStyle:[{}],tipProps:{},getTooltipContainer:function(e){return e.parentNode}},t};const ao=io},94501:(e,t)=>{var n,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case i:case u:case a:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case f:case h:case v:case s:return e;default:return t}}case r:return t}}}n=Symbol.for("react.module.reference"),t.isMemo=function(e){return g(e)===v}},73873:(e,t,n)=>{e.exports=n(94501)},85262:()=>{},76818:()=>{}}]); 3//# sourceMappingURL=3599.188a0bf5.chunk.js.map
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.