@tom2012/cc-web 2026.6.16-b → 2026.6.17-b

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 (45) hide show
  1. package/CHANGELOG.json +2 -0
  2. package/backend/dist/index.d.ts.map +1 -1
  3. package/backend/dist/index.js +2 -0
  4. package/backend/dist/index.js.map +1 -1
  5. package/backend/dist/routes/todos.d.ts +3 -0
  6. package/backend/dist/routes/todos.d.ts.map +1 -0
  7. package/backend/dist/routes/todos.js +86 -0
  8. package/backend/dist/routes/todos.js.map +1 -0
  9. package/backend/dist/todos.d.ts +43 -0
  10. package/backend/dist/todos.d.ts.map +1 -0
  11. package/backend/dist/todos.js +184 -0
  12. package/backend/dist/todos.js.map +1 -0
  13. package/bin/ccweb.js +1 -2
  14. package/frontend/dist/assets/ChatOverlay-Dp1BzsYb.js +13 -0
  15. package/frontend/dist/assets/{ClaudeMemPage-4xS26cd_.js → ClaudeMemPage-CpzMjJnb.js} +1 -1
  16. package/frontend/dist/assets/{GraphPreview-D8qvNCfB.js → GraphPreview-DDY1yVOX.js} +2 -2
  17. package/frontend/dist/assets/{MobilePage-h6nA8yyt.js → MobilePage-BnnE820D.js} +3 -3
  18. package/frontend/dist/assets/NotebookPage-BOiYcs-l.js +13 -0
  19. package/frontend/dist/assets/{OfficePreview-BT-1GmTK.js → OfficePreview-C5N2gr8-.js} +2 -2
  20. package/frontend/dist/assets/{PdfPreview-D6rZuv8C.js → PdfPreview-COG-9AQa.js} +1 -1
  21. package/frontend/dist/assets/{ProjectPage-CN420RNC.js → ProjectPage-ARPH_J5o.js} +5 -5
  22. package/frontend/dist/assets/{ProjectSettingsPage-90KiUD2M.js → ProjectSettingsPage-CMWcT-5r.js} +3 -3
  23. package/frontend/dist/assets/{SettingsPage-BqNxT1iB.js → SettingsPage-BMrIDtg8.js} +1 -1
  24. package/frontend/dist/assets/{SkillHubPage-BHZoI993.js → SkillHubPage-Bq93A7Rt.js} +1 -1
  25. package/frontend/dist/assets/{check-circle-2-CdtsUdet.js → check-circle-2-BGT1eH1f.js} +1 -1
  26. package/frontend/dist/assets/{chevron-down-ovAqDKwI.js → chevron-down-Bbg11n9i.js} +1 -1
  27. package/frontend/dist/assets/chevron-left-BmStQriC.js +7 -0
  28. package/frontend/dist/assets/{file-text-Cj8n_6fj.js → file-text-D9WjmbhK.js} +1 -1
  29. package/frontend/dist/assets/index-BRqvDxO6.js +13 -0
  30. package/frontend/dist/assets/{index-BJ8f9B6b.js → index-Bhp9CVTp.js} +1 -1
  31. package/frontend/dist/assets/{index-DEJiBQJR.js → index-COZnAgez.js} +1 -1
  32. package/frontend/dist/assets/{index-CRo82xso.js → index-EFhMcMWk.js} +9 -9
  33. package/frontend/dist/assets/index-GfCaMXPO.css +1 -0
  34. package/frontend/dist/assets/{jszip.min-CJNVz1_q.js → jszip.min-Dyo__hKc.js} +1 -1
  35. package/frontend/dist/assets/{save-CrHmoDw1.js → save-CAjdgnp7.js} +1 -1
  36. package/frontend/dist/assets/{search-lKtcrVXr.js → search-DmWhhICR.js} +1 -1
  37. package/frontend/dist/assets/{select-eZo9Zifh.js → select-DAfsBGCS.js} +1 -1
  38. package/frontend/dist/assets/{tabs-BuTf3eh_.js → tabs-zra46FZv.js} +1 -1
  39. package/frontend/dist/assets/{textarea-Bt8ATXGQ.js → textarea-BG4Tvy0e.js} +1 -1
  40. package/frontend/dist/index.html +2 -2
  41. package/package.json +1 -1
  42. package/frontend/dist/assets/ChatOverlay-Bj49Majf.js +0 -13
  43. package/frontend/dist/assets/NotebookPage-DtrQBnPy.js +0 -1
  44. package/frontend/dist/assets/clock-9D3X6IAV.js +0 -7
  45. package/frontend/dist/assets/index-CrWOYDYH.css +0 -1
