ryco-cli 0.1.11 → 0.1.12
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.
- package/dist/bin.cjs +1 -1
- package/dist/bin.mjs +1 -1
- package/dist/client/assets/{AccountSettings-BUoiS8x1.js → AccountSettings-C3v2klAG.js} +1 -1
- package/dist/client/assets/{AiFocusSettings-Cz1Uqn7a.js → AiFocusSettings-BquKjnWf.js} +1 -1
- package/dist/client/assets/{BranchToolbar.logic-LIanCEVr.js → BranchToolbar.logic-CmvD76Cw.js} +1 -1
- package/dist/client/assets/{ChatRightPanel-CKEjpQ_x.js → ChatRightPanel-DVxRdZWT.js} +3 -3
- package/dist/client/assets/{ChatThreadRouteView-D50onHY2.js → ChatThreadRouteView-DlgAAOCp.js} +1 -1
- package/dist/client/assets/{CommandPaletteDialog-DdRKgZ8m.js → CommandPaletteDialog-BnJURcy7.js} +1 -1
- package/dist/client/assets/ConnectionsSettings-Ccn8q4fG.js +7 -0
- package/dist/client/assets/{DiagnosticsSettings-C74u3ce5.js → DiagnosticsSettings-QXpjXOrH.js} +1 -1
- package/dist/client/assets/{DraftChatThreadRouteView-RTmLGTl0.js → DraftChatThreadRouteView-DFMY6O91.js} +1 -1
- package/dist/client/assets/{HostedConnectionControls-CKiC01ju.js → HostedConnectionControls-BC4kVWTa.js} +1 -1
- package/dist/client/assets/{HostedHubRoot-BS3rAYTy.js → HostedHubRoot-pBGVub10.js} +1 -1
- package/dist/client/assets/{HostedNativeAuthorizationRoute-BFTDyh4N.js → HostedNativeAuthorizationRoute-Df0oSrLR.js} +1 -1
- package/dist/client/assets/{HostedRelayTrustNotice-eEOPKsBg.js → HostedRelayTrustNotice-ffS_O2AX.js} +1 -1
- package/dist/client/assets/{IntegrationsSettingsPanel-Cg4eRHm_.js → IntegrationsSettingsPanel-BHyy-VM0.js} +1 -1
- package/dist/client/assets/{KeybindingsSettings-CYj67N2D.js → KeybindingsSettings-BfkONqmZ.js} +1 -1
- package/dist/client/assets/{McpServersSettings-Bc61hRUY.js → McpServersSettings-UthT1T80.js} +1 -1
- package/dist/client/assets/{NewWorktreeDialog-CTlFjKa4.js → NewWorktreeDialog-DTZnArOC.js} +1 -1
- package/dist/client/assets/{NoActiveThreadState-Dw9aoU2J.js → NoActiveThreadState-jcEAWu7N.js} +1 -1
- package/dist/client/assets/{NodeSecuritySettings-DMkkTgfg.js → NodeSecuritySettings-DPqjRphc.js} +1 -1
- package/dist/client/assets/{OpinionatedPluginsSettings-CeoSmZ90.js → OpinionatedPluginsSettings-BSy3F4v6.js} +1 -1
- package/dist/client/assets/{PhoneGetAppInterstitial-7ZxxVbUB.js → PhoneGetAppInterstitial-B2mrJtgM.js} +1 -1
- package/dist/client/assets/{PhoneHome-DRRoCd_y.js → PhoneHome-C-ttaKuE.js} +1 -1
- package/dist/client/assets/{PhoneSettingsSurface-LNEaPHQC.js → PhoneSettingsSurface-CJddundi.js} +1 -1
- package/dist/client/assets/{ProjectFavicon-BIMdZxK6.js → ProjectFavicon-BhQnkxbx.js} +1 -1
- package/dist/client/assets/{ProviderModelPicker-jd6GjQkO.js → ProviderModelPicker-COg6CGM4.js} +1 -1
- package/dist/client/assets/{ProvidersSettingsPanel-v2SvoEGx.js → ProvidersSettingsPanel-C3aPyCrN.js} +1 -1
- package/dist/client/assets/{RootAppShell-CFjrYjtn.js → RootAppShell-3T2sBtpP.js} +2 -2
- package/dist/client/assets/SettingsDialog-krsStFrf.js +1 -0
- package/dist/client/assets/{SettingsPanels-BmhZ8u4B.js → SettingsPanels-D8Xy3pPC.js} +1 -1
- package/dist/client/assets/{SourceControlSettings-DvPydmxX.js → SourceControlSettings-KIx9EfEZ.js} +1 -1
- package/dist/client/assets/{StatisticsPage-Duk2cHVH.js → StatisticsPage-C38pI2_b.js} +1 -1
- package/dist/client/assets/{StatisticsPanel-D-uNJcdj.js → StatisticsPanel-6sINT28-.js} +1 -1
- package/dist/client/assets/{ThreadStatusIndicators-D0xoATCw.js → ThreadStatusIndicators-CL0KGLlj.js} +0 -0
- package/dist/client/assets/{ThreadTerminalDrawer-DjX8p7IH.js → ThreadTerminalDrawer-C4NJu8Qs.js} +1 -1
- package/dist/client/assets/{ThreadWorkspacePanel-DI0GXPBf.js → ThreadWorkspacePanel-D9qlHXCA.js} +1 -1
- package/dist/client/assets/{WorkItemsTab-ow45makA.js → WorkItemsTab-BDAeQe4D.js} +1 -1
- package/dist/client/assets/{branding-C8SLy6Af.js → branding-DeKsIp6g.js} +1 -1
- package/dist/client/assets/{capabilities-BQuqC7jg.js → capabilities-BkVqeGLQ.js} +1 -1
- package/dist/client/assets/{desktopUpdateAtoms-C82GmR67.js → desktopUpdateAtoms-B9iJXSdW.js} +1 -1
- package/dist/client/assets/{desktopWorkspace-G5Z_JRbm.js → desktopWorkspace-B-cSBe8H.js} +1 -1
- package/dist/client/assets/{device-B56cBWWt.js → device-DfIh5pQV.js} +1 -1
- package/dist/client/assets/{editorPreferences-CTDEj79K.js → editorPreferences-0DWMgcci.js} +1 -1
- package/dist/client/assets/{index-Bbz4fkK_.js → index-Bntnmu6O.js} +1 -1
- package/dist/client/assets/{main-Dwu2cT6v.js → main-BjVnVob0.js} +2 -2
- package/dist/client/assets/{projectPaths-lDhAE9o_.js → projectPaths-SSsIvt0g.js} +1 -1
- package/dist/client/assets/{providerIconUtils-DnSYUN9l.js → providerIconUtils-CzSa_16f.js} +1 -1
- package/dist/client/assets/runtime-DfGHeCnR.js +1 -0
- package/dist/client/assets/{session-logic-DElAta-Z.js → session-logic-wxhvMgEN.js} +1 -1
- package/dist/client/assets/{sidebarProjectFolders-Cs13ZUN8.js → sidebarProjectFolders-CGVDJ0ZT.js} +1 -1
- package/dist/client/assets/storeSelectors-Bpr2pdhU.js +1 -0
- package/dist/client/assets/{threadPriorityRefreshRuntime-DJF5drVD.js → threadPriorityRefreshRuntime-tRDgvBzr.js} +1 -1
- package/dist/client/assets/types-Bpr2pdhU.js +1 -0
- package/dist/client/assets/{useAtlassian-Bx2ua3JV.js → useAtlassian-DC0XOw4u.js} +0 -0
- package/dist/client/assets/{useHandleNewThread-DHO0PWGZ.js → useHandleNewThread-Bvz-DKgn.js} +1 -1
- package/dist/client/assets/{usePhoneThreadActions-OTf7yIbN.js → usePhoneThreadActions-CAgIq9aZ.js} +1 -1
- package/dist/client/assets/{useStatistics-DEtKeVPP.js → useStatistics-CiLROMJP.js} +1 -1
- package/dist/client/assets/{useThreadActions-DLxhOMkz.js → useThreadActions-Vew3ScxG.js} +1 -1
- package/dist/client/index.html +1 -1
- package/package.json +1 -1
- package/dist/client/assets/ConnectionsSettings--CbTzkTn.js +0 -7
- package/dist/client/assets/SettingsDialog-CvGTsSV0.js +0 -1
- package/dist/client/assets/runtime-DKwoXpJv.js +0 -1
- package/dist/client/assets/storeSelectors-Cq_JKyiF.js +0 -1
- package/dist/client/assets/types-Cq_JKyiF.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e,D as t,O as n,k as r}from"./runtime-
|
|
1
|
+
import{A as e,D as t,O as n,k as r}from"./runtime-DfGHeCnR.js";import{r as i}from"./utils-BofFIn5Y.js";function a(e){return e===`/`||e===`\\`||/^[a-zA-Z]:[/\\]?$/.test(e)}function o(t){return e(t)||n(t)?`windows`:t.startsWith(`/`)?`unix`:null}function s(e){if(e.length===0||a(e))return e;let t=o(e)===`unix`?e.replace(/\/+$/g,``):e.replace(/[\\/]+$/g,``);return t.length===0?e:/^[a-zA-Z]:$/.test(t)?`${t}\\`:t}function c(e){let t=o(e);return t===`windows`?`\\`:t===`unix`?`/`:e.includes(`\\`)?`\\`:`/`}function l(e){return(o(e)===`unix`?/\/$/:/[\\/]$/).test(e)}function u(e,t){return e.split(t===`/`?/\/+/:/[\\/]+/).filter(Boolean)}function d(e){return o(e)===`unix`?e.lastIndexOf(`/`):Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`))}function f(t){if(e(t)){let e=`${t.slice(0,2)}\\`;return{root:e,separator:`\\`,segments:u(t.slice(e.length),`\\`)}}if(n(t)){let[e,n,...r]=u(t,`\\`);return!e||!n?null:{root:`\\\\${e}\\${n}\\`,separator:`\\`,segments:r}}return t.startsWith(`/`)?{root:`/`,separator:`/`,segments:u(t.slice(1),`/`)}:null}function p(e,t=typeof navigator>`u`?``:navigator.platform){let n=i(t);return e.startsWith(`./`)||e.startsWith(`../`)||e.startsWith(`.\\`)||e.startsWith(`..\\`)||e.startsWith(`/`)||e.startsWith(`~/`)||n&&r(e)}function m(e,t){return r(e)&&!i(t)}function h(e){return s(e.trim())}function g(e,n){let r=e.trim();if(!t(r)||!n)return h(r);let i=f(h(n));if(!i)return h(r);let a=[...i.segments];for(let e of r.split(/[\\/]+/))if(e.length!==0&&e!==`.`){if(e===`..`){a.pop();continue}a.push(e)}let o=a.join(i.separator);return o.length===0?h(i.root):h(`${i.root}${o}`)}function _(t){let n=h(t);return e(n)||n.startsWith(`\\\\`)?n.replaceAll(`/`,`\\`).toLowerCase():n}function v(e,t){let n=_(t);if(n.length!==0)return e.find(e=>_(e.cwd)===n)}function y(e){let t=h(e),n=f(t);return n?n.segments.findLast(Boolean)??t:t.split(/[/\\]/).findLast(Boolean)??t}function b(e,t){let n=c(e);return`${S(e)}${t}${n}`}function x(e){let t=d(e);return e.slice(t+1)}function S(e){if(l(e))return e;let t=d(e);return t<0?e:e.slice(0,t+1)}function C(e){let t=e.trim();return t.length===0||l(t)?t:`${t}${c(t)}`}function w(e){let t=e.workspaceAccessRoot?.trim()??``;if(t.length>0)return C(t);let n=e.configuredBaseDirectory?.trim()??``;return n.length>0?C(n):`~/`}function T(e){let t=s(e),n=f(t);if(n){if(n.segments.length===0)return null;if(n.segments.length===1)return n.root;let e=n.segments.slice(0,-1).join(n.separator);return`${n.root}${e}${n.separator}`}let r=c(e),i=d(t);return i<0?null:i===2&&/^[a-zA-Z]:/.test(t)?`${t.slice(0,2)}${r}`:t.slice(0,i+1)}function E(e){return l(e)&&T(e)!==null}function D(e,t){let n=s(e.trim()),r=s(t.trim());return o(n)===`windows`||o(r)===`windows`?n.replace(/\//g,`\\`).toLowerCase()===r.replace(/\//g,`\\`).toLowerCase():n===r}export{S as a,l as c,D as d,m as f,g as h,v as i,y as l,w as m,E as n,x as o,_ as p,C as r,T as s,b as t,p as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{it as r}from"./src-Vf4LVnMX.js";import{It as i,Tt as a,wt as o}from"./composerDraftStore-CdJJZe42.js";import{$t as s,Bt as c,Gn as l,Mn as u,N as d,Nn as f,R as p,Xn as m,Z as h,a as g,i as _,j as v,l as y,nn as b,nt as x,o as S,zt as ee}from"./usePopupViewport-BuhsNdVy.js";import{d as C,t as w}from"./useRenderElement-DchFnsR8.js";import{n as T}from"./loader-circle-CrtHFAvM.js";import{C as E,S as D,a as O,b as k,c as A,d as j,f as M,g as N,h as P,i as F,l as I,m as L,p as R,r as z,u as B,w as V,x as H,y as U}from"./kbd-DCGQZk18.js";import{t as W}from"./x-C1Cemsov.js";import{t as G}from"./utils-BofFIn5Y.js";import{r as K}from"./session-logic-DElAta-Z.js";import{n as te,p as ne}from"./useScrollLock-D3tMGsRk.js";import{n as re}from"./ToolbarRootContext-BgqqXVly.js";import{t as ie}from"./input-CHEwW3oH.js";import{t as ae}from"./scroll-area-Drsa8bNB.js";import{_ as oe,m as se,o as ce,p as le,s as ue,v as de}from"./Icons-CT3nd2MA.js";var q=e(t(),1),fe=``;function pe(e){let t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=null;for(;t.nextNode();){let e=t.currentNode;e.nodeValue!==``&&(n=e)}return n}function J(){let e=b(),t=q.useRef(null);return q.useEffect(()=>{if(s)return;let n=t.current;if(n==null)return;let r=pe(n);if(r==null)return;let i=r.data,a=`${i}${fe}`;return r.nodeValue=a,e.start(200,()=>{r.nodeValue===a&&(r.nodeValue=i)}),()=>{e.clear(),r.nodeValue===a&&(r.nodeValue=i)}},[t,e]),t}var me=q.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,s=J();return w(`div`,e,{ref:[t,s],props:[{children:a,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})}),Y=q.createContext(void 0);function he(){let e=q.useContext(Y);if(e===void 0)throw Error(C(20));return e}var X=i(),ge=q.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=E(),a=p(i,k.mounted),o=p(i,k.forceMounted);return a||n||o?(0,X.jsx)(Y.Provider,{value:n,children:(0,X.jsx)(h,{ref:t,...r})}):null}),_e=q.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:d=`clipping-ancestors`,collisionPadding:m,arrowPadding:h,sticky:g,disableAnchorTracking:v=!1,collisionAvoidance:b=x,style:ee,...C}=e,w=E(),T=D(),O=he(),A=p(w,k.modal),j=p(w,k.open),N=p(w,k.mounted),F=p(w,k.openMethod),I=p(w,k.positionerElement),L=p(w,k.triggerElement),R=p(w,k.inputElement),z=p(w,k.inputGroupElement),B=p(w,k.inputInsidePopup),V=p(w,k.transitionStatus),H=P(),U=S({anchor:i??(B?L:z??R),floatingRootContext:T,positionMethod:a,mounted:N,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:h,collisionBoundary:d,collisionPadding:m,sticky:g,disableAnchorTracking:v,keepMounted:O,collisionAvoidance:b,lazyFlip:!0});re(j&&A,F===`touch`,I,L);let W={open:j,side:U.side,align:U.align,anchorHidden:U.anchorHidden,empty:H};u(()=>{w.set(`popupSide`,U.side)},[w,U.side]);let G=f(e=>{w.set(`positionerElement`,e)}),K=_(e,W,{styles:U.positionerStyles,transitionStatus:V,props:C,refs:[t,G],hidden:!N,inert:!j});return(0,X.jsxs)(M.Provider,{value:U,children:[N&&A&&(0,X.jsx)(te,{inert:y(!j),cutout:z??R??L}),K]})}),ve={...l,...m},ye=q.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,l=E(),d=R(),f=D(),m=p(l,k.mounted),h=p(l,k.open),_=p(l,k.openMethod),y=p(l,k.popupProps),b=p(l,k.transitionStatus),x=p(l,k.inputInsidePopup),S=p(l,k.inputElement),C=p(l,k.modal),T=p(l,k.id),O=P(),A=s.id??(x?U(T):void 0);u(()=>(l.set(`popupId`,l.state.popupRef.current?.id||A),()=>{l.set(`popupId`,void 0)}),[l,A]),v({open:h,ref:l.state.popupRef,onComplete(){h&&l.state.onOpenChangeComplete(!0)}});let M={open:h,side:d.side,align:d.align,anchorHidden:d.anchorHidden,transitionStatus:b,empty:O},N=w(`div`,e,{state:M,ref:[t,l.state.popupRef],props:[y,{id:A,role:x?`dialog`:`presentation`,onFocus(e){let t=c(e.nativeEvent);_!==`touch`&&(ee(l.state.listElement,t)||t===e.currentTarget)&&l.state.inputRef.current?.focus()}},g(b),s],stateAttributesMapping:ve}),F=a===void 0?x?e=>e===`touch`?l.state.popupRef.current:S:!1:a,I;I=o??(x?void 0:!1);let L=!x||C;return(0,X.jsx)(ne,{context:f,disabled:!m,modal:L,openInteractionType:_,initialFocus:F,returnFocus:I,getInsideElements:()=>[l.state.startDismissRef.current,l.state.endDismissRef.current],children:(0,X.jsxs)(q.Fragment,{children:[N,L&&(0,X.jsx)(j,{ref:l.state.endDismissRef})]})})}),be=q.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,{filteredItems:s}=H(),c=E(),l=J(),u=s.length===0?a:null;return w(`div`,e,{ref:[t,c.state.emptyRef,l],props:[{children:u,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})});function xe(e){let{multiple:t=!1,defaultValue:n,value:r,onValueChange:i,autoComplete:a,...o}=e;return(0,X.jsx)(N,{...o,selectionMode:t?`multiple`:`single`,selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:i,formAutoComplete:a})}var Se=q.forwardRef(function(e,t){let{selected:n}=F();return e.keepMounted||n?(0,X.jsx)(Ce,{...e,ref:t}):null}),Ce=q.memo(q.forwardRef((e,t)=>{let{render:n,className:r,style:i,keepMounted:a,...o}=e,{selected:s}=F(),c=q.useRef(null),{transitionStatus:l,setMounted:u}=d(s),f=w(`span`,e,{ref:[t,c],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},o],stateAttributesMapping:m});return v({open:s,ref:c,onComplete(){s||u(!1)}}),f})),Z=n(),Q=q.createContext({chipsRef:null,multiple:!1});function we(e){let t=(0,Z.c)(7),n=q.useRef(null),r=!!e.multiple,i;t[0]===r?i=t[1]:(i={chipsRef:n,multiple:r},t[0]=r,t[1]=i);let a=i,o;t[2]===e?o=t[3]:(o=(0,X.jsx)(xe,{...e}),t[2]=e,t[3]=o);let s;return t[4]!==o||t[5]!==a?(s=(0,X.jsx)(Q.Provider,{value:a,children:o}),t[4]=o,t[5]=a,t[6]=s):s=t[6],s}function Te(e){let t=(0,Z.c)(34),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:n,inputClassName:r,showTrigger:s,showClear:c,startAddon:o,size:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=s===void 0||s,u=c!==void 0&&c,d=a??`default`,f;t[8]===o?f=t[9]:(f=o&&(0,X.jsx)(`div`,{"aria-hidden":`true`,className:`[&_svg]:-mx-0.5 pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 has-[+[data-size=sm]]:ps-[calc(--spacing(2.5)-1px)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4`,"data-slot":`combobox-start-addon`,children:o}),t[8]=o,t[9]=f);let p=o&&`data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]`,m=d===`sm`?`has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-6.5`:`has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-7`,h;t[10]!==n||t[11]!==p||t[12]!==m?(h=G(p,m,n),t[10]=n,t[11]=p,t[12]=m,t[13]=h):h=t[13];let g;t[14]===r?g=t[15]:(g=G(`has-disabled:opacity-100`,r),t[14]=r,t[15]=g);let _;t[16]!==d||t[17]!==g?(_=(0,X.jsx)(ie,{className:g,nativeInput:!0,size:d}),t[16]=d,t[17]=g,t[18]=_):_=t[18];let v;t[19]!==i||t[20]!==h||t[21]!==_?(v=(0,X.jsx)(B,{className:h,"data-slot":`combobox-input`,render:_,...i}),t[19]=i,t[20]=h,t[21]=_,t[22]=v):v=t[22];let y;t[23]!==l||t[24]!==d?(y=l&&(0,X.jsx)($,{className:G(`-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,d===`sm`?`end-0`:`end-0.5`),children:(0,X.jsx)(I,{"data-slot":`combobox-icon`,children:(0,X.jsx)(V,{})})}),t[23]=l,t[24]=d,t[25]=y):y=t[25];let b;t[26]!==u||t[27]!==d?(b=u&&(0,X.jsx)(je,{className:G(`-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,d===`sm`?`end-0`:`end-0.5`),children:(0,X.jsx)(W,{})}),t[26]=u,t[27]=d,t[28]=b):b=t[28];let x;return t[29]!==y||t[30]!==b||t[31]!==f||t[32]!==v?(x=(0,X.jsxs)(`div`,{className:`relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64`,children:[f,v,y,b]}),t[29]=y,t[30]=b,t[31]=f,t[32]=v,t[33]=x):x=t[33],x}function $(e){let t=(0,Z.c)(8),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;return t[4]!==n||t[5]!==r||t[6]!==i?(a=(0,X.jsx)(L,{className:r,"data-slot":`combobox-trigger`,...i,children:n}),t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ee(e){let t=(0,Z.c)(24),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({className:a,children:i,side:s,sideOffset:c,alignOffset:n,align:l,anchor:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=s===void 0?`bottom`:s,d=c===void 0?4:c,f=l===void 0?`start`:l,{chipsRef:p}=q.useContext(Q),m=r??p,h;t[9]===a?h=t[10]:(h=G(`selection-glass-surface relative flex max-h-full min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) overflow-hidden rounded-lg border transition-[scale,opacity,translate] duration-(--app-motion-duration-pop) ease-(--app-motion-spring-gentle) will-change-transform data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0`,a),t[9]=a,t[10]=h);let g;t[11]!==i||t[12]!==o?(g=(0,X.jsx)(ye,{className:`flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground`,"data-slot":`combobox-popup`,...o,children:i}),t[11]=i,t[12]=o,t[13]=g):g=t[13];let _;t[14]!==h||t[15]!==g?(_=(0,X.jsx)(`span`,{className:h,children:g}),t[14]=h,t[15]=g,t[16]=_):_=t[16];let v;return t[17]!==f||t[18]!==n||t[19]!==m||t[20]!==u||t[21]!==d||t[22]!==_?(v=(0,X.jsx)(ge,{children:(0,X.jsx)(_e,{align:f,alignOffset:n,anchor:m,className:`z-50 select-none`,"data-slot":`combobox-positioner`,side:u,sideOffset:d,children:_})}),t[17]=f,t[18]=n,t[19]=m,t[20]=u,t[21]=d,t[22]=_,t[23]=v):v=t[23],v}function De(e){let t=(0,Z.c)(24),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,contentClassName:i,children:n,hideIndicator:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o!==void 0&&o,c;t[6]===r?c=t[7]:(c=G(`grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none hover:bg-accent/70 data-disabled:pointer-events-none data-selected:bg-accent/50 data-selected:text-foreground data-highlighted:bg-accent/80 data-highlighted:text-accent-foreground [&[data-highlighted][data-selected]]:bg-accent/90 [&[data-highlighted][data-selected]]:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,r),t[6]=r,t[7]=c);let l=s&&`hidden`,u;t[8]===l?u=t[9]:(u=G(`col-start-1`,l),t[8]=l,t[9]=u);let d;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,X.jsx)(T,{}),t[10]=d):d=t[10];let f;t[11]===u?f=t[12]:(f=(0,X.jsx)(Se,{className:u,children:d}),t[11]=u,t[12]=f);let p=s?`col-start-1 col-span-full`:`col-start-2`,m;t[13]!==i||t[14]!==p?(m=G(p,i),t[13]=i,t[14]=p,t[15]=m):m=t[15];let h;t[16]!==n||t[17]!==m?(h=(0,X.jsx)(`div`,{className:m,children:n}),t[16]=n,t[17]=m,t[18]=h):h=t[18];let g;return t[19]!==a||t[20]!==c||t[21]!==f||t[22]!==h?(g=(0,X.jsxs)(z,{className:c,"data-slot":`combobox-item`,...a,children:[f,h]}),t[19]=a,t[20]=c,t[21]=f,t[22]=h,t[23]=g):g=t[23],g}function Oe(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(be,{className:i,"data-slot":`combobox-empty`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ke(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(ae,{scrollbarGutter:!0,scrollFade:!0,children:(0,X.jsx)(O,{className:i,"data-slot":`combobox-list`,...r})}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ae(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:px-1 not-empty:py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(O,{className:i,"data-slot":`combobox-list`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function je(e){let t=(0,Z.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;return t[3]!==n||t[4]!==r?(i=(0,X.jsx)(A,{className:n,"data-slot":`combobox-clear`,...r}),t[3]=n,t[4]=r,t[5]=i):i=t[5],i}function Me(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(me,{className:i,"data-slot":`combobox-status`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ne={[r.make(`codex`)]:oe,[r.make(`claudeAgent`)]:ce,[r.make(`copilot`)]:le,[r.make(`opencode`)]:de,[r.make(`cursor`)]:ue,[r.make(`grok`)]:se};function Pe(e){return e.available}K.filter(Pe);function Fe(e,t){return a(e,t)}function Ie(e){return Fe(e,{preferShortName:!0})}function Le(e){return o(e,{preferShortName:!0})}export{we as a,De as c,Ee as d,Me as f,Ie as i,ke as l,Fe as n,Oe as o,$ as p,Le as r,Te as s,Ne as t,Ae as u};
|
|
1
|
+
import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{it as r}from"./src-Vf4LVnMX.js";import{It as i,Tt as a,wt as o}from"./composerDraftStore-CdJJZe42.js";import{$t as s,Bt as c,Gn as l,Mn as u,N as d,Nn as f,R as p,Xn as m,Z as h,a as g,i as _,j as v,l as y,nn as b,nt as x,o as S,zt as ee}from"./usePopupViewport-BuhsNdVy.js";import{d as C,t as w}from"./useRenderElement-DchFnsR8.js";import{n as T}from"./loader-circle-CrtHFAvM.js";import{C as E,S as D,a as O,b as k,c as A,d as j,f as M,g as N,h as P,i as F,l as I,m as L,p as R,r as z,u as B,w as V,x as H,y as U}from"./kbd-DCGQZk18.js";import{t as W}from"./x-C1Cemsov.js";import{t as G}from"./utils-BofFIn5Y.js";import{r as K}from"./session-logic-wxhvMgEN.js";import{n as te,p as ne}from"./useScrollLock-D3tMGsRk.js";import{n as re}from"./ToolbarRootContext-BgqqXVly.js";import{t as ie}from"./input-CHEwW3oH.js";import{t as ae}from"./scroll-area-Drsa8bNB.js";import{_ as oe,m as se,o as ce,p as le,s as ue,v as de}from"./Icons-CT3nd2MA.js";var q=e(t(),1),fe=``;function pe(e){let t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=null;for(;t.nextNode();){let e=t.currentNode;e.nodeValue!==``&&(n=e)}return n}function J(){let e=b(),t=q.useRef(null);return q.useEffect(()=>{if(s)return;let n=t.current;if(n==null)return;let r=pe(n);if(r==null)return;let i=r.data,a=`${i}${fe}`;return r.nodeValue=a,e.start(200,()=>{r.nodeValue===a&&(r.nodeValue=i)}),()=>{e.clear(),r.nodeValue===a&&(r.nodeValue=i)}},[t,e]),t}var me=q.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,s=J();return w(`div`,e,{ref:[t,s],props:[{children:a,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})}),Y=q.createContext(void 0);function he(){let e=q.useContext(Y);if(e===void 0)throw Error(C(20));return e}var X=i(),ge=q.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=E(),a=p(i,k.mounted),o=p(i,k.forceMounted);return a||n||o?(0,X.jsx)(Y.Provider,{value:n,children:(0,X.jsx)(h,{ref:t,...r})}):null}),_e=q.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:d=`clipping-ancestors`,collisionPadding:m,arrowPadding:h,sticky:g,disableAnchorTracking:v=!1,collisionAvoidance:b=x,style:ee,...C}=e,w=E(),T=D(),O=he(),A=p(w,k.modal),j=p(w,k.open),N=p(w,k.mounted),F=p(w,k.openMethod),I=p(w,k.positionerElement),L=p(w,k.triggerElement),R=p(w,k.inputElement),z=p(w,k.inputGroupElement),B=p(w,k.inputInsidePopup),V=p(w,k.transitionStatus),H=P(),U=S({anchor:i??(B?L:z??R),floatingRootContext:T,positionMethod:a,mounted:N,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:h,collisionBoundary:d,collisionPadding:m,sticky:g,disableAnchorTracking:v,keepMounted:O,collisionAvoidance:b,lazyFlip:!0});re(j&&A,F===`touch`,I,L);let W={open:j,side:U.side,align:U.align,anchorHidden:U.anchorHidden,empty:H};u(()=>{w.set(`popupSide`,U.side)},[w,U.side]);let G=f(e=>{w.set(`positionerElement`,e)}),K=_(e,W,{styles:U.positionerStyles,transitionStatus:V,props:C,refs:[t,G],hidden:!N,inert:!j});return(0,X.jsxs)(M.Provider,{value:U,children:[N&&A&&(0,X.jsx)(te,{inert:y(!j),cutout:z??R??L}),K]})}),ve={...l,...m},ye=q.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,l=E(),d=R(),f=D(),m=p(l,k.mounted),h=p(l,k.open),_=p(l,k.openMethod),y=p(l,k.popupProps),b=p(l,k.transitionStatus),x=p(l,k.inputInsidePopup),S=p(l,k.inputElement),C=p(l,k.modal),T=p(l,k.id),O=P(),A=s.id??(x?U(T):void 0);u(()=>(l.set(`popupId`,l.state.popupRef.current?.id||A),()=>{l.set(`popupId`,void 0)}),[l,A]),v({open:h,ref:l.state.popupRef,onComplete(){h&&l.state.onOpenChangeComplete(!0)}});let M={open:h,side:d.side,align:d.align,anchorHidden:d.anchorHidden,transitionStatus:b,empty:O},N=w(`div`,e,{state:M,ref:[t,l.state.popupRef],props:[y,{id:A,role:x?`dialog`:`presentation`,onFocus(e){let t=c(e.nativeEvent);_!==`touch`&&(ee(l.state.listElement,t)||t===e.currentTarget)&&l.state.inputRef.current?.focus()}},g(b),s],stateAttributesMapping:ve}),F=a===void 0?x?e=>e===`touch`?l.state.popupRef.current:S:!1:a,I;I=o??(x?void 0:!1);let L=!x||C;return(0,X.jsx)(ne,{context:f,disabled:!m,modal:L,openInteractionType:_,initialFocus:F,returnFocus:I,getInsideElements:()=>[l.state.startDismissRef.current,l.state.endDismissRef.current],children:(0,X.jsxs)(q.Fragment,{children:[N,L&&(0,X.jsx)(j,{ref:l.state.endDismissRef})]})})}),be=q.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,{filteredItems:s}=H(),c=E(),l=J(),u=s.length===0?a:null;return w(`div`,e,{ref:[t,c.state.emptyRef,l],props:[{children:u,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})});function xe(e){let{multiple:t=!1,defaultValue:n,value:r,onValueChange:i,autoComplete:a,...o}=e;return(0,X.jsx)(N,{...o,selectionMode:t?`multiple`:`single`,selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:i,formAutoComplete:a})}var Se=q.forwardRef(function(e,t){let{selected:n}=F();return e.keepMounted||n?(0,X.jsx)(Ce,{...e,ref:t}):null}),Ce=q.memo(q.forwardRef((e,t)=>{let{render:n,className:r,style:i,keepMounted:a,...o}=e,{selected:s}=F(),c=q.useRef(null),{transitionStatus:l,setMounted:u}=d(s),f=w(`span`,e,{ref:[t,c],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},o],stateAttributesMapping:m});return v({open:s,ref:c,onComplete(){s||u(!1)}}),f})),Z=n(),Q=q.createContext({chipsRef:null,multiple:!1});function we(e){let t=(0,Z.c)(7),n=q.useRef(null),r=!!e.multiple,i;t[0]===r?i=t[1]:(i={chipsRef:n,multiple:r},t[0]=r,t[1]=i);let a=i,o;t[2]===e?o=t[3]:(o=(0,X.jsx)(xe,{...e}),t[2]=e,t[3]=o);let s;return t[4]!==o||t[5]!==a?(s=(0,X.jsx)(Q.Provider,{value:a,children:o}),t[4]=o,t[5]=a,t[6]=s):s=t[6],s}function Te(e){let t=(0,Z.c)(34),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:n,inputClassName:r,showTrigger:s,showClear:c,startAddon:o,size:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=s===void 0||s,u=c!==void 0&&c,d=a??`default`,f;t[8]===o?f=t[9]:(f=o&&(0,X.jsx)(`div`,{"aria-hidden":`true`,className:`[&_svg]:-mx-0.5 pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 has-[+[data-size=sm]]:ps-[calc(--spacing(2.5)-1px)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4`,"data-slot":`combobox-start-addon`,children:o}),t[8]=o,t[9]=f);let p=o&&`data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]`,m=d===`sm`?`has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-6.5`:`has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-7`,h;t[10]!==n||t[11]!==p||t[12]!==m?(h=G(p,m,n),t[10]=n,t[11]=p,t[12]=m,t[13]=h):h=t[13];let g;t[14]===r?g=t[15]:(g=G(`has-disabled:opacity-100`,r),t[14]=r,t[15]=g);let _;t[16]!==d||t[17]!==g?(_=(0,X.jsx)(ie,{className:g,nativeInput:!0,size:d}),t[16]=d,t[17]=g,t[18]=_):_=t[18];let v;t[19]!==i||t[20]!==h||t[21]!==_?(v=(0,X.jsx)(B,{className:h,"data-slot":`combobox-input`,render:_,...i}),t[19]=i,t[20]=h,t[21]=_,t[22]=v):v=t[22];let y;t[23]!==l||t[24]!==d?(y=l&&(0,X.jsx)($,{className:G(`-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,d===`sm`?`end-0`:`end-0.5`),children:(0,X.jsx)(I,{"data-slot":`combobox-icon`,children:(0,X.jsx)(V,{})})}),t[23]=l,t[24]=d,t[25]=y):y=t[25];let b;t[26]!==u||t[27]!==d?(b=u&&(0,X.jsx)(je,{className:G(`-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,d===`sm`?`end-0`:`end-0.5`),children:(0,X.jsx)(W,{})}),t[26]=u,t[27]=d,t[28]=b):b=t[28];let x;return t[29]!==y||t[30]!==b||t[31]!==f||t[32]!==v?(x=(0,X.jsxs)(`div`,{className:`relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64`,children:[f,v,y,b]}),t[29]=y,t[30]=b,t[31]=f,t[32]=v,t[33]=x):x=t[33],x}function $(e){let t=(0,Z.c)(8),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;return t[4]!==n||t[5]!==r||t[6]!==i?(a=(0,X.jsx)(L,{className:r,"data-slot":`combobox-trigger`,...i,children:n}),t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ee(e){let t=(0,Z.c)(24),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({className:a,children:i,side:s,sideOffset:c,alignOffset:n,align:l,anchor:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=s===void 0?`bottom`:s,d=c===void 0?4:c,f=l===void 0?`start`:l,{chipsRef:p}=q.useContext(Q),m=r??p,h;t[9]===a?h=t[10]:(h=G(`selection-glass-surface relative flex max-h-full min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) overflow-hidden rounded-lg border transition-[scale,opacity,translate] duration-(--app-motion-duration-pop) ease-(--app-motion-spring-gentle) will-change-transform data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0`,a),t[9]=a,t[10]=h);let g;t[11]!==i||t[12]!==o?(g=(0,X.jsx)(ye,{className:`flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground`,"data-slot":`combobox-popup`,...o,children:i}),t[11]=i,t[12]=o,t[13]=g):g=t[13];let _;t[14]!==h||t[15]!==g?(_=(0,X.jsx)(`span`,{className:h,children:g}),t[14]=h,t[15]=g,t[16]=_):_=t[16];let v;return t[17]!==f||t[18]!==n||t[19]!==m||t[20]!==u||t[21]!==d||t[22]!==_?(v=(0,X.jsx)(ge,{children:(0,X.jsx)(_e,{align:f,alignOffset:n,anchor:m,className:`z-50 select-none`,"data-slot":`combobox-positioner`,side:u,sideOffset:d,children:_})}),t[17]=f,t[18]=n,t[19]=m,t[20]=u,t[21]=d,t[22]=_,t[23]=v):v=t[23],v}function De(e){let t=(0,Z.c)(24),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,contentClassName:i,children:n,hideIndicator:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o!==void 0&&o,c;t[6]===r?c=t[7]:(c=G(`grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none hover:bg-accent/70 data-disabled:pointer-events-none data-selected:bg-accent/50 data-selected:text-foreground data-highlighted:bg-accent/80 data-highlighted:text-accent-foreground [&[data-highlighted][data-selected]]:bg-accent/90 [&[data-highlighted][data-selected]]:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,r),t[6]=r,t[7]=c);let l=s&&`hidden`,u;t[8]===l?u=t[9]:(u=G(`col-start-1`,l),t[8]=l,t[9]=u);let d;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,X.jsx)(T,{}),t[10]=d):d=t[10];let f;t[11]===u?f=t[12]:(f=(0,X.jsx)(Se,{className:u,children:d}),t[11]=u,t[12]=f);let p=s?`col-start-1 col-span-full`:`col-start-2`,m;t[13]!==i||t[14]!==p?(m=G(p,i),t[13]=i,t[14]=p,t[15]=m):m=t[15];let h;t[16]!==n||t[17]!==m?(h=(0,X.jsx)(`div`,{className:m,children:n}),t[16]=n,t[17]=m,t[18]=h):h=t[18];let g;return t[19]!==a||t[20]!==c||t[21]!==f||t[22]!==h?(g=(0,X.jsxs)(z,{className:c,"data-slot":`combobox-item`,...a,children:[f,h]}),t[19]=a,t[20]=c,t[21]=f,t[22]=h,t[23]=g):g=t[23],g}function Oe(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(be,{className:i,"data-slot":`combobox-empty`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ke(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(ae,{scrollbarGutter:!0,scrollFade:!0,children:(0,X.jsx)(O,{className:i,"data-slot":`combobox-list`,...r})}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ae(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:px-1 not-empty:py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(O,{className:i,"data-slot":`combobox-list`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function je(e){let t=(0,Z.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;return t[3]!==n||t[4]!==r?(i=(0,X.jsx)(A,{className:n,"data-slot":`combobox-clear`,...r}),t[3]=n,t[4]=r,t[5]=i):i=t[5],i}function Me(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(me,{className:i,"data-slot":`combobox-status`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ne={[r.make(`codex`)]:oe,[r.make(`claudeAgent`)]:ce,[r.make(`copilot`)]:le,[r.make(`opencode`)]:de,[r.make(`cursor`)]:ue,[r.make(`grok`)]:se};function Pe(e){return e.available}K.filter(Pe);function Fe(e,t){return a(e,t)}function Ie(e){return Fe(e,{preferShortName:!0})}function Le(e){return o(e,{preferShortName:!0})}export{we as a,De as c,Ee as d,Me as f,Ie as i,ke as l,Fe as n,Oe as o,$ as p,Le as r,Te as s,Ne as t,Ae as u};
|