static.kuangkie.hydrogen.bundle.d7e00b3aade590f82f83.js Maven / Gradle / Ivy
The newest version!
/*! For license information please see bundle.d7e00b3aade590f82f83.js.LICENSE.txt */
(self.webpackChunkhydrogen_react=self.webpackChunkhydrogen_react||[]).push([[6136],{98778:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(63123),a=n(36849),i=n(31311),o=n(55043),l=n(8270),u=n(17253),s=n(35466),c=n(46116),d=n(92703),f=n.n(d),h=n(56415),p=s.forwardRef((function(e,t){var n,i=e.height,o=e.offsetY,u=e.offsetX,c=e.children,d=e.prefixCls,p=e.onInnerResize,g=e.innerProps,v=e.rtl,m=e.extra,y={},b={display:"flex",flexDirection:"column"};return void 0!==o&&(y={height:i,position:"relative",overflow:"hidden"},b=(0,a.Z)((0,a.Z)({},b),{},(n={transform:"translateY(".concat(o,"px)")},(0,l.Z)(n,v?"marginRight":"marginLeft",-u),(0,l.Z)(n,"position","absolute"),(0,l.Z)(n,"left",0),(0,l.Z)(n,"right",0),(0,l.Z)(n,"top",0),n))),s.createElement("div",{style:y},s.createElement(h.Z,{onResize:function(e){e.offsetHeight&&p&&p()}},s.createElement("div",(0,r.Z)({style:b,className:f()((0,l.Z)({},"".concat(d,"-holder-inner"),d)),ref:t},g),c,m)))}));p.displayName="Filler";var g=p,v=n(61277);function m(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var y=s.forwardRef((function(e,t){var n,r=e.prefixCls,i=e.rtl,u=e.scrollOffset,c=e.scrollRange,d=e.onStartMove,h=e.onStopMove,p=e.onScroll,g=e.horizontal,y=e.spinSize,b=e.containerSize,w=e.style,S=e.thumbStyle,k=s.useState(!1),E=(0,o.Z)(k,2),T=E[0],D=E[1],C=s.useState(null),x=(0,o.Z)(C,2),N=x[0],P=x[1],M=s.useState(null),L=(0,o.Z)(M,2),O=L[0],z=L[1],I=!i,_=s.useRef(),R=s.useRef(),H=s.useState(!1),F=(0,o.Z)(H,2),V=F[0],U=F[1],A=s.useRef(),W=function(){clearTimeout(A.current),U(!0),A.current=setTimeout((function(){U(!1)}),3e3)},j=c-b||0,B=b-y||0,$=j>0,Z=s.useMemo((function(){return 0===u||0===j?0:u/j*B}),[u,j,B]),Q=s.useRef({top:Z,dragging:T,pageY:N,startTop:O});Q.current={top:Z,dragging:T,pageY:N,startTop:O};var Y=function(e){D(!0),P(m(e,g)),z(Q.current.top),d(),e.stopPropagation(),e.preventDefault()};s.useEffect((function(){var e=function(e){e.preventDefault()},t=_.current,n=R.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",Y),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",Y)}}),[]);var q=s.useRef();q.current=j;var X=s.useRef();X.current=B,s.useEffect((function(){if(T){var e,t=function(t){var n=Q.current,r=n.dragging,a=n.pageY,i=n.startTop;if(v.Z.cancel(e),r){var o=m(t,g)-a,l=i;!I&&g?l-=o:l+=o;var u=q.current,s=X.current,c=s?l/s:0,d=Math.ceil(c*u);d=Math.max(d,0),d=Math.min(d,u),e=(0,v.Z)((function(){p(d,g)}))}},n=function(){D(!1),h()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),v.Z.cancel(e)}}}),[T]),s.useEffect((function(){W()}),[u]),s.useImperativeHandle(t,(function(){return{delayHidden:W}}));var K="".concat(r,"-scrollbar"),G={position:"absolute",visibility:V&&$?null:"hidden"},J={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return g?(G.height=8,G.left=0,G.right=0,G.bottom=0,J.height="100%",J.width=y,I?J.left=Z:J.right=Z):(G.width=8,G.top=0,G.bottom=0,I?G.right=0:G.left=0,J.width="100%",J.height=y,J.top=Z),s.createElement("div",{ref:_,className:f()(K,(n={},(0,l.Z)(n,"".concat(K,"-horizontal"),g),(0,l.Z)(n,"".concat(K,"-vertical"),!g),(0,l.Z)(n,"".concat(K,"-visible"),V),n)),style:(0,a.Z)((0,a.Z)({},G),w),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:W},s.createElement("div",{ref:R,className:f()("".concat(K,"-thumb"),(0,l.Z)({},"".concat(K,"-thumb-moving"),T)),style:(0,a.Z)((0,a.Z)({},J),S),onMouseDown:Y}))}));function b(e){var t=e.children,n=e.setRef,r=s.useCallback((function(e){n(e)}),[]);return s.cloneElement(t,{ref:r})}var w=n(11889),S=n(4913),k=n(64296),E=function(){function e(){(0,S.Z)(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,k.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),T=n(2610),D=n(76983);var C="object"===("undefined"==typeof navigator?"undefined":(0,i.Z)(navigator))&&/Firefox/i.test(navigator.userAgent),x=function(e,t){var n=(0,s.useRef)(!1),r=(0,s.useRef)(null),a=(0,s.useRef)({top:e,bottom:t});return a.current.top=e,a.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e<0&&a.current.top||e>0&&a.current.bottom;return t&&i?(clearTimeout(r.current),n.current=!1):i&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&i}};var N=20;function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=e/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)*100;return isNaN(t)&&(t=0),t=Math.max(t,N),t=Math.min(t,e/2),Math.floor(t)}var M=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],L=[],O={overflowY:"auto",overflowAnchor:"none"};function z(e,t){var n=e.prefixCls,d=void 0===n?"rc-virtual-list":n,p=e.className,m=e.height,S=e.itemHeight,k=e.fullHeight,N=void 0===k||k,z=e.style,I=e.data,_=e.children,R=e.itemKey,H=e.virtual,F=e.direction,V=e.scrollWidth,U=e.component,A=void 0===U?"div":U,W=e.onScroll,j=e.onVirtualScroll,B=e.onVisibleChange,$=e.innerProps,Z=e.extraRender,Q=e.styles,Y=(0,u.Z)(e,M),q=!(!1===H||!m||!S),X=q&&I&&(S*I.length>m||!!V),K="rtl"===F,G=f()(d,(0,l.Z)({},"".concat(d,"-rtl"),K),p),J=I||L,ee=(0,s.useRef)(),te=(0,s.useRef)(),ne=(0,s.useState)(0),re=(0,o.Z)(ne,2),ae=re[0],ie=re[1],oe=(0,s.useState)(0),le=(0,o.Z)(oe,2),ue=le[0],se=le[1],ce=(0,s.useState)(!1),de=(0,o.Z)(ce,2),fe=de[0],he=de[1],pe=function(){he(!0)},ge=function(){he(!1)},ve=s.useCallback((function(e){return"function"==typeof R?R(e):null==e?void 0:e[R]}),[R]),me={getKey:ve};function ye(e){ie((function(t){var n=function(e){var t=e;return Number.isNaN(je.current)||(t=Math.min(t,je.current)),t=Math.max(t,0)}("function"==typeof e?e(t):e);return ee.current.scrollTop=n,n}))}var be=(0,s.useRef)({start:0,end:J.length}),we=(0,s.useRef)(),Se=function(e,t,n){var r=s.useState(e),a=(0,o.Z)(r,2),i=a[0],l=a[1],u=s.useState(null),c=(0,o.Z)(u,2),d=c[0],f=c[1];return s.useEffect((function(){var r=function(e,t,n){var r,a,i=e.length,o=t.length;if(0===i&&0===o)return null;i0&&void 0!==arguments[0]&&arguments[0];f();var t=function(){u.current.forEach((function(e,t){if(e&&e.offsetParent){var n=(0,w.Z)(e),r=n.offsetHeight;c.current.get(t)!==r&&c.current.set(t,n.offsetHeight)}})),l((function(e){return e+1}))};e?t():d.current=(0,v.Z)(t)}return(0,s.useEffect)((function(){return f}),[]),[function(t,n){var r=e(t);u.current.get(r);n?(u.current.set(r,n),h()):u.current.delete(r)},h,c.current,i]}(ve),Te=(0,o.Z)(Ee,4),De=Te[0],Ce=Te[1],xe=Te[2],Ne=Te[3],Pe=s.useMemo((function(){if(!q)return{scrollHeight:void 0,start:0,end:J.length-1,offset:void 0};var e;if(!X)return{scrollHeight:(null===(e=te.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:J.length-1,offset:void 0};for(var t,n,r,a=0,i=J.length,o=0;o=ae&&void 0===t&&(t=o,n=a),c>ae+m&&void 0===r&&(r=o),a=c}return void 0===t&&(t=0,n=0,r=Math.ceil(m/S)),void 0===r&&(r=J.length-1),{scrollHeight:a,start:t,end:r=Math.min(r+1,J.length-1),offset:n}}),[X,q,ae,J,Ne,m]),Me=Pe.scrollHeight,Le=Pe.start,Oe=Pe.end,ze=Pe.offset;be.current.start=Le,be.current.end=Oe;var Ie=s.useState({width:0,height:m}),_e=(0,o.Z)(Ie,2),Re=_e[0],He=_e[1],Fe=(0,s.useRef)(),Ve=(0,s.useRef)(),Ue=s.useMemo((function(){return P(Re.width,V)}),[Re.width,V]),Ae=s.useMemo((function(){return P(Re.height,Me)}),[Re.height,Me]),We=Me-m,je=(0,s.useRef)(We);je.current=We;var Be=ae<=0,$e=ae>=We,Ze=x(Be,$e),Qe=function(){return{x:K?-ue:ue,y:ae}},Ye=(0,s.useRef)(Qe()),qe=(0,D.zX)((function(){if(j){var e=Qe();Ye.current.x===e.x&&Ye.current.y===e.y||(j(e),Ye.current=e)}}));function Xe(e,t){var n=e;t?((0,c.flushSync)((function(){se(n)})),qe()):ye(n)}var Ke=function(e){var t=e,n=V-Re.width;return t=Math.max(t,0),Math.min(t,n)},Ge=(0,D.zX)((function(e,t){t?((0,c.flushSync)((function(){se((function(t){return Ke(t+(K?-e:e))}))})),qe()):ye((function(t){return t+e}))})),Je=function(e,t,n,r,a){var i=(0,s.useRef)(0),o=(0,s.useRef)(null),l=(0,s.useRef)(null),u=(0,s.useRef)(!1),c=x(t,n),d=(0,s.useRef)(null),f=(0,s.useRef)(null);return[function(t){if(e){v.Z.cancel(f.current),f.current=(0,v.Z)((function(){d.current=null}),2);var n=t.deltaX,s=t.deltaY,h=t.shiftKey,p=n,g=s;("sx"===d.current||!d.current&&h&&s&&!n)&&(p=s,g=0,d.current="sx");var m=Math.abs(p),y=Math.abs(g);null===d.current&&(d.current=r&&m>y?"x":"y"),"y"===d.current?function(e,t){v.Z.cancel(o.current),i.current+=t,l.current=t,c(t)||(C||e.preventDefault(),o.current=(0,v.Z)((function(){var e=u.current?10:1;a(i.current*e),i.current=0})))}(t,g):function(e,t){a(t,!0),C||e.preventDefault()}(t,p)}},function(t){e&&(u.current=t.detail===l.current)}]}(q,Be,$e,!!V,Ge),et=(0,o.Z)(Je,2),tt=et[0],nt=et[1];!function(e,t,n){var r,a=(0,s.useRef)(!1),i=(0,s.useRef)(0),o=(0,s.useRef)(null),l=(0,s.useRef)(null),u=function(e){if(a.current){var t=Math.ceil(e.touches[0].pageY),r=i.current-t;i.current=t,n(r)&&e.preventDefault(),clearInterval(l.current),l.current=setInterval((function(){(!n(r*=.9333333333333333,!0)||Math.abs(r)<=.1)&&clearInterval(l.current)}),16)}},c=function(){a.current=!1,r()},d=function(e){r(),1!==e.touches.length||a.current||(a.current=!0,i.current=Math.ceil(e.touches[0].pageY),o.current=e.target,o.current.addEventListener("touchmove",u),o.current.addEventListener("touchend",c))};r=function(){o.current&&(o.current.removeEventListener("touchmove",u),o.current.removeEventListener("touchend",c))},(0,T.Z)((function(){return e&&t.current.addEventListener("touchstart",d),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(l.current)}}),[e])}(q,ee,(function(e,t){return!Ze(e,t)&&(tt({preventDefault:function(){},deltaY:e}),!0)})),(0,T.Z)((function(){function e(e){q&&e.preventDefault()}var t=ee.current;return t.addEventListener("wheel",tt),t.addEventListener("DOMMouseScroll",nt),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",tt),t.removeEventListener("DOMMouseScroll",nt),t.removeEventListener("MozMousePixelScroll",e)}}),[q]),(0,T.Z)((function(){V&&se((function(e){return Ke(e)}))}),[Re.width,V]);var rt=function(){var e,t;null===(e=Fe.current)||void 0===e||e.delayHidden(),null===(t=Ve.current)||void 0===t||t.delayHidden()},at=function(e,t,n,r,l,u,c,d){var f=s.useRef(),h=s.useState(null),p=(0,o.Z)(h,2),g=p[0],m=p[1];return(0,T.Z)((function(){if(g&&g.times<10){if(!e.current)return void m((function(e){return(0,a.Z)({},e)}));u();var i=g.targetAlign,o=g.originAlign,s=g.index,d=g.offset,f=e.current.clientHeight,h=!1,p=i,v=null;if(f){for(var y=i||o,b=0,w=0,S=0,k=Math.min(t.length-1,s),E=0;E<=k;E+=1){var T=l(t[E]);w=b;var D=n.get(T);b=S=w+(void 0===D?r:D)}for(var C="top"===y?d:f-d,x=k;x>=0;x-=1){var N=l(t[x]),P=n.get(N);if(void 0===P){h=!0;break}if((C-=P)<=0)break}switch(y){case"top":v=w-d;break;case"bottom":v=S-f+d;break;default:var M=e.current.scrollTop;wM+f&&(p="bottom")}null!==v&&c(v),v!==g.lastTop&&(h=!0)}h&&m((0,a.Z)((0,a.Z)({},g),{},{times:g.times+1,targetAlign:p,lastTop:v}))}}),[g,e.current]),function(e){if(null!=e){if(v.Z.cancel(f.current),"number"==typeof e)c(e);else if(e&&"object"===(0,i.Z)(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex((function(t){return l(t)===e.key}));var a=e.offset;m({times:0,index:n,offset:void 0===a?0:a,originAlign:r})}}else d()}}(ee,J,xe,S,ve,(function(){return Ce(!0)}),ye,rt);s.useImperativeHandle(t,(function(){return{getScrollInfo:Qe,scrollTo:function(e){var t;(t=e)&&"object"===(0,i.Z)(t)&&("left"in t||"top"in t)?(void 0!==e.left&&se(Ke(e.left)),at(e.top)):at(e)}}})),(0,T.Z)((function(){if(B){var e=J.slice(Le,Oe+1);B(e,J)}}),[Le,Oe,J]);var it=function(e,t,n,r){var a=s.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),i=(0,o.Z)(a,2),l=i[0],u=i[1];return function(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,o=l.get(a),s=l.get(i);if(void 0===o||void 0===s)for(var c=e.length,d=u.length;dm&&s.createElement(y,{ref:Fe,prefixCls:d,scrollOffset:ae,scrollRange:Me,rtl:K,onScroll:Xe,onStartMove:pe,onStopMove:ge,spinSize:Ae,containerSize:Re.height,style:null==Q?void 0:Q.verticalScrollBar,thumbStyle:null==Q?void 0:Q.verticalScrollBarThumb}),X&&V&&s.createElement(y,{ref:Ve,prefixCls:d,scrollOffset:ue,scrollRange:V,rtl:K,onScroll:Xe,onStartMove:pe,onStopMove:ge,spinSize:Ue,containerSize:Re.width,horizontal:!0,style:null==Q?void 0:Q.horizontalScrollBar,thumbStyle:null==Q?void 0:Q.horizontalScrollBarThumb}))}var I=s.forwardRef(z);I.displayName="List";var _=I},45468:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},62526:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1?r-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,a=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),a.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,a=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),a.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,a=n.onScrollFrame;r&&r(e),this.update((function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,a&&a(e)})),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect().left,a=this.getThumbHorizontalWidth(),i=Math.abs(r-n)-a/2;this.view.scrollLeft=this.getScrollLeftForOffset(i)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect().top,a=this.getThumbVerticalHeight(),i=Math.abs(r-n)-a/2;this.view.scrollTop=this.getScrollTopForOffset(i)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,a=t.getBoundingClientRect().left;this.prevPageX=r-(n-a)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,a=t.getBoundingClientRect().top;this.prevPageY=r-(n-a)}},{key:"setupDragging",value:function(){(0,l.default)(document.body,g.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=f.default}},{key:"teardownDragging",value:function(){(0,l.default)(document.body,g.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=-this.trackHorizontal.getBoundingClientRect().left+t-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(n)}if(this.prevPageY){var r=e.clientY,a=-this.trackVertical.getBoundingClientRect().top+r-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(a)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,l.default)(this.trackHorizontal,{opacity:1}),(0,l.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout((function(){(0,l.default)(e.trackHorizontal,{opacity:0}),(0,l.default)(e.trackVertical,{opacity:0})}),t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval((function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop}),100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&o.default.cancel(this.requestFrame),this.requestFrame=(0,o.default)((function(){t.requestFrame=void 0,e()}))}},{key:"update",value:function(e){var t=this;this.raf((function(){return t._update(e)}))}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,a=this.getValues();if((0,d.default)()){var i=a.scrollLeft,o=a.clientWidth,u=a.scrollWidth,s=(0,h.default)(this.trackHorizontal),c=this.getThumbHorizontalWidth(),f={width:c,transform:"translateX("+i/(u-o)*(s-c)+"px)"},g=a.scrollTop,v=a.clientHeight,m=a.scrollHeight,y=(0,p.default)(this.trackVertical),b=this.getThumbVerticalHeight(),w={height:b,transform:"translateY("+g/(m-v)*(y-b)+"px)"};if(r){var S={visibility:u>o?"visible":"hidden"},k={visibility:m>v?"visible":"hidden"};(0,l.default)(this.trackHorizontal,S),(0,l.default)(this.trackVertical,k)}(0,l.default)(this.thumbHorizontal,f),(0,l.default)(this.thumbVertical,w)}n&&n(a),"function"==typeof e&&e(a)}},{key:"render",value:function(){var e=this,t=(0,d.default)(),n=this.props,a=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),i=n.renderTrackHorizontal,o=n.renderTrackVertical,l=n.renderThumbHorizontal,s=n.renderThumbVertical,f=n.tagName,h=(n.hideTracksWhenNotNeeded,n.autoHide),p=(n.autoHideTimeout,n.autoHideDuration),v=(n.thumbSize,n.thumbMinSize,n.universal),m=n.autoHeight,y=n.autoHeightMin,b=n.autoHeightMax,w=n.style,S=n.children,k=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),E=this.state.didMountUniversal,T=r({},g.containerStyleDefault,m&&r({},g.containerStyleAutoHeight,{minHeight:y,maxHeight:b}),w),D=r({},g.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},m&&r({},g.viewStyleAutoHeight,{minHeight:(0,c.default)(y)?"calc("+y+" + "+t+"px)":y+t,maxHeight:(0,c.default)(b)?"calc("+b+" + "+t+"px)":b+t}),m&&v&&!E&&{minHeight:y,maxHeight:b},v&&!E&&g.viewStyleUniversalInitial),C={transition:"opacity "+p+"ms",opacity:0},x=r({},g.trackHorizontalStyleDefault,h&&C,(!t||v&&!E)&&{display:"none"}),N=r({},g.trackVerticalStyleDefault,h&&C,(!t||v&&!E)&&{display:"none"});return(0,u.createElement)(f,r({},k,{style:T,ref:function(t){e.container=t}}),[(0,u.cloneElement)(a({style:D}),{key:"view",ref:function(t){e.view=t}},S),(0,u.cloneElement)(i({style:x}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,u.cloneElement)(l({style:g.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,u.cloneElement)(o({style:N}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,u.cloneElement)(s({style:g.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(u.Component);t.default=y,y.propTypes={onScroll:s.default.func,onScrollFrame:s.default.func,onScrollStart:s.default.func,onScrollStop:s.default.func,onUpdate:s.default.func,renderView:s.default.func,renderTrackHorizontal:s.default.func,renderTrackVertical:s.default.func,renderThumbHorizontal:s.default.func,renderThumbVertical:s.default.func,tagName:s.default.string,thumbSize:s.default.number,thumbMinSize:s.default.number,hideTracksWhenNotNeeded:s.default.bool,autoHide:s.default.bool,autoHideTimeout:s.default.number,autoHideDuration:s.default.number,autoHeight:s.default.bool,autoHeightMin:s.default.oneOfType([s.default.number,s.default.string]),autoHeightMax:s.default.oneOfType([s.default.number,s.default.string]),universal:s.default.bool,style:s.default.object,children:s.default.node},y.defaultProps={renderView:v.renderViewDefault,renderTrackHorizontal:v.renderTrackHorizontalDefault,renderTrackVertical:v.renderTrackVerticalDefault,renderThumbHorizontal:v.renderThumbHorizontalDefault,renderThumbVertical:v.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},57307:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},49762:function(e,t,n){"use strict";var r,a=(r=n(62526))&&r.__esModule?r:{default:r};t.ZP=a.default,a.default},58939:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,a=n.paddingBottom;return t-parseFloat(r)-parseFloat(a)}},61133:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,a=n.paddingRight;return t-parseFloat(r)-parseFloat(a)}},10058:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1!==i)return i;if("undefined"!=typeof document){var e=document.createElement("div");(0,a.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),i=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else i=0;return i||0};var r,a=(r=n(52629))&&r.__esModule?r:{default:r},i=!1},95477:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},62044:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!1}},15566:function(e,t,n){for(var r=n(43042),a="undefined"==typeof window?n.g:window,i=["moz","webkit"],o="AnimationFrame",l=a["request"+o],u=a["cancel"+o]||a["cancelRequest"+o],s=0;!l&&st}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,y);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,y);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,y);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.element"),k=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),x=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function _(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var R,H=Object.assign;function F(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var V=!1;function U(e,t){if(!e||V)return"";V=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),i=r.stack.split("\n"),o=a.length-1,l=i.length-1;1<=o&&0<=l&&a[o]!==i[l];)l--;for(;1<=o&&0<=l;o--,l--)if(a[o]!==i[l]){if(1!==o||1!==l)do{if(o--,0>--l||a[o]!==i[l]){var u="\n"+a[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}}while(1<=o&&0<=l);break}}}finally{V=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function A(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return U(e.type,!1);case 11:return U(e.type.render,!1);case 1:return U(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case k:return"Portal";case D:return"Profiler";case T:return"StrictMode";case P:return"Suspense";case M:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case x:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return W(e(t))}catch(e){}}return null}function j(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function B(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function $(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=B(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function G(e,t){K(e,t);var n=B(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,B(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var me=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Ee=null,Te=null;function De(e){if(e=ba(e)){if("function"!=typeof ke)throw Error(i(280));var t=e.stateNode;t&&(t=Sa(t),ke(e.stateNode,e.type,t))}}function Ce(e){Ee?Te?Te.push(e):Te=[e]:Ee=e}function xe(){if(Ee){var e=Ee,t=Te;if(Te=Ee=null,De(e),t)for(e=0;e>>=0)?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2,st=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=268435455&n;if(0!==o){var l=o&~a;0!==l?r=dt(l):0!=(i&=o)&&(r=dt(i))}else 0!=(o=n&~a)?r=dt(o):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(i=t&-t)||16===a&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),a=1<=_n),Fn=String.fromCharCode(32),Vn=!1;function Un(e,t){switch(e){case"keyup":return-1!==zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function An(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1,jn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Bn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jn[e.type]:"textarea"===t}function $n(e,t,n,r){Ce(r),0<(t=Zr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zn=null,Qn=null;function Yn(e){Fr(e,0)}function qn(e){if(Q(wa(e)))return e}function Xn(e,t){if("change"===e)return t}var Kn=!1;if(c){var Gn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Gn=Jn}else Gn=!1;Kn=Gn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=void 0===r.end?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=cr(n,i);var o=cr(n,r);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,vr=null,mr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==Y(r)||(r="selectionStart"in(r=vr)&&hr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Zr(mr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function Sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:Sr("Animation","AnimationEnd"),animationiteration:Sr("Animation","AnimationIteration"),animationstart:Sr("Animation","AnimationStart"),transitionend:Sr("Transition","TransitionEnd")},Er={},Tr={};function Dr(e){if(Er[e])return Er[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Tr)return Er[e]=n[t];return e}c&&(Tr=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Cr=Dr("animationend"),xr=Dr("animationiteration"),Nr=Dr("animationstart"),Pr=Dr("transitionend"),Mr=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){Mr.set(e,t),u(t,[e])}for(var zr=0;zrEa||(e.current=ka[Ea],ka[Ea]=null,Ea--)}function Ca(e,t){Ea++,ka[Ea]=e.current,e.current=t}var xa={},Na=Ta(xa),Pa=Ta(!1),Ma=xa;function La(e,t){var n=e.type.contextTypes;if(!n)return xa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in n)i[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Oa(e){return null!=e.childContextTypes}function za(){Da(Pa),Da(Na)}function Ia(e,t,n){if(Na.current!==xa)throw Error(i(168));Ca(Na,t),Ca(Pa,n)}function _a(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(i(108,j(e)||"Unknown",a));return H({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xa,Ma=Na.current,Ca(Na,e),Ca(Pa,Pa.current),!0}function Ha(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=_a(e,t,Ma),r.__reactInternalMemoizedMergedChildContext=e,Da(Pa),Da(Na),Ca(Na,e)):Da(Pa),Ca(Pa,n)}var Fa=null,Va=!1,Ua=!1;function Aa(e){null===Fa?Fa=[e]:Fa.push(e)}function Wa(){if(!Ua&&null!==Fa){Ua=!0;var e=0,t=bt;try{var n=Fa;for(bt=1;e>=o,a-=o,Xa=1<<32-ot(t)+a|n<g?(v=d,d=null):v=d.sibling;var m=h(a,d,l[g],u);if(null===m){null===d&&(d=v);break}e&&d&&null===m.alternate&&t(a,d),i=o(m,i,g),null===c?s=m:c.sibling=m,c=m,d=v}if(g===l.length)return n(a,d),ai&&Ga(a,g),s;if(null===d){for(;gv?(m=g,g=null):m=g.sibling;var b=h(a,g,y.value,s);if(null===b){null===g&&(g=m);break}e&&g&&null===b.alternate&&t(a,g),l=o(b,l,v),null===d?c=b:d.sibling=b,d=b,g=m}if(y.done)return n(a,g),ai&&Ga(a,v),c;if(null===g){for(;!y.done;v++,y=u.next())null!==(y=f(a,y.value,s))&&(l=o(y,l,v),null===d?c=y:d.sibling=y,d=y);return ai&&Ga(a,v),c}for(g=r(a,g);!y.done;v++,y=u.next())null!==(y=p(g,a,v,y.value,s))&&(e&&null!==y.alternate&&g.delete(null===y.key?v:y.key),l=o(y,l,v),null===d?c=y:d.sibling=y,d=y);return e&&g.forEach((function(e){return t(a,e)})),ai&&Ga(a,v),c}return function e(r,i,o,u){if("object"==typeof o&&null!==o&&o.type===E&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case S:e:{for(var s=o.key,c=i;null!==c;){if(c.key===s){if((s=o.type)===E){if(7===c.tag){n(r,c.sibling),(i=a(c,o.props.children)).return=r,r=i;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===O&&Yi(s)===c.type){n(r,c.sibling),(i=a(c,o.props)).ref=Zi(r,c,o),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}o.type===E?((i=Rs(o.props.children,r.mode,u,o.key)).return=r,r=i):((u=_s(o.type,o.key,o.props,null,r.mode,u)).ref=Zi(r,i,o),u.return=r,r=u)}return l(r);case k:e:{for(c=o.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===o.containerInfo&&i.stateNode.implementation===o.implementation){n(r,i.sibling),(i=a(i,o.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Vs(o,r.mode,u)).return=r,r=i}return l(r);case O:return e(r,i,(c=o._init)(o._payload),u)}if(te(o))return g(r,i,o,u);if(_(o))return v(r,i,o,u);Qi(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==i&&6===i.tag?(n(r,i.sibling),(i=a(i,o)).return=r,r=i):(n(r,i),(i=Fs(o,r.mode,u)).return=r,r=i),l(r)):n(r,i)}}var Xi=qi(!0),Ki=qi(!1),Gi={},Ji=Ta(Gi),eo=Ta(Gi),to=Ta(Gi);function no(e){if(e===Gi)throw Error(i(174));return e}function ro(e,t){switch(Ca(to,t),Ca(eo,e),Ca(Ji,Gi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Da(Ji),Ca(Ji,t)}function ao(){Da(Ji),Da(eo),Da(to)}function io(e){no(to.current);var t=no(Ji.current),n=ue(t,e.type);t!==n&&(Ca(eo,e),Ca(Ji,n))}function oo(e){eo.current===e&&(Da(Ji),Da(eo))}var lo=Ta(0);function uo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var so=[];function co(){for(var e=0;en?n:4,e(!0);var r=ho.transition;ho.transition={};try{e(!1),t()}finally{bt=n,ho.transition=r}}function el(){return xo().memoizedState}function tl(e,t,n){var r=ns(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e)?al(t,n):null!==(n=Ni(e,t,n,r))&&(rs(n,e,r,ts()),il(n,t,r))}function nl(e,t,n){var r=ns(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,l=i(o,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,o)){var u=t.interleaved;return null===u?(a.next=a,xi(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(e){}null!==(n=Ni(e,t,a,r))&&(rs(n,e,r,a=ts()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===go||null!==t&&t===go}function al(e,t){bo=yo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var ol={readContext:Di,useCallback:ko,useContext:ko,useEffect:ko,useImperativeHandle:ko,useInsertionEffect:ko,useLayoutEffect:ko,useMemo:ko,useReducer:ko,useRef:ko,useState:ko,useDebugValue:ko,useDeferredValue:ko,useTransition:ko,useMutableSource:ko,useSyncExternalStore:ko,useId:ko,unstable_isNewReconciler:!1},ll={readContext:Di,useCallback:function(e,t){return Co().memoizedState=[e,void 0===t?null:t],e},useContext:Di,useEffect:jo,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ao(4194308,4,Qo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ao(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ao(4,2,e,t)},useMemo:function(e,t){var n=Co();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Co();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,go,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Co().memoizedState=e},useState:Fo,useDebugValue:qo,useDeferredValue:function(e){return Co().memoizedState=e},useTransition:function(){var e=Fo(!1),t=e[0];return e=Jo.bind(null,e[1]),Co().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=go,a=Co();if(ai){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Mu)throw Error(i(349));0!=(30&po)||zo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,jo(_o.bind(null,r,o,e),[e]),r.flags|=2048,Vo(9,Io.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Co(),t=Mu.identifierPrefix;if(ai){var n=Ka;t=":"+t+"R"+(n=(Xa&~(1<<32-ot(Xa)-1)).toString(32)+n),0<(n=wo++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=So++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ul={readContext:Di,useCallback:Xo,useContext:Di,useEffect:Bo,useImperativeHandle:Yo,useInsertionEffect:$o,useLayoutEffect:Zo,useMemo:Ko,useReducer:Po,useRef:Uo,useState:function(){return Po(No)},useDebugValue:qo,useDeferredValue:function(e){return Go(xo(),vo.memoizedState,e)},useTransition:function(){return[Po(No)[0],xo().memoizedState]},useMutableSource:Lo,useSyncExternalStore:Oo,useId:el,unstable_isNewReconciler:!1},sl={readContext:Di,useCallback:Xo,useContext:Di,useEffect:Bo,useImperativeHandle:Yo,useInsertionEffect:$o,useLayoutEffect:Zo,useMemo:Ko,useReducer:Mo,useRef:Uo,useState:function(){return Mo(No)},useDebugValue:qo,useDeferredValue:function(e){var t=xo();return null===vo?t.memoizedState=e:Go(t,vo.memoizedState,e)},useTransition:function(){return[Mo(No)[0],xo().memoizedState]},useMutableSource:Lo,useSyncExternalStore:Oo,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=A(r),r=r.return}while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hl="function"==typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=zi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$u||($u=!0,Zu=r),fl(0,t)},n}function gl(e,t,n){(n=zi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fl(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===Qu?Qu=new Set([this]):Qu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cs.bind(null,e,t,n),t.then(e,e))}function ml(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=zi(-1,1)).tag=2,Ii(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bl=w.ReactCurrentOwner,wl=!1;function Sl(e,t,n,r){t.child=null===e?Ki(t,null,n,r):Xi(t,e.child,n,r)}function kl(e,t,n,r,a){n=n.render;var i=t.ref;return Ti(t,a),r=To(e,t,n,r,i,a),n=Do(),null===e||wl?(ai&&n&&ei(t),t.flags|=1,Sl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,$l(e,t,a))}function El(e,t,n,r,a){if(null===e){var i=n.type;return"function"!=typeof i||zs(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=_s(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Tl(e,t,i,r,a))}if(i=e.child,0==(e.lanes&a)){var o=i.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(o,r)&&e.ref===t.ref)return $l(e,t,a)}return t.flags|=1,(e=Is(i,r)).ref=t.ref,e.return=t,t.child=e}function Tl(e,t,n,r,a){if(null!==e){var i=e.memoizedProps;if(ur(i,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=i,0==(e.lanes&a))return t.lanes=e.lanes,$l(e,t,a);0!=(131072&e.flags)&&(wl=!0)}}return xl(e,t,n,r,a)}function Dl(e,t,n){var r=t.pendingProps,a=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Iu,zu),zu|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Iu,zu),zu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Ca(Iu,zu),zu|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ca(Iu,zu),zu|=r;return Sl(e,t,a,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function xl(e,t,n,r,a){var i=Oa(n)?Ma:Na.current;return i=La(t,i),Ti(t,a),n=To(e,t,n,r,i,a),r=Do(),null===e||wl?(ai&&r&&ei(t),t.flags|=1,Sl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,$l(e,t,a))}function Nl(e,t,n,r,a){if(Oa(n)){var i=!0;Ra(t)}else i=!1;if(Ti(t,a),null===t.stateNode)Bl(e,t),ji(t,n,r),$i(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,l=t.memoizedProps;o.props=l;var u=o.context,s=n.contextType;s="object"==typeof s&&null!==s?Di(s):La(t,s=Oa(n)?Ma:Na.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l!==r||u!==s)&&Bi(t,o,r,s),Mi=!1;var f=t.memoizedState;o.state=f,Hi(t,r,o,a),u=t.memoizedState,l!==r||f!==u||Pa.current||Mi?("function"==typeof c&&(Ui(t,n,c,r),u=t.memoizedState),(l=Mi||Wi(t,n,l,r,f,u,s))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=s,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Oi(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:vi(t.type,l),o.props=s,d=t.pendingProps,f=o.context,u="object"==typeof(u=n.contextType)&&null!==u?Di(u):La(t,u=Oa(n)?Ma:Na.current);var h=n.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l!==d||f!==u)&&Bi(t,o,r,u),Mi=!1,f=t.memoizedState,o.state=f,Hi(t,r,o,a);var p=t.memoizedState;l!==d||f!==p||Pa.current||Mi?("function"==typeof h&&(Ui(t,n,h,r),p=t.memoizedState),(s=Mi||Wi(t,n,s,r,f,p,u)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,u),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,u)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=u,r=s):("function"!=typeof o.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Pl(e,t,n,r,i,a)}function Pl(e,t,n,r,a,i){Cl(e,t);var o=0!=(128&t.flags);if(!r&&!o)return a&&Ha(t,n,!1),$l(e,t,i);r=t.stateNode,bl.current=t;var l=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,l,i)):Sl(e,t,l,i),t.memoizedState=r.state,a&&Ha(t,n,!0),t.child}function Ml(e){var t=e.stateNode;t.pendingContext?Ia(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ia(0,t.context,!1),ro(e,t.containerInfo)}function Ll(e,t,n,r,a){return hi(),pi(a),t.flags|=256,Sl(e,t,n,r),t.child}var Ol,zl,Il,_l,Rl={dehydrated:null,treeContext:null,retryLane:0};function Hl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,a=t.pendingProps,o=lo.current,l=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Ca(lo,1&o),null===e)return si(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,l?(a=t.mode,l=t.child,u={mode:"hidden",children:u},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=u):l=Hs(u,a,0,null),e=Rs(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Hl(n),t.memoizedState=Rl,e):Vl(t,u));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,l){if(n)return 256&t.flags?(t.flags&=-257,Ul(e,t,l,r=dl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=Hs({mode:"visible",children:r.children},a,0,null),(o=Rs(o,a,l,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&Xi(t,e.child,null,l),t.child.memoizedState=Hl(l),t.memoizedState=Rl,o);if(0==(1&t.mode))return Ul(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Ul(e,t,l,r=dl(o=Error(i(419)),r,void 0))}if(u=0!=(l&e.childLanes),wl||u){if(null!==(r=Mu)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==o.retryLane&&(o.retryLane=a,Pi(e,a),rs(r,e,a,-1))}return vs(),Ul(e,t,l,r=dl(Error(i(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ns.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ri=sa(a.nextSibling),ni=t,ai=!0,ii=null,null!==e&&(Qa[Ya++]=Xa,Qa[Ya++]=Ka,Qa[Ya++]=qa,Xa=e.id,Ka=e.overflow,qa=t),(t=Vl(t,r.children)).flags|=4096,t)}(e,t,u,a,r,o,n);if(l){l=a.fallback,u=t.mode,r=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&u)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=Is(o,s)).subtreeFlags=14680064&o.subtreeFlags,null!==r?l=Is(r,l):(l=Rs(l,u,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,u=null===(u=e.child.memoizedState)?Hl(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},l.memoizedState=u,l.childLanes=e.childLanes&~n,t.memoizedState=Rl,a}return e=(l=e.child).sibling,a=Is(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Vl(e,t){return(t=Hs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ul(e,t,n,r){return null!==r&&pi(r),Xi(t,e.child,null,n),(e=Vl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Al(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ei(e.return,t,n)}function Wl(e,t,n,r,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a)}function jl(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(Sl(e,t,r.children,n),0!=(2&(r=lo.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Al(e,n,t);else if(19===e.tag)Al(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ca(lo,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===uo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Wl(t,!1,a,n,i);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===uo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Wl(t,!0,n,null,i);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Bl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $l(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Hu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Is(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Is(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Zl(e,t){if(!ai)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ql(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yl(e,t,n){var r=t.pendingProps;switch(ti(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ql(t),null;case 1:case 17:return Oa(t.type)&&za(),Ql(t),null;case 3:return r=t.stateNode,ao(),Da(Pa),Da(Na),co(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ii&&(ls(ii),ii=null))),zl(e,t),Ql(t),null;case 5:oo(t);var a=no(to.current);if(n=t.type,null!==e&&null!=t.stateNode)Il(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ql(t),null}if(e=no(Ji.current),di(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[fa]=t,r[ha]=o,e=0!=(1&t.mode),n){case"dialog":Vr("cancel",r),Vr("close",r);break;case"iframe":case"object":case"embed":Vr("load",r);break;case"video":case"audio":for(a=0;a<_r.length;a++)Vr(_r[a],r);break;case"source":Vr("error",r);break;case"img":case"image":case"link":Vr("error",r),Vr("load",r);break;case"details":Vr("toggle",r);break;case"input":X(r,o),Vr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Vr("invalid",r);break;case"textarea":ae(r,o),Vr("invalid",r)}for(var u in ye(n,o),a=null,o)if(o.hasOwnProperty(u)){var s=o[u];"children"===u?"string"==typeof s?r.textContent!==s&&(!0!==o.suppressHydrationWarning&&Gr(r.textContent,s,e),a=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(!0!==o.suppressHydrationWarning&&Gr(r.textContent,s,e),a=["children",""+s]):l.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Vr("scroll",r)}switch(n){case"input":Z(r),J(r,o,!0);break;case"textarea":Z(r),oe(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="