llmtap 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/dashboard/assets/CommandBar-CTVjcTSb.js +1 -0
  2. package/dist/dashboard/assets/Costs-CIcHpRev.js +1 -0
  3. package/dist/dashboard/assets/Dashboard-Bxw4TSkN.js +1 -0
  4. package/dist/dashboard/assets/DataTable-NGj_eAG3.js +1 -0
  5. package/dist/dashboard/assets/EmptyState-B8rSQL1S.js +1 -0
  6. package/dist/dashboard/assets/GettingStartedPanel-Cn46fQ1w.js +18 -0
  7. package/dist/dashboard/assets/Models-BJBIK0Bi.js +1 -0
  8. package/dist/dashboard/assets/ProviderBadge-Qtp_Hf66.js +1 -0
  9. package/dist/dashboard/assets/Sessions-BqAJxlud.js +3 -0
  10. package/dist/dashboard/assets/Settings-R7gn546k.js +6 -0
  11. package/dist/dashboard/assets/TraceDetail-BNzpHmos.js +17 -0
  12. package/dist/dashboard/assets/Traces-Bcs-oGQr.js +1 -0
  13. package/dist/dashboard/assets/{accordion-DZ-R65JQ.js → accordion-BbWMmUmi.js} +1 -1
  14. package/dist/dashboard/assets/content-BV3DhCiY.js +2 -0
  15. package/dist/dashboard/assets/format-BdzpxHjW.js +1 -0
  16. package/dist/dashboard/assets/icons-BOLUIAKd.js +1 -0
  17. package/dist/dashboard/assets/index-BCjwgtkq.js +791 -0
  18. package/dist/dashboard/assets/index-DBxoe0Ri.css +1 -0
  19. package/dist/dashboard/assets/motion-CSeNjKbZ.js +17 -0
  20. package/dist/dashboard/assets/{number-ticker-DAf-8EjI.js → number-ticker-4lK1KASk.js} +1 -1
  21. package/dist/dashboard/assets/provider-colors-CTiHNYHs.js +1 -0
  22. package/dist/dashboard/assets/select-Dsu3r0h-.js +1 -0
  23. package/dist/dashboard/assets/statistics-with-status-grid-QCEOlWCN.js +1 -0
  24. package/dist/dashboard/index.html +4 -4
  25. package/package.json +3 -3
  26. package/dist/dashboard/assets/Costs-a6RxtEyD.js +0 -1
  27. package/dist/dashboard/assets/Dashboard-Dc3SbA3o.js +0 -1
  28. package/dist/dashboard/assets/DataTable-WlvwCpLc.js +0 -1
  29. package/dist/dashboard/assets/GettingStartedPanel-D2-E8-3Q.js +0 -18
  30. package/dist/dashboard/assets/Models-BwTqYNmO.js +0 -1
  31. package/dist/dashboard/assets/Sessions-PuU5TiOR.js +0 -3
  32. package/dist/dashboard/assets/Settings-Dsgny2rQ.js +0 -6
  33. package/dist/dashboard/assets/StatusDot-D69CfzT5.js +0 -1
  34. package/dist/dashboard/assets/TraceDetail-_YLBxcmc.js +0 -17
  35. package/dist/dashboard/assets/Traces-B5znc91x.js +0 -1
  36. package/dist/dashboard/assets/constants-OlSc-7iA.js +0 -1
  37. package/dist/dashboard/assets/content-BRoZVvRJ.js +0 -2
  38. package/dist/dashboard/assets/format-wxLsIVjs.js +0 -1
  39. package/dist/dashboard/assets/icons-mXW2t-HS.js +0 -1
  40. package/dist/dashboard/assets/index-BjX-ME4E.js +0 -14
  41. package/dist/dashboard/assets/index-C98gdeiH.css +0 -1
  42. package/dist/dashboard/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
  43. package/dist/dashboard/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
  44. package/dist/dashboard/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
  45. package/dist/dashboard/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
  46. package/dist/dashboard/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
  47. package/dist/dashboard/assets/motion-DSHPdBNu.js +0 -17
  48. package/dist/dashboard/assets/provider-colors-BhO_XSTV.js +0 -1
  49. package/dist/dashboard/assets/select-DxzgyWz-.js +0 -1
  50. package/dist/dashboard/assets/statistics-with-status-grid-DE7T_RSi.js +0 -1
