1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9396],{38412:function(e,t,n){"use strict";var r,o,i=n(59994);function a(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(o=r||(r={}))[o.UP=-1]="UP",o[o.DOWN=1]="DOWN",a(".lds-ellipsis {\n display: inline-block;\n position: relative;\n width: 64px;\n height: 64px; }\n\n.lds-ellipsis div {\n position: absolute;\n top: 27px;\n width: 11px;\n height: 11px;\n border-radius: 50%;\n background: #363636;\n animation-timing-function: cubic-bezier(0, 1, 1, 0); }\n\n.lds-ellipsis div:nth-child(1) {\n left: 6px;\n animation: lds-ellipsis1 0.6s infinite; }\n\n.lds-ellipsis div:nth-child(2) {\n left: 6px;\n animation: lds-ellipsis2 0.6s infinite; }\n\n.lds-ellipsis div:nth-child(3) {\n left: 26px;\n animation: lds-ellipsis2 0.6s infinite; }\n\n.lds-ellipsis div:nth-child(4) {\n left: 45px;\n animation: lds-ellipsis3 0.6s infinite; }\n\n@keyframes lds-ellipsis1 {\n 0% {\n transform: scale(0); }\n 100% {\n transform: scale(1); } }\n\n@keyframes lds-ellipsis3 {\n 0% {\n transform: scale(1); }\n 100% {\n transform: scale(0); } }\n\n@keyframes lds-ellipsis2 {\n 0% {\n transform: translate(0, 0); }\n 100% {\n transform: translate(19px, 0); } }\n");var l=function(){return i.createElement("div",{className:"lds-ellipsis"},i.createElement("div",null),i.createElement("div",null),i.createElement("div",null),i.createElement("div",null))},u=function(){return i.createElement("div",null,i.createElement("p",null,"â§\xa0\xa0pull to refresh\xa0\xa0â§"))};a(".ptr,\n.ptr__children {\n height: 100%;\n width: 100%;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n position: relative; }\n\n.ptr.ptr--fetch-more-treshold-breached .ptr__fetch-more {\n display: block; }\n\n.ptr__fetch-more {\n display: none; }\n\n/**\n * Pull down transition \n */\n.ptr__children,\n.ptr__pull-down {\n transition: transform 0.2s cubic-bezier(0, 0, 0.31, 1); }\n\n.ptr__pull-down {\n position: absolute;\n overflow: hidden;\n left: 0;\n right: 0;\n top: 0;\n visibility: hidden; }\n .ptr__pull-down > div {\n display: none; }\n\n.ptr--dragging {\n /**\n * Hide PullMore content is treshold breached\n */\n /**\n * Otherwize, display content\n */ }\n .ptr--dragging.ptr--pull-down-treshold-breached .ptr__pull-down--pull-more {\n display: none; }\n .ptr--dragging .ptr__pull-down--pull-more {\n display: block; }\n\n.ptr--pull-down-treshold-breached {\n /**\n * Force opacity to 1 is pull down trashold breached\n */\n /**\n * And display loader\n */ }\n .ptr--pull-down-treshold-breached .ptr__pull-down {\n opacity: 1 !important; }\n .ptr--pull-down-treshold-breached .ptr__pull-down--loading {\n display: block; }\n\n.ptr__loader {\n margin: 0 auto;\n text-align: center; }\n");var s=function(e){var t=e.isPullable,n=void 0===t||t,o=e.canFetchMore,a=void 0!==o&&o,s=e.onRefresh,c=e.onFetchMore,d=e.refreshingContent,p=void 0===d?i.createElement(l,null):d,f=e.pullingContent,v=void 0===f?i.createElement(u,null):f,h=e.children,m=e.pullDownThreshold,g=void 0===m?67:m,b=e.fetchMoreThreshold,w=void 0===b?100:b,y=e.maxPullDownDistance,R=void 0===y?95:y,E=e.resistance,C=void 0===E?1:E,_=e.backgroundColor,N=e.className,M=(0,i.useRef)(null),P=(0,i.useRef)(null),A=(0,i.useRef)(null),x=(0,i.useRef)(null),S=!1,O=!1,T=!1,k=0,Y=0,D=0,L=0;(0,i.useEffect)(function(){if(n&&P&&P.current){var e=P.current;return e.addEventListener("touchstart",F,{passive:!0}),e.addEventListener("mousedown",F),e.addEventListener("touchmove",U,{passive:!1}),e.addEventListener("mousemove",U),window.addEventListener("scroll",H),e.addEventListener("touchend",I),e.addEventListener("mouseup",I),document.body.addEventListener("mouseleave",I),function(){e.removeEventListener("touchstart",F),e.removeEventListener("mousedown",F),e.removeEventListener("touchmove",U),e.removeEventListener("mousemove",U),window.removeEventListener("scroll",H),e.removeEventListener("touchend",I),e.removeEventListener("mouseup",I),document.body.removeEventListener("mouseleave",I)}}},[h,n,s,g,R,a,w,]),(0,i.useEffect)(function(){var e;(null==M?void 0:M.current)&&!M.current.classList.contains("ptr--fetch-more-treshold-breached")&&a&&j()<w&&c&&(M.current.classList.add("ptr--fetch-more-treshold-breached"),O=!0,c().then(B).catch(B))},[a,h]);var j=function(){if(!P||!P.current)return -1;var e=window.scrollY;return P.current.scrollHeight-e-window.innerHeight},B=function(){requestAnimationFrame(function(){P.current&&(P.current.style.overflowX="hidden",P.current.style.overflowY="auto",P.current.style.transform="unset"),A.current&&(A.current.style.opacity="0"),M.current&&(M.current.classList.remove("ptr--pull-down-treshold-breached"),M.current.classList.remove("ptr--dragging"),M.current.classList.remove("ptr--fetch-more-treshold-breached")),S&&(S=!1),O&&(O=!1)})},F=function(e){T=!1,e instanceof MouseEvent&&(k=e.pageX,Y=e.pageY),window.TouchEvent&&e instanceof TouchEvent&&(k=e.touches[0].pageX,Y=e.touches[0].pageY),D=k,L=Y,!("touchstart"===e.type&&function e(t,n){return!!function(e,t){var n,o;if(o=getComputedStyle(e).overflowY,(e!==document.scrollingElement||"visible"!==o)&&"scroll"!==o&&"auto"!==o)return!1;if(t===r.DOWN)return e.scrollTop+e.clientHeight<e.scrollHeight;if(t===r.UP)return e.scrollTop>0;throw Error("unsupported direction")}(t,n)||null!=t.parentElement&&e(t.parentElement,n)}
1(e.target,r.UP))&&!(P.current.getBoundingClientRect().top<0)&&(T=!0)},U=function(e){if(T){if(window.TouchEvent&&e instanceof TouchEvent?(D=e.touches[0].pageX,L=e.touches[0].pageY):(D=e.pageX,L=e.pageY),M.current.classList.add("ptr--dragging"),L<Y||Math.abs(D-k)>=Math.abs(L-Y)){T=!1;return}e.cancelable&&e.preventDefault();var t=Math.min((L-Y)/C,R);t>=g&&(T=!0,S=!0,M.current.classList.remove("ptr--dragging"),M.current.classList.add("ptr--pull-down-treshold-breached")),!(t>=R)&&(A.current.style.opacity=(t/65).toString(),P.current.style.overflow="visible",P.current.style.transform="translate(0px, "+t+"px)",A.current.style.visibility="visible")}},H=function(e){!O&&a&&j()<w&&c&&(O=!0,M.current.classList.add("ptr--fetch-more-treshold-breached"),c().then(B).catch(B))},I=function(){if(T=!1,Y=0,L=0,!S){A.current&&(A.current.style.visibility="hidden"),B();return}P.current&&(P.current.style.overflow="visible",P.current.style.transform="translate(0px, "+g+"px)"),s().then(B).catch(B)};return i.createElement("div",{className:"ptr "+(void 0===N?"":N),style:{backgroundColor:_},ref:M},i.createElement("div",{className:"ptr__pull-down",ref:A},i.createElement("div",{className:"ptr__loader ptr__pull-down--loading"},p),i.createElement("div",{className:"ptr__pull-down--pull-more"},v)),i.createElement("div",{className:"ptr__children",ref:P},h,i.createElement("div",{className:"ptr__fetch-more",ref:x},i.createElement("div",{className:"ptr__loader ptr__fetch-more--loading"},p))))};t.Z=s},16955:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowContainer=void 0;var o=n(72329),i=n(59994),a=n(10152),l=function(e){var t=e.childRect,n=e.popoverRect,l=e.position,u=e.arrowColor,s=e.arrowSize,c=e.arrowClassName,d=e.arrowStyle,p=e.className,f=e.children,v=e.style,h=(0,a.useArrowContainer)({childRect:t,popoverRect:n,position:l,arrowColor:u,arrowSize:s}),m=h.arrowContainerStyle,g=h.arrowStyle,b=(0,i.useMemo)(function(){return r(r({},m),v)},[m,v]),w=(0,i.useMemo)(function(){return r(r({},g),d)},[g,d]);return(0,o.jsxs)("div",{className:p,style:b,children:[(0,o.jsx)("div",{style:w,className:c}),f]})};t.ArrowContainer=l},16557:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Popover=t.usePopover=t.ArrowContainer=t.useArrowContainer=void 0;var o=n(72329),i=n(59994),a=n(16370),l=n(21358),u=n(60826);Object.defineProperty(t,"usePopover",{enumerable:!0,get:function(){return u.usePopover}});var s=n(10344),c=n(10152);Object.defineProperty(t,"useArrowContainer",{enumerable:!0,get:function(){return c.useArrowContainer}});var d=n(16955);Object.defineProperty(t,"ArrowContainer",{enumerable:!0,get:function(){return d.ArrowContainer}});var p=["top","left","right","bottom"],f=(0,i.forwardRef)(function(e,t){var n=e.isOpen,r=e.children,c=e.content,d=e.positions,f=void 0===d?p:d,v=e.align,h=void 0===v?"center":v,m=e.padding,g=void 0===m?0:m,b=e.reposition,w=void 0===b||b,y=e.parentElement,R=void 0===y?window.document.body:y,E=e.boundaryElement,C=e.containerClassName,_=e.containerStyle,N=e.transform,M=e.transformMode,P=e.boundaryInset,A=void 0===P?0:P,x=e.onClickOutside,S=e.clickOutsideCapture,O=void 0!==S&&S,T=(0,s.useMemoizedArray)(Array.isArray(f)?f:[f]),k=(0,i.useRef)(!1),Y=(0,i.useRef)(),D=(0,i.useRef)(w),L=(0,i.useRef)(),j=(0,i.useState)({align:h,nudgedLeft:0,nudgedTop:0,position:T[0],padding:g,childRect:l.EMPTY_RECT,popoverRect:l.EMPTY_RECT,parentRect:l.EMPTY_RECT,boundaryRect:l.EMPTY_RECT,boundaryInset:A,violations:l.EMPTY_RECT,hasViolations:!1}),B=j[0],F=j[1],U=(0,i.useCallback)(function(e){return F(e)},[]),H=(0,u.usePopover)({isOpen:n,childRef:L,containerClassName:C,parentElement:R,boundaryElement:void 0===E?R:E,transform:N,transformMode:void 0===M?"absolute":M,positions:T,align:h,padding:g,boundaryInset:A,reposition:w,onPositionPopover:U}),I=H.positionPopover,z=H.popoverRef,V=H.scoutRef;(0,i.useLayoutEffect)(function(){var e=!0,t=function(){var r,o;
1if(n&&e){var i=null===(r=null==L?void 0:L.current)||void 0===r?void 0:r.getBoundingClientRect(),a=null===(o=null==z?void 0:z.current)||void 0===o?void 0:o.getBoundingClientRect();null==i||null==a||(0,l.rectsAreEqual)(i,B.childRect)&&a.width===B.popoverRect.width&&a.height===B.popoverRect.height&&B.padding===g&&B.align===h&&T===Y.current&&w===D.current||I(),T!==Y.current&&(Y.current=T),w!==D.current&&(D.current=w),e&&window.requestAnimationFrame(t)}k.current=n};return window.requestAnimationFrame(t),function(){e=!1}},[h,n,g,z,B.align,B.childRect,B.padding,B.popoverRect.height,B.popoverRect.width,I,T,w,]),(0,i.useEffect)(function(){var e=z.current;return Object.assign(e.style,_),function(){Object.keys(null!=_?_:{}).forEach(function(t){return delete e.style[t]})}},[_,n,z]);var q=(0,i.useCallback)(function(e){var t,r;!n||(null===(t=z.current)||void 0===t?void 0:t.contains(e.target))||(null===(r=L.current)||void 0===r?void 0:r.contains(e.target))||null==x||x(e)},[n,x,z]),J=(0,i.useCallback)(function(){L.current&&window.requestAnimationFrame(function(){return I()})},[I]);(0,i.useEffect)(function(){var e=R.ownerDocument.body;return e.addEventListener("click",q,O),e.addEventListener("contextmenu",q,O),e.addEventListener("resize",J),function(){e.removeEventListener("click",q,O),e.removeEventListener("contextmenu",q,O),e.removeEventListener("resize",J)}},[O,q,J,R]);var W=(0,i.useCallback)(function(e){L.current=e,null!=t&&("object"==typeof t?t.current=e:"function"==typeof t&&t(e))},[t]);return(0,o.jsxs)(o.Fragment,{children:[(0,i.cloneElement)(r,{ref:W}),n?(0,o.jsx)(a.PopoverPortal,{element:z.current,scoutElement:V.current,container:R,children:"function"==typeof c?c(B):c}):null]})});t.Popover=(0,i.forwardRef)(function(e,t){return"undefined"==typeof window?e.children:(0,o.jsx)(f,r({},e,{ref:t}))})},16370:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverPortal=void 0;var r=n(59994),o=n(93775),i=function(e){var t=e.container,n=e.element,i=e.scoutElement,a=e.children;return(0,r.useLayoutEffect)(function(){return t.appendChild(n),t.appendChild(i),function(){t.removeChild(n),t.removeChild(i)}},[t,n,i]),(0,o.createPortal)(a,n)};t.PopoverPortal=i},10152:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.useArrowContainer=void 0;var o=n(59994),i=function(e){var t=e.childRect,n=e.popoverRect,i=e.position,a=e.arrowSize,l=e.arrowColor,u=(0,o.useMemo)(function(){return{padding:a}},[a]),s=(0,o.useMemo)(function(){return r({position:"absolute"},function(){var e=2*a,r=t.top-n.top+t.height/2-e/2,o=t.left-n.left+t.width/2-e/2,u=n.width-a,s=n.height-a;switch(o=(o=o<a?a:o)+e>u?u-e:o,r=Number.isNaN(r=(r=r<a?a:r)+e>s?s-e:r)?0:r,o=Number.isNaN(o)?0:o,i){case"right":return{borderTop:"".concat(a,"px solid transparent"),borderBottom:"".concat(a,"px solid transparent"),borderRight:"".concat(a,"px solid ").concat(l),left:0,top:r};case"left":return{borderTop:"".concat(a,"px solid transparent"),borderBottom:"".concat(a,"px solid transparent"),borderLeft:"".concat(a,"px solid ").concat(l),right:0,top:r};case"bottom":return{borderLeft:"".concat(a,"px solid transparent"),borderRight:"".concat(a,"px solid transparent"),borderBottom:"".concat(a,"px solid ").concat(l),top:0,left:o};case"top":return{borderLeft:"".concat(a,"px solid transparent"),borderRight:"".concat(a,"px solid transparent"),borderTop:"".concat(a,"px solid ").concat(l),bottom:0,left:o};default:return{display:"hidden"}}}())},[l,a,t.height,t.left,t.top,t.width,n.height,n.left,n.top,n.width,i,]);return{arrowContainerStyle:u,arrowStyle:s}};t.useArrowContainer=i},75185:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useElementRef=void 0;var r=n(59994),o=n(21358),i=function(e){var t=e.containerClassName,n=e.containerStyle,i=e.id,a=(0,r.useRef)(),l=(0,r.useMemo)(function(){return(0,o.createContainer)({containerStyle:n,containerClassName:t,id:i})},[t,n,i]);return a.current=l,a};t.useElementRef=i},10344:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.useMemoizedArray=void 0;var r=n(59994),o=function(e){var t=(0,r.useRef)(e);return(0,r.useMemo)(function(){if(t.current===e)return t.current;if(t.current.length!==e.length)return t.current=e,e;for(var n=0;n<e.length;n+=1)if(e[n]!==t.current[n])return t.current=e,e;return t.current},[e])};t.useMemoizedArray=o},60826:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePopover=void 0;var r=n(59994),o=n(21358),i=n(75185),a={position:"fixed",overflow:"visible",top:"0px",left:"0px"},l={position:"fixed",top:"0px",left:"0px",width:"0px",height:"0px",visibility:"hidden"},u=function(e){var t=e.isOpen,n=e.childRef,u=e.positions,s=e.containerClassName,c=e.parentElement,d=e.transform,p=e.transformMode,f=e.align,v=e.padding,h=e.reposition,m=e.boundaryInset,g=e.boundaryElement,b=e.onPositionPopover,w=(0,i.useElementRef)({id:"react-tiny-popover-scout",containerStyle:l}),y=(0,i.useElementRef)({id:"react-tiny-popover-container",containerClassName:s,containerStyle:a}),R=(0,r.useCallback)(function(e){var r,i,a=void 0===e?{}:e,l=a.positionIndex,s=void 0===l?0:l,E=a.parentRect,C=void 0===E?c.getBoundingClientRect():E,_=a.childRect,N=void 0===_?null===(r=null==n?void 0:n.current)||void 0===r?void 0:r.getBoundingClientRect():_,M=a.scoutRect,P=void 0===M?null===(i=null==w?void 0:w.current)||void 0===i?void 0:i.getBoundingClientRect():M,A=a.popoverRect,x=void 0===A?y.current.getBoundingClientRect():A,S=a.boundaryRect,O=void 0===S?g===c?C:g.getBoundingClientRect():S;if(N&&C&&t){if(d&&"absolute"===p){var T="function"==typeof d?d({childRect:N,popoverRect:x,parentRect:C,boundaryRect:O,padding:v,align:f,nudgedTop:0,nudgedLeft:0,boundaryInset:m,violations:o.EMPTY_RECT,hasViolations:!1}):d,k=T.top,Y=T.left,D=Math.round(C.left+Y-P.left),L=Math.round(C.top+k-P.top);y.current.style.transform="translate(".concat(D,"px, ").concat(L,"px)"),b({childRect:N,popoverRect:(0,o.createRect)({left:D,top:L,width:x.width,height:x.height}),parentRect:C,boundaryRect:O,padding:v,align:f,transform:{top:k,left:Y},nudgedTop:0,nudgedLeft:0,boundaryInset:m,violations:o.EMPTY_RECT,hasViolations:!1});return}var j=s===u.length,B=j?u[0]:u[s],F=(0,o.getNewPopoverRect)({childRect:N,popoverRect:x,boundaryRect:O,position:B,align:f,padding:v,reposition:h},m),U=F.rect;if(F.boundaryViolation&&h&&!j){R({positionIndex:s+1,childRect:N,popoverRect:x,parentRect:C,boundaryRect:O});return}var H=U.top,I=U.left,z=U.width,V=U.height,q=(0,o.getNudgedPopoverRect)(U,O,m),J=q.left,W=q.top,X=H,G=I;h&&!j&&(X=W,G=J),X=Math.round(X-P.top),G=Math.round(G-P.left),y.current.style.transform="translate(".concat(G,"px, ").concat(X,"px)");var Z={top:O.top+m-X,left:O.left+m-G,right:G+z-O.right+m,bottom:X+V-O.bottom+m},K={childRect:N,popoverRect:(0,o.createRect)({left:G,top:X,width:z,height:V}),parentRect:C,boundaryRect:O,position:B,align:f,padding:v,nudgedTop:W-H,nudgedLeft:J-I,boundaryInset:m,violations:{top:Z.top<=0?0:Z.top,left:Z.left<=0?0:Z.left,right:Z.right<=0?0:Z.right,bottom:Z.bottom<=0?0:Z.bottom},hasViolations:Z.top>0||Z.left>0||Z.right>0||Z.bottom>0};if(d){b(K);var Q="function"==typeof d?d(K):d,$=Q.top,ee=Q.left;y.current.style.transform="translate(".concat(Math.round(G+(null!=ee?ee:0)),"px, ").concat(Math.round(X+(null!=$?$:0)),"px)"),K.nudgedLeft+=null!=ee?ee:0,K.nudgedTop+=null!=$?$:0,K.transform={top:$,left:ee}}b(K)}},[c,n,w,y,g,t,d,p,u,f,v,h,m,b,]);return{positionPopover:R,popoverRef:y,scoutRef:w}};t.usePopover=u},21358:function(e,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getNudgedPopoverRect=t.getNewPopoverRect=t.popoverRectForPosition=t.createContainer=t.rectsAreEqual=t.createRect=t.EMPTY_RECT=void 0,t.EMPTY_RECT={top:0,left:0,right:0,bottom:0,width:0,height:0};var r=function(e){var t=e.top,n=e.left,r=e.width,o=e.height;return{top:t,left:n,width:r,height:o,right:n+r,bottom:t+o}};t.createRect=r;var o=function(e,t){return e===t||(null==e?void 0:e.bottom)===(null==t?void 0:t.bottom)&&(null==e?void 0:e.he
1ight)===(null==t?void 0:t.height)&&(null==e?void 0:e.left)===(null==t?void 0:t.left)&&(null==e?void 0:e.right)===(null==t?void 0:t.right)&&(null==e?void 0:e.top)===(null==t?void 0:t.top)&&(null==e?void 0:e.width)===(null==t?void 0:t.width)};t.rectsAreEqual=o;var i=function(e){var t=e.containerStyle,n=e.containerClassName,r=e.id,o=window.document.createElement("div");return o.id=r,n&&(o.className=n),Object.assign(o.style,t),o};t.createContainer=i;var a=function(e,n,r,o,i){var a,l,u=n.left+n.width/2,s=n.top+n.height/2,c=r.width,d=r.height;switch(e){case"left":a=s-d/2,l=n.left-o-c,"start"===i&&(a=n.top),"end"===i&&(a=n.bottom-d);break;case"bottom":a=n.bottom+o,l=u-c/2,"start"===i&&(l=n.left),"end"===i&&(l=n.right-c);break;case"right":a=s-d/2,l=n.right+o,"start"===i&&(a=n.top),"end"===i&&(a=n.bottom-d);break;default:a=n.top-d-o,l=u-c/2,"start"===i&&(l=n.left),"end"===i&&(l=n.right-c)}return(0,t.createRect)({left:l,top:a,width:c,height:d})};t.popoverRectForPosition=a;var l=function(e,n){var r=e.position,o=e.align,i=e.childRect,a=e.popoverRect,l=e.boundaryRect,u=e.padding,s=e.reposition,c=(0,t.popoverRectForPosition)(r,i,a,u,o),d=s&&("top"===r&&c.top<l.top+n||"left"===r&&c.left<l.left+n||"right"===r&&c.right>l.right-n||"bottom"===r&&c.bottom>l.bottom-n);return{rect:c,boundaryViolation:d}};t.getNewPopoverRect=l;var u=function(e,r,o){var i=r.top+o,a=r.left+o,l=r.right-o,u=r.bottom-o,s=e.top<i?i:e.top;s=s+e.height>u?u-e.height:s;var c=e.left<a?a:e.left;return c=c+e.width>l?l-e.width:c,(0,t.createRect)(n(n({},e),{top:s,left:c}))};t.getNudgedPopoverRect=u},40358:function(e){var t;t=function(){return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}},e.exports=t()},10360:function(e){var t;t=function(){return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}},e.exports=t()},11953:function(e,t,n){"use strict";n.d(t,{YA:function(){return C}});var r,o,i,a,l=n(59994);function u(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function s(e){var t=Object.prototype.toString.call(e);return u(e,Date)||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}function c(e,t){return u(e,Date)?new e.constructor(t):new Date(t)}function d(e,t){var n=s(e);if(isNaN(t))return c(e,NaN);if(!t)return n;var r=n.getDate(),o=c(e,n.getTime());return(o.setMonth(n.getMonth()+t+1,0),r>=o.getDate())?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}var p={};function f(e,t){var n,r,o,i,a,l,u,c,d=null!==(c=null!==(u=null!==(l=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t?void 0:null===(n=t.locale)||void 0===n?void 0:null===(r=n.options)||void 0===r?void 0:r.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==u?u:null===(o=p.locale)||void 0===o?void 0:null===(i=o.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==c?c:0,f=s(e),v=f.getDay();return f.setDate(f.getDate()-((v<d?7:0)+v-d)),f.setHours(0,0,0,0),f}function v(e,t){var n,r,o;return r=7*t,o=s(e),isNaN(r)?c(e,NaN):(r&&o.setDate(o.getDate()+r),o)}function h(e,t){return d(e,12*t)}function m(e){var t=s(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function g(e,t){var n,r=s(e.start),o=s(e.end),i=+r>+o,a=i?+r:+o,l=i?o:r;l.setHours(0,0,0,0);var u=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!u)return[];u<0&&(u=-u,i=!i);for(var c=[];+l<=a;)c.push(s(l)),l.setDate(l.getDate()+u),l.setHours(0,0,0,0);return i?c.reverse():c}function b(e){var t=s(e);return t.setDate(1),t.setHours(0,0,0,0),t}function w(e,t){var n=s(e),r=s(t);return+n==+r}function y(e,t){var n,r,o,i,a,l=s(e),u=l.getFullYear(),d=l.getDate(),p=c(e,0);p.setFullYear(u,t,15),p.setHours(0,0,0,0);var f=(o=(r=s(p)).getFullYear(),i=r.getMonth(),(a=c(p,0)).setFullYear(o,i+1,0),a.setHours(0,0,0,0),a.getDate());return l.setMonth(t,Math.min(d,f)),l}(r=i||(i={}))[r.JANUARY=0]="JANUARY",r[r.FEBRUARY=1]="FEBRUARY",r[r.MARCH=2]="MARCH",r[r.APRIL=3]="APRIL",r[r.MAY=4]="MAY",r[r.JUNE=5]="JUNE",r[r.JULY=6]="JULY",r[r.AUGUST=7]="AUGUST",r[r.SEPTEMBER=8]="SEPTEMBER",r[r.OCTOBER=9]="OCTOBER",r[r.NOVEM
1BER=10]="NOVEMBER",r[r.DECEMBER=11]="DECEMBER",(o=a||(a={}))[o.SUNDAY=0]="SUNDAY",o[o.MONDAY=1]="MONDAY",o[o.TUESDAY=2]="TUESDAY",o[o.WEDNESDAY=3]="WEDNESDAY",o[o.THURSDAY=4]="THURSDAY",o[o.FRIDAY=5]="FRIDAY",o[o.SATURDAY=6]="SATURDAY";var R=function(e,t,n){var r,o,i,a,l,u,c,d;return(w(e,t)||(i=s(e),a=s(t),i.getTime()>a.getTime()))&&(w(e,n)||(c=s(e),d=s(n),+c<+d))},E=function(e){var t,n,r;return n={hours:0,minutes:0,seconds:0,milliseconds:0},r=s(e),isNaN(+r)?c(e,NaN):(null!=n.year&&r.setFullYear(n.year),null!=n.month&&(r=y(r,n.month)),null!=n.date&&r.setDate(n.date),null!=n.hours&&r.setHours(n.hours),null!=n.minutes&&r.setMinutes(n.minutes),null!=n.seconds&&r.setSeconds(n.seconds),null!=n.milliseconds&&r.setMilliseconds(n.milliseconds),r)},C=function(e){var t=void 0===e?{}:e,n=t.weekStartsOn,r=void 0===n?a.SUNDAY:n,o=t.viewing,i=void 0===o?new Date:o,u=t.selected,C=t.numberOfMonths,_=void 0===C?1:C,N=(0,l.useState)(i),M=N[0],P=N[1],A=(0,l.useCallback)(function(){var e,t;return P(((t=s(e=Date.now())).setHours(0,0,0,0),t))},[P]),x=(0,l.useCallback)(function(e){return P(function(t){return y(t,e)})},[]),S=(0,l.useCallback)(function(){return P(function(e){var t;return d(e,-1)})},[]),O=(0,l.useCallback)(function(){return P(function(e){return d(e,1)})},[]),T=(0,l.useCallback)(function(e){return P(function(t){var n,r,o;return o=s(t),isNaN(+o)?c(t,NaN):(o.setFullYear(e),o)})},[]),k=(0,l.useCallback)(function(){return P(function(e){var t;return h(e,-1)})},[]),Y=(0,l.useCallback)(function(){return P(function(e){return h(e,1)})},[]),D=(0,l.useState)((void 0===u?[]:u).map(E)),L=D[0],j=D[1],B=function(){return j([])},F=(0,l.useCallback)(function(e){return L.findIndex(function(t){return w(t,e)})>-1},[L]),U=(0,l.useCallback)(function(e,t){t?j(Array.isArray(e)?e:[e]):j(function(t){return t.concat(Array.isArray(e)?e:[e])})},[]),H=(0,l.useCallback)(function(e){return j(function(t){return Array.isArray(e)?t.filter(function(t){return!e.map(function(e){return e.getTime()}).includes(t.getTime())}):t.filter(function(t){return!w(t,e)})})},[]),I=(0,l.useCallback)(function(e,t){return F(e)?H(e):U(e,t)},[H,F,U]),z=(0,l.useCallback)(function(e,t,n){n?j(g({start:e,end:t})):j(function(n){return n.concat(g({start:e,end:t}))})},[]),V=(0,l.useCallback)(function(e,t){j(function(n){return n.filter(function(n){return!g({start:e,end:t}).map(function(e){return e.getTime()}).includes(n.getTime())})})},[]),q=(0,l.useMemo)(function(){return(function(e,t){var n,r=s(e.start),o=s(e.end),i=+r>+o,a=i?+r:+o,l=i?o:r;l.setHours(0,0,0,0),l.setDate(1);var u=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!u)return[];u<0&&(u=-u,i=!i);for(var c=[];+l<=a;)c.push(s(l)),l.setMonth(l.getMonth()+u);return i?c.reverse():c})({start:b(M),end:m(d(M,_-1))}).map(function(e){return(function(e,t){var n,r=s(e.start),o=s(e.end),i=+r>+o,a=i?f(o,t):f(r,t),l=i?f(r,t):f(o,t);a.setHours(15),l.setHours(15);var u=+l.getTime(),c=a,d=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!d)return[];d<0&&(d=-d,i=!i);for(var p=[];+c<=u;)c.setHours(0),p.push(s(c)),(c=v(c,d)).setHours(15);return i?p.reverse():p})({start:b(e),end:m(e)},{weekStartsOn:r}).map(function(e){var t,n,o,i,a,l,u,c,d,v,h,m,b,w;return g({start:f(e,{weekStartsOn:r}),end:(m=null!==(v=null!==(d=null!==(c=null!==(u=(n={weekStartsOn:r},n.weekStartsOn))&&void 0!==u?u:null==n?void 0:null===(o=n.locale)||void 0===o?void 0:null===(i=o.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==c?c:p.weekStartsOn)&&void 0!==d?d:null===(a=p.locale)||void 0===a?void 0:null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==v?v:0,w=(b=s(e)).getDay(),b.setDate(b.getDate()+((w<m?-7:0)+6-(w-m))),b.setHours(23,59,59,999),b)})})})},[M,r,_]);return{clearTime:E,inRange:R,viewing:M,setViewing:P,viewToday:A,viewMonth:x,viewPreviousMonth:S,viewNextMonth:O,viewYear:T,viewPreviousYear:k,viewNextYear:Y,selected:L,setSelected:j,clearSelected:B,isSelected:F,select:U,deselect:H,toggle:I,selectRange:z,deselectRange:V,calendar:q}}}}]);
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.