@aivex/ui 1.1.0-dev.18 → 1.1.0-dev.19
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/components/Pagination/Pagination.d.ts +12 -6
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +29 -24
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,25 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type HTMLAttributes, type Ref } from "react";
|
|
2
2
|
export interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, "onChange"> {
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* undefined면 컴포넌트를 렌더하지 않음 (최초 로드 시).
|
|
5
|
+
* 한 번 정의된 후 다시 undefined가 되면 직전 값을 유지해서 깜빡임 방지.
|
|
6
|
+
*/
|
|
7
|
+
totalPages?: number;
|
|
4
8
|
page: number;
|
|
5
9
|
pageSize: number;
|
|
10
|
+
/** 명시적으로 모든 상호작용 비활성화 (refetch 중, 권한 없음 등) */
|
|
11
|
+
disabled?: boolean;
|
|
6
12
|
/**
|
|
7
|
-
* 페이지 사이즈 셀렉터 옵션.
|
|
13
|
+
* 페이지 사이즈 셀렉터 옵션. 생략하면 셀렉터가 숨겨짐.
|
|
8
14
|
* @example [{ value: 10, label: "10 each" }, { value: 50, label: "50 each" }]
|
|
9
15
|
*/
|
|
10
|
-
pageSizeOptions
|
|
16
|
+
pageSizeOptions?: Array<{
|
|
11
17
|
value: number;
|
|
12
18
|
label: string;
|
|
13
19
|
}>;
|
|
14
|
-
onChange
|
|
20
|
+
onChange: (page: number) => void;
|
|
15
21
|
onPageSizeChange?: (pageSize: number) => void;
|
|
16
22
|
ref?: Ref<HTMLElement>;
|
|
17
23
|
}
|
|
18
|
-
declare function Pagination({ className,
|
|
24
|
+
declare function Pagination({ className, totalPages, page, pageSize, disabled, pageSizeOptions, onChange, onPageSizeChange, ref, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
19
25
|
export { Pagination };
|
package/dist/index.cjs
CHANGED
|
@@ -38,5 +38,5 @@ require(`./styles.css`),Object.defineProperty(exports,Symbol.toStringTag,{value:
|
|
|
38
38
|
`},gl=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},_l=function(){p.useEffect(function(){return document.body.setAttribute(ml,(gl()+1).toString()),function(){var e=gl()-1;e<=0?document.body.removeAttribute(ml):document.body.setAttribute(ml,e.toString())}},[])},vl=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;_l();var a=p.useMemo(function(){return fl(i)},[i]);return p.createElement(pl,{styles:hl(a,!t,i,n?``:`!important`)})},yl=!1;if(typeof window<`u`)try{var bl=Object.defineProperty({},`passive`,{get:function(){return yl=!0,!0}});window.addEventListener(`test`,bl,bl),window.removeEventListener(`test`,bl,bl)}catch{yl=!1}var xl=yl?{passive:!1}:!1,Sl=function(e){return e.tagName===`TEXTAREA`},Cl=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Sl(e)&&n[t]===`visible`)},wl=function(e){return Cl(e,`overflowY`)},Tl=function(e){return Cl(e,`overflowX`)},El=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),kl(e,r)){var i=Al(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Dl=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},Ol=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},kl=function(e,t){return e===`v`?wl(t):Tl(t)},Al=function(e,t){return e===`v`?Dl(t):Ol(t)},jl=function(e,t){return e===`h`&&t===`rtl`?-1:1},Ml=function(e,t,n,r,i){var a=jl(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=Al(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&kl(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},Nl=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Pl=function(e){return[e.deltaX,e.deltaY]},Fl=function(e){return e&&`current`in e?e.current:e},Il=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Ll=function(e){return`
|
|
39
39
|
.block-interactivity-${e} {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
41
|
-
`},Rl=0,zl=[];function Bl(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),i=p.useState(Rl++)[0],a=p.useState(cl)[0],o=p.useRef(e);p.useEffect(function(){o.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=Lc([e.lockRef.current],(e.shards||[]).map(Fl),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=p.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=Nl(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=El(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=El(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Ml(h,t,e,h===`h`?s:c,!0)},[]),c=p.useCallback(function(e){var n=e;if(!(!zl.length||zl[zl.length-1]!==a)){var r=`deltaY`in n?Pl(n):Nl(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Il(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var c=(o.current.shards||[]).map(Fl).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=p.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:Vl(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=p.useCallback(function(e){n.current=Nl(e),r.current=void 0},[]),d=p.useCallback(function(t){l(t.type,Pl(t),t.target,s(t,e.lockRef.current))},[]),f=p.useCallback(function(t){l(t.type,Nl(t),t.target,s(t,e.lockRef.current))},[]);p.useEffect(function(){return zl.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener(`wheel`,c,xl),document.addEventListener(`touchmove`,c,xl),document.addEventListener(`touchstart`,u,xl),function(){zl=zl.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,xl),document.removeEventListener(`touchmove`,c,xl),document.removeEventListener(`touchstart`,u,xl)}},[]);var m=e.removeScrollBar,h=e.inert;return p.createElement(p.Fragment,null,h?p.createElement(a,{styles:Ll(i)}):null,m?p.createElement(vl,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Vl(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Hl=Zc(Qc,Bl),Ul=p.forwardRef(function(e,t){return p.createElement(el,$({},e,{ref:t,sideCar:Hl}))});Ul.classNames=el.classNames;var Wl=`Popover`,[Gl,Kl]=ra(Wl,[Xs]),ql=Xs(),[Jl,Yl]=Gl(Wl),Xl=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=ql(t),c=m.useRef(null),[l,u]=m.useState(!1),[d,p]=wc({prop:r,defaultProp:i??!1,onChange:a,caller:Wl});return(0,f.jsx)(fc,{...s,children:(0,f.jsx)(Jl,{scope:t,contentId:Va(),triggerRef:c,open:d,onOpenChange:p,onOpenToggle:m.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:l,onCustomAnchorAdd:m.useCallback(()=>u(!0),[]),onCustomAnchorRemove:m.useCallback(()=>u(!1),[]),modal:o,children:n})})};Xl.displayName=Wl;var Zl=`PopoverAnchor`,Ql=m.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Yl(Zl,n),a=ql(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return m.useEffect(()=>(o(),()=>s()),[o,s]),(0,f.jsx)(pc,{...a,...r,ref:t})});Ql.displayName=Zl;var $l=`PopoverTrigger`,eu=m.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Yl($l,n),a=ql(n),o=R(t,i.triggerRef),s=(0,f.jsx)(z.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":hu(i.open),...r,ref:o,onClick:L(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,f.jsx)(pc,{asChild:!0,...a,children:s})});eu.displayName=$l;var tu=`PopoverPortal`,[nu,ru]=Gl(tu,{forceMount:void 0}),iu=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=Yl(tu,t);return(0,f.jsx)(nu,{scope:t,forceMount:n,children:(0,f.jsx)(yc,{present:n||a.open,children:(0,f.jsx)(_c,{asChild:!0,container:i,children:r})})})};iu.displayName=tu;var au=`PopoverContent`,ou=m.forwardRef((e,t)=>{let n=ru(au,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=Yl(au,e.__scopePopover);return(0,f.jsx)(yc,{present:r||a.open,children:a.modal?(0,f.jsx)(cu,{...i,ref:t}):(0,f.jsx)(lu,{...i,ref:t})})});ou.displayName=au;var su=(0,c.createSlot)(`PopoverContent.RemoveScroll`),cu=m.forwardRef((e,t)=>{let n=Yl(au,e.__scopePopover),r=m.useRef(null),i=R(t,r),a=m.useRef(!1);return m.useEffect(()=>{let e=r.current;if(e)return Fc(e)},[]),(0,f.jsx)(Ul,{as:su,allowPinchZoom:!0,children:(0,f.jsx)(uu,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:L(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:L(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;a.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:L(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),lu=m.forwardRef((e,t)=>{let n=Yl(au,e.__scopePopover),r=m.useRef(!1),i=m.useRef(!1);return(0,f.jsx)(uu,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),uu=m.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,p=Yl(au,n),m=ql(n);return Sa(),(0,f.jsx)(Oa,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,f.jsx)(ma,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1),children:(0,f.jsx)(mc,{"data-state":hu(p.open),role:`dialog`,id:p.contentId,...m,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),du=`PopoverClose`,fu=m.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Yl(du,n);return(0,f.jsx)(z.button,{type:`button`,...r,ref:t,onClick:L(e.onClick,()=>i.onOpenChange(!1))})});fu.displayName=du;var pu=`PopoverArrow`,mu=m.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=ql(n);return(0,f.jsx)(hc,{...i,...r,ref:t})});mu.displayName=pu;function hu(e){return e?`open`:`closed`}var gu=Xl,_u=eu,vu=iu,yu=ou,bu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:h-8 aivex:w-full aivex:items-center aivex:gap-md aivex:px-lg aivex:text-body-md-regular aivex:rounded-sm aivex:transition-colors aivex:cursor-pointer aivex:select-none aivex:disabled:opacity-disable aivex:disabled:pointer-events-none`,{variants:{danger:{true:`aivex:text-text-danger`,false:`aivex:text-text-primary`},activated:{true:`aivex:bg-bg-secondary`,false:``}},defaultVariants:{danger:!1,activated:!1}});function xu({className:e,label:t,icon:n,danger:r=!1,activated:i=!1,disabled:a,onClick:o,ref:s,...c}){return(0,f.jsxs)(`button`,{ref:s,type:`button`,role:`menuitem`,disabled:a,onClick:o,className:v(bu({danger:r,activated:i}),e),...c,children:[(0,f.jsx)(b,{variant:r?`danger`:`default`}),n&&(0,f.jsx)(`span`,{className:`aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:text-icon-secondary`,children:n}),(0,f.jsx)(`span`,{className:`aivex:truncate`,children:t})]})}function Su({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`div`,{ref:n,role:`menu`,className:v(`aivex:flex aivex:flex-col aivex:gap-xs aivex:rounded-md aivex:bg-bg-primary aivex:p-xs aivex:shadow-md aivex:border aivex:border-border-subtle aivex:min-w-[160px]`,e),...r,children:t})}function Cu({item:e,isCurrent:t}){if(t)return(0,f.jsx)(`span`,{"aria-current":`page`,className:`aivex:inline-flex aivex:items-center aivex:gap-xs aivex:px-sm aivex:py-2xs aivex:rounded-xs aivex:text-body-md-medium aivex:text-text-primary aivex:select-none`,children:e.label});let n=e.as??(e.href?`a`:`button`),r=n===`button`?{type:`button`}:{};return(0,f.jsxs)(n,{href:e.href,onClick:e.onClick,className:`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:gap-xs aivex:px-sm aivex:py-2xs aivex:rounded-xs aivex:text-body-md-regular aivex:text-text-secondary aivex:cursor-pointer aivex:transition-colors`,...r,children:[(0,f.jsx)(b,{variant:`default`}),e.label]})}function wu(){return(0,f.jsx)(`span`,{"aria-hidden":`true`,className:`aivex:text-text-tertiary aivex:text-body-md-regular aivex:select-none aivex:shrink-0`,children:`/`})}function Tu({items:e}){let[t,n]=(0,m.useState)(!1);return(0,f.jsxs)(gu,{open:t,onOpenChange:n,children:[(0,f.jsx)(_u,{asChild:!0,children:(0,f.jsxs)(`button`,{type:`button`,"aria-label":`숨겨진 경로 보기`,className:`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center aivex:px-sm aivex:py-2xs aivex:rounded-xs aivex:text-body-md-regular aivex:text-text-secondary aivex:cursor-pointer aivex:transition-colors`,children:[(0,f.jsx)(b,{variant:`default`}),`···`]})}),(0,f.jsx)(vu,{children:(0,f.jsx)(yu,{side:`bottom`,align:`start`,sideOffset:4,className:`aivex:z-50 aivex:outline-none`,children:(0,f.jsx)(Su,{children:e.map((e,t)=>{let n=e.as??(e.href?`a`:`button`),r=n===`button`?{type:`button`}:{};return(0,f.jsxs)(n,{href:e.href,onClick:e.onClick,className:bu(),...r,children:[(0,f.jsx)(b,{variant:`default`}),(0,f.jsx)(`span`,{className:`aivex:truncate`,children:e.label})]},t)})})})})]})}function Eu({className:e,items:t,maxItems:n,ref:r,...i}){let a=n!==void 0&&t.length>n,o=t[0],s=t[t.length-1],c=a?t.slice(1,-1):[],l=t.length-1;return(0,f.jsx)(`nav`,{ref:r,"aria-label":`Breadcrumb`,className:v(`aivex:flex aivex:items-center`,e),...i,children:(0,f.jsx)(`ol`,{className:`aivex:flex aivex:flex-wrap aivex:items-center aivex:gap-2xs`,children:a?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`li`,{className:`aivex:inline-flex aivex:items-center aivex:gap-2xs`,children:(0,f.jsx)(Cu,{item:o})}),(0,f.jsxs)(`li`,{className:`aivex:inline-flex aivex:items-center aivex:gap-2xs`,children:[(0,f.jsx)(wu,{}),(0,f.jsx)(Tu,{items:c})]}),(0,f.jsxs)(`li`,{className:`aivex:inline-flex aivex:items-center aivex:gap-2xs`,children:[(0,f.jsx)(wu,{}),(0,f.jsx)(Cu,{item:s,isCurrent:!0})]})]}):t.map((e,t)=>(0,f.jsxs)(`li`,{className:`aivex:inline-flex aivex:items-center aivex:gap-2xs`,children:[t>0&&(0,f.jsx)(wu,{}),(0,f.jsx)(Cu,{item:e,isCurrent:t===l})]},t))})})}function Du({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`div`,{ref:n,className:v(`aivex:bg-bg-primary aivex:rounded-md aivex:shadow-sm aivex:p-xl`,e),...r,children:t})}var Ou=(0,l.cva)(`aivex:relative aivex:m-0 aivex:shrink-0 aivex:rounded-xs aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:appearance-none aivex:cursor-pointer aivex:transition-colors aivex:peer`,{variants:{size:{sm:`aivex:w-4 aivex:h-4`,md:`aivex:w-[18px] aivex:h-[18px]`}},defaultVariants:{size:`md`}}),ku={sm:`aivex:w-5 aivex:h-5`,md:`aivex:w-6 aivex:h-6`},Au={sm:`aivex:h-5`,md:`aivex:h-6`};function ju({className:e,label:t,size:n=`md`,indeterminate:r=!1,disabled:i,checked:a,defaultChecked:o,onChange:s,id:c,ref:l,...u}){let d=(0,m.useRef)(null),p=a!==void 0,[h,g]=(0,m.useState)(!!o),_=typeof l==`object`&&l?l:d;(0,m.useEffect)(()=>{_&&`current`in _&&_.current&&(_.current.indeterminate=r)},[r,_]);let y=p?!!a:h,b=y||r,x=n??`md`;return(0,f.jsxs)(`label`,{className:v(`aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none`,i&&`aivex:opacity-disable aivex:pointer-events-none`),children:[(0,f.jsxs)(`span`,{className:v(`aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group`,ku[x]),children:[(0,f.jsx)(`span`,{className:`aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity`}),(0,f.jsx)(`input`,{ref:_,id:c,type:`checkbox`,disabled:i,checked:y,onChange:e=>{p||g(e.target.checked),s?.(e)},className:v(Ou({size:x}),b&&`aivex:border-transparent aivex:bg-bg-brand`,e),...u}),b&&(0,f.jsx)(`span`,{className:`aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-white aivex:pointer-events-none`,children:r?(0,f.jsx)(Ae,{size:x}):(0,f.jsx)(ke,{size:x})})]}),t&&(0,f.jsx)(`span`,{className:v(`aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary`,Au[x]),children:t})]})}function Mu({className:e,disabled:t,checked:n,defaultChecked:r,onChange:i,onClick:a,id:o,ref:s,...c}){let l=n!==void 0,[u,d]=(0,m.useState)(!!r),p=l?!!n:u;return(0,f.jsxs)(`label`,{onClick:a,className:v(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center`,`aivex:h-8 aivex:w-8 aivex:shrink-0 aivex:rounded-lg aivex:border aivex:cursor-pointer aivex:select-none aivex:transition-colors`,p?`aivex:bg-bg-brand-subtle aivex:border-border-brand-subtle`:`aivex:bg-bg-tertiary aivex:border-border-default`,t&&`aivex:opacity-disable aivex:pointer-events-none`,e),children:[(0,f.jsx)(b,{}),(0,f.jsx)(`input`,{ref:s,id:o,type:`checkbox`,disabled:t,checked:p,onChange:e=>{l||d(e.target.checked),i?.(e)},onClick:e=>e.stopPropagation(),className:`aivex:sr-only`,...c}),(0,f.jsxs)(`span`,{className:`aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:w-5 aivex:h-5 aivex:shrink-0`,children:[(0,f.jsx)(`span`,{className:v(`aivex:w-4 aivex:h-4 aivex:rounded-xs aivex:border aivex:transition-colors`,p?`aivex:bg-bg-brand aivex:border-transparent`:`aivex:bg-bg-primary aivex:border-border-default`)}),p&&(0,f.jsx)(`span`,{className:`aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-white aivex:pointer-events-none`,children:(0,f.jsx)(ke,{size:`sm`})})]})]})}var Nu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center aivex:gap-[2px] aivex:border aivex:transition-colors aivex:cursor-pointer aivex:select-none aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand aivex:disabled:pointer-events-none aivex:disabled:opacity-disable`,{variants:{shape:{rectangle:``,rounded:`aivex:rounded-full`},size:{sm:`aivex:h-6 aivex:px-sm aivex:text-label-md`,md:`aivex:h-8 aivex:px-[10px] aivex:text-label-lg`},type:{text:``,icon:`aivex:px-0 aivex:aspect-square`},active:{true:`aivex:bg-bg-brand-subtle aivex:text-text-brand aivex:border-border-brand-subtle`,false:`aivex:bg-bg-primary aivex:text-text-primary aivex:border-border-default`}},compoundVariants:[{shape:`rectangle`,size:`sm`,className:`aivex:rounded-sm`},{shape:`rectangle`,size:`md`,className:`aivex:rounded-md`},{type:`icon`,size:`sm`,className:`aivex:w-6`},{type:`icon`,size:`md`,className:`aivex:w-8`}],defaultVariants:{shape:`rounded`,size:`md`,type:`text`,active:!1}});function Pu({className:e,shape:t,size:n,type:r,active:i,defaultActive:a,children:o,ref:s,onClick:c,...l}){let u=i!==void 0,[d,p]=(0,m.useState)(!!a),h=u?!!i:d;return(0,f.jsxs)(`button`,{ref:s,className:v(Nu({shape:t,size:n,type:r,active:h}),e),onClick:e=>{u||p(e=>!e),c?.(e)},...l,children:[(0,f.jsx)(b,{}),o]})}var Fu=(0,l.cva)(`aivex:shrink-0`,{variants:{strength:{basic:``,bold:``},direction:{horizontal:`aivex:w-full`,vertical:`aivex:h-full`}},compoundVariants:[{strength:`basic`,direction:`horizontal`,className:`aivex:border-t aivex:border-border-default`},{strength:`basic`,direction:`vertical`,className:`aivex:border-l aivex:border-border-default`},{strength:`bold`,direction:`horizontal`,className:`aivex:border-t-2 aivex:border-border-subtle`},{strength:`bold`,direction:`vertical`,className:`aivex:border-l-2 aivex:border-border-subtle`}],defaultVariants:{strength:`basic`,direction:`horizontal`}});function Iu({className:e,strength:t,direction:n,ref:r,...i}){return(0,f.jsx)(`hr`,{ref:r,"aria-orientation":n===`vertical`?`vertical`:`horizontal`,className:v(Fu({strength:t,direction:n}),e),...i})}var Lu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center aivex:transition-colors aivex:disabled:pointer-events-none aivex:disabled:opacity-disable aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand`,{variants:{size:{xs:`aivex:w-4 aivex:h-4`,sm:`aivex:w-6 aivex:h-6`,md:`aivex:w-8 aivex:h-8`,lg:`aivex:w-10 aivex:h-10`},shape:{rectangle:`aivex:rounded-md`,rounded:`aivex:rounded-full`}},defaultVariants:{size:`sm`,shape:`rectangle`}}),Ru={xs:`aivex:w-3 aivex:h-3`,sm:`aivex:w-4 aivex:h-4`,md:`aivex:w-5 aivex:h-5`,lg:`aivex:w-6 aivex:h-6`};function zu({className:e,size:t=`sm`,shape:n=`rectangle`,color:r=`primary`,error:i=!1,asChild:a=!1,children:o,ref:s,...l}){let u=a?c.Slot:`button`,d=i?`aivex:text-text-danger`:r===`white`?`aivex:text-static-white`:``,p=i?`danger`:r===`white`?`white`:`default`;return(0,f.jsxs)(u,{ref:s,type:a?void 0:`button`,className:v(Lu({size:t,shape:n}),d,e),...l,children:[(0,f.jsx)(b,{variant:p}),(0,f.jsx)(`span`,{className:v(`aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0`,Ru[t??`xs`]),children:o})]})}var Bu=(0,l.cva)(`aivex:flex aivex:w-full aivex:border aivex:bg-bg-primary aivex:transition-colors`,{variants:{state:{default:`aivex:border-border-default aivex:hover:border-border-brand`,focused:`aivex:border-border-brand`,error:`aivex:border-border-danger`,disabled:`aivex:border-border-disabled aivex:bg-bg-disabled aivex:opacity-disable aivex:pointer-events-none`},size:{sm:`aivex:rounded-sm`,md:`aivex:rounded-md`},layout:{inline:`aivex:items-center aivex:px-xl aivex:gap-xs`,block:`aivex:items-start aivex:px-xl aivex:gap-xs`,wrap:`aivex:flex-wrap aivex:items-center aivex:content-center aivex:px-md aivex:gap-xs`}},compoundVariants:[{layout:`inline`,size:`sm`,class:`aivex:h-8`},{layout:`inline`,size:`md`,class:`aivex:h-10`},{layout:`block`,size:`sm`,class:`aivex:py-xs aivex:min-h-8`},{layout:`block`,size:`md`,class:`aivex:py-lg aivex:min-h-10`},{layout:`wrap`,size:`sm`,class:`aivex:py-2xs aivex:min-h-8`},{layout:`wrap`,size:`md`,class:`aivex:py-2xs aivex:min-h-10`}],defaultVariants:{state:`default`,size:`md`,layout:`inline`}});function Vu({id:e,label:t,helperText:n,error:r,disabled:i,focused:a,size:o=`md`,layout:s=`inline`,leadingElement:c,trailingElement:l,containerClassName:u,className:d,children:p}){let m=i?`disabled`:r?`error`:a?`focused`:`default`,h=v(`aivex:flex aivex:shrink-0 aivex:items-center aivex:gap-xs aivex:text-text-secondary`);return(0,f.jsxs)(`div`,{className:v(`aivex:flex aivex:flex-col aivex:gap-xs aivex:w-full`,d),children:[t&&(0,f.jsx)(`label`,{htmlFor:e,className:v(`aivex:text-label-md aivex:text-text-secondary`,i&&`aivex:opacity-disable`),children:t}),(0,f.jsxs)(`div`,{className:v(Bu({state:m,size:o,layout:s}),u),children:[c&&(0,f.jsx)(`span`,{className:h,children:c}),p,l&&(0,f.jsx)(`span`,{className:h,children:l})]}),n&&(0,f.jsx)(`p`,{className:v(`aivex:text-caption-md aivex:text-text-secondary aivex:line-clamp-2`,!i&&r&&`aivex:text-text-danger`),children:n})]})}var Hu=(0,l.cva)(`aivex:inline-flex aivex:h-10 aivex:items-center aivex:gap-md aivex:rounded-md aivex:px-xl aivex:border aivex:text-body-md-regular`,{variants:{type:{basic:`aivex:bg-bg-secondary aivex:border-border-default aivex:text-text-primary`,info:`aivex:bg-bg-info-subtle aivex:border-border-info-subtle aivex:text-text-brand`,success:`aivex:bg-bg-success-subtle aivex:border-border-success-subtle aivex:text-text-success`,warning:`aivex:bg-bg-warning-subtle aivex:border-border-warning-subtle aivex:text-text-warning`,danger:`aivex:bg-bg-danger-subtle aivex:border-border-danger-subtle aivex:text-text-danger`}},defaultVariants:{type:`basic`}}),Uu={basic:{Icon:Ut,className:`aivex:text-icon-primary`},info:{Icon:Ut,className:`aivex:text-icon-info`},success:{Icon:Me,className:`aivex:text-icon-success`},warning:{Icon:pt,className:`aivex:text-icon-warning`},danger:{Icon:gt,className:`aivex:text-icon-danger`}};function Wu({className:e,type:t=`basic`,message:n,ref:r,...i}){let{Icon:a,className:o}=Uu[t??`basic`];return(0,f.jsxs)(`div`,{ref:r,role:`status`,className:v(Hu({type:t}),e),...i,children:[(0,f.jsx)(`span`,{className:v(`aivex:inline-flex aivex:shrink-0 aivex:items-center aivex:justify-center`,o),children:(0,f.jsx)(a,{size:16})}),(0,f.jsx)(`span`,{className:`aivex:truncate`,children:n})]})}var Gu=(0,l.cva)(`aivex:relative aivex:flex aivex:gap-md aivex:p-2xl`,{variants:{type:{basic:`aivex:items-start aivex:justify-between`,"alert-center":`aivex:flex-col aivex:items-center aivex:text-center`,"alert-left":`aivex:flex-col aivex:items-start`}},defaultVariants:{type:`basic`}});function Ku({className:e,type:t=`basic`,title:n,description:r,onClose:i,ref:a,...o}){return(0,f.jsxs)(`div`,{ref:a,className:v(Gu({type:t}),e),...o,children:[(0,f.jsxs)(`div`,{className:v(`aivex:flex-1`,t!==`basic`&&`aivex:w-full`),children:[(0,f.jsx)(`h2`,{className:`aivex:text-base aivex:font-semibold aivex:text-text-primary`,children:n}),r&&(0,f.jsx)(`p`,{className:`aivex:mt-1 aivex:text-sm aivex:text-text-secondary`,children:r})]}),t===`basic`&&i&&(0,f.jsx)(`button`,{type:`button`,onClick:i,className:`aivex:shrink-0 aivex:text-icon-secondary aivex:hover:text-icon-primary aivex:transition-colors`,"aria-label":`Close modal`,children:(0,f.jsx)(Ie,{})}),t!==`basic`&&i&&(0,f.jsx)(`button`,{type:`button`,onClick:i,className:`aivex:absolute aivex:top-xl aivex:right-xl aivex:text-icon-secondary aivex:hover:text-icon-primary aivex:transition-colors`,"aria-label":`Close modal`,children:(0,f.jsx)(Ie,{})})]})}var qu=(0,l.cva)(`aivex:flex aivex:gap-md aivex:px-2xl aivex:pb-2xl`,{variants:{type:{flex:`aivex:justify-end`,fixed:`aivex:justify-stretch aivex:[&>*]:flex-1`}},defaultVariants:{type:`flex`}});function Ju({className:e,type:t=`flex`,children:n,ref:r,...i}){return(0,f.jsx)(`div`,{ref:r,className:v(qu({type:t}),e),...i,children:n})}function Yu({className:e,open:t,onClose:n,children:r,ref:i,...a}){return(0,m.useEffect)(()=>{let e=e=>{e.key===`Escape`&&t&&n()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[t,n]),(0,m.useEffect)(()=>(t?document.body.style.overflow=`aivex:hidden`:document.body.style.overflow=``,()=>{document.body.style.overflow=``}),[t]),t?(0,f.jsxs)(`div`,{className:`aivex:fixed aivex:inset-0 aivex:z-50 aivex:flex aivex:items-center aivex:justify-center`,"aria-modal":`true`,role:`dialog`,children:[(0,f.jsx)(`div`,{className:`aivex:absolute aivex:inset-0 aivex:bg-black/50`,onClick:n,"aria-hidden":`true`}),(0,f.jsx)(`div`,{ref:i,className:v(`aivex:relative aivex:z-10 aivex:w-full aivex:max-w-modal-md aivex:rounded-md aivex:bg-bg-primary aivex:shadow-md aivex:mx-xl`,e),...a,children:r})]}):null}var Xu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:flex-col aivex:items-center aivex:w-14 aivex:px-0.5 aivex:py-1 aivex:rounded-[6px] aivex:transition-colors aivex:cursor-pointer aivex:select-none`,{variants:{active:{true:`aivex:bg-bg-brand-subtle`,false:`aivex:bg-transparent`}},defaultVariants:{active:!1}});function Zu({className:e,active:t,icon:n,children:r,ref:i,...a}){let o=t??!1;return(0,f.jsxs)(`button`,{ref:i,type:`button`,"aria-pressed":o,className:v(Xu({active:t}),e),...a,children:[(0,f.jsx)(b,{}),n&&(0,f.jsx)(`span`,{className:v(`aivex:flex aivex:items-center aivex:justify-center aivex:p-1`,o?`aivex:text-text-brand`:`aivex:text-text-secondary`),children:(0,f.jsx)(`span`,{className:`aivex:flex aivex:items-center aivex:justify-center aivex:size-6`,children:n})}),r&&(0,f.jsx)(`span`,{className:v(`aivex:text-label-sm aivex:text-center`,o?`aivex:text-text-brand`:`aivex:text-text-secondary`),children:r})]})}var Qu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:min-h-10 aivex:w-full aivex:items-center aivex:gap-md aivex:px-lg aivex:py-md aivex:rounded-md aivex:text-body-lg-medium aivex:leading-6 aivex:text-left aivex:transition-colors aivex:cursor-pointer`,{variants:{active:{true:`aivex:bg-bg-brand-subtle aivex:text-text-brand`,false:`aivex:bg-transparent aivex:text-text-secondary`}},defaultVariants:{active:!1}});function $u({className:e,active:t,icon:n,children:r,ref:i,...a}){return(0,f.jsxs)(`button`,{ref:i,type:`button`,"aria-current":t?`page`:void 0,className:v(Qu({active:t}),e),...a,children:[(0,f.jsx)(b,{}),n&&(0,f.jsx)(`span`,{className:`aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:size-5`,children:n}),r]})}function ed({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`nav`,{ref:n,className:v(`aivex:flex aivex:flex-col aivex:gap-xs`,e),...r,children:t})}var td=(0,l.cva)(`aivex:fixed aivex:inset-0 aivex:z-40`,{variants:{type:{dim:`aivex:bg-black/50`,frost:`aivex:backdrop-blur-sm aivex:bg-white/30`}},defaultVariants:{type:`dim`}});function nd({className:e,type:t=`dim`,ref:n,...r}){return(0,f.jsx)(`div`,{ref:n,"aria-hidden":`true`,className:v(td({type:t}),e),...r})}function rd({groups:e,value:t,placeholder:n=``,disabled:r=!1,size:i=`md`,onChange:a,renderValue:o,className:s,label:c,helperText:l,error:u}){let[d,p]=(0,m.useState)(!1),h=(()=>{for(let n of e){let e=n.options.find(e=>e.value===t);if(e)return o?o(e,n):e.label}})(),g=i===`sm`?16:20;return(0,f.jsxs)(`div`,{className:v(`aivex:flex aivex:flex-col aivex:gap-xs aivex:w-full`,s),children:[c&&(0,f.jsx)(`span`,{className:v(`aivex:text-label-md aivex:text-text-secondary`,r&&`aivex:opacity-disable`),children:c}),(0,f.jsxs)(gu,{open:d,onOpenChange:r?void 0:p,children:[(0,f.jsx)(_u,{asChild:!0,disabled:r,children:(0,f.jsx)(`div`,{className:v(`aivex:w-full aivex:cursor-pointer`,r&&`aivex:cursor-not-allowed`),role:`combobox`,"aria-expanded":d,"aria-haspopup":`listbox`,tabIndex:r?-1:0,children:(0,f.jsx)(Vu,{disabled:r,focused:d,error:u,size:i,layout:`inline`,trailingElement:(0,f.jsx)(`span`,{className:v(`aivex:transition-transform aivex:duration-200 aivex:text-text-secondary`,d&&`aivex:rotate-180`),children:(0,f.jsx)(tt,{size:g})}),children:(0,f.jsx)(`span`,{className:v(`aivex:flex-1 aivex:min-w-0 aivex:truncate aivex:pointer-events-none`,i===`sm`?`aivex:text-body-md-regular`:`aivex:text-body-lg-regular`,h?`aivex:text-text-primary`:`aivex:text-text-tertiary`),children:h??n})})})}),(0,f.jsx)(vu,{children:(0,f.jsx)(yu,{sideOffset:4,align:`start`,avoidCollisions:!0,onOpenAutoFocus:e=>e.preventDefault(),className:v(`aivex:z-50 aivex:min-w-[var(--radix-popover-trigger-width)] aivex:max-w-[var(--radix-popover-trigger-width)]`,`aivex:rounded-md aivex:bg-bg-primary aivex:shadow-md aivex:border aivex:border-border-subtle`,`aivex:p-xs aivex:max-h-[312px] aivex:overflow-y-auto`,`aivex:data-[state=open]:animate-in aivex:data-[state=open]:fade-in-0 aivex:data-[state=open]:zoom-in-95`,`aivex:data-[state=closed]:animate-out aivex:data-[state=closed]:fade-out-0 aivex:data-[state=closed]:zoom-out-95`),role:`listbox`,children:e.map((e,n)=>(0,f.jsxs)(`div`,{children:[n>0&&(0,f.jsx)(`div`,{className:`aivex:my-xs aivex:border-t aivex:border-border-default`}),e.title&&(0,f.jsx)(`div`,{className:`aivex:px-lg aivex:py-xs aivex:text-caption-md aivex:text-text-tertiary aivex:select-none`,children:e.title}),e.options.map(e=>(0,f.jsxs)(`button`,{type:`button`,role:`option`,"aria-selected":e.value===t,onClick:()=>{a?.(e.value),p(!1)},className:v(`aivex:relative aivex:overflow-hidden aivex:group`,`aivex:flex aivex:h-8 aivex:w-full aivex:items-center`,`aivex:px-lg aivex:rounded-sm aivex:transition-colors`,`aivex:cursor-pointer aivex:select-none`,i===`sm`?`aivex:text-body-md-regular`:`aivex:text-body-lg-regular`,e.danger?`aivex:text-text-danger`:`aivex:text-text-primary`),children:[(0,f.jsx)(b,{variant:e.danger?`danger`:`default`}),(0,f.jsx)(`span`,{className:`aivex:truncate`,children:e.label})]},e.key??e.value))]},e.title??`group-${n}`))})})]}),l&&(0,f.jsx)(`p`,{className:v(`aivex:text-caption-md aivex:text-text-secondary aivex:line-clamp-2`,!r&&u&&`aivex:text-text-danger`),children:l})]})}function id({onClick:e,disabled:t,"aria-label":n,children:r}){return(0,f.jsxs)(`button`,{type:`button`,"aria-label":n,disabled:t,onClick:e,className:`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:h-8 aivex:w-8 aivex:items-center aivex:justify-center aivex:rounded-sm aivex:text-text-secondary aivex:disabled:opacity-disable aivex:disabled:pointer-events-none aivex:transition-colors`,children:[(0,f.jsx)(b,{variant:`default`}),r]})}function ad({page:e,isActive:t,onClick:n}){return(0,f.jsxs)(`button`,{type:`button`,"aria-label":`Page ${e}`,"aria-current":t?`page`:void 0,onClick:n,className:v(`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:h-8 aivex:px-xs aivex:items-center aivex:justify-center aivex:rounded-full aivex:transition-colors`,t?`aivex:bg-bg-brand-subtle aivex:text-text-brand`:`aivex:text-text-secondary`),children:[(0,f.jsx)(b,{variant:t?`strong`:`default`}),(0,f.jsx)(`span`,{className:`aivex:relative aivex:min-w-6 aivex:text-center aivex:text-label-lg`,children:e})]})}function od({className:e,total:t,page:n,pageSize:r,pageSizeOptions:i,onChange:a,onPageSizeChange:o,ref:s,...c}){let l=Math.max(1,Math.ceil(t/r)),u=Math.floor((n-1)/10),d=u*10+1,p=Math.min(d+9,l),m=Array.from({length:p-d+1},(e,t)=>d+t),h=u===0,g=p===l,_=e=>{a?.(e)},y=e=>{o?.(Number(e)),a?.(1)};return(0,f.jsxs)(`nav`,{ref:s,"aria-label":`Pagination`,className:v(`aivex:flex aivex:items-center`,e),...c,children:[(0,f.jsx)(`div`,{className:`aivex:flex-1`}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:items-center aivex:gap-6 aivex:shrink-0`,children:[(0,f.jsxs)(`div`,{className:`aivex:flex aivex:gap-2`,children:[(0,f.jsx)(id,{"aria-label":`First page`,disabled:h,onClick:()=>_(1),children:(0,f.jsx)(Qe,{size:16})}),(0,f.jsx)(id,{"aria-label":`Previous page group`,disabled:h,onClick:()=>_(d-1),children:(0,f.jsx)(nt,{size:16})})]}),(0,f.jsx)(`div`,{className:`aivex:flex aivex:gap-2`,children:m.map(e=>(0,f.jsx)(ad,{page:e,isActive:e===n,onClick:()=>_(e)},e))}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:gap-2`,children:[(0,f.jsx)(id,{"aria-label":`Next page group`,disabled:g,onClick:()=>_(p+1),children:(0,f.jsx)(rt,{size:16})}),(0,f.jsx)(id,{"aria-label":`Last page`,disabled:g,onClick:()=>_(l),children:(0,f.jsx)($e,{size:16})})]})]}),(0,f.jsx)(`div`,{className:`aivex:flex-1 aivex:flex aivex:items-center aivex:justify-end`,children:(0,f.jsx)(rd,{size:`sm`,className:`aivex:w-[116px] aivex:shrink-0`,value:String(r),groups:[{options:i.map(({value:e,label:t})=>({value:String(e),label:t}))}],onChange:y})})]})}var sd=(0,l.cva)(`aivex:peer aivex:relative aivex:m-0 aivex:shrink-0 aivex:rounded-full aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:appearance-none aivex:cursor-pointer aivex:transition-colors aivex:checked:border-transparent aivex:checked:bg-bg-brand`,{variants:{size:{sm:`aivex:w-4 aivex:h-4`,md:`aivex:w-[18px] aivex:h-[18px]`}},defaultVariants:{size:`md`}}),cd={sm:`aivex:w-5 aivex:h-5`,md:`aivex:w-6 aivex:h-6`},ld={sm:`aivex:h-5`,md:`aivex:h-6`};function ud({className:e,label:t,size:n=`md`,disabled:r,checked:i,id:a,ref:o,...s}){let c=n??`md`,l={sm:`aivex:w-2 aivex:h-2`,md:`aivex:w-2.5 aivex:h-2.5`}[c];return(0,f.jsxs)(`label`,{className:v(`aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none`,r&&`aivex:opacity-disable aivex:pointer-events-none`),children:[(0,f.jsxs)(`span`,{className:v(`aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group`,cd[c]),children:[(0,f.jsx)(`span`,{className:`aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity`}),(0,f.jsx)(`input`,{ref:o,id:a,type:`radio`,disabled:r,checked:i,className:v(sd({size:c}),e),...s}),(0,f.jsx)(`span`,{className:v(`aivex:pointer-events-none aivex:absolute aivex:rounded-full aivex:bg-white aivex:opacity-0 aivex:transition-opacity aivex:peer-checked:opacity-100`,l)})]}),t&&(0,f.jsx)(`span`,{className:v(`aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary`,ld[c]),children:t})]})}function dd(e){let t=e+`CollectionProvider`,[n,r]=ra(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=e=>{let{scope:t,children:n}=e,r=m.default.useRef(null),a=m.default.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};o.displayName=t;let s=e+`CollectionSlot`,l=(0,c.createSlot)(s),u=m.default.forwardRef((e,t)=>{let{scope:n,children:r}=e;return(0,f.jsx)(l,{ref:R(t,a(s,n).collectionRef),children:r})});u.displayName=s;let d=e+`CollectionItemSlot`,p=`data-radix-collection-item`,h=(0,c.createSlot)(d),g=m.default.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=m.default.useRef(null),s=R(t,o),c=a(d,n);return m.default.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,f.jsx)(h,{[p]:``,ref:s,children:r})});g.displayName=d;function _(t){let n=a(e+`CollectionConsumer`,t);return m.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:o,Slot:u,ItemSlot:g},_,r]}var fd=m.createContext(void 0);function pd(e){let t=m.useContext(fd);return e||t||`ltr`}var md=`rovingFocusGroup.onEntryFocus`,hd={bubbles:!1,cancelable:!0},gd=`RovingFocusGroup`,[_d,vd,yd]=dd(gd),[bd,xd]=ra(gd,[yd]),[Sd,Cd]=bd(gd),wd=m.forwardRef((e,t)=>(0,f.jsx)(_d.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(_d.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(Td,{...e,ref:t})})}));wd.displayName=gd;var Td=m.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,preventScrollOnEntryFocus:u=!1,...d}=e,p=m.useRef(null),h=R(t,p),g=pd(a),[_,v]=wc({prop:o,defaultProp:s??null,onChange:c,caller:gd}),[y,b]=m.useState(!1),x=oa(l),S=vd(n),C=m.useRef(!1),[w,T]=m.useState(0);return m.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(md,x),()=>e.removeEventListener(md,x)},[x]),(0,f.jsx)(Sd,{scope:n,orientation:r,dir:g,loop:i,currentTabStopId:_,onItemFocus:m.useCallback(e=>v(e),[v]),onItemShiftTab:m.useCallback(()=>b(!0),[]),onFocusableItemAdd:m.useCallback(()=>T(e=>e+1),[]),onFocusableItemRemove:m.useCallback(()=>T(e=>e-1),[]),children:(0,f.jsx)(z.div,{tabIndex:y||w===0?-1:0,"data-orientation":r,...d,ref:h,style:{outline:`none`,...e.style},onMouseDown:L(e.onMouseDown,()=>{C.current=!0}),onFocus:L(e.onFocus,e=>{let t=!C.current;if(e.target===e.currentTarget&&t&&!y){let t=new CustomEvent(md,hd);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=S().filter(e=>e.focusable);jd([e.find(e=>e.active),e.find(e=>e.id===_),...e].filter(Boolean).map(e=>e.ref.current),u)}}C.current=!1}),onBlur:L(e.onBlur,()=>b(!1))})})}),Ed=`RovingFocusGroupItem`,Dd=m.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=Va(),l=a||c,u=Cd(Ed,n),d=u.currentTabStopId===l,p=vd(n),{onFocusableItemAdd:h,onFocusableItemRemove:g,currentTabStopId:_}=u;return m.useEffect(()=>{if(r)return h(),()=>g()},[r,h,g]),(0,f.jsx)(_d.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,f.jsx)(z.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:L(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:L(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:L(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=Ad(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=p().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?Md(n,r+1):n.slice(r+1)}setTimeout(()=>jd(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:_!=null}):o})})});Dd.displayName=Ed;var Od={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function kd(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function Ad(e,t,n){let r=kd(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return Od[r]}function jd(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function Md(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Nd=wd,Pd=Dd,Fd=`Toggle`,Id=m.forwardRef((e,t)=>{let{pressed:n,defaultPressed:r,onPressedChange:i,...a}=e,[o,s]=wc({prop:n,onChange:i,defaultProp:r??!1,caller:Fd});return(0,f.jsx)(z.button,{type:`button`,"aria-pressed":o,"data-state":o?`on`:`off`,"data-disabled":e.disabled?``:void 0,...a,ref:t,onClick:L(e.onClick,()=>{e.disabled||s(!o)})})});Id.displayName=Fd;var Ld=`ToggleGroup`,[Rd,zd]=ra(Ld,[xd]),Bd=xd(),Vd=m.default.forwardRef((e,t)=>{let{type:n,...r}=e;if(n===`single`)return(0,f.jsx)(Wd,{...r,ref:t});if(n===`multiple`)return(0,f.jsx)(Gd,{...r,ref:t});throw Error(`Missing prop \`type\` expected on \`${Ld}\``)});Vd.displayName=Ld;var[Hd,Ud]=Rd(Ld),Wd=m.default.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[o,s]=wc({prop:n,defaultProp:r??``,onChange:i,caller:Ld});return(0,f.jsx)(Hd,{scope:e.__scopeToggleGroup,type:`single`,value:m.default.useMemo(()=>o?[o]:[],[o]),onItemActivate:s,onItemDeactivate:m.default.useCallback(()=>s(``),[s]),children:(0,f.jsx)(Jd,{...a,ref:t})})}),Gd=m.default.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[o,s]=wc({prop:n,defaultProp:r??[],onChange:i,caller:Ld}),c=m.default.useCallback(e=>s((t=[])=>[...t,e]),[s]),l=m.default.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,f.jsx)(Hd,{scope:e.__scopeToggleGroup,type:`multiple`,value:o,onItemActivate:c,onItemDeactivate:l,children:(0,f.jsx)(Jd,{...a,ref:t})})});Vd.displayName=Ld;var[Kd,qd]=Rd(Ld),Jd=m.default.forwardRef((e,t)=>{let{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:i=!0,orientation:a,dir:o,loop:s=!0,...c}=e,l=Bd(n),u=pd(o),d={role:`group`,dir:u,...c};return(0,f.jsx)(Kd,{scope:n,rovingFocus:i,disabled:r,children:i?(0,f.jsx)(Nd,{asChild:!0,...l,orientation:a,dir:u,loop:s,children:(0,f.jsx)(z.div,{...d,ref:t})}):(0,f.jsx)(z.div,{...d,ref:t})})}),Yd=`ToggleGroupItem`,Xd=m.default.forwardRef((e,t)=>{let n=Ud(Yd,e.__scopeToggleGroup),r=qd(Yd,e.__scopeToggleGroup),i=Bd(e.__scopeToggleGroup),a=n.value.includes(e.value),o=r.disabled||e.disabled,s={...e,pressed:a,disabled:o},c=m.default.useRef(null);return r.rovingFocus?(0,f.jsx)(Pd,{asChild:!0,...i,focusable:!o,active:a,ref:c,children:(0,f.jsx)(Zd,{...s,ref:t})}):(0,f.jsx)(Zd,{...s,ref:t})});Xd.displayName=Yd;var Zd=m.default.forwardRef((e,t)=>{let{__scopeToggleGroup:n,value:r,...i}=e,a=Ud(Yd,n),o={role:`radio`,"aria-checked":e.pressed,"aria-pressed":void 0};return(0,f.jsx)(Id,{...a.type===`single`?o:void 0,...i,ref:t,onPressedChange:e=>{e?a.onItemActivate(r):a.onItemDeactivate(r)}})}),Qd=Vd,$d=Xd,ef=(0,m.createContext)({size:`md`}),tf={sm:`aivex:h-7`,md:`aivex:h-8`,lg:`aivex:h-10`,"icon-sm":`aivex:h-7`,"icon-md":`aivex:h-8`,"icon-lg":`aivex:h-10`};function nf({className:e,size:t=`md`,value:n,defaultValue:r,onValueChange:i,fullWidth:a,children:o,ref:s,...c}){let l=n!==void 0,[u,d]=(0,m.useState)(r??n??``),p=l?n:u;return(0,f.jsx)(ef.Provider,{value:{size:t,fullWidth:a},children:(0,f.jsx)(Qd,{ref:s,type:`single`,value:p,onValueChange:e=>{e&&(l||d(e),i?.(e))},className:v(`aivex:inline-flex aivex:items-center aivex:justify-center aivex:rounded-sm aivex:bg-bg-tertiary aivex:p-2xs`,a?`aivex:w-full`:`aivex:w-fit`,tf[t],e),...c,children:o})})}var rf={sm:`aivex:h-6 aivex:px-md aivex:text-label-sm aivex:[&>svg]:size-4`,md:`aivex:h-7 aivex:px-md aivex:text-label-lg aivex:[&>svg]:size-4`,lg:`aivex:h-9 aivex:px-lg aivex:text-label-xl aivex:[&>svg]:size-5`,"icon-sm":`aivex:h-6 aivex:w-6 aivex:px-xs`,"icon-md":`aivex:h-7 aivex:w-7 aivex:px-xs aivex:[&>svg]:size-5`,"icon-lg":`aivex:h-9 aivex:w-9 aivex:px-sm aivex:[&>svg]:size-6`};function af({className:e,children:t,ref:n,...r}){let{size:i,fullWidth:a}=(0,m.useContext)(ef);return(0,f.jsx)($d,{ref:n,className:v(`aivex:inline-flex aivex:min-w-px aivex:shrink-0 aivex:items-center aivex:justify-center aivex:gap-xs aivex:rounded-xs aivex:text-text-secondary aivex:transition-colors aivex:duration-150 aivex:cursor-pointer aivex:select-none aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand aivex:data-[state=on]:bg-bg-float aivex:data-[state=on]:text-text-primary aivex:data-[state=on]:shadow-sm aivex:hover:text-text-primary aivex:data-[disabled]:pointer-events-none aivex:data-[disabled]:cursor-not-allowed aivex:data-[disabled]:!text-text-disabled`,rf[i],a&&`aivex:flex-1`,e),...r,children:t})}function of({className:e,keys:t,ref:n,...r}){return(0,f.jsx)(`span`,{ref:n,className:v(`aivex:inline-flex aivex:items-center aivex:gap-1`,e),...r,children:t.map((e,t)=>(0,f.jsxs)(m.Fragment,{children:[t>0&&(0,f.jsx)(`span`,{className:`aivex:text-text-secondary aivex:text-xs aivex:select-none`,children:`+`}),(0,f.jsx)(`kbd`,{className:`aivex:inline-flex aivex:items-center aivex:justify-center aivex:min-w-[1.25rem] aivex:h-5 aivex:px-1 aivex:rounded-xs aivex:border aivex:border-border-default aivex:text-text-secondary aivex:text-xs aivex:font-sans aivex:leading-none aivex:select-none`,children:e})]},`${e}-${t}`))})}var sf=(0,l.cva)(`aivex:block aivex:rounded-full aivex:transition-colors aivex:duration-200`,{variants:{size:{sm:`aivex:w-6 aivex:h-4`,md:`aivex:w-8 aivex:h-5`,lg:`aivex:w-10 aivex:h-6`}},defaultVariants:{size:`md`}}),cf={sm:`aivex:w-3 aivex:h-3`,md:`aivex:w-4 aivex:h-4`,lg:`aivex:w-5 aivex:h-5`},lf={sm:`aivex:translate-x-2`,md:`aivex:translate-x-3`,lg:`aivex:translate-x-4`},uf={sm:`aivex:h-4`,md:`aivex:h-5`,lg:`aivex:h-6`};function df({className:e,label:t,size:n=`md`,checked:r,defaultChecked:i,disabled:a,id:o,onChange:s,ref:c,...l}){let u=r!==void 0,[d,p]=(0,m.useState)(!!i),h=u?!!r:d,g=n??`md`;return(0,f.jsxs)(`label`,{className:v(`aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none`,a&&`aivex:opacity-disable aivex:pointer-events-none`),children:[(0,f.jsxs)(`span`,{className:`aivex:relative aivex:inline-flex aivex:items-center`,children:[(0,f.jsx)(`input`,{ref:c,id:o,type:`checkbox`,role:`switch`,"aria-checked":h,disabled:a,checked:h,onChange:e=>{u||p(e.target.checked),s?.(e)},className:`aivex:sr-only aivex:peer`,...l}),(0,f.jsx)(`span`,{className:v(sf({size:g}),h?`aivex:bg-bg-brand`:`aivex:bg-border-default`,e)}),(0,f.jsx)(`span`,{className:v(`aivex:absolute aivex:top-0.5 aivex:left-0.5 aivex:rounded-full aivex:bg-white aivex:shadow aivex:transition-transform aivex:duration-200`,cf[g],h&&lf[g])})]}),t&&(0,f.jsx)(`span`,{className:v(`aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary`,uf[g]),children:t})]})}var ff=`Tabs`,[pf,mf]=ra(ff,[xd]),hf=xd(),[gf,_f]=pf(ff),vf=m.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o=`horizontal`,dir:s,activationMode:c=`automatic`,...l}=e,u=pd(s),[d,p]=wc({prop:r,onChange:i,defaultProp:a??``,caller:ff});return(0,f.jsx)(gf,{scope:n,baseId:Va(),value:d,onValueChange:p,orientation:o,dir:u,activationMode:c,children:(0,f.jsx)(z.div,{dir:u,"data-orientation":o,...l,ref:t})})});vf.displayName=ff;var yf=`TabsList`,bf=m.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=_f(yf,n),o=hf(n);return(0,f.jsx)(Nd,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:(0,f.jsx)(z.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})});bf.displayName=yf;var xf=`TabsTrigger`,Sf=m.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=_f(xf,n),s=hf(n),c=Tf(o.baseId,r),l=Ef(o.baseId,r),u=r===o.value;return(0,f.jsx)(Pd,{asChild:!0,...s,focusable:!i,active:u,children:(0,f.jsx)(z.button,{type:`button`,role:`tab`,"aria-selected":u,"aria-controls":l,"data-state":u?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:c,...a,ref:t,onMouseDown:L(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?o.onValueChange(r):e.preventDefault()}),onKeyDown:L(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:L(e.onFocus,()=>{let e=o.activationMode!==`manual`;!u&&!i&&e&&o.onValueChange(r)})})})});Sf.displayName=xf;var Cf=`TabsContent`,wf=m.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,forceMount:i,children:a,...o}=e,s=_f(Cf,n),c=Tf(s.baseId,r),l=Ef(s.baseId,r),u=r===s.value,d=m.useRef(u);return m.useEffect(()=>{let e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(yc,{present:i||u,children:({present:n})=>(0,f.jsx)(z.div,{"data-state":u?`active`:`inactive`,"data-orientation":s.orientation,role:`tabpanel`,"aria-labelledby":c,hidden:!n,id:l,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:d.current?`0s`:void 0},children:n&&a})})});wf.displayName=Cf;function Tf(e,t){return`${e}-trigger-${t}`}function Ef(e,t){return`${e}-content-${t}`}var Df=vf,Of=bf,kf=Sf,Af=wf;function jf({className:e,ref:t,...n}){return(0,f.jsx)(Df,{ref:t,className:v(`aivex:flex aivex:flex-col`,e),...n})}var Mf=`aivex:flex aivex:items-center aivex:gap-3 aivex:border-b aivex:border-border-default`;function Nf({className:e,ref:t,...n}){return(0,f.jsx)(Of,{ref:t,className:v(Mf,e),...n})}var Pf=`aivex:relative aivex:inline-flex aivex:h-12 aivex:items-center aivex:justify-center aivex:gap-sm aivex:overflow-hidden aivex:px-md aivex:text-body-lg-medium aivex:text-text-primary aivex:transition-colors aivex:before:absolute aivex:before:inset-x-0 aivex:before:top-md aivex:before:bottom-md aivex:before:rounded-md aivex:before:bg-bg-inverse-strong aivex:before:opacity-0 aivex:before:pointer-events-none aivex:before:transition-opacity aivex:before:content-[''] aivex:hover:before:opacity-4 aivex:active:before:opacity-8 aivex:focus-visible:outline-none aivex:disabled:cursor-not-allowed aivex:disabled:opacity-40 aivex:data-[state=active]:after:absolute aivex:data-[state=active]:after:bottom-0 aivex:data-[state=active]:after:left-0 aivex:data-[state=active]:after:right-0 aivex:data-[state=active]:after:h-0.5 aivex:data-[state=active]:after:bg-bg-inverse aivex:data-[state=active]:after:content-['']`;function Ff({className:e,ref:t,...n}){return(0,f.jsx)(kf,{ref:t,className:v(Pf,e),...n})}function If({className:e,ref:t,...n}){return(0,f.jsx)(Af,{ref:t,className:v(`aivex:flex-1 aivex:outline-none`,e),...n})}var Lf=({direction:e})=>e===`asc`?(0,f.jsx)(Xn,{size:16}):e===`desc`?(0,f.jsx)(Zn,{size:16}):(0,f.jsx)(Ee,{size:16});function Rf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`div`,{ref:n,className:v(`aivex:w-full aivex:overflow-auto aivex:rounded-md aivex:border aivex:border-border-default`,e),...r,children:(0,f.jsx)(`table`,{className:`aivex:w-full aivex:border-collapse aivex:text-body-md-regular`,children:t})})}function zf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`thead`,{ref:n,className:v(`aivex:bg-bg-secondary`,e),...r,children:t})}function Bf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`tbody`,{ref:n,className:v(`aivex:bg-bg-primary`,e),...r,children:t})}function Vf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`tr`,{ref:n,className:v(`aivex:h-12 aivex:border-b aivex:border-border-default aivex:last:border-b-0 aivex:transition-colors aivex:hover:bg-bg-secondary`,e),...r,children:t})}function Hf({className:e,children:t,sortable:n,sortDirection:r,onSort:i,ref:a,...o}){return(0,f.jsx)(`th`,{ref:a,className:v(`aivex:h-12 aivex:px-md aivex:text-left aivex:align-middle aivex:text-xs aivex:font-medium aivex:text-text-secondary aivex:whitespace-nowrap`,e),...o,children:n?(0,f.jsxs)(`button`,{type:`button`,onClick:i,className:`aivex:inline-flex aivex:items-center aivex:gap-[2px] aivex:group aivex:text-text-secondary aivex:hover:text-text-primary aivex:transition-colors`,children:[t,(0,f.jsx)(`span`,{className:`aivex:text-text-tertiary aivex:group-hover:text-text-secondary aivex:transition-colors`,children:(0,f.jsx)(Lf,{direction:r})})]}):t})}function Uf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`td`,{ref:n,className:v(`aivex:h-12 aivex:px-md aivex:align-middle aivex:text-sm aivex:text-text-primary`,e),...r,children:t})}var Wf=(0,l.cva)(`aivex:inline-flex aivex:items-center aivex:gap-[2px] aivex:rounded-full aivex:overflow-hidden`,{variants:{size:{sm:`aivex:min-h-6 aivex:px-[6px] aivex:py-[2px]`,md:`aivex:min-h-8 aivex:px-[10px] aivex:py-[6px]`},type:{default:`aivex:bg-bg-tertiary aivex:text-text-primary`,error:`aivex:bg-bg-danger-subtle aivex:text-text-danger`}},defaultVariants:{size:`sm`,type:`default`}});function Gf({className:e,size:t=`sm`,type:n=`default`,showIcon:r=!1,disabled:i=!1,onRemove:a,children:o,ref:s,...c}){return(0,f.jsxs)(`div`,{ref:s,className:v(Wf({size:t,type:n}),i&&`aivex:opacity-disable`,e),...c,children:[r&&(0,f.jsx)(`span`,{className:`aivex:shrink-0 aivex:flex aivex:items-center aivex:justify-center aivex:opacity-40`,children:(0,f.jsx)(ut,{size:16})}),(0,f.jsx)(`span`,{className:v(`aivex:px-[2px] aivex:truncate`,t===`sm`?`aivex:text-label-md aivex:max-w-[160px]`:`aivex:text-label-lg aivex:max-w-[180px]`),children:o}),!i&&a&&(0,f.jsx)(zu,{size:`xs`,shape:`rectangle`,onClick:e=>{e.stopPropagation(),a()},className:`aivex:shrink-0`,"aria-label":`태그 삭제`,children:(0,f.jsx)(Ie,{size:12})})]})}function Kf({className:e,size:t=`sm`,label:n,helperText:r,error:i,disabled:a,value:o,defaultValue:s=[],onChange:c,parsePaste:l,validate:u,placeholder:d,id:p,ref:h,onBlur:g,onCompositionEnd:_,onCompositionStart:y,onFocus:b,onKeyDown:x,onPaste:S,...C}){let w=o!==void 0,[T,E]=(0,m.useState)(s),D=w?o:T,[O,k]=(0,m.useState)(``),A=(0,m.useRef)(!1),[j,M]=(0,m.useState)(!1),N=u?D.some(e=>!u(e)):!1,P=i||N,F=e=>{let t=e.trim();if(!t)return;let n=[...D,t];w||E(n),c?.(n),k(``)},I=e=>{let t=D.filter((t,n)=>n!==e);w||E(t),c?.(t)};return(0,f.jsxs)(Vu,{id:p,label:n,helperText:r,error:P,disabled:a,focused:j,size:t,layout:`wrap`,containerClassName:e,children:[D.map((e,n)=>(0,f.jsx)(Gf,{size:t===`md`?`md`:`sm`,type:u?u(e)?`default`:`error`:P?`error`:`default`,disabled:a,onRemove:()=>I(n),children:e},`${e}-${n}`)),(0,f.jsx)(`input`,{ref:h,id:p,value:O,disabled:a,placeholder:D.length===0?d:void 0,onChange:e=>k(e.target.value),onKeyDown:e=>{if(x?.(e),!e.defaultPrevented)if(e.key===`Enter`){if(A.current||e.nativeEvent.isComposing||e.nativeEvent.keyCode===229)return;e.preventDefault(),O&&F(O)}else e.key===`Backspace`&&!O&&D.length>0&&I(D.length-1)},onPaste:e=>{if(S?.(e),e.defaultPrevented||!l)return;e.preventDefault();let t=l(e.clipboardData.getData(`text`)),n=[...new Set(t)].map(e=>e.trim()).filter(e=>e&&!D.includes(e));if(n.length>0){let e=[...D,...n];w||E(e),c?.(e)}k(``)},onCompositionStart:e=>{A.current=!0,y?.(e)},onCompositionEnd:e=>{A.current=!1,k(e.currentTarget.value),_?.(e)},onFocus:e=>{M(!0),b?.(e)},onBlur:e=>{M(!1),g?.(e),!A.current&&O&&F(O)},className:v(`aivex:bg-transparent aivex:outline-none aivex:text-text-primary aivex:placeholder:text-text-tertiary aivex:min-w-[80px] aivex:flex-1`,t===`sm`?`aivex:text-body-md-regular aivex:h-6`:`aivex:text-body-lg-regular aivex:h-8`),...C})]})}function qf({className:e,label:t,helperText:n,error:r,disabled:i,size:a=`md`,minHeight:o,fixedHeight:s,leadingElement:c,trailingElement:l,id:u,ref:d,onFocus:p,onBlur:h,...g}){let[_,y]=(0,m.useState)(!1),b={};return o!==void 0&&(b.minHeight=typeof o==`number`?`${o}px`:o),s&&o!==void 0&&(b.height=b.minHeight,b.maxHeight=b.minHeight),(0,f.jsx)(Vu,{id:u,label:t,helperText:n,error:r,disabled:i,focused:_,size:a,layout:`block`,leadingElement:c,trailingElement:l,children:(0,f.jsx)(`textarea`,{ref:d,id:u,disabled:i,style:b,className:v(`aivex:w-full aivex:min-w-0 aivex:bg-transparent aivex:text-text-primary aivex:placeholder:text-text-tertiary aivex:outline-none`,a===`sm`?`aivex:text-body-md-regular`:`aivex:text-body-lg-regular`,s?`aivex:resize-none aivex:overflow-auto`:`aivex:resize-vertical`,e),onFocus:e=>{y(!0),p?.(e)},onBlur:e=>{y(!1),h?.(e)},...g})})}function Jf({className:e,label:t,helperText:n,error:r,disabled:i,clearable:a,leadingElement:o,trailingElement:s,size:c=`md`,id:l,ref:u,value:d,defaultValue:p,onChange:h,onFocus:g,onBlur:_,...y}){let[b,x]=(0,m.useState)(!1),[S,C]=(0,m.useState)(typeof p==`string`?p:p?.toString()??``),w=d!==void 0,T=w?String(d??``):S,E=a&&T.length>0;return(0,f.jsx)(Vu,{id:l,label:t,helperText:n,error:r,disabled:i,focused:b,size:c,layout:`inline`,leadingElement:o,trailingElement:s||E?(0,f.jsxs)(f.Fragment,{children:[s,E&&(0,f.jsx)(`button`,{type:`button`,onClick:()=>{w||C(``),h?.({target:{value:``}})},tabIndex:-1,className:`aivex:flex aivex:items-center aivex:justify-center aivex:text-text-tertiary aivex:hover:text-text-secondary aivex:transition-colors aivex:cursor-pointer`,"aria-label":`입력값 삭제`,children:(0,f.jsx)(Ie,{size:c===`sm`?14:16})})]}):void 0,children:(0,f.jsx)(`input`,{ref:u,id:l,disabled:i,value:a?T:d,defaultValue:a?void 0:p,onChange:a||w?e=>{w||C(e.target.value),h?.(e)}:h,className:v(`aivex:m-0 aivex:w-full aivex:min-w-0 aivex:appearance-none aivex:border-0 aivex:bg-transparent aivex:p-0 aivex:text-text-primary aivex:placeholder:text-text-tertiary aivex:outline-none`,c===`sm`?`aivex:text-body-md-regular`:`aivex:text-body-lg-regular`,e),onFocus:e=>{x(!0),g?.(e)},onBlur:e=>{x(!1),_?.(e)},...y})})}var Yf=(0,l.cva)(`aivex:inline-flex aivex:min-h-10 aivex:w-fit aivex:items-center aivex:justify-center aivex:rounded-xs aivex:bg-static-gray aivex:px-xl aivex:py-md`,{variants:{type:{default:``,success:``,danger:``}},defaultVariants:{type:`default`}});function Xf({className:e,type:t=`default`,open:n=!0,message:r,onClose:i,ref:a,...o}){return n?(0,f.jsxs)(`div`,{ref:a,role:`status`,"aria-live":`polite`,className:v(Yf({type:t}),e),...o,children:[(0,f.jsx)(`p`,{className:`aivex:max-w-[720px] aivex:text-center aivex:text-body-lg-regular aivex:text-static-white`,children:r}),i&&(0,f.jsx)(`button`,{type:`button`,onClick:i,className:`aivex:ml-lg aivex:shrink-0 aivex:text-static-white aivex:opacity-70 aivex:transition-opacity aivex:hover:opacity-100`,"aria-label":`Close toast`,children:(0,f.jsx)(Ie,{size:16})})]}):null}function Zf({position:e=`bottom-center`,duration:t=4e3,visibleToasts:n=3,gap:r=8,toastOptions:i,...a}){return(0,f.jsx)(g.Toaster,{position:e,duration:t,visibleToasts:n,gap:r,toastOptions:{...i,unstyled:!0,className:v(Yf({type:`default`}),i?.className),classNames:{title:`aivex:max-w-[720px] aivex:text-center aivex:text-body-lg-regular aivex:text-static-white`,description:`aivex:mt-xs aivex:max-w-[720px] aivex:text-center aivex:text-body-md-regular aivex:text-static-white aivex:opacity-80`,closeButton:`aivex:text-static-white aivex:opacity-70 aivex:transition-opacity aivex:hover:opacity-100`,...i?.classNames}},...a})}var Qf=(0,l.cva)(`aivex:absolute aivex:z-50 aivex:rounded-sm aivex:bg-static-gray aivex:px-md aivex:py-xs aivex:text-body-md-regular aivex:text-text-on-color aivex:whitespace-nowrap aivex:pointer-events-none`,{variants:{placement:{top:`aivex:bottom-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:mb-2`,bottom:`aivex:top-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:mt-2`,left:`aivex:right-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:mr-2`,right:`aivex:left-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:ml-2`}},defaultVariants:{placement:`top`}}),$f=(0,l.cva)(`aivex:absolute aivex:w-2 aivex:h-2 aivex:bg-static-gray aivex:rotate-45`,{variants:{placement:{top:`aivex:top-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:-translate-y-1/2`,bottom:`aivex:bottom-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:translate-y-1/2`,left:`aivex:left-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:-translate-x-1/2`,right:`aivex:right-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:translate-x-1/2`}},defaultVariants:{placement:`top`}});function ep({className:e,content:t,children:n,placement:r=`top`,showArrow:i=!0,ref:a,...o}){let[s,c]=(0,m.useState)(!1),l=(0,m.useRef)(null);return(0,f.jsxs)(`div`,{ref:a,className:v(`aivex:relative aivex:inline-flex`,e),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onFocus:()=>c(!0),onBlur:()=>c(!1),...o,children:[n,s&&(0,f.jsxs)(`div`,{ref:l,role:`tooltip`,className:v(Qf({placement:r})),children:[i&&(0,f.jsx)(`span`,{className:v($f({placement:r}))}),t]})]})}var tp=(0,l.cva)(``,{variants:{variant:{"display-lg":`aivex:text-display-lg`,"display-md":`aivex:text-display-md`,"heading-xl":`aivex:text-heading-xl`,"heading-lg":`aivex:text-heading-lg`,"heading-md":`aivex:text-heading-md`,"heading-sm":`aivex:text-heading-sm`,"heading-xs":`aivex:text-heading-xs`,"body-lg-regular":`aivex:text-body-lg-regular`,"body-lg-medium":`aivex:text-body-lg-medium`,"body-md-regular":`aivex:text-body-md-regular`,"body-md-medium":`aivex:text-body-md-medium`,"body-sm-regular":`aivex:text-body-sm-regular`,"body-sm-medium":`aivex:text-body-sm-medium`,"label-xl":`aivex:text-label-xl`,"label-lg":`aivex:text-label-lg`,"label-md":`aivex:text-label-md`,"label-sm":`aivex:text-label-sm`,"caption-md":`aivex:text-caption-md`}},defaultVariants:{variant:`body-md-regular`}}),np={"display-lg":`h1`,"display-md":`h1`,"heading-xl":`h1`,"heading-lg":`h2`,"heading-md":`h2`,"heading-sm":`h3`,"heading-xs":`h4`,"body-lg-regular":`p`,"body-lg-medium":`p`,"body-md-regular":`p`,"body-md-medium":`p`,"body-sm-regular":`p`,"body-sm-medium":`p`,"label-xl":`span`,"label-lg":`span`,"label-md":`span`,"label-sm":`span`,"caption-md":`span`};function rp({as:e,variant:t=`body-md-regular`,className:n,children:r,ref:i,...a}){return(0,f.jsx)(e??np[t],{ref:i,className:v(tp({variant:t}),n),...a,children:r})}function ip({className:e,formats:t=[`jpg`,`bmp`,`png`,`json`],maxSize:n=`800MB`,accept:r,onFileSelect:i,onFolderSelect:a,ref:o,...s}){let[c,l]=(0,m.useState)(!1),u=(0,m.useRef)(null),d=(0,m.useRef)(null),p=(0,m.useRef)(0);return(0,f.jsxs)(`div`,{ref:o,className:v(`aivex:flex aivex:flex-col aivex:items-center aivex:justify-center aivex:p-[48px] aivex:rounded-[8px] aivex:border-2 aivex:border-dashed aivex:transition-colors`,c?`aivex:bg-[rgba(0,86,216,0.08)] aivex:border-[#99bef6]`:`aivex:border-[#c1c3d2]`,e),onDragEnter:e=>{e.preventDefault(),p.current++,l(!0)},onDragLeave:e=>{e.preventDefault(),p.current--,p.current===0&&l(!1)},onDragOver:e=>{e.preventDefault()},onDrop:e=>{e.preventDefault(),p.current=0,l(!1),e.dataTransfer.files.length>0&&i?.(e.dataTransfer.files)},...s,children:[(0,f.jsxs)(`div`,{className:`aivex:flex aivex:flex-col aivex:items-center aivex:gap-6`,children:[(0,f.jsxs)(`div`,{className:`aivex:flex aivex:flex-col aivex:items-center aivex:gap-3 aivex:pt-3`,children:[(0,f.jsx)(ce,{size:28,color:`var(--aivex-icon-tertiary)`}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:flex-col aivex:items-center aivex:gap-1`,children:[(0,f.jsx)(`p`,{className:`aivex:text-[18px] aivex:font-medium aivex:text-text-primary aivex:leading-[26px] aivex:tracking-[-0.1px]`,children:`Drag and drop here`}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:items-center aivex:gap-3 aivex:px-4 aivex:text-sm aivex:font-normal aivex:text-text-brand`,children:[(0,f.jsxs)(`span`,{children:[`Formats : `,t.join(`, `)]}),(0,f.jsxs)(`span`,{children:[`Max size : `,n]})]})]})]}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:gap-2`,children:[(0,f.jsxs)(`button`,{type:`button`,onClick:()=>u.current?.click(),className:`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:items-center aivex:gap-xs aivex:h-8 aivex:px-md aivex:rounded-md aivex:bg-bg-tertiary aivex:text-text-primary aivex:text-sm aivex:font-medium aivex:tracking-[0.1px]`,children:[(0,f.jsx)(b,{}),(0,f.jsx)(_t,{size:16}),`File`]}),(0,f.jsxs)(`button`,{type:`button`,onClick:()=>d.current?.click(),className:`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:items-center aivex:gap-xs aivex:h-8 aivex:px-md aivex:rounded-md aivex:bg-bg-tertiary aivex:text-text-primary aivex:text-sm aivex:font-medium aivex:tracking-[0.1px]`,children:[(0,f.jsx)(b,{}),(0,f.jsx)(xt,{size:16}),`Folder`]})]})]}),(0,f.jsx)(`input`,{ref:u,type:`file`,multiple:!0,accept:r,className:`aivex:hidden`,onChange:e=>e.target.files&&i?.(e.target.files)}),(0,f.jsx)(`input`,{ref:d,type:`file`,multiple:!0,webkitdirectory:``,className:`aivex:hidden`,onChange:e=>e.target.files&&a?.(e.target.files)})]})}exports.AddFolderIcon=Lr,exports.AddPointIcon=k,exports.AdjustIcon=A,exports.AiSparkleGradientIcon=Jr,exports.AiSparkleIcon=qr,exports.AiVDataIcon=E,exports.AiVOpsIcon=D,exports.AiVisionIcon=O,exports.Alert=Ji,exports.AlignCenterIcon=j,exports.AlignLeftIcon=M,exports.AlignRightIcon=N,exports.AngleIcon=P,exports.ApertureIcon=fe,exports.ArchiveIcon=F,exports.ArrowCircleDownFilledIcon=pi,exports.ArrowCircleDownIcon=ie,exports.ArrowCircleLeftFilledIcon=mi,exports.ArrowCircleLeftIcon=ae,exports.ArrowCircleRightFilledIcon=fi,exports.ArrowCircleRightIcon=oe,exports.ArrowCircleUpFilledIcon=ce,exports.ArrowCircleUpIcon=se,exports.ArrowCornerLeftTopIcon=le,exports.ArrowDownIcon=I,exports.ArrowElbowDownLeftIcon=re,exports.ArrowFlowIcon=ki,exports.ArrowGoingDownIcon=Br,exports.ArrowGoingUpIcon=zr,exports.ArrowLeftDownIcon=si,exports.ArrowLeftIcon=ee,exports.ArrowLeftRightIcon=ue,exports.ArrowLeftUpIcon=ai,exports.ArrowRightDownIcon=ii,exports.ArrowRightIcon=te,exports.ArrowRightUpIcon=oi,exports.ArrowUpDownIcon=de,exports.ArrowUpIcon=ne,exports.ArrowelbowDownRightIcon=Fi,exports.AssistantPolyIcon=Gr,exports.AssistantRectIcon=pe,exports.AtIcon=kr,exports.Avatar=Xi,exports.BadgeDot=ea,exports.BadgeLabel=Qi,exports.BarcodeIcon=me,exports.BellIcon=ge,exports.BookmarkFilledIcon=ve,exports.BookmarkIcon=_e,exports.BoundingBoxIcon=he,exports.BreadCrumb=Eu,exports.BrightIcon=ye,exports.Button=T,exports.CSVFileIcon=Ur,exports.CalendarIcon=be,exports.CameraIcon=xe,exports.Card=Du,exports.CaretLineDownIcon=Se,exports.CaretLineLeftIcon=Ce,exports.CaretLineRightIcon=we,exports.CaretLineUpIcon=Te,exports.CaretUpDownIcon=Ee,exports.ChatIcon=De,exports.CheckCircleFilledIcon=Ne,exports.CheckCircleIcon=Me,exports.CheckDoubleIcon=je,exports.CheckIcon=Oe,exports.Checkbox=ju,exports.CheckboxCheckIcon=ke,exports.CheckboxIndeterminateIcon=Ae,exports.Chips=Pu,exports.ChipsCheckbox=Mu,exports.CircleDashedIcon=ut,exports.CircleFilledIcon=Pe,exports.CircleOutlineIcon=Fe,exports.ClipIcon=ze,exports.ClipboardIcon=xi,exports.CloseCircleFilledIcon=_i,exports.CloseCircleIcon=Le,exports.CloseIcon=Ie,exports.ClosedEyesIcon=Re,exports.CodeIcon=Ai,exports.CompareIcon=Qr,exports.ConfirmIcon=Pr,exports.ConnectedIcon=Be,exports.ContrastIcon=Ve,exports.ControlIcon=Er,exports.Copy1Icon=Ue,exports.Copy2Icon=We,exports.CopyIcon=He,exports.CreditCardIcon=Ge,exports.CropIcon=Ke,exports.CuttingIcon=qe,exports.DatabaseIcon=ti,exports.DefectGeneratorIcon=Je,exports.DeleteIcon=Ye,exports.DeletePointIcon=Xe,exports.DirectionDoubleDownIcon=Ze,exports.DirectionDoubleLeftIcon=Qe,exports.DirectionDoubleRightIcon=$e,exports.DirectionDoubleUpIcon=et,exports.DirectionDownIcon=tt,exports.DirectionLeftIcon=nt,exports.DirectionRightIcon=rt,exports.DirectionUpIcon=it,exports.DisconnectedIcon=at,exports.Divider=Iu,exports.DotIcon=ot,exports.DownloadIcon=st,exports.DragHandleIcon=ct,exports.EditIcon=lt,exports.EmptyIcon=yi,exports.EnglishIcon=Mi,exports.EqualIcon=bi,exports.EraserIcon=mt,exports.ExpandIcon=Ki,exports.ExperimentIcon=Zr,exports.ExportIcon=ht,exports.FailedIcon=gt,exports.FileIcon=_t,exports.FilterFilledIcon=yt,exports.FilterIcon=vt,exports.FitIcon=bt,exports.FloppyDiskIcon=Ct,exports.FolderCloseIcon=xt,exports.FolderOpenIcon=St,exports.GalleryViewLargeIcon=wt,exports.GalleryViewMediumIcon=Tt,exports.GalleryViewSmallIcon=Et,exports.GlobalIcon=Dt,exports.GraphIcon=Ot,exports.GraphPieIcon=At,exports.GraphScatterIcon=kt,exports.GridIcon=jt,exports.GuideHandleIcon=Mt,exports.GuideLineIcon=Nt,exports.HamburgerIcon=Pt,exports.HandIcon=Ft,exports.HelpIcon=It,exports.HistoryIcon=Rt,exports.HomeIcon=Lt,exports.HourglassIcon=Ii,exports.IconButton=zu,exports.ImageBrokenIcon=Vt,exports.ImageIcon=zt,exports.ImagesIcon=Bt,exports.ImportIcon=Ht,exports.InfoFilledIcon=ci,exports.InfoIcon=Ut,exports.InputBase=Vu,exports.InteractionLayer=b,exports.KebabIcon=Wt,exports.KeyDeleteIcon=Kt,exports.KeyIcon=Rr,exports.KeyReturnIcon=qt,exports.KeyboardIcon=Gt,exports.KoreanIcon=Ni,exports.LabelPointIcon=Jt,exports.LanguageIcon=Yt,exports.LightbulbIcon=Si,exports.LightingFilledIcon=wi,exports.LightingIcon=Ci,exports.LineIcon=Xt,exports.LinkIcon=Zt,exports.ListPlayIcon=ji,exports.LockIcon=Qt,exports.LoginIcon=$t,exports.LogoutIcon=en,exports.MagicWandIcon=Kr,exports.MailIcon=tn,exports.MapIcon=nn,exports.MapPinIcon=rn,exports.MeatballIcon=an,exports.MenuItem=xu,exports.MenuRoot=Su,exports.Messagebox=Wu,exports.MicroscopeIcon=Yr,exports.MinimizeIcon=Mr,exports.MinimizeWindowIcon=Ui,exports.MinusCircleIcon=sn,exports.MinusIcon=on,exports.ModalFooter=Ju,exports.ModalHeader=Ku,exports.ModalRoot=Yu,exports.ModelIcon=cn,exports.MonitorIcon=Ti,exports.MouseClickLeftIcon=ln,exports.MouseClickRightIcon=un,exports.MoveFolderIcon=Ir,exports.MoveIcon=dn,exports.MultiSelectionIcon=fn,exports.MuteIcon=pn,exports.Nav=ed,exports.NavItem=$u,exports.NavTile=Zu,exports.NewTabIcon=mn,exports.NotEqualIcon=ei,exports.OpenEyesIcon=hn,exports.Overlay=nd,exports.PackageIcon=Tr,exports.PageIcon=Hi,exports.PageMaximizeIcon=Vi,exports.PageMinimizeIcon=Bi,exports.Pagination=od,exports.PasteIcon=gn,exports.PauseCircleFilledIcon=li,exports.PauseCircleIcon=vn,exports.PauseIcon=_n,exports.PenIcon=yn,exports.PencilIcon=bn,exports.PinIcon=xn,exports.PipelineIcon=Ei,exports.PixelIcon=Sn,exports.PlayCircleFilledIcon=di,exports.PlayCircleIcon=wn,exports.PlayIcon=Cn,exports.PlayProgressIcon=Oi,exports.PlusCircleFilledIcon=vi,exports.PlusCircleIcon=En,exports.PlusIcon=Tn,exports.PointEditIcon=On,exports.PointIcon=Dn,exports.PushPinFilledIcon=An,exports.PushPinIcon=kn,exports.QuestionIcon=Vr,exports.Radio=ud,exports.ReadedMailIcon=Ar,exports.RectDashedIcon=dt,exports.RectIcon=jn,exports.RedoIcon=Mn,exports.RefreshIcon=Nn,exports.RepeatIcon=Pn,exports.RepeatOnceIcon=Fn,exports.RequestStatusIcon=Wr,exports.RocketIcon=In,exports.RotateRectIcon=Ln,exports.RotateRectOCRIcon=Rn,exports.RulerIcon=zn,exports.ScaleLeftBottomIcon=Bn,exports.ScaleLeftTopIcon=Vn,exports.ScaleRightBottomIcon=Hn,exports.ScaleRightTopIcon=Un,exports.SearchIcon=Wn,exports.SegmentedItem=af,exports.SegmentedRoot=nf,exports.SelectBox=rd,exports.SendIcon=Hr,exports.SettingIcon=Gn,exports.ShapesIcon=Xr,exports.Shortcut=of,exports.ShrinkIcon=Gi,exports.ShuffleIcon=Kn,exports.SidebarIcon=qn,exports.SimplificationIcon=Jn,exports.SmoothIcon=Yn,exports.SortAscendingIcon=Xn,exports.SortDescendingIcon=Zn,exports.SoundIcon=Qn,exports.SpecificAreaIcon=Pi,exports.StarFilledIcon=er,exports.StarIcon=$n,exports.StopCircleFilledIcon=ui,exports.StopCircleIcon=nr,exports.StopIcon=tr,exports.StorageIcon=Nr,exports.StrokeIcon=rr,exports.Switch=df,exports.TabContent=If,exports.TabList=Nf,exports.TabRoot=jf,exports.TabTrigger=Ff,exports.Table=Rf,exports.TableBody=Bf,exports.TableCell=Uf,exports.TableHead=Hf,exports.TableHeader=zf,exports.TableRow=Vf,exports.Tag=Gf,exports.TagFilledIcon=Or,exports.TagFilledOpacityIcon=gi,exports.TagIcon=Dr,exports.Tagbox=Kf,exports.TargetIcon=$r,exports.TaskQueueIcon=Wi,exports.TeamIcon=ir,exports.TempIcon=ar,exports.TestIcon=jr,exports.TextBoldIcon=sr,exports.TextH1Icon=dr,exports.TextH2Icon=fr,exports.TextH3Icon=pr,exports.TextIcon=or,exports.TextItalicIcon=cr,exports.TextStrikethroughIcon=lr,exports.TextUnderlineIcon=ur,exports.Textarea=qf,exports.Textbox=Jf,exports.ThumbsDownFilledIcon=zi,exports.ThumbsDownIcon=Ri,exports.ThumbsUpIcon=Li,exports.TimeIcon=mr,exports.Toast=Xf,exports.ToastToaster=Zf,exports.ToolIcon=Di,exports.Tooltip=ep,exports.TriangleDashedIcon=ft,exports.Typography=rp,exports.UndoIcon=hr,exports.UneditableIcon=gr,exports.UnlockIcon=_r,exports.UnreadIcon=Fr,exports.UploadArea=ip,exports.UploadIcon=vr,exports.UserIcon=yr,exports.WarningCircleFilledIcon=ri,exports.WarningCircleIcon=ni,exports.WarningTriangleFilledIcon=hi,exports.WarningTriangleIcon=pt,exports.WheelIcon=br,exports.WorkspaceIcon=xr,exports.Zoom100Icon=Sr,exports.ZoomInIcon=Cr,exports.ZoomOutIcon=wr,exports.avatarVariants=Yi,exports.badgeDotVariants=$i,exports.badgeLabelVariants=Zi,exports.buttonVariants=w,exports.checkboxVariants=Ou,exports.chipsVariants=Nu,exports.cn=v,exports.dividerVariants=Fu,exports.iconButtonVariants=Lu,exports.inputContainerVariants=Bu,exports.inputWrapperVariants=Bu,exports.menuItemVariants=bu,exports.messageboxVariants=Hu,exports.navItemVariants=Qu,exports.navTileVariants=Xu,exports.overlayVariants=td,exports.radioVariants=sd,exports.tagVariants=Wf,exports.toast=g.toast,exports.toastVariants=Yf,exports.tooltipContentVariants=Qf,exports.typographyVariants=tp;
|
|
41
|
+
`},Rl=0,zl=[];function Bl(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),i=p.useState(Rl++)[0],a=p.useState(cl)[0],o=p.useRef(e);p.useEffect(function(){o.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=Lc([e.lockRef.current],(e.shards||[]).map(Fl),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=p.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=Nl(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=El(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=El(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Ml(h,t,e,h===`h`?s:c,!0)},[]),c=p.useCallback(function(e){var n=e;if(!(!zl.length||zl[zl.length-1]!==a)){var r=`deltaY`in n?Pl(n):Nl(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Il(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var c=(o.current.shards||[]).map(Fl).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=p.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:Vl(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=p.useCallback(function(e){n.current=Nl(e),r.current=void 0},[]),d=p.useCallback(function(t){l(t.type,Pl(t),t.target,s(t,e.lockRef.current))},[]),f=p.useCallback(function(t){l(t.type,Nl(t),t.target,s(t,e.lockRef.current))},[]);p.useEffect(function(){return zl.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener(`wheel`,c,xl),document.addEventListener(`touchmove`,c,xl),document.addEventListener(`touchstart`,u,xl),function(){zl=zl.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,xl),document.removeEventListener(`touchmove`,c,xl),document.removeEventListener(`touchstart`,u,xl)}},[]);var m=e.removeScrollBar,h=e.inert;return p.createElement(p.Fragment,null,h?p.createElement(a,{styles:Ll(i)}):null,m?p.createElement(vl,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Vl(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Hl=Zc(Qc,Bl),Ul=p.forwardRef(function(e,t){return p.createElement(el,$({},e,{ref:t,sideCar:Hl}))});Ul.classNames=el.classNames;var Wl=`Popover`,[Gl,Kl]=ra(Wl,[Xs]),ql=Xs(),[Jl,Yl]=Gl(Wl),Xl=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=ql(t),c=m.useRef(null),[l,u]=m.useState(!1),[d,p]=wc({prop:r,defaultProp:i??!1,onChange:a,caller:Wl});return(0,f.jsx)(fc,{...s,children:(0,f.jsx)(Jl,{scope:t,contentId:Va(),triggerRef:c,open:d,onOpenChange:p,onOpenToggle:m.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:l,onCustomAnchorAdd:m.useCallback(()=>u(!0),[]),onCustomAnchorRemove:m.useCallback(()=>u(!1),[]),modal:o,children:n})})};Xl.displayName=Wl;var Zl=`PopoverAnchor`,Ql=m.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Yl(Zl,n),a=ql(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return m.useEffect(()=>(o(),()=>s()),[o,s]),(0,f.jsx)(pc,{...a,...r,ref:t})});Ql.displayName=Zl;var $l=`PopoverTrigger`,eu=m.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Yl($l,n),a=ql(n),o=R(t,i.triggerRef),s=(0,f.jsx)(z.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":hu(i.open),...r,ref:o,onClick:L(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,f.jsx)(pc,{asChild:!0,...a,children:s})});eu.displayName=$l;var tu=`PopoverPortal`,[nu,ru]=Gl(tu,{forceMount:void 0}),iu=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=Yl(tu,t);return(0,f.jsx)(nu,{scope:t,forceMount:n,children:(0,f.jsx)(yc,{present:n||a.open,children:(0,f.jsx)(_c,{asChild:!0,container:i,children:r})})})};iu.displayName=tu;var au=`PopoverContent`,ou=m.forwardRef((e,t)=>{let n=ru(au,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=Yl(au,e.__scopePopover);return(0,f.jsx)(yc,{present:r||a.open,children:a.modal?(0,f.jsx)(cu,{...i,ref:t}):(0,f.jsx)(lu,{...i,ref:t})})});ou.displayName=au;var su=(0,c.createSlot)(`PopoverContent.RemoveScroll`),cu=m.forwardRef((e,t)=>{let n=Yl(au,e.__scopePopover),r=m.useRef(null),i=R(t,r),a=m.useRef(!1);return m.useEffect(()=>{let e=r.current;if(e)return Fc(e)},[]),(0,f.jsx)(Ul,{as:su,allowPinchZoom:!0,children:(0,f.jsx)(uu,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:L(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:L(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;a.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:L(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),lu=m.forwardRef((e,t)=>{let n=Yl(au,e.__scopePopover),r=m.useRef(!1),i=m.useRef(!1);return(0,f.jsx)(uu,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),uu=m.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,p=Yl(au,n),m=ql(n);return Sa(),(0,f.jsx)(Oa,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,f.jsx)(ma,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1),children:(0,f.jsx)(mc,{"data-state":hu(p.open),role:`dialog`,id:p.contentId,...m,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),du=`PopoverClose`,fu=m.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Yl(du,n);return(0,f.jsx)(z.button,{type:`button`,...r,ref:t,onClick:L(e.onClick,()=>i.onOpenChange(!1))})});fu.displayName=du;var pu=`PopoverArrow`,mu=m.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=ql(n);return(0,f.jsx)(hc,{...i,...r,ref:t})});mu.displayName=pu;function hu(e){return e?`open`:`closed`}var gu=Xl,_u=eu,vu=iu,yu=ou,bu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:h-8 aivex:w-full aivex:items-center aivex:gap-md aivex:px-lg aivex:text-body-md-regular aivex:rounded-sm aivex:transition-colors aivex:cursor-pointer aivex:select-none aivex:disabled:opacity-disable aivex:disabled:pointer-events-none`,{variants:{danger:{true:`aivex:text-text-danger`,false:`aivex:text-text-primary`},activated:{true:`aivex:bg-bg-secondary`,false:``}},defaultVariants:{danger:!1,activated:!1}});function xu({className:e,label:t,icon:n,danger:r=!1,activated:i=!1,disabled:a,onClick:o,ref:s,...c}){return(0,f.jsxs)(`button`,{ref:s,type:`button`,role:`menuitem`,disabled:a,onClick:o,className:v(bu({danger:r,activated:i}),e),...c,children:[(0,f.jsx)(b,{variant:r?`danger`:`default`}),n&&(0,f.jsx)(`span`,{className:`aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:text-icon-secondary`,children:n}),(0,f.jsx)(`span`,{className:`aivex:truncate`,children:t})]})}function Su({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`div`,{ref:n,role:`menu`,className:v(`aivex:flex aivex:flex-col aivex:gap-xs aivex:rounded-md aivex:bg-bg-primary aivex:p-xs aivex:shadow-md aivex:border aivex:border-border-subtle aivex:min-w-[160px]`,e),...r,children:t})}function Cu({item:e,isCurrent:t}){if(t)return(0,f.jsx)(`span`,{"aria-current":`page`,className:`aivex:inline-flex aivex:items-center aivex:gap-xs aivex:px-sm aivex:py-2xs aivex:rounded-xs aivex:text-body-md-medium aivex:text-text-primary aivex:select-none`,children:e.label});let n=e.as??(e.href?`a`:`button`),r=n===`button`?{type:`button`}:{};return(0,f.jsxs)(n,{href:e.href,onClick:e.onClick,className:`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:gap-xs aivex:px-sm aivex:py-2xs aivex:rounded-xs aivex:text-body-md-regular aivex:text-text-secondary aivex:cursor-pointer aivex:transition-colors`,...r,children:[(0,f.jsx)(b,{variant:`default`}),e.label]})}function wu(){return(0,f.jsx)(`span`,{"aria-hidden":`true`,className:`aivex:text-text-tertiary aivex:text-body-md-regular aivex:select-none aivex:shrink-0`,children:`/`})}function Tu({items:e}){let[t,n]=(0,m.useState)(!1);return(0,f.jsxs)(gu,{open:t,onOpenChange:n,children:[(0,f.jsx)(_u,{asChild:!0,children:(0,f.jsxs)(`button`,{type:`button`,"aria-label":`숨겨진 경로 보기`,className:`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center aivex:px-sm aivex:py-2xs aivex:rounded-xs aivex:text-body-md-regular aivex:text-text-secondary aivex:cursor-pointer aivex:transition-colors`,children:[(0,f.jsx)(b,{variant:`default`}),`···`]})}),(0,f.jsx)(vu,{children:(0,f.jsx)(yu,{side:`bottom`,align:`start`,sideOffset:4,className:`aivex:z-50 aivex:outline-none`,children:(0,f.jsx)(Su,{children:e.map((e,t)=>{let n=e.as??(e.href?`a`:`button`),r=n===`button`?{type:`button`}:{};return(0,f.jsxs)(n,{href:e.href,onClick:e.onClick,className:bu(),...r,children:[(0,f.jsx)(b,{variant:`default`}),(0,f.jsx)(`span`,{className:`aivex:truncate`,children:e.label})]},t)})})})})]})}function Eu({className:e,items:t,maxItems:n,ref:r,...i}){let a=n!==void 0&&t.length>n,o=t[0],s=t[t.length-1],c=a?t.slice(1,-1):[],l=t.length-1;return(0,f.jsx)(`nav`,{ref:r,"aria-label":`Breadcrumb`,className:v(`aivex:flex aivex:items-center`,e),...i,children:(0,f.jsx)(`ol`,{className:`aivex:flex aivex:flex-wrap aivex:items-center aivex:gap-2xs`,children:a?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`li`,{className:`aivex:inline-flex aivex:items-center aivex:gap-2xs`,children:(0,f.jsx)(Cu,{item:o})}),(0,f.jsxs)(`li`,{className:`aivex:inline-flex aivex:items-center aivex:gap-2xs`,children:[(0,f.jsx)(wu,{}),(0,f.jsx)(Tu,{items:c})]}),(0,f.jsxs)(`li`,{className:`aivex:inline-flex aivex:items-center aivex:gap-2xs`,children:[(0,f.jsx)(wu,{}),(0,f.jsx)(Cu,{item:s,isCurrent:!0})]})]}):t.map((e,t)=>(0,f.jsxs)(`li`,{className:`aivex:inline-flex aivex:items-center aivex:gap-2xs`,children:[t>0&&(0,f.jsx)(wu,{}),(0,f.jsx)(Cu,{item:e,isCurrent:t===l})]},t))})})}function Du({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`div`,{ref:n,className:v(`aivex:bg-bg-primary aivex:rounded-md aivex:shadow-sm aivex:p-xl`,e),...r,children:t})}var Ou=(0,l.cva)(`aivex:relative aivex:m-0 aivex:shrink-0 aivex:rounded-xs aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:appearance-none aivex:cursor-pointer aivex:transition-colors aivex:peer`,{variants:{size:{sm:`aivex:w-4 aivex:h-4`,md:`aivex:w-[18px] aivex:h-[18px]`}},defaultVariants:{size:`md`}}),ku={sm:`aivex:w-5 aivex:h-5`,md:`aivex:w-6 aivex:h-6`},Au={sm:`aivex:h-5`,md:`aivex:h-6`};function ju({className:e,label:t,size:n=`md`,indeterminate:r=!1,disabled:i,checked:a,defaultChecked:o,onChange:s,id:c,ref:l,...u}){let d=(0,m.useRef)(null),p=a!==void 0,[h,g]=(0,m.useState)(!!o),_=typeof l==`object`&&l?l:d;(0,m.useEffect)(()=>{_&&`current`in _&&_.current&&(_.current.indeterminate=r)},[r,_]);let y=p?!!a:h,b=y||r,x=n??`md`;return(0,f.jsxs)(`label`,{className:v(`aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none`,i&&`aivex:opacity-disable aivex:pointer-events-none`),children:[(0,f.jsxs)(`span`,{className:v(`aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group`,ku[x]),children:[(0,f.jsx)(`span`,{className:`aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity`}),(0,f.jsx)(`input`,{ref:_,id:c,type:`checkbox`,disabled:i,checked:y,onChange:e=>{p||g(e.target.checked),s?.(e)},className:v(Ou({size:x}),b&&`aivex:border-transparent aivex:bg-bg-brand`,e),...u}),b&&(0,f.jsx)(`span`,{className:`aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-white aivex:pointer-events-none`,children:r?(0,f.jsx)(Ae,{size:x}):(0,f.jsx)(ke,{size:x})})]}),t&&(0,f.jsx)(`span`,{className:v(`aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary`,Au[x]),children:t})]})}function Mu({className:e,disabled:t,checked:n,defaultChecked:r,onChange:i,onClick:a,id:o,ref:s,...c}){let l=n!==void 0,[u,d]=(0,m.useState)(!!r),p=l?!!n:u;return(0,f.jsxs)(`label`,{onClick:a,className:v(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center`,`aivex:h-8 aivex:w-8 aivex:shrink-0 aivex:rounded-lg aivex:border aivex:cursor-pointer aivex:select-none aivex:transition-colors`,p?`aivex:bg-bg-brand-subtle aivex:border-border-brand-subtle`:`aivex:bg-bg-tertiary aivex:border-border-default`,t&&`aivex:opacity-disable aivex:pointer-events-none`,e),children:[(0,f.jsx)(b,{}),(0,f.jsx)(`input`,{ref:s,id:o,type:`checkbox`,disabled:t,checked:p,onChange:e=>{l||d(e.target.checked),i?.(e)},onClick:e=>e.stopPropagation(),className:`aivex:sr-only`,...c}),(0,f.jsxs)(`span`,{className:`aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:w-5 aivex:h-5 aivex:shrink-0`,children:[(0,f.jsx)(`span`,{className:v(`aivex:w-4 aivex:h-4 aivex:rounded-xs aivex:border aivex:transition-colors`,p?`aivex:bg-bg-brand aivex:border-transparent`:`aivex:bg-bg-primary aivex:border-border-default`)}),p&&(0,f.jsx)(`span`,{className:`aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-white aivex:pointer-events-none`,children:(0,f.jsx)(ke,{size:`sm`})})]})]})}var Nu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center aivex:gap-[2px] aivex:border aivex:transition-colors aivex:cursor-pointer aivex:select-none aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand aivex:disabled:pointer-events-none aivex:disabled:opacity-disable`,{variants:{shape:{rectangle:``,rounded:`aivex:rounded-full`},size:{sm:`aivex:h-6 aivex:px-sm aivex:text-label-md`,md:`aivex:h-8 aivex:px-[10px] aivex:text-label-lg`},type:{text:``,icon:`aivex:px-0 aivex:aspect-square`},active:{true:`aivex:bg-bg-brand-subtle aivex:text-text-brand aivex:border-border-brand-subtle`,false:`aivex:bg-bg-primary aivex:text-text-primary aivex:border-border-default`}},compoundVariants:[{shape:`rectangle`,size:`sm`,className:`aivex:rounded-sm`},{shape:`rectangle`,size:`md`,className:`aivex:rounded-md`},{type:`icon`,size:`sm`,className:`aivex:w-6`},{type:`icon`,size:`md`,className:`aivex:w-8`}],defaultVariants:{shape:`rounded`,size:`md`,type:`text`,active:!1}});function Pu({className:e,shape:t,size:n,type:r,active:i,defaultActive:a,children:o,ref:s,onClick:c,...l}){let u=i!==void 0,[d,p]=(0,m.useState)(!!a),h=u?!!i:d;return(0,f.jsxs)(`button`,{ref:s,className:v(Nu({shape:t,size:n,type:r,active:h}),e),onClick:e=>{u||p(e=>!e),c?.(e)},...l,children:[(0,f.jsx)(b,{}),o]})}var Fu=(0,l.cva)(`aivex:shrink-0`,{variants:{strength:{basic:``,bold:``},direction:{horizontal:`aivex:w-full`,vertical:`aivex:h-full`}},compoundVariants:[{strength:`basic`,direction:`horizontal`,className:`aivex:border-t aivex:border-border-default`},{strength:`basic`,direction:`vertical`,className:`aivex:border-l aivex:border-border-default`},{strength:`bold`,direction:`horizontal`,className:`aivex:border-t-2 aivex:border-border-subtle`},{strength:`bold`,direction:`vertical`,className:`aivex:border-l-2 aivex:border-border-subtle`}],defaultVariants:{strength:`basic`,direction:`horizontal`}});function Iu({className:e,strength:t,direction:n,ref:r,...i}){return(0,f.jsx)(`hr`,{ref:r,"aria-orientation":n===`vertical`?`vertical`:`horizontal`,className:v(Fu({strength:t,direction:n}),e),...i})}var Lu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center aivex:transition-colors aivex:disabled:pointer-events-none aivex:disabled:opacity-disable aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand`,{variants:{size:{xs:`aivex:w-4 aivex:h-4`,sm:`aivex:w-6 aivex:h-6`,md:`aivex:w-8 aivex:h-8`,lg:`aivex:w-10 aivex:h-10`},shape:{rectangle:`aivex:rounded-md`,rounded:`aivex:rounded-full`}},defaultVariants:{size:`sm`,shape:`rectangle`}}),Ru={xs:`aivex:w-3 aivex:h-3`,sm:`aivex:w-4 aivex:h-4`,md:`aivex:w-5 aivex:h-5`,lg:`aivex:w-6 aivex:h-6`};function zu({className:e,size:t=`sm`,shape:n=`rectangle`,color:r=`primary`,error:i=!1,asChild:a=!1,children:o,ref:s,...l}){let u=a?c.Slot:`button`,d=i?`aivex:text-text-danger`:r===`white`?`aivex:text-static-white`:``,p=i?`danger`:r===`white`?`white`:`default`;return(0,f.jsxs)(u,{ref:s,type:a?void 0:`button`,className:v(Lu({size:t,shape:n}),d,e),...l,children:[(0,f.jsx)(b,{variant:p}),(0,f.jsx)(`span`,{className:v(`aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0`,Ru[t??`xs`]),children:o})]})}var Bu=(0,l.cva)(`aivex:flex aivex:w-full aivex:border aivex:bg-bg-primary aivex:transition-colors`,{variants:{state:{default:`aivex:border-border-default aivex:hover:border-border-brand`,focused:`aivex:border-border-brand`,error:`aivex:border-border-danger`,disabled:`aivex:border-border-disabled aivex:bg-bg-disabled aivex:opacity-disable aivex:pointer-events-none`},size:{sm:`aivex:rounded-sm`,md:`aivex:rounded-md`},layout:{inline:`aivex:items-center aivex:px-xl aivex:gap-xs`,block:`aivex:items-start aivex:px-xl aivex:gap-xs`,wrap:`aivex:flex-wrap aivex:items-center aivex:content-center aivex:px-md aivex:gap-xs`}},compoundVariants:[{layout:`inline`,size:`sm`,class:`aivex:h-8`},{layout:`inline`,size:`md`,class:`aivex:h-10`},{layout:`block`,size:`sm`,class:`aivex:py-xs aivex:min-h-8`},{layout:`block`,size:`md`,class:`aivex:py-lg aivex:min-h-10`},{layout:`wrap`,size:`sm`,class:`aivex:py-2xs aivex:min-h-8`},{layout:`wrap`,size:`md`,class:`aivex:py-2xs aivex:min-h-10`}],defaultVariants:{state:`default`,size:`md`,layout:`inline`}});function Vu({id:e,label:t,helperText:n,error:r,disabled:i,focused:a,size:o=`md`,layout:s=`inline`,leadingElement:c,trailingElement:l,containerClassName:u,className:d,children:p}){let m=i?`disabled`:r?`error`:a?`focused`:`default`,h=v(`aivex:flex aivex:shrink-0 aivex:items-center aivex:gap-xs aivex:text-text-secondary`);return(0,f.jsxs)(`div`,{className:v(`aivex:flex aivex:flex-col aivex:gap-xs aivex:w-full`,d),children:[t&&(0,f.jsx)(`label`,{htmlFor:e,className:v(`aivex:text-label-md aivex:text-text-secondary`,i&&`aivex:opacity-disable`),children:t}),(0,f.jsxs)(`div`,{className:v(Bu({state:m,size:o,layout:s}),u),children:[c&&(0,f.jsx)(`span`,{className:h,children:c}),p,l&&(0,f.jsx)(`span`,{className:h,children:l})]}),n&&(0,f.jsx)(`p`,{className:v(`aivex:text-caption-md aivex:text-text-secondary aivex:line-clamp-2`,!i&&r&&`aivex:text-text-danger`),children:n})]})}var Hu=(0,l.cva)(`aivex:inline-flex aivex:h-10 aivex:items-center aivex:gap-md aivex:rounded-md aivex:px-xl aivex:border aivex:text-body-md-regular`,{variants:{type:{basic:`aivex:bg-bg-secondary aivex:border-border-default aivex:text-text-primary`,info:`aivex:bg-bg-info-subtle aivex:border-border-info-subtle aivex:text-text-brand`,success:`aivex:bg-bg-success-subtle aivex:border-border-success-subtle aivex:text-text-success`,warning:`aivex:bg-bg-warning-subtle aivex:border-border-warning-subtle aivex:text-text-warning`,danger:`aivex:bg-bg-danger-subtle aivex:border-border-danger-subtle aivex:text-text-danger`}},defaultVariants:{type:`basic`}}),Uu={basic:{Icon:Ut,className:`aivex:text-icon-primary`},info:{Icon:Ut,className:`aivex:text-icon-info`},success:{Icon:Me,className:`aivex:text-icon-success`},warning:{Icon:pt,className:`aivex:text-icon-warning`},danger:{Icon:gt,className:`aivex:text-icon-danger`}};function Wu({className:e,type:t=`basic`,message:n,ref:r,...i}){let{Icon:a,className:o}=Uu[t??`basic`];return(0,f.jsxs)(`div`,{ref:r,role:`status`,className:v(Hu({type:t}),e),...i,children:[(0,f.jsx)(`span`,{className:v(`aivex:inline-flex aivex:shrink-0 aivex:items-center aivex:justify-center`,o),children:(0,f.jsx)(a,{size:16})}),(0,f.jsx)(`span`,{className:`aivex:truncate`,children:n})]})}var Gu=(0,l.cva)(`aivex:relative aivex:flex aivex:gap-md aivex:p-2xl`,{variants:{type:{basic:`aivex:items-start aivex:justify-between`,"alert-center":`aivex:flex-col aivex:items-center aivex:text-center`,"alert-left":`aivex:flex-col aivex:items-start`}},defaultVariants:{type:`basic`}});function Ku({className:e,type:t=`basic`,title:n,description:r,onClose:i,ref:a,...o}){return(0,f.jsxs)(`div`,{ref:a,className:v(Gu({type:t}),e),...o,children:[(0,f.jsxs)(`div`,{className:v(`aivex:flex-1`,t!==`basic`&&`aivex:w-full`),children:[(0,f.jsx)(`h2`,{className:`aivex:text-base aivex:font-semibold aivex:text-text-primary`,children:n}),r&&(0,f.jsx)(`p`,{className:`aivex:mt-1 aivex:text-sm aivex:text-text-secondary`,children:r})]}),t===`basic`&&i&&(0,f.jsx)(`button`,{type:`button`,onClick:i,className:`aivex:shrink-0 aivex:text-icon-secondary aivex:hover:text-icon-primary aivex:transition-colors`,"aria-label":`Close modal`,children:(0,f.jsx)(Ie,{})}),t!==`basic`&&i&&(0,f.jsx)(`button`,{type:`button`,onClick:i,className:`aivex:absolute aivex:top-xl aivex:right-xl aivex:text-icon-secondary aivex:hover:text-icon-primary aivex:transition-colors`,"aria-label":`Close modal`,children:(0,f.jsx)(Ie,{})})]})}var qu=(0,l.cva)(`aivex:flex aivex:gap-md aivex:px-2xl aivex:pb-2xl`,{variants:{type:{flex:`aivex:justify-end`,fixed:`aivex:justify-stretch aivex:[&>*]:flex-1`}},defaultVariants:{type:`flex`}});function Ju({className:e,type:t=`flex`,children:n,ref:r,...i}){return(0,f.jsx)(`div`,{ref:r,className:v(qu({type:t}),e),...i,children:n})}function Yu({className:e,open:t,onClose:n,children:r,ref:i,...a}){return(0,m.useEffect)(()=>{let e=e=>{e.key===`Escape`&&t&&n()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[t,n]),(0,m.useEffect)(()=>(t?document.body.style.overflow=`aivex:hidden`:document.body.style.overflow=``,()=>{document.body.style.overflow=``}),[t]),t?(0,f.jsxs)(`div`,{className:`aivex:fixed aivex:inset-0 aivex:z-50 aivex:flex aivex:items-center aivex:justify-center`,"aria-modal":`true`,role:`dialog`,children:[(0,f.jsx)(`div`,{className:`aivex:absolute aivex:inset-0 aivex:bg-black/50`,onClick:n,"aria-hidden":`true`}),(0,f.jsx)(`div`,{ref:i,className:v(`aivex:relative aivex:z-10 aivex:w-full aivex:max-w-modal-md aivex:rounded-md aivex:bg-bg-primary aivex:shadow-md aivex:mx-xl`,e),...a,children:r})]}):null}var Xu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:flex-col aivex:items-center aivex:w-14 aivex:px-0.5 aivex:py-1 aivex:rounded-[6px] aivex:transition-colors aivex:cursor-pointer aivex:select-none`,{variants:{active:{true:`aivex:bg-bg-brand-subtle`,false:`aivex:bg-transparent`}},defaultVariants:{active:!1}});function Zu({className:e,active:t,icon:n,children:r,ref:i,...a}){let o=t??!1;return(0,f.jsxs)(`button`,{ref:i,type:`button`,"aria-pressed":o,className:v(Xu({active:t}),e),...a,children:[(0,f.jsx)(b,{}),n&&(0,f.jsx)(`span`,{className:v(`aivex:flex aivex:items-center aivex:justify-center aivex:p-1`,o?`aivex:text-text-brand`:`aivex:text-text-secondary`),children:(0,f.jsx)(`span`,{className:`aivex:flex aivex:items-center aivex:justify-center aivex:size-6`,children:n})}),r&&(0,f.jsx)(`span`,{className:v(`aivex:text-label-sm aivex:text-center`,o?`aivex:text-text-brand`:`aivex:text-text-secondary`),children:r})]})}var Qu=(0,l.cva)(`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:min-h-10 aivex:w-full aivex:items-center aivex:gap-md aivex:px-lg aivex:py-md aivex:rounded-md aivex:text-body-lg-medium aivex:leading-6 aivex:text-left aivex:transition-colors aivex:cursor-pointer`,{variants:{active:{true:`aivex:bg-bg-brand-subtle aivex:text-text-brand`,false:`aivex:bg-transparent aivex:text-text-secondary`}},defaultVariants:{active:!1}});function $u({className:e,active:t,icon:n,children:r,ref:i,...a}){return(0,f.jsxs)(`button`,{ref:i,type:`button`,"aria-current":t?`page`:void 0,className:v(Qu({active:t}),e),...a,children:[(0,f.jsx)(b,{}),n&&(0,f.jsx)(`span`,{className:`aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:size-5`,children:n}),r]})}function ed({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`nav`,{ref:n,className:v(`aivex:flex aivex:flex-col aivex:gap-xs`,e),...r,children:t})}var td=(0,l.cva)(`aivex:fixed aivex:inset-0 aivex:z-40`,{variants:{type:{dim:`aivex:bg-black/50`,frost:`aivex:backdrop-blur-sm aivex:bg-white/30`}},defaultVariants:{type:`dim`}});function nd({className:e,type:t=`dim`,ref:n,...r}){return(0,f.jsx)(`div`,{ref:n,"aria-hidden":`true`,className:v(td({type:t}),e),...r})}function rd({groups:e,value:t,placeholder:n=``,disabled:r=!1,size:i=`md`,onChange:a,renderValue:o,className:s,label:c,helperText:l,error:u}){let[d,p]=(0,m.useState)(!1),h=(()=>{for(let n of e){let e=n.options.find(e=>e.value===t);if(e)return o?o(e,n):e.label}})(),g=i===`sm`?16:20;return(0,f.jsxs)(`div`,{className:v(`aivex:flex aivex:flex-col aivex:gap-xs aivex:w-full`,s),children:[c&&(0,f.jsx)(`span`,{className:v(`aivex:text-label-md aivex:text-text-secondary`,r&&`aivex:opacity-disable`),children:c}),(0,f.jsxs)(gu,{open:d,onOpenChange:r?void 0:p,children:[(0,f.jsx)(_u,{asChild:!0,disabled:r,children:(0,f.jsx)(`div`,{className:v(`aivex:w-full aivex:cursor-pointer`,r&&`aivex:cursor-not-allowed`),role:`combobox`,"aria-expanded":d,"aria-haspopup":`listbox`,tabIndex:r?-1:0,children:(0,f.jsx)(Vu,{disabled:r,focused:d,error:u,size:i,layout:`inline`,trailingElement:(0,f.jsx)(`span`,{className:v(`aivex:transition-transform aivex:duration-200 aivex:text-text-secondary`,d&&`aivex:rotate-180`),children:(0,f.jsx)(tt,{size:g})}),children:(0,f.jsx)(`span`,{className:v(`aivex:flex-1 aivex:min-w-0 aivex:truncate aivex:pointer-events-none`,i===`sm`?`aivex:text-body-md-regular`:`aivex:text-body-lg-regular`,h?`aivex:text-text-primary`:`aivex:text-text-tertiary`),children:h??n})})})}),(0,f.jsx)(vu,{children:(0,f.jsx)(yu,{sideOffset:4,align:`start`,avoidCollisions:!0,onOpenAutoFocus:e=>e.preventDefault(),className:v(`aivex:z-50 aivex:min-w-[var(--radix-popover-trigger-width)] aivex:max-w-[var(--radix-popover-trigger-width)]`,`aivex:rounded-md aivex:bg-bg-primary aivex:shadow-md aivex:border aivex:border-border-subtle`,`aivex:p-xs aivex:max-h-[312px] aivex:overflow-y-auto`,`aivex:data-[state=open]:animate-in aivex:data-[state=open]:fade-in-0 aivex:data-[state=open]:zoom-in-95`,`aivex:data-[state=closed]:animate-out aivex:data-[state=closed]:fade-out-0 aivex:data-[state=closed]:zoom-out-95`),role:`listbox`,children:e.map((e,n)=>(0,f.jsxs)(`div`,{children:[n>0&&(0,f.jsx)(`div`,{className:`aivex:my-xs aivex:border-t aivex:border-border-default`}),e.title&&(0,f.jsx)(`div`,{className:`aivex:px-lg aivex:py-xs aivex:text-caption-md aivex:text-text-tertiary aivex:select-none`,children:e.title}),e.options.map(e=>(0,f.jsxs)(`button`,{type:`button`,role:`option`,"aria-selected":e.value===t,onClick:()=>{a?.(e.value),p(!1)},className:v(`aivex:relative aivex:overflow-hidden aivex:group`,`aivex:flex aivex:h-8 aivex:w-full aivex:items-center`,`aivex:px-lg aivex:rounded-sm aivex:transition-colors`,`aivex:cursor-pointer aivex:select-none`,i===`sm`?`aivex:text-body-md-regular`:`aivex:text-body-lg-regular`,e.danger?`aivex:text-text-danger`:`aivex:text-text-primary`),children:[(0,f.jsx)(b,{variant:e.danger?`danger`:`default`}),(0,f.jsx)(`span`,{className:`aivex:truncate`,children:e.label})]},e.key??e.value))]},e.title??`group-${n}`))})})]}),l&&(0,f.jsx)(`p`,{className:v(`aivex:text-caption-md aivex:text-text-secondary aivex:line-clamp-2`,!r&&u&&`aivex:text-text-danger`),children:l})]})}function id({onClick:e,disabled:t,"aria-label":n,children:r}){return(0,f.jsxs)(`button`,{type:`button`,"aria-label":n,disabled:t,onClick:e,className:`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:h-8 aivex:w-8 aivex:items-center aivex:justify-center aivex:rounded-sm aivex:text-text-secondary aivex:disabled:opacity-disable aivex:disabled:pointer-events-none aivex:transition-colors`,children:[(0,f.jsx)(b,{variant:`default`}),r]})}function ad({page:e,isActive:t,disabled:n,onClick:r}){return(0,f.jsxs)(`button`,{type:`button`,"aria-label":`Page ${e}`,"aria-current":t?`page`:void 0,disabled:n,onClick:r,className:v(`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:h-8 aivex:px-xs aivex:items-center aivex:justify-center aivex:rounded-full aivex:transition-colors aivex:disabled:opacity-disable aivex:disabled:pointer-events-none`,t?`aivex:bg-bg-brand-subtle aivex:text-text-brand`:`aivex:text-text-secondary`),children:[(0,f.jsx)(b,{variant:t?`strong`:`default`}),(0,f.jsx)(`span`,{className:`aivex:relative aivex:min-w-6 aivex:text-center aivex:text-label-lg`,children:e})]})}function od({className:e,totalPages:t,page:n,pageSize:r,disabled:i,pageSizeOptions:a,onChange:o,onPageSizeChange:s,ref:c,...l}){let u=(0,m.useRef)(void 0);t!=null&&(u.current=t);let d=t??u.current;if(d==null)return null;let p=Math.max(1,d),h=Math.min(Math.max(1,n),p),g=Math.floor((h-1)/10),_=g*10+1,y=Math.min(_+9,p),b=Array.from({length:y-_+1},(e,t)=>_+t),x=g===0,S=y===p,C=e=>{s?.(Number(e))};return(0,f.jsxs)(`nav`,{ref:c,"aria-label":`Pagination`,className:v(`aivex:flex aivex:items-center`,e),...l,children:[(0,f.jsx)(`div`,{className:`aivex:flex-1`}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:items-center aivex:gap-6 aivex:shrink-0`,children:[(0,f.jsxs)(`div`,{className:`aivex:flex aivex:gap-2`,children:[(0,f.jsx)(id,{"aria-label":`First page`,disabled:i||x,onClick:()=>o(1),children:(0,f.jsx)(Qe,{size:16})}),(0,f.jsx)(id,{"aria-label":`Previous page group`,disabled:i||x,onClick:()=>o(_-10),children:(0,f.jsx)(nt,{size:16})})]}),(0,f.jsx)(`div`,{className:`aivex:flex aivex:gap-2`,children:b.map(e=>(0,f.jsx)(ad,{page:e,isActive:e===h,disabled:i,onClick:()=>o(e)},e))}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:gap-2`,children:[(0,f.jsx)(id,{"aria-label":`Next page group`,disabled:i||S,onClick:()=>o(y+1),children:(0,f.jsx)(rt,{size:16})}),(0,f.jsx)(id,{"aria-label":`Last page`,disabled:i||S,onClick:()=>o(p),children:(0,f.jsx)($e,{size:16})})]})]}),(0,f.jsx)(`div`,{className:`aivex:flex-1 aivex:flex aivex:items-center aivex:justify-end`,children:a&&(0,f.jsx)(rd,{size:`sm`,className:`aivex:w-[116px] aivex:shrink-0`,value:String(r),disabled:i,groups:[{options:a.map(({value:e,label:t})=>({value:String(e),label:t}))}],onChange:C})})]})}var sd=(0,l.cva)(`aivex:peer aivex:relative aivex:m-0 aivex:shrink-0 aivex:rounded-full aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:appearance-none aivex:cursor-pointer aivex:transition-colors aivex:checked:border-transparent aivex:checked:bg-bg-brand`,{variants:{size:{sm:`aivex:w-4 aivex:h-4`,md:`aivex:w-[18px] aivex:h-[18px]`}},defaultVariants:{size:`md`}}),cd={sm:`aivex:w-5 aivex:h-5`,md:`aivex:w-6 aivex:h-6`},ld={sm:`aivex:h-5`,md:`aivex:h-6`};function ud({className:e,label:t,size:n=`md`,disabled:r,checked:i,id:a,ref:o,...s}){let c=n??`md`,l={sm:`aivex:w-2 aivex:h-2`,md:`aivex:w-2.5 aivex:h-2.5`}[c];return(0,f.jsxs)(`label`,{className:v(`aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none`,r&&`aivex:opacity-disable aivex:pointer-events-none`),children:[(0,f.jsxs)(`span`,{className:v(`aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group`,cd[c]),children:[(0,f.jsx)(`span`,{className:`aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity`}),(0,f.jsx)(`input`,{ref:o,id:a,type:`radio`,disabled:r,checked:i,className:v(sd({size:c}),e),...s}),(0,f.jsx)(`span`,{className:v(`aivex:pointer-events-none aivex:absolute aivex:rounded-full aivex:bg-white aivex:opacity-0 aivex:transition-opacity aivex:peer-checked:opacity-100`,l)})]}),t&&(0,f.jsx)(`span`,{className:v(`aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary`,ld[c]),children:t})]})}function dd(e){let t=e+`CollectionProvider`,[n,r]=ra(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=e=>{let{scope:t,children:n}=e,r=m.default.useRef(null),a=m.default.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};o.displayName=t;let s=e+`CollectionSlot`,l=(0,c.createSlot)(s),u=m.default.forwardRef((e,t)=>{let{scope:n,children:r}=e;return(0,f.jsx)(l,{ref:R(t,a(s,n).collectionRef),children:r})});u.displayName=s;let d=e+`CollectionItemSlot`,p=`data-radix-collection-item`,h=(0,c.createSlot)(d),g=m.default.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=m.default.useRef(null),s=R(t,o),c=a(d,n);return m.default.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,f.jsx)(h,{[p]:``,ref:s,children:r})});g.displayName=d;function _(t){let n=a(e+`CollectionConsumer`,t);return m.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:o,Slot:u,ItemSlot:g},_,r]}var fd=m.createContext(void 0);function pd(e){let t=m.useContext(fd);return e||t||`ltr`}var md=`rovingFocusGroup.onEntryFocus`,hd={bubbles:!1,cancelable:!0},gd=`RovingFocusGroup`,[_d,vd,yd]=dd(gd),[bd,xd]=ra(gd,[yd]),[Sd,Cd]=bd(gd),wd=m.forwardRef((e,t)=>(0,f.jsx)(_d.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(_d.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(Td,{...e,ref:t})})}));wd.displayName=gd;var Td=m.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,preventScrollOnEntryFocus:u=!1,...d}=e,p=m.useRef(null),h=R(t,p),g=pd(a),[_,v]=wc({prop:o,defaultProp:s??null,onChange:c,caller:gd}),[y,b]=m.useState(!1),x=oa(l),S=vd(n),C=m.useRef(!1),[w,T]=m.useState(0);return m.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(md,x),()=>e.removeEventListener(md,x)},[x]),(0,f.jsx)(Sd,{scope:n,orientation:r,dir:g,loop:i,currentTabStopId:_,onItemFocus:m.useCallback(e=>v(e),[v]),onItemShiftTab:m.useCallback(()=>b(!0),[]),onFocusableItemAdd:m.useCallback(()=>T(e=>e+1),[]),onFocusableItemRemove:m.useCallback(()=>T(e=>e-1),[]),children:(0,f.jsx)(z.div,{tabIndex:y||w===0?-1:0,"data-orientation":r,...d,ref:h,style:{outline:`none`,...e.style},onMouseDown:L(e.onMouseDown,()=>{C.current=!0}),onFocus:L(e.onFocus,e=>{let t=!C.current;if(e.target===e.currentTarget&&t&&!y){let t=new CustomEvent(md,hd);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=S().filter(e=>e.focusable);jd([e.find(e=>e.active),e.find(e=>e.id===_),...e].filter(Boolean).map(e=>e.ref.current),u)}}C.current=!1}),onBlur:L(e.onBlur,()=>b(!1))})})}),Ed=`RovingFocusGroupItem`,Dd=m.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=Va(),l=a||c,u=Cd(Ed,n),d=u.currentTabStopId===l,p=vd(n),{onFocusableItemAdd:h,onFocusableItemRemove:g,currentTabStopId:_}=u;return m.useEffect(()=>{if(r)return h(),()=>g()},[r,h,g]),(0,f.jsx)(_d.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,f.jsx)(z.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:L(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:L(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:L(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=Ad(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=p().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?Md(n,r+1):n.slice(r+1)}setTimeout(()=>jd(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:_!=null}):o})})});Dd.displayName=Ed;var Od={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function kd(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function Ad(e,t,n){let r=kd(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return Od[r]}function jd(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function Md(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Nd=wd,Pd=Dd,Fd=`Toggle`,Id=m.forwardRef((e,t)=>{let{pressed:n,defaultPressed:r,onPressedChange:i,...a}=e,[o,s]=wc({prop:n,onChange:i,defaultProp:r??!1,caller:Fd});return(0,f.jsx)(z.button,{type:`button`,"aria-pressed":o,"data-state":o?`on`:`off`,"data-disabled":e.disabled?``:void 0,...a,ref:t,onClick:L(e.onClick,()=>{e.disabled||s(!o)})})});Id.displayName=Fd;var Ld=`ToggleGroup`,[Rd,zd]=ra(Ld,[xd]),Bd=xd(),Vd=m.default.forwardRef((e,t)=>{let{type:n,...r}=e;if(n===`single`)return(0,f.jsx)(Wd,{...r,ref:t});if(n===`multiple`)return(0,f.jsx)(Gd,{...r,ref:t});throw Error(`Missing prop \`type\` expected on \`${Ld}\``)});Vd.displayName=Ld;var[Hd,Ud]=Rd(Ld),Wd=m.default.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[o,s]=wc({prop:n,defaultProp:r??``,onChange:i,caller:Ld});return(0,f.jsx)(Hd,{scope:e.__scopeToggleGroup,type:`single`,value:m.default.useMemo(()=>o?[o]:[],[o]),onItemActivate:s,onItemDeactivate:m.default.useCallback(()=>s(``),[s]),children:(0,f.jsx)(Jd,{...a,ref:t})})}),Gd=m.default.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[o,s]=wc({prop:n,defaultProp:r??[],onChange:i,caller:Ld}),c=m.default.useCallback(e=>s((t=[])=>[...t,e]),[s]),l=m.default.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,f.jsx)(Hd,{scope:e.__scopeToggleGroup,type:`multiple`,value:o,onItemActivate:c,onItemDeactivate:l,children:(0,f.jsx)(Jd,{...a,ref:t})})});Vd.displayName=Ld;var[Kd,qd]=Rd(Ld),Jd=m.default.forwardRef((e,t)=>{let{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:i=!0,orientation:a,dir:o,loop:s=!0,...c}=e,l=Bd(n),u=pd(o),d={role:`group`,dir:u,...c};return(0,f.jsx)(Kd,{scope:n,rovingFocus:i,disabled:r,children:i?(0,f.jsx)(Nd,{asChild:!0,...l,orientation:a,dir:u,loop:s,children:(0,f.jsx)(z.div,{...d,ref:t})}):(0,f.jsx)(z.div,{...d,ref:t})})}),Yd=`ToggleGroupItem`,Xd=m.default.forwardRef((e,t)=>{let n=Ud(Yd,e.__scopeToggleGroup),r=qd(Yd,e.__scopeToggleGroup),i=Bd(e.__scopeToggleGroup),a=n.value.includes(e.value),o=r.disabled||e.disabled,s={...e,pressed:a,disabled:o},c=m.default.useRef(null);return r.rovingFocus?(0,f.jsx)(Pd,{asChild:!0,...i,focusable:!o,active:a,ref:c,children:(0,f.jsx)(Zd,{...s,ref:t})}):(0,f.jsx)(Zd,{...s,ref:t})});Xd.displayName=Yd;var Zd=m.default.forwardRef((e,t)=>{let{__scopeToggleGroup:n,value:r,...i}=e,a=Ud(Yd,n),o={role:`radio`,"aria-checked":e.pressed,"aria-pressed":void 0};return(0,f.jsx)(Id,{...a.type===`single`?o:void 0,...i,ref:t,onPressedChange:e=>{e?a.onItemActivate(r):a.onItemDeactivate(r)}})}),Qd=Vd,$d=Xd,ef=(0,m.createContext)({size:`md`}),tf={sm:`aivex:h-7`,md:`aivex:h-8`,lg:`aivex:h-10`,"icon-sm":`aivex:h-7`,"icon-md":`aivex:h-8`,"icon-lg":`aivex:h-10`};function nf({className:e,size:t=`md`,value:n,defaultValue:r,onValueChange:i,fullWidth:a,children:o,ref:s,...c}){let l=n!==void 0,[u,d]=(0,m.useState)(r??n??``),p=l?n:u;return(0,f.jsx)(ef.Provider,{value:{size:t,fullWidth:a},children:(0,f.jsx)(Qd,{ref:s,type:`single`,value:p,onValueChange:e=>{e&&(l||d(e),i?.(e))},className:v(`aivex:inline-flex aivex:items-center aivex:justify-center aivex:rounded-sm aivex:bg-bg-tertiary aivex:p-2xs`,a?`aivex:w-full`:`aivex:w-fit`,tf[t],e),...c,children:o})})}var rf={sm:`aivex:h-6 aivex:px-md aivex:text-label-sm aivex:[&>svg]:size-4`,md:`aivex:h-7 aivex:px-md aivex:text-label-lg aivex:[&>svg]:size-4`,lg:`aivex:h-9 aivex:px-lg aivex:text-label-xl aivex:[&>svg]:size-5`,"icon-sm":`aivex:h-6 aivex:w-6 aivex:px-xs`,"icon-md":`aivex:h-7 aivex:w-7 aivex:px-xs aivex:[&>svg]:size-5`,"icon-lg":`aivex:h-9 aivex:w-9 aivex:px-sm aivex:[&>svg]:size-6`};function af({className:e,children:t,ref:n,...r}){let{size:i,fullWidth:a}=(0,m.useContext)(ef);return(0,f.jsx)($d,{ref:n,className:v(`aivex:inline-flex aivex:min-w-px aivex:shrink-0 aivex:items-center aivex:justify-center aivex:gap-xs aivex:rounded-xs aivex:text-text-secondary aivex:transition-colors aivex:duration-150 aivex:cursor-pointer aivex:select-none aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand aivex:data-[state=on]:bg-bg-float aivex:data-[state=on]:text-text-primary aivex:data-[state=on]:shadow-sm aivex:hover:text-text-primary aivex:data-[disabled]:pointer-events-none aivex:data-[disabled]:cursor-not-allowed aivex:data-[disabled]:!text-text-disabled`,rf[i],a&&`aivex:flex-1`,e),...r,children:t})}function of({className:e,keys:t,ref:n,...r}){return(0,f.jsx)(`span`,{ref:n,className:v(`aivex:inline-flex aivex:items-center aivex:gap-1`,e),...r,children:t.map((e,t)=>(0,f.jsxs)(m.Fragment,{children:[t>0&&(0,f.jsx)(`span`,{className:`aivex:text-text-secondary aivex:text-xs aivex:select-none`,children:`+`}),(0,f.jsx)(`kbd`,{className:`aivex:inline-flex aivex:items-center aivex:justify-center aivex:min-w-[1.25rem] aivex:h-5 aivex:px-1 aivex:rounded-xs aivex:border aivex:border-border-default aivex:text-text-secondary aivex:text-xs aivex:font-sans aivex:leading-none aivex:select-none`,children:e})]},`${e}-${t}`))})}var sf=(0,l.cva)(`aivex:block aivex:rounded-full aivex:transition-colors aivex:duration-200`,{variants:{size:{sm:`aivex:w-6 aivex:h-4`,md:`aivex:w-8 aivex:h-5`,lg:`aivex:w-10 aivex:h-6`}},defaultVariants:{size:`md`}}),cf={sm:`aivex:w-3 aivex:h-3`,md:`aivex:w-4 aivex:h-4`,lg:`aivex:w-5 aivex:h-5`},lf={sm:`aivex:translate-x-2`,md:`aivex:translate-x-3`,lg:`aivex:translate-x-4`},uf={sm:`aivex:h-4`,md:`aivex:h-5`,lg:`aivex:h-6`};function df({className:e,label:t,size:n=`md`,checked:r,defaultChecked:i,disabled:a,id:o,onChange:s,ref:c,...l}){let u=r!==void 0,[d,p]=(0,m.useState)(!!i),h=u?!!r:d,g=n??`md`;return(0,f.jsxs)(`label`,{className:v(`aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none`,a&&`aivex:opacity-disable aivex:pointer-events-none`),children:[(0,f.jsxs)(`span`,{className:`aivex:relative aivex:inline-flex aivex:items-center`,children:[(0,f.jsx)(`input`,{ref:c,id:o,type:`checkbox`,role:`switch`,"aria-checked":h,disabled:a,checked:h,onChange:e=>{u||p(e.target.checked),s?.(e)},className:`aivex:sr-only aivex:peer`,...l}),(0,f.jsx)(`span`,{className:v(sf({size:g}),h?`aivex:bg-bg-brand`:`aivex:bg-border-default`,e)}),(0,f.jsx)(`span`,{className:v(`aivex:absolute aivex:top-0.5 aivex:left-0.5 aivex:rounded-full aivex:bg-white aivex:shadow aivex:transition-transform aivex:duration-200`,cf[g],h&&lf[g])})]}),t&&(0,f.jsx)(`span`,{className:v(`aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary`,uf[g]),children:t})]})}var ff=`Tabs`,[pf,mf]=ra(ff,[xd]),hf=xd(),[gf,_f]=pf(ff),vf=m.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o=`horizontal`,dir:s,activationMode:c=`automatic`,...l}=e,u=pd(s),[d,p]=wc({prop:r,onChange:i,defaultProp:a??``,caller:ff});return(0,f.jsx)(gf,{scope:n,baseId:Va(),value:d,onValueChange:p,orientation:o,dir:u,activationMode:c,children:(0,f.jsx)(z.div,{dir:u,"data-orientation":o,...l,ref:t})})});vf.displayName=ff;var yf=`TabsList`,bf=m.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=_f(yf,n),o=hf(n);return(0,f.jsx)(Nd,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:(0,f.jsx)(z.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})});bf.displayName=yf;var xf=`TabsTrigger`,Sf=m.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=_f(xf,n),s=hf(n),c=Tf(o.baseId,r),l=Ef(o.baseId,r),u=r===o.value;return(0,f.jsx)(Pd,{asChild:!0,...s,focusable:!i,active:u,children:(0,f.jsx)(z.button,{type:`button`,role:`tab`,"aria-selected":u,"aria-controls":l,"data-state":u?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:c,...a,ref:t,onMouseDown:L(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?o.onValueChange(r):e.preventDefault()}),onKeyDown:L(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:L(e.onFocus,()=>{let e=o.activationMode!==`manual`;!u&&!i&&e&&o.onValueChange(r)})})})});Sf.displayName=xf;var Cf=`TabsContent`,wf=m.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,forceMount:i,children:a,...o}=e,s=_f(Cf,n),c=Tf(s.baseId,r),l=Ef(s.baseId,r),u=r===s.value,d=m.useRef(u);return m.useEffect(()=>{let e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(yc,{present:i||u,children:({present:n})=>(0,f.jsx)(z.div,{"data-state":u?`active`:`inactive`,"data-orientation":s.orientation,role:`tabpanel`,"aria-labelledby":c,hidden:!n,id:l,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:d.current?`0s`:void 0},children:n&&a})})});wf.displayName=Cf;function Tf(e,t){return`${e}-trigger-${t}`}function Ef(e,t){return`${e}-content-${t}`}var Df=vf,Of=bf,kf=Sf,Af=wf;function jf({className:e,ref:t,...n}){return(0,f.jsx)(Df,{ref:t,className:v(`aivex:flex aivex:flex-col`,e),...n})}var Mf=`aivex:flex aivex:items-center aivex:gap-3 aivex:border-b aivex:border-border-default`;function Nf({className:e,ref:t,...n}){return(0,f.jsx)(Of,{ref:t,className:v(Mf,e),...n})}var Pf=`aivex:relative aivex:inline-flex aivex:h-12 aivex:items-center aivex:justify-center aivex:gap-sm aivex:overflow-hidden aivex:px-md aivex:text-body-lg-medium aivex:text-text-primary aivex:transition-colors aivex:before:absolute aivex:before:inset-x-0 aivex:before:top-md aivex:before:bottom-md aivex:before:rounded-md aivex:before:bg-bg-inverse-strong aivex:before:opacity-0 aivex:before:pointer-events-none aivex:before:transition-opacity aivex:before:content-[''] aivex:hover:before:opacity-4 aivex:active:before:opacity-8 aivex:focus-visible:outline-none aivex:disabled:cursor-not-allowed aivex:disabled:opacity-40 aivex:data-[state=active]:after:absolute aivex:data-[state=active]:after:bottom-0 aivex:data-[state=active]:after:left-0 aivex:data-[state=active]:after:right-0 aivex:data-[state=active]:after:h-0.5 aivex:data-[state=active]:after:bg-bg-inverse aivex:data-[state=active]:after:content-['']`;function Ff({className:e,ref:t,...n}){return(0,f.jsx)(kf,{ref:t,className:v(Pf,e),...n})}function If({className:e,ref:t,...n}){return(0,f.jsx)(Af,{ref:t,className:v(`aivex:flex-1 aivex:outline-none`,e),...n})}var Lf=({direction:e})=>e===`asc`?(0,f.jsx)(Xn,{size:16}):e===`desc`?(0,f.jsx)(Zn,{size:16}):(0,f.jsx)(Ee,{size:16});function Rf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`div`,{ref:n,className:v(`aivex:w-full aivex:overflow-auto aivex:rounded-md aivex:border aivex:border-border-default`,e),...r,children:(0,f.jsx)(`table`,{className:`aivex:w-full aivex:border-collapse aivex:text-body-md-regular`,children:t})})}function zf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`thead`,{ref:n,className:v(`aivex:bg-bg-secondary`,e),...r,children:t})}function Bf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`tbody`,{ref:n,className:v(`aivex:bg-bg-primary`,e),...r,children:t})}function Vf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`tr`,{ref:n,className:v(`aivex:h-12 aivex:border-b aivex:border-border-default aivex:last:border-b-0 aivex:transition-colors aivex:hover:bg-bg-secondary`,e),...r,children:t})}function Hf({className:e,children:t,sortable:n,sortDirection:r,onSort:i,ref:a,...o}){return(0,f.jsx)(`th`,{ref:a,className:v(`aivex:h-12 aivex:px-md aivex:text-left aivex:align-middle aivex:text-xs aivex:font-medium aivex:text-text-secondary aivex:whitespace-nowrap`,e),...o,children:n?(0,f.jsxs)(`button`,{type:`button`,onClick:i,className:`aivex:inline-flex aivex:items-center aivex:gap-[2px] aivex:group aivex:text-text-secondary aivex:hover:text-text-primary aivex:transition-colors`,children:[t,(0,f.jsx)(`span`,{className:`aivex:text-text-tertiary aivex:group-hover:text-text-secondary aivex:transition-colors`,children:(0,f.jsx)(Lf,{direction:r})})]}):t})}function Uf({className:e,children:t,ref:n,...r}){return(0,f.jsx)(`td`,{ref:n,className:v(`aivex:h-12 aivex:px-md aivex:align-middle aivex:text-sm aivex:text-text-primary`,e),...r,children:t})}var Wf=(0,l.cva)(`aivex:inline-flex aivex:items-center aivex:gap-[2px] aivex:rounded-full aivex:overflow-hidden`,{variants:{size:{sm:`aivex:min-h-6 aivex:px-[6px] aivex:py-[2px]`,md:`aivex:min-h-8 aivex:px-[10px] aivex:py-[6px]`},type:{default:`aivex:bg-bg-tertiary aivex:text-text-primary`,error:`aivex:bg-bg-danger-subtle aivex:text-text-danger`}},defaultVariants:{size:`sm`,type:`default`}});function Gf({className:e,size:t=`sm`,type:n=`default`,showIcon:r=!1,disabled:i=!1,onRemove:a,children:o,ref:s,...c}){return(0,f.jsxs)(`div`,{ref:s,className:v(Wf({size:t,type:n}),i&&`aivex:opacity-disable`,e),...c,children:[r&&(0,f.jsx)(`span`,{className:`aivex:shrink-0 aivex:flex aivex:items-center aivex:justify-center aivex:opacity-40`,children:(0,f.jsx)(ut,{size:16})}),(0,f.jsx)(`span`,{className:v(`aivex:px-[2px] aivex:truncate`,t===`sm`?`aivex:text-label-md aivex:max-w-[160px]`:`aivex:text-label-lg aivex:max-w-[180px]`),children:o}),!i&&a&&(0,f.jsx)(zu,{size:`xs`,shape:`rectangle`,onClick:e=>{e.stopPropagation(),a()},className:`aivex:shrink-0`,"aria-label":`태그 삭제`,children:(0,f.jsx)(Ie,{size:12})})]})}function Kf({className:e,size:t=`sm`,label:n,helperText:r,error:i,disabled:a,value:o,defaultValue:s=[],onChange:c,parsePaste:l,validate:u,placeholder:d,id:p,ref:h,onBlur:g,onCompositionEnd:_,onCompositionStart:y,onFocus:b,onKeyDown:x,onPaste:S,...C}){let w=o!==void 0,[T,E]=(0,m.useState)(s),D=w?o:T,[O,k]=(0,m.useState)(``),A=(0,m.useRef)(!1),[j,M]=(0,m.useState)(!1),N=u?D.some(e=>!u(e)):!1,P=i||N,F=e=>{let t=e.trim();if(!t)return;let n=[...D,t];w||E(n),c?.(n),k(``)},I=e=>{let t=D.filter((t,n)=>n!==e);w||E(t),c?.(t)};return(0,f.jsxs)(Vu,{id:p,label:n,helperText:r,error:P,disabled:a,focused:j,size:t,layout:`wrap`,containerClassName:e,children:[D.map((e,n)=>(0,f.jsx)(Gf,{size:t===`md`?`md`:`sm`,type:u?u(e)?`default`:`error`:P?`error`:`default`,disabled:a,onRemove:()=>I(n),children:e},`${e}-${n}`)),(0,f.jsx)(`input`,{ref:h,id:p,value:O,disabled:a,placeholder:D.length===0?d:void 0,onChange:e=>k(e.target.value),onKeyDown:e=>{if(x?.(e),!e.defaultPrevented)if(e.key===`Enter`){if(A.current||e.nativeEvent.isComposing||e.nativeEvent.keyCode===229)return;e.preventDefault(),O&&F(O)}else e.key===`Backspace`&&!O&&D.length>0&&I(D.length-1)},onPaste:e=>{if(S?.(e),e.defaultPrevented||!l)return;e.preventDefault();let t=l(e.clipboardData.getData(`text`)),n=[...new Set(t)].map(e=>e.trim()).filter(e=>e&&!D.includes(e));if(n.length>0){let e=[...D,...n];w||E(e),c?.(e)}k(``)},onCompositionStart:e=>{A.current=!0,y?.(e)},onCompositionEnd:e=>{A.current=!1,k(e.currentTarget.value),_?.(e)},onFocus:e=>{M(!0),b?.(e)},onBlur:e=>{M(!1),g?.(e),!A.current&&O&&F(O)},className:v(`aivex:bg-transparent aivex:outline-none aivex:text-text-primary aivex:placeholder:text-text-tertiary aivex:min-w-[80px] aivex:flex-1`,t===`sm`?`aivex:text-body-md-regular aivex:h-6`:`aivex:text-body-lg-regular aivex:h-8`),...C})]})}function qf({className:e,label:t,helperText:n,error:r,disabled:i,size:a=`md`,minHeight:o,fixedHeight:s,leadingElement:c,trailingElement:l,id:u,ref:d,onFocus:p,onBlur:h,...g}){let[_,y]=(0,m.useState)(!1),b={};return o!==void 0&&(b.minHeight=typeof o==`number`?`${o}px`:o),s&&o!==void 0&&(b.height=b.minHeight,b.maxHeight=b.minHeight),(0,f.jsx)(Vu,{id:u,label:t,helperText:n,error:r,disabled:i,focused:_,size:a,layout:`block`,leadingElement:c,trailingElement:l,children:(0,f.jsx)(`textarea`,{ref:d,id:u,disabled:i,style:b,className:v(`aivex:w-full aivex:min-w-0 aivex:bg-transparent aivex:text-text-primary aivex:placeholder:text-text-tertiary aivex:outline-none`,a===`sm`?`aivex:text-body-md-regular`:`aivex:text-body-lg-regular`,s?`aivex:resize-none aivex:overflow-auto`:`aivex:resize-vertical`,e),onFocus:e=>{y(!0),p?.(e)},onBlur:e=>{y(!1),h?.(e)},...g})})}function Jf({className:e,label:t,helperText:n,error:r,disabled:i,clearable:a,leadingElement:o,trailingElement:s,size:c=`md`,id:l,ref:u,value:d,defaultValue:p,onChange:h,onFocus:g,onBlur:_,...y}){let[b,x]=(0,m.useState)(!1),[S,C]=(0,m.useState)(typeof p==`string`?p:p?.toString()??``),w=d!==void 0,T=w?String(d??``):S,E=a&&T.length>0;return(0,f.jsx)(Vu,{id:l,label:t,helperText:n,error:r,disabled:i,focused:b,size:c,layout:`inline`,leadingElement:o,trailingElement:s||E?(0,f.jsxs)(f.Fragment,{children:[s,E&&(0,f.jsx)(`button`,{type:`button`,onClick:()=>{w||C(``),h?.({target:{value:``}})},tabIndex:-1,className:`aivex:flex aivex:items-center aivex:justify-center aivex:text-text-tertiary aivex:hover:text-text-secondary aivex:transition-colors aivex:cursor-pointer`,"aria-label":`입력값 삭제`,children:(0,f.jsx)(Ie,{size:c===`sm`?14:16})})]}):void 0,children:(0,f.jsx)(`input`,{ref:u,id:l,disabled:i,value:a?T:d,defaultValue:a?void 0:p,onChange:a||w?e=>{w||C(e.target.value),h?.(e)}:h,className:v(`aivex:m-0 aivex:w-full aivex:min-w-0 aivex:appearance-none aivex:border-0 aivex:bg-transparent aivex:p-0 aivex:text-text-primary aivex:placeholder:text-text-tertiary aivex:outline-none`,c===`sm`?`aivex:text-body-md-regular`:`aivex:text-body-lg-regular`,e),onFocus:e=>{x(!0),g?.(e)},onBlur:e=>{x(!1),_?.(e)},...y})})}var Yf=(0,l.cva)(`aivex:inline-flex aivex:min-h-10 aivex:w-fit aivex:items-center aivex:justify-center aivex:rounded-xs aivex:bg-static-gray aivex:px-xl aivex:py-md`,{variants:{type:{default:``,success:``,danger:``}},defaultVariants:{type:`default`}});function Xf({className:e,type:t=`default`,open:n=!0,message:r,onClose:i,ref:a,...o}){return n?(0,f.jsxs)(`div`,{ref:a,role:`status`,"aria-live":`polite`,className:v(Yf({type:t}),e),...o,children:[(0,f.jsx)(`p`,{className:`aivex:max-w-[720px] aivex:text-center aivex:text-body-lg-regular aivex:text-static-white`,children:r}),i&&(0,f.jsx)(`button`,{type:`button`,onClick:i,className:`aivex:ml-lg aivex:shrink-0 aivex:text-static-white aivex:opacity-70 aivex:transition-opacity aivex:hover:opacity-100`,"aria-label":`Close toast`,children:(0,f.jsx)(Ie,{size:16})})]}):null}function Zf({position:e=`bottom-center`,duration:t=4e3,visibleToasts:n=3,gap:r=8,toastOptions:i,...a}){return(0,f.jsx)(g.Toaster,{position:e,duration:t,visibleToasts:n,gap:r,toastOptions:{...i,unstyled:!0,className:v(Yf({type:`default`}),i?.className),classNames:{title:`aivex:max-w-[720px] aivex:text-center aivex:text-body-lg-regular aivex:text-static-white`,description:`aivex:mt-xs aivex:max-w-[720px] aivex:text-center aivex:text-body-md-regular aivex:text-static-white aivex:opacity-80`,closeButton:`aivex:text-static-white aivex:opacity-70 aivex:transition-opacity aivex:hover:opacity-100`,...i?.classNames}},...a})}var Qf=(0,l.cva)(`aivex:absolute aivex:z-50 aivex:rounded-sm aivex:bg-static-gray aivex:px-md aivex:py-xs aivex:text-body-md-regular aivex:text-text-on-color aivex:whitespace-nowrap aivex:pointer-events-none`,{variants:{placement:{top:`aivex:bottom-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:mb-2`,bottom:`aivex:top-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:mt-2`,left:`aivex:right-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:mr-2`,right:`aivex:left-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:ml-2`}},defaultVariants:{placement:`top`}}),$f=(0,l.cva)(`aivex:absolute aivex:w-2 aivex:h-2 aivex:bg-static-gray aivex:rotate-45`,{variants:{placement:{top:`aivex:top-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:-translate-y-1/2`,bottom:`aivex:bottom-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:translate-y-1/2`,left:`aivex:left-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:-translate-x-1/2`,right:`aivex:right-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:translate-x-1/2`}},defaultVariants:{placement:`top`}});function ep({className:e,content:t,children:n,placement:r=`top`,showArrow:i=!0,ref:a,...o}){let[s,c]=(0,m.useState)(!1),l=(0,m.useRef)(null);return(0,f.jsxs)(`div`,{ref:a,className:v(`aivex:relative aivex:inline-flex`,e),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onFocus:()=>c(!0),onBlur:()=>c(!1),...o,children:[n,s&&(0,f.jsxs)(`div`,{ref:l,role:`tooltip`,className:v(Qf({placement:r})),children:[i&&(0,f.jsx)(`span`,{className:v($f({placement:r}))}),t]})]})}var tp=(0,l.cva)(``,{variants:{variant:{"display-lg":`aivex:text-display-lg`,"display-md":`aivex:text-display-md`,"heading-xl":`aivex:text-heading-xl`,"heading-lg":`aivex:text-heading-lg`,"heading-md":`aivex:text-heading-md`,"heading-sm":`aivex:text-heading-sm`,"heading-xs":`aivex:text-heading-xs`,"body-lg-regular":`aivex:text-body-lg-regular`,"body-lg-medium":`aivex:text-body-lg-medium`,"body-md-regular":`aivex:text-body-md-regular`,"body-md-medium":`aivex:text-body-md-medium`,"body-sm-regular":`aivex:text-body-sm-regular`,"body-sm-medium":`aivex:text-body-sm-medium`,"label-xl":`aivex:text-label-xl`,"label-lg":`aivex:text-label-lg`,"label-md":`aivex:text-label-md`,"label-sm":`aivex:text-label-sm`,"caption-md":`aivex:text-caption-md`}},defaultVariants:{variant:`body-md-regular`}}),np={"display-lg":`h1`,"display-md":`h1`,"heading-xl":`h1`,"heading-lg":`h2`,"heading-md":`h2`,"heading-sm":`h3`,"heading-xs":`h4`,"body-lg-regular":`p`,"body-lg-medium":`p`,"body-md-regular":`p`,"body-md-medium":`p`,"body-sm-regular":`p`,"body-sm-medium":`p`,"label-xl":`span`,"label-lg":`span`,"label-md":`span`,"label-sm":`span`,"caption-md":`span`};function rp({as:e,variant:t=`body-md-regular`,className:n,children:r,ref:i,...a}){return(0,f.jsx)(e??np[t],{ref:i,className:v(tp({variant:t}),n),...a,children:r})}function ip({className:e,formats:t=[`jpg`,`bmp`,`png`,`json`],maxSize:n=`800MB`,accept:r,onFileSelect:i,onFolderSelect:a,ref:o,...s}){let[c,l]=(0,m.useState)(!1),u=(0,m.useRef)(null),d=(0,m.useRef)(null),p=(0,m.useRef)(0);return(0,f.jsxs)(`div`,{ref:o,className:v(`aivex:flex aivex:flex-col aivex:items-center aivex:justify-center aivex:p-[48px] aivex:rounded-[8px] aivex:border-2 aivex:border-dashed aivex:transition-colors`,c?`aivex:bg-[rgba(0,86,216,0.08)] aivex:border-[#99bef6]`:`aivex:border-[#c1c3d2]`,e),onDragEnter:e=>{e.preventDefault(),p.current++,l(!0)},onDragLeave:e=>{e.preventDefault(),p.current--,p.current===0&&l(!1)},onDragOver:e=>{e.preventDefault()},onDrop:e=>{e.preventDefault(),p.current=0,l(!1),e.dataTransfer.files.length>0&&i?.(e.dataTransfer.files)},...s,children:[(0,f.jsxs)(`div`,{className:`aivex:flex aivex:flex-col aivex:items-center aivex:gap-6`,children:[(0,f.jsxs)(`div`,{className:`aivex:flex aivex:flex-col aivex:items-center aivex:gap-3 aivex:pt-3`,children:[(0,f.jsx)(ce,{size:28,color:`var(--aivex-icon-tertiary)`}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:flex-col aivex:items-center aivex:gap-1`,children:[(0,f.jsx)(`p`,{className:`aivex:text-[18px] aivex:font-medium aivex:text-text-primary aivex:leading-[26px] aivex:tracking-[-0.1px]`,children:`Drag and drop here`}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:items-center aivex:gap-3 aivex:px-4 aivex:text-sm aivex:font-normal aivex:text-text-brand`,children:[(0,f.jsxs)(`span`,{children:[`Formats : `,t.join(`, `)]}),(0,f.jsxs)(`span`,{children:[`Max size : `,n]})]})]})]}),(0,f.jsxs)(`div`,{className:`aivex:flex aivex:gap-2`,children:[(0,f.jsxs)(`button`,{type:`button`,onClick:()=>u.current?.click(),className:`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:items-center aivex:gap-xs aivex:h-8 aivex:px-md aivex:rounded-md aivex:bg-bg-tertiary aivex:text-text-primary aivex:text-sm aivex:font-medium aivex:tracking-[0.1px]`,children:[(0,f.jsx)(b,{}),(0,f.jsx)(_t,{size:16}),`File`]}),(0,f.jsxs)(`button`,{type:`button`,onClick:()=>d.current?.click(),className:`aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:items-center aivex:gap-xs aivex:h-8 aivex:px-md aivex:rounded-md aivex:bg-bg-tertiary aivex:text-text-primary aivex:text-sm aivex:font-medium aivex:tracking-[0.1px]`,children:[(0,f.jsx)(b,{}),(0,f.jsx)(xt,{size:16}),`Folder`]})]})]}),(0,f.jsx)(`input`,{ref:u,type:`file`,multiple:!0,accept:r,className:`aivex:hidden`,onChange:e=>e.target.files&&i?.(e.target.files)}),(0,f.jsx)(`input`,{ref:d,type:`file`,multiple:!0,webkitdirectory:``,className:`aivex:hidden`,onChange:e=>e.target.files&&a?.(e.target.files)})]})}exports.AddFolderIcon=Lr,exports.AddPointIcon=k,exports.AdjustIcon=A,exports.AiSparkleGradientIcon=Jr,exports.AiSparkleIcon=qr,exports.AiVDataIcon=E,exports.AiVOpsIcon=D,exports.AiVisionIcon=O,exports.Alert=Ji,exports.AlignCenterIcon=j,exports.AlignLeftIcon=M,exports.AlignRightIcon=N,exports.AngleIcon=P,exports.ApertureIcon=fe,exports.ArchiveIcon=F,exports.ArrowCircleDownFilledIcon=pi,exports.ArrowCircleDownIcon=ie,exports.ArrowCircleLeftFilledIcon=mi,exports.ArrowCircleLeftIcon=ae,exports.ArrowCircleRightFilledIcon=fi,exports.ArrowCircleRightIcon=oe,exports.ArrowCircleUpFilledIcon=ce,exports.ArrowCircleUpIcon=se,exports.ArrowCornerLeftTopIcon=le,exports.ArrowDownIcon=I,exports.ArrowElbowDownLeftIcon=re,exports.ArrowFlowIcon=ki,exports.ArrowGoingDownIcon=Br,exports.ArrowGoingUpIcon=zr,exports.ArrowLeftDownIcon=si,exports.ArrowLeftIcon=ee,exports.ArrowLeftRightIcon=ue,exports.ArrowLeftUpIcon=ai,exports.ArrowRightDownIcon=ii,exports.ArrowRightIcon=te,exports.ArrowRightUpIcon=oi,exports.ArrowUpDownIcon=de,exports.ArrowUpIcon=ne,exports.ArrowelbowDownRightIcon=Fi,exports.AssistantPolyIcon=Gr,exports.AssistantRectIcon=pe,exports.AtIcon=kr,exports.Avatar=Xi,exports.BadgeDot=ea,exports.BadgeLabel=Qi,exports.BarcodeIcon=me,exports.BellIcon=ge,exports.BookmarkFilledIcon=ve,exports.BookmarkIcon=_e,exports.BoundingBoxIcon=he,exports.BreadCrumb=Eu,exports.BrightIcon=ye,exports.Button=T,exports.CSVFileIcon=Ur,exports.CalendarIcon=be,exports.CameraIcon=xe,exports.Card=Du,exports.CaretLineDownIcon=Se,exports.CaretLineLeftIcon=Ce,exports.CaretLineRightIcon=we,exports.CaretLineUpIcon=Te,exports.CaretUpDownIcon=Ee,exports.ChatIcon=De,exports.CheckCircleFilledIcon=Ne,exports.CheckCircleIcon=Me,exports.CheckDoubleIcon=je,exports.CheckIcon=Oe,exports.Checkbox=ju,exports.CheckboxCheckIcon=ke,exports.CheckboxIndeterminateIcon=Ae,exports.Chips=Pu,exports.ChipsCheckbox=Mu,exports.CircleDashedIcon=ut,exports.CircleFilledIcon=Pe,exports.CircleOutlineIcon=Fe,exports.ClipIcon=ze,exports.ClipboardIcon=xi,exports.CloseCircleFilledIcon=_i,exports.CloseCircleIcon=Le,exports.CloseIcon=Ie,exports.ClosedEyesIcon=Re,exports.CodeIcon=Ai,exports.CompareIcon=Qr,exports.ConfirmIcon=Pr,exports.ConnectedIcon=Be,exports.ContrastIcon=Ve,exports.ControlIcon=Er,exports.Copy1Icon=Ue,exports.Copy2Icon=We,exports.CopyIcon=He,exports.CreditCardIcon=Ge,exports.CropIcon=Ke,exports.CuttingIcon=qe,exports.DatabaseIcon=ti,exports.DefectGeneratorIcon=Je,exports.DeleteIcon=Ye,exports.DeletePointIcon=Xe,exports.DirectionDoubleDownIcon=Ze,exports.DirectionDoubleLeftIcon=Qe,exports.DirectionDoubleRightIcon=$e,exports.DirectionDoubleUpIcon=et,exports.DirectionDownIcon=tt,exports.DirectionLeftIcon=nt,exports.DirectionRightIcon=rt,exports.DirectionUpIcon=it,exports.DisconnectedIcon=at,exports.Divider=Iu,exports.DotIcon=ot,exports.DownloadIcon=st,exports.DragHandleIcon=ct,exports.EditIcon=lt,exports.EmptyIcon=yi,exports.EnglishIcon=Mi,exports.EqualIcon=bi,exports.EraserIcon=mt,exports.ExpandIcon=Ki,exports.ExperimentIcon=Zr,exports.ExportIcon=ht,exports.FailedIcon=gt,exports.FileIcon=_t,exports.FilterFilledIcon=yt,exports.FilterIcon=vt,exports.FitIcon=bt,exports.FloppyDiskIcon=Ct,exports.FolderCloseIcon=xt,exports.FolderOpenIcon=St,exports.GalleryViewLargeIcon=wt,exports.GalleryViewMediumIcon=Tt,exports.GalleryViewSmallIcon=Et,exports.GlobalIcon=Dt,exports.GraphIcon=Ot,exports.GraphPieIcon=At,exports.GraphScatterIcon=kt,exports.GridIcon=jt,exports.GuideHandleIcon=Mt,exports.GuideLineIcon=Nt,exports.HamburgerIcon=Pt,exports.HandIcon=Ft,exports.HelpIcon=It,exports.HistoryIcon=Rt,exports.HomeIcon=Lt,exports.HourglassIcon=Ii,exports.IconButton=zu,exports.ImageBrokenIcon=Vt,exports.ImageIcon=zt,exports.ImagesIcon=Bt,exports.ImportIcon=Ht,exports.InfoFilledIcon=ci,exports.InfoIcon=Ut,exports.InputBase=Vu,exports.InteractionLayer=b,exports.KebabIcon=Wt,exports.KeyDeleteIcon=Kt,exports.KeyIcon=Rr,exports.KeyReturnIcon=qt,exports.KeyboardIcon=Gt,exports.KoreanIcon=Ni,exports.LabelPointIcon=Jt,exports.LanguageIcon=Yt,exports.LightbulbIcon=Si,exports.LightingFilledIcon=wi,exports.LightingIcon=Ci,exports.LineIcon=Xt,exports.LinkIcon=Zt,exports.ListPlayIcon=ji,exports.LockIcon=Qt,exports.LoginIcon=$t,exports.LogoutIcon=en,exports.MagicWandIcon=Kr,exports.MailIcon=tn,exports.MapIcon=nn,exports.MapPinIcon=rn,exports.MeatballIcon=an,exports.MenuItem=xu,exports.MenuRoot=Su,exports.Messagebox=Wu,exports.MicroscopeIcon=Yr,exports.MinimizeIcon=Mr,exports.MinimizeWindowIcon=Ui,exports.MinusCircleIcon=sn,exports.MinusIcon=on,exports.ModalFooter=Ju,exports.ModalHeader=Ku,exports.ModalRoot=Yu,exports.ModelIcon=cn,exports.MonitorIcon=Ti,exports.MouseClickLeftIcon=ln,exports.MouseClickRightIcon=un,exports.MoveFolderIcon=Ir,exports.MoveIcon=dn,exports.MultiSelectionIcon=fn,exports.MuteIcon=pn,exports.Nav=ed,exports.NavItem=$u,exports.NavTile=Zu,exports.NewTabIcon=mn,exports.NotEqualIcon=ei,exports.OpenEyesIcon=hn,exports.Overlay=nd,exports.PackageIcon=Tr,exports.PageIcon=Hi,exports.PageMaximizeIcon=Vi,exports.PageMinimizeIcon=Bi,exports.Pagination=od,exports.PasteIcon=gn,exports.PauseCircleFilledIcon=li,exports.PauseCircleIcon=vn,exports.PauseIcon=_n,exports.PenIcon=yn,exports.PencilIcon=bn,exports.PinIcon=xn,exports.PipelineIcon=Ei,exports.PixelIcon=Sn,exports.PlayCircleFilledIcon=di,exports.PlayCircleIcon=wn,exports.PlayIcon=Cn,exports.PlayProgressIcon=Oi,exports.PlusCircleFilledIcon=vi,exports.PlusCircleIcon=En,exports.PlusIcon=Tn,exports.PointEditIcon=On,exports.PointIcon=Dn,exports.PushPinFilledIcon=An,exports.PushPinIcon=kn,exports.QuestionIcon=Vr,exports.Radio=ud,exports.ReadedMailIcon=Ar,exports.RectDashedIcon=dt,exports.RectIcon=jn,exports.RedoIcon=Mn,exports.RefreshIcon=Nn,exports.RepeatIcon=Pn,exports.RepeatOnceIcon=Fn,exports.RequestStatusIcon=Wr,exports.RocketIcon=In,exports.RotateRectIcon=Ln,exports.RotateRectOCRIcon=Rn,exports.RulerIcon=zn,exports.ScaleLeftBottomIcon=Bn,exports.ScaleLeftTopIcon=Vn,exports.ScaleRightBottomIcon=Hn,exports.ScaleRightTopIcon=Un,exports.SearchIcon=Wn,exports.SegmentedItem=af,exports.SegmentedRoot=nf,exports.SelectBox=rd,exports.SendIcon=Hr,exports.SettingIcon=Gn,exports.ShapesIcon=Xr,exports.Shortcut=of,exports.ShrinkIcon=Gi,exports.ShuffleIcon=Kn,exports.SidebarIcon=qn,exports.SimplificationIcon=Jn,exports.SmoothIcon=Yn,exports.SortAscendingIcon=Xn,exports.SortDescendingIcon=Zn,exports.SoundIcon=Qn,exports.SpecificAreaIcon=Pi,exports.StarFilledIcon=er,exports.StarIcon=$n,exports.StopCircleFilledIcon=ui,exports.StopCircleIcon=nr,exports.StopIcon=tr,exports.StorageIcon=Nr,exports.StrokeIcon=rr,exports.Switch=df,exports.TabContent=If,exports.TabList=Nf,exports.TabRoot=jf,exports.TabTrigger=Ff,exports.Table=Rf,exports.TableBody=Bf,exports.TableCell=Uf,exports.TableHead=Hf,exports.TableHeader=zf,exports.TableRow=Vf,exports.Tag=Gf,exports.TagFilledIcon=Or,exports.TagFilledOpacityIcon=gi,exports.TagIcon=Dr,exports.Tagbox=Kf,exports.TargetIcon=$r,exports.TaskQueueIcon=Wi,exports.TeamIcon=ir,exports.TempIcon=ar,exports.TestIcon=jr,exports.TextBoldIcon=sr,exports.TextH1Icon=dr,exports.TextH2Icon=fr,exports.TextH3Icon=pr,exports.TextIcon=or,exports.TextItalicIcon=cr,exports.TextStrikethroughIcon=lr,exports.TextUnderlineIcon=ur,exports.Textarea=qf,exports.Textbox=Jf,exports.ThumbsDownFilledIcon=zi,exports.ThumbsDownIcon=Ri,exports.ThumbsUpIcon=Li,exports.TimeIcon=mr,exports.Toast=Xf,exports.ToastToaster=Zf,exports.ToolIcon=Di,exports.Tooltip=ep,exports.TriangleDashedIcon=ft,exports.Typography=rp,exports.UndoIcon=hr,exports.UneditableIcon=gr,exports.UnlockIcon=_r,exports.UnreadIcon=Fr,exports.UploadArea=ip,exports.UploadIcon=vr,exports.UserIcon=yr,exports.WarningCircleFilledIcon=ri,exports.WarningCircleIcon=ni,exports.WarningTriangleFilledIcon=hi,exports.WarningTriangleIcon=pt,exports.WheelIcon=br,exports.WorkspaceIcon=xr,exports.Zoom100Icon=Sr,exports.ZoomInIcon=Cr,exports.ZoomOutIcon=wr,exports.avatarVariants=Yi,exports.badgeDotVariants=$i,exports.badgeLabelVariants=Zi,exports.buttonVariants=w,exports.checkboxVariants=Ou,exports.chipsVariants=Nu,exports.cn=v,exports.dividerVariants=Fu,exports.iconButtonVariants=Lu,exports.inputContainerVariants=Bu,exports.inputWrapperVariants=Bu,exports.menuItemVariants=bu,exports.messageboxVariants=Hu,exports.navItemVariants=Qu,exports.navTileVariants=Xu,exports.overlayVariants=td,exports.radioVariants=sd,exports.tagVariants=Wf,exports.toast=g.toast,exports.toastVariants=Yf,exports.tooltipContentVariants=Qf,exports.typographyVariants=tp;
|
|
42
42
|
//# sourceMappingURL=index.cjs.map
|