PageSourceSearch

https://agentskills.io/mintlify-assets/_next/static/chunks/d903818…?dpl=dpl_5ZEnTGVcNKTjFEbzPDf6xwjtsSMR

js agentskills.io collected 2026-09-24 07:47:47 UTC 71,753 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,446265,e=>{"use strict";e.s(["useValueAsRef",()=>r]);var t=e.i(146376),n=e.i(388940);function r(e){let r=(0,n.useRefWithInit)(i,e).current;return r.next=e,(0,t.useIsoLayoutEffect)(r.effect),r}function i(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}},502077,e=>{"use strict";e.s(["visuallyHidden",()=>n,"visuallyHiddenInput",()=>r]);let t={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},n={...t,position:"fixed",top:0,left:0},r={...t,position:"absolute"}},755838,(e,t,n)=>{"use strict";var r=e.r(271645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,s=r.useEffect,l=r.useLayoutEffect,u=r.useDebugValue;function a(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return l(function(){i.value=n,i.getSnapshot=t,a(i)&&c({inst:i})},[e,n,t]),s(function(){return a(i)&&c({inst:i}),e(function(){a(i)&&c({inst:i})})},[e]),u(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},802239,(e,t,n)=>{"use strict";t.exports=e.r(755838)},752822,(e,t,n)=>{"use strict";var r=e.r(271645),i=e.r(802239),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,l=r.useRef,u=r.useEffect,a=r.useMemo,c=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=s(e,(d=a(function(){function e(e){if(!u){if(u=!0,s=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return l=t}return l=e}if(t=l,o(s,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(s=e,t):(s=e,l=n)}var s,l,u=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,n,r,i]))[0],d[1]);return u(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}},430224,(e,t,n)=>{"use strict";t.exports=e.r(752822)},896499,e=>{"use strict";let t;e.s(["fastComponent",()=>l,"fastComponentRef",()=>u,"getInstance",()=>o,"register",()=>s]);var n=e.i(271645),r=e.i(388940);let i=[];function o(){return t}function s(e){i.push(e)}function l(e){let n=(n,o)=>{let s,l=(0,r.useRefWithInit)(a).current;try{for(let e of(t=l,i))e.before(l);for(let t of(s=e(n,o),i))t.after(l);l.didInitialize=!0}finally{t=void 0}return s};return n.displayName=e.displayName||e.name,n}function u(e){return n.forwardRef(l(e))}function a(){return{didInitialize:!1}}},301252,e=>{"use strict";e.s(["ReactStore",()=>d],301252),e.i(247167);var t=e.i(271645),n=e.i(802239),r=e.i(430224),i=e.i(958321),o=e.i(896499);let s=(0,i.isReactVersionAtLeast)(19)?function(e,r,i,s,l){let u,a=(0,o.getInstance)();if(!a){let o=t.useCallback(()=>r(e.getSnapshot(),i,s,l),[e,r,i,s,l]);return(0,n.useSyncExternalStore)(e.subscribe,o,o)}let c=a.syncIndex;return a.syncIndex+=1,a.didInitialize?(u=a.syncHooks[c]).store===e&&u.selector===r&&Object.is(u.a1,i)&&Object.is(u.a2,s)&&Object.is(u.a3,l)||(u.store!==e&&(a.didChangeStore=!0),u.store=e,u.selector=r,u.a1=i,u.a2=s,u.a3=l,u.value=r(e.getSnapshot(),i,s,l)):(u={store:e,selector:r,a1:i,a2:s,a3:l,value:r(e.getSnapshot(),i,s,l)},a.syncHooks.push(u)),u.value}:function(e,t,n,i,o){return(0,r.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,i,o))};(0,o.register)({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,n.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});class l{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}
1subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return s(this,e,t,n,r)}}var u=e.i(667865),a=e.i(146376),c=e.i(956789);class d extends l{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,n){t.useDebugValue(e);let r=this;(0,a.useIsoLayoutEffect)(()=>{r.state[e]!==n&&r.set(e,n)},[r,e,n])}useSyncedValueWithCleanup(e,t){let n=this;(0,a.useIsoLayoutEffect)(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);(0,a.useIsoLayoutEffect)(()=>{t.update(e)},[t,...n])}useControlledProp(e,n){t.useDebugValue(e);let r=this,i=void 0!==n;(0,a.useIsoLayoutEffect)(()=>{i&&!Object.is(r.state[e],n)&&r.setState({...r.state,[e]:n})},[r,e,n,i])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,n,r,i){return t.useDebugValue(e),s(this,this.selectors[e],n,r,i)}useContextCallback(e,n){t.useDebugValue(e);let r=(0,u.useStableCallback)(n??c.NOOP);this.context[e]=r}useStateSetter(e){let n=t.useRef(void 0);return void 0===n.current&&(n.current=t=>{this.set(e,t)}),n.current}observe(e,t){let n,r=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}}},365420,e=>{"use strict";function t(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}e.s(["mergeCleanups",()=>t])},108868,e=>{"use strict";function t(e){return e?.ownerDocument||document}e.s(["ownerDocument",()=>t])},46420,661286,379248,e=>{"use strict";e.s(["FloatingNode",()=>p,"FloatingTree",()=>g,"useFloatingNodeId",()=>f,"useFloatingParentNodeId",()=>c,"useFloatingTree",()=>d],46420),e.i(247167);var t=e.i(271645),n=e.i(883977),r=e.i(146376),i=e.i(388940);function o(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}e.s(["FloatingTreeStore",()=>s],379248),e.s(["createEventEmitter",()=>o],661286);class s{nodesRef={current:[]};events=o();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);-1!==t&&this.nodesRef.current.splice(t,1)}}var l=e.i(843476);let u=t.createContext(null),a=t.createContext(null),c=()=>t.useContext(u)?.id||null,d=e=>{let n=t.useContext(a);return e??n};function f(e){let t=(0,n.useId)(),i=d(e),o=c();return(0,r.useIsoLayoutEffect)(()=>{if(!t)return;let e={id:t,parentId:o};return i?.addNode(e),()=>{i?.removeNode(e)}},[i,t,o]),t}function p(e){let{children:n,id:r}=e,i=c();return(0,l.jsx)(u.Provider,{value:t.useMemo(()=>({id:r,parentId:i}),[r,i]),children:n})}function g(e){let{children:t,externalTree:n}=e,r=(0,i.useRefWithInit)(()=>n??new s).current;return(0,l.jsx)(a.Provider,{value:r,children:t})}},675606,e=>{"use strict";e.s(["createChangeEventDetails",()=>n,"createGenericEventDetails",()=>r]);var t=e.i(956789);function n(e,n,r,i){let o=!1,s=!1,l=i??t.EMPTY_OBJECT;return{reason:e,event:n??new Event("base-ui"),cancel(){o=!0},allowPropagation(){s=!0},get isCanceled(){return o},get isPropagationAllowed(){return s},trigger:r,...l}}function r(e,n,r){let i=r??t.EMPTY_OBJECT;return{reason:e,event:n??new Event("base-ui"),...i}}},56434,e=>{"use strict";e.s(["REASONS",()=>D],56434),e.s(["cancelOpen",()=>I,"chipRemovePress",()=>c,"clearPress",()=>a,"closePress",()=>l,"closeWatcher",()=>S,"decrementPress",()=>p,"disabled",()=>A,"drag",()=>w,"escapeKey",()=>y,"focusOut",()=>E,"imperativeAction",()=>M,"incrementPress",()=>f,"initial",()=>L,"inputBlur",()=>m,"inputChange",()=>g,"inputClear",()=>h,"inputPaste",()=>v,"inputPress",()=>b,"itemPress",()=>s,"keyboard",()=>R,"linkPress",()=>u,"listNavigation",()=>T,"missing",()=>P,"none",()=>t,"outsidePress",()=>o,"pointer",()=>C,"scrub",()=>x,"siblingOpen",()=>k,"swipe",()=>N,"trackPress",()=>d,"triggerFocus",()=>i,"triggerHover",()=>r,"triggerPress",()=>n,"wheel",()=>O,"windowResize",()=>F],216856);let t="none",n="trigger-press",r="trigger-hover",i="trigger-focus",o="outside-press",s="item-press",l="close-press",u="link-press",a="clear-press",c="chip-remove-press",d="track-press",f="increment-press",p="decrement-press",g="input-change",h="input-clear",m="input-blur",v="input-paste",b="input-press",E="focus-out",y="escape-key",S="close-watcher",T="list-navigation",R="keyboard",C="pointer",w="drag",O="wheel",x="scrub",I="c
1ancel-open",k="sibling-open",A="disabled",P="missing",L="initial",M="imperative-action",N="swipe",F="window-resize";var D=e.i(216856)},451321,e=>{"use strict";function t(e){return`data-base-ui-${e}`}e.s(["createAttribute",()=>t])},449055,e=>{"use strict";e.s(["ARROW_DOWN",()=>s,"ARROW_LEFT",()=>r,"ARROW_RIGHT",()=>i,"ARROW_UP",()=>o,"FOCUSABLE_ATTRIBUTE",()=>t,"TYPEABLE_SELECTOR",()=>n]);let t="data-base-ui-focusable",n="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",r="ArrowLeft",i="ArrowRight",o="ArrowUp",s="ArrowDown"},415618,e=>{"use strict";e.s(["popupOpen",()=>t,"pressed",()=>n]);let t="data-popup-open",n="data-pressed"},596296,145147,322846,e=>{"use strict";e.s(["getFloatingFocusElement",()=>g,"isEventTargetWithin",()=>u,"isInteractiveElement",()=>d,"isRootElement",()=>a,"isTargetInsideEnabledTrigger",()=>l,"isTypeableCombobox",()=>f,"isTypeableElement",()=>c,"matchesFocusVisible",()=>p],596296);var t=e.i(229315),n=e.i(328744),r=e.i(584446),i=e.i(449055);e.s(["triggerDisabled",()=>s],322846),e.s(["CommonTriggerDataAttributes",()=>o],145147);var o=e.i(415618),o=o;o.popupOpen;let s="data-trigger-disabled";function l(e,n){if(!(0,t.isElement)(e))return!1;if(n.hasElement(e))return!e.hasAttribute(s);for(let[,t]of n.entries())if((0,r.contains)(t,e))return!t.hasAttribute(s);return!1}function u(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function a(e){return e.matches("html,body")}function c(e){return(0,t.isHTMLElement)(e)&&e.matches(i.TYPEABLE_SELECTOR)}function d(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${i.TYPEABLE_SELECTOR}`)!=null}function f(e){return!!e&&"combobox"===e.getAttribute("role")&&c(e)}function p(e){if(!e||n.platform.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}function g(e){return e?e.hasAttribute(i.FOCUSABLE_ATTRIBUTE)?e:e.querySelector(`[${i.FOCUSABLE_ATTRIBUTE}]`)||e:null}},157940,e=>{"use strict";e.s(["isClickLikeEvent",()=>l,"isMouseLikePointerType",()=>s,"isReactEvent",()=>r,"isVirtualClick",()=>i,"isVirtualPointerEvent",()=>o,"stopEvent",()=>n]);var t=e.i(328744);function n(e){e.preventDefault(),e.stopPropagation()}function r(e){return"nativeEvent"in e}function i(e){return""===e.pointerType&&!!e.isTrusted||(t.platform.os.android&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function o(e){return!t.platform.env.jsdom&&(!t.platform.os.android&&0===e.width&&0===e.height||t.platform.os.android&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function s(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function l(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t}},958408,e=>{"use strict";function t(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}e.s(["getNodeAncestors",()=>t,"getNodeChildren",()=>function e(t,n,r=!0){return t.filter(e=>e.parentId===n).flatMap(n=>[...!r||n.context?.open?[n]:[],...e(t,n.id,r)])}])},17989,e=>{"use strict";e.s(["useDismiss",()=>b]);var t=e.i(271645),n=e.i(574735),r=e.i(365420),i=e.i(108868),o=e.i(667865),s=e.i(439957),l=e.i(229315),u=e.i(328744),a=e.i(46420),c=e.i(675606),d=e.i(56434),f=e.i(451321),p=e.i(584446),g=e.i(596296),h=e.i(157940),m=e.i(958408);function v(){return!1}function b(e,E={}){let{enabled:y=!0,escapeKey:S=!0,outsidePress:T=!0,outsidePressEvent:R="sloppy",referencePress:C=v,bubbles:w,externalTree:O}=E,x="rootStore"in e?e.rootStore:e,I=x.useState("open"),k=x.useState("floatingElement"),{dataRef:A,events:P}=x.context,L=(0,a.useFloatingTree)(O),M=(0,o.useStableCallback)("function"==typeof T?T:()=>!1),N="function"==typeof T?M:T,F=!1!==N,D=(0,o.useStableCallback)(()=>R),{escapeKey:W,outsidePress:B}={escapeKey:"boolean"==typeof w?w:w?.escapeKey??!1,outsidePress:"boolean"==typeof w?w:w?.outsidePress??!0},H=t.useRef(!1),_=t.useRef(!1),V=t.useRef(!1),U=t.useRef(!1),Y=t.useRef(!1),j=t.useRef(""),q=t.useRef(null),K=(0,s.useTimeout)(),G=(0,s.useTimeout)(),X=(0,o.useStableCallback)(()=>{G.clear(),A.current.insideReactTree=!1}),$=(0,o.useStableCallback)(e=>{let t=A.current.floatingContext?.nodeId;return(L?(0,m.getNodeChildren)(L.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),z=(0,o.useStableCallback)(e=>(0,g.isEventTargetWithin)(e,x.select("floatingElement"))||(0,g.isEventTargetWithin)(e,x.select("domReferenceElement"))),J=(0,o.useStableCallback)(e=>{C()&&x.setOpen(!1,(0,c.createChangeEventDetails)(d.REASONS.triggerPress,e.nativeEvent))}),Q=(0,o.useStableCallback)(e=>{if(!I||!y||!S||"Escape"!==e.key||Y.current||!W&&$("__escapeKeyBubbles"))return;let t=(0,h.isReactEvent)(e)?e.nativeEvent:e,n=(0,c.createChangeEventDetails)(d.REASONS.escapeKey,t);x.setOpen(!1,n),n.isCanceled||e.preventDefault(),W||n.isPropagationAllowed||e.stopPropagation()}),Z=(0,o.useStableCallback)(()=>{A.current.insideReactTree=!0,G.start(0,X)}),ee=(0,o.useStableCallback)(e=>{if(!I||!y||0!==e.button)return;let t=(0,p.getTarget)(e.nativeEvent);
1(0,p.contains)(x.select("floatingElement"),t)&&(H.current||(H.current=!0,_.current=!1))}),et=(0,o.useStableCallback)(e=>{I&&y&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&H.current&&(_.current=!0)});t.useEffect(()=>{function e(e){e.open||(U.current=!1)}return P.on("openchange",e),()=>{P.off("openchange",e)}},[P]),t.useEffect(()=>{if(!I||!y)return I||(U.current=!1),X;A.current.__escapeKeyBubbles=W,A.current.__outsidePressBubbles=B;let e=new s.Timeout,t=new s.Timeout,o=(0,i.ownerDocument)(k);function a(){V.current=!0,t.start(0,()=>{V.current=!1})}function v(){H.current=!1,_.current=!1}function b(){let e=j.current,t=D(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function E(e){let t=A.current.floatingContext?.nodeId,n=L&&(0,m.getNodeChildren)(L.nodesRef.current,t).some(t=>(0,g.isEventTargetWithin)(e,t.context?.elements.floating));return z(e)||n}function T(e){if(function(e){let t=b();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}(e)){"click"===e.type||z(e)||(t.clear(),V.current=!1),X();return}if(A.current.insideReactTree)return void X();let n=(0,p.getTarget)(e),r=`[${(0,f.createAttribute)("inert")}]`,o=(0,l.isElement)(n)?n.getRootNode():null,s=Array.from(((0,l.isShadowRoot)(o)?o:(0,i.ownerDocument)(x.select("floatingElement"))).querySelectorAll(r)),u=x.context.triggerElements;if(n&&(u.hasElement(n)||u.hasMatchingElement(e=>(0,p.contains)(e,n))))return;let a=(0,l.isElement)(n)?n:null;for(;a&&!(0,l.isLastTraversableNode)(a);){let e=(0,l.getParentNode)(a);if((0,l.isLastTraversableNode)(e)||!(0,l.isElement)(e))break;a=e}if(s.length&&(0,l.isElement)(n)&&!(0,g.isRootElement)(n)&&!(0,p.contains)(n,x.select("floatingElement"))&&s.every(e=>!(0,p.contains)(a,e)))return;if((0,l.isHTMLElement)(n)&&!("touches"in e)){let t=(0,l.isLastTraversableNode)(n),r=(0,l.getComputedStyle)(n),i=/auto|scroll/,o=t||i.test(r.overflowX),s=t||i.test(r.overflowY),u=o&&n.clientWidth>0&&n.scrollWidth>n.clientWidth,a=s&&n.clientHeight>0&&n.scrollHeight>n.clientHeight,c="rtl"===r.direction,d=a&&(c?e.offsetX<=n.offsetWidth-n.clientWidth:e.offsetX>n.clientWidth),f=u&&e.offsetY>n.clientHeight;if(d||f)return}if(!E(e)){if("intentional"===b()){if(0!==e.detail&&!(0,h.isVirtualClick)(e)&&!U.current)return;if(V.current){t.clear(),V.current=!1;return}}("function"!=typeof N||N(e))&&($("__outsidePressBubbles")||(x.setOpen(!1,(0,c.createChangeEventDetails)(d.REASONS.outsidePress,e)),X()))}}function R(e){if("sloppy"!==b()||!x.select("open")||!y||z(e))return;let t=e.touches[0];t&&(q.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},K.start(1e3,()=>{q.current&&(q.current.dismissOnTouchEnd=!1,q.current.dismissOnMouseDown=!1)}))}function C(e,t){let r=(0,p.getTarget)(e);if(!r)return;let i=(0,n.addEventListener)(r,e.type,()=>{t(e),i()})}function w(e){K.clear(),"pointerdown"===e.type&&(0===e.button&&(U.current=!0),j.current=e.pointerType),("mousedown"!==e.type||!q.current||q.current.dismissOnMouseDown)&&C(e,e=>{if("pointerdown"===e.type)"sloppy"!==b()||"touch"===e.pointerType||!x.select("open")||!y||z(e)||T(e);else T(e)})}function O(e){if("pointercancel"===e.type&&(U.current=!1),!H.current)return;let n=_.current;if(v(),"intentional"===b()){if("pointercancel"===e.type){n&&a();return}if(!E(e)){if(n)return void a();("function"!=typeof N||N(e))&&(t.clear(),V.current=!0,X())}}}function P(e){if("sloppy"!==b()||!q.current||z(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-q.current.startX),r=Math.abs(t.clientY-q.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(q.current.dismissOnTouchEnd=!0),i>10&&(T(e),K.clear(),q.current=null)}function M(e){"sloppy"!==b()||!q.current||z(e)||(q.current.dismissOnTouchEnd&&T(e),K.clear(),q.current=null)}let G=(0,r.mergeCleanups)(S&&(0,r.mergeCleanups)((0,n.addEventListener)(o,"keydown",Q),(0,n.addEventListener)(o,"compositionstart",function(){e.clear(),Y.current=!0}),(0,n.addEventListener)(o,"compositionend",function(){e.start(5*!!u.platform.engine.webkit,()=>{Y.current=!1})})),F&&(0,r.mergeCleanups)((0,n.addEventListener)(o,"click",w,!0),(0,n.addEventListener)(o,"pointerdown",w,!0),(0,n.addEventListener)(o,"pointerup",O,!0),(0,n.addEventListener)(o,"pointercancel",O,!0),(0,n.addEventListener)(o,"mousedown",w,!0),(0,n.addEventListener)(o,"mouseup",O,!0),(0,n.addEventListener)(o,"touchstart",function(e){j.current="touch",C(e,R)},{capture:!0,passive:!0}),(0,n.addEventListener)(o,"touchmove",function(e){C(e,P)}
1,{capture:!0,passive:!0}),(0,n.addEventListener)(o,"touchend",function(e){C(e,M)},{capture:!0,passive:!0})));return()=>{G(),e.clear(),t.clear(),v(),V.current=!1,X()}},[A,k,S,F,N,I,y,W,B,Q,X,D,$,z,L,x,K]);let en=t.useMemo(()=>({onKeyDown:Q,onPointerDown:J,onClick:J}),[Q,J]),er=t.useMemo(()=>({onKeyDown:Q,onPointerDown:et,onMouseDown:et,onClickCapture:Z,onMouseDownCapture(e){Z(),ee(e)},onPointerDownCapture(e){Z(),ee(e)},onMouseUpCapture:Z,onTouchEndCapture:Z,onTouchMoveCapture:Z}),[Q,Z,ee,et]);return t.useMemo(()=>y?{reference:en,floating:er,trigger:en}:{},[y,en,er])}},990627,e=>{"use strict";e.s(["PopupTriggerMap",()=>t]);class t{constructor(){this.idMap=new Map}add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}}},156341,e=>{"use strict";e.s(["FloatingRootStore",()=>o]);var t=e.i(301252),n=e.i(661286),r=e.i(157940);let i={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId};class o extends t.ReactStore{constructor(e){let{syncOnly:t,nested:r,onOpenChange:o,triggerElements:s,...l}=e;super({...l,positionReference:l.referenceElement,domReferenceElement:l.referenceElement},{onOpenChange:o,dataRef:{current:{}},events:(0,n.createEventEmitter)(),nested:r,triggerElements:s},i),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&(0,r.isClickLikeEvent)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>
1{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)};setOpen=(e,t)=>{if(this.syncOnly)return void this.context.onOpenChange?.(e,t);this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}}},708445,e=>{"use strict";e.s(["AnimationFrame",()=>i,"useAnimationFrame",()=>o]);var t=e.i(388940),n=e.i(626300);globalThis.requestAnimationFrame;let r=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||null!==this.callbacks[t]&&(this.callbacks[t]=null,this.callbacksCount-=1)}};class i{static create(){return new i}static request(e){return r.request(e)}static cancel(e){return r.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=r.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(r.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}function o(){let e=(0,t.useRefWithInit)(i.create).current;return(0,n.useOnMount)(e.disposeEffect),e}},621082,343084,e=>{"use strict";e.s(["findNonDisabledListIndex",()=>F,"getGridNavigatedIndex",()=>D,"getMaxListIndex",()=>N,"getMinListIndex",()=>M,"isElementVisible",()=>B,"isIndexOutOfListBounds",()=>L,"isListIndexDisabled",()=>W],621082),e.s(["clamp",()=>a,"createCoords",()=>l,"evaluate",()=>c,"floor",()=>s,"getAlignment",()=>f,"getAlignmentAxis",()=>m,"getAlignmentSides",()=>v,"getAxisLength",()=>g,"getExpandedPlacements",()=>b,"getOppositeAlignmentPlacement",()=>E,"getOppositeAxis",()=>p,"getOppositeAxisPlacements",()=>C,"getOppositePlacement",()=>w,"getPaddingObject",()=>O,"getSide",()=>d,"getSideAxis",()=>h,"max",()=>i,"min",()=>r,"placements",()=>n,"rectToClientRect",()=>x,"round",()=>o,"sides",()=>t],343084);let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,s=Math.floor,l=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"};function a(e,t,n){return i(e,r(t,n))}function c(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function h(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function m(e){return p(h(e))}function v(e,t,n){void 0===n&&(n=!1);let r=f(e),i=m(e),o=g(i),s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=w(s)),[s,w(s)]}function b(e){let t=w(e);return[E(e),t,E(t)]}function E(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let y=["left","right"],S=["right","left"],T=["top","bottom"],R=["bottom","top"];function C(e,t,n,r){let i=f(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?S:y;return t?y:S;case"left":case"right":return t?T:R;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(E)))),o}function w(e){let t=d(e);return u[t]+e.slice(t.length)}function O(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function x(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}var I=e.i(229315),k=e.i(157940),A=e.i(449055);function P(e,t,n){return Math.floor(e/t)!==n}function L(e,t){return t<0||t>=e.length}function M(e,t){return F(e.current,{disabledIndices:t})}function N(e,t){return F(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function F(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let o=t;do o+=n?-i:i;while(o>=0&&o<=e.length-1&&W(e,o,r))return o}function D(e,{event:t,orientation:n,loopFocus:r,onLoop:i,rtl:o,cols:l,disabledIndices:u,minIndex:a,maxIndex:c,prevIndex:d,stopEvent:f=!1}){let p,g=d;if(t.key===A.ARROW_UP?p="up":t.key===A.ARROW_DOWN&&(p="down"),p){let n=[],o=[],h=!1,m=0;{let t=null,r=-1;e.forEach((e,i)=>{if(null==e)return;m+=1;let s=e.closest('[role="row"]');
1s&&(h=!0),(s!==t||-1===r)&&(t=s,n[r+=1]=[]),n[r].push(i),o[i]=r})}let v=!1,b=0;if(h)for(let e of n){let t=e.length;t>b&&(b=t),t!==l&&(v=!0)}let E=v&&m<e.length,y=b||l;f&&(0,k.stopEvent)(t);let S=(s=>{if(!v||-1===d)return;let l=o[d];if(null==l)return;let a=n[l].indexOf(d),c="up"===s?-1:1;for(let s=l+c,f=0;f<n.length;f+=1,s+=c){if(s<0||s>=n.length){if(!r||E)return;if(s=s<0?n.length-1:0,i){let e=Math.min(a,n[s].length-1);s=o[i(t,d,n[s][e]??n[s][0])]??s}}let l=n[s];for(let t=Math.min(a,l.length-1);t>=0;t-=1){let n=l[t];if(!W(e,n,u))return n}}})(p)??(t=>{if(!E||-1===d)return;let n=d%y,i="up"===t?-y:y,o=c-c%y,l=s(c/y)+1;for(let t=d-n+i,s=0;s<l;s+=1,t+=i){if(t<0||t>c){if(!r)return;t=t<0?o:0}let i=Math.min(t+y-1,c);for(let r=Math.min(t+n,i);r>=t;r-=1)if(!W(e,r,u))return r}})(p);if(void 0!==S)g=S;else if(-1===d)g="up"===p?c:a;else if(g=F(e,{startingIndex:d,amount:y,decrement:"up"===p,disabledIndices:u}),r){if("up"===p&&(d-y<a||g<0)){let e=d%y,n=c%y,r=c-(n-e);g=n===e?c:n>e?r:r-y,i&&(g=i(t,d,g))}"down"===p&&d+y>c&&(g=F(e,{startingIndex:d%y-y,amount:y,disabledIndices:u}),i&&(g=i(t,d,g)))}L(e,g)&&(g=d)}if("both"===n){let n=s(d/l);t.key===(o?A.ARROW_LEFT:A.ARROW_RIGHT)&&(f&&(0,k.stopEvent)(t),d%l!=l-1?(g=F(e,{startingIndex:d,disabledIndices:u}),r&&P(g,l,n)&&(g=F(e,{startingIndex:d-d%l-1,disabledIndices:u}),i&&(g=i(t,d,g)))):r&&(g=F(e,{startingIndex:d-d%l-1,disabledIndices:u}),i&&(g=i(t,d,g))),P(g,l,n)&&(g=d)),t.key===(o?A.ARROW_RIGHT:A.ARROW_LEFT)&&(f&&(0,k.stopEvent)(t),d%l!=0?(g=F(e,{startingIndex:d,decrement:!0,disabledIndices:u}),r&&P(g,l,n)&&(g=F(e,{startingIndex:d+(l-d%l),decrement:!0,disabledIndices:u}),i&&(g=i(t,d,g)))):r&&(g=F(e,{startingIndex:d+(l-d%l),decrement:!0,disabledIndices:u}),i&&(g=i(t,d,g))),P(g,l,n)&&(g=d));let a=s(c/l)===n;L(e,g)&&(r&&a?(g=t.key===(o?A.ARROW_RIGHT:A.ARROW_LEFT)?c:F(e,{startingIndex:d-d%l-1,disabledIndices:u}),i&&(g=i(t,d,g))):g=d)}return g}function W(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let r=e[t];return!!r&&(!!(!B(r)||r.matches(":disabled"))||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function B(e,t=e?(0,I.getComputedStyle)(e):null){var n;return!!e&&!!e.isConnected&&!!t&&"hidden"!==(n=t).visibility&&"collapse"!==n.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==t.display&&"contents"!==t.display)}},503596,e=>{"use strict";e.s(["enqueueFocus",()=>r]);var t=e.i(956789);let n=0;function r(e,i={}){let{preventScroll:o=!1,sync:s=!1,shouldFocus:l}=i;function u(){(!l||l())&&e?.focus({preventScroll:o})}if(cancelAnimationFrame(n),s)return u(),t.NOOP;let a=requestAnimationFrame(u);return n=a,()=>{n===a&&(cancelAnimationFrame(a),n=0)}}},385689,e=>{"use strict";e.s(["useClick",()=>c]);var t=e.i(271645),n=e.i(708445),r=e.i(439957),i=e.i(956789),o=e.i(584446),s=e.i(596296),l=e.i(157940),u=e.i(675606),a=e.i(56434);function c(e,d={}){let{enabled:f=!0,event:p="click",toggle:g=!0,ignoreMouse:h=!1,stickIfOpen:m=!0,touchOpenDelay:v=0,reason:b=a.REASONS.triggerPress}=d,E="rootStore"in e?e.rootStore:e,y=E.context.dataRef,S=t.useRef(void 0),T=(0,n.useAnimationFrame)(),R=(0,r.useTimeout)(),C=t.useMemo(()=>{function e(e,t,n,r){let i=(0,u.createChangeEventDetails)(b,t,n);e&&"touch"===r&&v>0?R.start(v,()=>{E.setOpen(!0,i)}):E.setOpen(e,i)}function t(e,t,n){let r=y.current.openEvent,i=E.select("domReferenceElement")!==t;return!!e&&!!i||!e||!g||!!r&&!!m&&!n(r.type)}return{onPointerDown(e){S.current=(0,l.isMouseLikePointerType)(e.pointerType,!0)&&(0,l.isVirtualPointerEvent)(e.nativeEvent)?"virtual":e.pointerType},onMouseDown(n){let r=S.current,i=n.nativeEvent,u=E.select("open");if(0!==n.button||"click"===p||(0,l.isMouseLikePointerType)(r,!0)&&h)return;let a=t(u,n.currentTarget,e=>"click"===e||"mousedown"===e),c=(0,o.getTarget)(i);if((0,s.isTypeableElement)(c))return void e(a,i,c,r);let d=n.currentTarget;T.request(()=>{e(a,i,d,r)})},onClick(n){if("mousedown-only"===p)return;let r=S.current;if("mousedown"===p&&r){S.current=void 0;return}(0,l.isMouseLikePointerType)(r,!0)&&h||e(t(E.select("open"),n.currentTarget,e=>"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e),n.nativeEvent,n.currentTarget,r)},onKeyDown(){S.current=void 0}}},[y,p,h,b,E,m,g,T,R,v]);return t.useMemo(()=>f?{reference:C}:i.EMPTY_OBJECT,[f,C])}},594603,e=>{"use strict";function t(e){return null==e?e:"current"in e?e.current:e}e.s(["resolveRef",()=>t])},180862,e=>{"use strict";e.s(["endingStyle",()=>n,"startingStyle",()=>t]);let t="data-starting-style",n="data-ending-style"},137584,222640,e=>{"use strict";e.s(["useOpenChangeComplete",()=>
1a],137584);var t=e.i(271645),n=e.i(667865);e.s(["useAnimationsFinished",()=>u],222640);var r=e.i(174080),i=e.i(708445),o=e.i(594603),s=e.i(180862);let l=null;function u(e,t=!1,a=!1){let c=(0,i.useAnimationFrame)();return(0,n.useStableCallback)((n,i=null)=>{c.cancel();let u=(0,o.resolveRef)(e);if(null==u)return;let d=()=>{if(!a)return void r.flushSync(n);if(!l){let e=[];l=e,queueMicrotask(()=>{l=null,r.flushSync(()=>{for(let t of e)t()})})}l.push(()=>{i?.aborted||n()})};if("function"!=typeof u.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void n();function f(){Promise.all(u.getAnimations().map(e=>e.finished)).then(()=>{i?.aborted||d()},()=>{if(!i?.aborted){if(u.getAnimations().some(e=>e.pending||"finished"!==e.playState))return void f();d()}})}if(t){let e=s.startingStyle;if(!u.hasAttribute(e))return void c.request(f);let t=new MutationObserver(()=>{u.hasAttribute(e)||(t.disconnect(),f())});return t.observe(u,{attributes:!0,attributeFilter:[e]}),void i?.addEventListener("abort",()=>t.disconnect(),{once:!0})}c.request(f)})}function a(e){let{enabled:r=!0,open:i,ref:o,batch:s=!1,onComplete:l}=e,a=(0,n.useStableCallback)(l),c=u(o,i,s);t.useEffect(()=>{if(!r)return;let e=new AbortController;return c(a,e.signal),()=>{e.abort()}},[r,i,a,c])}},223910,e=>{"use strict";e.s(["useTransitionStatus",()=>i]);var t=e.i(271645),n=e.i(146376),r=e.i(708445);function i(e,o=!1,s=!1,l=!1){let[u,a]=t.useState(e&&o?"idle":void 0),[c,d]=t.useState(e&&!l);return e&&!c&&(d(!0),a("starting")),e||!c||"ending"===u||s||a("ending"),e||c||"ending"!==u||a(void 0),(0,n.useIsoLayoutEffect)(()=>{if(!e&&c&&"ending"!==u&&s){let e=r.AnimationFrame.request(()=>{a("ending")});return()=>{r.AnimationFrame.cancel(e)}}},[e,c,u,s]),(0,n.useIsoLayoutEffect)(()=>{if(!e||o)return;let t=r.AnimationFrame.request(()=>{a(void 0)});return()=>{r.AnimationFrame.cancel(t)}},[o,e]),(0,n.useIsoLayoutEffect)(()=>{if(!e||!o)return;e&&c&&"idle"!==u&&a("starting");let t=r.AnimationFrame.request(()=>{a("idle")});return()=>{r.AnimationFrame.cancel(t)}},[o,e,c,u]),{mounted:c,setMounted:d,transitionStatus:u}}},427803,e=>{"use strict";e.s(["useEnhancedClickHandler",()=>n]);var t=e.i(271645);function n(e){let n=t.useRef(""),r=t.useCallback(t=>{t.defaultPrevented||(n.current=t.pointerType,e(t,t.pointerType))},[e]);return{onClick:t.useCallback(t=>{if(0===t.detail)return void e(t,"keyboard");"pointerType"in t?e(t,t.pointerType):e(t,n.current),n.current=""},[e]),onPointerDown:r}}},606039,e=>{"use strict";e.s(["useValueChanged",()=>i]);var t=e.i(271645),n=e.i(146376),r=e.i(667865);function i(e,i){let o=t.useRef(e),s=(0,r.useStableCallback)(i);(0,n.useIsoLayoutEffect)(()=>{o.current!==e&&s(o.current),o.current=e},[e,s])}},32199,e=>{"use strict";e.s(["useOpenInteractionType",()=>l,"useOpenMethodTriggerProps",()=>s]);var t=e.i(271645),n=e.i(667865),r=e.i(427803),i=e.i(328744),o=e.i(606039);function s(e,o){let s=(0,n.useStableCallback)((t,n)=>{("function"==typeof e?e():e)||o(n||(i.platform.os.ios?"touch":""))}),{onClick:l,onPointerDown:u}=(0,r.useEnhancedClickHandler)(s);return t.useMemo(()=>({onClick:l,onPointerDown:u}),[l,u])}function l(e){let[n,r]=t.useState(null),i=s(e,r);return(0,o.useValueChanged)(e,t=>{t&&!e&&r(null)}),t.useMemo(()=>({openMethod:n,triggerProps:i}),[n,i])}},350527,e=>{"use strict";e.s(["useSyncedFloatingRootContext",()=>o]);var t=e.i(271645),n=e.i(146376),r=e.i(229315),i=e.i(156341);function o(e){let{popupStore:o,treatPopupAsFloatingElement:s=!1,floatingRootContext:l,floatingId:u,nested:a,onOpenChange:c}=e,d=o.useState("open"),f=o.useState("activeTriggerElement"),p=o.useState(s?"popupElement":"positionerElement"),g=o.context.triggerElements,h=t.useRef(null);void 0===l&&null===h.current&&(h.current=new i.FloatingRootStore({open:d,transitionStatus:void 0,referenceElement:f,floatingElement:p,triggerElements:g,onOpenChange:c,floatingId:u,syncOnly:!0,nested:a}));let m=l??h.current;return o.useSyncedValue("floatingId",u),(0,n.useIsoLayoutEffect)(()=>{let e={open:d,floatingId:u,referenceElement:f,floatingElement:p};(0,r.isElement)(f)&&(e.domReferenceElement=f),m.state.positionReference===m.state.referenceElement&&(e.positionReference=f),m.update(e)},[d,u,f,p,m]),m.context.onOpenChange=c,m.context.nested=a,m}},264111,e=>{"use strict";e.s(["FOCUSABLE_POPUP_PROPS",()=>h,"PopupHandleAttachment",()=>b,"applyPopupOpenChange",()=>R,"attachPreventUnmountOnClose",()=>T,"createDefaultInitialFocus",()=>m,"createPopupOpenState",()=>S,"useImplicitActiveTrigger",()=>w,"useOpenStateTransitions",()=>O,"usePopupInteractionProps",()=>x,"usePopupRootStore",()=>v,"usePopupRootSync",()=>I,"useTriggerDataForwarding",()=>C,"useTriggerRegistration",()=>y]);var t=e.i(271645),n=e.i(174080),r=e.i(956789),i=e.i(883977),o=e.i(667865),s=e.i(146376),l=e.i(388940),u=e.i(449055),a=e.i(46420),c=e.i(350527),d=e.i(223910),f=e.i(137584),p=e.i(675606),g=e.i(56434);let h={tabIndex:-1,[u.FOCUSABLE_ATTRIBUTE]:""};function m(e){return t=>"touch"!==t||e.current}function v(e,t=!1){let n=(0,i.useId)(),r=null!=(0,a.useFloatingParentNodeId)(),o=(0,l.useRefWithInit)(()=>e(n,r)).current;return(0,c.useSyncedFloatingRootContext)({popupStore:o,treatPopupAsFloatingElement:t,floatingRootContext:o.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:o.setOpen}),o}function b({handle:e,store:t}){return(0,s.useIsoLayoutEffect)(()=>e.attachStore(t),[e,t]),null}function E(e){let t=e.context.triggerElements.size;e.select("open")&&e.state.triggerCount!==t&&e.set("triggerCount",t)}function y(e,n){let r=t.useRef(null);return(0,o.useStableCallback)(t=>{let i=r.current;if(null!==i){if(i.element===t&&i.store===n&&i.id===e)return;r.current=null;let o=i.store;o.context.triggerElements.getById(i.id)===i.element&&(o.context.triggerElements.delete(i.id),E(o))}null!==t&&void 0!==e&&(r.current={store:n,id:e,element:t},n.context.triggerElements.add(e,t),E(n))})}function S(e,t,n,r=!1){let i=e.preventUnmountingOnClose;t?i=!1:r&&(i=!0);let o=n?.id??null,s=e.activeTriggerId,l=e.activeTriggerElement;return(o||t)&&(s=o,l=n??null),{open:t,preventUnmountingOnClose:i,activeTriggerId:s,activeTriggerElement:l}}function T(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function R(e,t,r,i={}){let o=r.reason,s=o===g.REASONS.triggerHover,l=t&&o===g.REASONS.triggerFocus,u=!t&&(o===g.REASONS.triggerPress||o===g.REASONS.escapeKey),a=T(r);if(e.context.onOpenChange?.(t,r),r.isCanceled)return;i.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,r);let c=()=>{let n=S(e.state,t,r.trigger,a()),o={...i.extraState,...n};l?o.instantType="focus":u?o.instantType="dismiss":s&&(o.instantType=void 0),e.update(o)};s?n.flushSync(c):c()}function C(e,t,n,r){let i=n.useState("isMountedByTrigger",e),l=y(e,n),u=(0,o.useStableCallback)(t=>{let i=n.select("open"),o=n.select("activeTriggerId");if(o===e){let e={activeTriggerElement:t,...i?r:null};n.update(e);return}if(null==o&&i){let i={activeTriggerId:e??null,activeTriggerElement:t,...r};n.update(i)}}),a=(0,o.useStableCallback)(e=>{l(e),e&&u(e)});return(0,s.useIsoLayoutEffect)(()=>(a(t.current),()=>a(null)),[a,t,n,e]),(0,s.useIsoLayoutEffect)(()=>
1{if(i){let e={activeTriggerElement:t.current,...r};n.update(e)}},[i,n,t,...Object.values(r)]),{registerTrigger:a,isMountedByThisTrigger:i}}function w(e,n={}){let{closeOnActiveTriggerUnmount:r=!1}=n,i=t.useRef(null),o=e.useState("open"),l=e.useState("triggerCount"),u=e.useState("activeTriggerId"),a=e.useState("activeTriggerElement");(0,s.useIsoLayoutEffect)(()=>{if(!o){i.current=null,0!==e.state.triggerCount&&e.set("triggerCount",0);return}let t=e.context.triggerElements.size,n={};e.state.triggerCount!==t&&(n.triggerCount=t);let s=e.select("activeTriggerId"),l=null;if(s){let t=e.context.triggerElements.getById(s);if(t)i.current=s,t!==e.state.activeTriggerElement&&(n.activeTriggerElement=t);else{for(let[t,r]of e.context.triggerElements.entries())if(r===e.state.activeTriggerElement){n.activeTriggerId=t,n.activeTriggerElement=r,i.current=t;break}void 0===n.activeTriggerId&&(i.current===s?l=s:i.current=null)}}else i.current=null;if(!l&&!s&&1===t){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,r]=t.value;n.activeTriggerId=e,n.activeTriggerElement=r,i.current=e}}(void 0!==n.triggerCount||void 0!==n.activeTriggerId||void 0!==n.activeTriggerElement)&&e.update(n),l&&r&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===l&&!e.context.triggerElements.getById(l)){let t=(0,p.createChangeEventDetails)(g.REASONS.none);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[o,e,l,u,a,r])}function O(e,t,n,r){let{mounted:i,setMounted:s,transitionStatus:l}=(0,d.useTransitionStatus)(e,!1,!1,r),u=t.useState("preventUnmountingOnClose"),a=!e&&u;t.useSyncedValues({mounted:i,transitionStatus:l,preventUnmountingOnClose:a});let c=(0,o.useStableCallback)(()=>{s(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return(0,f.useOpenChangeComplete)({enabled:i&&!e&&!a,open:e,ref:t.context.popupRef,onComplete(){e||c()}}),{forceUnmount:c,transitionStatus:l}}function x(e,t){e.useSyncedValues(t),(0,s.useIsoLayoutEffect)(()=>()=>{e.update({activeTriggerProps:r.EMPTY_OBJECT,inactiveTriggerProps:r.EMPTY_OBJECT,popupProps:r.EMPTY_OBJECT})},[e])}function I(e,t){(0,s.useIsoLayoutEffect)(()=>{t||null===e.state.openMethod||e.set("openMethod",null)},[t,e]),(0,s.useIsoLayoutEffect)(()=>()=>{null!==e.state.openMethod&&e.set("openMethod",null)},[e])}},838452,690325,e=>{"use strict";e.s(["CompositeRootContext",()=>r,"useCompositeRootContext",()=>i],838452),e.i(247167);var t=e.i(733332),n=e.i(271645);let r=n.createContext(void 0);function i(e=!1){let o=n.useContext(r);if(void 0===o&&!e)throw Error((0,t.default)(16));return o}function o(e){let{focusableWhenDisabled:t,disabled:r,composite:i=!1,tabIndex:o=0,isNativeButton:s}=e,l=i&&!1!==t,u=i&&!1===t;return{props:n.useMemo(()=>{let e={onKeyDown(e){r&&t&&"Tab"!==e.key&&e.preventDefault()}};return i||(e.tabIndex=o,!s&&r&&(e.tabIndex=t?o:-1)),(s&&(t||l)||!s&&r)&&(e["aria-disabled"]=r),s&&(!t||u)&&(e.disabled=r),e},[i,r,t,l,u,s,o])}}e.s(["useFocusableWhenDisabled",()=>o],690325)},333848,e=>{"use strict";e.s(["ownerWindow",()=>t.getWindow]);var t=e.i(229315)},540886,64350,e=>{"use strict";e.s(["useButton",()=>c],540886);var t=e.i(271645),n=e.i(229315),r=e.i(667865),i=e.i(146376),o=e.i(176782),s=e.i(838452),l=e.i(690325);e.s(["dispatchClickWithModifiers",()=>a],64350);var u=e.i(333848);function a(e,t,{detail:n=0}={}){e.dispatchEvent(new((0,u.ownerWindow)(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:n,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function c(e={}){let{disabled:u=!1,focusableWhenDisabled:f,tabIndex:p=0,native:g=!0,composite:h}=e,m=t.useRef(null),v=(0,s.useCompositeRootContext)(!0),b=h??void 0!==v,{props:E}=(0,l.useFocusableWhenDisabled)({focusableWhenDisabled:f,disabled:u,composite:b,tabIndex:p,isNativeButton:g}),y=t.useCallback(()=>{let e=m.current;d(e)&&b&&u&&void 0===E.disabled&&e.disabled&&(e.disabled=!1)},[u,E.disabled,b]);return(0,i.useIsoLayoutEffect)(y,[y]),{getButtonProps:t.useCallback((e={})=>{let{onClick:t,onMouseDown:r,onKeyUp:i,onKeyDown:s,onPointerDown:l,...c}=e;return(0,o.mergeProps)({onClick(e){if(u)return void e.preventDefault();t?.(e)},onMouseDown(e){u||r?.(e)},onKeyDown(e){var t;if(u||((0,o.makeEventPreventable)(e),s?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,i=e.currentTarget,l=d(i),c=!g&&(t=i,(0,n.isHTMLElement)(t)&&"A"===t.tagName&&!!t.href),f=r&&(g?l:!c),p="Enter"===e.key,h=" "===e.key,m=i.getAttribute("role"),v=m?.startsWith("menuitem")||"option"===m||"gridcell"===m;if(r&&b&&h){if(e.defaultPrevented&&v)return;e.preventDefault(),(!g||l)&&(e.preventBaseUIHandler(),a(i,e));return}if(!f||g||!h&&!p){r&&c&&h&&e.preventDefault();return}!e.defaultPrevented&&(e.preventDefault(),p&&(e.preventBaseUIHandler(),a(i,e)))},onKeyUp(e){if(!u){if((0,o.makeEventPreventable)(e),i?.(e),e.target===e.currentTarget&&g&&b&&d(e.currentTarget)&&" "===e.key)return void e.preventDefault();!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||g||b||e.defaultPrevented||" "!==e.key||(e.preventBaseUIHandler(),a(e.currentTarget,e)))}},onPointerDown(e){if(u)return void e.preventDefault();l?.(e)}},g?{type:"button"}:{role:"button"},E,c)},[u,E,b,g]),buttonRef:(0,r.useStableCallback)(e=>{m.current=e,y()})}}function d(e){return(0,n.isHTMLElement)(e)&&"BUTTON"===e.tagName}},474354,38380,e=>{"use strict";e.s(["transitionStatusMapping",()=>i],474354);var t=e.i(180862);let n={[t.startingStyle]:""},r={[t.endingStyle]:""},i={transitionStatus:e=>"starting"===e?n:"ending"===e?r:null};e.s(["align",()=>d,"anchorHidden",()=>a,"closed",()=>s,"endingStyle",()=>u,"open",()=>o,"side",()=>c,"startingStyle",()=>l],38380);let o="data-open",s="data-closed",l=t.startingStyle,u=t.endingStyle,a="data-anchor-hidden",c="data-side",d="data-align"},879938,e=>{"use strict";e.s(["popupStateMapping",()=>d,"popupTransitionStateMapping",()=>f,"pressableTriggerOpenStateMapping",()=>c,"triggerOpenStateMapping",()=>a]);var t=e.i(474354),n=e.i(38380),r=e.i(415618);let i={[r.popupOpen]:""},o={[r.popupOpen]:"",[r.pressed]:""},s={[n.open]:""},l={[n.closed]:""},u={[n.anchorHidden]:""},a={open:e=>e?i:null},c={open:e=>e?o:null},d={open:e=>e?s:l,anchorHidden:e=>e?u:null},f={...d,...t.transitionStatusMapping}},152535,e=>{"use strict";e.s(["FocusGuard",()=>s]);var t=e.i(271645),n=e.i(146376),r=e.i(328744),i=e.i(502077),o=e.i(843476);let s=t.forwardRef(function(e,s){let[l,u]=t.useState();return(0,n.useIsoLayoutEffect)(()=>{r.platform.screenReader.voiceOver&&r.platform.engine.webkit&&u("button")},[]),(0,o.jsx)("span",{...e,ref:s,style:i.visuallyHidden,"aria-hidden":!l||void 0,...{tabIndex:0,role:l},"data-base-ui-focus-guard":""})})},383976,e=>{"use strict";e.s(["disableFocusInside",()=>S,"enableFocusInside",()=>T,"focusable",()=>f,"getNextTabbable",()=>h,"getPreviousTabbable",()=>m,"getTabbableAfterElement",()=>b,"getTabbableBeforeElement",()=>E,"isOutsideEvent",()=>y,"isTabbable",()=>d,"tabbable",()=>p]);var t=e.i(229315),n=e.i(108868),r=e.i(584446),i=e.i(621082);function o(e){for(let n of Array.from(e.children))if("summary"===(0,t.getNodeName)(n))return n;return null}function s(e){let n=e?(0,t.getNodeName)(e):"";return null!=e&&e.matches('a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]')&&("summary"!==n||null!=e.parentElement&&"details"===(0,t.getNodeName)(e.parentElement)&&o(e.parentElement)===e)&&("details"!==n||null==o(e))&&("input"!==n||"hidden"
1!==e.type)}function l(e){if(!s(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let n=e;n;n=function(e){let n=e.assignedSlot;if(n)return n;if(e.parentElement)return e.parentElement;let r=e.getRootNode();return(0,t.isShadowRoot)(r)?r.host:null}(n)){let s=n!==e,l="slot"===(0,t.getNodeName)(n);if(n.hasAttribute("inert")||s&&"details"===(0,t.getNodeName)(n)&&!n.open&&!function(e,t){let n=o(t);return!!n&&(e===n||(0,r.contains)(n,e))}(e,n)||n.hasAttribute("hidden")||!l&&!function(e,n){let r=(0,t.getComputedStyle)(e);return n?"none"!==r.display:(0,i.isElementVisible)(e,r)}(n,s))return!1}return!0}function u(e){let n=e.tabIndex;if(n<0){let n=(0,t.getNodeName)(e);if("details"===n||"audio"===n||"video"===n||(0,t.isHTMLElement)(e)&&e.isContentEditable)return 0}return n}function a(e){return"input"!==(0,t.getNodeName)(e)?null:"radio"===e.type&&""!==e.name?e:null}function c(e){if((0,t.isHTMLElement)(e)&&"slot"===(0,t.getNodeName)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,t.isHTMLElement)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function d(e){return l(e)&&u(e)>=0}function f(e){let t=[];return!function e(t,n){c(t).forEach(t=>{s(t)&&n.push(t),e(t,n)})}(e,t),t.filter(l)}function p(e){let t=f(e);return t.filter(e=>u(e)>=0&&function(e,t){let n=a(e);if(!n)return!0;let r=t.find(e=>{let t=a(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=a(e);return t?.name===n.name&&t.form===n.form})===n}(e,t))}function g(e,t){let i=p(e),o=i.length;if(0===o)return;let s=(0,r.activeElement)((0,n.ownerDocument)(e)),l=i.indexOf(s);return i[-1===l?1===t?0:o-1:l+t]}function h(e){return g((0,n.ownerDocument)(e).body,1)||e}function m(e){return g((0,n.ownerDocument)(e).body,-1)||e}function v(e,t){if(!e)return null;let r=p((0,n.ownerDocument)(e).body),i=r.length;if(0===i)return null;let o=r.indexOf(e);return -1===o?null:r[(o+t+i)%i]}function b(e){return v(e,1)}function E(e){return v(e,-1)}function y(e,t){let n=t||e.currentTarget,i=e.relatedTarget;return!i||!(0,r.contains)(n,i)}function S(e){p(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function T(e){let n=[];!function e(n,r,i){c(n).forEach(n=>{(0,t.isHTMLElement)(n)&&n.matches(r)&&i.push(n),e(n,r,i)})}(e,"[data-tabindex]",n),n.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}},726674,638396,e=>{"use strict";e.s(["FloatingPortal",()=>k,"useFloatingPortalNode",()=>I,"usePortalContext",()=>O],726674);var t=e.i(271645),n=e.i(174080),r=e.i(229315),i=e.i(574735),o=e.i(365420),s=e.i(883977),l=e.i(146376),u=e.i(667865),a=e.i(956789),c=e.i(152535),d=e.i(383976),f=e.i(675606),p=e.i(56434),g=e.i(451321),h=e.i(552245);e.s(["BASE_UI_SWIPE_IGNORE_SELECTOR",()=>y,"CLICK_TRIGGER_IDENTIFIER",()=>E,"DISABLED_TRANSITIONS_STYLE",()=>b,"DROPDOWN_COLLISION_AVOIDANCE",()=>S,"PATIENT_CLICK_THRESHOLD",()=>v,"POPUP_COLLISION_AVOIDANCE",()=>T,"TYPEAHEAD_RESET_MS",()=>m,"ownerVisuallyHidden",()=>R],638396);let m=500,v=500,b={style:{transition:"none"}},E="data-base-ui-click-trigger",y="[data-base-ui-swipe-ignore]",S={fallbackAxisSide:"none"},T={fallbackAxisSide:"end"},R={clipPath:"inset(50%)",position:"fixed",top:0,left:0};var C=e.i(843476);let w=t.createContext(null),O=()=>t.useContext(w),x=(0,g.createAttribute)("portal");function I(e={}){let{ref:i,container:o,componentProps:c=a.EMPTY_OBJECT,elementProps:d}=e,f=(0,s.useId)(),p=O(),g=p?.portalNode,[m,v]=t.useState(null),[b,E]=t.useState(null),y=(0,u.useStableCallback)(e=>{null!==e&&E(e)}),S=t.useRef(null);(0,l.useIsoLayoutEffect)(()=>{if(null===o){S.current&&(S.current=null,E(null),v(null));return}let e=(o&&((0,r.isNode)(o)?o:o.current))??g??document.body;if(null==e){S.current&&(S.current=null,E(null),v(null));return}S.current!==e&&(S.current=e,E(null),v(e))},[o,g]);let T=(0,h.useRenderElement)("div",c,{ref:[i,y],props:[{id:f,[x]:""},d]}),R=m&&T?n.createPortal(T,m):null;return{node:b,nodeId:t.isValidElement(T)?T.props.id:void 0,subtree:R}}let k=t.forwardRef(function(e,r){let{render:s,className:u,style:a,children:g,container:h,portalOwnerRole:m,...v}=e,{node:b,nodeId:E,subtree:y}=I({container:h,ref:r,componentProps:e,elementProps:v}),S=t.useRef(null),T=t.useRef(null),O=t.useRef(null),x=t.useRef(null),[k,A]=t.useState(null),P=t.useRef(!1),L=k?.modal,M=k?.open,N=!!k&&!k.modal&&k.open&&!!b;t.useEffect(()=>{if(b&&!L)return(0,o.mergeCleanups)((0,i.addEventListener)(b,"focusin",e,!0),(0,i.addEventListener)(b,"focusout",e,!0));function e(e){b&&e.relatedTarget&&(0,d.isOutsideEvent)(e)&&("focusin"===e.type?P.current&&((0,d.enableFocusInside)(b),P.current=!1):((0,d.disableFocusInside)(b),P.current=!0))}},[b,L]),(0,l.useIsoLayoutEffect)(()=>{b&&!0===M&&P.current&&((0,d.enableFocusInside)(b),P.current=!1)},[M,b]);let F=t.useMemo(()=>({beforeOutsideRef:S,afterOutsideRef:T,beforeInsideRef:O,afterInsideRef:x,portalNode:b,setFocusManagerState:A}),[b]);return(0,C.jsxs)(t.Fragment,{children:[y,(0,C.jsxs)(w.Provider,{value:F,children:[N&&b&&(0,C.jsx)(c.FocusGuard,{"data-type":"outside",ref:S,onFocus:e=>{if((0,d.isOutsideEvent)(e,b))O.current?.focus();else{let e=k?k.domReference:null,t=(0,d.getPreviousTabbable)(e);t?.focus()}}}),N&&b&&(0,C.jsx)("span",{role:m,"aria-owns":E,style:R}),b&&n.createPortal(g,b),N&&b&&(0,C.jsx)(c.FocusGuard,{"data-type":"outside",ref:T,onFocus:e=>{if((0,d.isOutsideEvent)(e,b))x.current?.focus();else{let t=k?k.domReference:null,n=(0,d.getNextTabbable)(t);n?.focus(),k?.closeOnFocusOut&&k?.onOpenChange(!1,(0,f.createChangeEventDetails)(p.REASONS.focusOut,e.nativeEvent))}}})]})]})})},144394,e=>{"use strict";e.s(["inertValue",()=>n]);var t=e.i(958321);function n(e){return(0,t.isReactVersionAtLeast)(19)?e:e?"true":void 0}},426,145484,e=>{"use strict";e.s(["InternalBackdrop",()=>r],426),e.i(247167);var t=e.i(271645),n=e.i(843476);let r=t.forwardRef(function(e,t){let r,{cutout:i,...o}=e;if(i){let e=i.getBoundingClientRect();r=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,n.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:r}})});e.s(["useScrollLock",()=>E],145484);var i=e.i(229315),o=e.i(574735),s=e.i(328744),l=e.i(108868),u=e.i(333848),a=e.i(146376),c=e.i(439957),d=e.i(708445);let f={},p={},g="";function h(e,t){return(0,i.isOverflowElement)(e)?e:t}function m(e,t,n){return/hidden|clip/.test(e.getComputedStyle(h(t,n)).overflowY)}class v{lockCount=0;restore=null;timeoutLock=c.Timeout.create();timeoutUnlock=c.Timeout.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(0===this.lockCount||null!==this.restore)return;let t=(0,l.ownerDocument)(e),n=t.documentElement,r=t.body,i=(0,u.ownerWindow)(n);if(m(i,n,r)){let t=new i.MutationObserver(()=>{m(i,n,r)||(t.disconnect(),this.restore=null,this.lock(e))}),o={attributes:!0};t.observe(n,o),t.observe(r,o),this.restore=()=>t.disconnect();return}let a=s.platform.os.ios||!function(e){if("undefined"==typeof document)return!1;let t=(0,l.ownerDocument)(e);return(0,u.ownerWindow)(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=a?function(e){let t=(0,l.ownerDocument)(e),n=h(t.documentElement,t.body),r={overflowY:n.style.overflowY,overflowX:n.style.overflowX};return Object.assign(n.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(n.style,r)}}(e):function(e){let t=(0,l.ownerDocument)(e),n=t.documentElement,r=t.body,i=(0,u.ownerWindow)(n),a=0,c=0,m=!1,v=d.AnimationFrame.create();
1if(s.platform.engine.webkit&&(i.visualViewport?.scale??1)!==1)return()=>{};function b(){let t=i.getComputedStyle(n),o=i.getComputedStyle(r),s=(t.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";a=n.scrollTop,c=n.scrollLeft,f={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},g=n.style.scrollBehavior,p={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,v="scroll"===t.overflowY||"scroll"===o.overflowY,b="scroll"===t.overflowX||"scroll"===o.overflowX,E=Math.max(0,i.innerWidth-r.clientWidth),y=Math.max(0,i.innerHeight-r.clientHeight),S=parseFloat(o.marginTop)+parseFloat(o.marginBottom),T=parseFloat(o.marginLeft)+parseFloat(o.marginRight),R=h(n,r);if(m=function(e){if(!("undefined"!=typeof CSS&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||"undefined"==typeof document)return!1;let t=(0,l.ownerDocument)(e),n=t.documentElement,r=h(n,t.body),i=r.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter="stable",r.style.overflowY="scroll";let s=r.offsetWidth;r.style.overflowY="hidden";let u=r.offsetWidth;return r.style.overflowY=i,n.style.scrollbarGutter=o,s===u}(e)){n.style.scrollbarGutter=s,R.style.overflowY="hidden",R.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:s,overflowY:"hidden",overflowX:"hidden"}),(u||v)&&(n.style.overflowY="scroll"),(d||b)&&(n.style.overflowX="scroll"),Object.assign(r.style,{position:"relative",height:S||y?`calc(100dvh - ${S+y}px)`:"100dvh",width:T||E?`calc(100vw - ${T+E}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),r.scrollTop=a,r.scrollLeft=c,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function E(){Object.assign(n.style,f),Object.assign(r.style,p),m||(n.scrollTop=a,n.scrollLeft=c,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=g)}b();let y=(0,o.addEventListener)(i,"resize",function(){E(),v.request(b)});return()=>{v.cancel(),E(),"function"==typeof i.removeEventListener&&y()}}(e)}}let b=new v;function E(e=!0,t=null){(0,a.useIsoLayoutEffect)(()=>{if(e)return b.acquire(t)},[e,t])}},944659,e=>{"use strict";e.s(["markOthers",()=>d]);var t=e.i(229315),n=e.i(108868);let r={inert:new WeakMap,"aria-hidden":new WeakMap},i="data-base-ui-inert",o={inert:new WeakSet,"aria-hidden":new WeakSet},s=new WeakMap,l=0,u=(e,n)=>n.map(n=>{if(e.contains(n))return n;let r=function e(n){return n?(0,t.isShadowRoot)(n)?n.host:e(n.parentNode):null}(n);return e.contains(r)?r:null}).filter(e=>null!=e),a=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},c=(e,n,r)=>{let i=[],o=e=>{!e||r.has(e)||Array.from(e.children).forEach(e=>{"script"!==(0,t.getNodeName)(e)&&(n.has(e)?o(e):i.push(e))})};return o(e),i};function d(e,t={}){let{ariaHidden:f=!1,inert:p=!1,mark:g=!0}=t,h=(0,n.ownerDocument)(e[0]).body;return function(e,t,n,d,{mark:f=!0}){let p=null;d?p="inert":n&&(p="aria-hidden");let g=null,h=null,m=u(t,e),v=f?c(t,a(m),new Set(m)):[],b=[],E=[];if(p){let e=r[p],n=o[p];h=n,g=e;let i=u(t,Array.from(t.querySelectorAll("[aria-live]"))),s=m.concat(i);c(t,a(s),new Set(s)).forEach(t=>{let r=t.getAttribute(p),i=null!==r&&"false"!==r,o=(e.get(t)||0)+1;e.set(t,o),b.push(t),1===o&&i&&n.add(t),i||t.setAttribute(p,"inert"===p?"":"true")})}return f&&v.forEach(e=>{let t=(s.get(e)||0)+1;s.set(e,t),E.push(e),1===t&&e.setAttribute(i,"")}),l+=1,()=>{g&&b.forEach(e=>{let t=(g.get(e)||0)-1;g.set(e,t),t||(!h?.has(e)&&p&&e.removeAttribute(p),h?.delete(e))}),f&&E.forEach(e=>{let t=(s.get(e)||0)-1;s.set(e,t),t||e.removeAttribute(i)}),(l-=1)||(r.inert=new WeakMap,r["aria-hidden"]=new WeakMap,o.inert=new WeakSet,o["aria-hidden"]=new WeakSet,s=new WeakMap)}}(e,h,f,p,{mark:g})}},61487,e=>{"use strict";e.s(["FloatingFocusManager",()=>D]);var t=e.i(271645),n=e.i(229315),r=e.i(574735),i=e.i(365420),o=e.i(828918),s=e.i(446265),l=e.i(667865),u=e.i(146376),a=e.i(439957),c=e.i(328744),d=e.i(708445),f=e.i(108868),p=e.i(333848),g=e.i(152535),h=e.i(584446),m=e.i(596296),v=e.i(157940),b=e.i(383976),E=e.i(958408),y=e.i(621082),S=e.i(675606),T=e.i(56434),R=e.i(451321),C=e.i(503596),w=e.i(944659),O=e.i(726674),x=e.i(46420),I=e.i(638396),k=e.i(594603),A=e.i(843476);let P=[];function L(){P=P.filter(e=>e.deref()?.isConnected)}function M(e){L(),e&&"body"!==(0,n.getNodeName)(e)&&(P.push(new WeakRef(e)),P.length>20&&(P=P.slice(-20)))}function N(){return L(),P[P.length-1]?.deref()}function F(e){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!e.getAttribute("role")?.includes("dialog"))return;let t=(0,b.focusable)(e).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return(0,b.isTabbable)(e)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),n=e.getAttribute("tabindex");0===t.length?"0"!==n&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):("-1"!==n||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}
1function D(e){let{context:P,children:D,disabled:W=!1,initialFocus:B=!0,returnFocus:H=!0,restoreFocus:_=!1,modal:V=!0,closeOnFocusOut:U=!0,openInteractionType:Y="",nextFocusableElement:j,previousFocusableElement:q,beforeContentFocusGuardRef:K,externalTree:G,getInsideElements:X}=e,$="rootStore"in P?P.rootStore:P,z=$.useState("open"),J=$.useState("domReferenceElement"),Q=$.useState("floatingElement"),{events:Z,dataRef:ee}=$.context,et=(0,l.useStableCallback)(()=>ee.current.floatingContext?.nodeId),en=(0,m.isTypeableCombobox)(J)&&!1===B,er=(0,s.useValueAsRef)(B),ei=(0,s.useValueAsRef)(H),eo=(0,s.useValueAsRef)(Y),es=(0,s.useValueAsRef)(z),el=(0,x.useFloatingTree)(G),eu=(0,O.usePortalContext)(),ea=t.useRef(!1),ec=t.useRef(!1),ed=t.useRef(!1),ef=t.useRef(null),ep=t.useRef(""),eg=t.useRef(""),eh=t.useRef(null),em=t.useRef(null),ev=(0,o.useMergedRefs)(eh,K,eu?.beforeInsideRef),eb=(0,o.useMergedRefs)(em,eu?.afterInsideRef),eE=(0,a.useTimeout)(),ey=(0,a.useTimeout)(),eS=(0,d.useAnimationFrame)(),eT=null!=eu,eR=(0,m.getFloatingFocusElement)(Q),eC=(0,l.useStableCallback)((e=eR)=>e?(0,b.tabbable)(e):[]),ew=(0,l.useStableCallback)(()=>X?.().filter(e=>null!=e)??[]);t.useEffect(()=>{if(W||!V)return;let e=(0,f.ownerDocument)(eR);return(0,r.addEventListener)(e,"keydown",function(e){"Tab"===e.key&&(0,h.contains)(eR,(0,h.activeElement)((0,f.ownerDocument)(eR)))&&0===eC().length&&!en&&(0,v.stopEvent)(e)})},[W,eR,V,en,eC]),t.useEffect(()=>{if(W||!z)return;let e=(0,f.ownerDocument)(eR);function t(){ed.current=!1}return(0,i.mergeCleanups)((0,r.addEventListener)(e,"pointerdown",function(e){let t=(0,h.getTarget)(e),n=ew();ed.current=!((0,h.contains)(Q,t)||(0,h.contains)(J,t)||(0,h.contains)(eu?.portalNode,t)||n.some(e=>e===t||(0,h.contains)(e,t))),eg.current=e.pointerType||"keyboard",t?.closest(`[${I.CLICK_TRIGGER_IDENTIFIER}]`)&&(ec.current=!0,ey.start(0,()=>{ec.current=!1}))},!0),(0,r.addEventListener)(e,"pointerup",t,!0),(0,r.addEventListener)(e,"pointercancel",t,!0),(0,r.addEventListener)(e,"keydown",function(){eg.current="keyboard"},!0),t)},[W,Q,J,eR,z,eu,ey,ew]),t.useEffect(()=>{if(W||!U)return;let e=(0,f.ownerDocument)(eR);function t(t){let r=t.relatedTarget,i=t.currentTarget,o=(0,h.getTarget)(t);V&&null==r&&null!=o&&(0,h.contains)(Q,o)&&M(o),queueMicrotask(()=>{let s=et(),l=$.context.triggerElements,u=ew(),a=r?.hasAttribute((0,R.createAttribute)("focus-guard"))&&[eh.current,em.current,eu?.beforeInsideRef.current,eu?.afterInsideRef.current,eu?.beforeOutsideRef.current,eu?.afterOutsideRef.current,(0,k.resolveRef)(q),(0,k.resolveRef)(j)].includes(r),c=!((0,h.contains)(J,r)||(0,h.contains)(Q,r)||(0,h.contains)(r,Q)||(0,h.contains)(eu?.portalNode,r)||u.some(e=>e===r||(0,h.contains)(e,r))||l.hasMatchingElement(e=>(0,h.contains)(e,r))||a||el&&((0,E.getNodeChildren)(el.nodesRef.current,s).find(e=>(0,h.contains)(e.context?.elements.floating,r)||(0,h.contains)(e.context?.elements.domReference,r))||(0,E.getNodeAncestors)(el.nodesRef.current,s).find(e=>[e.context?.elements.floating,(0,m.getFloatingFocusElement)(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===J&&eR&&F(eR),_&&i!==J&&!(0,y.isElementVisible)(o)&&(0,h.activeElement)(e)===e.body){if((0,n.isHTMLElement)(eR)&&(eR.focus(),"popup"===_))return void eS.request(()=>{eR.focus()});let e=eC(),t=ef.current,r=(t&&e.includes(t)?t:null)||e[e.length-1]||eR;(0,n.isHTMLElement)(r)&&r.focus()}if(ee.current.insideReactTree){ee.current.insideReactTree=!1;return}(en||!V)&&r&&c&&!ec.current&&(en||r!==N())&&(ea.current=!0,$.setOpen(!1,(0,S.createChangeEventDetails)(T.REASONS.focusOut,t)))})}let o=(0,n.isHTMLElement)(J)?J:null;if(Q||o)return(0,i.mergeCleanups)(o&&(0,r.addEventListener)(o,"focusout",t),o&&(0,r.addEventListener)(o,"pointerdown",function(){ec.current=!0,ey.start(0,()=>{ec.current=!1})}),Q&&(0,r.addEventListener)(Q,"focusin",function(e){let t=(0,h.getTarget)(e);(0,b.isTabbable)(t)&&(ef.current=t)}),Q&&(0,r.addEventListener)(Q,"focusout",t),Q&&eu&&(0,r.addEventListener)(Q,"focusout",function(){ed.current||(ee.current.insideReactTree=!0,eE.start(0,()=>{ee.current.insideReactTree=!1}))},!0))},[W,J,Q,eR,V,el,eu,$,U,_,eC,en,et,ee,eE,ey,eS,j,q,ew]),t.useEffect(()=>{if(W||!Q||!z)return;let e=Array.from(eu?.portalNode?.querySelectorAll(`[${(0,R.createAttribute)("portal")}]`)||[]),t=el?(0,E.getNodeAncestors)(el.nodesRef.current,et()):[],n=t.find(e=>(0,m.isTypeableCombobox)(e.context?.elements.domReference||null))?.context?.elements.domReference,r=[Q,...e,eh.current,em.current,eu?.beforeOutsideRef.current,eu?.afterOutsideRef.current,...ew(),n,(0,k.resolveRef)(q),(0,k.resolveRef)(j),en?J:null].filter(e=>null!=e),i=(0,w.markOthers)(r,{ariaHidden:V||en,mark:!1}),o=[Q,...e].filter(e=>null!=e),s=(0,w.markOthers)(o);return()=>{s(),i()}},[z,W,J,Q,V,eu,en,el,et,j,q,ew]),(0,u.useIsoLayoutEffect)(()=>
1{if(!z||W||!(0,n.isHTMLElement)(eR))return;ep.current="",eg.current="";let e=(0,f.ownerDocument)(eR),t=(0,h.activeElement)(e);queueMicrotask(()=>{let n,r=er.current,i="function"==typeof r?r(eo.current||""):r;if(void 0===i||!1===i||(0,h.contains)(eR,t))return;let o=null,s=()=>(null==o&&(o=eC(eR)),o[0]||eR);n=(n=!0===i||null===i?s():(0,k.resolveRef)(i))||s();let l=(0,h.contains)(eR,(0,h.activeElement)(e));(0,C.enqueueFocus)(n,{preventScroll:n===eR,shouldFocus(){if(!es.current)return!1;if(l)return!0;let t=(0,h.activeElement)(e);return!(t!==n&&(0,h.contains)(eR,t))}})})},[W,z,eR,eC,er,eo,es]),(0,u.useIsoLayoutEffect)(()=>{if(W||!eR)return;let e=(0,f.ownerDocument)(eR),t=(0,h.activeElement)(e),r=null==eo.current;function i(e){if(e.open||(ep.current=function(e,t){let n=(0,p.ownerWindow)((0,h.getTarget)(e));return e instanceof n.KeyboardEvent?"keyboard":e instanceof n.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof n.MouseEvent?t||(0===e.detail?"keyboard":"mouse"):""}(e.nativeEvent,eg.current)),e.reason===T.REASONS.triggerHover&&"mouseleave"===e.nativeEvent.type&&(ea.current=!0),e.reason===T.REASONS.outsidePress)if(e.nested)ea.current=!1;else if((0,v.isVirtualClick)(e.nativeEvent)||(0,v.isVirtualPointerEvent)(e.nativeEvent))ea.current=!1;else{let e=!1;(0,f.ownerDocument)(eR).createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?ea.current=!1:ea.current=!0}}return M(t),Z.on("openchange",i),()=>{Z.off("openchange",i);let o=(0,h.activeElement)(e),s=ew(),l=(0,h.contains)(Q,o)||s.some(e=>e===o||(0,h.contains)(e,o))||el&&(0,E.getNodeChildren)(el.nodesRef.current,et(),!1).some(e=>(0,h.contains)(e.context?.elements.floating,o)),u=ei.current,a=ep.current,c=function(e){let i=ei.current,o="function"==typeof i?i(e):i;if(void 0===o||!1===o)return null;null===o&&(o=!0);let s=J?.isConnected?J:null,l=t?.isConnected&&"body"!==(0,n.getNodeName)(t)?t:null,u=r?l||s:s||l;return(u||(u=N()||null),"boolean"==typeof o)?u:(0,k.resolveRef)(o)||u||null}(a);queueMicrotask(()=>{let t=c?(0,b.isTabbable)(c)?c:(0,b.tabbable)(c)[0]||c:null;if(u&&!ea.current&&(0,n.isHTMLElement)(t)&&("boolean"!=typeof u||t===o||o===e.body||l)){let e={preventScroll:!0};"keyboard"===a&&(e.focusVisible=!0),t.focus(e)}ea.current=!1})}},[W,Q,eR,ei,eo,Z,el,J,et,ew]),(0,u.useIsoLayoutEffect)(()=>{if(!c.platform.engine.webkit||z||!Q)return;let e=(0,h.activeElement)((0,f.ownerDocument)(Q));(0,n.isHTMLElement)(e)&&(0,m.isTypeableElement)(e)&&(0,h.contains)(Q,e)&&e.blur()},[z,Q]),(0,u.useIsoLayoutEffect)(()=>{if(!W&&eu)return eu.setFocusManagerState({modal:V,closeOnFocusOut:U,open:z,onOpenChange:$.setOpen,domReference:J}),()=>{eu.setFocusManagerState(null)}},[W,eu,V,z,$,U,J]),(0,u.useIsoLayoutEffect)(()=>{if(!W&&eR)return F(eR),()=>{queueMicrotask(L)}},[W,eR]);let eO=!W&&(!V||!en)&&(eT||V);return(0,A.jsxs)(t.Fragment,{children:[eO&&(0,A.jsx)(g.FocusGuard,{"data-type":"inside",ref:ev,onFocus:e=>{if(V){let e=eC();(0,C.enqueueFocus)(e[e.length-1])}else if(eu?.portalNode)if(ea.current=!1,(0,b.isOutsideEvent)(e,eu.portalNode)){let e=(0,b.getNextTabbable)(J);e?.focus()}else(0,k.resolveRef)(q??eu.beforeOutsideRef)?.focus()}}),D,eO&&(0,A.jsx)(g.FocusGuard,{"data-type":"inside",ref:eb,onFocus:e=>{if(V)(0,C.enqueueFocus)(eC()[0]);else if(eu?.portalNode)if(U&&(ea.current=!0),(0,b.isOutsideEvent)(e,eu.portalNode)){let e=(0,b.getPreviousTabbable)(J);e?.focus()}else(0,k.resolveRef)(j??eu.afterOutsideRef)?.focus()}})]})}},673327,e=>{"use strict";e.s(["ARROW_DOWN",()=>r,"ARROW_LEFT",()=>i,"ARROW_RIGHT",()=>o,"ARROW_UP",()=>n,"COMPOSITE_KEYS",()=>u,"END",()=>l,"HOME",()=>s,"MODIFIER_KEYS",()=>c,"SHIFT",()=>a,"isNativeInput",()=>d,"scrollIntoViewIfNeeded",()=>f]);var t=e.i(229315);let n="ArrowUp",r="ArrowDown",i="ArrowLeft",o="ArrowRight",s="Home",l="End",u=new Set([n,r,i,o,s,l]),a="Shift",c=[a,"Control","Alt","Meta"];function d(e){return!!((0,t.isHTMLElement)(e)&&"INPUT"===e.tagName&&null!=e.selectionStart||(0,t.isHTMLElement)(e)&&"TEXTAREA"===e.tagName)}function f(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,o=e.scrollTop,s=e.clientWidth<e.scrollWidth,l=e.clientHeight<e.scrollHeight;if(s&&"vertical"!==r){let r=p(e,t,"left"),o=g(e),s=g(t);"ltr"===n&&(r+t.offsetWidth+s.scrollMarginRight>e.scrollLeft+e.clientWidth-o.scrollPaddingRight?i=r+t.offsetWidth+s.scrollMarginRight-e.clientWidth+o.scrollPaddingRight:r-s.scrollMarginLeft<e.scrollLeft+o.scrollPaddingLeft&&(i=r-s.scrollMarginLeft-o.scrollPaddingLeft)),"rtl"===n&&(r-s.scrollMarginLeft<e.scrollLeft+o.scrollPaddingLeft?i=r-s.scrollMarginLeft-o.scrollPaddingLeft:r+t.offsetWidth+s.scrollMarginRight>e.scrollLeft+e.clientWidth-o.scrollPaddingRight&&(i=r+t.offsetWidth+s.scrollMarginRight-e.clientWidth+o.scrollPaddingRight))}if(l&&"horizontal"!==r){let n=p(e,t,"top"),r=g(e),i=g(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?o=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(o=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:o,behavior:"auto"})}function p(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function g(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||
10,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}},18478,116786,e=>{"use strict";e.s(["NullStore",()=>n],18478);var t=e.i(301252);class n extends t.ReactStore{setState(e){}update(e){}set(e,t){}notifyAll(){}}e.s(["createInitialPopupStoreState",()=>o,"popupStoreSelectors",()=>c],116786);var r=e.i(956789),i=e.i(156341);function o(e,t,n=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new i.FloatingRootStore({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:r.EMPTY_OBJECT,inactiveTriggerProps:r.EMPTY_OBJECT,popupProps:r.EMPTY_OBJECT}}let s=e=>e.triggerIdProp??e.activeTriggerId,l=e=>e.openProp??e.open,u=e=>(e.popupElement?.id??e.floatingId)||void 0;function a(e,t){return void 0!==t&&l(e)&&s(e)===t}let c={open:l,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:s,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:u,isTriggerActive:(e,t)=>void 0!==t&&s(e)===t,isOpenedByTrigger:(e,t)=>a(e,t),isMountedByTrigger:(e,t)=>void 0!==t&&s(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>!function(e,t){return!!a(e,t)||void 0!==t&&l(e)&&null==s(e)&&1===e.triggerCount}(e,t)?void 0:u(e),popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement}},459636,e=>{"use strict";e.s(["usePopupHandleStore",()=>i]);var t=e.i(271645),n=e.i(802239),r=e.i(956789);function i(e){let i=t.useCallback(t=>void 0===e?r.NOOP:e.subscribeStore(t),[e]),o=t.useCallback(()=>void 0===e?void 0:e.store,[e]);return(0,n.useSyncExternalStore)(i,o,()=>e?.serverStore)}},564170,e=>{"use strict";e.s(["BasePopupHandle",()=>i]);var t=e.i(733332),n=e.i(675606),r=e.i(56434);class i{attachedStores=[];attachedStoreValue=null;storeListeners=new Set;constructor(e,t,n=!0){this.fallbackStore=e,this.componentName=t,this.throwOnMissingTrigger=n}get attachedStore(){return this.attachedStoreValue}get store(){return this.attachedStoreValue??this.fallbackStore}get serverStore(){return this.fallbackStore}subscribeStore(e){return this.storeListeners.add(e),()=>{this.storeListeners.delete(e)}}attachStore(e){return this.attachedStores.push(e),this.setActiveStore(e),()=>{let t=this.attachedStores.lastIndexOf(e);-1!==t&&this.attachedStores.splice(t,1),this.setActiveStore(this.attachedStores[this.attachedStores.length-1]??null)}}setActiveStore(e){this.attachedStoreValue!==e&&(this.attachedStoreValue=e,this.storeListeners.forEach(e=>{e()}))}openByTrigger(e){let i,o=this.attachedStore;if(null!==o){if(e){for(let t=this.attachedStores.length-1;t>=0&&!i;t-=1)i=this.attachedStores[t].context.triggerElements.getById(e);i??=this.fallbackStore.context.triggerElements.getById(e)}if(e&&!i&&this.throwOnMissingTrigger)throw Error((0,t.default)(99,this.componentName,e,this.componentName));o.setOpen(!0,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction,void 0,i))}}closePopup(){let e=this.attachedStore;null!==e&&e.setOpen(!1,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction))}}}]);

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.