@@ -1 +1 @@
1
- import{r as e,j as t,a5 as n,a9 as r,R as o,ad as l,af as a,bd as s,a7 as i,bu as c,bG as d,aa as u,a8 as p,ae as f,ac as m,b5 as h,a6 as v,ag as g,ai as x,aj as y,ak as w,al as b,am as S,an as C,d as j,C as N}from"./index-CRo82xso.js";import{u as R,c as _,C as P}from"./index-DEJiBQJR.js";import{C as I}from"./chevron-down-ovAqDKwI.js";function E(n){const r=k(n),o=e.forwardRef((n,o)=>{const{children:l,...a}=n,s=e.Children.toArray(l),i=s.find(D);if(i){const n=i.props.children,l=s.map(t=>t===i?e.Children.count(n)>1?e.Children.only(null):e.isValidElement(n)?n.props.children:null:t);return t.jsx(r,{...a,ref:o,children:e.isValidElement(n)?e.cloneElement(n,void 0,l):null})}return t.jsx(r,{...a,ref:o,children:l})});return o.displayName=`${n}.Slot`,o}function k(t){const r=e.forwardRef((t,r)=>{const{children:o,...l}=t;if(e.isValidElement(o)){const t=function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;if(o)return e.ref;if(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o)return e.props.ref;return e.props.ref||e.ref}(o),a=function(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{const t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(l,o.props);return o.type!==e.Fragment&&(a.ref=r?n(r,t):t),e.cloneElement(o,a)}return e.Children.count(o)>1?e.Children.only(null):null});return r.displayName=`${t}.SlotClone`,r}var T=Symbol("radix.slottable");function D(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===T}function M(e){const n=e+"CollectionProvider",[a,s]=r(n),[i,c]=a(n,{collectionRef:{current:null},itemMap:new Map}),d=e=>{const{scope:n,children:r}=e,l=o.useRef(null),a=o.useRef(new Map).current;return t.jsx(i,{scope:n,itemMap:a,collectionRef:l,children:r})};d.displayName=n;const u=e+"CollectionSlot",p=E(u),f=o.forwardRef((e,n)=>{const{scope:r,children:o}=e,a=c(u,r),s=l(n,a.collectionRef);return t.jsx(p,{ref:s,children:o})});f.displayName=u;const m=e+"CollectionItemSlot",h="data-radix-collection-item",v=E(m),g=o.forwardRef((e,n)=>{const{scope:r,children:a,...s}=e,i=o.useRef(null),d=l(n,i),u=c(m,r);return o.useEffect(()=>(u.itemMap.set(i,{ref:i,...s}),()=>{u.itemMap.delete(i)})),t.jsx(v,{[h]:"",ref:d,children:a})});return g.displayName=m,[{Provider:d,Slot:f,ItemSlot:g},function(t){const n=c(e+"CollectionConsumer",t);return o.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},s]}function O(n){const r=A(n),o=e.forwardRef((n,o)=>{const{children:l,...a}=n,s=e.Children.toArray(l),i=s.find(L);if(i){const n=i.props.children,l=s.map(t=>t===i?e.Children.count(n)>1?e.Children.only(null):e.isValidElement(n)?n.props.children:null:t);return t.jsx(r,{...a,ref:o,children:e.isValidElement(n)?e.cloneElement(n,void 0,l):null})}return t.jsx(r,{...a,ref:o,children:l})});return o.displayName=`${n}.Slot`,o}function A(t){const r=e.forwardRef((t,r)=>{const{children:o,...l}=t;if(e.isValidElement(o)){const t=function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;if(o)return e.ref;if(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o)return e.props.ref;return e.props.ref||e.ref}(o),a=function(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{const t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(l,o.props);return o.type!==e.Fragment&&(a.ref=r?n(r,t):t),e.cloneElement(o,a)}return e.Children.count(o)>1?e.Children.only(null):null});return r.displayName=`${t}.SlotClone`,r}var V=Symbol("radix.slottable");function L(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===V}function H(t){const n=e.useRef({value:t,previous:t});return e.useMemo(()=>(n.current.value!==t&&(n.current.previous=n.current.value,n.current.value=t),n.current.previous),[t])}var W=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});e.forwardRef((e,n)=>t.jsx(a.span,{...e,ref:n,style:{...W,...e.style}})).displayName="VisuallyHidden";var B=[" ","Enter","ArrowUp","ArrowDown"],F=[" ","Enter"],K="Select",[z,U,q]=M(K),[$]=r(K,[q,u]),Z=u(),[G,X]=$(K),[Y,J]=$(K),Q=n=>{const{__scopeSelect:r,children:o,open:l,defaultOpen:a,onOpenChange:d,value:u,defaultValue:p,onValueChange:f,dir:m,name:h,autoComplete:v,disabled:g,required:x,form:y}=n,w=Z(r),[b,S]=e.useState(null),[C,j]=e.useState(null),[N,_]=e.useState(!1),P=R(m),[I,E]=s({prop:l,defaultProp:a??!1,onChange:d,caller:K}),[k,T]=s({prop:u,defaultProp:p,onChange:f,caller:K}),D=e.useRef(null),M=!b||(y||!!b.closest("form")),[O,A]=e.useState(new Set),V=Array.from(O).map(e=>e.props.value).join(";");return t.jsx(i,{...w,children:t.jsxs(G,{required:x,scope:r,trigger:b,onTriggerChange:S,valueNode:C,onValueNodeChange:j,valueNodeHasChildren:N,onValueNodeHasChildrenChange:_,contentId:c(),value:k,onValueChange:T,open:I,onOpenChange:E,dir:P,triggerPointerDownPosRef:D,disabled:g,children:[t.jsx(z.Provider,{scope:r,children:t.jsx(Y,{scope:n.__scopeSelect,onNativeOptionAdd:e.useCallback(e=>{A(t=>new Set(t).add(e))},[]),onNativeOptionRemove:e.useCallback(e=>{A(t=>{const n=new Set(t);return n.delete(e),n})},[]),children:o})}),M?t.jsxs(He,{"aria-hidden":!0,required:x,tabIndex:-1,name:h,autoComplete:v,value:k,onChange:e=>T(e.target.value),disabled:g,form:y,children:[void 0===k?t.jsx("option",{value:""}):null,Array.from(O)]},V):null]})})};Q.displayName=K;var ee="SelectTrigger",te=e.forwardRef((n,r)=>{const{__scopeSelect:o,disabled:s=!1,...i}=n,c=Z(o),d=X(ee,o),u=d.disabled||s,m=l(r,d.onTriggerChange),h=U(o),v=e.useRef("touch"),[g,x,y]=Be(e=>{const t=h().filter(e=>!e.disabled),n=t.find(e=>e.value===d.value),r=Fe(t,e,n);void 0!==r&&d.onValueChange(r.value)}),w=e=>{u||(d.onOpenChange(!0),y()),e&&(d.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return t.jsx(p,{asChild:!0,...c,children:t.jsx(a.button,{type:"button",role:"combobox","aria-controls":d.contentId,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":We(d.value)?"":void 0,...i,ref:m,onClick:f(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==v.current&&w(e)}),onPointerDown:f(i.onPointerDown,e=>{v.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:f(i.onKeyDown,e=>{const t=""!==g.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||x(e.key),t&&" "===e.key||B.includes(e.key)&&(w(),e.preventDefault())})})})});te.displayName=ee;var ne="SelectValue",re=e.forwardRef((e,n)=>{const{__scopeSelect:r,className:o,style:s,children:i,placeholder:c="",...u}=e,p=X(ne,r),{onValueNodeHasChildrenChange:f}=p,m=void 0!==i,h=l(n,p.onValueNodeChange);return d(()=>{f(m)},[f,m]),t.jsx(a.span,{...u,ref:h,style:{pointerEvents:"none"},children:We(p.value)?t.jsx(t.Fragment,{children:c}):i})});re.displayName=ne;var oe=e.forwardRef((e,n)=>{const{__scopeSelect:r,children:o,...l}=e;return t.jsx(a.span,{"aria-hidden":!0,...l,ref:n,children:o||"▼"})});oe.displayName="SelectIcon";var le=e=>t.jsx(m,{asChild:!0,...e});le.displayName="SelectPortal";var ae="SelectContent",se=e.forwardRef((n,r)=>{const o=X(ae,n.__scopeSelect),[l,a]=e.useState();if(d(()=>{a(new DocumentFragment)},[]),!o.open){const e=l;return e?h.createPortal(t.jsx(ce,{scope:n.__scopeSelect,children:t.jsx(z.Slot,{scope:n.__scopeSelect,children:t.jsx("div",{children:n.children})})}),e):null}return t.jsx(pe,{...n,ref:r})});se.displayName=ae;var ie=10,[ce,de]=$(ae),ue=O("SelectContent.RemoveScroll"),pe=e.forwardRef((n,r)=>{const{__scopeSelect:o,position:a="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:i,onPointerDownOutside:c,side:d,sideOffset:u,align:p,alignOffset:m,arrowPadding:h,collisionBoundary:v,collisionPadding:S,sticky:C,hideWhenDetached:j,avoidCollisions:N,...R}=n,_=X(ae,o),[P,I]=e.useState(null),[E,k]=e.useState(null),T=l(r,e=>I(e)),[D,M]=e.useState(null),[O,A]=e.useState(null),V=U(o),[L,H]=e.useState(!1),W=e.useRef(!1);e.useEffect(()=>{if(P)return g(P)},[P]),x();const B=e.useCallback(e=>{const[t,...n]=V().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(const l of e){if(l===o)return;if(null==l||l.scrollIntoView({block:"nearest"}),l===t&&E&&(E.scrollTop=0),l===r&&E&&(E.scrollTop=E.scrollHeight),null==l||l.focus(),document.activeElement!==o)return}},[V,E]),F=e.useCallback(()=>B([D,P]),[B,D,P]);e.useEffect(()=>{L&&F()},[L,F]);const{onOpenChange:K,triggerPointerDownPosRef:z}=_;e.useEffect(()=>{if(P){let e={x:0,y:0};const t=t=>{var n,r;e={x:Math.abs(Math.round(t.pageX)-((null==(n=z.current)?void 0:n.x)??0)),y:Math.abs(Math.round(t.pageY)-((null==(r=z.current)?void 0:r.y)??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():P.contains(n.target)||K(!1),document.removeEventListener("pointermove",t),z.current=null};return null!==z.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[P,K,z]),e.useEffect(()=>{const e=()=>K(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[K]);const[q,$]=Be(e=>{const t=V().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=Fe(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Z=e.useCallback((e,t,n)=>{const r=!W.current&&!n;(void 0!==_.value&&_.value===t||r)&&(M(e),r&&(W.current=!0))},[_.value]),G=e.useCallback(()=>null==P?void 0:P.focus(),[P]),Y=e.useCallback((e,t,n)=>{const r=!W.current&&!n;(void 0!==_.value&&_.value===t||r)&&A(e)},[_.value]),J="popper"===a?me:fe,Q=J===me?{side:d,sideOffset:u,align:p,alignOffset:m,arrowPadding:h,collisionBoundary:v,collisionPadding:S,sticky:C,hideWhenDetached:j,avoidCollisions:N}:{};return t.jsx(ce,{scope:o,content:P,viewport:E,onViewportChange:k,itemRefCallback:Z,selectedItem:D,onItemLeave:G,itemTextRefCallback:Y,focusSelectedItem:F,selectedItemText:O,position:a,isPositioned:L,searchRef:q,children:t.jsx(y,{as:ue,allowPinchZoom:!0,children:t.jsx(w,{asChild:!0,trapped:_.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:f(s,e=>{var t;null==(t=_.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:t.jsx(b,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>_.onOpenChange(!1),children:t.jsx(J,{role:"listbox",id:_.contentId,"data-state":_.open?"open":"closed",dir:_.dir,onContextMenu:e=>e.preventDefault(),...R,...Q,onPlaced:()=>H(!0),ref:T,style:{display:"flex",flexDirection:"column",outline:"none",...R.style},onKeyDown:f(R.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||$(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=V().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>B(t)),e.preventDefault()}})})})})})})});pe.displayName="SelectContentImpl";var fe=e.forwardRef((n,r)=>{const{__scopeSelect:o,onPlaced:s,...i}=n,c=X(ae,o),u=de(ae,o),[p,f]=e.useState(null),[m,h]=e.useState(null),v=l(r,e=>h(e)),g=U(o),x=e.useRef(!1),y=e.useRef(!0),{viewport:w,selectedItem:b,selectedItemText:S,focusSelectedItem:C}=u,j=e.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&m&&w&&b&&S){const e=c.trigger.getBoundingClientRect(),t=m.getBoundingClientRect(),n=c.valueNode.getBoundingClientRect(),r=S.getBoundingClientRect();if("rtl"!==c.dir){const o=r.left-t.left,l=n.left-o,a=e.left-l,s=e.width+a,i=Math.max(s,t.width),c=window.innerWidth-ie,d=_(l,[ie,Math.max(ie,c-i)]);p.style.minWidth=s+"px",p.style.left=d+"px"}else{const o=t.right-r.right,l=window.innerWidth-n.right-o,a=window.innerWidth-e.right-l,s=e.width+a,i=Math.max(s,t.width),c=window.innerWidth-ie,d=_(l,[ie,Math.max(ie,c-i)]);p.style.minWidth=s+"px",p.style.right=d+"px"}const o=g(),l=window.innerHeight-2*ie,a=w.scrollHeight,i=window.getComputedStyle(m),d=parseInt(i.borderTopWidth,10),u=parseInt(i.paddingTop,10),f=parseInt(i.borderBottomWidth,10),h=d+u+a+parseInt(i.paddingBottom,10)+f,v=Math.min(5*b.offsetHeight,h),y=window.getComputedStyle(w),C=parseInt(y.paddingTop,10),j=parseInt(y.paddingBottom,10),N=e.top+e.height/2-ie,R=l-N,P=b.offsetHeight/2,I=d+u+(b.offsetTop+P),E=h-I;if(I<=N){const e=o.length>0&&b===o[o.length-1].ref.current;p.style.bottom="0px";const t=m.clientHeight-w.offsetTop-w.offsetHeight,n=I+Math.max(R,P+(e?j:0)+t+f);p.style.height=n+"px"}else{const e=o.length>0&&b===o[0].ref.current;p.style.top="0px";const t=Math.max(N,d+w.offsetTop+(e?C:0)+P)+E;p.style.height=t+"px",w.scrollTop=I-N+w.offsetTop}p.style.margin=`${ie}px 0`,p.style.minHeight=v+"px",p.style.maxHeight=l+"px",null==s||s(),requestAnimationFrame(()=>x.current=!0)}},[g,c.trigger,c.valueNode,p,m,w,b,S,c.dir,s]);d(()=>j(),[j]);const[N,R]=e.useState();d(()=>{m&&R(window.getComputedStyle(m).zIndex)},[m]);const P=e.useCallback(e=>{e&&!0===y.current&&(j(),null==C||C(),y.current=!1)},[j,C]);return t.jsx(he,{scope:o,contentWrapper:p,shouldExpandOnScrollRef:x,onScrollButtonChange:P,children:t.jsx("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:N},children:t.jsx(a.div,{...i,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});fe.displayName="SelectItemAlignedPosition";var me=e.forwardRef((e,n)=>{const{__scopeSelect:r,align:o="start",collisionPadding:l=ie,...a}=e,s=Z(r);return t.jsx(S,{...s,...a,ref:n,align:o,collisionPadding:l,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});me.displayName="SelectPopperPosition";var[he,ve]=$(ae,{}),ge="SelectViewport",xe=e.forwardRef((n,r)=>{const{__scopeSelect:o,nonce:s,...i}=n,c=de(ge,o),d=ve(ge,o),u=l(r,c.onViewportChange),p=e.useRef(0);return t.jsxs(t.Fragment,{children:[t.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),t.jsx(z.Slot,{scope:o,children:t.jsx(a.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:f(i.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=d;if((null==r?void 0:r.current)&&n){const e=Math.abs(p.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*ie,o=parseFloat(n.style.minHeight),l=parseFloat(n.style.height),a=Math.max(o,l);if(a<r){const o=a+e,l=Math.min(r,o),s=o-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}p.current=t.scrollTop})})})]})});xe.displayName=ge;var ye="SelectGroup",[we,be]=$(ye);e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=c();return t.jsx(we,{scope:r,id:l,children:t.jsx(a.div,{role:"group","aria-labelledby":l,...o,ref:n})})}).displayName=ye;var Se="SelectLabel",Ce=e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=be(Se,r);return t.jsx(a.div,{id:l.id,...o,ref:n})});Ce.displayName=Se;var je="SelectItem",[Ne,Re]=$(je),_e=e.forwardRef((n,r)=>{const{__scopeSelect:o,value:s,disabled:i=!1,textValue:d,...u}=n,p=X(je,o),m=de(je,o),h=p.value===s,[v,g]=e.useState(d??""),[x,y]=e.useState(!1),w=l(r,e=>{var t;return null==(t=m.itemRefCallback)?void 0:t.call(m,e,s,i)}),b=c(),S=e.useRef("touch"),C=()=>{i||(p.onValueChange(s),p.onOpenChange(!1))};if(""===s)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.jsx(Ne,{scope:o,value:s,disabled:i,textId:b,isSelected:h,onItemTextChange:e.useCallback(e=>{g(t=>t||((null==e?void 0:e.textContent)??"").trim())},[]),children:t.jsx(z.ItemSlot,{scope:o,value:s,disabled:i,textValue:v,children:t.jsx(a.div,{role:"option","aria-labelledby":b,"data-highlighted":x?"":void 0,"aria-selected":h&&x,"data-state":h?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...u,ref:w,onFocus:f(u.onFocus,()=>y(!0)),onBlur:f(u.onBlur,()=>y(!1)),onClick:f(u.onClick,()=>{"mouse"!==S.current&&C()}),onPointerUp:f(u.onPointerUp,()=>{"mouse"===S.current&&C()}),onPointerDown:f(u.onPointerDown,e=>{S.current=e.pointerType}),onPointerMove:f(u.onPointerMove,e=>{var t;S.current=e.pointerType,i?null==(t=m.onItemLeave)||t.call(m):"mouse"===S.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:f(u.onPointerLeave,e=>{var t;e.currentTarget===document.activeElement&&(null==(t=m.onItemLeave)||t.call(m))}),onKeyDown:f(u.onKeyDown,e=>{var t;""!==(null==(t=m.searchRef)?void 0:t.current)&&" "===e.key||(F.includes(e.key)&&C()," "===e.key&&e.preventDefault())})})})})});_e.displayName=je;var Pe="SelectItemText",Ie=e.forwardRef((n,r)=>{const{__scopeSelect:o,className:s,style:i,...c}=n,u=X(Pe,o),p=de(Pe,o),f=Re(Pe,o),m=J(Pe,o),[v,g]=e.useState(null),x=l(r,e=>g(e),f.onItemTextChange,e=>{var t;return null==(t=p.itemTextRefCallback)?void 0:t.call(p,e,f.value,f.disabled)}),y=null==v?void 0:v.textContent,w=e.useMemo(()=>t.jsx("option",{value:f.value,disabled:f.disabled,children:y},f.value),[f.disabled,f.value,y]),{onNativeOptionAdd:b,onNativeOptionRemove:S}=m;return d(()=>(b(w),()=>S(w)),[b,S,w]),t.jsxs(t.Fragment,{children:[t.jsx(a.span,{id:f.textId,...c,ref:x}),f.isSelected&&u.valueNode&&!u.valueNodeHasChildren?h.createPortal(c.children,u.valueNode):null]})});Ie.displayName=Pe;var Ee="SelectItemIndicator",ke=e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e;return Re(Ee,r).isSelected?t.jsx(a.span,{"aria-hidden":!0,...o,ref:n}):null});ke.displayName=Ee;var Te="SelectScrollUpButton",De=e.forwardRef((n,r)=>{const o=de(Te,n.__scopeSelect),a=ve(Te,n.__scopeSelect),[s,i]=e.useState(!1),c=l(r,a.onScrollButtonChange);return d(()=>{if(o.viewport&&o.isPositioned){let e=function(){const e=t.scrollTop>0;i(e)};const t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),s?t.jsx(Ae,{...n,ref:c,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});De.displayName=Te;var Me="SelectScrollDownButton",Oe=e.forwardRef((n,r)=>{const o=de(Me,n.__scopeSelect),a=ve(Me,n.__scopeSelect),[s,i]=e.useState(!1),c=l(r,a.onScrollButtonChange);return d(()=>{if(o.viewport&&o.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)};const t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),s?t.jsx(Ae,{...n,ref:c,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});Oe.displayName=Me;var Ae=e.forwardRef((n,r)=>{const{__scopeSelect:o,onAutoScroll:l,...s}=n,i=de("SelectScrollButton",o),c=e.useRef(null),u=U(o),p=e.useCallback(()=>{null!==c.current&&(window.clearInterval(c.current),c.current=null)},[]);return e.useEffect(()=>()=>p(),[p]),d(()=>{var e;const t=u().find(e=>e.ref.current===document.activeElement);null==(e=null==t?void 0:t.ref.current)||e.scrollIntoView({block:"nearest"})},[u]),t.jsx(a.div,{"aria-hidden":!0,...s,ref:r,style:{flexShrink:0,...s.style},onPointerDown:f(s.onPointerDown,()=>{null===c.current&&(c.current=window.setInterval(l,50))}),onPointerMove:f(s.onPointerMove,()=>{var e;null==(e=i.onItemLeave)||e.call(i),null===c.current&&(c.current=window.setInterval(l,50))}),onPointerLeave:f(s.onPointerLeave,()=>{p()})})}),Ve=e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e;return t.jsx(a.div,{"aria-hidden":!0,...o,ref:n})});Ve.displayName="SelectSeparator";var Le="SelectArrow";e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=Z(r),a=X(Le,r),s=de(Le,r);return a.open&&"popper"===s.position?t.jsx(C,{...l,...o,ref:n}):null}).displayName=Le;var He=e.forwardRef(({__scopeSelect:n,value:r,...o},s)=>{const i=e.useRef(null),c=l(s,i),d=H(r);return e.useEffect(()=>{const e=i.current;if(!e)return;const t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set;if(d!==r&&n){const t=new Event("change",{bubbles:!0});n.call(e,r),e.dispatchEvent(t)}},[d,r]),t.jsx(a.select,{...o,style:{...W,...o.style},ref:c,defaultValue:r})});function We(e){return""===e||void 0===e}function Be(t){const n=v(t),r=e.useRef(""),o=e.useRef(0),l=e.useCallback(e=>{const t=r.current+e;n(t),function e(t){r.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(t)},[n]),a=e.useCallback(()=>{r.current="",window.clearTimeout(o.current)},[]);return e.useEffect(()=>()=>window.clearTimeout(o.current),[]),[r,l,a]}function Fe(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let l=(a=e,s=Math.max(o,0),a.map((e,t)=>a[(s+t)%a.length]));var a,s;1===r.length&&(l=l.filter(e=>e!==n));const i=l.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return i!==n?i:void 0}He.displayName="SelectBubbleInput";var Ke=te,ze=oe,Ue=le,qe=se,$e=xe,Ze=Ce,Ge=_e,Xe=Ie,Ye=ke,Je=De,Qe=Oe,et=Ve;const tt=Q,nt=re,rt=e.forwardRef(({className:e,children:n,...r},o)=>t.jsxs(Ke,{ref:o,className:j("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[n,t.jsx(ze,{asChild:!0,children:t.jsx(I,{className:"h-4 w-4 opacity-50"})})]}));rt.displayName=Ke.displayName;const ot=e.forwardRef(({className:e,...n},r)=>t.jsx(Je,{ref:r,className:j("flex cursor-default items-center justify-center py-1",e),...n,children:t.jsx(P,{className:"h-4 w-4"})}));ot.displayName=Je.displayName;const lt=e.forwardRef(({className:e,...n},r)=>t.jsx(Qe,{ref:r,className:j("flex cursor-default items-center justify-center py-1",e),...n,children:t.jsx(I,{className:"h-4 w-4"})}));lt.displayName=Qe.displayName;const at=e.forwardRef(({className:e,children:n,position:r="popper",...o},l)=>t.jsx(Ue,{children:t.jsxs(qe,{ref:l,className:j("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...o,children:[t.jsx(ot,{}),t.jsx($e,{className:j("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:n}),t.jsx(lt,{})]})}));at.displayName=qe.displayName;e.forwardRef(({className:e,...n},r)=>t.jsx(Ze,{ref:r,className:j("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...n})).displayName=Ze.displayName;const st=e.forwardRef(({className:e,children:n,...r},o)=>t.jsxs(Ge,{ref:o,className:j("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[t.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:t.jsx(Ye,{children:t.jsx(N,{className:"h-4 w-4"})})}),t.jsx(Xe,{children:n})]}));st.displayName=Ge.displayName;e.forwardRef(({className:e,...n},r)=>t.jsx(et,{ref:r,className:j("-mx-1 my-1 h-px bg-muted",e),...n})).displayName=et.displayName;export{tt as S,rt as a,nt as b,M as c,at as d,st as e,H as u};
1
+ import{r as e,j as t,a5 as n,a9 as r,R as o,ad as l,af as a,bd as s,a7 as i,bu as c,bG as d,aa as u,a8 as p,ae as f,ac as m,b5 as h,a6 as v,ag as g,ai as x,aj as y,ak as w,al as b,am as S,an as C,d as j,C as N}from"./index-EFhMcMWk.js";import{u as R,c as _,C as P}from"./index-COZnAgez.js";import{C as I}from"./chevron-down-Bbg11n9i.js";function E(n){const r=k(n),o=e.forwardRef((n,o)=>{const{children:l,...a}=n,s=e.Children.toArray(l),i=s.find(D);if(i){const n=i.props.children,l=s.map(t=>t===i?e.Children.count(n)>1?e.Children.only(null):e.isValidElement(n)?n.props.children:null:t);return t.jsx(r,{...a,ref:o,children:e.isValidElement(n)?e.cloneElement(n,void 0,l):null})}return t.jsx(r,{...a,ref:o,children:l})});return o.displayName=`${n}.Slot`,o}function k(t){const r=e.forwardRef((t,r)=>{const{children:o,...l}=t;if(e.isValidElement(o)){const t=function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;if(o)return e.ref;if(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o)return e.props.ref;return e.props.ref||e.ref}(o),a=function(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{const t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(l,o.props);return o.type!==e.Fragment&&(a.ref=r?n(r,t):t),e.cloneElement(o,a)}return e.Children.count(o)>1?e.Children.only(null):null});return r.displayName=`${t}.SlotClone`,r}var T=Symbol("radix.slottable");function D(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===T}function M(e){const n=e+"CollectionProvider",[a,s]=r(n),[i,c]=a(n,{collectionRef:{current:null},itemMap:new Map}),d=e=>{const{scope:n,children:r}=e,l=o.useRef(null),a=o.useRef(new Map).current;return t.jsx(i,{scope:n,itemMap:a,collectionRef:l,children:r})};d.displayName=n;const u=e+"CollectionSlot",p=E(u),f=o.forwardRef((e,n)=>{const{scope:r,children:o}=e,a=c(u,r),s=l(n,a.collectionRef);return t.jsx(p,{ref:s,children:o})});f.displayName=u;const m=e+"CollectionItemSlot",h="data-radix-collection-item",v=E(m),g=o.forwardRef((e,n)=>{const{scope:r,children:a,...s}=e,i=o.useRef(null),d=l(n,i),u=c(m,r);return o.useEffect(()=>(u.itemMap.set(i,{ref:i,...s}),()=>{u.itemMap.delete(i)})),t.jsx(v,{[h]:"",ref:d,children:a})});return g.displayName=m,[{Provider:d,Slot:f,ItemSlot:g},function(t){const n=c(e+"CollectionConsumer",t);return o.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},s]}function O(n){const r=A(n),o=e.forwardRef((n,o)=>{const{children:l,...a}=n,s=e.Children.toArray(l),i=s.find(L);if(i){const n=i.props.children,l=s.map(t=>t===i?e.Children.count(n)>1?e.Children.only(null):e.isValidElement(n)?n.props.children:null:t);return t.jsx(r,{...a,ref:o,children:e.isValidElement(n)?e.cloneElement(n,void 0,l):null})}return t.jsx(r,{...a,ref:o,children:l})});return o.displayName=`${n}.Slot`,o}function A(t){const r=e.forwardRef((t,r)=>{const{children:o,...l}=t;if(e.isValidElement(o)){const t=function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;if(o)return e.ref;if(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o)return e.props.ref;return e.props.ref||e.ref}(o),a=function(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{const t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(l,o.props);return o.type!==e.Fragment&&(a.ref=r?n(r,t):t),e.cloneElement(o,a)}return e.Children.count(o)>1?e.Children.only(null):null});return r.displayName=`${t}.SlotClone`,r}var V=Symbol("radix.slottable");function L(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===V}function H(t){const n=e.useRef({value:t,previous:t});return e.useMemo(()=>(n.current.value!==t&&(n.current.previous=n.current.value,n.current.value=t),n.current.previous),[t])}var W=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});e.forwardRef((e,n)=>t.jsx(a.span,{...e,ref:n,style:{...W,...e.style}})).displayName="VisuallyHidden";var B=[" ","Enter","ArrowUp","ArrowDown"],F=[" ","Enter"],K="Select",[z,U,q]=M(K),[$]=r(K,[q,u]),Z=u(),[G,X]=$(K),[Y,J]=$(K),Q=n=>{const{__scopeSelect:r,children:o,open:l,defaultOpen:a,onOpenChange:d,value:u,defaultValue:p,onValueChange:f,dir:m,name:h,autoComplete:v,disabled:g,required:x,form:y}=n,w=Z(r),[b,S]=e.useState(null),[C,j]=e.useState(null),[N,_]=e.useState(!1),P=R(m),[I,E]=s({prop:l,defaultProp:a??!1,onChange:d,caller:K}),[k,T]=s({prop:u,defaultProp:p,onChange:f,caller:K}),D=e.useRef(null),M=!b||(y||!!b.closest("form")),[O,A]=e.useState(new Set),V=Array.from(O).map(e=>e.props.value).join(";");return t.jsx(i,{...w,children:t.jsxs(G,{required:x,scope:r,trigger:b,onTriggerChange:S,valueNode:C,onValueNodeChange:j,valueNodeHasChildren:N,onValueNodeHasChildrenChange:_,contentId:c(),value:k,onValueChange:T,open:I,onOpenChange:E,dir:P,triggerPointerDownPosRef:D,disabled:g,children:[t.jsx(z.Provider,{scope:r,children:t.jsx(Y,{scope:n.__scopeSelect,onNativeOptionAdd:e.useCallback(e=>{A(t=>new Set(t).add(e))},[]),onNativeOptionRemove:e.useCallback(e=>{A(t=>{const n=new Set(t);return n.delete(e),n})},[]),children:o})}),M?t.jsxs(He,{"aria-hidden":!0,required:x,tabIndex:-1,name:h,autoComplete:v,value:k,onChange:e=>T(e.target.value),disabled:g,form:y,children:[void 0===k?t.jsx("option",{value:""}):null,Array.from(O)]},V):null]})})};Q.displayName=K;var ee="SelectTrigger",te=e.forwardRef((n,r)=>{const{__scopeSelect:o,disabled:s=!1,...i}=n,c=Z(o),d=X(ee,o),u=d.disabled||s,m=l(r,d.onTriggerChange),h=U(o),v=e.useRef("touch"),[g,x,y]=Be(e=>{const t=h().filter(e=>!e.disabled),n=t.find(e=>e.value===d.value),r=Fe(t,e,n);void 0!==r&&d.onValueChange(r.value)}),w=e=>{u||(d.onOpenChange(!0),y()),e&&(d.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return t.jsx(p,{asChild:!0,...c,children:t.jsx(a.button,{type:"button",role:"combobox","aria-controls":d.contentId,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":We(d.value)?"":void 0,...i,ref:m,onClick:f(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==v.current&&w(e)}),onPointerDown:f(i.onPointerDown,e=>{v.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:f(i.onKeyDown,e=>{const t=""!==g.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||x(e.key),t&&" "===e.key||B.includes(e.key)&&(w(),e.preventDefault())})})})});te.displayName=ee;var ne="SelectValue",re=e.forwardRef((e,n)=>{const{__scopeSelect:r,className:o,style:s,children:i,placeholder:c="",...u}=e,p=X(ne,r),{onValueNodeHasChildrenChange:f}=p,m=void 0!==i,h=l(n,p.onValueNodeChange);return d(()=>{f(m)},[f,m]),t.jsx(a.span,{...u,ref:h,style:{pointerEvents:"none"},children:We(p.value)?t.jsx(t.Fragment,{children:c}):i})});re.displayName=ne;var oe=e.forwardRef((e,n)=>{const{__scopeSelect:r,children:o,...l}=e;return t.jsx(a.span,{"aria-hidden":!0,...l,ref:n,children:o||"▼"})});oe.displayName="SelectIcon";var le=e=>t.jsx(m,{asChild:!0,...e});le.displayName="SelectPortal";var ae="SelectContent",se=e.forwardRef((n,r)=>{const o=X(ae,n.__scopeSelect),[l,a]=e.useState();if(d(()=>{a(new DocumentFragment)},[]),!o.open){const e=l;return e?h.createPortal(t.jsx(ce,{scope:n.__scopeSelect,children:t.jsx(z.Slot,{scope:n.__scopeSelect,children:t.jsx("div",{children:n.children})})}),e):null}return t.jsx(pe,{...n,ref:r})});se.displayName=ae;var ie=10,[ce,de]=$(ae),ue=O("SelectContent.RemoveScroll"),pe=e.forwardRef((n,r)=>{const{__scopeSelect:o,position:a="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:i,onPointerDownOutside:c,side:d,sideOffset:u,align:p,alignOffset:m,arrowPadding:h,collisionBoundary:v,collisionPadding:S,sticky:C,hideWhenDetached:j,avoidCollisions:N,...R}=n,_=X(ae,o),[P,I]=e.useState(null),[E,k]=e.useState(null),T=l(r,e=>I(e)),[D,M]=e.useState(null),[O,A]=e.useState(null),V=U(o),[L,H]=e.useState(!1),W=e.useRef(!1);e.useEffect(()=>{if(P)return g(P)},[P]),x();const B=e.useCallback(e=>{const[t,...n]=V().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(const l of e){if(l===o)return;if(null==l||l.scrollIntoView({block:"nearest"}),l===t&&E&&(E.scrollTop=0),l===r&&E&&(E.scrollTop=E.scrollHeight),null==l||l.focus(),document.activeElement!==o)return}},[V,E]),F=e.useCallback(()=>B([D,P]),[B,D,P]);e.useEffect(()=>{L&&F()},[L,F]);const{onOpenChange:K,triggerPointerDownPosRef:z}=_;e.useEffect(()=>{if(P){let e={x:0,y:0};const t=t=>{var n,r;e={x:Math.abs(Math.round(t.pageX)-((null==(n=z.current)?void 0:n.x)??0)),y:Math.abs(Math.round(t.pageY)-((null==(r=z.current)?void 0:r.y)??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():P.contains(n.target)||K(!1),document.removeEventListener("pointermove",t),z.current=null};return null!==z.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[P,K,z]),e.useEffect(()=>{const e=()=>K(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[K]);const[q,$]=Be(e=>{const t=V().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=Fe(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Z=e.useCallback((e,t,n)=>{const r=!W.current&&!n;(void 0!==_.value&&_.value===t||r)&&(M(e),r&&(W.current=!0))},[_.value]),G=e.useCallback(()=>null==P?void 0:P.focus(),[P]),Y=e.useCallback((e,t,n)=>{const r=!W.current&&!n;(void 0!==_.value&&_.value===t||r)&&A(e)},[_.value]),J="popper"===a?me:fe,Q=J===me?{side:d,sideOffset:u,align:p,alignOffset:m,arrowPadding:h,collisionBoundary:v,collisionPadding:S,sticky:C,hideWhenDetached:j,avoidCollisions:N}:{};return t.jsx(ce,{scope:o,content:P,viewport:E,onViewportChange:k,itemRefCallback:Z,selectedItem:D,onItemLeave:G,itemTextRefCallback:Y,focusSelectedItem:F,selectedItemText:O,position:a,isPositioned:L,searchRef:q,children:t.jsx(y,{as:ue,allowPinchZoom:!0,children:t.jsx(w,{asChild:!0,trapped:_.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:f(s,e=>{var t;null==(t=_.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:t.jsx(b,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>_.onOpenChange(!1),children:t.jsx(J,{role:"listbox",id:_.contentId,"data-state":_.open?"open":"closed",dir:_.dir,onContextMenu:e=>e.preventDefault(),...R,...Q,onPlaced:()=>H(!0),ref:T,style:{display:"flex",flexDirection:"column",outline:"none",...R.style},onKeyDown:f(R.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||$(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=V().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>B(t)),e.preventDefault()}})})})})})})});pe.displayName="SelectContentImpl";var fe=e.forwardRef((n,r)=>{const{__scopeSelect:o,onPlaced:s,...i}=n,c=X(ae,o),u=de(ae,o),[p,f]=e.useState(null),[m,h]=e.useState(null),v=l(r,e=>h(e)),g=U(o),x=e.useRef(!1),y=e.useRef(!0),{viewport:w,selectedItem:b,selectedItemText:S,focusSelectedItem:C}=u,j=e.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&m&&w&&b&&S){const e=c.trigger.getBoundingClientRect(),t=m.getBoundingClientRect(),n=c.valueNode.getBoundingClientRect(),r=S.getBoundingClientRect();if("rtl"!==c.dir){const o=r.left-t.left,l=n.left-o,a=e.left-l,s=e.width+a,i=Math.max(s,t.width),c=window.innerWidth-ie,d=_(l,[ie,Math.max(ie,c-i)]);p.style.minWidth=s+"px",p.style.left=d+"px"}else{const o=t.right-r.right,l=window.innerWidth-n.right-o,a=window.innerWidth-e.right-l,s=e.width+a,i=Math.max(s,t.width),c=window.innerWidth-ie,d=_(l,[ie,Math.max(ie,c-i)]);p.style.minWidth=s+"px",p.style.right=d+"px"}const o=g(),l=window.innerHeight-2*ie,a=w.scrollHeight,i=window.getComputedStyle(m),d=parseInt(i.borderTopWidth,10),u=parseInt(i.paddingTop,10),f=parseInt(i.borderBottomWidth,10),h=d+u+a+parseInt(i.paddingBottom,10)+f,v=Math.min(5*b.offsetHeight,h),y=window.getComputedStyle(w),C=parseInt(y.paddingTop,10),j=parseInt(y.paddingBottom,10),N=e.top+e.height/2-ie,R=l-N,P=b.offsetHeight/2,I=d+u+(b.offsetTop+P),E=h-I;if(I<=N){const e=o.length>0&&b===o[o.length-1].ref.current;p.style.bottom="0px";const t=m.clientHeight-w.offsetTop-w.offsetHeight,n=I+Math.max(R,P+(e?j:0)+t+f);p.style.height=n+"px"}else{const e=o.length>0&&b===o[0].ref.current;p.style.top="0px";const t=Math.max(N,d+w.offsetTop+(e?C:0)+P)+E;p.style.height=t+"px",w.scrollTop=I-N+w.offsetTop}p.style.margin=`${ie}px 0`,p.style.minHeight=v+"px",p.style.maxHeight=l+"px",null==s||s(),requestAnimationFrame(()=>x.current=!0)}},[g,c.trigger,c.valueNode,p,m,w,b,S,c.dir,s]);d(()=>j(),[j]);const[N,R]=e.useState();d(()=>{m&&R(window.getComputedStyle(m).zIndex)},[m]);const P=e.useCallback(e=>{e&&!0===y.current&&(j(),null==C||C(),y.current=!1)},[j,C]);return t.jsx(he,{scope:o,contentWrapper:p,shouldExpandOnScrollRef:x,onScrollButtonChange:P,children:t.jsx("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:N},children:t.jsx(a.div,{...i,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});fe.displayName="SelectItemAlignedPosition";var me=e.forwardRef((e,n)=>{const{__scopeSelect:r,align:o="start",collisionPadding:l=ie,...a}=e,s=Z(r);return t.jsx(S,{...s,...a,ref:n,align:o,collisionPadding:l,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});me.displayName="SelectPopperPosition";var[he,ve]=$(ae,{}),ge="SelectViewport",xe=e.forwardRef((n,r)=>{const{__scopeSelect:o,nonce:s,...i}=n,c=de(ge,o),d=ve(ge,o),u=l(r,c.onViewportChange),p=e.useRef(0);return t.jsxs(t.Fragment,{children:[t.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),t.jsx(z.Slot,{scope:o,children:t.jsx(a.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:f(i.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=d;if((null==r?void 0:r.current)&&n){const e=Math.abs(p.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*ie,o=parseFloat(n.style.minHeight),l=parseFloat(n.style.height),a=Math.max(o,l);if(a<r){const o=a+e,l=Math.min(r,o),s=o-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}p.current=t.scrollTop})})})]})});xe.displayName=ge;var ye="SelectGroup",[we,be]=$(ye);e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=c();return t.jsx(we,{scope:r,id:l,children:t.jsx(a.div,{role:"group","aria-labelledby":l,...o,ref:n})})}).displayName=ye;var Se="SelectLabel",Ce=e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=be(Se,r);return t.jsx(a.div,{id:l.id,...o,ref:n})});Ce.displayName=Se;var je="SelectItem",[Ne,Re]=$(je),_e=e.forwardRef((n,r)=>{const{__scopeSelect:o,value:s,disabled:i=!1,textValue:d,...u}=n,p=X(je,o),m=de(je,o),h=p.value===s,[v,g]=e.useState(d??""),[x,y]=e.useState(!1),w=l(r,e=>{var t;return null==(t=m.itemRefCallback)?void 0:t.call(m,e,s,i)}),b=c(),S=e.useRef("touch"),C=()=>{i||(p.onValueChange(s),p.onOpenChange(!1))};if(""===s)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.jsx(Ne,{scope:o,value:s,disabled:i,textId:b,isSelected:h,onItemTextChange:e.useCallback(e=>{g(t=>t||((null==e?void 0:e.textContent)??"").trim())},[]),children:t.jsx(z.ItemSlot,{scope:o,value:s,disabled:i,textValue:v,children:t.jsx(a.div,{role:"option","aria-labelledby":b,"data-highlighted":x?"":void 0,"aria-selected":h&&x,"data-state":h?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...u,ref:w,onFocus:f(u.onFocus,()=>y(!0)),onBlur:f(u.onBlur,()=>y(!1)),onClick:f(u.onClick,()=>{"mouse"!==S.current&&C()}),onPointerUp:f(u.onPointerUp,()=>{"mouse"===S.current&&C()}),onPointerDown:f(u.onPointerDown,e=>{S.current=e.pointerType}),onPointerMove:f(u.onPointerMove,e=>{var t;S.current=e.pointerType,i?null==(t=m.onItemLeave)||t.call(m):"mouse"===S.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:f(u.onPointerLeave,e=>{var t;e.currentTarget===document.activeElement&&(null==(t=m.onItemLeave)||t.call(m))}),onKeyDown:f(u.onKeyDown,e=>{var t;""!==(null==(t=m.searchRef)?void 0:t.current)&&" "===e.key||(F.includes(e.key)&&C()," "===e.key&&e.preventDefault())})})})})});_e.displayName=je;var Pe="SelectItemText",Ie=e.forwardRef((n,r)=>{const{__scopeSelect:o,className:s,style:i,...c}=n,u=X(Pe,o),p=de(Pe,o),f=Re(Pe,o),m=J(Pe,o),[v,g]=e.useState(null),x=l(r,e=>g(e),f.onItemTextChange,e=>{var t;return null==(t=p.itemTextRefCallback)?void 0:t.call(p,e,f.value,f.disabled)}),y=null==v?void 0:v.textContent,w=e.useMemo(()=>t.jsx("option",{value:f.value,disabled:f.disabled,children:y},f.value),[f.disabled,f.value,y]),{onNativeOptionAdd:b,onNativeOptionRemove:S}=m;return d(()=>(b(w),()=>S(w)),[b,S,w]),t.jsxs(t.Fragment,{children:[t.jsx(a.span,{id:f.textId,...c,ref:x}),f.isSelected&&u.valueNode&&!u.valueNodeHasChildren?h.createPortal(c.children,u.valueNode):null]})});Ie.displayName=Pe;var Ee="SelectItemIndicator",ke=e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e;return Re(Ee,r).isSelected?t.jsx(a.span,{"aria-hidden":!0,...o,ref:n}):null});ke.displayName=Ee;var Te="SelectScrollUpButton",De=e.forwardRef((n,r)=>{const o=de(Te,n.__scopeSelect),a=ve(Te,n.__scopeSelect),[s,i]=e.useState(!1),c=l(r,a.onScrollButtonChange);return d(()=>{if(o.viewport&&o.isPositioned){let e=function(){const e=t.scrollTop>0;i(e)};const t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),s?t.jsx(Ae,{...n,ref:c,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});De.displayName=Te;var Me="SelectScrollDownButton",Oe=e.forwardRef((n,r)=>{const o=de(Me,n.__scopeSelect),a=ve(Me,n.__scopeSelect),[s,i]=e.useState(!1),c=l(r,a.onScrollButtonChange);return d(()=>{if(o.viewport&&o.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)};const t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),s?t.jsx(Ae,{...n,ref:c,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});Oe.displayName=Me;var Ae=e.forwardRef((n,r)=>{const{__scopeSelect:o,onAutoScroll:l,...s}=n,i=de("SelectScrollButton",o),c=e.useRef(null),u=U(o),p=e.useCallback(()=>{null!==c.current&&(window.clearInterval(c.current),c.current=null)},[]);return e.useEffect(()=>()=>p(),[p]),d(()=>{var e;const t=u().find(e=>e.ref.current===document.activeElement);null==(e=null==t?void 0:t.ref.current)||e.scrollIntoView({block:"nearest"})},[u]),t.jsx(a.div,{"aria-hidden":!0,...s,ref:r,style:{flexShrink:0,...s.style},onPointerDown:f(s.onPointerDown,()=>{null===c.current&&(c.current=window.setInterval(l,50))}),onPointerMove:f(s.onPointerMove,()=>{var e;null==(e=i.onItemLeave)||e.call(i),null===c.current&&(c.current=window.setInterval(l,50))}),onPointerLeave:f(s.onPointerLeave,()=>{p()})})}),Ve=e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e;return t.jsx(a.div,{"aria-hidden":!0,...o,ref:n})});Ve.displayName="SelectSeparator";var Le="SelectArrow";e.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=Z(r),a=X(Le,r),s=de(Le,r);return a.open&&"popper"===s.position?t.jsx(C,{...l,...o,ref:n}):null}).displayName=Le;var He=e.forwardRef(({__scopeSelect:n,value:r,...o},s)=>{const i=e.useRef(null),c=l(s,i),d=H(r);return e.useEffect(()=>{const e=i.current;if(!e)return;const t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set;if(d!==r&&n){const t=new Event("change",{bubbles:!0});n.call(e,r),e.dispatchEvent(t)}},[d,r]),t.jsx(a.select,{...o,style:{...W,...o.style},ref:c,defaultValue:r})});function We(e){return""===e||void 0===e}function Be(t){const n=v(t),r=e.useRef(""),o=e.useRef(0),l=e.useCallback(e=>{const t=r.current+e;n(t),function e(t){r.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(t)},[n]),a=e.useCallback(()=>{r.current="",window.clearTimeout(o.current)},[]);return e.useEffect(()=>()=>window.clearTimeout(o.current),[]),[r,l,a]}function Fe(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let l=(a=e,s=Math.max(o,0),a.map((e,t)=>a[(s+t)%a.length]));var a,s;1===r.length&&(l=l.filter(e=>e!==n));const i=l.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return i!==n?i:void 0}He.displayName="SelectBubbleInput";var Ke=te,ze=oe,Ue=le,qe=se,$e=xe,Ze=Ce,Ge=_e,Xe=Ie,Ye=ke,Je=De,Qe=Oe,et=Ve;const tt=Q,nt=re,rt=e.forwardRef(({className:e,children:n,...r},o)=>t.jsxs(Ke,{ref:o,className:j("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[n,t.jsx(ze,{asChild:!0,children:t.jsx(I,{className:"h-4 w-4 opacity-50"})})]}));rt.displayName=Ke.displayName;const ot=e.forwardRef(({className:e,...n},r)=>t.jsx(Je,{ref:r,className:j("flex cursor-default items-center justify-center py-1",e),...n,children:t.jsx(P,{className:"h-4 w-4"})}));ot.displayName=Je.displayName;const lt=e.forwardRef(({className:e,...n},r)=>t.jsx(Qe,{ref:r,className:j("flex cursor-default items-center justify-center py-1",e),...n,children:t.jsx(I,{className:"h-4 w-4"})}));lt.displayName=Qe.displayName;const at=e.forwardRef(({className:e,children:n,position:r="popper",...o},l)=>t.jsx(Ue,{children:t.jsxs(qe,{ref:l,className:j("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...o,children:[t.jsx(ot,{}),t.jsx($e,{className:j("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:n}),t.jsx(lt,{})]})}));at.displayName=qe.displayName;e.forwardRef(({className:e,...n},r)=>t.jsx(Ze,{ref:r,className:j("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...n})).displayName=Ze.displayName;const st=e.forwardRef(({className:e,children:n,...r},o)=>t.jsxs(Ge,{ref:o,className:j("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[t.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:t.jsx(Ye,{children:t.jsx(N,{className:"h-4 w-4"})})}),t.jsx(Xe,{children:n})]}));st.displayName=Ge.displayName;e.forwardRef(({className:e,...n},r)=>t.jsx(et,{ref:r,className:j("-mx-1 my-1 h-px bg-muted",e),...n})).displayName=et.displayName;export{tt as S,rt as a,nt as b,M as c,at as d,st as e,H as u};
@@ -1,4 +1,4 @@
1
- import{c as e,r as t,j as o,bu as a,af as n,ae as r,a9 as i,ad as s,bd as c,a6 as l,ab as u,d}from"./index-CRo82xso.js";import{c as f}from"./select-eZo9Zifh.js";import{u as p}from"./index-DEJiBQJR.js";
1
+ import{c as e,r as t,j as o,bu as a,af as n,ae as r,a9 as i,ad as s,bd as c,a6 as l,ab as u,d}from"./index-EFhMcMWk.js";import{c as f}from"./select-DAfsBGCS.js";import{u as p}from"./index-COZnAgez.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1 +1 @@
1
- import{r as e,j as r,d as s}from"./index-CRo82xso.js";const o=e.forwardRef(({className:e,...o},a)=>r.jsx("textarea",{className:s("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...o}));o.displayName="Textarea";export{o as T};
1
+ import{r as e,j as r,d as s}from"./index-EFhMcMWk.js";const o=e.forwardRef(({className:e,...o},a)=>r.jsx("textarea",{className:s("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...o}));o.displayName="Textarea";export{o as T};
@@ -10,8 +10,8 @@
10
10
  <meta name="apple-mobile-web-app-capable" content="yes" />
11
11
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
12
12
  <title>CC Web</title>
13
- <script type="module" crossorigin src="/assets/index-CRo82xso.js"></script>
14
- <link rel="stylesheet" crossorigin href="/assets/index-CrWOYDYH.css">
13
+ <script type="module" crossorigin src="/assets/index-EFhMcMWk.js"></script>
14
+ <link rel="stylesheet" crossorigin href="/assets/index-GfCaMXPO.css">
15
15
  </head>
16
16
  <body>
17
17
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tom2012/cc-web",
3
- "version": "2026.6.16-b",
3
+ "version": "2026.6.17-b",
4
4
  "description": "Self-hosted web UI for Claude Code CLI — run Claude in your browser",
5
5
  "private": false,
6
6
  "main": "electron/dist/main.js",