1import{$ as e,X as t}from"./components-wGsnejce.js";import{t as n}from"./react-dom-BtgUD3as.js";import{a as r,i,l as a}from"./useRenderElement-DGwJMl-k.js";var o=e(t(),1),s={...o},c=s.useInsertionEffect,l=c&&c!==s.useLayoutEffect?c:e=>e();function u(e){let t=a(d).current;return t.next=e,l(t.effect),t.trampoline}function d(){let e={next:void 0,callback:f,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function f(){}var p=e(n(),1),m=typeof document<`u`?o.useLayoutEffect:()=>{};function h(e){o.useEffect(e,i)}var g=null;globalThis.requestAnimationFrame;var _=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),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||this.callbacks[t]!==null&&(this.callbacks[t]=null,--this.callbacksCount)}},v=class e{static create(){return new e}static request(e){return _.request(e)}static cancel(e){return _.cancel(e)}currentId=g;request(e){this.cancel(),this.currentId=_.request(()=>
1{this.currentId=g,e()})}cancel=()=>{this.currentId!==g&&(_.cancel(this.currentId),this.currentId=g)};disposeEffect=()=>this.cancel};function y(){let e=a(v.create).current;return h(e.disposeEffect),e}function b(e){return e==null?e:`current`in e?e.current:e}var x=`data-starting-style`,S=`data-ending-style`,C=null;function ee(e){if(!C){let e=[];C=e,queueMicrotask(()=>{C=null,p.flushSync(()=>{for(let t of e)t()})})}C.push(e)}function te(e,t=!1,n=!1){let r=y();return u((i,a=null)=>{r.cancel();let o=b(e);if(o==null)return;let s=o,c=()=>{if(!n){p.flushSync(i);return}ee(()=>{a?.aborted||i()})};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all(s.getAnimations().map(e=>e.finished)).then(()=>{a?.aborted||c()},()=>{if(!a?.aborted){if(s.getAnimations().some(e=>e.pending||e.playState!==`finished`)){l();return}c()}})}if(t){let e=x;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0});return}r.request(l)})}function ne(e){let{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:a}=e,s=u(a),c=te(r,n,i);o.useEffect(()=>{if(!t)return;let e=new AbortController;return c(s,e.signal),()=>{e.abort()}},[t,n,s,c])}var re={[x]:``},ie={[S]:``},ae={transitionStatus(e){return e===`starting`?re:e===`ending`?ie:null}};function oe(e,t=!1,n=!1,r=!1){let[i,a]=o.useState(e&&t?`idle`:void 0),[s,c]=o.useState(e&&!r);return e&&!s&&(c(!0),a(`starting`)),!e&&s&&i!==`ending`&&!n&&a(`ending`),!e&&!s&&i===`ending`&&a(void 0),m(()=>{if(!e&&s&&i!==`ending`&&n){let e=v.request(()=>{a(`ending`)});return()=>{v.cancel(e)}}},[e,s,i,n]),m(()=>{if(!e||t)return;let n=v.request(()=>{a(void 0)});return()=>{v.cancel(n)}},[t,e]),m(()=>{if(!e||!t)return;e&&s&&i!==`idle`&&a(`starting`);let n=v.request(()=>{a(`idle`)});return()=>{v.cancel(n)}},[t,e,s,i]),{mounted:s,setMounted:c,transitionStatus:i}}var w=0,T=class e{static create(){return new e}currentId=w;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=w,t()},e)}isStarted(){return this.currentId!==w}clear=()=>{this.currentId!==w&&(clearTimeout(this.currentId),this.currentId=w)};disposeEffect=()=>this.clear};function se(){let e=a(T.create).current;return h(e.disposeEffect),e}var ce=`none`,le=`trigger-press`,ue=`trigger-hover`,de=`trigger-focus`,fe=`outside-press`,pe=`item-press`,me=`close-press`,he=`input-change`,ge=`input-clear`,_e=`input-press`,ve=`focus-out`,ye=`escape-key`,be=`list-navigation`,xe=`keyboard`,Se=`pointer`,Ce=`cancel-open`,we=`sibling-open`,Te=`disabled`,Ee=`missing`,De=`initial`,Oe=`imperative-action`,ke=`window-resize`;function E(){return typeof window<`u`}function D(e){return k(e)?(e.nodeName||``).toLowerCase():`#document`}function O(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ae(e){return((k(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function k(e){return E()?e instanceof Node||e instanceof O(e).Node:!1}function A(e){return E()?e instanceof Element||e instanceof O(e).Element:!1}function j(e){return E()?e instanceof HTMLElement||e instanceof O(e).HTMLElement:!1}function M(e){return!E()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof O(e).ShadowRoot}function N(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=I(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function je(e){return/^(table|td|th)$/.test(D(e))}function Me(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Ne=/transform|translate|scale|rotate|perspective|filter/,Pe=/paint|layout|strict|content/,P=e=>!!e&&e!==`none`,Fe;function Ie(e){let t=A(e)?I(e):e;return P(t.transform)||P(t.translate)||P(t.scale)||P(t.rotate)||P(t.perspective)||!Re()&&(P(t.backdropFilter)||P(t.filter))||Ne.test(t.willChange||``)||Pe.test(t.contain||``)}function Le(e){let t=L(e);for(;j(t)&&!F(t);){if(Ie(t))return t;if(Me(t))return null;t=L(t)}return null}function Re(){return Fe??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Fe}function F(e){return/^(html|body|#document)$/.test(D(e))}function I(e){return O(e).getComputedStyle(e)}function ze(e){return A(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function L(e){if(D(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||M(e)&&e.host||Ae(e);return M(t)?t.host:t}function Be(e){let t=L(e);return F(t)?(e.ownerDocument||e).body:j(t)&&N(t)?t:Be(t)}function R(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Be(e),i=r===e.ownerDocument?.body,a=O(r);if(i){let e=Ve(a);
1return t.concat(a,a.visualViewport||[],N(r)?r:[],e&&n?R(e):[])}return t.concat(r,R(r,[],n))}function Ve(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function He(){return typeof navigator>`u`?{userAgent:``,platform:``,maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:Ue,platform:We,maxTouchPoints:Ge}=He(),z=Ue.toLowerCase(),B=We.toLowerCase(),V=/^i(os$|p)/.test(B)||B===`macintel`&&Ge>1,Ke=`android`,H=B===Ke||z.includes(Ke),qe=!V&&B.startsWith(`mac`);B.startsWith(`win`),!H&&/^(linux|chrome os)/.test(B);var Je=qe||V,Ye=/jsdom|happydom/.test(z),U=0;function Xe(e,t=`mui`){let[n,r]=o.useState(e),i=e||n;return o.useEffect(()=>{n??(U+=1,r(`${t}-${U}`))},[n,t]),i}var Ze=s.useId;function Qe(e,t){if(Ze!==void 0){let n=Ze();return e??(t?`${t}-${n}`:n)}return Xe(e,t)}function $e(e){return Qe(e,`base-ui`)}function et(e,t,n,i){let a=!1,o=!1,s=i??r;return{reason:e,event:t??new Event(`base-ui`),cancel(){a=!0},allowPropagation(){o=!0},get isCanceled(){return a},get isPropagationAllowed(){return o},trigger:n,...s}}function tt(e,t,n){let i=n??r;return{reason:e,event:t??new Event(`base-ui`),...i}}function W(e){e.preventDefault(),e.stopPropagation()}function nt(e){return`nativeEvent`in e}function rt(e){return e.pointerType===``&&e.isTrusted?!0:H&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function it(e){return Ye?!1:!H&&e.width===0&&e.height===0||H&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function at(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function ot(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}function st(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function ct(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&M(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function lt(e){return`composedPath`in e?e.composedPath()[0]??e.target:e.target}var ut=`data-base-ui-focusable`,dt=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,ft=`ArrowLeft`,pt=`ArrowRight`,mt=`ArrowUp`,ht=`ArrowDown`,gt={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},_t={...gt,position:`fixed`,top:0,left:0},vt={...gt,position:`absolute`},yt=Math.min,bt=Math.max,xt=Math.round,G=Math.floor,St=e=>({x:e,y:e}),Ct={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function wt(e,t,n){return bt(e,yt(t,n))}function Tt(e,t){return typeof e==`function`?e(t):e}function K(e){return e.split(`-`)[0]}function q(e){return e.split(`-`)[1]}function Et(e){return e===`x`?`y`:`x`}function Dt(e){return e===`y`?`height`:`width`}function Ot(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function kt(e){return Et(Ot(e))}function At(e,t,n){n===void 0&&(n=!1);let r=q(e),i=kt(e),a=Dt(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Y(o)),[o,Y(o)]}function jt(e){let t=Y(e);return[J(e),t,J(t)]}function J(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Mt=[`left`,`right`],Nt=[`right`,`left`],Pt=[`top`,`bottom`],Ft=[`bottom`,`top`];function It(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Nt:Mt:t?Mt:Nt;case`left`:case`right`:return t?Pt:Ft;default:return[]}}function Lt(e,t,n,r){let i=q(e),a=It(K(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(J)))),a}function Y(e){let t=K(e);return Ct[t]+e.slice(t.length)}function Rt(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function zt(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Rt(e)}function Bt(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}}function X(e,t,n){return Math.floor(e/t)!==n}function Z(e,t){return t<0||t>=e.length}function Vt(e,t){return Q(e.current,{disabledIndices:t})}function Ht(e,t){return Q(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Q(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&$(e,a,r));return a}function Ut(e,{event:t,orientation:n,loopFocus:r,onLoop:i,rtl:a,cols:o,disabledIndices:s,minIndex:c,maxIndex:l,prevIndex:u,stopEvent:d=!1}){let f=u,p;if(t.key===`ArrowUp`?p=`up`:t.key===`ArrowDown`&&(p=`down`),p){let n=[],a=[],m=!1,h=0;{let t=null,r=-1;e.forEach((e,i)=>{if(e==null)return;h+=1;let o=e.closest(`[role="row"]`);o&&(m=!0),(o!==t||r===-1)&&(t=o,r+=1,n[r]=[]),n[r].push(i),a[i]=r})}let g=!1,_=0;if(m)for(let e of n){let t=e.length;t>_&&(_=t),t!==o&&(g=!0)}let v=g&&h<e.length,y=_||o,b=o=>{if(!g||u===-1)return;let c=a[u];if(c==null)return;let l=n[c].indexOf(u),d=o===`up`?-1:1;for(let o=c+d,f=0;f<n.length;f+=1,o+=d){if(o<0||o>=n.length){if(!r||v)return;if(o=o<0?n.length-1:0,i){let e=Math.min(l,n[o].length-1),r=i(t,u,n[o][e]??n[o][0]);o=a[r]??o}}let c=n[o];for(let t=Math.min(l,c.length-1);t>=0;--t){let n=c[t];if(!$(e,n,s))return n}}},x=t=>{if(!v||u===-1)return;let n=u%y,i=t===`up`?-y:y,a=l-l%y,o=G(l/y)+1;for(let t=u-n+i,c=0;c<o;c+=1,t+=i){if(t<0||t>l){if(!r)return;t=t<0?a:0}let i=Math.min(t+y-1,l);for(let r=Math.min(t+n,i);r>=t;--r)if(!$(e,r,s))return r}};d&&W(t);let S=b(p)??x(p);if(S!==void 0)f=S;else if(u===-1)f=p===`up`?l:c;else if(f=Q(e,{startingIndex:u,amount:y,decrement:p===`up`,disabledIndices:s}),r){if(p===`up`&&(u-y<c||f<0)){let e=u%y,n=l%y,r=l-(n-e);f=n===e?l:n>e?r:r-y,i&&(f=i(t,u,f))}p===`down`&&u+y>l&&(f=Q(e,{startingIndex:u%y-y,amount:y,disabledIndices:s}),i&&(f=i(t,u,f)))}Z(e,f)&&(f=u)}if(n===`both`){let n=G(u/o);t.key===(a?`ArrowLeft`:`ArrowRight`)&&(d&&W(t),u%o===o-1?r&&(f=Q(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f))):(f=Q(e,{startingIndex:u,disabledIndices:s}),r&&X(f,o,n)&&(f=Q(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f)))),X(f,o,n)&&(f=u)),t.key===(a?`ArrowRight`:`ArrowLeft`)&&(d&&W(t),u%o===0?r&&(f=Q(e,{startingIndex:u+(o-u%o),decrement:!0,disabledIndices:s}),i&&(f=i(t,u,f))):(f=Q(e,{startingIndex:u,decrement:!0,disabledIndices:s}),r&&X(f,o,n)&&(f=Q(e,{startingIndex:u+(o-u%o),decrement:!0,disabledIndices:s}),i&&(f=i(t,u,f)))),X(f,o,n)&&(f=u));let c=G(l/o)===n;Z(e,f)&&(r&&c?(f=t.key===(a?`ArrowRight`:`ArrowLeft`)?l:Q(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f))):f=u)}return f}function $(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?!Gt(r)||r.matches(`:disabled`)?!0:!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!1}function Wt(e){return e.visibility===`hidden`||e.visibility===`collapse`}function Gt(e,t=e?I(e):null){return!e||!e.isConnected||!t||Wt(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.dis
1play!==`contents`}export{z as $,m as $t,ft as A,xe as At,nt as B,ke as Bt,bt as C,ve as Ct,_t as D,ge as Dt,xt as E,he as Et,st as F,Se as Ft,tt as G,ne as Gt,it as H,se as Ht,ct as I,we as It,Ye as J,x as Jt,$e as K,te as Kt,lt as L,de as Lt,mt as M,Ee as Mt,ut as N,ce as Nt,vt as O,_e as Ot,dt as P,fe as Pt,qe as Q,h as Qt,ot as R,ue as Rt,Ot as S,ye as St,Bt as T,De as Tt,W as U,oe as Ut,rt as V,T as Vt,et as W,ae as Wt,Je as X,v as Xt,H as Y,b as Yt,V as Z,y as Zt,Et as _,Me as _t,Gt as a,ze as at,zt as b,me as bt,wt as c,O as ct,G as d,j as dt,u as en,I as et,q as f,F as ft,jt as g,je as gt,Dt as h,M as ht,Vt as i,D as it,pt as j,be as jt,ht as k,pe as kt,St as l,Ie as lt,At as m,N as mt,Ut as n,Ae as nt,Z as o,R as ot,kt as p,k as pt,Qe as q,S as qt,Ht as r,Ve as rt,$ as s,L as st,Q as t,Le as tt,Tt as u,A as ut,Lt as v,Re as vt,yt as w,Oe as wt,K as x,Te as xt,Y as y,Ce as yt,at as z,le as zt};
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.