PageSourceSearch

https://vcgmarkets.com/_next/static/chunks/1180-c4d67282ed09b3ee.js

js vcgmarkets.com collected 2026-10-02 15:16:49 UTC 61,190 bytes, 4 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1180],{13979:function(e,t,r){let n;r.d(t,{X:function(){return ta}});let o=new WeakMap,l=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),s=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=new Set(["dir","lang","hidden","inert","translate"]),u=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),d=/^(data-.*)$/;function c(e,t={}){let{labelable:r,isLink:n,global:o,events:c=o,propNames:h}=t,f={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(l.has(t)||r&&i.has(t)||n&&s.has(t)||o&&a.has(t)||c&&u.has(t)||t.endsWith("Capture")&&u.has(t.slice(0,-7))||(null==h?void 0:h.has(t))||d.test(t))&&(f[t]=e[t]);return f}var h,f=r(7653);let g="undefined"!=typeof document?f.useLayoutEffect:()=>{},v=null!==(h=f.useInsertionEffect)&&void 0!==h?h:g;function p(e){let t=(0,f.useRef)(null);return v(()=>{t.current=e},[e]),(0,f.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}var b=r(9840);let m=!!("undefined"!=typeof window&&window.document&&window.document.createElement),y=new Map;function x(e){let[t,r]=(0,f.useState)(e),o=(0,f.useRef)(null),l=(0,b.gP)(t),i=(0,f.useRef)(null);if(n&&n.register(i,l),m){let e=y.get(l);e&&!e.includes(o)?e.push(o):y.set(l,[o])}return g(()=>()=>{n&&n.unregister(i),y.delete(l)},[l]),(0,f.useEffect)(()=>{let e=o.current;return e&&r(e),()=>{e&&(o.current=null)}}),l}function w(e=[]){let t=x(),[r,n]=function(e){let[t,r]=(0,f.useState)(e),n=(0,f.useRef)(null),o=p(()=>{if(!n.current)return;let e=n.current.next();if(e.done){n.current=null;return}t===e.value?o():r(e.value)});g(()=>{n.current&&o()});let l=p(e=>{n.current=e(t),o()});return[t,l]}(t),o=(0,f.useCallback)(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return g(o,[t,o,...e]),r}function E(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}"undefined"!=typeof FinalizationRegistry&&(n=new FinalizationRegistry(e=>{y.delete(e)}));var M=r(10607);function S(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=E(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,M.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=y.get(e);if(r)return r.forEach(e=>e.current=t),t;let n=y.get(t);return n?(n.forEach(t=>t.current=e),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}function T(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function C(){let e=(0,f.useRef)(new Map),t=(0,f.useCallback)((t,r,n,o)=>{let l=(null==o?void 0:o.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:l,options:o}),t.addEventListener(r,l,o)},[]),r=(0,f.useCallback)((t,r,n,o)=>{var l;let i=(null===(l=e.current.get(n))||void 0===l?void 0:l.fn)||n;t.removeEventListener(r,i,o),e.current.delete(n)},[]),n=(0,f.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,f.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}let k=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},K=e=>e&&"window"in e&&e.window===e?e:k(e).defaultView||window;var P=r(62761);function z(e,t){if(!(0,P.Wr)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let r=t;for(;null!==r;){var n;if(r===e)return!0;r="SLOT"===r.tagName&&r.assignedSlot?r.assignedSlot.parentNode:null!==(n=r)&&"object"==typeof n&&"nodeType"in n&&"number"==typeof n.nodeType&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in n?r.host:r.parentNode}return!1}let D=(e=document)=>{var t;if(!(0,P.Wr)())return e.activeElement;let r=e.activeElement;for(;r&&("shadowRoot"in r)&&(null===(t=r.shadowRoot)||void 0===t?void 0:t.activeElement);)r=r.shadowRoot.activeElement;return r};var L=r(17877),O=r(12911),I=r(97678);class N{getItemRect(e){let t=this.ref.current;if(!t)return null;let r=null!=e?(0,I.D0)(this.ref,e):null;if(!r)return null;let n=t.getBoundingClientRect(),o=r.getBoundingClientRect();return{x:o.left-n.left+t.scrollLeft,y:o.top-n.top+t.scrollTop,width:o.width,height:o.height}}getContentSize(){var e,t;let r=this.ref.current;return{width:null!==(e=null==r?void 0:r.scrollWidth)&&void 0!==e?e:0,height:null!==(t=null==r?void 0:r.scrollHeight)&&void 0!==t?t:0}}getVisibleRect(){var e,t,r,n;let o=this.ref.current;return{x:null!==(e=null==o?void 0:o.scrollLeft)&&void 0!==e?e:0,y:null!==(t=null==o?void 0:o.scrollTop)&&void 0!==t?t:0,width:null!==(r=null==o?void 0:o.offsetWidth)&&void 0!==r?r:0,height:null!==(n=null==o?void 0:o.offsetHeight)&&void 0!==n?n:0}}constructor(e){this.ref=e}}var A=r(32175);class R{isDisabled(e){var t;return"all"===this.disabledBehavior&&((null===(t=e.props)||void 0===t?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let r=e;for(;null!=r;){let e=this.collection.getItem(r);if((null==e?void 0:e.type)==="item"&&!this.isDisabled(e))return r;r=t(r)}return null}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}findKey(e,t,r){let n=e,o=this.layoutDelegate.getItemRect(n);if(!o||null==n)return null;let l=o;do{if(null==(n=t(n)))break;o=this.layoutDelegate.getItemRect(n)}while(o&&r(l,o)&&null!=n);return n}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}
1getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e))):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){let t="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e))):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(t&&!(0,A.a)(t))return this.getFirstKey();let n=e;if("horizontal"===this.orientation){let e=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>e&&null!=n;)r=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>e&&null!=n;)r=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(t&&!(0,A.a)(t))return this.getLastKey();let n=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,r.y-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<e&&null!=n;)r=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<e&&null!=n;)r=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n:this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let r=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=r.getItem(n);if(!t)break;let o=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(o,e))return n;n=this.getNextKey(n)}return null}constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new N(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new N(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}var F=r(27532),B=r(99426),W=r(34055),j=r(65541),_=(0,W.tv)({slots:{base:"w-full relative flex flex-col gap-1 p-1 overflow-clip",list:"w-full flex flex-col gap-0.5 outline-none",emptyContent:["h-10","px-2","py-1.5","w-full","h-full","text-foreground-400","text-start"]}}),H=(0,W.tv)({slots:{base:["flex","group","gap-2","items-center","justify-between","relative","px-2","py-1.5","w-full","h-full","box-border","rounded-small","subpixel-antialiased","outline-none","cursor-pointer","tap-highlight-transparent",...j.Dh,"data-[focus-visible=true]:dark:ring-offset-background-content1"],wrapper:"w-full flex flex-col items-start justify-center",title:"flex-1 text-small font-normal",description:["w-full","text-tiny","text-foreground-500","group-hover:text-current"],selectedIcon:["text-inherit","w-3","h-3","flex-shrink-0"],shortcut:["px-1","py-0.5","rounded","font-sans","text-foreground-500","text-tiny","border-small","border-default-300","group-hover:border-current"]},variants:{variant:{solid:{base:""},bordered:{base:"border-medium border-transparent bg-transparent"},light:{base:"bg-transparent"},faded:{base:["border-small border-transparent hover:border-default data-[hover=true]:bg-default-100","data-[selectable=true]:focus:border-default data-[selectable=true]:focus:bg-default-100"]},flat:{base:""},shadow:{base:"data-[hover=true]:shadow-lg"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},showDivider:{true:{base:["mb-1.5","after:content-['']","after:absolute","after:-bottom-1","after:left-0","after:right-0","after:h-divider","after:bg-divider"]},false:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{},false:{base:"data-[hover=true]:transition-colors"}},hasTitleTextChild:{true:{title:"truncate"}},hasDescriptionTextChild:{true:{description:"truncate"}}},defaultVariants:{variant:"solid",color:"default",showDivider:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:["data-[hover=true]:bg-default","data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:bg-default","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"solid",color:"primary",class:{base:["data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground","data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"]}},{variant:"solid",color:"secondary",class:{base:["data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground","data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"]}},{variant:"solid",color:"success",class:{base:["data-[hover=true]:bg-success data-[hover=true]:text-success-foreground","data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"]}},{variant:"solid",color:"warning",class:{base:["data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground","data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"]}},{variant:"solid",color:"danger",class:{base:["data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground","data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"]}},{variant:"shadow",color:"default",class:{base:["data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:shadow-default/50 data-[selectable=true]:focus:bg-default data-[selectable=true]:focus:text-default-foreground"]}},{variant:"shadow",color:"primary",class:{base:["data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground","data-[selectable=true]:focus:shadow-primary/30 data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"]}},{variant:"shadow",color:"secondary",class:{base:["data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground","data-[selectable=true]:focus:shadow-secondary/30 data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"]}},{variant:"shadow",color:"success",class:{base:["data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground","data-[selectable=true]:focus:shadow-success/30 data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"]}},{variant:"shadow",color:"warning",class:{base:["data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground","data-[selectable=true]:focus:shadow-warning/30 data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"]}},{variant:"shadow",color:"danger",class:{base:["data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground","data-[selectable=true]:focus:shadow-danger/30 data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"]}},{variant:"bordered",color:"default",class:{base:["data-[hover=true]:border-default","data-[selectable=true]:focus:border-default"]}},{variant:"bordered",color:"primary",class:{base:["data-[hover=true]:border-primary data-[hover=true]:text-primary","data-[selectable=true]:focus:border-primary data-[selectable=true]:focus:text-primary"]}},{variant:"bordered",color:"secondary",class:{base:["data-[hover=true]:border-secondary data-[hover=true]:text-secondary","data-[selectable=true]:focus:border-secondary data-[selectable=true]:focus:text-secondary"]}},{variant:"bordered",color:"success",class:{base:["data-[hover=true]:border-success data-[hover=true]:text-success","data-[selectable=true]:focus:border-success data-[selectable=true]:focus:text-success"]}},{variant:"bordered",color:"warning",class:{base:["data-[hover=true]:border-warning data-[hover=true]:text-warning","data-[selectable=true]:focus:border-warning data-[selectable=true]:focus:text-warning"]}},{variant:"bordered",color:"danger",class:{base:["data-[hover=true]:border-danger data-[hover=true]:text-danger","data-[selectable=true]:focus:border-danger data-[selectable=true]:focus:text-danger"]}},{variant:"flat",color:"default",class:{base:["data-[hover=true]:bg-default/40","data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:bg-default/40","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"flat",color:"primary",class:{base:["data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary","data-[selectable=true]:focus:bg-primary/20 data-[selectable=true]:focus:text-primary"]}},{variant:"flat",color:"secondary",class:{base:["data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary","data-[selectable=true]:focus:bg-secondary/20 data-[selectable=true]:focus:text-secondary"]}},{variant:"flat",color:"success",class:{base:["data-[hover=true]:bg-success/20 data-[hover=true]:text-success","data-[selectable=true]:focus:bg-success/20 data-[selectable=true]:focus:text-success"]}},{variant:"flat",color:"warning",class:{base:["data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning","data-[selectable=true]:focus:bg-warning/20 data-[selectable=true]:focus:text-warning"]}},{variant:"flat",color:"danger",class:{base:["data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger","data-[selectable=true]:focus:bg-danger/20 data-[selectable=true]:focus:text-danger"]}},{variant:"faded",color:"default",class:{base:["data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"faded",color:"primary",class:{base:["data-[hover=true]:text-primary","data-[selectable=true]:focus:text-primary"]}},{variant:"faded",color:"secondary",class:{base:["data-[hover=true]:text-secondary","data-[selectable=true]:focus:text-secondary"]}},{variant:"faded",color:"success",class:{base:["data-[hover=true]:text-success","data-[selectable=true]:focus:text-success"]}},{variant:"faded",color:"warning",class:{base:["data-[hover=true]:text-warning","data-[selectable=true]:focus:text-warning"]}},{variant:"faded",color:"danger",class:{base:["data-[hover=true]:text-danger","data-[selectable=true]:focus:text-danger"]}},{variant:"light",color:"default",class:{base:["data-[hover=true]:text-default-500","data-[selectable=true]:focus:text-default-500"]}},{variant:"light",color:"primary",class:{base:["data-[hover=true]:text-primary","data-[selectable=true]:focus:text-primary"]}},{variant:"light",color:"secondary",class:{base:["data-[hover=true]:text-secondary","data-[selectable=true]:focus:text-secondary"]}},{variant:"light",color:"success",class:{base:["data-[hover=true]:text-success","data-[selectable=true]:focus:text-success"]}},{variant:"light",color:"warning",class:{base:["data-[hover=true]:text-warning","data-[selectable=true]:focus:text-warning"]}},{variant:"light",color:"danger",class:{base:["data-[hover=true]:text-danger","data-[selectable=true]:focus:text-danger"]}}]}),V=(0,W.tv)({slots:{base:"relative mb-2",heading:"pl-1 text-tiny text-foreground-500",group:"data-[has-title=true]:pt-1",divider:"mt-2"}});class U{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.nextKey)&&void 0!==t?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!==(t=this.keyMap.get(e))&&void 0!==t?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let r=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)r(t)};for(let t of e)r(t);let n=null,o=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=o++),(n=t).nextKey=void 0;this.lastKey=null!==(t=null==n?void 0:n.key)&&void 0!==t?t:null}}var G=r(12835),$=r(76891),X=r(29975),Z=r(7194),q=r(57799),Y=r(24203),J=r(27573);function Q(e){let{isSelected:t,disableAnimation:r,...n}=e;return(0,J.jsx)("svg",{"aria-hidden":"true","data-selected":t,role:"presentation",viewBox:"0 0 17 18",...n,children:(0,J.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:r?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var ee=r(44058),et=r(88101),er=r(39411),en=r(48402),eo=r(69221);function el(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let r=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(r)&&r.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function ei(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function es(e){let t=null;return()=>(null==t&&(t=e()),t)}let ea=es(function(){return ei(/^Mac/i)}),eu=es(function(){return ei(/^iPhone/i)}),ed=es(function(){return ei(/^iPad/i)||ea()&&navigator.maxTouchPoints>1}),ec=es(function(){return eu()||ed()});es(function(){return ea()||ec()});
1let eh=es(function(){return el(/AppleWebKit/i)&&!ef()}),ef=es(function(){return el(/Chrome/i)}),eg=es(function(){return el(/Android/i)}),ev=es(function(){return el(/Firefox/i)}),ep=null,eb=(0,f.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}(e,e=>em(e,t))},useHref:e=>e});function em(e,t,r=!0){var n,o;let{metaKey:l,ctrlKey:i,altKey:s,shiftKey:a}=t;ev()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(ea()?l=!0:i=!0);let u=eh()&&ea()&&!ed()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:i,altKey:s,shiftKey:a}):new MouseEvent("click",{metaKey:l,ctrlKey:i,altKey:s,shiftKey:a,bubbles:!0,cancelable:!0});em.isOpening=r,function(e){if(function(){if(null==ep){ep=!1;try{document.createElement("div").focus({get preventScroll(){return ep=!0,!0}})}catch{}}return ep}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}(e),e.dispatchEvent(u),em.isOpening=!1}em.isOpening=!1;var ey=r(69398);let ex=new WeakMap,ew=!1,eE=0;function eM(e){"touch"===e.pointerType&&(ew=!0,setTimeout(()=>{ew=!1},50))}function eS(){if("undefined"!=typeof document)return 0===eE&&"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",eM),eE++,()=>{--eE>0||"undefined"==typeof PointerEvent||document.removeEventListener("pointerup",eM)}}let eT=null,eC=new Set,ek=new Map,eK=!1,eP=!1;function ez(e,t){for(let r of eC)r(e,t)}function eD(e){eK=!0,e.metaKey||!ea()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(eT="keyboard",ez("keyboard",e))}
1function eL(e){eT="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(eK=!0,ez("pointer",e))}function eO(e){(0===e.mozInputSource&&e.isTrusted||(eg()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(eK=!0,eT="virtual")}function eI(e){e.target!==window&&e.target!==document&&e.isTrusted&&(eK||eP||(eT="virtual",ez("virtual",e)),eK=!1,eP=!1)}function eN(){eK=!1,eP=!0}function eA(e){if("undefined"==typeof window||"undefined"==typeof document||ek.get(K(e)))return;let t=K(e),r=k(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){eK=!0,n.apply(this,arguments)},r.addEventListener("keydown",eD,!0),r.addEventListener("keyup",eD,!0),r.addEventListener("click",eO,!0),t.addEventListener("focus",eI,!0),t.addEventListener("blur",eN,!1),"undefined"!=typeof PointerEvent&&(r.addEventListener("pointerdown",eL,!0),r.addEventListener("pointermove",eL,!0),r.addEventListener("pointerup",eL,!0)),t.addEventListener("beforeunload",()=>{eR(e)},{once:!0}),ek.set(t,{focus:n})}let eR=(e,t)=>{let r=K(e),n=k(e);t&&n.removeEventListener("DOMContentLoaded",t),ek.has(r)&&(r.HTMLElement.prototype.focus=ek.get(r).focus,n.removeEventListener("keydown",eD,!0),n.removeEventListener("keyup",eD,!0),n.removeEventListener("click",eO,!0),r.removeEventListener("focus",eI,!0),r.removeEventListener("blur",eN,!1),"undefined"!=typeof PointerEvent&&(n.removeEventListener("pointerdown",eL,!0),n.removeEventListener("pointermove",eL,!0),n.removeEventListener("pointerup",eL,!0)),ek.delete(r))};function eF(){return"pointer"!==eT}"undefined"!=typeof document&&function(e){let t;let r=k(void 0);"loading"!==r.readyState?eA(void 0):(t=()=>{eA(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>eR(e,t)}();var eB=r(36655),eW=r(75310),ej=r(7140),e_=r(84989);let eH={prefix:String(Math.round(1e10*Math.random())),current:0},eV=(f.createContext(eH),f.createContext(!1));function eU(){return!1}function eG(){return!0}function e$(e){return()=>{}}"undefined"!=typeof window&&window.document&&window.document.createElement,new WeakMap,f.useId;var eX=e=>{let{Component:t,rendered:r,description:n,isSelectable:l,isSelected:i,isDisabled:s,selectedIcon:a,startContent:u,endContent:d,hideSelectedIcon:h,disableAnimation:g,getItemProps:v,getLabelProps:p,getWrapperProps:b,getDescriptionProps:m,getSelectedIconProps:y}=function(e){var t,r;let n=(0,B.w)(),[l,i]=(0,ee.oe)(e,H.variantKeys),{as:s,item:a,state:u,description:d,startContent:h,endContent:g,isVirtualized:v,selectedIcon:p,className:b,classNames:m,autoFocus:y,onPress:x,onClick:M,shouldHighlightOnFocus:T,hideSelectedIcon:K=!1,isReadOnly:P=!1,...D}=l,L=null!=(r=null!=(t=e.disableAnimation)?t:null==n?void 0:n.disableAnimation)&&r,O=(0,f.useRef)(null),I=s||(e.href?"a":"li"),N="string"==typeof I,{rendered:A,key:R}=a,F=u.disabledKeys.has(R)||e.isDisabled,W="none"!==u.selectionManager.selectionMode,j=!("function"==typeof f.useSyncExternalStore?f.useSyncExternalStore(e$,eU,eG):(0,f.useContext)(eV))&&"undefined"!=typeof window&&window.screen.width<=700;M&&"function"==typeof M&&(0,er.Z)("onClick is deprecated, please use onPress instead. See: https://github.com/nextui-org/nextui/issues/4292","ListboxItem");let{pressProps:_,isPressed:V}=(0,ej.r)({ref:O,isDisabled:F,onPress:x}),{isHovered:U,hoverProps:G}=(0,e_.X)({isDisabled:F}),{isFocusVisible:$,focusProps:X}=(0,et.F)({autoFocus:y}),{isFocused:Z,isSelected:J,optionProps:Q,labelProps:el,descriptionProps:ei}=function(e,t,r){var n,l,i,s,a,u,d,h;let{key:g}=e,v=o.get(t),p=null!==(i=e.isDisabled)&&void 0!==i?i:t.selectionManager.isDisabled(g),b=null!==(s=e.isSelected)&&void 0!==s?s:t.selectionManager.isSelected(g),m=null!==(a=e.shouldSelectOnPressUp)&&void 0!==a?a:null==v?void 0:v.shouldSelectOnPressUp,y=null!==(u=e.shouldFocusOnHover)&&void 0!==u?u:null==v?void 0:v.shouldFocusOnHover,x=null!==(d=e.shouldUseVirtualFocus)&&void 0!==d?d:null==v?void 0:v.shouldUseVirtualFocus,M=null!==(h=e.isVirtualized)&&void 0!==h?h:null==v?void 0:v.isVirtualized,T=w(),K=w(),P={role:"option","aria-disabled":p||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?b:void 0};ea()&&eh()||(P["aria-label"]=e["aria-label"],P["aria-labelledby"]=T,P["aria-describedby"]=K);let D=t.collection.getItem(g);if(M){let e=Number(null==D?void 0:D.index);P["aria-posinset"]=Number.isNaN(e)?void 0:e+1,P["aria-setsize"]=function(e){let t=ex.get(e);if(null!=t)return t;let r=0,n=t=>{for(let o of t)"section"===o.type?n((0,ey._P)(o,e)):"item"===o.type&&r++};return n(e),ex.set(e,r),r}(t.collection)}let L=(null==v?void 0:v.onAction)?()=>{var e;return null==v?void 0:null===(e=v.onAction)||void 0===e?void 0:e.call(v,g)}:void 0,{itemProps:O,isPressed:I,isFocused:N,hasAction:A,allowsSelection:R}=(0,eB.C)({selectionManager:t.selectionManager,key:g,ref:r,shouldSelectOnPressUp:m,allowsDifferentPressOrigin:m&&y,isVirtualized:M,shouldUseVirtualFocus:x,isDisabled:p,onAction:L||(null==D?void 0:null===(n=D.props)||void 0===n?void 0:n.onAction)?E(null==D?void 0:null===(l=D.props)||void 0===l?void 0:l.onAction,L):void 0,linkBehavior:null==v?void 0:v.linkBehavior}),{hoverProps:F}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}
1=e,[l,i]=(0,f.useState)(!1),s=(0,f.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,f.useEffect)(eS,[]);let{addGlobalListener:a,removeAllGlobalListeners:u}=C(),{hoverProps:d,triggerHoverEnd:c}=(0,f.useMemo)(()=>{let e=(e,n)=>{if(s.pointerType=n,o||"touch"===n||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let u=e.currentTarget;s.target=u,a(k(e.target),"pointerover",e=>{s.isHovered&&s.target&&!z(s.target,e.target)&&l(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:u,pointerType:n}),r&&r(!0),i(!0)},l=(e,t)=>{let o=s.target;s.pointerType="",s.target=null,"touch"!==t&&s.isHovered&&o&&(s.isHovered=!1,u(),n&&n({type:"hoverend",target:o,pointerType:t}),r&&r(!1),i(!1))},d={};return"undefined"!=typeof PointerEvent&&(d.onPointerEnter=t=>{ew&&"mouse"===t.pointerType||e(t,t.pointerType)},d.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&l(e,e.pointerType)}),{hoverProps:d,triggerHoverEnd:l}},[t,r,n,o,s,a,u]);return(0,f.useEffect)(()=>{o&&c({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:d,isHovered:l}}({isDisabled:p||!y,onHoverStart(){eF()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(g))}}),B=c(null==D?void 0:D.props);delete B.id;let W=function(e){var t;let r=(0,f.useContext)(eb).useHref(null!==(t=null==e?void 0:e.href)&&void 0!==t?t:"");return{href:(null==e?void 0:e.href)?r:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}(null==D?void 0:D.props);return{optionProps:{...P,...S(B,O,F,W),id:function(e,t){let r=o.get(e);if(!r)throw Error("Unknown list");return`${r.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}(t,g)},labelProps:{id:T},descriptionProps:{id:K},isFocused:N,isFocusVisible:N&&eF(),isSelected:b,isDisabled:p,isPressed:I,allowsSelection:R,hasAction:A}}({key:R,isDisabled:F,"aria-label":l["aria-label"],isVirtualized:v},u,O),es=Q,eu=(0,f.useMemo)(()=>H({...i,isDisabled:F,disableAnimation:L,hasTitleTextChild:"string"==typeof A,hasDescriptionTextChild:"string"==typeof d}),[(0,en.Xx)(i),F,L,A,d]),ed=(0,Y.W)(null==m?void 0:m.base,b);P&&(es=(0,en.Os)(es));let ec=T&&Z||(j?U||V:U||Z&&!$),ef=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,eo.PB)(!0),"data-disabled":(0,eo.PB)(F),className:eu.selectedIcon({class:null==m?void 0:m.selectedIcon}),...e}},[F,eu,m]);return{Component:I,domRef:O,slots:eu,classNames:m,isSelectable:W,isSelected:J,isDisabled:F,rendered:A,description:d,startContent:h,endContent:g,selectedIcon:p,hideSelectedIcon:K,disableAnimation:L,getItemProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:O,...(0,eW.d)({onClick:M},es,P?{}:(0,eW.d)(X,_),G,(0,q.z)(D,{enabled:N}),e),"data-selectable":(0,eo.PB)(W),"data-focus":(0,eo.PB)(Z),"data-hover":(0,eo.PB)(ec),"data-disabled":(0,eo.PB)(F),"data-selected":(0,eo.PB)(J),"data-pressed":(0,eo.PB)(V),"data-focus-visible":(0,eo.PB)($),className:eu.base({class:(0,Y.W)(ed,e.className)})}},getLabelProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,eW.d)(el,e),"data-label":(0,eo.PB)(!0),className:eu.title({class:null==m?void 0:m.title})}},getWrapperProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,eW.d)(e),className:eu.wrapper({class:null==m?void 0:m.wrapper})}},getDescriptionProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,eW.d)(ei,e),className:eu.description({class:null==m?void 0:m.description})}},getSelectedIconProps:ef}}(e),x=(0,f.useMemo)(()=>{let e=(0,J.jsx)(Q,{disableAnimation:g,isSelected:i});return"function"==typeof a?a({icon:e,isSelected:i,isDisabled:s}):a||e},[a,i,s,g]);return(0,J.jsxs)(t,{...v(),children:[u,n?(0,J.jsxs)("div",{...b(),children:[(0,J.jsx)("span",{...p(),children:r}),(0,J.jsx)("span",{...m(),children:n})]}):(0,J.jsx)("span",{...p(),children:r}),l&&!h&&(0,J.jsx)("span",{...y(),children:x}),d]})};eX.displayName="NextUI.ListboxItem";var eZ=(0,W.tv)({base:"shrink-0 bg-divider border-none",variants:{orientation:{horizontal:"w-full h-divider",vertical:"h-full w-divider"}},defaultVariants:{orientation:"horizontal"}}),eq=(0,ee.Gp)((e,t)=>{let{Component:r,getDividerProps:n}=function(e){var t;let r,n;let{as:o,className:l,orientation:i,...s}=e,a=o||"hr";"hr"===a&&"vertical"===i&&(a="div");let{separatorProps:u}=(t={elementType:"string"==typeof a?a:"hr",orientation:i},n=(0,q.z)(t,{enabled:"string"==typeof t.elementType}),("vertical"===t.orientation&&(r="vertical"),"hr"!==t.elementType)?{separatorProps:{...n,role:"separator","aria-orientation":r}}:{separatorProps:n}),d=(0,f.useMemo)(()=>eZ({orientation:i,className:l}),[i,l]);return{Component:a,getDividerProps:(0,f.useCallback)((e={})=>({className:d,role:"separator","data-orientation":i,...u,...s,...e}),[d,i,u,s])}}({...e});return(0,J.jsx)(r,{ref:t,...n()})});eq.displayName="NextUI.Divider";var eY=(0,ee.Gp)((e,t)=>{let{item:r,state:n,as:o,variant:l,color:i,disableAnimation:s,className:a,classNames:u,hideSelectedIcon:d,showDivider:c=!1,dividerProps:h={},itemClasses:g,title:v,items:p,...b}=e,m=(0,f.useMemo)(()=>V(),[]),y=(0,Y.W)(null==u?void 0:u.base,a),w=(0,Y.W)(null==u?void 0:u.divi
1der,null==h?void 0:h.className),{itemProps:E,headingProps:M,groupProps:S}=function(e){let{heading:t,"aria-label":r}=e,n=x();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}({heading:r.rendered,"aria-label":r["aria-label"]});return(0,J.jsxs)(o||"li",{"data-slot":"base",...(0,eW.d)(E,b),className:m.base({class:y}),children:[r.rendered&&(0,J.jsx)("span",{...M,className:m.heading({class:null==u?void 0:u.heading}),"data-slot":"heading",children:r.rendered}),(0,J.jsxs)("ul",{...S,className:m.group({class:null==u?void 0:u.group}),"data-has-title":!!r.rendered,"data-slot":"group",children:[[...r.childNodes].map(e=>{let{key:t,props:r}=e,o=(0,J.jsx)(eX,{classNames:g,color:i,disableAnimation:s,hideSelectedIcon:d,item:e,state:n,variant:l,...r},t);return e.wrapper&&(o=e.wrapper(o)),o}),c&&(0,J.jsx)(eq,{as:"li",className:m.divider({class:w}),...h})]})]},r.key)});eY.displayName="NextUI.ListboxSection";var eJ=r(3458);function eQ(e,t,r){let n,o=r.initialDeps??[];return()=>{var l,i,s,a;let u,d;r.key&&(null==(l=r.debug)?void 0:l.call(r))&&(u=Date.now());let c=e();if(!(c.length!==o.length||c.some((e,t)=>o[t]!==e)))return n;if(o=c,r.key&&(null==(i=r.debug)?void 0:i.call(r))&&(d=Date.now()),n=t(...c),r.key&&(null==(s=r.debug)?void 0:s.call(r))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-d)*100)/100,n=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`
2            font-size: .6rem;
3            font-weight: bold;
4            color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return null==(a=null==r?void 0:r.onChange)||a.call(r,n),n}}function e0(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}let e1=(e,t)=>1>Math.abs(e-t),e2=(e,t,r)=>{let n;return function(...o){e.clearTimeout(n),n=e.setTimeout(()=>t.apply(this,o),r)}},e5=e=>e,e3=e=>{let t=Math.max(e.startIndex-e.overscan,0),r=Math.min(e.endIndex+e.overscan,e.count-1),n=[];for(let e=t;e<=r;e++)n.push(e);return n},e4=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=e.targetWindow;if(!n)return;let o=e=>{let{width:r,height:n}=e;t({width:Math.round(r),height:Math.round(n)})};if(o(r.getBoundingClientRect()),!n.ResizeObserver)return()=>{};let l=new n.ResizeObserver(e=>{let t=e[0];if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e){o({width:e.inlineSize,height:e.blockSize});return}}o(r.getBoundingClientRect())});return l.observe(r,{box:"border-box"}),()=>{l.unobserve(r)}},e7={passive:!0},e9="undefined"==typeof window||"onscrollend"in window,e6=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=e.targetWindow;if(!n)return;let o=0,l=e.options.useScrollendEvent&&e9?()=>void 0:e2(n,()=>{t(o,!1)},e.options.isScrollingResetDelay),i=n=>()=>{let{horizontal:i,isRtl:s}=e.options;o=i?r.scrollLeft*(s&&-1||1):r.scrollTop,l(),t(o,n)},s=i(!0),a=i(!1);return a(),r.addEventListener("scroll",s,e7),r.addEventListener("scrollend",a,e7),()=>{r.removeEventListener("scroll",s),r.removeEventListener("scrollend",a)}},e8=(e,t,r)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[r.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[r.options.horizontal?"width":"height"])},te=(e,{adjustments:t=0,behavior:r},n)=>{var o,l;null==(l=null==(o=n.scrollElement)?void 0:o.scrollTo)||l.call(o,{[n.options.horizontal?"left":"top"]:e+t,behavior:r})};class tt{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{this._measureElement(e.target,e)})}):null);return{disconnect:()=>{var r;null==(r=t())||r.disconnect(),e=null},observe:e=>{var r;return null==(r=t())?void 0:r.observe(e,{box:"border-box"})},unobserve:e=>{var r;return null==(r=t())?void 0:r.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,r])=>{void 0===r&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:e5,rangeExtractor:e3,onChange:()=>{},measureElement:e8,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var t,r;null==(r=(t=this.options).onChange)||r.call(t,this,e)},this.maybeNotify=eQ(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>
4{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t){this.maybeNotify();return}this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let r=new Map,n=new Map;for(let o=t-1;o>=0;o--){let t=e[o];if(r.has(t.lane))continue;let l=n.get(t.lane);if(null==l||t.end>l.end?n.set(t.lane,t):t.end<l.end&&r.set(t.lane,!0),r.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=eQ(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,r,n,o)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:o}),{key:!1}),this.getMeasurements=eQ(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:o},l)=>{if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let i=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let s=this.measurementsCache.slice(0,i);for(let o=i;o<e;o++){let e=n(o),i=1===this.options.lanes?s[o-1]:this.getFurthestMeasurement(s,o),a=i?i.end+this.options.gap:t+r,u=l.get(e),d="number"==typeof u?u:this.options.estimateSize(o),c=a+d,h=i?i.lane:o%this.options.lanes;s[o]={index:o,start:a,size:d,end:c,key:e,lane:h}}return this.measurementsCache=s,s},{key:!1,debug:()=>this.options.debug}),this.calculateRange=eQ(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,t,r)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:r}){let n=e.length-1,o=tr(0,n,t=>e[t].start,r),l=o;for(;l<n&&e[l].end<r+t;)l++;return{startIndex:o,endIndex:l}}({measurements:e,outerSize:t,scrollOffset:r}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=eQ(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(e,t,r,n)=>null===t?[]:e({startIndex:t.startIndex,endIndex:t.endIndex,overscan:r,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,r=e.getAttribute(t);return r?parseInt(r,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let r=this.indexFromElement(e),n=this.measurementsCache[r];if(!n)return;let o=n.key,l=this.elementsCache.get(o);l!==e&&(l&&this.observer.unobserve(l),this.observer.observe(e),this.elementsCache.set(o,e)),e.isConnected&&this.resizeItem(r,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>
4{let r=this.measurementsCache[e];if(!r)return;let n=t-(this.itemSizeCache.get(r.key)??r.size);0!==n&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(r,n,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=n,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,t)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});return}this._measureElement(e,void 0)},this.getVirtualItems=eQ(()=>[this.getIndexes(),this.getMeasurements()],(e,t)=>{let r=[];for(let n=0,o=e.length;n<o;n++){let o=t[e[n]];r.push(o)}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return e0(t[tr(0,t.length-1,e=>e0(t[e]).start,e)])},this.getOffsetForAlignment=(e,t)=>{let r=this.getSize(),n=this.getScrollOffset();"auto"===t&&e>=n+r&&(t="end"),"end"===t&&(e-=r);let o=this.options.horizontal?"scrollWidth":"scrollHeight";return Math.max(Math.min((this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[o]:this.scrollElement[o]:0)-r,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let r=this.measurementsCache[e];if(!r)return;let n=this.getSize(),o=this.getScrollOffset();if("auto"===t){if(r.end>=o+n-this.options.scrollPaddingEnd)t="end";else{if(!(r.start<=o+this.options.scrollPaddingStart))return[o,t];t="start"}}let l=r.start-this.options.scrollPaddingStart+(r.size-n)/2;switch(t){case"center":return[this.getOffsetForAlignment(l,t),t];case"end":return[this.getOffsetForAlignment(r.end+this.options.scrollPaddingEnd,t),t];default:return[this.getOffsetForAlignment(r.start-this.options.scrollPaddingStart,t),t]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:r}={})=>{this.cancelScrollToIndex(),"smooth"===r&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:r})},this.scrollToIndex=(e,{align:t="auto",behavior:r}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===r&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let n=this.getOffsetForIndex(e,t);if(!n)return;let[o,l]=n;this._scrollToOffset(o,{adjustments:void 0,behavior:r}),"smooth"!==r&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[t]=e0(this.getOffsetForIndex(e,l));e1(t,this.getScrollOffset())||this.scrollToIndex(e,{align:l,behavior:r})}else this.scrollToIndex(e,{align:l,behavior:r})}))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adju
4stments:void 0,behavior:t})},this.getTotalSize=()=>{var e;let t=this.getMeasurements();return Math.max((0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map(e=>e.end)))-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:r})=>{this.options.scrollToFn(e,{behavior:r,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}let tr=(e,t,r,n)=>{for(;e<=t;){let o=(e+t)/2|0,l=r(o);if(l<n)e=o+1;else{if(!(l>n))return o;t=o-1}}return e>0?e-1:0},tn="undefined"!=typeof document?f.useLayoutEffect:f.useEffect;var to=(0,W.tv)({base:[],variants:{orientation:{vertical:["overflow-y-auto","data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],horizontal:["overflow-x-auto","data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"]},hideScrollBar:{true:"scrollbar-hide",false:""}},defaultVariants:{orientation:"vertical",hideScrollBar:!1}}),tl=(e,t)=>{let r=[];for(let n of e)"section"===n.type?r.push(([...n.childNodes].length+1)*t):r.push(t);return r},ti=e=>{if(!e||void 0===e.scrollTop||void 0===e.clientHeight||void 0===e.scrollHeight)return{isTop:!1,isBottom:!1,isMiddle:!1};let t=0===e.scrollTop,r=Math.ceil(e.scrollTop+e.clientHeight)>=e.scrollHeight;return{isTop:t,isBottom:r,isMiddle:!t&&!r}},ts=e=>{let{Component:t,state:r,color:n,variant:o,itemClasses:l,getBaseProps:i,topContent:s,bottomContent:a,hideEmptyContent:u,hideSelectedIcon:d,shouldHighlightOnFocus:c,disableAnimation:h,getEmptyContentProps:g,getListProps:v,scrollShadowProps:p}=e,{virtualization:b}=e;if(!b||!(0,eo.xb)(b)&&!b.maxListboxHeight&&!b.itemHeight)throw Error("You are using a virtualized listbox. VirtualizedListbox requires 'virtualization' props with 'maxListboxHeight' and 'itemHeight' properties. This error might have originated from autocomplete components that use VirtualizedListbox. Please provide these props to use the virtualized listbox.");let{maxListboxHeight:m,itemHeight:y}=b,x=Math.min(m,y*r.collection.size),w=(0,f.useRef)(null),E=(0,f.useMemo)(()=>tl([...r.collection],y),[r.collection,y]),M=function(e){let t=f.useReducer(()=>({}),{})[1],r={...e,onChange:(r,n)=>{var o;n?(0,eJ.flushSync)(t):t(),null==(o=e.onChange)||o.call(e,r,n)}},[n]=f.useState(()=>new tt(r));return n.setOptions(r),tn(()=>n._didMount(),[]),tn(()=>n._willUpdate()),n}({observeElementRect:e4,observeElementOffset:e6,scrollToFn:te,count:[...r.collection].length,getScrollElement:()=>w.current,estimateSize:e=>E[e]}),S=M.getVirtualItems(),{getBaseProps:T}=function(e){var t;let[r,n]=(0,ee.oe)(e,to.variantKeys),{ref:o,as:l,children:i,className:s,style:a,size:u=40,offset:d=0,visibility:c="auto",isEnabled:h=!0,onVisibilityChange:g,...v}=r,p=(0,Z.gy)(o);!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{domRef:t,isEnabled:r=!0,overflowCheck:n="vertical",visibility:o="auto",offset:l=0,onVisibilityChange:i,updateDeps:s=[]}=e,a=(0,f.useRef)(o);(0,f.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e||!r)return;let s=(t,r,n,l,s)=>{if("auto"===o){let t="".concat(l).concat((0,en.kC)(s),"Scroll");r&&n?(e.dataset[t]="true",e.removeAttribute("data-".concat(l,"-scroll")),e.removeAttribute("data-".concat(s,"-scroll"))):(e.dataset["".concat(l,"Scroll")]=r.toString(),e.dataset["".concat(s,"Scroll")]=n.toString(),e.removeAttribute("data-".concat(l,"-").concat(s,"-scroll")))}else{let e=r&&n?"both":r?l:n?s:"none";e!==a.current&&(null==i||i(e),a.current=e)}},u=()=>{for(let{type:t,prefix:r,suffix:o}of[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}])if(n===t||"both"===n){let n="vertical"===t?e.scrollTop>l:e.scrollLeft>l,i="vertical"===t?e.scrollTop+e.clientHeight+l<e.scrollHeight:e.scrollLeft+e.clientWidth+l<e.scrollWidth;s(t,n,i,r,o)}},d=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(t=>{e.removeAttribute("data-".concat(t,"-scroll"))})};return u(),e.addEventListener("scroll",u),"auto"!==o&&(d(),"both"===o?(e.dataset.topBottomScroll=String("vertical"===n),e.dataset.leftRightScroll=String("horizontal"===n)):(e.dataset.topBottomScroll="false",e.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(t=>{e.dataset["".concat(t,"Scroll")]=String(o===t)}))),()=>{e.removeEventListener("scroll",u),d()}},[...s,r,o,n,i,t])}({domRef:p,offset:d,visibility:c,isEnabled:h,onVisibilityChange:g,updateDeps:[i],overflowCheck:null!=(t=e.orientation)?t:"vertical"});let b=(0,f.useMemo)(()=>to({...n,className:s}),[(0,en.Xx)(n),s]);return{Component:l||"div",styles:b,domRef:p,children:i,getBaseProps:function(){var t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:p,className:b,"data-orientation":null!=(t=e.orientation)?t:"vertical",style:{"--scroll-shadow-size":"".concat(u,"px"),...a,...r.style},...v,...r}}}}({...p}),C=e=>{var t;let i=[...r.collection][e.index];if(!i)return null;let s={color:n,item:i,state:r,variant:o,disableAnimation:h,hideSelectedIcon:d,...i.props},a={position:"absolute",top:0,left:0,width:"100%",height:"".concat(e.size,"px"),transform:"translateY(".concat(e.start,"px)")};
4if("section"===i.type)return(0,J.jsx)(eY,{...s,itemClasses:l,style:{...a,...s.style}},i.key);let u=(0,J.jsx)(eX,{...s,classNames:(0,eW.d)(l,null==(t=i.props)?void 0:t.classNames),shouldHighlightOnFocus:c,style:{...a,...s.style}},i.key);return i.wrapper&&(u=i.wrapper(u)),u},[k,K]=(0,f.useState)({isTop:!1,isBottom:!0,isMiddle:!1}),P=(0,J.jsxs)(t,{...v(),children:[!r.collection.size&&!u&&(0,J.jsx)("li",{children:(0,J.jsx)("div",{...g()})}),(0,J.jsx)("div",{...(0,q.z)(T()),ref:w,"data-bottom-scroll":k.isTop,"data-top-bottom-scroll":k.isMiddle,"data-top-scroll":k.isBottom,style:{height:m,overflow:"auto"},onScroll:e=>{K(ti(e.target))},children:x>0&&y>0&&(0,J.jsx)("div",{style:{height:"".concat(M.getTotalSize(),"px"),width:"100%",position:"relative"},children:S.map(e=>C(e))})})]});return(0,J.jsxs)("div",{...i(),children:[s,P,a]})},ta=(0,ee.Gp)(function(e,t){let{isVirtualized:r,...n}=e,l=function(e){var t;let r=(0,B.w)(),{ref:n,as:l,state:i,variant:s,color:a,onAction:u,children:d,onSelectionChange:h,disableAnimation:v=null!=(t=null==r?void 0:r.disableAnimation)&&t,itemClasses:b,className:m,topContent:y,bottomContent:w,emptyContent:E="No items.",hideSelectedIcon:M=!1,hideEmptyContent:K=!1,shouldHighlightOnFocus:I=!1,classNames:N,...A}=e,W=l||"ul",j="string"==typeof W,H=(0,Z.gy)(n),V=function(e){let{filter:t,layoutDelegate:r}=e,n=(0,G.q)(e),o=(0,f.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),l=(0,f.useCallback)(e=>new U(t?t(e):e),[t]),i=(0,f.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=(0,X.K)(e,l,i),a=(0,f.useMemo)(()=>new $.Z(s,n,{layoutDelegate:r}),[s,n,r]),u=(0,f.useRef)(null);return(0,f.useEffect)(()=>{if(null!=n.focusedKey&&!s.getItem(n.focusedKey)&&u.current){var e,t,r,o,l,i,d;let c=u.current.getItem(n.focusedKey),h=[...u.current.getKeys()].map(e=>{let t=u.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),f=[...s.getKeys()].map(e=>{let t=s.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),g=(null!==(e=null==h?void 0:h.length)&&void 0!==e?e:0)-(null!==(t=null==f?void 0:f.length)&&void 0!==t?t:0),v=Math.min(g>1?Math.max((null!==(r=null==c?void 0:c.index)&&void 0!==r?r:0)-g+1,0):null!==(o=null==c?void 0:c.index)&&void 0!==o?o:0,(null!==(l=null==f?void 0:f.length)&&void 0!==l?l:0)-1),p=null,b=!1;for(;v>=0;){if(!a.isDisabled(f[v].key)){p=f[v];break}v<f.length-1&&!b?v++:(b=!0,v>(null!==(i=null==c?void 0:c.index)&&void 0!==i?i:0)&&(v=null!==(d=null==c?void 0:c.index)&&void 0!==d?d:0),v--)}n.setFocusedKey(p?p.key:null)}u.current=s},[s,a,n,n.focusedKey]),{collection:s,disabledKeys:o,selectionManager:a}}({...e,children:d,onSelectionChange:h}),J=i||V,{listBoxProps:Q}=function(e,t,r){let n=c(e,{labelable:!0}),l=e.selectionBehavior||"toggle",i=e.linkBehavior||("replace"===l?"action":"override");"toggle"===l&&"action"===i&&(i="override");let{listProps:s}=function(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:l,layoutDelegate:i}=e,s=(0,F.X)({usage:"search",sensitivity:"base"}),a=t.disabledBehavior,u=(0,f.useMemo)(()=>l||new R({collection:r,disabledKeys:n,disabledBehavior:a,ref:o,collator:s,layoutDelegate:i}),[l,i,r,n,o,s,a]),{collectionProps:d}=(0,O.g)({...e,ref:o,selectionManager:t,keyboardDelegate:u});return{listProps:d}}({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:a}=function(e){let t,r,{isDisabled:n,onBlurWithin:o,onFocusWithin:l,onFocusWithinChange:i}=e,s=(0,f.useRef)({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:u}=C(),d=(0,f.useCallback)(e=>{e.currentTarget.contains(e.target)&&s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,u(),o&&o(e),i&&i(!1))},[o,i,s,u]),c=(t=(0,f.useRef)({isFocused:!1,observer:null}),g(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),r=p(e=>{null==d||d(e)}),(0,f.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(T(e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();
4let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])),h=(0,f.useCallback)(e=>{var t;if(!e.currentTarget.contains(e.target))return;let r=k(e.target),n=D(r);if(!s.current.isFocusWithin&&n===(t=e.nativeEvent,(0,P.Wr)()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target)){l&&l(e),i&&i(!0),s.current.isFocusWithin=!0,c(e);let t=e.currentTarget;a(r,"focus",e=>{if(s.current.isFocusWithin&&!z(t,e.target)){let n=new r.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(n,"target",{value:t}),Object.defineProperty(n,"currentTarget",{value:t}),d(T(n))}},{capture:!0})}},[l,i,c,a,d]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:h,onBlur:d}}}({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=x(e.id);o.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i});let{labelProps:d,fieldProps:h}=(0,L.N)({...e,id:u,labelElementType:"span"});return{labelProps:d,listBoxProps:S(n,a,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...S(h,s)})}}({...e,onAction:u},J,H),ee=(0,f.useMemo)(()=>_({className:m}),[m]),et=(0,Y.W)(null==N?void 0:N.base,m);return{Component:W,state:J,variant:s,color:a,slots:ee,classNames:N,topContent:y,bottomContent:w,emptyContent:E,hideEmptyContent:K,shouldHighlightOnFocus:I,hideSelectedIcon:M,disableAnimation:v,className:m,itemClasses:b,getBaseProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:H,"data-slot":"base",className:ee.base({class:et}),...(0,q.z)(A,{enabled:j}),...e}},getListProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"list",className:ee.list({class:null==N?void 0:N.list}),...Q,...e}},getEmptyContentProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"empty-content",children:E,className:ee.emptyContent({class:null==N?void 0:N.emptyContent}),...e}}}}({...n,ref:t}),{Component:i,state:s,color:a,variant:u,itemClasses:d,getBaseProps:h,topContent:v,bottomContent:b,hideEmptyContent:m,hideSelectedIcon:y,shouldHighlightOnFocus:w,disableAnimation:E,getEmptyContentProps:M,getListProps:K}=l;if(r)return(0,J.jsx)(ts,{...e,...l});let I=(0,J.jsxs)(i,{...K(),children:[!s.collection.size&&!m&&(0,J.jsx)("li",{children:(0,J.jsx)("div",{...M()})}),[...s.collection].map(e=>{var t;let r={color:a,item:e,state:s,variant:u,disableAnimation:E,hideSelectedIcon:y,...e.props};if("section"===e.type)return(0,J.jsx)(eY,{...r,itemClasses:d},e.key);let n=(0,J.jsx)(eX,{...r,classNames:(0,eW.d)(d,null==(t=e.props)?void 0:t.classNames),shouldHighlightOnFocus:w},e.key);return e.wrapper&&(n=e.wrapper(n)),n})]});return(0,J.jsxs)("div",{...h(),children:[v,I,b]})})},40896:function(e,t,r){r.d(t,{R:function(){return n}});var n=r(59448).c},27532:function(e,t,r){r.d(t,{X:function(){return l}});var n=r(95586);let o=new Map;function l(e){let{locale:t}=(0,n.j)(),r=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(o.has(r))return o.get(r);let l=new Intl.Collator(t,e);return o.set(r,l),l}}}]);

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.