1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`dc657f81ead55c529fd8036de48429aa24bdb4a6-app.mercury.com`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3af56b84-c954-43c6-92ef-f196a500cc18`,e._sentryDebugIdIdentifier=`sentry-dbid-3af56b84-c954-43c6-92ef-f196a500cc18`)}catch{}})();import{o as e,t}from"./rolldown-runtime-Dkhnpalh.js";import{$p as n,Pl as r,al as i,dl as a,ed as o}from"./MockConfig-CCZXIeEY.js";import{t as s}from"./react-DepXBJPI.js";import{_t as c,gt as l,ht as u,vt as d,yt as f}from"./shared-B0zN67x0.js";import{t as p}from"./normal-D8-7i5bv.js";import{t as m}from"./Analytics-DDrDiWo7.js";import{t as h}from"./react-dom-CmlP0xp6.js";import{r as g}from"./navigate-BiyBTlz-.js";import{$n as _,Is as v,Jn as y,Xn as b,Xr as x,f as ee,l as te,p as S,u as C}from"./DSLoadingDots-DL17JTs7.js";import{t as w}from"./jsx-runtime-BLyZBLuq.js";import{t as ne}from"./classnames-DZNnp_4b.js";import{c as T,l as re,s as ie}from"./useAnalytics-BDvOhgPN.js";import{t as ae}from"./DSButton-B1sTEUaN.js";import{r as oe}from"./DSModal-DMi06TLt.js";import{i as se,l as ce,n as le,t as ue}from"./lib-BYSMYVUm.js";import{n as de}from"./VirtualizedTable-DAHpYqR_.js";import{d as fe,l as pe,n as me,o as he,s as ge,u as _e}from"./TrackingEventsLogPopoutContext-BiPX_rHQ.js";import{t as ve}from"./DSModalForm-B8IGMYKG.js";import{n as ye}from"./DSTextArea-B9-aztHa.js";import{t as be}from"./DSTextInputForForm-CA0zzzXH.js";import{n as xe}from"./DSTextInputCleave-m5_eBl9Y.js";var Se=t(((e,t)=>{var n={},r=`a menu outside a mounted Wrapper with an id, or a menu that does not exist`;function i(e,t){n[e]=t}function a(e){delete n[e]}function o(e,t){var i=n[e];if(!i)throw Error(`Cannot open `+r);i.openMenu(t)}function s(e,t){var i=n[e];if(!i)throw Error(`Cannot close `+r);i.closeMenu(t)}t.exports={registerManager:i,unregisterManager:a,openMenu:o,closeMenu:s}})),Ce=t(((e,t)=>{function n(e){e||={};var t=e.keybindings||{};this._settings={keybindings:{next:t.next||{keyCode:40},prev:t.prev||{keyCode:38},first:t.first,last:t.last},wrap:e.wrap,stringSearch:e.stringSearch,stringSearchDelay:800},this._keybindingsLookup=[];var n,r;for(n in this._settings.keybindings)r=this._settings.keybindings[n],r&&[].concat(r).forEach(function(e){e.metaKey=e.metaKey||!1,e.ctrlKey=e.ctrlKey||!1,e.altKey=e.altKey||!1,e.shiftKey=e.shiftKey||!1,this._keybindingsLookup.push({action:n,eventMatcher:e})}.bind(this));this._searchString=``,this._members=[],e.members&&this.setMembers(e.members),this._boundHandleKeydownEvent=this._handleKeydownEvent.bind(this)}n.prototype.activate=function(){return document.addEventListener(`keydown`,this._boundHandleKeydownEvent,!0),this},n.prototype.deactivate=function(){return document.removeEventListener(`keydown`,this._boundHandleKeydownEvent,!0),this._clearSearchStringRefreshTimer(),this},n.prototype._handleKeydownEvent=function(e){if(this._getActiveElementIndex()!==-1){var t=!1;this._keybindingsLookup.forEach(function(n){if(r(n.eventMatcher,e))switch(t=!0,e.preventDefault(),n.action){case`next`:this.moveFocusForward();break;case`prev`:this.moveFocusBack();break;case`first`:this.moveFocusToFirst();break;case`last`:this.moveFocusToLast();break;default:return}}.bind(this)),t||this._handleUnboundKey(e)}},n.prototype.moveFocusForward=function(){var e=this._getActiveElementIndex(),t=e<this._members.length-1?e+1:this._settings.wrap?0:e;return this.focusNodeAtIndex(t),t},n.prototype.moveFocusBack=function(){var e=this._getActiveElementIndex(),t=e>0?e-1:this._settings.wrap?this._members.length-1:e;return this.focusNodeAtIndex(t),t},n.prototype.moveFocusToFirst=function(){this.focusNodeAtIndex(0)},n.prototype.moveFocusToLast=function(){this.focusNodeAtIndex(this._members.length-1)},n.prototype._handleUnboundKey=function(e){if(this._settings.stringSearch){if(this._searchString!==``&&(e.key===` `||e.keyCode===32))return e.preventDefault(),-1;if(!i(e.keyCode)||e.ctrlKey||e.metaKey||e.altKey)return-1;e.preventDefault(),this._addToSearchString(String.fromCharCode(e.keyCode)),this._runStringSearch()}},n.prototype._clearSearchString=function(){this._searchString=``},n.prototype._addToSearchString=function(e){this._searchString+=e.toLowerCase()},n.prototype._startSearchStringRefreshTimer=function(){var e=this;this._clearSearchStringRefreshTimer(),this._stringSearchTimer=setTimeout(function(){e._clearSearchString()},this._settings.stringSearchDelay)},n.prototype._clearSearchStringRefreshTimer=function(){clearTimeout(this._stringSearchTimer)},n.prototype._runStringSearch=function(){this._startSearchStringRefreshTimer(),this.moveFocusByString(this._searchString)},n.prototype.moveFocusByString=function(e){for(var t,n=0,r=this._members.length;n<r;n++)if(t=this._members[n],t.text&&t.text.indexOf(e)===0)return a(t.node)}
1,n.prototype._findIndexOfNode=function(e){for(var t=0,n=this._members.length;t<n;t++)if(this._members[t].node===e)return t;return-1},n.prototype._getActiveElementIndex=function(){return this._findIndexOfNode(document.activeElement)},n.prototype.focusNodeAtIndex=function(e){var t=this._members[e];return t&&a(t.node),this},n.prototype.addMember=function(e,t){var n=e.node||e,r=e.text||n.getAttribute(`data-focus-group-text`)||n.textContent||``;this._checkNode(n);var i={node:n,text:r.replace(/[\W_]/g,``).toLowerCase()};return t==null?this._members.push(i):this._members.splice(t,0,i),this},n.prototype.removeMember=function(e){var t=typeof e==`number`?e:this._findIndexOfNode(e);if(t!==-1)return this._members.splice(t,1),this},n.prototype.clearMembers=function(){return this._members=[],this},n.prototype.setMembers=function(e){this.clearMembers();for(var t=0,n=e.length;t<n;t++)this.addMember(e[t]);return this},n.prototype.getMembers=function(){return this._members},n.prototype._checkNode=function(e){if(!e.nodeType||e.nodeType!==window.Node.ELEMENT_NODE)throw Error(`focus-group: only DOM nodes allowed`);return e};function r(e,t){for(var n in e)if(t[n]!==void 0&&e[n]!==t[n])return!1;return!0}function i(e){return e>=65&&e<=90}function a(e){!e||!e.focus||(e.focus(),e.tagName.toLowerCase()===`input`&&e.select())}t.exports=function(e){return new n(e)}})),we=t(((e,t)=>{var n=Ce(),r=Se(),i={wrap:!0,stringSearch:!0},a={init:function(e){this.updateOptions(e),this.handleBlur=o.bind(this),this.handleSelection=s.bind(this),this.handleMenuKey=c.bind(this),this.focusGroup=n(i),this.button=null,this.menu=null,this.isOpen=!1},updateOptions:function(e){var t=this.options;this.options=e||this.options||{},this.options.closeOnSelection===void 0&&(this.options.closeOnSelection=!0),this.options.closeOnBlur===void 0&&(this.options.closeOnBlur=!0),this.options.id&&r.registerManager(this.options.id,this),t&&t.id&&t.id!==this.options.id&&r.unregisterManager(this.options.id,this)},focusItem:function(e){this.focusGroup.focusNodeAtIndex(e)},addItem:function(e){this.focusGroup.addMember(e)},clearItems:function(){this.focusGroup.clearMembers()},handleButtonNonArrowKey:function(e){this.focusGroup._handleUnboundKey(e)},destroy:function(){this.button=null,this.menu=null,this.focusGroup.deactivate(),clearTimeout(this.blurTimer),clearTimeout(this.moveFocusTimer)},update:function(){this.menu.setState({isOpen:this.isOpen}),this.button.setState({menuOpen:this.isOpen}),this.options.onMenuToggle&&this.options.onMenuToggle({isOpen:this.isOpen})},openMenu:function(e){if(!this.isOpen&&(e||={},e.focusMenu===void 0&&(e.focusMenu=!0),this.isOpen=!0,this.update(),this.focusGroup.activate(),e.focusMenu)){var t=this;this.moveFocusTimer=setTimeout(function(){t.focusItem(0)},0)}},closeMenu:function(e){this.isOpen&&(e||={},this.isOpen=!1,this.update(),e.focusButton&&this.button.ref.current.focus())},toggleMenu:function(e,t){e||={},t||={},this.isOpen?this.closeMenu(e):this.openMenu(t)}};function o(){var e=this;e.blurTimer=setTimeout(function(){if(e.button){var t=e.button.ref.current;if(t){var n=t.ownerDocument.activeElement;if(!(t&&n===t)){var r=e.menu.ref.current;if(r===n){e.focusItem(0);return}r&&r.contains(n)||e.isOpen&&e.closeMenu({focusButton:!1})}}}},0)}function s(e,t){this.options.closeOnSelection&&this.closeMenu({focusButton:!0}),this.options.onSelection&&this.options.onSelection(e,t)}function c(e){if(this.isOpen)switch(e.key){case`Escape`:e.preventDefault(),this.closeMenu({focusButton:!0});break;case`Home`:e.preventDefault(),this.focusGroup.moveFocusToFirst();break;case`End`:e.preventDefault(),this.focusGroup.moveFocusToLast()}}t.exports=function(e){var t=Object.create(a);return t.init(e),t}})),Te=t(((e,t)=>{t.exports=s().createContext()})),Ee=t(((e,t)=>{var n=S();t.exports={refType:n.oneOfType([n.func,n.shape({current:n.elementType})])}})),De=t(((e,t)=>{t.exports=function(e,t,n){for(var r in n||={},t)t.hasOwnProperty(r)&&(n[r]||(e[r]=t[r]))}})),Oe=t(((e,t)=>{function n(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function r(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function i(e,t){if(typeof t!=`function`&&t!==null)throw 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)}var a=s(),o=S(),c=we(),l=Te(),u=Ee().refType,d=De(),f={children:o.node.isRequired,forwardedRef:u,onMenuToggle:o.func,onSelection:o.func,closeOnSelection:o.bool,closeOnBlur:o.bool,tag:o.string},p=function(e){return{onMenuToggle:e.onMenuToggle,onSelection:e.onSelection,closeOnSelection:e.closeOnSelection,closeOnBlur:e.closeOnBlur,id:e.id}},m=function(e){i(t,e);function t(i){n(this,t);var a=r(this,e.call(this,i));return a.manager=c(p(i)),a}return t.prototype.componentDidUpdate=function(){this.manager.updateOptions(p(this.props))},t.prototype.render=function(){var e={};return d(e,this.props,f),a.createElement(l.Provider,{value:this.manager},a.createElement(this.props.tag,e,this.props.children))},t}(a.Component);m.propTypes=f,m.defaultProps={tag:`div`},t.exports=a.forwardRef(function(e,t){var n={forwardedRef:t};return d(n,e,{children:f.children,forwardedRef:f.forwardedRef}),d(n,{forwardedRef:t}),a.createElement(m,n,e.children)})})),ke=t(((e,t)=>{function n(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function r(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function i(e,t){if(typeof t!=`function`&&t!==null)throw 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)}var a=s(),o=S(),c=Te(),l=Ee().refType,u=De(),d={ambManager:o.object.isRequired,children:o.node.isRequired,disabled:o.bool,forwardedRef:l,tag:o.string},f=function(){return[`button`,`fieldset`,`input`,`optgroup`,`option`,`select`,`textarea`]},p=function(e){i(t,e);function t(){var i,o,s;n(this,t);var c=[...arguments];return s=(i=(o=r(this,e.call.apply(e,[this].concat(c))),o),o.ref=a.createRef(),o.handleKeyDown=function(e){if(!o.props.disabled){var t=o.props.ambManager;switch(e.key){case`ArrowDown`:e.preventDefault(),t.isOpen?t.focusItem(0):t.openMenu();break;case`Enter`:case` `:e.preventDefault(),t.toggleMenu();break;case`Escape`:t.handleMenuKey(e);break;default:t.handleButtonNonArrowKey(e)}}},o.handleClick=function(){o.props.disabled||o.props.ambManager.toggleMenu({},{focusMenu:!1})},o.setRef=function(e){o.ref.current=e,typeof o.props.forwardedRef==`function`?o.props.forwardedRef(e):o.props.forwardedRef&&(
1o.props.forwardedRef.current=e)},i),r(o,s)}return t.prototype.componentDidMount=function(){this.props.ambManager.button=this},t.prototype.componentWillUnmount=function(){this.props.ambManager.destroy()},t.prototype.render=function(){var e=this.props,t=this.props.ambManager,n={role:`button`,tabIndex:e.disabled?``:`0`,"aria-haspopup":!0,"aria-expanded":t.isOpen,"aria-disabled":e.disabled,onKeyDown:this.handleKeyDown,onClick:this.handleClick},r={};return u(r,d),f().indexOf(e.tag)>=0&&delete r.disabled,t.options.closeOnBlur&&(n.onBlur=t.handleBlur),u(n,e,r),u(n,{ref:this.setRef}),a.createElement(e.tag,n,e.children)},t}(a.Component);p.propTypes=d,p.defaultProps={tag:`span`},t.exports=a.forwardRef(function(e,t){return a.createElement(c.Consumer,null,function(n){var r={ambManager:n,forwardedRef:t};return u(r,e,{ambManager:d.ambManager,children:d.children,forwardedRef:d.forwardedRef}),a.createElement(p,r,e.children)})})})),Ae=t(((e,t)=>{t.exports=function(e,t,n){var r=0,i=0,a=!1,o=!1,s=!1;e.addEventListener(`click`,c,n),e.addEventListener(`touchstart`,l,n);function c(e){s||t(e)}function l(t){s=!0,!a&&(a=!0,e.addEventListener(`touchmove`,u,n),e.addEventListener(`touchend`,d,n),e.addEventListener(`touchcancel`,f,n),o=!1,r=t.touches[0].clientX,i=t.touches[0].clientY)}function u(e){o||Math.abs(e.touches[0].clientX-r)<=10&&Math.abs(e.touches[0].clientY-i)<=10||(o=!0)}function d(e){a=!1,p(),o||t(e)}function f(){a=!1,o=!1,r=0,i=0}function p(){e.removeEventListener(`touchmove`,u,n),e.removeEventListener(`touchend`,d,n),e.removeEventListener(`touchcancel`,f,n)}function m(){e.removeEventListener(`click`,c,n),e.removeEventListener(`touchstart`,l,n),p()}return{remove:m}}})),je=t(((e,t)=>{function n(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function r(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function i(e,t){if(typeof t!=`function`&&t!==null)throw 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)}var a=s(),o=S(),c=Ae(),l=Te(),u=Ee().refType,d=De(),f={ambManager:o.object.isRequired,children:o.oneOfType([o.func,o.node]).isRequired,forwardedRef:u,tag:o.string},p=function(e){i(t,e);function t(){var i,o,s;n(this,t);var l=[...arguments];return s=(i=(o=r(this,e.call.apply(e,[this].concat(l))),o),o.ref=a.createRef(),o.addTapListener=function(){var e=o.ref.current;if(e){var t=e.ownerDocument;t&&(o.tapListener=c(t.documentElement,o.handleTap))}},o.handleTap=function(e){o.ref.current.contains(e.target)||o.props.ambManager.button.ref.current.contains(e.target)||o.props.ambManager.closeMenu()},o.setRef=function(e){o.ref.current=e,typeof o.props.forwardedRef==`function`?o.props.forwardedRef(e):o.props.forwardedRef&&(
1o.props.forwardedRef.current=e)},i),r(o,s)}return t.prototype.componentDidMount=function(){this.props.ambManager.menu=this},t.prototype.componentDidUpdate=function(){var e=this.props.ambManager;e.options.closeOnBlur&&(e.isOpen&&!this.tapListener?this.addTapListener():!e.isOpen&&this.tapListener&&(this.tapListener.remove(),delete this.tapListener),e.isOpen||e.clearItems())},t.prototype.componentWillUnmount=function(){this.tapListener&&this.tapListener.remove(),this.props.ambManager.destroy()},t.prototype.render=function(){var e=this.props,t=this.props.ambManager,n=function(){return typeof e.children==`function`?e.children({isOpen:t.isOpen}):t.isOpen?e.children:!1}();if(!n)return!1;var r={onKeyDown:t.handleMenuKey,role:`menu`,tabIndex:-1};return t.options.closeOnBlur&&(r.onBlur=t.handleBlur),d(r,e,f),d(r,{ref:this.setRef}),a.createElement(e.tag,r,n)},t}(a.Component);p.propTypes=f,p.defaultProps={tag:`div`},t.exports=a.forwardRef(function(e,t){return a.createElement(l.Consumer,null,function(n){var r={ambManager:n,forwardedRef:t};return d(r,e,{ambManager:f.ambManager,children:f.children,forwardedRef:f.forwardedRef}),a.createElement(p,r,e.children)})})})),Me=t(((e,t)=>{function n(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function r(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function i(e,t){if(typeof t!=`function`&&t!==null)throw 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)}var a=s(),o=S(),c=Te(),l=Ee().refType,u=De(),d={ambManager:o.object.isRequired,children:o.node.isRequired,forwardedRef:l,tag:o.string,text:o.string,value:o.any},f=function(e){i(t,e);function t(){var i,o,s;n(this,t);var c=[...arguments];return s=(i=(o=r(this,e.call.apply(e,[this].concat(c))),o),o.ref=a.createRef(),o.handleKeyDown=function(e){(e.key===`Enter`||e.key===` `)&&(o.props.tag===`a`&&o.props.href||(e.preventDefault(),o.selectItem(e)))},o.selectItem=function(e){var t=o.props.value===void 0?o.props.children:o.props.value;o.props.ambManager.handleSelection(t,e)},o.setRef=function(e){o.ref.current=e,typeof o.props.forwardedRef==`function`?o.props.forwardedRef(e):o.props.forwardedRef&&(
1o.props.forwardedRef.current=e)},i),r(o,s)}return t.prototype.componentDidMount=function(){this.props.ambManager.addItem({node:this.ref.current,text:this.props.text})},t.prototype.render=function(){var e={onClick:this.selectItem,onKeyDown:this.handleKeyDown,role:`menuitem`,tabIndex:`-1`,ref:this.setRef};return u(e,this.props,d),a.createElement(this.props.tag,e,this.props.children)},t}(a.Component);f.propTypes=d,f.defaultProps={tag:`div`},t.exports=a.forwardRef(function(e,t){return a.createElement(c.Consumer,null,function(n){var r={ambManager:n,forwardedRef:t};return u(r,e,{ambManager:d.ambManager,children:d.children,forwardedRef:d.forwardedRef}),a.createElement(f,r,e.children)})})})),Ne=t(((e,t)=>{var n=Se();t.exports={Wrapper:Oe(),Button:ke(),Menu:je(),MenuItem:Me(),openMenu:n.openMenu,closeMenu:n.closeMenu}})),E=e(ne()),D=e(s()),Pe=e(Ne()),O=w();function Fe(e){return e.metaKey||e.altKey||e.ctrlKey||e.shiftKey}var Ie=class extends D.Component{static contextType=te;componentDidMount(){let e=this.context;C(this.props.to,e)}render(){let{to:e,newTab:t,analyticsEvent:n,...r}=this.props;return(0,O.jsx)(Pe.MenuItem,{tabIndex:0,tag:`a`,target:t?`_blank`:void 0,href:typeof e==`string`?e:e.pathname,onClick:r=>{if(!r.defaultPrevented&&r.button===0&&!t&&!Fe(r)){r.preventDefault();let t=r.target;n&&m.trackClick(n,{text:t.innerText,linkedPath:e,...typeof n==`string`?{}:n.properties}),g(e)}},onKeyDown:n=>{(n.key===`Enter`||n.key===` `)&&(t||(n.preventDefault(),g(e)))},...r,children:this.props.children})}},Le=class extends D.Component{render(){let{newTab:e,analyticsEvent:t,...n}=this.props;return(0,O.jsx)(Pe.MenuItem,{tabIndex:0,tag:`a`,target:e?`_blank`:void 0,onClick:e=>{let r=e.target;t&&m.trackClick(t,{text:r.innerText,linkedPath:n.href,...typeof t==`string`?{}:t.properties})},...n,children:this.props.children})}},Re={menu:`_menu_ocuiz_4`,noOverflowHidden:`_noOverflowHidden_ocuiz_19`,noDefaultItemPadding:`_noDefaultItemPadding_ocuiz_23`,iconPrimary:`_iconPrimary_ocuiz_41`,hoverAlert:`_hoverAlert_ocuiz_55`,divider:`_divider_ocuiz_70`,menuButton:`_menuButton_ocuiz_76`,menuButtonOpen:`_menuButtonOpen_ocuiz_84`,"underline-never":`_underline-never_ocuiz_100`,"underline-false":`_underline-false_ocuiz_102`,"underline-always":`_underline-always_ocuiz_107`,"underline-true":`_underline-true_ocuiz_109`,"underline-onHover":`_underline-onHover_ocuiz_114`},ze=e=>{let{alertStyle:t,iconPrimary:n,className:r}=e;return(0,E.default)(r,{[Re.hoverAlert]:!!t,[Re.iconPrimary]:!!n})},Be=class extends D.Component{render(){let{alertStyle:e,iconPrimary:t,className:n,hidden:r,...i}=this.props;return r?null:(0,O.jsx)(Pe.MenuItem,{className:ze({alertStyle:e,iconPrimary:t,className:n}),tabIndex:0,...i,children:this.props.children})}};function Ve(e){return(0,O.jsx)(`div`,{className:(0,E.default)(Re.divider,e.className),role:`separator`})}var He=class extends D.Component{render(){let{alertStyle:e,iconPrimary:t,className:n,underline:r,...i}=this.props;return(0,O.jsx)(Ie,{className:(0,E.default)(ze({alertStyle:e,iconPrimary:t,className:n}),Re[`underline-${r}`]),...i,children:this.props.children})}},Ue=class extends D.Component{render(){let{alertStyle:e,iconPrimary:t,className:n,underline:r,...i}=this.props;return(0,O.jsx)(Le,{className:(0,E.default)(ze({alertStyle:e,iconPrimary:t,className:n}),Re[`underline-${r}`]),...i,children:this.props.children})}},We=class extends D.Component{state={isOpen:!1};render(){let{menuClassName:e,customButton:t,noDefaultItemPadding:n,noOverflowHidden:r,onMenuToggle:i,...a}=this.props;return(0,O.jsxs)(Pe.Wrapper,{...a,onMenuToggle:({isOpen:e})=>{this.setState({isOpen:e}),i?.({isOpen:e})},className:this.props.className||``,children:[(0,O.jsx)(Pe.Button,{tabIndex:-1,className:(0,E.default)({[Re.menuButton]:!t,[Re.menuButtonOpen]:!t&&this.state.isOpen}),children:t?t(this.state.isOpen):` `}),(0,O.jsx)(Pe.Menu,{className:(0,E.default)(e,Re.menu,r&&Re.noOverflowHidden,n&&Re.noDefaultItemPadding),children:this.props.children})]})}},Ge=0,Ke=1,qe=2,Je=4;function Ye(e,t){return function(n){return e(t(n))}}function Xe(e,t){return t(e)}function Ze(e,t){return function(n){return e(t,n)}}function Qe(e,t){return function(){return e(t)}}function $e(e,t){return t(e),e}function k(){return[...arguments]}function et(e){e()}function tt(e){return function(){return e}}function nt(){var e=[...arguments];return function(){e.map(et)}}function rt(){}function A(e,t){return e(Ke,t)}function j(e,t){e(Ge,t)}function it(e){e(qe)}function at(e){return e(Je)}function M(e,t){return A(e,Ze(t,Ge))}function ot(e,t){var n=e(Ke,function(e){n(),t(e)});return n}function N(){var e=[];return function(t,n){switch(t){case qe:e.splice(0,e.length);return;case Ke:return e.push(n),function(){var t=e.indexOf(n);t>-1&&e.splice(t,1)};
1case Ge:e.slice().forEach(function(e){e(n)});return;default:throw Error(`unrecognized action `+t)}}}function P(e){var t=e,n=N();return function(e,r){switch(e){case Ke:r(t);break;case Ge:t=r;break;case Je:return t}return n(e,r)}}function st(e){var t,n,r=function(){return t&&t()};return function(i,a){switch(i){case Ke:return a?n===a?void 0:(r(),n=a,t=A(e,a),t):(r(),rt);case qe:r(),n=null;return;default:throw Error(`unrecognized action `+i)}}}function ct(e){return $e(N(),function(t){return M(e,t)})}function F(e,t){return $e(P(t),function(t){return M(e,t)})}function lt(){var e=[...arguments];return function(t){return e.reduceRight(Xe,t)}}function I(e){var t=[...arguments].slice(1),n=lt.apply(void 0,t);return function(t,r){switch(t){case Ke:return A(e,n(r));case qe:it(e);return;default:throw Error(`unrecognized action `+t)}}}function ut(e,t){return e===t}function L(e){e===void 0&&(e=ut);var t;return function(n){return function(r){e(t,r)||(t=r,n(r))}}}function R(e){return function(t){return function(n){e(n)&&t(n)}}}function z(e){return function(t){return Ye(t,e)}}function dt(e){return function(t){return function(){return t(e)}}}function ft(e,t){return function(n){return function(r){return n(t=e(t,r))}}}function pt(e){return function(t){return function(n){e>0?e--:t(n)}}}function mt(e){var t,n;return function(r){return function(i){t=i,!n&&(n=setTimeout(function(){n=void 0,r(t)},e))}}}function ht(e){var t,n;return function(r){return function(i){t=i,n&&clearTimeout(n),n=setTimeout(function(){r(t)},e)}}}function B(){var e=[...arguments],t=Array(e.length),n=0,r=null,i=2**e.length-1;return e.forEach(function(e,a){var o=2**a;A(e,function(e){var s=n;n|=o,t[a]=e,s!==i&&n===i&&r&&(r(),r=null)})}),function(e){return function(a){var o=function(){return e([a].concat(t))};n===i?o():r=o}}}function gt(){var e=[...arguments];return function(t,n){switch(t){case Ke:return nt.apply(void 0,e.map(function(e){return A(e,n)}));case qe:return;default:throw Error(`unrecognized action `+t)}}}function V(e,t){return t===void 0&&(t=ut),I(e,L(t))}function H(){var e=N(),t=[...arguments],n=Array(t.length),r=0,i=2**t.length-1;return t.forEach(function(t,a){var o=2**a;A(t,function(t){n[a]=t,r|=o,r===i&&j(e,n)})}),function(t,a){switch(t){case Ke:return r===i&&a(n),A(e,a);case qe:return it(e);default:throw Error(`unrecognized action `+t)}}}function U(e,t,n){t===void 0&&(t=[]);var r=(n===void 0?{singleton:!0}:n).singleton;return{id:_t(),constructor:e,dependencies:t,singleton:r}}var _t=function(){return Symbol()};function vt(e){var t=new Map;return function e(n){var r=n.id,i=n.constructor,a=n.dependencies,o=n.singleton;if(o&&t.has(r))return t.get(r);var s=i(a.map(function(t){return e(t)}));return o&&t.set(r,s),s}(e)}function yt(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function bt(e,t){if(e){if(typeof e==`string`)return xt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xt(e,t)}}function xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function St(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=bt(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ct=[`children`];function wt(e,t){for(var n={},r={},i=0,a=e.length;i<a;)r[e[i]]=1,i+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}var Tt=typeof document<`u`?D.useLayoutEffect:D.useEffect;function Et(e,t,n){var r=Object.keys(t.required||{}),i=Object.keys(t.optional||{}),a=Object.keys(t.methods||{}),o=Object.keys(t.events||{}),s=(0,D.createContext)({});function c(e,n){e.propsReady&&j(e.propsReady,!1);for(var a=St(r),o;!(o=a()).done;){var s=o.value,c=e[t.required[s]];j(c,n[s])}for(var l=St(i),u;!(u=l()).done;){var d=u.value;if(d in n){var f=e[t.optional[d]];j(f,n[d])}}e.propsReady&&j(e.propsReady,!0)}function l(e){return a.reduce(function(n,r){return n[r]=function(n){var i=e[t.methods[r]];j(i,n)},n},{})}function u(e){return o.reduce(function(n,r){return n[r]=st(e[t.events[r]]),n},{})}return{Component:(0,D.forwardRef)(function(t,a){var d=t.children,f=yt(t,Ct),p=(0,D.useState)(function(){return $e(vt(e),function(e){return c(e,f)})})[0],m=(0,D.useState)(Qe(u,p))[0];return Tt(function(){for(var e=St(o),t;!(t=e()).done;){var n=t.value;n in f&&A(m[n],f[n])}return function(){Object.values(m).map(it)}},[f,m,p]),Tt(function(){c(p,f)}),(0,D.useImperativeHandle)(a,tt(l(p))),(0,D.createElement)(s.Provider,{value:p},n?(0,D.createElement)(n,wt([].concat(r,i,o),f),d):d)}),usePublisher:function(e){return(0,D.useCallback)(Ze(j,(0,D.useContext)(s)[e]),[e])},useEmitterValue:function(e){var t=(0,D.useContext)(s)[e],n=(0,D.useState)(Qe(at,t)),r=n[0],i=n[1];return Tt(function(){return A(t,function(e){e!==r&&i(tt(e))})},[t,r]),r},useEmitter:function(e,t){var n=(0,D.useContext)(s)[e];Tt(function(){return A(n,t)},[t,n])}}}var Dt=e(h());function W(){return W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(this,arguments)}function Ot(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}function kt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function At(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if(typeof e==`string`)return kt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kt(e,t):void 0}}(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var jt,G,Mt=typeof document<`u`?D.useLayoutEffect:D.useEffect;(function(e){e[e.DEBUG=0]=`DEBUG`,e[e.INFO=1]=`INFO`,e[e.WARN=2]=`WARN`,e[e.ERROR=3]=`ERROR`})(G||={});var Nt=((jt={})[G.DEBUG]=`debug`,jt[G.INFO]=`log`,jt[G.WARN]=`warn`,jt[G.ERROR]=`error`,
3jt),Pt=U(function(){var e=P(G.ERROR);return{log:P(function(t,n,r){r===void 0&&(r=G.INFO),r>=((typeof globalThis>`u`?window:globalThis).VIRTUOSO_LOG_LEVEL??at(e))&&console[Nt[r]](`%creact-virtuoso: %c%s %o`,`color: #0253b3; font-weight: bold`,`color: initial`,t,n)}),logLevel:e}},[],{singleton:!0});function Ft(e,t){t===void 0&&(t=!0);var n=(0,D.useRef)(null),r=function(e){};if(typeof ResizeObserver<`u`){var i=new ResizeObserver(function(t){var n=t[0].target;n.offsetParent!==null&&e(n)});r=function(e){e&&t?(i.observe(e),n.current=e):(n.current&&i.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:r}}function It(e,t){return t===void 0&&(t=!0),Ft(e,t).callbackRef}function Lt(e,t,n,r,i,a,o){return Ft(function(n){for(var s=function(e,t,n,r){var i=e.length;if(i===0)return null;for(var a=[],o=0;o<i;o++){var s=e.item(o);if(s&&s.dataset.index!==void 0){var c=parseInt(s.dataset.index),l=parseFloat(s.dataset.knownSize),u=t(s,`offsetHeight`);if(u===0&&r(`Zero-sized element, this should not happen`,{child:s},G.ERROR),u!==l){var d=a[a.length-1];a.length===0||d.size!==u||d.endIndex!==c-1?a.push({startIndex:c,endIndex:c,size:u}):a[a.length-1].endIndex++}}}return a}(n.children,t,0,i),c=n.parentElement;!c.dataset.virtuosoScroller;)c=c.parentElement;var l=c.firstElementChild.dataset.viewportType===`window`,u=o?o.scrollTop:l?window.pageYOffset||document.documentElement.scrollTop:c.scrollTop,d=o?o.scrollHeight:l?document.documentElement.scrollHeight:c.scrollHeight,f=o?o.offsetHeight:l?window.innerHeight:c.offsetHeight;r({scrollTop:Math.max(u,0),scrollHeight:d,viewportHeight:f}),a?.(function(e,t,n){return t===`normal`||t!=null&&t.endsWith(`px`)||n(`row-gap was not resolved to pixel value correctly`,t,G.WARN),t===`normal`?0:parseInt(t??`0`,10)}(0,getComputedStyle(n).rowGap,i)),s!==null&&e(s)},n)}function Rt(e,t){return Math.round(e.getBoundingClientRect()[t])}function zt(e,t){return Math.abs(e-t)<1.01}function Bt(e,t,n,r,i){r===void 0&&(r=rt);var a=(0,D.useRef)(null),o=(0,D.useRef)(null),s=(0,D.useRef)(null),c=(0,D.useRef)(!1),l=(0,D.useCallback)(function(n){var r=n.target,i=r===window||r===document,a=i?window.pageYOffset||document.documentElement.scrollTop:r.scrollTop,l=i?document.documentElement.scrollHeight:r.scrollHeight,u=i?window.innerHeight:r.offsetHeight,d=function(){e({scrollTop:Math.max(a,0),scrollHeight:l,viewportHeight:u})};c.current?(0,Dt.flushSync)(d):d(),c.current=!1,o.current!==null&&(a===o.current||a<=0||a===l-u)&&(o.current=null,t(!0),s.current&&=(clearTimeout(s.current),null))},[e,t]);return(0,D.useEffect)(function(){var e=i||a.current;return r(i||a.current),l({target:e}),e.addEventListener(`scroll`,l,{passive:!0}),function(){r(null),e.removeEventListener(`scroll`,l)}},[a,l,n,r,i]),{scrollerRef:a,scrollByCallback:function(e){c.current=!0,a.current.scrollBy(e)},scrollToCallback:function(n){var r=a.current;if(r&&(!(`offsetHeight`in r)||r.offsetHeight!==0)){var i,c,l,u=n.behavior===`smooth`;if(r===window?(c=Math.max(Rt(document.documentElement,`height`),document.documentElement.scrollHeight),i=window.innerHeight,l=document.documentElement.scrollTop):(c=r.scrollHeight,i=Rt(r,`height`),l=r.scrollTop),n.top=Math.ceil(Math.max(Math.min(c-i,n.top),0)),zt(i,c)||n.top===l)return e({scrollTop:l,scrollHeight:c,viewportHeight:i}),void(u&&t(!0));u?(o.current=n.top,s.current&&clearTimeout(s.current),s.current=setTimeout(function(){s.current=null,o.current=null,t(!0)},1e3)):o.current=null,r.scrollTo(n)}}}}var Vt=U(function(){var e=N(),t=N(),n=P(0),r=N(),i=P(0),a=N(),o=N(),s=P(0),c=P(0),l=P(0),u=P(0),d=N(),f=N(),p=P(!1),m=P(!1);return M(I(e,z(function(e){return e.scrollTop})),t),M(I(e,z(function(e){return e.scrollHeight})),o),M(t,i),{scrollContainerState:e,scrollTop:t,viewportHeight:a,headerHeight:s,fixedHeaderHeight:c,fixedFooterHeight:l,footerHeight:u,scrollHeight:o,smoothScrollTargetReached:r,react18ConcurrentRendering:m,scrollTo:d,scrollBy:f,statefulScrollTop:i,deviation:n,scrollingInProgress:p}},[],{singleton:!0}),Ht={lvl:0};function Ut(e,t,n,r,i){return r===void 0&&(r=Ht),i===void 0&&(i=Ht),{k:e,v:t,lvl:n,l:r,r:i}}function K(e){return e===Ht}function Wt(){return Ht}function Gt(e,t){if(K(e))return Ht;var n=e.k,r=e.l,i=e.r;if(t===n){if(K(r))return i;if(K(i))return r;var a=Xt(r);return $t(q(e,{k:a[0],v:a[1],l:Zt(r)}))}return $t(q(e,t<n?{l:Gt(r,t)}:{r:Gt(i,t)}))}function Kt(e,t,n){if(n===void 0&&(n=`k`),K(e))return[-1/0,void 0];if(e[n]===t)return[e.k,e.v];
3if(e[n]<t){var r=Kt(e.r,t,n);return r[0]===-1/0?[e.k,e.v]:r}return Kt(e.l,t,n)}function qt(e,t,n){return K(e)?Ut(t,n,1):t===e.k?q(e,{k:t,v:n}):function(e){return nn(rn(e))}(q(e,t<e.k?{l:qt(e.l,t,n)}:{r:qt(e.r,t,n)}))}function Jt(e,t,n){if(K(e))return[];var r=e.k,i=e.v,a=e.r,o=[];return r>t&&(o=o.concat(Jt(e.l,t,n))),r>=t&&r<=n&&o.push({k:r,v:i}),r<=n&&(o=o.concat(Jt(a,t,n))),o}function Yt(e){return K(e)?[]:[].concat(Yt(e.l),[{k:e.k,v:e.v}],Yt(e.r))}function Xt(e){return K(e.r)?[e.k,e.v]:Xt(e.r)}function Zt(e){return K(e.r)?e.l:$t(q(e,{r:Zt(e.r)}))}function q(e,t){return Ut(t.k===void 0?e.k:t.k,t.v===void 0?e.v:t.v,t.lvl===void 0?e.lvl:t.lvl,t.l===void 0?e.l:t.l,t.r===void 0?e.r:t.r)}function Qt(e){return K(e)||e.lvl>e.r.lvl}function $t(e){var t=e.l,n=e.r,r=e.lvl;if(n.lvl>=r-1&&t.lvl>=r-1)return e;if(r>n.lvl+1){if(Qt(t))return rn(q(e,{lvl:r-1}));if(K(t)||K(t.r))throw Error(`Unexpected empty nodes`);return q(t.r,{l:q(t,{r:t.r.l}),r:q(e,{l:t.r.r,lvl:r-1}),lvl:r})}if(Qt(e))return nn(q(e,{lvl:r-1}));if(K(n)||K(n.l))throw Error(`Unexpected empty nodes`);var i=n.l,a=Qt(i)?n.lvl-1:n.lvl;return q(i,{l:q(e,{r:i.l,lvl:r-1}),r:nn(q(n,{l:i.r,lvl:a})),lvl:i.lvl+1})}function en(e,t,n){return K(e)?[]:tn(Jt(e,Kt(e,t)[0],n),function(e){return{index:e.k,value:e.v}})}function tn(e,t){var n=e.length;if(n===0)return[];for(var r=t(e[0]),i=r.index,a=r.value,o=[],s=1;s<n;s++){var c=t(e[s]),l=c.index,u=c.value;o.push({start:i,end:l-1,value:a}),i=l,a=u}return o.push({start:i,end:1/0,value:a}),o}function nn(e){var t=e.r,n=e.lvl;return K(t)||K(t.r)||t.lvl!==n||t.r.lvl!==n?e:q(t,{l:q(e,{r:t.l}),lvl:n+1})}function rn(e){var t=e.l;return K(t)||t.lvl!==e.lvl?e:q(t,{r:q(e,{l:t.r})})}function an(e,t,n,r){r===void 0&&(r=0);for(var i=e.length-1;r<=i;){var a=Math.floor((r+i)/2),o=n(e[a],t);if(o===0)return a;if(o===-1){if(i-r<2)return a-1;i=a-1}else{if(i===r)return a;r=a+1}}throw Error(`Failed binary finding record in array - `+e.join(`,`)+`, searched for `+t)}function on(e,t,n){return e[an(e,t,n)]}var sn=U(function(){return{recalcInProgress:P(!1)}},[],{singleton:!0});function cn(e){var t=e.size,n=e.startIndex,r=e.endIndex;return function(e){return e.start===n&&(e.end===r||e.end===1/0)&&e.value===t}}function ln(e,t){var n=e.index;return t===n?0:t<n?-1:1}function un(e,t){var n=e.offset;return t===n?0:t<n?-1:1}function dn(e){return{index:e.index,value:e}}function fn(e,t,n,r){var i=e,a=0,o=0,s=0,c=0;if(t!==0){s=i[c=an(i,t-1,ln)].offset;var l=Kt(n,t-1);a=l[0],o=l[1],i.length&&i[c].size===Kt(n,t)[1]&&--c,i=i.slice(0,c+1)}else i=[];for(var u,d=At(en(n,t,1/0));!(u=d()).done;){var f=u.value,p=f.start,m=f.value,h=p-a,g=h*o+s+h*r;i.push({offset:g,size:m,index:p}),a=p,s=g,o=m}return{offsetTree:i,lastIndex:a,lastOffset:s,lastSize:o}}function pn(e,t){var n=t[0],r=t[1],i=t[3];n.length>0&&(0,t[2])(`received item sizes`,n,G.DEBUG);var a=e.sizeTree,o=a,s=0;if(r.length>0&&K(a)&&n.length===2){var c=n[0].size,l=n[1].size;o=r.reduce(function(e,t){return qt(qt(e,t,c),t+1,l)},o)}else{var u=function(e,t){for(var n,r=K(e)?0:1/0,i=At(t);!(n=i()).done;){var a=n.value,o=a.size,s=a.startIndex,c=a.endIndex;if(r=Math.min(r,s),K(e))e=qt(e,0,o);else{var l=en(e,s-1,c+1);if(!l.some(cn(a))){for(var u,d=!1,f=!1,p=At(l);!(u=p()).done;){var m=u.value,h=m.start,g=m.end,_=m.value;d?(c>=h||o===_)&&(e=Gt(e,h)):(f=_!==o,d=!0),g>c&&c>=h&&_!==o&&(e=qt(e,c+1,_))}f&&(e=qt(e,s,o))}}}return[e,r]}(o,n);o=u[0],s=u[1]}if(o===a)return e;var d=fn(e.offsetTree,s,o,i),f=d.offsetTree;return{sizeTree:o,offsetTree:f,lastIndex:d.lastIndex,lastOffset:d.lastOffset,lastSize:d.lastSize,groupOffsetTree:r.reduce(function(e,t){return qt(e,t,mn(t,f,i))},Wt()),groupIndices:r}}function mn(e,t,n){if(t.length===0)return 0;var r=on(t,e,ln),i=e-r.index,a=r.size*i+(i-1)*n+r.offset;return a>0?a+n:a}function hn(e,t,n){if(function(e){return e.groupIndex!==void 0}(e))return t.groupIndices[e.groupIndex]+1;var r=gn(e.index===`LAST`?n:e.index,t);return Math.max(0,r,Math.min(n,r))}function gn(e,t){if(!_n(t))return e;for(var n=0;t.groupIndices[n]<=e+n;)n++;return e+n}function _n(e){return!K(e.groupOffsetTree)}var vn={offsetHeight:`height`,offsetWidth:`width`},yn=U(function(e){var t=e[0].log,n=e[1].recalcInProgress,r=N(),i=N(),a=F(i,0),o=N(),s=N(),c=P(0),l=P([]),u=P(void 0),d=P(void 0),f=P(function(e,t){return Rt(e,vn[t])}),p=P(void 0),m=P(0),h={offsetTree:[],sizeTree:Wt(),groupOffsetTree:Wt(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},g=F(I(r,B(l,t,m),ft(pn,h),L()),h);M(I(l,R(function(e){return e.length>0}),B(g,m),z(function(e){var t=e[0],n=e[1],r=e[2],i=t.reduce(function(e,t,i){return qt(e,t,mn(t,n.offsetTree,r)||i)},Wt());return W({},n,{groupIndices:t,groupOffsetTree:i})})),g),M(I(i,B(g),R(function(e){return e[0]<e[1].lastIndex}),z(function(e){var t=e[1];return[{startIndex:e[0],endIndex:t.lastIndex,size:t.lastSize}]})),r),M(u,d);var _=F(I(u,z(function(e){return e===void 0})),!0);
3M(I(d,R(function(e){return e!==void 0&&K(at(g).sizeTree)}),z(function(e){return[{startIndex:0,endIndex:0,size:e}]})),r);var v=ct(I(r,B(g),ft(function(e,t){var n=t[1];return{changed:n!==e.sizes,sizes:n}},{changed:!1,sizes:h}),z(function(e){return e.changed})));A(I(c,ft(function(e,t){return{diff:e.prev-t,prev:t}},{diff:0,prev:0}),z(function(e){return e.diff})),function(e){e>0?(j(n,!0),j(o,e)):e<0&&j(s,e)}),A(I(c,B(t)),function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:c},G.ERROR)});var y=ct(o);M(I(o,B(g),z(function(e){var t=e[0],n=e[1];if(n.groupIndices.length>0)throw Error(`Virtuoso: prepending items does not work with groups`);return Yt(n.sizeTree).reduce(function(e,n){var r=n.k,i=n.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:r+t-1,size:e.prevSize}]),prevIndex:r+t,prevSize:i}},{ranges:[],prevIndex:0,prevSize:n.lastSize}).ranges})),r);var b=ct(I(s,B(g,m),z(function(e){return mn(-e[0],e[1].offsetTree,e[2])})));return M(I(s,B(g,m),z(function(e){var t=e[0],n=e[1],r=e[2];if(n.groupIndices.length>0)throw Error(`Virtuoso: shifting items does not work with groups`);var i=Yt(n.sizeTree).reduce(function(e,n){var r=n.v;return qt(e,Math.max(0,n.k+t),r)},Wt());return W({},n,{sizeTree:i},fn(n.offsetTree,0,i,r))})),g),{data:p,totalCount:i,sizeRanges:r,groupIndices:l,defaultItemSize:d,fixedItemSize:u,unshiftWith:o,shiftWith:s,shiftWithOffset:b,beforeUnshiftWith:y,firstItemIndex:c,gap:m,sizes:g,listRefresh:v,statefulTotalCount:a,trackItemSizes:_,itemSize:f}},k(Pt,sn),{singleton:!0}),bn=typeof document<`u`&&`scrollBehavior`in document.documentElement.style;function xn(e){var t=typeof e==`number`?{index:e}:e;return t.align||=`start`,t.behavior&&bn||(t.behavior=`auto`),t.offset||=0,t}var Sn=U(function(e){var t=e[0],n=t.sizes,r=t.totalCount,i=t.listRefresh,a=t.gap,o=e[1],s=o.scrollingInProgress,c=o.viewportHeight,l=o.scrollTo,u=o.smoothScrollTargetReached,d=o.headerHeight,f=o.footerHeight,p=o.fixedHeaderHeight,m=o.fixedFooterHeight,h=e[2].log,g=N(),_=P(0),v=null,y=null,b=null;function x(){v&&=(v(),null),b&&=(b(),null),y&&=(clearTimeout(y),null),j(s,!1)}return M(I(g,B(n,c,r,_,d,f,h),B(a,p,m),z(function(e){var t=e[0],n=t[0],r=t[1],a=t[2],o=t[3],c=t[4],l=t[5],d=t[6],f=t[7],p=e[1],m=e[2],h=e[3],_=xn(n),ee=_.align,te=_.behavior,S=_.offset,C=o-1,w=hn(_,r,C),ne=mn(w,r.offsetTree,p)+l;ee===`end`?(ne+=m+Kt(r.sizeTree,w)[1]-a+h,w===C&&(ne+=d)):ee===`center`?ne+=(m+Kt(r.sizeTree,w)[1]-a+h)/2:ne-=c,S&&(ne+=S);var T=function(e){x(),e?(f(`retrying to scroll to`,{location:n},G.DEBUG),j(g,n)):f(`list did not change, scroll successful`,{},G.DEBUG)};if(x(),te===`smooth`){var re=!1;b=A(i,function(e){re||=e}),v=ot(u,function(){T(re)})}else v=ot(I(i,function(e){var t=setTimeout(function(){e(!1)},150);return function(n){n&&(e(!0),clearTimeout(t))}}),T);return y=setTimeout(function(){x()},1200),j(s,!0),f(`scrolling from index to`,{index:w,top:ne,behavior:te},G.DEBUG),{top:ne,behavior:te}})),l),{scrollToIndex:g,topListHeight:_}},k(yn,Vt,Pt),{singleton:!0}),Cn=`up`,wn={atBottom:!1,notAtBottomBecause:`NOT_SHOWING_LAST_ITEM`,state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},Tn=U(function(e){var t=e[0],n=t.scrollContainerState,r=t.scrollTop,i=t.viewportHeight,a=t.headerHeight,o=t.footerHeight,s=t.scrollBy,c=P(!1),l=P(!0),u=N(),d=N(),f=P(4),p=P(0),m=F(I(gt(I(V(r),pt(1),dt(!0)),I(V(r),pt(1),dt(!1),ht(100))),L()),!1),h=F(I(gt(I(s,dt(!0)),I(s,dt(!1),ht(200))),L()),!1);M(I(H(V(r),V(p)),z(function(e){return e[0]<=e[1]}),L()),l),M(I(l,mt(50)),d);var g=ct(I(H(n,V(i),V(a),V(o),V(f)),ft(function(e,t){var n,r,i=t[0],a=i.scrollTop,o=i.scrollHeight,s=t[1],c={viewportHeight:s,scrollTop:a,scrollHeight:o};return a+s-o>-t[4]?(a>e.state.scrollTop?(n=`SCROLLED_DOWN`,r=e.state.scrollTop-a):(n=`SIZE_DECREASED`,r=e.state.scrollTop-a||e.scrollTopDelta),{atBottom:!0,state:c,atBottomBecause:n,scrollTopDelta:r}):{atBottom:!1,notAtBottomBecause:c.scrollHeight>e.state.scrollHeight?`SIZE_INCREASED`:s<e.state.viewportHeight?`VIEWPORT_HEIGHT_DECREASING`:a<e.state.scrollTop?`SCROLLING_UPWARDS`:`NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM`,state:c}},wn),L(function(e,t){return e&&e.atBottom===t.atBottom}
3))),_=F(I(n,ft(function(e,t){var n=t.scrollTop,r=t.scrollHeight,i=t.viewportHeight;return zt(e.scrollHeight,r)?{scrollTop:n,scrollHeight:r,jump:0,changed:!1}:e.scrollTop!==n&&r-(n+i)<1?{scrollHeight:r,scrollTop:n,jump:e.scrollTop-n,changed:!0}:{scrollHeight:r,scrollTop:n,jump:0,changed:!0}},{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),R(function(e){return e.changed}),z(function(e){return e.jump})),0);M(I(g,z(function(e){return e.atBottom})),c),M(I(c,mt(50)),u);var v=P(`down`);M(I(n,z(function(e){return e.scrollTop}),L(),ft(function(e,t){return at(h)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?Cn:`down`,prevScrollTop:t}},{direction:`down`,prevScrollTop:0}),z(function(e){return e.direction})),v),M(I(n,mt(50),dt(`none`)),v);var y=P(0);return M(I(m,R(function(e){return!e}),dt(0)),y),M(I(r,mt(100),B(m),R(function(e){return!!e[1]}),ft(function(e,t){return[e[1],t[0]]},[0,0]),z(function(e){return e[1]-e[0]})),y),{isScrolling:m,isAtTop:l,isAtBottom:c,atBottomState:g,atTopStateChange:d,atBottomStateChange:u,scrollDirection:v,atBottomThreshold:f,atTopThreshold:p,scrollVelocity:y,lastJumpDueToItemResize:_}},k(Vt)),En=U(function(e){var t=e[0].log,n=P(!1),r=ct(I(n,R(function(e){return e}),L()));return A(n,function(e){e&&at(t)(`props updated`,{},G.DEBUG)}),{propsReady:n,didMount:r}},k(Pt),{singleton:!0}),Dn=U(function(e){var t=e[0],n=t.sizes,r=t.listRefresh,i=t.defaultItemSize,a=e[1].scrollTop,o=e[2].scrollToIndex,s=e[3].didMount,c=P(!0),l=P(0);return M(I(s,B(l),R(function(e){return!!e[1]}),dt(!1)),c),A(I(H(r,s),B(c,n,i),R(function(e){var t=e[1],n=e[3];return e[0][1]&&(!K(e[2].sizeTree)||n!==void 0)&&!t}),B(l)),function(e){var t=e[1];setTimeout(function(){ot(a,function(){j(c,!0)}),j(o,t)})}),{scrolledToInitialItem:c,initialTopMostItemIndex:l}},k(yn,Vt,Sn,En),{singleton:!0});function On(e){return!!e&&(e===`smooth`?`smooth`:`auto`)}var kn=U(function(e){var t=e[0],n=t.totalCount,r=t.listRefresh,i=e[1],a=i.isAtBottom,o=i.atBottomState,s=e[2].scrollToIndex,c=e[3].scrolledToInitialItem,l=e[4],u=l.propsReady,d=l.didMount,f=e[5].log,p=e[6].scrollingInProgress,m=P(!1),h=N(),g=null;function _(e){j(s,{index:`LAST`,align:`end`,behavior:e})}function v(e){var t=ot(o,function(t){!e||t.atBottom||t.notAtBottomBecause!==`SIZE_INCREASED`||g||(at(f)(`scrolling to bottom due to increased size`,{},G.DEBUG),_(`auto`))});setTimeout(t,100)}return A(I(H(I(V(n),pt(1)),d),B(V(m),a,c,p),z(function(e){var t=e[0],n=t[0],r=t[1]&&e[3],i=`auto`;return r&&(i=function(e,t){return typeof e==`function`?On(e(t)):t&&On(e)}(e[1],e[2]||e[4]),r&&=!!i),{totalCount:n,shouldFollow:r,followOutputBehavior:i}}),R(function(e){return e.shouldFollow})),function(e){var t=e.totalCount,n=e.followOutputBehavior;g&&=(g(),null),g=ot(r,function(){at(f)(`following output to `,{totalCount:t},G.DEBUG),_(n),g=null})}),A(I(H(V(m),n,u),R(function(e){return e[0]&&e[2]}),ft(function(e,t){var n=t[1];return{refreshed:e.value===n,value:n}},{refreshed:!1,value:0}),R(function(e){return e.refreshed}),B(m,n)),function(e){v(!1!==e[1])}),A(h,function(){v(!1!==at(m))}),A(H(V(m),o),function(e){var t=e[1];e[0]&&!t.atBottom&&t.notAtBottomBecause===`VIEWPORT_HEIGHT_DECREASING`&&_(`auto`)}),{followOutput:m,autoscrollToBottom:h}},k(yn,Tn,Sn,Dn,En,Pt,Vt));function An(e){return e.reduce(function(e,t){return e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e},{totalCount:0,groupIndices:[]})}var jn=U(function(e){var t=e[0],n=t.totalCount,r=t.groupIndices,i=t.sizes,a=e[1],o=a.scrollTop,s=a.headerHeight,c=N(),l=N(),u=ct(I(c,z(An)));return M(I(u,z(function(e){return e.totalCount})),n),M(I(u,z(function(e){return e.groupIndices})),r),M(I(H(o,i,s),R(function(e){return _n(e[1])}),z(function(e){return Kt(e[1].groupOffsetTree,Math.max(e[0]-e[2],0),`v`)[0]}),L(),z(function(e){return[e]})),l),{groupCounts:c,topItemsIndexes:l}},k(yn,Vt));function Mn(e,t){return!(!e||e[0]!==t[0]||e[1]!==t[1])}function Nn(e,t){return!(!e||e.startIndex!==t.startIndex||e.endIndex!==t.endIndex)}function Pn(e,t,n){return typeof e==`number`?n===Cn&&t===`top`||n===`down`&&t===`bottom`?e:0:n===Cn?t===`top`?e.main:e.reverse:t===`bottom`?e.main:e.reverse}function Fn(e,t){return typeof e==`number`?e:e[t]||0}
3var In=U(function(e){var t=e[0],n=t.scrollTop,r=t.viewportHeight,i=t.deviation,a=t.headerHeight,o=t.fixedHeaderHeight,s=N(),c=P(0),l=P(0),u=P(0);return{listBoundary:s,overscan:u,topListHeight:c,increaseViewportBy:l,visibleRange:F(I(H(V(n),V(r),V(a),V(s,Mn),V(u),V(c),V(o),V(i),V(l)),z(function(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=i[0],o=i[1],s=e[4],c=e[6],l=e[7],u=e[8],d=t-l,f=e[5]+c,p=Math.max(r-d,0),m=`none`,h=Fn(u,`top`),g=Fn(u,`bottom`);return a-=l,o+=r+c,(a+=r+c)>t+f-h&&(m=Cn),(o-=l)<t-p+n+g&&(m=`down`),m===`none`?null:[Math.max(d-r-Pn(s,`top`,m)-h,0),d-p-c+n+Pn(s,`bottom`,m)+g]}),R(function(e){return e!=null}),L(Mn)),[0,0])}},k(Vt),{singleton:!0}),Ln={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function Rn(e,t,n){if(e.length===0)return[];if(!_n(t))return e.map(function(e){return W({},e,{index:e.index+n,originalIndex:e.index})});for(var r,i=[],a=en(t.groupOffsetTree,e[0].index,e[e.length-1].index),o=void 0,s=0,c=At(e);!(r=c()).done;){var l=r.value;(!o||o.end<l.index)&&(o=a.shift(),s=t.groupIndices.indexOf(o.start)),i.push(W({},l.index===o.start?{type:`group`,index:s}:{index:l.index-(s+1)+n,groupIndex:s},{size:l.size,offset:l.offset,originalIndex:l.index,data:l.data}))}return i}function zn(e,t,n,r,i,a){var o=0,s=0;if(e.length>0){o=e[0].offset;var c=e[e.length-1];s=c.offset+c.size}var l=n-i.lastIndex,u=o,d=i.lastOffset+l*i.lastSize+(l-1)*r-s;return{items:Rn(e,i,a),topItems:Rn(t,i,a),topListHeight:t.reduce(function(e,t){return t.size+e},0),offsetTop:o,offsetBottom:d,top:u,bottom:s,totalCount:n,firstItemIndex:a}}var Bn=U(function(e){var t=e[0],n=t.sizes,r=t.totalCount,i=t.data,a=t.firstItemIndex,o=t.gap,s=e[1],c=e[2],l=c.visibleRange,u=c.listBoundary,d=c.topListHeight,f=e[3],p=f.scrolledToInitialItem,m=f.initialTopMostItemIndex,h=e[4].topListHeight,g=e[5],_=e[6].didMount,v=e[7].recalcInProgress,y=P([]),b=N();M(s.topItemsIndexes,y);var x=F(I(H(_,v,V(l,Mn),V(r),V(n),V(m),p,V(y),V(a),V(o),i),R(function(e){return e[0]&&!e[1]}),z(function(e){var t=e[2],n=t[0],r=t[1],i=e[3],a=e[5],o=e[6],s=e[7],c=e[8],l=e[9],u=e[10],d=e[4],f=d.sizeTree,p=d.offsetTree;if(i===0||n===0&&r===0)return W({},Ln,{totalCount:i});if(K(f))return zn(function(e,t,n){if(_n(t)){var r=gn(e,t);return[{index:Kt(t.groupOffsetTree,r)[0],size:0,offset:0},{index:r,size:0,offset:0,data:n&&n[0]}]}return[{index:e,size:0,offset:0,data:n&&n[0]}]}(function(e,t){return typeof e==`number`?e:e.index===`LAST`?t-1:e.index}(a,i),d,u),[],i,l,d,c);var m=[];if(s.length>0)for(var h,g=s[0],_=s[s.length-1],v=0,y=At(en(f,g,_));!(h=y()).done;)for(var b=h.value,x=b.value,ee=Math.max(b.start,g),te=Math.min(b.end,_),S=ee;S<=te;S++)m.push({index:S,size:x,offset:v,data:u&&u[S]}),v+=x;if(!o)return zn([],m,i,l,d,c);var C=s.length>0?s[s.length-1]+1:0,w=function(e,t,n,r){return r===void 0&&(r=0),r>0&&(t=Math.max(t,on(e,r,ln).offset)),tn((a=n,s=an(i=e,t,o=un),c=an(i,a,o,s),i.slice(s,c+1)),dn);var i,a,o,s,c}(p,n,r,C);if(w.length===0)return null;var ne=i-1;return zn($e([],function(e){for(var t,i=At(w);!(t=i()).done;){var a=t.value,o=a.value,s=o.offset,c=a.start,d=o.size;if(o.offset<n){var f=(c+=Math.floor((n-o.offset+l)/(d+l)))-a.start;s+=f*d+f*l}c<C&&(s+=(C-c)*d,c=C);for(var p=Math.min(a.end,ne),m=c;m<=p&&!(s>=r);m++)e.push({index:m,size:d,offset:s,data:u&&u[m]}),s+=d+l}}),m,i,l,d,c)}),R(function(e){return e!==null}),L()),Ln);return M(I(i,R(function(e){return e!==void 0}),z(function(e){return e.length})),r),M(I(x,z(function(e){return e.topListHeight})),h),M(h,d),M(I(x,z(function(e){return[e.top,e.bottom]})),u),M(I(x,z(function(e){return e.items})),b),W({listState:x,topItemsIndexes:y,endReached:ct(I(x,R(function(e){return e.items.length>0}),B(r,i),R(function(e){var t=e[0].items;return t[t.length-1].originalIndex===e[1]-1}),z(function(e){return[e[1]-1,e[2]]}),L(Mn),z(function(e){return e[0]}))),startReached:ct(I(x,mt(200),R(function(e){var t=e.items;return t.length>0&&t[0].originalIndex===e.topItems.length}),z(function(e){return e.items[0].index}),L())),rangeChanged:ct(I(x,R(function(e){return e.items.length>0}),z(function(e){for(var t=e.items,n=0,r=t.length-1;t[n].type===`group`&&n<r;)n++;for(;t[r].type===`group`&&r>n;)r--;return{startIndex:t[n].index,endIndex:t[r].index}}),L(Nn))),itemsRendered:b},g)},k(yn,jn,In,Dn,Sn,Tn,En,sn),{singleton:!0}),Vn=U(function(e){var t=e[0],n=t.sizes,r=t.firstItemIndex,i=t.data,a=t.gap,o=e[1].listState,s=e[2].didMount,c=P(0);return M(I(s,B(c),R(function(e){return e[1]!==0}),B(n,r,a,i),z(function(e){var t=e[0][1],n=e[1],r=e[2],i=e[3],a=e[4],o=a===void 0?[]:a,s=0;if(n.groupIndices.length>0)for(var c,l=At(n.groupIndices);
3!((c=l()).done||c.value-s>=t);)s++;var u=t+s;return zn(Array.from({length:u}).map(function(e,t){return{index:t,size:0,offset:0,data:o[t]}}),[],u,i,n,r)})),o),{initialItemCount:c}},k(yn,Bn,En),{singleton:!0}),Hn=U(function(e){var t=e[0].scrollVelocity,n=P(!1),r=N(),i=P(!1);return M(I(t,B(i,n,r),R(function(e){return!!e[1]}),z(function(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=n.enter;if(r){if((0,n.exit)(t,i))return!1}else if(a(t,i))return!0;return r}),L()),n),A(I(H(n,t,r),B(i)),function(e){var t=e[0],n=e[1];return t[0]&&n&&n.change&&n.change(t[1],t[2])}),{isSeeking:n,scrollSeekConfiguration:i,scrollVelocity:t,scrollSeekRangeChanged:r}},k(Tn),{singleton:!0}),Un=U(function(e){var t=e[0].topItemsIndexes,n=P(0);return M(I(n,R(function(e){return e>0}),z(function(e){return Array.from({length:e}).map(function(e,t){return t})})),t),{topItemCount:n}},k(Bn)),Wn=U(function(e){var t=e[0],n=t.footerHeight,r=t.headerHeight,i=t.fixedHeaderHeight,a=t.fixedFooterHeight,o=e[1].listState,s=N(),c=F(I(H(n,a,r,i,o),z(function(e){var t=e[4];return e[0]+e[1]+e[2]+e[3]+t.offsetBottom+t.bottom})),0);return M(V(c),s),{totalListHeight:c,totalListHeightChanged:s}},k(Vt,Bn),{singleton:!0});function Gn(e){var t,n=!1;return function(){return n||(n=!0,t=e()),t}}var Kn=Gn(function(){return/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)}),qn=U(function(e){var t=e[0],n=t.scrollBy,r=t.scrollTop,i=t.deviation,a=t.scrollingInProgress,o=e[1],s=o.isScrolling,c=o.isAtBottom,l=o.scrollDirection,u=e[3],d=u.beforeUnshiftWith,f=u.shiftWithOffset,p=u.sizes,m=u.gap,h=e[4].log,g=e[5].recalcInProgress,_=ct(I(e[2].listState,B(o.lastJumpDueToItemResize),ft(function(e,t){var n=e[1],r=t[0],i=r.items,a=r.totalCount,o=r.bottom+r.offsetBottom,s=0;return e[2]===a&&n.length>0&&i.length>0&&(i[0].originalIndex===0&&n[0].originalIndex===0||(s=o-e[3])!=0&&(s+=t[1])),[s,i,a,o]},[0,[],0,0]),R(function(e){return e[0]!==0}),B(r,l,a,c,h),R(function(e){return!e[3]&&e[1]!==0&&e[2]===Cn}),z(function(e){var t=e[0][0];return(0,e[5])(`Upward scrolling compensation`,{amount:t},G.DEBUG),t})));function v(e){e>0?(j(n,{top:-e,behavior:`auto`}),j(i,0)):(j(i,0),j(n,{top:-e,behavior:`auto`}))}return A(I(_,B(i,s)),function(e){var t=e[0],n=e[1];e[2]&&Kn()?j(i,n-t):v(-t)}),A(I(H(F(s,!1),i,g),R(function(e){return!e[0]&&!e[2]&&e[1]!==0}),z(function(e){return e[1]}),mt(1)),v),M(I(f,z(function(e){return{top:-e}})),n),A(I(d,B(p,m),z(function(e){var t=e[0];return t*e[1].lastSize+t*e[2]})),function(e){j(i,e),requestAnimationFrame(function(){j(n,{top:e}),requestAnimationFrame(function(){j(i,0),j(g,!1)})})}),{deviation:i}},k(Vt,Tn,Bn,yn,Pt,sn)),Jn=U(function(e){var t=e[0].totalListHeight,n=e[1].didMount,r=e[2].scrollTo,i=P(0);return A(I(n,B(i),R(function(e){return e[1]!==0}),z(function(e){return{top:e[1]}})),function(e){ot(I(t,R(function(e){return e!==0})),function(){setTimeout(function(){j(r,e)})})}),{initialScrollTop:i}},k(Wn,En,Vt),{singleton:!0}),Yn=U(function(e){var t=e[0].viewportHeight,n=e[1].totalListHeight,r=P(!1);return{alignToBottom:r,paddingTopAddition:F(I(H(r,t,n),R(function(e){return e[0]}),z(function(e){return Math.max(0,e[1]-e[2])}),L()),0)}},k(Vt,Wn),{singleton:!0}),Xn=U(function(e){var t=e[0],n=t.scrollTo,r=t.scrollContainerState,i=N(),a=N(),o=N(),s=P(!1),c=P(void 0);return M(I(H(i,a),z(function(e){var t=e[0],n=t.viewportHeight,r=t.scrollHeight;return{scrollTop:Math.max(0,t.scrollTop-e[1].offsetTop),scrollHeight:r,viewportHeight:n}})),r),M(I(n,B(a),z(function(e){var t=e[0];return W({},t,{top:t.top+e[1].offsetTop})})),o),{useWindowScroll:s,customScrollParent:c,windowScrollContainerState:i,windowViewportRect:a,windowScrollTo:o}},k(Vt)),Zn=[`done`,`behavior`,`align`],Qn=U(function(e){var t=e[0],n=t.sizes,r=t.totalCount,i=t.gap,a=e[1],o=a.scrollTop,s=a.viewportHeight,c=a.headerHeight,l=a.fixedHeaderHeight,u=a.fixedFooterHeight,d=a.scrollingInProgress,f=e[2].scrollToIndex,p=N();return M(I(p,B(n,s,r,c,l,u,o),B(i),z(function(e){var t=e[0],n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],u=e[1],f=n.done,p=n.behavior,m=n.align,h=Ot(n,Zn),g=null,_=hn(n,r,a-1),v=mn(_,r.offsetTree,u)+o+s;return v<l+s?g=W({},h,{behavior:p,align:m??`start`}):v+Kt(r.sizeTree,_)[1]>l+i-c&&(g=W({},h,{behavior:p,align:m??`end`})),g?f&&ot(I(d,pt(1),R(function(e){return!1===e})),f):f&&f(),g}),R(function(e){return e!==null})),f),{scrollIntoView:p}},k(yn,Vt,Sn,Bn,Pt),{singleton:!0}),$n=[`listState`,`topItemsIndexes`],er=U(function(e){var t=e[0],n=t.totalCount,r=t.sizeRanges,i=t.fixedItemSize,a=t.defaultItemSize,o=t.trackItemSizes,s=t.itemSize,c=t.data,l=t.firstItemIndex,u=t.groupIndices,d=t.statefulTotalCount,f=t.gap,p=e[1],m=p.initialTopM
3ostItemIndex,h=p.scrolledToInitialItem,g=e[2],_=e[3],v=e[4],y=v.listState,b=v.topItemsIndexes,x=Ot(v,$n),ee=e[5].scrollToIndex,te=e[7].topItemCount,S=e[8].groupCounts,C=e[9],w=e[10];return M(x.rangeChanged,C.scrollSeekRangeChanged),M(I(C.windowViewportRect,z(function(e){return e.visibleHeight})),g.viewportHeight),W({totalCount:n,data:c,firstItemIndex:l,sizeRanges:r,initialTopMostItemIndex:m,scrolledToInitialItem:h,topItemsIndexes:b,topItemCount:te,groupCounts:S,fixedItemHeight:i,defaultItemHeight:a,gap:f},_,{statefulTotalCount:d,listState:y,scrollToIndex:ee,trackItemSizes:o,itemSize:s,groupIndices:u},x,C,g,w)},k(yn,Dn,Vt,kn,Bn,Sn,qn,Un,jn,U(function(e){return W({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},k(In,Vn,En,Hn,Wn,Jn,Yn,Xn,Qn)),Pt)),tr=Gn(function(){if(typeof document>`u`)return`sticky`;var e=document.createElement(`div`);return e.style.position=`-webkit-sticky`,e.style.position===`-webkit-sticky`?`-webkit-sticky`:`sticky`});function nr(e,t){var n=(0,D.useRef)(null),r=(0,D.useCallback)(function(r){if(r!==null&&r.offsetParent){var i,a,o=r.getBoundingClientRect(),s=o.width;if(t){var c=t.getBoundingClientRect(),l=o.top-c.top;i=c.height-Math.max(0,l),a=l+t.scrollTop}else i=window.innerHeight-Math.max(0,o.top),a=o.top+window.pageYOffset;n.current={offsetTop:a,visibleHeight:i,visibleWidth:s},e(n.current)}},[e,t]),i=Ft(r),a=i.callbackRef,o=i.ref,s=(0,D.useCallback)(function(){r(o.current)},[r,o]);return(0,D.useEffect)(function(){if(t){t.addEventListener(`scroll`,s);var e=new ResizeObserver(s);return e.observe(t),function(){t.removeEventListener(`scroll`,s),e.unobserve(t)}}return window.addEventListener(`scroll`,s),window.addEventListener(`resize`,s),function(){window.removeEventListener(`scroll`,s),window.removeEventListener(`resize`,s)}},[s,t]),a}var rr=D.createContext(void 0),ir=D.createContext(void 0),ar=[`placeholder`],or=[`style`,`children`],sr=[`style`,`children`];function cr(e){return e}var lr=U(function(){var e=P(function(e){return`Item `+e}),t=P(null),n=P(function(e){return`Group `+e}),r=P({}),i=P(cr),a=P(`div`),o=P(rt),s=function(e,t){return t===void 0&&(t=null),F(I(r,z(function(t){return t[e]}),L()),t)};return{context:t,itemContent:e,groupContent:n,components:r,computeItemKey:i,headerFooterTag:a,scrollerRef:o,FooterComponent:s(`Footer`),HeaderComponent:s(`Header`),TopItemListComponent:s(`TopItemList`),ListComponent:s(`List`,`div`),ItemComponent:s(`Item`,`div`),GroupComponent:s(`Group`,`div`),ScrollerComponent:s(`Scroller`,`div`),EmptyPlaceholder:s(`EmptyPlaceholder`),ScrollSeekPlaceholder:s(`ScrollSeekPlaceholder`)}});function ur(e,t){var n=N();return A(n,function(){return console.warn(`react-virtuoso: You are using a deprecated property. `+t,`color: red;`,`color: inherit;`,`color: blue;`)}),M(n,e),n}var dr=U(function(e){var t=e[0],n=e[1],r={item:ur(n.itemContent,`Rename the %citem%c prop to %citemContent.`),group:ur(n.groupContent,`Rename the %cgroup%c prop to %cgroupContent.`),topItems:ur(t.topItemCount,`Rename the %ctopItems%c prop to %ctopItemCount.`),itemHeight:ur(t.fixedItemHeight,`Rename the %citemHeight%c prop to %cfixedItemHeight.`),scrollingStateChange:ur(t.isScrolling,`Rename the %cscrollingStateChange%c prop to %cisScrolling.`),adjustForPrependedItems:N(),maxHeightCacheSize:N(),footer:N(),header:N(),HeaderContainer:N(),FooterContainer:N(),ItemContainer:N(),ScrollContainer:N(),GroupContainer:N(),ListContainer:N(),emptyComponent:N(),scrollSeek:N()};function i(e,t,r){M(I(e,B(n.components),z(function(e){var n,i=e[0],a=e[1];return console.warn(`react-virtuoso: `+r+` property is deprecated. Pass components.`+t+` instead.`),W({},a,((n={})[t]=i,n))})),n.components)}return A(r.adjustForPrependedItems,function(){console.warn(`react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.`,`color: red;`,`color: inherit;`,`color: blue;`)}),A(r.maxHeightCacheSize,function(){console.warn(`react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.`)}),A(r.HeaderContainer,function(){console.warn(`react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.`)}),A(r.FooterContainer,function(){console.warn(`react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.`)}),A(r.scrollSeek,function(e){var r=e.placeholder,i=Ot(e,ar);console.warn(`react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead.`),j(n.components,W({},at(n.components),{ScrollSeekPlaceholder:r})),j(t.scrollSeekConfiguration,i)}),i(r.footer,`Footer`,`footer`),i(r.header,`Header`,`header`),i(r.ItemContainer,`Item`,`ItemContainer`),i(r.ListContainer,`List`,`ListContainer`),i(r.ScrollC
3ontainer,`Scroller`,`ScrollContainer`),i(r.emptyComponent,`EmptyPlaceholder`,`emptyComponent`),i(r.GroupContainer,`Group`,`GroupContainer`),W({},t,n,r)},k(er,lr)),fr=function(e){return D.createElement(`div`,{style:{height:e.height}})},pr={position:tr(),zIndex:1,overflowAnchor:`none`},mr={overflowAnchor:`none`},hr=D.memo(function(e){var t=e.showTopList,n=t!==void 0&&t,r=Y(`listState`),i=Or(`sizeRanges`),a=Y(`useWindowScroll`),o=Y(`customScrollParent`),s=Or(`windowScrollContainerState`),c=Or(`scrollContainerState`),l=o||a?s:c,u=Y(`itemContent`),d=Y(`context`),f=Y(`groupContent`),p=Y(`trackItemSizes`),m=Y(`itemSize`),h=Y(`log`),g=Or(`gap`),_=Lt(i,m,p,n?rt:l,h,g,o).callbackRef,v=D.useState(0),y=v[0],b=v[1];kr(`deviation`,function(e){y!==e&&b(e)});var x=Y(`EmptyPlaceholder`),ee=Y(`ScrollSeekPlaceholder`)||fr,te=Y(`ListComponent`),S=Y(`ItemComponent`),C=Y(`GroupComponent`),w=Y(`computeItemKey`),ne=Y(`isSeeking`),T=Y(`groupIndices`).length>0,re=Y(`paddingTopAddition`),ie=n?{}:{boxSizing:`border-box`,paddingTop:r.offsetTop+re,paddingBottom:r.offsetBottom,marginTop:y};return!n&&r.totalCount===0&&x?(0,D.createElement)(x,J(x,d)):(0,D.createElement)(te,W({},J(te,d),{ref:_,style:ie,"data-test-id":n?`virtuoso-top-item-list`:`virtuoso-item-list`}),(n?r.topItems:r.items).map(function(e){var t=e.originalIndex,n=w(t+r.firstItemIndex,e.data,d);return ne?(0,D.createElement)(ee,W({},J(ee,d),{key:n,index:e.index,height:e.size,type:e.type||`item`},e.type===`group`?{}:{groupIndex:e.groupIndex})):e.type===`group`?(0,D.createElement)(C,W({},J(C,d),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:pr}),f(e.index)):(0,D.createElement)(S,W({},J(S,d),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:mr}),T?u(e.index,e.groupIndex,e.data,d):u(e.index,e.data,d))}))}),gr={height:`100%`,outline:`none`,overflowY:`auto`,position:`relative`,WebkitOverflowScrolling:`touch`},_r={width:`100%`,height:`100%`,position:`absolute`,top:0},vr={width:`100%`,position:tr(),top:0};function J(e,t){if(typeof e!=`string`)return{context:t}}var yr=D.memo(function(){var e=Y(`HeaderComponent`),t=Or(`headerHeight`),n=Y(`headerFooterTag`),r=It(function(e){return t(Rt(e,`height`))}),i=Y(`context`);return e?(0,D.createElement)(n,{ref:r},(0,D.createElement)(e,J(e,i))):null}),br=D.memo(function(){var e=Y(`FooterComponent`),t=Or(`footerHeight`),n=Y(`headerFooterTag`),r=It(function(e){return t(Rt(e,`height`))}),i=Y(`context`);return e?(0,D.createElement)(n,{ref:r},(0,D.createElement)(e,J(e,i))):null});function xr(e){var t=e.usePublisher,n=e.useEmitter,r=e.useEmitterValue;return D.memo(function(e){var i=e.style,a=e.children,o=Ot(e,or),s=t(`scrollC
3ontainerState`),c=r(`ScrollerComponent`),l=t(`smoothScrollTargetReached`),u=r(`scrollerRef`),d=r(`context`),f=Bt(s,l,c,u),p=f.scrollerRef,m=f.scrollByCallback;return n(`scrollTo`,f.scrollToCallback),n(`scrollBy`,m),(0,D.createElement)(c,W({ref:p,style:W({},gr,i),"data-test-id":`virtuoso-scroller`,"data-virtuoso-scroller":!0,tabIndex:0},o,J(c,d)),a)})}function Sr(e){var t=e.usePublisher,n=e.useEmitter,r=e.useEmitterValue;return D.memo(function(e){var i=e.style,a=e.children,o=Ot(e,sr),s=t(`windowScrollContainerState`),c=r(`ScrollerComponent`),l=t(`smoothScrollTargetReached`),u=r(`totalListHeight`),d=r(`deviation`),f=r(`customScrollParent`),p=r(`context`),m=Bt(s,l,c,rt,f),h=m.scrollerRef,g=m.scrollByCallback,_=m.scrollToCallback;return Mt(function(){return h.current=f||window,function(){h.current=null}},[h,f]),n(`windowScrollTo`,_),n(`scrollBy`,g),(0,D.createElement)(c,W({style:W({position:`relative`},i,u===0?{}:{height:u+d}),"data-virtuoso-scroller":!0},o,J(c,p)),a)})}var Cr=function(e){var t=e.children,n=(0,D.useContext)(rr),r=Or(`viewportHeight`),i=Or(`fixedItemHeight`),a=It(Ye(r,function(e){return Rt(e,`height`)}));return D.useEffect(function(){n&&(r(n.viewportHeight),i(n.itemHeight))},[n,r,i]),D.createElement(`div`,{style:_r,ref:a,"data-viewport-type":`element`},t)},wr=function(e){var t=e.children,n=(0,D.useContext)(rr),r=Or(`windowViewportRect`),i=Or(`fixedItemHeight`),a=nr(r,Y(`customScrollParent`));return D.useEffect(function(){n&&(i(n.itemHeight),r({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:100}))},[n,r,i]),D.createElement(`div`,{ref:a,style:_r,"data-viewport-type":`window`},t)},Tr=function(e){var t=e.children,n=Y(`TopItemListComponent`),r=Y(`headerHeight`),i=W({},vr,{marginTop:r+`px`}),a=Y(`context`);return(0,D.createElement)(n||`div`,{style:i,context:a},t)},Er=Et(dr,{required:{},optional:{context:`context`,followOutput:`followOutput`,firstItemIndex:`firstItemIndex`,itemContent:`itemContent`,groupContent:`groupContent`,overscan:`overscan`,increaseViewportBy:`increaseViewportBy`,totalCount:`totalCount`,topItemCount:`topItemCount`,initialTopMostItemIndex:`initialTopMostItemIndex`,components:`components`,groupCounts:`groupCounts`,atBottomThreshold:`atBottomThreshold`,atTopThreshold:`atTopThreshold`,computeItemKey:`computeItemKey`,defaultItemHeight:`defaultItemHeight`,fixedItemHeight:`fixedItemHeight`,itemSize:`itemSize`,scrollSeekConfiguration:`scrollSeekConfiguration`,headerFooterTag:`headerFooterTag`,data:`data`,initialItemCount:`initialItemCount`,initialScrollTop:`initialScrollTop`,alignToBottom:`alignToBottom`,useWindowScroll:`useWindowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,logLevel:`logLevel`,react18ConcurrentRendering:`react18ConcurrentRendering`,item:`item`,group:`group`,topItems:`topItems`,itemHeight:`itemHeight`,scrollingStateChange:`scrollingStateChange`,maxHeightCacheSize:`maxHeightCacheSize`,footer:`footer`,header:`header`,ItemContainer:`ItemContainer`,ScrollContainer:`ScrollContainer`,ListContainer:`ListContainer`,GroupContainer:`GroupContainer`,emptyComponent:`emptyComponent`,HeaderContainer:`HeaderContainer`,FooterContainer:`FooterContainer`,scrollSeek:`scrollSeek`},methods:{scrollToIndex:`scrollToIndex`,scrollIntoView:`scrollIntoView`,scrollTo:`scrollTo`,scrollBy:`scrollBy`,adjustForPrependedItems:`adjustForPrependedItems`,autoscrollToBottom:`autoscrollToBottom`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`,totalListHeightChanged:`totalListHeightChanged`,itemsRendered:`itemsRendered`,groupIndices:`groupIndices`}},D.memo(function(e){var t=Y(`useWindowScroll`),n=Y(`topItemsIndexes`).length>0,r=Y(`customScrollParent`),i=r||t?wr:Cr;return D.createElement(r||t?jr:Ar,W({},e),D.createElement(i,null,D.createElement(yr,null),D.createElement(hr,null),D.createElement(br,null)),n&&D.createElement(Tr,null,D.createElement(hr,{showTopList:!0})))})),Dr=Er.Component,Or=Er.usePublisher,Y=Er.useEmitterValue,kr=Er.useEmitter,Ar=xr({usePublisher:Or,useEmitterValue:Y,useEmitter:kr}),jr=Sr({usePublisher:Or,useEmitterValue:Y,useEmitter:kr}),Mr={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},Nr={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},Pr=Math.round,Fr=Math.ceil,Ir=Math.floor,Lr=Math.min,Rr=Math.max;function zr(e,t,n){return Array.from({length:t-e+1}).map(function(t,r){return{index:r+e,data:n?.[r+e]}})}function Br(e,t){return e&&e.column===t.column&&e.row===t.row}var Vr=U(function(e){var t=e[0],n=t.overscan,r=t.visibleRange,i=t.listBoundary,a=e[1],o=a.scrollTop,s=a.viewportHe
3ight,c=a.scrollBy,l=a.scrollTo,u=a.smoothScrollTargetReached,d=a.scrollContainerState,f=a.footerHeight,p=a.headerHeight,m=e[2],h=e[3],g=e[4],_=g.propsReady,v=g.didMount,y=e[5],b=y.windowViewportRect,x=y.windowScrollTo,ee=y.useWindowScroll,te=y.customScrollParent,S=y.windowScrollContainerState,C=e[6],w=P(0),ne=P(0),T=P(Mr),re=P({height:0,width:0}),ie=P({height:0,width:0}),ae=N(),oe=N(),se=P(0),ce=P(void 0),le=P({row:0,column:0});M(I(H(v,ne,ce),R(function(e){return e[1]!==0}),z(function(e){return{items:zr(0,e[1]-1,e[2]),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),T),M(I(H(V(w),r,V(le,Br),V(ie,function(e,t){return e&&e.width===t.width&&e.height===t.height}),ce),B(re),z(function(e){var t=e[0],n=t[0],r=t[1],i=r[0],a=r[1],o=t[2],s=t[3],c=t[4],l=e[1],u=o.row,d=o.column,f=s.height,p=s.width,m=l.width;if(n===0||m===0)return Mr;if(p===0)return function(e){return W({},Nr,{items:e})}(zr(0,0,c));var h=Wr(m,p,d),g=h*Ir((i+u)/(f+u)),_=h*Fr((a+u)/(f+u))-1;_=Lr(n-1,Rr(_,h-1));var v=zr(g=Lr(_,Rr(0,g)),_,c),y=Hr(l,o,s,v),b=y.top,x=y.bottom,ee=Fr(n/h);return{items:v,offsetTop:b,offsetBottom:ee*f+(ee-1)*u-x,top:b,bottom:x,itemHeight:f,itemWidth:p}})),T),M(I(ce,R(function(e){return e!==void 0}),z(function(e){return e.length})),w),M(I(re,z(function(e){return e.height})),s),M(I(H(re,ie,T,le),z(function(e){var t=Hr(e[0],e[3],e[1],e[2].items);return[t.top,t.bottom]}),L(Mn)),i);var ue=ct(I(V(T),R(function(e){return e.items.length>0}),B(w),R(function(e){var t=e[0].items;return t[t.length-1].index===e[1]-1}),z(function(e){return e[1]-1}),L())),de=ct(I(V(T),R(function(e){var t=e.items;return t.length>0&&t[0].index===0}),dt(0),L())),fe=ct(I(V(T),R(function(e){return e.items.length>0}),z(function(e){var t=e.items;return{startIndex:t[0].index,endIndex:t[t.length-1].index}}),L(Nn)));M(fe,h.scrollSeekRangeChanged),M(I(ae,B(re,ie,w,le),z(function(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=xn(e[0]),o=a.align,s=a.behavior,c=a.offset,l=a.index;l===`LAST`&&(l=r-1);var u=Ur(t,i,n,l=Rr(0,l,Lr(r-1,l)));return o===`end`?u=Pr(u-t.height+n.height):o===`center`&&(u=Pr(u-t.height/2+n.height/2)),c&&(u+=c),{top:u,behavior:s}})),l);var pe=F(I(T,z(function(e){return e.offsetBottom+e.bottom})),0);return M(I(b,z(function(e){return{width:e.visibleWidth,height:e.visibleHeight}})),re),W({data:ce,totalCount:w,viewportDimensions:re,itemDimensions:ie,scrollTop:o,scrollHeight:oe,overscan:n,scrollBy:c,scrollTo:l,scrollToIndex:ae,smoothScrollTargetReached:u,windowViewportRect:b,windowScrollTo:x,useWindowScroll:ee,customScrollParent:te,windowScrollContainerState:S,deviation:se,scrollContainerState:d,footerHeight:f,headerHeight:p,initialItemCount:ne,gap:le},h,{gridState:T,totalListHeight:pe},m,{startReached:de,endReached:ue,rangeChanged:fe,propsReady:_},C)},k(In,Vt,Tn,Hn,En,Xn,Pt));function Hr(e,t,n,r){var i=n.height;return i===void 0||r.length===0?{top:0,bottom:0}:{top:Ur(e,t,n,r[0].index),bottom:Ur(e,t,n,r[r.length-1].index)+i}}function Ur(e,t,n,r){var i=Ir(r/Wr(e.width,n.width,t.column)),a=i*n.height+Rr(0,i-1)*t.row;return a>0?a+t.row:a}function Wr(e,t,n){return Rr(1,Ir((e+n)/(t+n)))}var Gr=[`placeholder`],Kr=U(function(e){var t=e[0],n=e[1],r={item:ur(n.itemContent,`Rename the %citem%c prop to %citemContent.`),ItemContainer:N(),ScrollContainer:N(),ListContainer:N(),emptyComponent:N(),scrollSeek:N()};function i(e,t,r){M(I(e,B(n.components),z(function(e){var n,i=e[0],a=e[1];return console.warn(`react-virtuoso: `+r+` property is deprecated. Pass components.`+t+` instead.`),W({},a,((n={})[t]=i,n))})),n.components)}return A(r.scrollSeek,function(e){var r=e.placeholder,i=Ot(e,Gr);console.warn(`react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead.`),j(n.components,W({},at(n.components),{ScrollSeekPlaceholder:r})),j(t.scrollSeekConfiguration,i)}),i(r.ItemContainer,`Item`,`ItemContainer`),i(r.ListContainer,`List`,`ListContainer`),i(r.ScrollContainer,`Scroller`,`ScrollContainer`),W({},t,n,r)},k(Vr,U(function(){var e=P(function(e){return`Item `+e}),t=P({}),n=P(null),r=P(`virtuoso-grid-item`),i=P(`virtuoso-grid-list`),a=P(cr),o=P(`div`),s=P(rt),c=function(e,n){return n===void 0&&(n=null),F(I(t,z(function(t){return t[e]}),L()),n)};return{context:n,itemContent:e,components:t,computeItemKey:a,itemClassName:r,listClassName:i,headerFooterTag:o,scrollerRef:s,FooterComponent:c(`Footer`),HeaderComponent:c(`Header`),ListComponent:c(`List`,`div`),Item
3Component:c(`Item`,`div`),ScrollerComponent:c(`Scroller`,`div`),ScrollSeekPlaceholder:c(`ScrollSeekPlaceholder`,`div`)}}))),qr=D.memo(function(){var e=X(`gridState`),t=X(`listClassName`),n=X(`itemClassName`),r=X(`itemContent`),i=X(`computeItemKey`),a=X(`isSeeking`),o=$r(`scrollHeight`),s=X(`ItemComponent`),c=X(`ListComponent`),l=X(`ScrollSeekPlaceholder`),u=X(`context`),d=$r(`itemDimensions`),f=$r(`gap`),p=X(`log`),m=It(function(e){o(e.parentElement.parentElement.scrollHeight);var t=e.firstChild;t&&d(t.getBoundingClientRect()),f({row:ri(`row-gap`,getComputedStyle(e).rowGap,p),column:ri(`column-gap`,getComputedStyle(e).columnGap,p)})});return(0,D.createElement)(c,W({ref:m,className:t},J(c,u),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map(function(t){var o=i(t.index,t.data,u);return a?(0,D.createElement)(l,W({key:o},J(l,u),{index:t.index,height:e.itemHeight,width:e.itemWidth})):(0,D.createElement)(s,W({},J(s,u),{className:n,"data-index":t.index,key:o}),r(t.index,t.data,u))}))}),Jr=D.memo(function(){var e=X(`HeaderComponent`),t=$r(`headerHeight`),n=X(`headerFooterTag`),r=It(function(e){return t(Rt(e,`height`))}),i=X(`context`);return e?(0,D.createElement)(n,{ref:r},(0,D.createElement)(e,J(e,i))):null}),Yr=D.memo(function(){var e=X(`FooterComponent`),t=$r(`footerHeight`),n=X(`headerFooterTag`),r=It(function(e){return t(Rt(e,`height`))}),i=X(`context`);return e?(0,D.createElement)(n,{ref:r},(0,D.createElement)(e,J(e,i))):null}),Xr=function(e){var t=e.children,n=(0,D.useContext)(ir),r=$r(`itemDimensions`),i=$r(`viewportDimensions`),a=It(function(e){i(e.getBoundingClientRect())});return D.useEffect(function(){n&&(i({height:n.viewportHeight,width:n.viewportWidth}),r({height:n.itemHeight,width:n.itemWidth}))},[n,i,r]),D.createElement(`div`,{style:_r,ref:a},t)},Zr=function(e){var t=e.children,n=(0,D.useContext)(ir),r=$r(`windowViewportRect`),i=$r(`itemDimensions`),a=nr(r,X(`customScrollParent`));return D.useEffect(function(){n&&(i({height:n.itemHeight,width:n.itemWidth}),r({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:n.viewportWidth}))},[n,r,i]),D.createElement(`div`,{ref:a,style:_r},t)},Qr=Et(Kr,{optional:{context:`context`,totalCount:`totalCount`,overscan:`overscan`,itemContent:`itemContent`,components:`components`,computeItemKey:`computeItemKey`,data:`data`,initialItemCount:`initialItemCount`,scrollSeekConfiguration:`scrollSeekConfiguration`,headerFooterTag:`headerFooterTag`,listClassName:`listClassName`,itemClassName:`itemClassName`,useWindowScroll:`useWindowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,item:`item`,ItemContainer:`ItemContainer`,ScrollContainer:`ScrollContainer`,ListContainer:`ListContainer`,scrollSeek:`scrollSeek`},methods:{scrollTo:`scrollTo`,scrollBy:`scrollBy`,scrollToIndex:`scrollToIndex`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`}},D.memo(function(e){var t=W({},e),n=X(`useWindowScroll`),r=X(`customScrollParent`),i=r||n?Zr:Xr;return D.createElement(r||n?ni:ti,W({},t),D.createElement(i,null,D.createElement(Jr,null),D.createElement(qr,null),D.createElement(Yr,null)))}));Qr.Component;var $r=Qr.usePublisher,X=Qr.useEmitterValue,ei=Qr.useEmitter,ti=xr({usePublisher:$r,useEmitterValue:X,useEmitter:ei}),ni=Sr({usePublisher:$r,useEmitterValue:X,useEmitter:ei});function ri(e,t,n){return t===`normal`||t!=null&&t.endsWith(`px`)||n(e+` was not resolved to pixel value correctly`,t,G.WARN),t===`normal`?0:parseInt(t??`0`,10)}var ii=U(function(e){return W({},e[0],e[1])},k(er,U(function(){var e=P(function(e){return D.createElement(`td`,null,`Item $`,e)}),t=P(null),n=P(null),r=P(null),i=P({}),a=P(cr),o=P(rt),s=function(e,t){return t===void 0&&(t=null),F(I(i,z(function(t){return t[e]}),L()),t)};return{context:t,itemContent:e,fixedHeaderContent:n,fixedFooterContent:r,components:i,computeItemKey:a,scrollerRef:o,TableComponent:s(`Table`,`table`),TableHeadComponent:s(`TableHead`,`thead`),TableFooterComponent:s(`TableFoot`,`tfoot`),TableBodyComponent:s(`TableBody`,`tbody`),TableRowComponent:s(`TableRow`,`tr`),ScrollerComponent:s(`Scroller`,`div`),EmptyPlaceholder:s(`EmptyPlaceholder`),ScrollSeekPlaceholder:s(`ScrollSeekPlaceholder`),FillerRow:s(`FillerRow`)}}))),ai=function(e){return D.createElement(`tr`,null,D.createElement(`td`,{style:{height:e.height}}))},oi=function(e){return D.createElement(`tr`,null,D.createElement(`td`,{style:{height:e.height,padding:0,border:0}}))},si=D.memo(function(){var e=Z(`listState`),t=fi(`sizeRanges`),n=Z(`useWindowScroll`),r=Z(`customScrollParent`),i=fi(`windowScrollContainerState`),a=fi(`scrollC
3ontainerState`),o=r||n?i:a,s=Z(`itemContent`),c=Z(`trackItemSizes`),l=Lt(t,Z(`itemSize`),c,o,Z(`log`),void 0,r),u=l.callbackRef,d=l.ref,f=D.useState(0),p=f[0],m=f[1];pi(`deviation`,function(e){p!==e&&(d.current.style.marginTop=e+`px`,m(e))});var h=Z(`EmptyPlaceholder`),g=Z(`ScrollSeekPlaceholder`)||ai,_=Z(`FillerRow`)||oi,v=Z(`TableBodyComponent`),y=Z(`TableRowComponent`),b=Z(`computeItemKey`),x=Z(`isSeeking`),ee=Z(`paddingTopAddition`),te=Z(`firstItemIndex`),S=Z(`statefulTotalCount`),C=Z(`context`);if(S===0&&h)return(0,D.createElement)(h,J(h,C));var w=e.offsetTop+ee+p,ne=e.offsetBottom,T=w>0?D.createElement(_,{height:w,key:`padding-top`}):null,re=ne>0?D.createElement(_,{height:ne,key:`padding-bottom`}):null,ie=e.items.map(function(e){var t=e.originalIndex,n=b(t+te,e.data,C);return x?(0,D.createElement)(g,W({},J(g,C),{key:n,index:e.index,height:e.size,type:e.type||`item`})):(0,D.createElement)(y,W({},J(y,C),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:`none`}}),s(e.index,e.data,C))});return(0,D.createElement)(v,W({ref:u,"data-test-id":`virtuoso-item-list`},J(v,C)),[T].concat(ie,[re]))}),ci=function(e){var t=e.children,n=(0,D.useContext)(rr),r=fi(`viewportHeight`),i=fi(`fixedItemHeight`),a=It(Ye(r,function(e){return Rt(e,`height`)}));return D.useEffect(function(){n&&(r(n.viewportHeight),i(n.itemHeight))},[n,r,i]),D.createElement(`div`,{style:_r,ref:a,"data-viewport-type":`element`},t)},li=function(e){var t=e.children,n=(0,D.useContext)(rr),r=fi(`windowViewportRect`),i=fi(`fixedItemHeight`),a=nr(r,Z(`customScrollParent`));return D.useEffect(function(){n&&(i(n.itemHeight),r({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:100}))},[n,r,i]),D.createElement(`div`,{ref:a,style:_r,"data-viewport-type":`window`},t)},ui=Et(ii,{required:{},optional:{context:`context`,followOutput:`followOutput`,firstItemIndex:`firstItemIndex`,itemContent:`itemContent`,fixedHeaderContent:`fixedHeaderContent`,fixedFooterContent:`fixedFooterContent`,overscan:`overscan`,increaseViewportBy:`increaseViewportBy`,totalCount:`totalCount`,topItemCount:`topItemCount`,initialTopMostItemIndex:`initialTopMostItemIndex`,components:`components`,groupCounts:`groupCounts`,atBottomThreshold:`atBottomThreshold`,atTopThreshold:`atTopThreshold`,computeItemKey:`computeItemKey`,defaultItemHeight:`defaultItemHeight`,fixedItemHeight:`fixedItemHeight`,itemSize:`itemSize`,scrollSeekConfiguration:`scrollSeekConfiguration`,data:`data`,initialItemCount:`initialItemCount`,initialScrollTop:`initialScrollTop`,alignToBottom:`alignToBottom`,useWindowScroll:`useWindowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,logLevel:`logLevel`,react18ConcurrentRendering:`react18ConcurrentRendering`},methods:{scrollToIndex:`scrollToIndex`,scrollIntoView:`scrollIntoView`,scrollTo:`scrollTo`,scrollBy:`scrollBy`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`,totalListHeightChanged:`totalListHeightChanged`,itemsRendered:`itemsRendered`,groupIndices:`groupIndices`}},D.memo(function(e){var t=Z(`useWindowScroll`),n=Z(`customScrollParent`),r=fi(`fixedHeaderHeight`),i=fi(`fixedFooterHeight`),a=Z(`fixedHeaderContent`),o=Z(`fixedFooterContent`),s=Z(`context`),c=It(Ye(r,function(e){return Rt(e,`height`)})),l=It(Ye(i,function(e){return Rt(e,`height`)})),u=n||t?hi:mi,d=n||t?li:ci,f=Z(`TableComponent`),p=Z(`TableHeadComponent`),m=Z(`TableFooterComponent`),h=a?D.createElement(p,W({key:`TableHead`,style:{zIndex:1,position:`sticky`,top:0},ref:c},J(p,s)),a()):null,g=o?D.createElement(m,W({key:`TableFoot`,style:{zIndex:1,position:`sticky`,bottom:0},ref:l},J(m,s)),o()):null;return D.createElement(u,W({},e),D.createElement(d,null,D.createElement(f,W({style:{borderSpacing:0}},J(f,s)),[h,D.createElement(si,{key:`TableBody`}),g])))})),di=ui.Component,fi=ui.usePublisher,Z=ui.useEmitterValue,pi=ui.useEmitter,mi=xr({usePublisher:fi,useEmitterValue:Z,useEmitter:pi}),hi=Sr({usePublisher:fi,useEmitterValue:Z,useEmitter:pi}),gi=Dr,_i=di,Q={adminTable:`_adminTable_1m5tt_6`,adminTableRow:`_adminTableRow_1m5tt_11`,hoverable:`_hoverable_1m5tt_19`,adminTableHead:`_adminTableHead_1m5tt_24`,adminTableBody:`_adminTableBody_1m5tt_31`,adminTableRowHighlight:`_adminTableRowHighlight_1m5tt_40`,adminTableHeadBase:`_adminTableHeadBase_1m5tt_50`},vi=(e,t)=>{let{loading:n,dataLength:r,loadingDef:i,data:a}=t,o=D.useMemo(()=>Array(r).fill(null),[r]);return{...le({...e,getSortedRowModel:n?void 0:e.getSortedRowModel,columns:n?_e(e.columns,i):e.columns,data:n?o:a}),loading:n,dataLength:r}},yi=({columns:e,data:t,onRowClick:n,highlightOnHover:r=!0,initialState:i,loading:a,dataLength:o,loadingDef:s,classNames:c,options:l,tableRef:u})=>{let d=a===!0?{loading:a,dataLength:o,loadingDef:s}:{data:t},f=vi({columns:e,getCoreRowModel:se(),getSortedRowModel:ce(),initialState:i,...l},d);return(0,O.jsx)(bi,{table:f,onRowClick:a?void 0:n,highlightOnHover:r,classNames:c,tableRef:u})},bi=({table:e,onRowClick:t,highlightOnHover:n=!0,classNames:r,tableRef:i})=>(0,O.jsxs)(`div`,{ref:i,className:(0,E.default)(Q.adminTable,r?.table),role:`table`,children:[(0,O.jsx)(`div`,{className:(0,E.default)(Q.adminTableHeadBase,r?.head),children:(0,O.jsx)(`div`,{className:(0,E.default)(Q.adminTableHead),role:`rowgroup`,children:e.getHeaderGroups().map(e=>(0,O.jsx)(`div`,{className:(0,E.default)(Q.adminTableRow,r?.row),role:`row`,children:e.headers.map(e=>ue(e.column.columnDef.header,{...e.getContext(),key:e.id}))},e.id))})}),(0,O.jsx)(`div`,{className:(0,E.default)(Q.adminTableBody,r?.body),role:`rowgroup`,children:e.getRowModel().rows.map(e=>(0,O.jsx)(`div`,{onClick:n=>t?.(fe(e),n),className:(0,E.default)(Q.adminTableRow,n&&Q.adminTableRowHighlight,t&&Q.hoverable,r?.row),role:`row`,children:e.getVisibleCells().map(e=>ue(e.column.columnDef.cell,{...e.getContext(),key:e.id}))},e.id))})]}),xi=e=>{let{row:t}=e;return(0,O.jsx)(O.Fragment,{children:t.getVisibleCells().map(e=>ue(e.column.columnDef.cell,{...e.getContext(),key:e.id}))})},Si={Item:({context:e,...t})=>{let n=t[`data-index`],r=e?.rowData[n]?.id,i=e?.rowData[n];return(0,O.jsx)(`div`,{onClick:t=>i&&e?.onRowClick?.(fe(i),t),className:(0,E.default)(Q.adminTableRow,e?.highlightOnHover&&Q.adminTableRowHighlight,e?.onRowClick&&Q.hoverable),role:`row`,...t},r)},List:re((e,t)=>(0,O.jsx)(`div`,{...e,ref:t,className:Q.adminTableBody,role:`rowgroup`}))},Ci=({table:e,onRowClick:t,highlightOnHover:n=!0,tableRef:r})=>{let{layoutContainerRef:i}=(0,D.useContext)(de),a=e.getRowModel().rows,[,o]=D.useState(0);return(0,O.jsxs)(`div`,{ref:r,className:Q.adminTable,role:`table`,children:[(0,O.jsx)(`div`,{className:Q.adminTableHead,role:`rowgroup`,children:e.getHeaderGroups().map(e=>(0,O.jsx)(`div`,{className:Q.adminTableRow,role:`row`,children:e.headers.map(e=>ue(e.column.columnDef.header,{...e.getContext(),key:e.id}))},e.id))}),(0,O.jsx)(gi,{customScrollParent:i?.current??void 0,useWindowScroll:i?.current===void 0,context:{onRowClick:t,highlightOnHover:n,rowData:a}
3,data:a,itemContent:(e,t,n)=>(0,O.jsx)(xi,{row:t,context:n}),components:Si,totalListHeightChanged:o,increaseViewportBy:1600})]})},wi=({columns:e,data:t,onRowClick:n,highlightOnHover:r=!0,tableRef:i})=>{let a=le({data:t,columns:e,getCoreRowModel:se(),getSortedRowModel:ce()});return(0,O.jsx)(Ci,{table:a,onRowClick:n,highlightOnHover:r,tableRef:i})},$={container:`_container_12her_3`,description:`_description_12her_7`,exceptionTitle:`_exceptionTitle_12her_11`,tableEmptyState:`_tableEmptyState_12her_15`,cell:`_cell_12her_23`,statusCodeCell:`_statusCodeCell_12her_28`,buttonCell:`_buttonCell_12her_32`,quickAddCell:`_quickAddCell_12her_39`,kebabMenu:`_kebabMenu_12her_43`,form:`_form_12her_47`,textarea:`_textarea_12her_53`,addButton:`_addButton_12her_59`,quickAddTitle:`_quickAddTitle_12her_67`,clearAllButton:`_clearAllButton_12her_71`},Ti=e=>{let[t,n]=(0,D.useState)(d()),[s,m]=(0,D.useState)(c()),h=e=>{u(e),m(c())},g=e=>{f(e),m(c())},te=(e,t)=>{h({name:e.name,errorStatusCode:500,...t===`withParams`&&{...e}})};return(0,O.jsxs)(ve,{size:`xLarge`,title:`Mock Request Errors`,analyticsEvent:`admin/mock/mock-request-error`,onRequestClose:e.onRequestClose,showCloseIcon:!0,noPadding:!0,classNames:{container:$.container},children:[(0,O.jsx)(ie,{tag:`div`,size:`title-minor`,children:`Current exceptions`}),(0,O.jsx)(T,{size:`label`,color:`text-secondary`,className:$.description,children:`If additional params are specified, the request will only fail when the params match.`}),(0,O.jsx)(yi,{columns:[{id:`name`,header:e=>(0,O.jsx)(me,{...pe(e),classNames:{cell:$.cell},children:`Request Name`}),accessorKey:`name`,cell:e=>(0,O.jsx)(he,{mainContent:e.getValue(),classNames:{cell:$.cell}})},{id:`queryParams`,header:()=>(0,O.jsx)(me,{classNames:{cell:$.cell},children:`Query Params`}),accessorKey:`queryParams`,cell:e=>(0,O.jsx)(he,{subLabel:e.getValue(),classNames:{cell:$.cell}})},{id:`jsonBody`,header:()=>(0,O.jsx)(me,{classNames:{cell:$.cell},children:`JSON Body`}),accessorKey:`jsonBody`,cell:e=>(0,O.jsx)(he,{subLabel:e.getValue(),classNames:{cell:$.cell}})},{id:`pathPieces`,header:()=>(0,O.jsx)(me,{classNames:{cell:$.cell},children:`Path Pieces`}),accessorKey:`pathPieces`,cell:e=>(0,O.jsx)(he,{subLabel:e.getValue(),classNames:{cell:$.cell}})},{id:`errorStatusCode`,header:()=>(0,O.jsx)(me,{classNames:{cell:$.statusCodeCell},children:`Status`}),accessorKey:`errorStatusCode`,cell:e=>(0,O.jsx)(he,{mainContent:e.getValue(),classNames:{cell:$.statusCodeCell}})},{id:`remove`,header:()=>null,accessorKey:`name`,cell:e=>(0,O.jsx)(ge,{className:$.buttonCell,children:(0,O.jsx)(ae,{variant:{style:`secondary`,size:`small`,icon:{icon:y,side:`center`}},onClick:()=>g(fe(e.row)),analyticsEvent:Ei(`remove`)})})}],data:s}),!s.length&&(0,O.jsxs)(T,{size:`body-secondary`,color:`text-default`,className:$.tableEmptyState,children:[(0,O.jsx)(ee,{icon:x,style:{height:`11px`}}),`No exceptions added`]}),(0,O.jsx)(T,{size:`title-minor`,className:$.exceptionTitle,children:`Add a new exception`}),(0,O.jsx)(T,{size:`label`,color:`text-secondary`,className:$.description,children:`Leave the field empty for wildcard.`}),(0,O.jsx)(p,{onSubmit:()=>Promise.resolve(),submitSuccess:e=>{h({name:e.name,queryParams:e.queryParams,jsonBody:e.jsonBody,pathPieces:e.pathPieces,errorStatusCode:e.errorStatusCode?+e.errorStatusCode:500})},toFormFields:({generateFormFieldProps:e,submitProps:t})=>(0,O.jsxs)(`div`,{className:$.form,children:[(0,O.jsx)(be,{formFieldProps:e(`name`,[o]),label:`Request Name`,helpText:`Simple API class name`}),(0,O.jsx)(ye,{formFieldProps:e(`queryParams`,i([r])),label:`Query Params`,helpText:`JSON only (optional)`,className:$.textarea}),(0,O.jsx)(ye,{formFieldProps:e(`jsonBody`,i([r])),label:`JSON Body`,helpText:`JSON only (optional)`,className:$.textarea}),(0,O.jsx)(ye,{formFieldProps:e(`pathPieces`,i([r])),label:`Path Pieces`,helpText:`JSON only (optional)`,className:$.textarea}),(0,O.jsx)(xe,{formFieldProps:e(`errorStatusCode`,i([a(100,600)])),cleaveOptions:{numeral:!0,numeralPositiveOnly:!0},label:`Status`,placeholder:`500`}),(0,O.jsx)(`div`,{className:$.addButton,children:(0,O.jsx)(oe,{submitProps:t,variant:{size:`small`,style:`primary`,icon:{icon:v,side:`center`}},analyticsEvent:Ei(`add`)})})]}),team:`none`}),(0,O.jsxs)(T,{size:`title-minor`,className:$.quickAddTitle,children:[`Recent API requests`,(0,O.jsx)(ae,{variant:{size:`small`,style:`secondary`,icon:{icon:_,side:`left`}},onClick:()=>{l(),n([])},className:$.clearAllButton,analyticsEvent:Ei(`clear-all`),children:(0,O.jsx)(ie,{size:`label`,children:`Clear all`})})]}),(0,O.jsx)(T,{size:`label`,color:`text-secondary`,className:$.description,children:`Use the Quick Add menu to easily block recently-called API requests.`}),(0,O.jsx)(yi,{columns:[{id:`name`,header:e=>(0,O.jsx)(me,{...pe(e),classNames:{cell:$.cell},children:`Request Name`}),accessorKey:`name`,cell:e=>(0,O.jsx)(he,{mainContent:e.getValue(),classNames:{cell:$.cell}})},{id:`queryParams`,header:()=>(0,O.jsx)(me,{classNames:{cell:$.cell},children:`Query Params`}),accessorKey:`queryParams`,cell:e=>(0,O.jsx)(he,{subLabel:e.getValue(),classNames:{cell:$.cell}})},{id:`jsonBody`,header:()=>(0,O.jsx)(me,{classNames:{cell:$.cell},children:`JSON Body`}),accessorKey:`jsonBody`,cell:e=>(0,O.jsx)(he,{subLabel:e.getValue(),classNames:{cell:$.cell}})},{id:`pathPieces`,header:()=>(0,O.jsx)(me,{classNames:{cell:$.cell},children:`Path Pieces`}),accessorKey:`pathPieces`,cell:e=>(0,O.jsx)(he,{subLabel:e.getValue(),classNames:{cell:$.cell}})},{id:`add`,header:()=>(0,O.jsx)(me,{children:`Quick Add`}),accessorKey:`name`,cell:e=>(0,O.jsx)(ge,{className:(0,E.default)($.buttonCell,$.quickAddCell),children:(0,O.jsxs)(We,{onSelection:t=>te(fe(e.row),t),menuClassName:$.kebabMenu,customButton:()=>(0,O.jsx)(ae,{variant:{style:`secondary`,size:`small`,icon:{icon:b,side:`center`}},analyticsEvent:Ei(`quick-add`)}),children:[(0,O.jsx)(Be,{value:`withoutParams`,children:(0,O.jsx)(ie,{size:`body-secondary`,children:`All requests to this endpoint`})}),(0,O.jsx)(Be,{value:`withParams`,children:(0,O.jsx)(ie,{size:`body-secondary`,children:`Matching params only`})})]})})}],data:t.reverse()}),!t.length&&(0,O.jsxs)(T,{size:`body-secondary`,color:`text-default`,className:$.tableEmptyState,children:[(0,O.jsx)(ee,{icon:x,style:{height:`11px`}}),`No logged requests`]})]})},Ei=e=>({event:`click`,properties:{type:`admin/mock-request-error-modal`,customProperties:{action:e}}}),Di=e=>({event:`click`,properties:{type:`admin/admin-popup`,customProperties:{action:e}}}),Oi=window.location.pathname.startsWith(`/admin`),ki=(0,D.createContext)(void 0),Ai=()=>{let e=(0,D.useContext)(ki);return e===void 0?(n(`useSessionReplayContext used without a SessionReplayProvider`),{isSessionReplayRecordable:!1}):e};export{Ti as a,wi as c,Ve as d,Ue as f,Ne as h,Oi as i,_i as l,He as m,Ai as n,bi as o,Be as p,Di as r,yi as s,ki as t,We as u}; 4//# sourceMappingURL=context-DREguObc.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.