@@ -1 +1 @@
1
- import{r as i,R as Ie,j as P}from"./query-DVWnIZNd.js";import{A as We,m as he}from"./motion-DSHPdBNu.js";import{a as X,q as $e}from"./ui-BFiKdTjl.js";import{j as oe}from"./index-BjX-ME4E.js";import{p as Ke}from"./icons-mXW2t-HS.js";function Re({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=i.useRef(e!==void 0),[s,c]=i.useState(t),u=o?e:s,h=i.useCallback(p=>{o||c(p)},[]);return[u,h]}const me={};function H(e,t){const n=i.useRef(me);return n.current===me&&(n.current=e(t)),n}const Q=Ie[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],qe=Q&&Q!==i.useLayoutEffect?Q:e=>e();function U(e){const t=H(Be).current;return t.next=e,qe(t.effect),t.trampoline}function Be(){const e={next:void 0,callback:ze,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function ze(){}const Ge=()=>{},D=typeof document<"u"?i.useLayoutEffect:Ge,Se=i.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function Ye(){return i.useContext(Se)}function Ze(e){const{children:t,elementsRef:n,labelsRef:r,onMapChange:o}=e,s=U(o),c=i.useRef(0),u=H(Qe).current,h=H(Je).current,[p,g]=i.useState(0),m=i.useRef(p),y=U((f,I)=>{h.set(f,I??null),m.current+=1,g(m.current)}),d=U(f=>{h.delete(f),m.current+=1,g(m.current)}),C=i.useMemo(()=>{const f=new Map;return Array.from(h.keys()).filter(v=>v.isConnected).sort(Xe).forEach((v,l)=>{const b=h.get(v)??{};f.set(v,{...b,index:l})}),f},[h,p]);D(()=>{if(typeof MutationObserver!="function"||C.size===0)return;const f=new MutationObserver(I=>{const v=new Set,l=b=>v.has(b)?v.delete(b):v.add(b);I.forEach(b=>{b.removedNodes.forEach(l),b.addedNodes.forEach(l)}),v.size===0&&(m.current+=1,g(m.current))});return C.forEach((I,v)=>{v.parentElement&&f.observe(v.parentElement,{childList:!0})}),()=>{f.disconnect()}},[C]),D(()=>{m.current===p&&(n.current.length!==C.size&&(n.current.length=C.size),r&&r.current.length!==C.size&&(r.current.length=C.size),c.current=C.size),s(C)},[s,C,n,r,p]),D(()=>()=>{n.current=[]},[n]),D(()=>()=>{r&&(r.current=[])},[r]);const k=U(f=>(u.add(f),()=>{u.delete(f)}));D(()=>{u.forEach(f=>f(C))},[u,C]);const A=i.useMemo(()=>({register:y,unregister:d,subscribeMapChange:k,elementsRef:n,labelsRef:r,nextIndexRef:c}),[y,d,k,n,r,c]);return P.jsx(Se.Provider,{value:A,children:t})}function Je(){return new Map}function Qe(){return new Set}function Xe(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const et=i.createContext(void 0);function tt(){return i.useContext(et)?.direction??"ltr"}function K(e,...t){const n=new URL(`https://base-ui.com/production-error/${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Base UI error #${e}; visit ${n} for the full message.`}const ke=i.createContext(void 0);function se(){const e=i.useContext(ke);if(e===void 0)throw new Error(K(10));return e}function Z(e,t,n,r){const o=H(Ee).current;return rt(o,e,t,n,r)&&Oe(o,[e,t,n,r]),o.callback}function nt(e){const t=H(Ee).current;return ot(t,e)&&Oe(t,e),t.callback}function Ee(){return{callback:null,cleanup:null,refs:[]}}function rt(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}function ot(e,t){return e.refs.length!==t.length||e.refs.some((n,r)=>n!==t[r])}function Oe(e,t){if(e.refs=t,t.every(n=>n==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),n!=null){const r=Array(t.length).fill(null);for(let o=0;o<t.length;o+=1){const s=t[o];if(s!=null)switch(typeof s){case"function":{const c=s(n);typeof c=="function"&&(r[o]=c);break}case"object":{s.current=n;break}}}e.cleanup=()=>{for(let o=0;o<t.length;o+=1){const s=t[o];if(s!=null)switch(typeof s){case"function":{const c=r[o];typeof c=="function"?c():s(null);break}case"object":{s.current=null;break}}}}}}}const st=parseInt(i.version,10);function it(e){return st>=e}function ge(e){if(!i.isValidElement(e))return null;const t=e,n=t.props;return(it(19)?n?.ref:t.ref)??null}function ee(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function at(e,t){const n={};for(const r in e){const o=e[r];if(t?.hasOwnProperty(r)){const s=t[r](o);s!=null&&Object.assign(n,s);continue}o===!0?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}function ct(e,t){return typeof e=="function"?e(t):e}function ut(e,t){return typeof e=="function"?e(t):e}const W={};function Pe(e,t,n,r,o){let s={...te(e,W)};return t&&(s=Y(s,t)),n&&(s=Y(s,n)),r&&(s=Y(s,r)),s}function lt(e){if(e.length===0)return W;if(e.length===1)return te(e[0],W);let t={...te(e[0],W)};for(let n=1;n<e.length;n+=1)t=Y(t,e[n]);return t}function Y(e,t){return Ae(t)?t(e):dt(e,t)}function dt(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":{e[n]=ee(e.style,r);break}case"className":{e[n]=Me(e.className,r);break}default:ft(n,r)?e[n]=pt(e[n],r):e[n]=r}}return e}function ft(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return n===111&&r===110&&o>=65&&o<=90&&(typeof t=="function"||typeof t>"u")}function Ae(e){return typeof e=="function"}function te(e,t){return Ae(e)?e(t):e??W}function pt(e,t){return t?e?n=>{if(ht(n)){const o=n;ne(o);const s=t(o);return o.baseUIHandlerPrevented||e?.(o),s}const r=t(n);return e?.(n),r}:t:e}function ne(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Me(e,t){return t?e?t+" "+e:t:e}function ht(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}const _=Object.freeze({});function q(e,t,n={}){const r=t.render,o=mt(t,n);if(n.enabled===!1)return null;const s=n.state??_;return gt(e,r,o,s)}function mt(e,t={}){const{className:n,style:r,render:o}=e,{state:s=_,ref:c,props:u,stateAttributesMapping:h,enabled:p=!0}=t,g=p?ct(n,s):void 0,m=p?ut(r,s):void 0,y=p?at(s,h):_,d=p?ee(y,Array.isArray(u)?lt(u):u)??_:_;return typeof document<"u"&&(p?Array.isArray(c)?d.ref=nt([d.ref,ge(o),...c]):d.ref=Z(d.ref,ge(o),c):Z(null,null)),p?(g!==void 0&&(d.className=Me(d.className,g)),m!==void 0&&(d.style=ee(d.style,m)),d):_}function gt(e,t,n,r){if(t){if(typeof t=="function")return t(n,r);const o=Pe(n,t.props);return o.ref=n.ref,i.cloneElement(t,o)}if(e&&typeof e=="string")return bt(e,n);throw new Error(K(8))}function bt(e,t){return e==="button"?i.createElement("button",{type:"button",...t,key:t.key}):e==="img"?i.createElement("img",{alt:"",...t,key:t.key}):i.createElement(e,t)}const we="none",xt="trigger-press";function ie(e,t,n,r){let o=!1,s=!1;const c=_;return{reason:e,event:t??new Event("base-ui"),cancel(){o=!0},allowPropagation(){s=!0},get isCanceled(){return o},get isPropagationAllowed(){return s},trigger:n,...c}}const yt={value:()=>null},Ct=i.forwardRef(function(t,n){const{render:r,className:o,disabled:s=!1,hiddenUntilFound:c,keepMounted:u,loopFocus:h=!0,onValueChange:p,multiple:g=!1,orientation:m="vertical",value:y,defaultValue:d,...C}=t,k=tt(),A=i.useMemo(()=>{if(y===void 0)return d??[]},[y,d]),f=U(p),I=i.useRef([]),[v,l]=Re({controlled:y,default:A,name:"Accordion",state:"value"}),b=U((O,L)=>{const M=ie(we);if(g)if(L){const a=v.slice();if(a.push(O),f(a,M),M.isCanceled)return;l(a)}else{const a=v.filter(S=>S!==O);if(f(a,M),M.isCanceled)return;l(a)}else{const a=v[0]===O?[]:[O];if(f(a,M),M.isCanceled)return;l(a)}}),w=i.useMemo(()=>({value:v,disabled:s,orientation:m}),[v,s,m]),T=i.useMemo(()=>({accordionItemRefs:I,direction:k,disabled:s,handleValueChange:b,hiddenUntilFound:c??!1,keepMounted:u??!1,loopFocus:h,orientation:m,state:w,value:v}),[k,s,b,c,u,h,m,w,v]),j=q("div",t,{state:w,ref:n,props:[{dir:k,role:"region"},C],stateAttributesMapping:yt});return P.jsx(ke.Provider,{value:T,children:P.jsx(Ze,{elementsRef:I,children:j})})}),vt={...Ie};let be=0;function It(e,t="mui"){const[n,r]=i.useState(e),o=e||n;return i.useEffect(()=>{n==null&&(be+=1,r(`${t}-${be}`))},[n,t]),o}const xe=vt.useId;function Rt(e,t){if(xe!==void 0){const n=xe();return`${t}-${n}`}return It(e,t)}function re(e){return Rt(e,"base-ui")}const St=[];function Ne(e){i.useEffect(e,St)}const z=null;class kt{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;const n=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let o=0;o<n.length;o+=1)n[o]?.(t)};request(t){const n=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),n}cancel(t){const n=t-this.startId;n<0||n>=this.callbacks.length||(this.callbacks[n]=null,this.callbacksCount-=1)}}const G=new kt;class N{static create(){return new N}static request(t){return G.request(t)}static cancel(t){return G.cancel(t)}currentId=z;request(t){this.cancel(),this.currentId=G.request(()=>{this.currentId=z,t()})}cancel=()=>{this.currentId!==z&&(G.cancel(this.currentId),this.currentId=z)};disposeEffect=()=>this.cancel}function De(){const e=H(N.create).current;return Ne(e.disposeEffect),e}function Et(e){return e==null?e:"current"in e?e.current:e}function Te(e,t=!1,n=!0){const r=De();return U((o,s=null)=>{r.cancel();const c=Et(e);c!=null&&(typeof c.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED?o():r.request(()=>{function u(){c&&Promise.all(c.getAnimations().map(h=>h.finished)).then(()=>{s!=null&&s.aborted||X.flushSync(o)}).catch(()=>{if(n){if(s!=null&&s.aborted)return;X.flushSync(o)}else c.getAnimations().length>0&&c.getAnimations().some(h=>h.pending||h.playState!=="finished")&&u()})}t?r.request(u):u()}))})}function Ot(e,t=!1,n=!1){const[r,o]=i.useState(e&&t?"idle":void 0),[s,c]=i.useState(e);return e&&!s&&(c(!0),o("starting")),!e&&s&&r!=="ending"&&!n&&o("ending"),!e&&!s&&r==="ending"&&o(void 0),D(()=>{if(!e&&s&&r!=="ending"&&n){const u=N.request(()=>{o("ending")});return()=>{N.cancel(u)}}},[e,s,r,n]),D(()=>{if(!e||t)return;const u=N.request(()=>{X.flushSync(()=>{o(void 0)})});return()=>{N.cancel(u)}},[t,e]),D(()=>{if(!e||!t)return;e&&s&&r!=="idle"&&o("starting");const u=N.request(()=>{o("idle")});return()=>{N.cancel(u)}},[t,e,s,o,r]),i.useMemo(()=>({mounted:s,setMounted:c,transitionStatus:r}),[s,r])}function Pt(e){const{open:t,defaultOpen:n,onOpenChange:r,disabled:o}=e,s=t!==void 0,[c,u]=Re({controlled:t,default:n,name:"Collapsible",state:"open"}),{mounted:h,setMounted:p,transitionStatus:g}=Ot(c,!0,!0),[m,y]=i.useState(c),[{height:d,width:C},k]=i.useState({height:void 0,width:void 0}),A=re(),[f,I]=i.useState(),v=f??A,[l,b]=i.useState(!1),[w,T]=i.useState(!1),j=i.useRef(null),O=i.useRef(null),L=i.useRef(null),M=i.useRef(null),a=Te(M,!1),S=U(R=>{const x=!c,E=ie(xt,R.nativeEvent);if(r(x,E),E.isCanceled)return;const F=M.current;O.current==="css-animation"&&F!=null&&F.style.removeProperty("animation-name"),!l&&!w&&(O.current!=null&&O.current!=="css-animation"&&!h&&x&&p(!0),O.current==="css-animation"&&(!m&&x&&y(!0),!h&&x&&p(!0))),u(x),O.current==="none"&&h&&!x&&p(!1)});return D(()=>{s&&O.current==="none"&&!w&&!c&&p(!1)},[s,w,c,t,p]),i.useMemo(()=>({abortControllerRef:j,animationTypeRef:O,disabled:o,handleTrigger:S,height:d,mounted:h,open:c,panelId:v,panelRef:M,runOnceAnimationsFinish:a,setDimensions:k,setHiddenUntilFound:b,setKeepMounted:T,setMounted:p,setOpen:u,setPanelIdState:I,setVisible:y,transitionDimensionRef:L,transitionStatus:g,visible:m,width:C}),[j,O,o,S,d,h,c,v,M,a,k,b,T,p,u,y,L,g,m,C])}const je=i.createContext(void 0);function Fe(){const e=i.useContext(je);if(e===void 0)throw new Error(K(15));return e}let At=(function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e})({});function Mt(e={}){const{label:t,metadata:n,textRef:r,indexGuessBehavior:o,index:s}=e,{register:c,unregister:u,subscribeMapChange:h,elementsRef:p,labelsRef:g,nextIndexRef:m}=Ye(),y=i.useRef(-1),[d,C]=i.useState(s??(o===At.GuessFromOrder?()=>{if(y.current===-1){const f=m.current;m.current+=1,y.current=f}return y.current}:-1)),k=i.useRef(null),A=i.useCallback(f=>{if(k.current=f,d!==-1&&f!==null&&(p.current[d]=f,g)){const I=t!==void 0;g.current[d]=I?t:r?.current?.textContent??f.textContent}},[d,p,g,t,r]);return D(()=>{if(s!=null)return;const f=k.current;if(f)return c(f,n),()=>{u(f)}},[s,c,u,n]),D(()=>{if(s==null)return h(f=>{const I=k.current?f.get(k.current)?.index:null;I!=null&&C(I)})},[s,h,C]),i.useMemo(()=>({ref:A,index:d}),[d,A])}const Ue=i.createContext(void 0);function ae(){const e=i.useContext(Ue);if(e===void 0)throw new Error(K(9));return e}let J=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const wt={[J.startingStyle]:""},Nt={[J.endingStyle]:""},Dt={transitionStatus(e){return e==="starting"?wt:e==="ending"?Nt:null}};let $=(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=J.startingStyle]="startingStyle",e[e.endingStyle=J.endingStyle]="endingStyle",e})({}),Tt=(function(e){return e.panelOpen="data-panel-open",e})({});const jt={[$.open]:""},Ft={[$.closed]:""},Ut={open(e){return e?{[Tt.panelOpen]:""}:null}},Lt={open(e){return e?jt:Ft}};let Vt=(function(e){return e.index="data-index",e.disabled="data-disabled",e.open="data-open",e})({});const ce={...Lt,index:e=>Number.isInteger(e)?{[Vt.index]:String(e)}:null,...Dt,value:()=>null},_t=i.forwardRef(function(t,n){const{className:r,disabled:o=!1,onOpenChange:s,render:c,value:u,...h}=t,{ref:p,index:g}=Mt(),m=Z(n,p),{disabled:y,handleValueChange:d,state:C,value:k}=se(),A=re(),f=u??A,I=o||y,v=i.useMemo(()=>{if(!k)return!1;for(let S=0;S<k.length;S+=1)if(k[S]===f)return!0;return!1},[k,f]),l=U((S,R)=>{s?.(S,R),!R.isCanceled&&d(f,S)}),b=Pt({open:v,onOpenChange:l,disabled:I}),w=i.useMemo(()=>({open:b.open,disabled:b.disabled,hidden:!b.mounted,transitionStatus:b.transitionStatus}),[b.open,b.disabled,b.mounted,b.transitionStatus]),T=i.useMemo(()=>({...b,onOpenChange:l,state:w}),[b,w,l]),j=i.useMemo(()=>({...C,index:g,disabled:I,open:v}),[I,g,v,C]),[O,L]=i.useState(re()),M=i.useMemo(()=>({open:v,state:j,setTriggerId:L,triggerId:O}),[v,j,L,O]),a=q("div",t,{state:j,ref:m,props:h,stateAttributesMapping:ce});return P.jsx(je.Provider,{value:T,children:P.jsx(Ue.Provider,{value:M,children:a})})}),Ht=i.forwardRef(function(t,n){const{render:r,className:o,...s}=t,{state:c}=ae();return q("h3",t,{state:c,ref:n,props:s,stateAttributesMapping:ce})});function ye(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}const Wt=i.createContext(void 0);function $t(e=!1){const t=i.useContext(Wt);if(t===void 0&&!e)throw new Error(K(16));return t}function Kt(e){const{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:o=0,isNativeButton:s}=e,c=r&&t!==!1,u=r&&t===!1;return{props:i.useMemo(()=>{const p={onKeyDown(g){n&&t&&g.key!=="Tab"&&g.preventDefault()}};return r||(p.tabIndex=o,!s&&n&&(p.tabIndex=t?o:-1)),(s&&(t||c)||!s&&n)&&(p["aria-disabled"]=n),s&&(!t||u)&&(p.disabled=n),p},[r,n,t,c,u,s,o])}}function qt(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0}=e,s=i.useRef(null),c=$t(!0)!==void 0,u=U(()=>{const y=s.current;return!!(y?.tagName==="A"&&y?.href)}),{props:h}=Kt({focusableWhenDisabled:n,disabled:t,composite:c,tabIndex:r,isNativeButton:o}),p=i.useCallback(()=>{const y=s.current;Bt(y)&&c&&t&&h.disabled===void 0&&y.disabled&&(y.disabled=!1)},[t,h.disabled,c]);D(p,[p]);const g=i.useCallback((y={})=>{const{onClick:d,onMouseDown:C,onKeyUp:k,onKeyDown:A,onPointerDown:f,...I}=y;return Pe({type:o?"button":void 0,onClick(l){if(t){l.preventDefault();return}d?.(l)},onMouseDown(l){t||C?.(l)},onKeyDown(l){if(t||(ne(l),A?.(l)),l.baseUIHandlerPrevented)return;const b=l.target===l.currentTarget&&!o&&!u()&&!t,w=l.key==="Enter",T=l.key===" ";b&&((T||w)&&l.preventDefault(),w&&d?.(l))},onKeyUp(l){t||(ne(l),k?.(l)),!l.baseUIHandlerPrevented&&l.target===l.currentTarget&&!o&&!t&&l.key===" "&&d?.(l)},onPointerDown(l){if(t){l.preventDefault();return}f?.(l)}},o?void 0:{role:"button"},h,I)},[t,h,o,u]),m=U(y=>{s.current=y,p()});return{getButtonProps:g,buttonRef:m}}function Bt(e){return $e(e)&&e.tagName==="BUTTON"}function zt(e){e.preventDefault(),e.stopPropagation()}const ue="ArrowUp",le="ArrowDown",de="ArrowLeft",fe="ArrowRight",Le="Home",Ve="End",Gt=new Set([de,fe]),Yt=new Set([ue,le]),Zt=new Set([...Gt,...Yt]);[...Zt];const Jt=new Set([le,ue,fe,de,Le,Ve]);function Qt(e){const{current:t}=e,n=[];for(let r=0;r<t.length;r+=1){const o=t[r];if(!ye(o)){const s=o?.querySelector('[type="button"]');ye(s)||n.push(s)}}return n}const Xt=i.forwardRef(function(t,n){const{disabled:r,className:o,id:s,render:c,nativeButton:u=!0,...h}=t,{panelId:p,open:g,handleTrigger:m,disabled:y}=Fe(),d=r??y,{getButtonProps:C,buttonRef:k}=qt({disabled:d,focusableWhenDisabled:!0,native:u}),{accordionItemRefs:A,direction:f,loopFocus:I,orientation:v}=se(),l=f==="rtl",b=v==="horizontal",{state:w,setTriggerId:T,triggerId:j}=ae();D(()=>(s&&T(s),()=>{T(void 0)}),[s,T]);const O=i.useMemo(()=>({"aria-controls":g?p:void 0,"aria-expanded":g,disabled:d,id:j,onClick:m,onKeyDown(M){if(!Jt.has(M.key))return;zt(M);const a=Qt(A),R=a.length-1;let x=-1;const E=a.indexOf(M.target);function F(){I?x=E+1>R?0:E+1:x=Math.min(E+1,R)}function V(){I?x=E===0?R:E-1:x=E-1}switch(M.key){case le:b||F();break;case ue:b||V();break;case fe:b&&(l?V():F());break;case de:b&&(l?F():V());break;case"Home":x=0;break;case"End":x=R;break}x>-1&&a[x].focus()}}),[A,d,m,j,b,l,I,g,p]);return q("button",t,{state:w,ref:[n,k],props:[O,h,C],stateAttributesMapping:Ut})});let en=(function(e){return e.disabled="data-disabled",e.orientation="data-orientation",e})({});function tn(e){const{abortControllerRef:t,animationTypeRef:n,externalRef:r,height:o,hiddenUntilFound:s,keepMounted:c,id:u,mounted:h,onOpenChange:p,open:g,panelRef:m,runOnceAnimationsFinish:y,setDimensions:d,setMounted:C,setOpen:k,setVisible:A,transitionDimensionRef:f,visible:I,width:v}=e,l=i.useRef(!1),b=i.useRef(null),w=i.useRef(g),T=i.useRef(g),j=De(),O=i.useMemo(()=>n.current==="css-animation"?!I:!g&&!h,[g,h,I,n]),L=U(a=>{if(!a)return;if(n.current==null||f.current==null){const x=getComputedStyle(a),E=x.animationName!=="none"&&x.animationName!=="",F=x.transitionDuration!=="0s"&&x.transitionDuration!=="";E&&F||(x.animationName==="none"&&x.transitionDuration!=="0s"?n.current="css-transition":x.animationName!=="none"&&x.transitionDuration==="0s"?n.current="css-animation":n.current="none"),a.getAttribute(en.orientation)==="horizontal"||x.transitionProperty.indexOf("width")>-1?f.current="width":f.current="height"}if(n.current!=="css-transition")return;(o===void 0||v===void 0)&&(d({height:a.scrollHeight,width:a.scrollWidth}),T.current&&a.style.setProperty("transition-duration","0s"));let S=-1,R=-1;return S=N.request(()=>{T.current=!1,R=N.request(()=>{setTimeout(()=>{a.style.removeProperty("transition-duration")})})}),()=>{N.cancel(S),N.cancel(R)}}),M=Z(r,m,L);return D(()=>{if(n.current!=="css-transition")return;const a=m.current;if(!a)return;let S=-1;if(t.current!=null&&(t.current.abort(),t.current=null),g){const R={"justify-content":a.style.justifyContent,"align-items":a.style.alignItems,"align-content":a.style.alignContent,"justify-items":a.style.justifyItems};Object.keys(R).forEach(x=>{a.style.setProperty(x,"initial","important")}),!T.current&&!c&&a.setAttribute($.startingStyle,""),d({height:a.scrollHeight,width:a.scrollWidth}),S=N.request(()=>{Object.entries(R).forEach(([x,E])=>{E===""?a.style.removeProperty(x):a.style.setProperty(x,E)})})}else{if(a.scrollHeight===0&&a.scrollWidth===0)return;d({height:a.scrollHeight,width:a.scrollWidth});const R=new AbortController;t.current=R;const x=R.signal;let E=null;const F=$.endingStyle;return E=new MutationObserver(V=>{V.some(B=>B.type==="attributes"&&B.attributeName===F)&&(E?.disconnect(),E=null,y(()=>{d({height:0,width:0}),a.style.removeProperty("content-visibility"),C(!1),t.current===R&&(t.current=null)},x))}),E.observe(a,{attributes:!0,attributeFilter:[F]}),()=>{E?.disconnect(),j.cancel(),t.current===R&&(R.abort(),t.current=null)}}return()=>{N.cancel(S)}},[t,n,j,s,c,h,g,m,y,d,C]),D(()=>{if(n.current!=="css-animation")return;const a=m.current;a&&(b.current=a.style.animationName||b.current,a.style.setProperty("animation-name","none"),d({height:a.scrollHeight,width:a.scrollWidth}),!w.current&&!l.current&&a.style.removeProperty("animation-name"),g?(t.current!=null&&(t.current.abort(),t.current=null),C(!0),A(!0)):(t.current=new AbortController,y(()=>{C(!1),A(!1),t.current=null},t.current.signal)))},[t,n,g,m,y,d,C,A,I]),Ne(()=>{const a=N.request(()=>{w.current=!1});return()=>N.cancel(a)}),D(()=>{if(!s)return;const a=m.current;if(!a)return;let S=-1,R=-1;return g&&l.current&&(a.style.transitionDuration="0s",d({height:a.scrollHeight,width:a.scrollWidth}),S=N.request(()=>{l.current=!1,R=N.request(()=>{setTimeout(()=>{a.style.removeProperty("transition-duration")})})})),()=>{N.cancel(S),N.cancel(R)}},[s,g,m,d]),D(()=>{const a=m.current;a&&s&&O&&(a.setAttribute("hidden","until-found"),n.current==="css-transition"&&a.setAttribute($.startingStyle,""))},[s,O,n,m]),i.useEffect(function(){const S=m.current;if(!S)return;function R(x){l.current=!0,k(!0),p(!0,ie(we,x))}return S.addEventListener("beforematch",R),()=>{S.removeEventListener("beforematch",R)}},[p,m,k]),i.useMemo(()=>({props:{hidden:O,id:u,ref:M}}),[O,u,M])}let Ce=(function(e){return e.accordionPanelHeight="--accordion-panel-height",e.accordionPanelWidth="--accordion-panel-width",e})({});function nn(e){const t=H(rn,e).current;return t.next=e,D(t.effect),t}function rn(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}function on(e){const{enabled:t=!0,open:n,ref:r,onComplete:o}=e,s=nn(n),c=U(o),u=Te(r,n);i.useEffect(()=>{t&&u(()=>{n===s.current&&c()})},[t,n,c,u,s])}const ve=i.forwardRef(function(t,n){const{className:r,hiddenUntilFound:o,keepMounted:s,id:c,render:u,...h}=t,{hiddenUntilFound:p,keepMounted:g}=se(),{abortControllerRef:m,animationTypeRef:y,height:d,mounted:C,onOpenChange:k,open:A,panelId:f,panelRef:I,runOnceAnimationsFinish:v,setDimensions:l,setHiddenUntilFound:b,setKeepMounted:w,setMounted:T,setOpen:j,setVisible:O,transitionDimensionRef:L,visible:M,width:a,setPanelIdState:S,transitionStatus:R}=Fe(),x=o??p,E=s??g;D(()=>{if(c)return S(c),()=>{S(void 0)}},[c,S]),D(()=>{b(x)},[b,x]),D(()=>{w(E)},[w,E]),on({open:A&&R==="idle",ref:I,onComplete(){A&&l({width:void 0,height:void 0})}});const{props:F}=tn({abortControllerRef:m,animationTypeRef:y,externalRef:n,height:d,hiddenUntilFound:x,id:c??f,keepMounted:E,mounted:C,onOpenChange:k,open:A,panelRef:I,runOnceAnimationsFinish:v,setDimensions:l,setMounted:T,setOpen:j,setVisible:O,transitionDimensionRef:L,visible:M,width:a}),{state:V,triggerId:pe}=ae(),B=i.useMemo(()=>({...V,transitionStatus:R}),[V,R]),He=q("div",t,{state:B,ref:[n,I],props:[F,{"aria-labelledby":pe,role:"region",style:{[Ce.accordionPanelHeight]:d===void 0?"auto":`${d}px`,[Ce.accordionPanelWidth]:a===void 0?"auto":`${a}px`}},h],stateAttributesMapping:ce});return E||x||!E&&C?He:null});function _e(e){const t=i.createContext(void 0);return[({value:o,children:s})=>P.jsx(t.Provider,{value:o,children:s}),()=>{const o=i.useContext(t);if(o===void 0)throw new Error(`useContext must be used within ${e??"a Provider"}`);return o}]}function sn(e){const{value:t,defaultValue:n,onChange:r}=e,[o,s]=i.useState(t!==void 0?t:n);i.useEffect(()=>{t!==void 0&&s(t)},[t]);const c=i.useCallback((u,...h)=>{s(u),r?.(u,...h)},[r]);return[o,c]}const[an,cn]=_e("AccordionContext"),[un,ln]=_e("AccordionItemContext");function dn(e){const[t,n]=sn({value:e?.value,defaultValue:e?.defaultValue,onChange:e?.onValueChange});return P.jsx(an,{value:{value:t,setValue:n},children:P.jsx(Ct,{"data-slot":"accordion",...e,onValueChange:n})})}function fn(e){const{value:t}=cn(),[n,r]=i.useState(t?.includes(e?.value)??!1);return i.useEffect(()=>{r(t?.includes(e?.value)??!1)},[t,e?.value]),P.jsx(un,{value:{isOpen:n,setIsOpen:r},children:P.jsx(_t,{"data-slot":"accordion-item",...e})})}function pn(e){return P.jsx(Ht,{"data-slot":"accordion-header",...e})}function hn(e){return P.jsx(Xt,{"data-slot":"accordion-trigger",...e})}function mn({transition:e={duration:.35,ease:"easeInOut"},hiddenUntilFound:t,keepRendered:n=!1,...r}){const{isOpen:o}=ln();return P.jsx(We,{children:n?P.jsx(ve,{hidden:!1,hiddenUntilFound:t,keepMounted:!0,render:P.jsx(he.div,{"data-slot":"accordion-panel",initial:{height:0,opacity:0,"--mask-stop":"0%",y:20},animate:o?{height:"auto",opacity:1,"--mask-stop":"100%",y:0}:{height:0,opacity:0,"--mask-stop":"0%",y:20},transition:e,style:{maskImage:"linear-gradient(black var(--mask-stop), transparent var(--mask-stop))",WebkitMaskImage:"linear-gradient(black var(--mask-stop), transparent var(--mask-stop))",overflow:"hidden"},...r},"accordion-panel")}):o&&P.jsx(ve,{hidden:!1,hiddenUntilFound:t,keepMounted:!0,render:P.jsx(he.div,{"data-slot":"accordion-panel",initial:{height:0,opacity:0,"--mask-stop":"0%",y:20},animate:{height:"auto",opacity:1,"--mask-stop":"100%",y:0},exit:{height:0,opacity:0,"--mask-stop":"0%",y:20},transition:e,style:{maskImage:"linear-gradient(black var(--mask-stop), transparent var(--mask-stop))",WebkitMaskImage:"linear-gradient(black var(--mask-stop), transparent var(--mask-stop))",overflow:"hidden"},...r},"accordion-panel")})})}function In(e){return P.jsx(dn,{...e})}function Rn({className:e,...t}){return P.jsx(fn,{className:oe("border-b last:border-b-0",e),...t})}function Sn({className:e,children:t,showArrow:n=!0,...r}){return P.jsx(pn,{className:"flex",children:P.jsxs(hn,{className:oe("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-panel-open]>svg]:rotate-180",e),...r,children:[t,n&&P.jsx(Ke,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function kn({className:e,children:t,...n}){return P.jsx(mn,{...n,children:P.jsx("div",{className:oe("text-sm pt-0 pb-4",e),children:t})})}export{In as A,Rn as a,Sn as b,kn as c};
1
+ import{r as i,R as Ie,j as P}from"./query-DVWnIZNd.js";import{A as We,m as he}from"./motion-CSeNjKbZ.js";import{a as X,q as $e}from"./ui-BFiKdTjl.js";import{c as oe}from"./index-BCjwgtkq.js";import{t as Ke}from"./icons-BOLUIAKd.js";function Re({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=i.useRef(e!==void 0),[s,c]=i.useState(t),u=o?e:s,h=i.useCallback(p=>{o||c(p)},[]);return[u,h]}const me={};function H(e,t){const n=i.useRef(me);return n.current===me&&(n.current=e(t)),n}const Q=Ie[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],qe=Q&&Q!==i.useLayoutEffect?Q:e=>e();function U(e){const t=H(Be).current;return t.next=e,qe(t.effect),t.trampoline}function Be(){const e={next:void 0,callback:ze,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function ze(){}const Ge=()=>{},D=typeof document<"u"?i.useLayoutEffect:Ge,Se=i.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function Ye(){return i.useContext(Se)}function Ze(e){const{children:t,elementsRef:n,labelsRef:r,onMapChange:o}=e,s=U(o),c=i.useRef(0),u=H(Qe).current,h=H(Je).current,[p,g]=i.useState(0),m=i.useRef(p),y=U((f,I)=>{h.set(f,I??null),m.current+=1,g(m.current)}),d=U(f=>{h.delete(f),m.current+=1,g(m.current)}),C=i.useMemo(()=>{const f=new Map;return Array.from(h.keys()).filter(v=>v.isConnected).sort(Xe).forEach((v,l)=>{const b=h.get(v)??{};f.set(v,{...b,index:l})}),f},[h,p]);D(()=>{if(typeof MutationObserver!="function"||C.size===0)return;const f=new MutationObserver(I=>{const v=new Set,l=b=>v.has(b)?v.delete(b):v.add(b);I.forEach(b=>{b.removedNodes.forEach(l),b.addedNodes.forEach(l)}),v.size===0&&(m.current+=1,g(m.current))});return C.forEach((I,v)=>{v.parentElement&&f.observe(v.parentElement,{childList:!0})}),()=>{f.disconnect()}},[C]),D(()=>{m.current===p&&(n.current.length!==C.size&&(n.current.length=C.size),r&&r.current.length!==C.size&&(r.current.length=C.size),c.current=C.size),s(C)},[s,C,n,r,p]),D(()=>()=>{n.current=[]},[n]),D(()=>()=>{r&&(r.current=[])},[r]);const k=U(f=>(u.add(f),()=>{u.delete(f)}));D(()=>{u.forEach(f=>f(C))},[u,C]);const A=i.useMemo(()=>({register:y,unregister:d,subscribeMapChange:k,elementsRef:n,labelsRef:r,nextIndexRef:c}),[y,d,k,n,r,c]);return P.jsx(Se.Provider,{value:A,children:t})}function Je(){return new Map}function Qe(){return new Set}function Xe(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const et=i.createContext(void 0);function tt(){return i.useContext(et)?.direction??"ltr"}function K(e,...t){const n=new URL(`https://base-ui.com/production-error/${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Base UI error #${e}; visit ${n} for the full message.`}const ke=i.createContext(void 0);function se(){const e=i.useContext(ke);if(e===void 0)throw new Error(K(10));return e}function Z(e,t,n,r){const o=H(Ee).current;return rt(o,e,t,n,r)&&Oe(o,[e,t,n,r]),o.callback}function nt(e){const t=H(Ee).current;return ot(t,e)&&Oe(t,e),t.callback}function Ee(){return{callback:null,cleanup:null,refs:[]}}function rt(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}function ot(e,t){return e.refs.length!==t.length||e.refs.some((n,r)=>n!==t[r])}function Oe(e,t){if(e.refs=t,t.every(n=>n==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),n!=null){const r=Array(t.length).fill(null);for(let o=0;o<t.length;o+=1){const s=t[o];if(s!=null)switch(typeof s){case"function":{const c=s(n);typeof c=="function"&&(r[o]=c);break}case"object":{s.current=n;break}}}e.cleanup=()=>{for(let o=0;o<t.length;o+=1){const s=t[o];if(s!=null)switch(typeof s){case"function":{const c=r[o];typeof c=="function"?c():s(null);break}case"object":{s.current=null;break}}}}}}}const st=parseInt(i.version,10);function it(e){return st>=e}function ge(e){if(!i.isValidElement(e))return null;const t=e,n=t.props;return(it(19)?n?.ref:t.ref)??null}function ee(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function at(e,t){const n={};for(const r in e){const o=e[r];if(t?.hasOwnProperty(r)){const s=t[r](o);s!=null&&Object.assign(n,s);continue}o===!0?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}function ct(e,t){return typeof e=="function"?e(t):e}function ut(e,t){return typeof e=="function"?e(t):e}const W={};function Pe(e,t,n,r,o){let s={...te(e,W)};return t&&(s=Y(s,t)),n&&(s=Y(s,n)),r&&(s=Y(s,r)),s}function lt(e){if(e.length===0)return W;if(e.length===1)return te(e[0],W);let t={...te(e[0],W)};for(let n=1;n<e.length;n+=1)t=Y(t,e[n]);return t}function Y(e,t){return Ae(t)?t(e):dt(e,t)}function dt(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":{e[n]=ee(e.style,r);break}case"className":{e[n]=Me(e.className,r);break}default:ft(n,r)?e[n]=pt(e[n],r):e[n]=r}}return e}function ft(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return n===111&&r===110&&o>=65&&o<=90&&(typeof t=="function"||typeof t>"u")}function Ae(e){return typeof e=="function"}function te(e,t){return Ae(e)?e(t):e??W}function pt(e,t){return t?e?n=>{if(ht(n)){const o=n;ne(o);const s=t(o);return o.baseUIHandlerPrevented||e?.(o),s}const r=t(n);return e?.(n),r}:t:e}function ne(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Me(e,t){return t?e?t+" "+e:t:e}function ht(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}const _=Object.freeze({});function q(e,t,n={}){const r=t.render,o=mt(t,n);if(n.enabled===!1)return null;const s=n.state??_;return gt(e,r,o,s)}function mt(e,t={}){const{className:n,style:r,render:o}=e,{state:s=_,ref:c,props:u,stateAttributesMapping:h,enabled:p=!0}=t,g=p?ct(n,s):void 0,m=p?ut(r,s):void 0,y=p?at(s,h):_,d=p?ee(y,Array.isArray(u)?lt(u):u)??_:_;return typeof document<"u"&&(p?Array.isArray(c)?d.ref=nt([d.ref,ge(o),...c]):d.ref=Z(d.ref,ge(o),c):Z(null,null)),p?(g!==void 0&&(d.className=Me(d.className,g)),m!==void 0&&(d.style=ee(d.style,m)),d):_}function gt(e,t,n,r){if(t){if(typeof t=="function")return t(n,r);const o=Pe(n,t.props);return o.ref=n.ref,i.cloneElement(t,o)}if(e&&typeof e=="string")return bt(e,n);throw new Error(K(8))}function bt(e,t){return e==="button"?i.createElement("button",{type:"button",...t,key:t.key}):e==="img"?i.createElement("img",{alt:"",...t,key:t.key}):i.createElement(e,t)}const we="none",xt="trigger-press";function ie(e,t,n,r){let o=!1,s=!1;const c=_;return{reason:e,event:t??new Event("base-ui"),cancel(){o=!0},allowPropagation(){s=!0},get isCanceled(){return o},get isPropagationAllowed(){return s},trigger:n,...c}}const yt={value:()=>null},Ct=i.forwardRef(function(t,n){const{render:r,className:o,disabled:s=!1,hiddenUntilFound:c,keepMounted:u,loopFocus:h=!0,onValueChange:p,multiple:g=!1,orientation:m="vertical",value:y,defaultValue:d,...C}=t,k=tt(),A=i.useMemo(()=>{if(y===void 0)return d??[]},[y,d]),f=U(p),I=i.useRef([]),[v,l]=Re({controlled:y,default:A,name:"Accordion",state:"value"}),b=U((O,L)=>{const M=ie(we);if(g)if(L){const a=v.slice();if(a.push(O),f(a,M),M.isCanceled)return;l(a)}else{const a=v.filter(S=>S!==O);if(f(a,M),M.isCanceled)return;l(a)}else{const a=v[0]===O?[]:[O];if(f(a,M),M.isCanceled)return;l(a)}}),w=i.useMemo(()=>({value:v,disabled:s,orientation:m}),[v,s,m]),T=i.useMemo(()=>({accordionItemRefs:I,direction:k,disabled:s,handleValueChange:b,hiddenUntilFound:c??!1,keepMounted:u??!1,loopFocus:h,orientation:m,state:w,value:v}),[k,s,b,c,u,h,m,w,v]),j=q("div",t,{state:w,ref:n,props:[{dir:k,role:"region"},C],stateAttributesMapping:yt});return P.jsx(ke.Provider,{value:T,children:P.jsx(Ze,{elementsRef:I,children:j})})}),vt={...Ie};let be=0;function It(e,t="mui"){const[n,r]=i.useState(e),o=e||n;return i.useEffect(()=>{n==null&&(be+=1,r(`${t}-${be}`))},[n,t]),o}const xe=vt.useId;function Rt(e,t){if(xe!==void 0){const n=xe();return`${t}-${n}`}return It(e,t)}function re(e){return Rt(e,"base-ui")}const St=[];function Ne(e){i.useEffect(e,St)}const z=null;class kt{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;const n=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let o=0;o<n.length;o+=1)n[o]?.(t)};request(t){const n=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),n}cancel(t){const n=t-this.startId;n<0||n>=this.callbacks.length||(this.callbacks[n]=null,this.callbacksCount-=1)}}const G=new kt;class N{static create(){return new N}static request(t){return G.request(t)}static cancel(t){return G.cancel(t)}currentId=z;request(t){this.cancel(),this.currentId=G.request(()=>{this.currentId=z,t()})}cancel=()=>{this.currentId!==z&&(G.cancel(this.currentId),this.currentId=z)};disposeEffect=()=>this.cancel}function De(){const e=H(N.create).current;return Ne(e.disposeEffect),e}function Et(e){return e==null?e:"current"in e?e.current:e}function Te(e,t=!1,n=!0){const r=De();return U((o,s=null)=>{r.cancel();const c=Et(e);c!=null&&(typeof c.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED?o():r.request(()=>{function u(){c&&Promise.all(c.getAnimations().map(h=>h.finished)).then(()=>{s!=null&&s.aborted||X.flushSync(o)}).catch(()=>{if(n){if(s!=null&&s.aborted)return;X.flushSync(o)}else c.getAnimations().length>0&&c.getAnimations().some(h=>h.pending||h.playState!=="finished")&&u()})}t?r.request(u):u()}))})}function Ot(e,t=!1,n=!1){const[r,o]=i.useState(e&&t?"idle":void 0),[s,c]=i.useState(e);return e&&!s&&(c(!0),o("starting")),!e&&s&&r!=="ending"&&!n&&o("ending"),!e&&!s&&r==="ending"&&o(void 0),D(()=>{if(!e&&s&&r!=="ending"&&n){const u=N.request(()=>{o("ending")});return()=>{N.cancel(u)}}},[e,s,r,n]),D(()=>{if(!e||t)return;const u=N.request(()=>{X.flushSync(()=>{o(void 0)})});return()=>{N.cancel(u)}},[t,e]),D(()=>{if(!e||!t)return;e&&s&&r!=="idle"&&o("starting");const u=N.request(()=>{o("idle")});return()=>{N.cancel(u)}},[t,e,s,o,r]),i.useMemo(()=>({mounted:s,setMounted:c,transitionStatus:r}),[s,r])}function Pt(e){const{open:t,defaultOpen:n,onOpenChange:r,disabled:o}=e,s=t!==void 0,[c,u]=Re({controlled:t,default:n,name:"Collapsible",state:"open"}),{mounted:h,setMounted:p,transitionStatus:g}=Ot(c,!0,!0),[m,y]=i.useState(c),[{height:d,width:C},k]=i.useState({height:void 0,width:void 0}),A=re(),[f,I]=i.useState(),v=f??A,[l,b]=i.useState(!1),[w,T]=i.useState(!1),j=i.useRef(null),O=i.useRef(null),L=i.useRef(null),M=i.useRef(null),a=Te(M,!1),S=U(R=>{const x=!c,E=ie(xt,R.nativeEvent);if(r(x,E),E.isCanceled)return;const F=M.current;O.current==="css-animation"&&F!=null&&F.style.removeProperty("animation-name"),!l&&!w&&(O.current!=null&&O.current!=="css-animation"&&!h&&x&&p(!0),O.current==="css-animation"&&(!m&&x&&y(!0),!h&&x&&p(!0))),u(x),O.current==="none"&&h&&!x&&p(!1)});return D(()=>{s&&O.current==="none"&&!w&&!c&&p(!1)},[s,w,c,t,p]),i.useMemo(()=>({abortControllerRef:j,animationTypeRef:O,disabled:o,handleTrigger:S,height:d,mounted:h,open:c,panelId:v,panelRef:M,runOnceAnimationsFinish:a,setDimensions:k,setHiddenUntilFound:b,setKeepMounted:T,setMounted:p,setOpen:u,setPanelIdState:I,setVisible:y,transitionDimensionRef:L,transitionStatus:g,visible:m,width:C}),[j,O,o,S,d,h,c,v,M,a,k,b,T,p,u,y,L,g,m,C])}const je=i.createContext(void 0);function Fe(){const e=i.useContext(je);if(e===void 0)throw new Error(K(15));return e}let At=(function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e})({});function Mt(e={}){const{label:t,metadata:n,textRef:r,indexGuessBehavior:o,index:s}=e,{register:c,unregister:u,subscribeMapChange:h,elementsRef:p,labelsRef:g,nextIndexRef:m}=Ye(),y=i.useRef(-1),[d,C]=i.useState(s??(o===At.GuessFromOrder?()=>{if(y.current===-1){const f=m.current;m.current+=1,y.current=f}return y.current}:-1)),k=i.useRef(null),A=i.useCallback(f=>{if(k.current=f,d!==-1&&f!==null&&(p.current[d]=f,g)){const I=t!==void 0;g.current[d]=I?t:r?.current?.textContent??f.textContent}},[d,p,g,t,r]);return D(()=>{if(s!=null)return;const f=k.current;if(f)return c(f,n),()=>{u(f)}},[s,c,u,n]),D(()=>{if(s==null)return h(f=>{const I=k.current?f.get(k.current)?.index:null;I!=null&&C(I)})},[s,h,C]),i.useMemo(()=>({ref:A,index:d}),[d,A])}const Ue=i.createContext(void 0);function ae(){const e=i.useContext(Ue);if(e===void 0)throw new Error(K(9));return e}let J=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const wt={[J.startingStyle]:""},Nt={[J.endingStyle]:""},Dt={transitionStatus(e){return e==="starting"?wt:e==="ending"?Nt:null}};let $=(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=J.startingStyle]="startingStyle",e[e.endingStyle=J.endingStyle]="endingStyle",e})({}),Tt=(function(e){return e.panelOpen="data-panel-open",e})({});const jt={[$.open]:""},Ft={[$.closed]:""},Ut={open(e){return e?{[Tt.panelOpen]:""}:null}},Lt={open(e){return e?jt:Ft}};let Vt=(function(e){return e.index="data-index",e.disabled="data-disabled",e.open="data-open",e})({});const ce={...Lt,index:e=>Number.isInteger(e)?{[Vt.index]:String(e)}:null,...Dt,value:()=>null},_t=i.forwardRef(function(t,n){const{className:r,disabled:o=!1,onOpenChange:s,render:c,value:u,...h}=t,{ref:p,index:g}=Mt(),m=Z(n,p),{disabled:y,handleValueChange:d,state:C,value:k}=se(),A=re(),f=u??A,I=o||y,v=i.useMemo(()=>{if(!k)return!1;for(let S=0;S<k.length;S+=1)if(k[S]===f)return!0;return!1},[k,f]),l=U((S,R)=>{s?.(S,R),!R.isCanceled&&d(f,S)}),b=Pt({open:v,onOpenChange:l,disabled:I}),w=i.useMemo(()=>({open:b.open,disabled:b.disabled,hidden:!b.mounted,transitionStatus:b.transitionStatus}),[b.open,b.disabled,b.mounted,b.transitionStatus]),T=i.useMemo(()=>({...b,onOpenChange:l,state:w}),[b,w,l]),j=i.useMemo(()=>({...C,index:g,disabled:I,open:v}),[I,g,v,C]),[O,L]=i.useState(re()),M=i.useMemo(()=>({open:v,state:j,setTriggerId:L,triggerId:O}),[v,j,L,O]),a=q("div",t,{state:j,ref:m,props:h,stateAttributesMapping:ce});return P.jsx(je.Provider,{value:T,children:P.jsx(Ue.Provider,{value:M,children:a})})}),Ht=i.forwardRef(function(t,n){const{render:r,className:o,...s}=t,{state:c}=ae();return q("h3",t,{state:c,ref:n,props:s,stateAttributesMapping:ce})});function ye(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}const Wt=i.createContext(void 0);function $t(e=!1){const t=i.useContext(Wt);if(t===void 0&&!e)throw new Error(K(16));return t}function Kt(e){const{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:o=0,isNativeButton:s}=e,c=r&&t!==!1,u=r&&t===!1;return{props:i.useMemo(()=>{const p={onKeyDown(g){n&&t&&g.key!=="Tab"&&g.preventDefault()}};return r||(p.tabIndex=o,!s&&n&&(p.tabIndex=t?o:-1)),(s&&(t||c)||!s&&n)&&(p["aria-disabled"]=n),s&&(!t||u)&&(p.disabled=n),p},[r,n,t,c,u,s,o])}}function qt(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0}=e,s=i.useRef(null),c=$t(!0)!==void 0,u=U(()=>{const y=s.current;return!!(y?.tagName==="A"&&y?.href)}),{props:h}=Kt({focusableWhenDisabled:n,disabled:t,composite:c,tabIndex:r,isNativeButton:o}),p=i.useCallback(()=>{const y=s.current;Bt(y)&&c&&t&&h.disabled===void 0&&y.disabled&&(y.disabled=!1)},[t,h.disabled,c]);D(p,[p]);const g=i.useCallback((y={})=>{const{onClick:d,onMouseDown:C,onKeyUp:k,onKeyDown:A,onPointerDown:f,...I}=y;return Pe({type:o?"button":void 0,onClick(l){if(t){l.preventDefault();return}d?.(l)},onMouseDown(l){t||C?.(l)},onKeyDown(l){if(t||(ne(l),A?.(l)),l.baseUIHandlerPrevented)return;const b=l.target===l.currentTarget&&!o&&!u()&&!t,w=l.key==="Enter",T=l.key===" ";b&&((T||w)&&l.preventDefault(),w&&d?.(l))},onKeyUp(l){t||(ne(l),k?.(l)),!l.baseUIHandlerPrevented&&l.target===l.currentTarget&&!o&&!t&&l.key===" "&&d?.(l)},onPointerDown(l){if(t){l.preventDefault();return}f?.(l)}},o?void 0:{role:"button"},h,I)},[t,h,o,u]),m=U(y=>{s.current=y,p()});return{getButtonProps:g,buttonRef:m}}function Bt(e){return $e(e)&&e.tagName==="BUTTON"}function zt(e){e.preventDefault(),e.stopPropagation()}const ue="ArrowUp",le="ArrowDown",de="ArrowLeft",fe="ArrowRight",Le="Home",Ve="End",Gt=new Set([de,fe]),Yt=new Set([ue,le]),Zt=new Set([...Gt,...Yt]);[...Zt];const Jt=new Set([le,ue,fe,de,Le,Ve]);function Qt(e){const{current:t}=e,n=[];for(let r=0;r<t.length;r+=1){const o=t[r];if(!ye(o)){const s=o?.querySelector('[type="button"]');ye(s)||n.push(s)}}return n}const Xt=i.forwardRef(function(t,n){const{disabled:r,className:o,id:s,render:c,nativeButton:u=!0,...h}=t,{panelId:p,open:g,handleTrigger:m,disabled:y}=Fe(),d=r??y,{getButtonProps:C,buttonRef:k}=qt({disabled:d,focusableWhenDisabled:!0,native:u}),{accordionItemRefs:A,direction:f,loopFocus:I,orientation:v}=se(),l=f==="rtl",b=v==="horizontal",{state:w,setTriggerId:T,triggerId:j}=ae();D(()=>(s&&T(s),()=>{T(void 0)}),[s,T]);const O=i.useMemo(()=>({"aria-controls":g?p:void 0,"aria-expanded":g,disabled:d,id:j,onClick:m,onKeyDown(M){if(!Jt.has(M.key))return;zt(M);const a=Qt(A),R=a.length-1;let x=-1;const E=a.indexOf(M.target);function F(){I?x=E+1>R?0:E+1:x=Math.min(E+1,R)}function V(){I?x=E===0?R:E-1:x=E-1}switch(M.key){case le:b||F();break;case ue:b||V();break;case fe:b&&(l?V():F());break;case de:b&&(l?F():V());break;case"Home":x=0;break;case"End":x=R;break}x>-1&&a[x].focus()}}),[A,d,m,j,b,l,I,g,p]);return q("button",t,{state:w,ref:[n,k],props:[O,h,C],stateAttributesMapping:Ut})});let en=(function(e){return e.disabled="data-disabled",e.orientation="data-orientation",e})({});function tn(e){const{abortControllerRef:t,animationTypeRef:n,externalRef:r,height:o,hiddenUntilFound:s,keepMounted:c,id:u,mounted:h,onOpenChange:p,open:g,panelRef:m,runOnceAnimationsFinish:y,setDimensions:d,setMounted:C,setOpen:k,setVisible:A,transitionDimensionRef:f,visible:I,width:v}=e,l=i.useRef(!1),b=i.useRef(null),w=i.useRef(g),T=i.useRef(g),j=De(),O=i.useMemo(()=>n.current==="css-animation"?!I:!g&&!h,[g,h,I,n]),L=U(a=>{if(!a)return;if(n.current==null||f.current==null){const x=getComputedStyle(a),E=x.animationName!=="none"&&x.animationName!=="",F=x.transitionDuration!=="0s"&&x.transitionDuration!=="";E&&F||(x.animationName==="none"&&x.transitionDuration!=="0s"?n.current="css-transition":x.animationName!=="none"&&x.transitionDuration==="0s"?n.current="css-animation":n.current="none"),a.getAttribute(en.orientation)==="horizontal"||x.transitionProperty.indexOf("width")>-1?f.current="width":f.current="height"}if(n.current!=="css-transition")return;(o===void 0||v===void 0)&&(d({height:a.scrollHeight,width:a.scrollWidth}),T.current&&a.style.setProperty("transition-duration","0s"));let S=-1,R=-1;return S=N.request(()=>{T.current=!1,R=N.request(()=>{setTimeout(()=>{a.style.removeProperty("transition-duration")})})}),()=>{N.cancel(S),N.cancel(R)}}),M=Z(r,m,L);return D(()=>{if(n.current!=="css-transition")return;const a=m.current;if(!a)return;let S=-1;if(t.current!=null&&(t.current.abort(),t.current=null),g){const R={"justify-content":a.style.justifyContent,"align-items":a.style.alignItems,"align-content":a.style.alignContent,"justify-items":a.style.justifyItems};Object.keys(R).forEach(x=>{a.style.setProperty(x,"initial","important")}),!T.current&&!c&&a.setAttribute($.startingStyle,""),d({height:a.scrollHeight,width:a.scrollWidth}),S=N.request(()=>{Object.entries(R).forEach(([x,E])=>{E===""?a.style.removeProperty(x):a.style.setProperty(x,E)})})}else{if(a.scrollHeight===0&&a.scrollWidth===0)return;d({height:a.scrollHeight,width:a.scrollWidth});const R=new AbortController;t.current=R;const x=R.signal;let E=null;const F=$.endingStyle;return E=new MutationObserver(V=>{V.some(B=>B.type==="attributes"&&B.attributeName===F)&&(E?.disconnect(),E=null,y(()=>{d({height:0,width:0}),a.style.removeProperty("content-visibility"),C(!1),t.current===R&&(t.current=null)},x))}),E.observe(a,{attributes:!0,attributeFilter:[F]}),()=>{E?.disconnect(),j.cancel(),t.current===R&&(R.abort(),t.current=null)}}return()=>{N.cancel(S)}},[t,n,j,s,c,h,g,m,y,d,C]),D(()=>{if(n.current!=="css-animation")return;const a=m.current;a&&(b.current=a.style.animationName||b.current,a.style.setProperty("animation-name","none"),d({height:a.scrollHeight,width:a.scrollWidth}),!w.current&&!l.current&&a.style.removeProperty("animation-name"),g?(t.current!=null&&(t.current.abort(),t.current=null),C(!0),A(!0)):(t.current=new AbortController,y(()=>{C(!1),A(!1),t.current=null},t.current.signal)))},[t,n,g,m,y,d,C,A,I]),Ne(()=>{const a=N.request(()=>{w.current=!1});return()=>N.cancel(a)}),D(()=>{if(!s)return;const a=m.current;if(!a)return;let S=-1,R=-1;return g&&l.current&&(a.style.transitionDuration="0s",d({height:a.scrollHeight,width:a.scrollWidth}),S=N.request(()=>{l.current=!1,R=N.request(()=>{setTimeout(()=>{a.style.removeProperty("transition-duration")})})})),()=>{N.cancel(S),N.cancel(R)}},[s,g,m,d]),D(()=>{const a=m.current;a&&s&&O&&(a.setAttribute("hidden","until-found"),n.current==="css-transition"&&a.setAttribute($.startingStyle,""))},[s,O,n,m]),i.useEffect(function(){const S=m.current;if(!S)return;function R(x){l.current=!0,k(!0),p(!0,ie(we,x))}return S.addEventListener("beforematch",R),()=>{S.removeEventListener("beforematch",R)}},[p,m,k]),i.useMemo(()=>({props:{hidden:O,id:u,ref:M}}),[O,u,M])}let Ce=(function(e){return e.accordionPanelHeight="--accordion-panel-height",e.accordionPanelWidth="--accordion-panel-width",e})({});function nn(e){const t=H(rn,e).current;return t.next=e,D(t.effect),t}function rn(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}function on(e){const{enabled:t=!0,open:n,ref:r,onComplete:o}=e,s=nn(n),c=U(o),u=Te(r,n);i.useEffect(()=>{t&&u(()=>{n===s.current&&c()})},[t,n,c,u,s])}const ve=i.forwardRef(function(t,n){const{className:r,hiddenUntilFound:o,keepMounted:s,id:c,render:u,...h}=t,{hiddenUntilFound:p,keepMounted:g}=se(),{abortControllerRef:m,animationTypeRef:y,height:d,mounted:C,onOpenChange:k,open:A,panelId:f,panelRef:I,runOnceAnimationsFinish:v,setDimensions:l,setHiddenUntilFound:b,setKeepMounted:w,setMounted:T,setOpen:j,setVisible:O,transitionDimensionRef:L,visible:M,width:a,setPanelIdState:S,transitionStatus:R}=Fe(),x=o??p,E=s??g;D(()=>{if(c)return S(c),()=>{S(void 0)}},[c,S]),D(()=>{b(x)},[b,x]),D(()=>{w(E)},[w,E]),on({open:A&&R==="idle",ref:I,onComplete(){A&&l({width:void 0,height:void 0})}});const{props:F}=tn({abortControllerRef:m,animationTypeRef:y,externalRef:n,height:d,hiddenUntilFound:x,id:c??f,keepMounted:E,mounted:C,onOpenChange:k,open:A,panelRef:I,runOnceAnimationsFinish:v,setDimensions:l,setMounted:T,setOpen:j,setVisible:O,transitionDimensionRef:L,visible:M,width:a}),{state:V,triggerId:pe}=ae(),B=i.useMemo(()=>({...V,transitionStatus:R}),[V,R]),He=q("div",t,{state:B,ref:[n,I],props:[F,{"aria-labelledby":pe,role:"region",style:{[Ce.accordionPanelHeight]:d===void 0?"auto":`${d}px`,[Ce.accordionPanelWidth]:a===void 0?"auto":`${a}px`}},h],stateAttributesMapping:ce});return E||x||!E&&C?He:null});function _e(e){const t=i.createContext(void 0);return[({value:o,children:s})=>P.jsx(t.Provider,{value:o,children:s}),()=>{const o=i.useContext(t);if(o===void 0)throw new Error(`useContext must be used within ${e??"a Provider"}`);return o}]}function sn(e){const{value:t,defaultValue:n,onChange:r}=e,[o,s]=i.useState(t!==void 0?t:n);i.useEffect(()=>{t!==void 0&&s(t)},[t]);const c=i.useCallback((u,...h)=>{s(u),r?.(u,...h)},[r]);return[o,c]}const[an,cn]=_e("AccordionContext"),[un,ln]=_e("AccordionItemContext");function dn(e){const[t,n]=sn({value:e?.value,defaultValue:e?.defaultValue,onChange:e?.onValueChange});return P.jsx(an,{value:{value:t,setValue:n},children:P.jsx(Ct,{"data-slot":"accordion",...e,onValueChange:n})})}function fn(e){const{value:t}=cn(),[n,r]=i.useState(t?.includes(e?.value)??!1);return i.useEffect(()=>{r(t?.includes(e?.value)??!1)},[t,e?.value]),P.jsx(un,{value:{isOpen:n,setIsOpen:r},children:P.jsx(_t,{"data-slot":"accordion-item",...e})})}function pn(e){return P.jsx(Ht,{"data-slot":"accordion-header",...e})}function hn(e){return P.jsx(Xt,{"data-slot":"accordion-trigger",...e})}function mn({transition:e={duration:.35,ease:"easeInOut"},hiddenUntilFound:t,keepRendered:n=!1,...r}){const{isOpen:o}=ln();return P.jsx(We,{children:n?P.jsx(ve,{hidden:!1,hiddenUntilFound:t,keepMounted:!0,render:P.jsx(he.div,{"data-slot":"accordion-panel",initial:{height:0,opacity:0,"--mask-stop":"0%",y:20},animate:o?{height:"auto",opacity:1,"--mask-stop":"100%",y:0}:{height:0,opacity:0,"--mask-stop":"0%",y:20},transition:e,style:{maskImage:"linear-gradient(black var(--mask-stop), transparent var(--mask-stop))",WebkitMaskImage:"linear-gradient(black var(--mask-stop), transparent var(--mask-stop))",overflow:"hidden"},...r},"accordion-panel")}):o&&P.jsx(ve,{hidden:!1,hiddenUntilFound:t,keepMounted:!0,render:P.jsx(he.div,{"data-slot":"accordion-panel",initial:{height:0,opacity:0,"--mask-stop":"0%",y:20},animate:{height:"auto",opacity:1,"--mask-stop":"100%",y:0},exit:{height:0,opacity:0,"--mask-stop":"0%",y:20},transition:e,style:{maskImage:"linear-gradient(black var(--mask-stop), transparent var(--mask-stop))",WebkitMaskImage:"linear-gradient(black var(--mask-stop), transparent var(--mask-stop))",overflow:"hidden"},...r},"accordion-panel")})})}function In(e){return P.jsx(dn,{...e})}function Rn({className:e,...t}){return P.jsx(fn,{className:oe("border-b last:border-b-0",e),...t})}function Sn({className:e,children:t,showArrow:n=!0,...r}){return P.jsx(pn,{className:"flex",children:P.jsxs(hn,{className:oe("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-panel-open]>svg]:rotate-180",e),...r,children:[t,n&&P.jsx(Ke,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function kn({className:e,children:t,...n}){return P.jsx(mn,{...n,children:P.jsx("div",{className:oe("text-sm pt-0 pb-4",e),children:t})})}export{In as A,Rn as a,Sn as b,kn as c};
@@ -0,0 +1,2 @@
1
+ import{j as o}from"./query-DVWnIZNd.js";import{c as l}from"./index-BCjwgtkq.js";function c({status:r,className:a}){const e=r==="error"?{halo:"rgba(var(--ch-error), 0.16)",fill:"var(--color-error)",shadow:"0 0 8px rgba(var(--ch-error), 0.38)"}:r==="warning"?{halo:"rgba(var(--ch-warning), 0.16)",fill:"var(--color-warning)",shadow:"0 0 8px rgba(var(--ch-warning), 0.34)"}:r==="active"?{halo:"rgba(var(--ch-accent), 0.18)",fill:"var(--color-accent)",shadow:"var(--glow-dot)"}:{halo:"rgba(var(--ch-accent-2), 0.16)",fill:"var(--color-accent-2)",shadow:"0 0 8px rgba(var(--ch-accent-2), 0.28)"};return o.jsxs("span",{className:l("relative flex h-3.5 w-3.5 items-center justify-center",a),children:[o.jsx("span",{className:"absolute inset-0 rounded-full",style:{background:e.halo}}),o.jsx("span",{className:"relative h-2 w-2 rounded-full",style:{background:e.fill,boxShadow:e.shadow}})]})}function s(r){return typeof r=="string"?r:Array.isArray(r)?r.filter(a=>a.type==="text").map(a=>a.text??"").join(`
2
+ `):""}export{c as S,s as g};
@@ -0,0 +1 @@
1
+ import{j as e}from"./query-DVWnIZNd.js";import{E as c,c as o}from"./index-BCjwgtkq.js";function d({context:a,title:t,description:r,tags:n=[],rightSlot:s,className:l}){return e.jsxs("section",{className:o("hero-panel relative overflow-hidden rounded-[calc(var(--radius-panel)+10px)] border px-6 py-6 sm:px-8 sm:py-7",l),style:{borderColor:"var(--border-dim)"},children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 opacity-[0.04] [background-image:linear-gradient(rgba(var(--ch-accent),0.8)_1px,transparent_1px),linear-gradient(90deg,rgba(var(--ch-accent),0.8)_1px,transparent_1px)] [background-size:84px_84px]"}),e.jsx("div",{className:"pointer-events-none absolute inset-0 opacity-[0.92] [mask-image:radial-gradient(circle_at_center,black,transparent_84%)]",children:e.jsx(c,{className:"h-full w-full",speed:110,factor:.008,starColor:"rgba(var(--rgb-text-frost), 0.2)",pointerEvents:!1,transparent:!0,blendMode:"normal",fieldOpacity:.82,layers:[{count:240,size:1,durationMultiplier:1},{count:92,size:2,durationMultiplier:1.8},{count:36,size:3,durationMultiplier:2.6}]})}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 left-0 w-[46%]",style:{background:"radial-gradient(circle at 0% 40%, rgba(var(--ch-accent), 0.12), transparent 72%)"}}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute -right-12 top-[-20px] h-44 w-44 rounded-full",style:{background:"var(--bloom-purple)"}}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute bottom-0 left-10 right-10 h-px",style:{background:"linear-gradient(90deg, transparent, var(--border-bright), transparent)"}}),e.jsxs("div",{className:o("relative min-h-[248px]",s&&"grid gap-6 lg:min-h-[360px] lg:grid-cols-[minmax(0,1.1fr)_minmax(400px,430px)] lg:items-start lg:gap-8"),children:[e.jsxs("div",{className:"flex max-w-5xl flex-col justify-between gap-8",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"inline-flex items-center gap-3 rounded-[var(--radius-badge)] border border-[var(--border-default)] bg-[rgba(var(--ch-accent),0.04)] px-4 py-2",children:[e.jsx("span",{"aria-hidden":"true",className:"h-px w-7",style:{background:"var(--color-accent)",boxShadow:"0 0 12px rgba(var(--ch-accent), 0.35)"}}),e.jsx("span",{className:"mono-label text-[var(--color-accent-max)]",children:a}),e.jsx("span",{className:"live-dot",style:{display:"inline-block"}})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("h1",{className:"max-w-[9ch] text-[var(--color-text-primary)]",style:{fontFamily:"var(--font-operator)",fontSize:"clamp(42px, 5.2vw, 84px)",fontWeight:700,lineHeight:"0.88",letterSpacing:"-0.065em",textShadow:"0 18px 60px rgba(0, 0, 0, 0.42)"},children:t}),e.jsx("p",{className:"page-section-copy",children:r})]})]}),n.length>0?e.jsx("div",{className:"pill-strip",children:n.map(i=>e.jsx("span",{className:"pill-item",children:i},i))}):null]}),s?e.jsx("div",{className:"min-w-0 lg:w-full lg:max-w-[430px] lg:justify-self-end",children:s}):null]}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute bottom-5 right-6 select-none text-right uppercase leading-none",style:{fontFamily:"var(--font-operator)",fontSize:"clamp(52px, 9vw, 116px)",color:"rgba(var(--ch-text-primary), 0.034)",fontWeight:700,letterSpacing:"-0.06em"},children:a})]})}function x({eyebrow:a,title:t,description:r,aside:n,children:s}){return e.jsxs("div",{className:"mx-auto flex w-full max-w-[1760px] flex-col gap-6",children:[e.jsx(d,{context:a,title:t,description:r,tags:["Local-first telemetry","Streaming traces","Cost intelligence"],rightSlot:n}),s]})}function u(a){const t=Math.abs(a),r=a<0?"-":"";return t<.01?`${r}$${t.toFixed(4)}`:`${r}$${t.toFixed(2)}`}function g(a){return a<1e3?`${Math.round(a)}ms`:`${(a/1e3).toFixed(1)}s`}function f(a){return new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:a>=1e3?1:0}).format(a)}function h(a){const t=Date.now()-a,r=Math.floor(t/6e4);if(r<1)return"just now";if(r<60)return`${r}m ago`;const n=Math.floor(r/60);return n<24?`${n}h ago`:`${Math.floor(n/24)}d ago`}export{x as P,u as a,g as b,h as c,f};
@@ -0,0 +1 @@
1
+ import{r as d}from"./query-DVWnIZNd.js";const r=(...t)=>t.filter((a,o,c)=>!!a&&a.trim()!==""&&c.indexOf(a)===o).join(" ").trim();const M=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const _=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,c)=>c?c.toUpperCase():o.toLowerCase());const y=t=>{const a=_(t);return a.charAt(0).toUpperCase()+a.slice(1)};var m={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const x=t=>{for(const a in t)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};const g=d.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:n="",children:h,iconNode:k,...s},p)=>d.createElement("svg",{ref:p,...m,width:a,height:a,stroke:t,strokeWidth:c?Number(o)*24/Number(a):o,className:r("lucide",n),...!h&&!x(s)&&{"aria-hidden":"true"},...s},[...k.map(([i,l])=>d.createElement(i,l)),...Array.isArray(h)?h:[h]]));const e=(t,a)=>{const o=d.forwardRef(({className:c,...n},h)=>d.createElement(g,{ref:h,iconNode:a,className:r(`lucide-${M(y(t))}`,`lucide-${t}`,c),...n}));return o.displayName=y(t),o};const v=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],U1=e("activity",v);const u=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],D1=e("arrow-down",u);const w=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],P1=e("arrow-left",w);const f=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Z1=e("arrow-right",f);const $=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],E1=e("arrow-up-down",$);const N=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],I1=e("arrow-up",N);const z=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],W1=e("audio-lines",z);const b=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],B1=e("chart-no-axes-column",b);const q=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],F1=e("check",q);const C=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],G1=e("chevron-down",C);const A=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],K1=e("chevron-left",A);const j=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],O1=e("chevron-right",j);const L=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],X1=e("chevron-up",L);const H=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],J1=e("chevrons-left",H);const V=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],Q1=e("chevrons-right",V);const S=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Y1=e("circle-check",S);const T=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],ee=e("circle-x",T);const R=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],ae=e("clock",R);const U=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],te=e("code",U);const D=[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]],oe=e("coins",D);const P=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],ce=e("columns-2",P);const Z=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],he=e("copy",Z);const E=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],de=e("cpu",E);const I=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],ne=e("database",I);const W=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],se=e("dollar-sign",W);const B=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],ye=e("download",B);const F=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],re=e("file-text",F);const G=[["path",{d:"M10 10.5 8 13l2 2.5",key:"m4t9c1"}],["path",{d:"m14 10.5 2 2.5-2 2.5",key:"14w2eb"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z",key:"1u1bxd"}]],ke=e("folder-code",G);const K=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],pe=e("gauge",K);const O=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],ie=e("hash",O);const X=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],le=e("image",X);const J=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Me=e("info",J);const Q=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],_e=e("keyboard",Q);const Y=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],me=e("layers",Y);const e1=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],xe=e("layout-grid",e1);const a1=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],ge=e("lightbulb",a1);const t1=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],ve=e("list",t1);const o1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ue=e("loader-circle",o1);const c1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]],we=e("message-square-more",c1);const h1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],fe=e("message-square",h1);const d1=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],$e=e("orbit",d1);const n1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],Ne=e("panel-left",n1);const s1=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z",key:"fkigj9"}]],ze=e("plane-takeoff",s1);const y1=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],be=e("play",y1);const r1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],qe=e("plus",r1);const k1=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],Ce=e("radar",k1);const p1=[["path",{d:"M13 16H8",key:"wsln4y"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z",key:"ycz6yz"}]],Ae=e("receipt-text",p1);const i1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],je=e("rotate-ccw",i1);const l1=[["path",{d:"m8 11 2 2 4-4",key:"1sed1v"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Le=e("search-check",l1);const M1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],He=e("search",M1);const _1=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Ve=e("send",_1);const m1=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],Se=e("settings-2",m1);const x1=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],Te=e("shield-alert",x1);const g1=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],Re=e("sliders-horizontal",g1);const v1=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Ue=e("sparkles",v1);const u1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],De=e("square-check",u1);const w1=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Pe=e("square-check-big",w1);const f1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Ze=e("square",f1);const $1=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Ee=e("terminal",$1);const N1=[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]],Ie=e("timer-reset",N1);const z1=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],We=e("timer",z1);const b1=[["path",{d:"M18.2 12.27 20 6H4l1.8 6.27a1 1 0 0 0 .95.73h10.5a1 1 0 0 0 .96-.73Z",key:"1pledb"}],["path",{d:"M8 13v9",key:"hmv0ci"}],["path",{d:"M16 22v-9",key:"ylnf1u"}],["path",{d:"m9 6 1 7",key:"dpdgam"}],["path",{d:"m15 6-1 7",key:"ls7zgu"}],["path",{d:"M12 6V2",key:"1pj48d"}],["path",{d:"M13 2h-2",key:"mj6ths"}]],Be=e("tower-control",b1);const q1=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Fe=e("trash-2",q1);const C1=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Ge=e("trending-up",C1);const A1=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Ke=e("triangle-alert",A1);const j1=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Oe=e("users",j1);const L1=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Xe=e("video",L1);const H1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2",key:"4125el"}],["path",{d:"M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21",key:"1dpki6"}]],Je=e("wallet-cards",H1);const V1=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],Qe=e("wrench",V1);const S1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ye=e("x",S1);const T1=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],e2=e("zap",T1);export{le as $,W1 as A,Ee as B,B1 as C,se as D,ye as E,re as F,pe as G,be as H,oe as I,ue as J,_e as K,xe as L,we as M,Y1 as N,$e as O,ze as P,O1 as Q,je as R,Ve as S,Ke as T,he as U,Xe as V,ie as W,Ye as X,Qe as Y,e2 as Z,te as _,He as a,Je as a0,Ae as a1,Ie as a2,Oe as a3,Re as a4,I1 as a5,D1 as a6,J1 as a7,K1 as a8,Q1 as a9,ne as aa,Fe as ab,qe as ac,We as ad,Me as ae,Le as af,ke as ag,Ne as b,ve as c,de as d,Se as e,Be as f,Ue as g,Ge as h,De as i,Ze as j,Ce as k,Te as l,P1 as m,Z1 as n,ge as o,Pe as p,ee as q,ce as r,X1 as s,G1 as t,E1 as u,U1 as v,fe as w,ae as x,me as y,F1 as z};