PageSourceSearch

https://secure.brainhi.com/static/js/713.e6f5e3ea.chunk.js

js brainhi.com collected 2026-10-03 21:20:41 UTC 33,243 bytes, 2 lines download raw bytes

1/*! For license information please see 713.e6f5e3ea.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunktelescope=self.webpackChunktelescope||[]).push([[713],{5116:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useElementRef=void 0;var i=n(96540),r=n(72456);t.useElementRef=function(e,t){var n=i.useMemo(function(){return r.createContainer(t,e)},[e,t]);return i.useRef(n)}},5143:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Popover=t.usePopover=t.ArrowContainer=t.useArrowContainer=void 0;var r=n(74848),o=n(96540),s=n(81953),a=n(72456),l=n(93148);Object.defineProperty(t,"usePopover",{enumerable:!0,get:function(){return l.usePopover}});var d=n(48911),c=n(46305);Object.defineProperty(t,"useArrowContainer",{enumerable:!0,get:function(){return c.useArrowContainer}});var u=n(40640);Object.defineProperty(t,"ArrowContainer",{enumerable:!0,get:function(){return u.ArrowContainer}});var f=o.forwardRef(function(e,t){var n=e.isOpen,c=e.children,u=e.content,f=e.positions,h=void 0===f?a.Constants.DEFAULT_POSITIONS:f,p=e.align,g=void 0===p?a.Constants.DEFAULT_ALIGN:p,m=e.padding,v=void 0===m?0:m,_=e.reposition,R=void 0===_||_,y=e.parentElement,w=void 0===y?window.document.body:y,b=e.boundaryElement,S=void 0===b?w:b,I=e.containerClassName,z=void 0===I?"react-tiny-popover-container":I,C=e.containerStyle,x=e.contentLocation,E=e.boundaryInset,O=void 0===E?0:E,T=e.onClickOutside,M=d.useMemoizedArray(h),P=o.useRef(!1),L=o.useRef(),A=o.useRef(),N=o.useRef(R),k=o.useRef(),F=o.useState({align:g,nudgedLeft:0,nudgedTop:0,position:M[0],padding:v,childRect:a.Constants.EMPTY_CLIENT_RECT,popoverRect:a.Constants.EMPTY_CLIENT_RECT,parentRect:a.Constants.EMPTY_CLIENT_RECT,boundaryRect:a.Constants.EMPTY_CLIENT_RECT,boundaryInset:O}),W=F[0],j=F[1],D=o.useCallback(function(e){return j(e)},[]),H=l.usePopover({childRef:k,containerClassName:z,parentElement:w,boundaryElement:S,contentLocation:x,positions:M,align:g,padding:v,boundaryInset:O,reposition:R,onPositionPopover:D}),q=H.positionPopover,U=H.popoverRef,B=H.scoutRef;o.useLayoutEffect(function(){var e=!0,t=function(){var i,r;if(n&&e){var o=null===(i=null==k?void 0:k.current)||void 0===i?void 0:i.getBoundingClientRect(),s=null===(r=null==U?void 0:U.current)||void 0===r?void 0:r.getBoundingClientRect();null==o||null==s||a.rectsAreEqual(o,{top:W.childRect.top,left:W.childRect.left,width:W.childRect.width,height:W.childRect.height,bottom:W.childRect.top+W.childRect.height,right:W.childRect.left+W.childRect.width})&&s.width===W.popoverRect.width&&s.height===W.popoverRect.height&&W.padding===v&&W.align===g&&M===L.current&&x===A.current&&R===N.current||q(),M!==L.current&&(L.current=M),x!==A.current&&(A.current=x),R!==N.current&&(N.current=R),e&&window.requestAnimationFrame(t)}P.current=n};return window.requestAnimationFrame(t),function(){e=!1}},[g,x,n,v,U,W.align,W.childRect.height,W.childRect.left,W.childRect.top,W.childRect.width,W.padding,W.popoverRect.height,W.popoverRect.width,q,M,R]),o.useEffect(function(){var e=U.current;return Object.assign(e.style,C),function(){Object.keys(null!=C?C:{}).forEach(function(t){return delete e.style[t]})}},[C,n,U]);var V=o.useCallback(function(e){var t,i;!n||(null===(t=U.current)||void 0===t?void 0:t.contains(e.target))||(null===(i=k.current)||void 0===i?void 0:i.contains(e.target))||null==T||T(e)},[n,T,U]),Y=o.useCallback(function(){k.current&&window.requestAnimationFrame(function(){return q()})},[q]);o.useEffect(function(){return window.addEventListener("click",V),window.addEventListener("resize",Y),function(){window.removeEventListener("click",V),window.removeEventListener("resize",Y)}},[V,Y]);var G=o.useCallback(function(e){k.current=e,null!=t&&("object"==typeof t?t.current=e:"function"==typeof t&&t(e))},[t]);return r.jsxs(r.Fragment,{children:[o.cloneElement(c,{ref:G}),n?r.jsx(s.PopoverPortal,i({element:U.current,scoutElement:B.current,container:w}
2,{children:"function"==typeof u?u(W):u}),void 0):null]},void 0)});t.Popover=o.forwardRef(function(e,t){return"undefined"==typeof window?e.children:r.jsx(f,i({},e,{ref:t}),void 0)})},5373:(e,t,n)=>{n.d(t,{Y1:()=>b,_m:()=>w,t7:()=>C});var i=n(58168),r=n(9417),o=n(77387),s=n(41811),a=n(96540),l=n(98587),d="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function c(e){cancelAnimationFrame(e.id)}var u=-1;function f(e){if(void 0===e&&(e=!1),-1===u||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),u=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return u}var h=null;function p(e){if(void 0===e&&(e=!1),null===h||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var i=document.createElement("div"),r=i.style;return r.width="100px",r.height="100px",t.appendChild(i),document.body.appendChild(t),t.scrollLeft>0?h="positive-descending":(t.scrollLeft=1,h=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),h}return h}var g=function(e,t){return e};function m(e){var t,n=e.getItemOffset,l=e.getEstimatedTotalSize,u=e.getItemSize,h=e.getOffsetForIndexAndAlignment,m=e.getStartIndexForOffset,_=e.getStopIndexForStartIndex,R=e.initInstanceProps,y=e.shouldResetStyleCacheOnItemSizeChange,w=e.validateProps;return t=function(e){function t(t){var i;return(i=e.call(this,t)||this)._instanceProps=R(i.props,(0,r.A)(i)),i._outerRef=void 0,i._resetIsScrollingTimeoutId=null,i.state={instance:(0,r.A)(i),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof i.props.initialScrollOffset?i.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},i._callOnItemsRendered=void 0,i._callOnItemsRendered=(0,s.default)(function(e,t,n,r){return i.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:r})}),i._callOnScroll=void 0,i._callOnScroll=(0,s.default)(function(e,t,n){return i.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})}),i._getItemStyle=void 0,i._getItemStyle=function(e){var t,r=i.props,o=r.direction,s=r.itemSize,a=r.layout,l=i._getItemStyleCache(y&&s,y&&a,y&&o);if(l.hasOwnProperty(e))t=l[e];else{var d=n(i.props,e,i._instanceProps),c=u(i.props,e,i._instanceProps),f="horizontal"===o||"horizontal"===a,h="rtl"===o,p=f?d:0;l[e]=t={position:"absolute",left:h?void 0:p,right:h?p:void 0,top:f?0:d,height:f?"100%":c,width:f?c:"100%"}}return t},i._getItemStyleCache=void 0,i._getItemStyleCache=(0,s.default)(function(e,t,n){return{}}),i._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,r=t.scrollLeft,o=t.scrollWidth;i.setState(function(e){if(e.scrollOffset===r)return null;var t=i.props.direction,s=r;if("rtl"===t)switch(p()){case"negative":s=-r;break;case"positive-descending":s=o-n-r}return s=Math.max(0,Math.min(s,o-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<s?"forward":"backward",scrollOffset:s,scrollUpdateWasRequested:!1}},i._resetIsScrollingDebounced)},i._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,r=t.scrollHeight,o=t.scrollTop;i.setState(function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,r-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}},i._resetIsScrollingDebounced)},i._outerRefSetter=function(e){var t=i.props.outerRef;i._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},i._resetIsScrollingDebounced=function(){var e,t,n,r;null!==i._resetIsScrollingTimeoutId&&c(i._resetIsScrollingTimeoutId),i._resetIsScrollingTimeoutId=(e=i._resetIsScrolling,t=150,n=d(),r={id:requestAnimationFrame(function i(){d()-n>=t?e.call(null):r.id=requestAnimationFrame(i)})})},i._resetIsScrolling=function(){i._resetIsScrollingTimeoutId=null,i.setState({isScrolling:!1},function(){i._getItemStyleCache(-1,null)})},i}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return v(e,t),w(e),null};var b=t.prototype;return b.scrollTo=function(e){e=Math.max(0,e),this.setState(function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,i=n.itemCount,r=n.layout,o=this.state.scrollOffset;e=Math.max(0,Math.min(e,i-1));var s=0;if(this._outerRef){var a=this._outerRef;s="vertical"===r?a.scrollWidth>a.clientWidth?f():0:a.scrollHeight>a.clientHeight?f():0}this.scrollTo(h(this.props,e,t,o,this._instanceProps,s))},b.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,i=e.layout;if("number"==typeof n&&null!=this._outerRef){var r=this._outerRef;"horizontal"===t||"horizontal"===i?r.scrollLeft=n:r.scrollTop=n}this._callPropsCallbacks()},b.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,i=this.state,r=i.scrollOffset;if(i.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(p()){case"negative":o.scrollLeft=-r;break;case"positive-ascending":o.scrollLeft=r;break;default:var s=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-s-r}else o.scrollLeft=r;else o.scrollTop=r}this._callPropsCallbacks()},b.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&c(this._resetIsScrollingTimeoutId)},b.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,o=e.height,s=e.innerRef,d=e.innerElementType,c=e.innerTagName,u=e.itemCount,f=e.itemData,h=e.itemKey,p=void 0===h?g:h,m=e.layout,v=e.outerElementType,_=e.outerTagName,R=e.style,y=e.useIsScrolling,w=e.width,b=this.state.isScrolling,S="horizontal"===r||"horizontal"===m,I=S?this._onScrollHorizontal:this._onScrollVertical,z=this._getRangeToRender(),C=z[0],x=z[1],E=[];if(u>0)for(var O=C;O<=x;O++)E.push((0,a.createElement)(t,{data:f,key:p(O,f),index:O,isScrolling:y?b:void 0,style:this._getItemStyle(O)}));var T=l(this.props,this._instanceProps);return(0,a.createElement)(v||_||"div",{className:n,onScroll:I,ref:this._outerRefSetter,style:(0,i.A)({position:"relative",height:o,width:w,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},R)},(0,a.createElement)(d||c||"div",{children:E,ref:s,style:{height:S?"100%":T,pointerEvents:b?"none":void 0,width:S?T:"100%"}}))},b._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],i=e[2],r=e[3];this._callOnItemsRendered(t,n,i,r)}if("function"==typeof this.props.onScroll){var o=this.state,s=o.scrollDirection,a=o.scrollOffset,l=o.scrollUpdateWasRequested;this._callOnScroll(s,a,l)}},b._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,i=this.state,r=i.isScrolling,o=i.scrollDirection,s=i.scrollOffset;if(0===t)return[0,0,0,0];var a=m(this.props,s,this._instanceProps),l=_(this.props,a,s,this._instanceProps),d=r&&"backward"!==o?1:Math.max(1,n),c=r&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,a-d),Math.max(0,Math.min(t-1,l+c)),a,l]},t}
vendor: 1,178 bytes, line 2
2(a.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var v=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},_=function(e,t,n){var i=e.itemSize,r=n.itemMetadataMap,o=n.lastMeasuredIndex;if(t>o){var s=0;if(o>=0){var a=r[o];s=a.offset+a.size}for(var l=o+1;l<=t;l++){var d=i(l);r[l]={offset:s,size:d},s+=d}n.lastMeasuredIndex=t}return r[t]},R=function(e,t,n,i,r){for(;i<=n;){var o=i+Math.floor((n-i)/2),s=_(e,o,t).offset;if(s===r)return o;s<r?i=o+1:s>r&&(n=o-1)}return i>0?i-1:0},y=function(e,t){var n=e.itemCount,i=t.itemMetadataMap,r=t.estimatedItemSize,o=t.lastMeasuredIndex,s=0;if(o>=n&&(o=n-1),o>=0){var a=i[o];s=a.offset+a.size}return s+(n-o-1)*r},w=m({getItemOffset:function(e,t,n){return _(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:y,getOffsetForIndexAndAlignment:function(e,t,n,i,r,o){var s=e.direction,a=e.height,l=e.layout,d=e.width,c="horizontal"===s||"horizontal"===l?d:a,u=_(e,t,r),f=y(e,r),h=Math.max(0,Math.min(f-c,u.offset)),p=Math.max(0,u.offset-c+u.size+o);switch("smart"===n&&(n=i>
vendor: 1,487 bytes, line 2
2=p-c&&i<=h+c?"auto":"center"),n){case"start":return h;case"end":return p;case"center":return Math.round(p+(h-p)/2);default:return i>=p&&i<=h?i:i<p?p:h}},getStartIndexForOffset:function(e,t,n){return function(e,t,n){var i=t.itemMetadataMap,r=t.lastMeasuredIndex;return(r>0?i[r].offset:0)>=n?R(e,t,r,0,n):function(e,t,n,i){for(var r=e.itemCount,o=1;n<r&&_(e,n,t).offset<i;)n+=o,o*=2;return R(e,t,Math.min(n,r-1),Math.floor(n/2),i)}(e,t,Math.max(0,r),n)}(e,n,t)},getStopIndexForStartIndex:function(e,t,n,i){for(var r=e.direction,o=e.height,s=e.itemCount,a=e.layout,l=e.width,d="horizontal"===r||"horizontal"===a?l:o,c=_(e,t,i),u=n+d,f=c.offset+c.size,h=t;h<s-1&&f<u;)h++,f+=_(e,h,i).size;return h},initInstanceProps:function(e,t){var n={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,i){void 0===i&&(i=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),i&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),b=m({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,i,r,o){var s=e.direction,a=e.height,l=e.itemCount,d=e.itemSize,c=e.layout,u=e.width,f="horizontal"===s||"horizontal"===c?u:a,h=Math.max(0,l*d-f),p=Math.min(h,t*d),g=Math.max(0,t*d-f+d+o);switch("smart"===n&&(n=i>
2=g-f&&i<=p+f?"auto":"center"),n){case"start":return p;case"end":return g;case"center":var m=Math.round(g+(p-g)/2);return m<Math.ceil(f/2)?0:m>h+Math.floor(f/2)?h:m;default:return i>=g&&i<=p?i:i<g?g:p}},getStartIndexForOffset:function(e,t){var n=e.itemCount,i=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/i)))},getStopIndexForStartIndex:function(e,t,n){var i=e.direction,r=e.height,o=e.itemCount,s=e.itemSize,a=e.layout,l=e.width,d=t*s,c="horizontal"===i||"horizontal"===a?l:r,u=Math.ceil((c+n-d)/s);return Math.max(0,Math.min(o-1,t+u-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});function S(e,t){for(var n in e)if(!(n in t))return!0;for(var i in t)if(e[i]!==t[i])return!0;return!1}var I=["style"],z=["style"];function C(e,t){var n=e.style,i=(0,l.A)(e,I),r=t.style,o=(0,l.A)(t,z);return!S(n,r)&&!S(i,o)}},10022:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(96540),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t};const s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i._lastRenderedStartIndex=-1,i._lastRenderedStopIndex=-1,i._memoizedUnloadedRanges=[],i._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;i._lastRenderedStartIndex=t,i._lastRenderedStopIndex=n,i._ensureRowsLoaded(t,n)},i._setRef=function(e){i._listRef=e},o(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,i=n.isItemLoaded,r=n.itemCount,o=n.minimumBatchSize,s=void 0===o?10:o,a=n.threshold,l=void 0===a?15:a,d=function(e){for(var t=e.isItemLo
2aded,n=e.itemCount,i=e.minimumBatchSize,r=e.stopIndex,o=[],s=null,a=null,l=e.startIndex;l<=r;l++)t(l)?null!==a&&(o.push(s,a),s=a=null):(a=l,null===s&&(s=l));if(null!==a){for(var d=Math.min(Math.max(a,s+i-1),n-1),c=a+1;c<=d&&!t(c);c++)a=c;o.push(s,a)}if(o.length)for(;o[1]-o[0]+1<i&&o[0]>0;){var u=o[0]-1;if(t(u))break;o[0]=u}return o}({isItemLoaded:i,itemCount:r,minimumBatchSize:s,startIndex:Math.max(0,e-l),stopIndex:Math.min(r-1,t+l)});(this._memoizedUnloadedRanges.length!==d.length||this._memoizedUnloadedRanges.some(function(e,t){return d[t]!==e}))&&(this._memoizedUnloadedRanges=d,this._loadUnloadedRanges(d))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,i=function(i){var r=e[i],o=e[i+1],s=n(r,o);null!=s&&s.then(function(){if(!((e={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:r,stopIndex:o}).startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(r,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}var e})},r=0;r<e.length;r+=2)i(r)}}]),t}(i.PureComponent)},40640:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowContainer=void 0;var r=n(74848),o=n(96540),s=n(46305);t.ArrowContainer=function(e){var t=e.childRect,n=e.popoverRect,a=e.position,l=e.arrowColor,d=e.arrowSize,c=e.arrowClassName,u=e.arrowStyle,f=e.className,h=e.children,p=e.style,g=s.useArrowContainer({childRect:t,popoverRect:n,position:a,arrowColor:l,arrowSize:d}),m=g.arrowContainerStyle,v=g.arrowStyle,_=o.useMemo(function(){return i(i({},m),p)},[m,p]),R=o.useMemo(function(){return i(i({},v),u)},[v,u]);return r.jsxs("div",i({className:f,style:_},{children:[r.jsx("div",{style:R,className:c},void 0),h]}),void 0)}},46305:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.useArrowContainer=void 0;var r=n(96540);t.useArrowContainer=function(e){var t=e.childRect,n=e.popoverRect,o=e.position,s=e.arrowSize,a=e.arrowColor;return{arrowContainerStyle:r.useMemo(function(){return{padding:s}},[s]),arrowStyle:r.useMemo(function(){return i({position:"absolute"},function(){var e=2*s,i=t.top-n.top+t.height/2-e/2,r=t.left-n.left+t.width/2-e/2,l=s,d=n.width-s,c=n.height-s;switch(r=(r=r<l?l:r)+e>d?d-e:r,i=(i=i<l?l:i)+e>c?c-e:i,i=Number.isNaN(i)?0:i,r=Number.isNaN(r)?0:r,o){case"right":return{borderTop:s+"px solid transparent",borderBottom:s+"px solid transparent",borderRight:s+"px solid "+a,left:0,top:i};case"left":return{borderTop:s+"px solid transparent",borderBottom:s+"px solid transparent",borderLeft:s+"px solid "+a,right:0,top:i};case"bottom":return{borderLeft:s+"px solid transparent",borderRight:s+"px solid transparent",borderBottom:s+"px solid "+a,top:0,left:r};case"top":return{borderLeft:s+"px solid transparent",borderRight:s+"px solid transparent",borderTop:s+"px solid "+a,bottom:0,left:r};default:return{display:"hidden"}}}())},[a,s,t.height,t.left,t.top,t.width,n.height,n.left,n.top,n.width,o])}}},46858:(e,t,n)=>{n.d(t,{A:()=>i});const i=(0,n(9407).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},48911:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useMemoizedArray=void 0;var i=n(96540);t.useMemoizedArray=function(e){var t=i.useRef(e);return i.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])}},70713:(e,t,n)=>{n.d(t,{Ay:()=>u});var i=n(96540);let r;r="undefined"!=typeof window?window:"undefined"!=typeof self?self:n.g;let o=null,s=null;const a=r.clearTimeout,l=r.setTimeout,d=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame,c=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame;null==d||null==c?(o=a,s=function(e){return l(e,20)}):(o=function([e,t]){d(e),a(t)},s=function(e){const t=c(function(){a(n),e()}),n=l(function(){d(t),e()},20);return[t,n]});class u extends i.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){const i=window.getComputedStyle(this._parentNode)||{},r=parseFloat(i.paddingLeft||"0"),o=parseFloat(i.paddingRight||"0"),s=parseFloat(i.paddingTop||"0"),a=parseFloat(i.paddingBottom||"0"),l=this._parentNode.getBoundingClientRect(),d=l.height-s-a,c=l.width-r-o,u=this._parentNode.offsetHeight-s-a,f=this._parentNode.offsetWidth-r-o;(e||this.state.height===u&&this.state.scaledHeight===d)&&(t||this.state.width===f&&this.state.scaledWidth===c)||(this.setState({height:u,width:f,scaledHeight:d,scaledWidth:c}),"function"==typeof n&&n({height:u,scaledHeight:d,scaledWidth:c,width:f}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const n=t.ownerDocument.defaultView.ResizeObserver;null!=n?(this._resizeObserver=new n(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(t)):(this._detectElementResize=function(e){let t,n,i,a,l,d,c;const u="undefined"!=typeof document&&document.attachEvent;if(!u){d=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,i=t.lastElementChild,r=n.firstElementChild;i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,r.style.width=n.offsetWidth+1+"px",r.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},l=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},c=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;d(this),this.__resizeRAF__&&o(this.__resizeRAF__),this.__resizeRAF__=s(function(){l(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(n){n.call(t,e)}))})};let e=!1,r="";i="animationstart";const u="Webkit Moz O ms".split(" ");let f="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h="";{const t=document.createElement("fakeelement");
2if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<u.length;n++)if(void 0!==t.style[u[n]+"AnimationName"]){h=u[n],r="-"+h.toLowerCase()+"-",i=f[n],e=!0;break}}n="resizeanim",t="@"+r+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",a=r+"animation: 1ms "+n+"; "}return{addResizeListener:function(o,s){if(u)o.attachEvent("onresize",s);else{if(!o.__resizeTriggers__){const s=o.ownerDocument,l=r.getComputedStyle(o);l&&"static"===l.position&&(o.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const i=(t||"")+".resize-triggers { "+(a||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=i:o.appendChild(n.createTextNode(i)),r.appendChild(o)}}(s),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const f=s.createElement("div");f.className="contract-trigger",o.__resizeTriggers__.appendChild(u),o.__resizeTriggers__.appendChild(f),o.appendChild(o.__resizeTriggers__),d(o),o.addEventListener("scroll",c,!0),i&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&d(o)},o.__resizeTriggers__.addEventListener(i,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(s)}},removeResizeListener:function(e,t){if(u)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(i,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:r=!1,disableWidth:o=!1,doNotBailOutOnEmptyChildren:s=!1,nonce:a,onResize:l,style:d={},tagName:c="div",...u}=this.props,{height:f,scaledHeight:h,scaledWidth:p,width:g}=this.state,m={overflow:"visible"},v={};let _=!1;return r||(0===f&&(_=!0),m.height=0,v.height=f,v.scaledHeight=h),o||(0===g&&(_=!0),m.width=0,v.width=g,v.scaledWidth=p),s&&(_=!1),(0,i.createElement)(c,{ref:this._setRef,style:{...m,...d},...u},!_&&e(v))}}},72456:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getNudgedPopoverRect=t.getNewPopoverRect=t.popoverRectForPosition=t.getBoundingRectNeglectingPositionalTransform=t.createContainer=t.targetPositionHasChanged=t.popoverStatesAreEqual=t.rectsAreEqual=t.arrayUnique=t.Constants=void 0,t.Constants={POPOVER_CONTAINER_CLASS_NAME:"react-tiny-popover-container",DEFAULT_ALIGN:"center",OBSERVER_THRESHOLDS:Array(1e3).fill(null).map(function(e,t){return t/1e3}).reverse(),DEFAULT_POSITIONS:["top","left","right","bottom"],EMPTY_CLIENT_RECT:{top:0,left:0,bottom:0,height:0,right:0,width:0}},t.arrayUnique=function(e){return e.filter(function(e,t,n){return n.indexOf(e)===t})},t.rectsAreEqual=function(e,t){return e===t||(null==e?void 0:e.bottom)===(null==t?void 0:t.bottom)&&(null==e?void 0:e.height)===(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)&&
2(null==e?void 0:e.width)===(null==t?void 0:t.width)},t.popoverStatesAreEqual=function(e,n){return e===n||(null==e?void 0:e.align)===(null==n?void 0:n.align)&&(null==e?void 0:e.nudgedLeft)===(null==n?void 0:n.nudgedLeft)&&(null==e?void 0:e.nudgedTop)===(null==n?void 0:n.nudgedTop)&&e.padding===n.padding&&t.rectsAreEqual(null==e?void 0:e.popoverRect,null==n?void 0:n.popoverRect)&&t.rectsAreEqual(null==e?void 0:e.childRect,null==n?void 0:n.childRect)&&(null==e?void 0:e.position)===(null==n?void 0:n.position)},t.targetPositionHasChanged=function(e,t){return void 0===e||e.left!==t.left||e.top!==t.top||e.width!==t.width||e.height!==t.height},t.createContainer=function(e,t){var n=window.document.createElement("div");return t&&(n.className=t),Object.assign(n.style,e),n},t.getBoundingRectNeglectingPositionalTransform=function(e){if(null!=e){var t=e,n=0,i=0;do{n+=t.offsetTop,i+=t.offsetLeft,t=t.offsetParent}while(null!=t);var r=0,o=0;t=e;do{r+=t.scrollTop,o+=t.scrollLeft,t=t.parentElement}while(null!=t);n-=r,i-=o;var s=e.getBoundingClientRect(),a=s.width,l=s.height;return{top:n,left:i,width:a,height:l,bottom:n+l,right:i+a}}},t.popoverRectForPosition=function(e,t,n,i,r){var o,s,a=t.left+t.width/2,l=t.top+t.height/2,d=n.width,c=n.height;switch(e){case"left":o=l-c/2,s=t.left-i-d,"start"===r&&(o=t.top),"end"===r&&(o=t.bottom-c);break;case"bottom":o=t.bottom+i,s=a-d/2,"start"===r&&(s=t.left),"end"===r&&(s=t.right-d);break;case"right":o=l-c/2,s=t.right+i,"start"===r&&(o=t.top),"end"===r&&(o=t.bottom-c);break;default:o=t.top-c-i,s=a-d/2,"start"===r&&(s=t.left),"end"===r&&(s=t.right-d)}return{top:o,left:s,width:d,height:c,right:s+d,bottom:o+c}},t.getNewPopoverRect=function(e,n){var i=e.position,r=e.align,o=e.childRect,s=e.popoverRect,a=e.boundaryRect,l=e.padding,d=e.reposition,c=t.popoverRectForPosition(i,o,s,l,r);return{rect:c,boundaryViolation:d&&("top"===i&&c.top<a.top+n||"left"===i&&c.left<a.left+n||"right"===i&&c.right>a.right-n||"bottom"===i&&c.bottom>a.bottom-n)}},t.getNudgedPopoverRect=function(e,t,n){var i=t.top+n,r=t.left+n,o=t.right-n,s=t.bottom-n,a=e.top<i?i:e.top;a=a+e.height>s?s-e.height:a;var l=e.left<r?r:e.left;return{top:a,left:l=l+e.width>o?o-e.width:l,width:e.width,height:e.height,right:l+e.width,bottom:a+e.height}}},81953:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverPortal=void 0;var i=n(96540),r=n(40961);t.PopoverPortal=function(e){var t=e.container,n=e.element,o=e.scoutElement,s=e.children;return i.useLayoutEffect(function(){return t.appendChild(n),t.appendChild(o),function(){t.removeChild(n),t.removeChild(o)}},[t,n]),r.createPortal(s,n)}},93148:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.usePopover=void 0;var i=n(96540),r=n(72456),o=n(5116);t.usePopover=function(e){var t=e.childRef,n=e.positions,s=e.containerClassName,a=e.parentElement,l=e.contentLocation,d=e.align,c=e.padding,u=e.reposition,f=e.boundaryInset,h=e.boundaryElement,p=e.onPositionPopover,g=o.useElementRef(s,{position:"fixed",overflow:"visible",top:"0px",left:"0px"}),m=o.useElementRef("react-tiny-popover-scout",{position:"fixed",top:"0px",left:"0px",width:"0px",height:"0px",visibility:"hidden"}),v=i.useCallback(function(e){var i,o,s=void 0===e?{}:e,_=s.positionIndex,R=void 0===_?0:_,y=s.parentRect,w=void 0===y?a.getBoundingClientRect():y,b=s.childRect,S=void 0===b?null===(i=null==t?void 0:t.current)||void 0===i?void 0:i.getBoundingClientRect():b,I=s.scoutRect,z=void 0===I?null===(o=null==m?void 0:m.current)||void 0===o?void 0:o.getBoundingClientRect():I,C=s.popoverRect,x=void 0===C?g.current.getBoundingClientRect():C,E=s.boundaryRect,O=void 0===E?h===a?w:h.getBoundingClientRect():E;if(S&&w){if(l){var T="function"==typeof l?l({childRect:S,popoverRect:x,parentRect:w,boundaryRect:O,padding:c,nudgedTop:0,nudgedLeft:0,boundaryInset:f}):l,M=T.top,P=T.left,L=w.left+P,A=w.top+M;return g.current.style.transform="translate("+(L-z.left)+"px, "+(A-z.top)+"px)",void p({childRect:S,popoverRect:x,parentRect:w,boundaryRect:O,padding:c,nudgedTop:0,nudgedLeft:0,boundaryInset:f})}var N=R===n.length,k=N?n[0]:n[R],F=r.getNewPopoverRect({childRect:S,popoverRect:x,boundaryRect:O,position:k,align:d,padding:c,reposition:u},f),W=F.rect;if(F.boundaryViolation&&u&&!N)v({positionIndex:R+1,childRect:S,popoverRect:x,parentRect:w,boundaryRect:O});
2else{var j=W.top,D=W.left,H=W.width,q=W.height,U=u&&!N,B=r.getNudgedPopoverRect(W,O,f),V=B.left,Y=B.top,G=j,K=D;U&&(G=Y,K=V),g.current.style.transform="translate("+(K-z.left)+"px, "+(G-z.top)+"px)",p({childRect:S,popoverRect:{top:G,left:K,width:H,height:q,right:K+H,bottom:G+q},parentRect:w,boundaryRect:O,position:k,align:d,padding:c,nudgedTop:Y-j,nudgedLeft:V-D,boundaryInset:f})}}},[a,t,g,h,l,n,d,c,u,f,p]);return{positionPopover:v,popoverRef:g,scoutRef:m}}}}]);//# sourceMappingURL=713.e6f5e3ea.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.