PageSourceSearch

https://cmdop.com/_next/static/chunks/1344-a42030f16b68ba42.js

js cmdop.com collected 2026-09-25 22:32:02 UTC 24,634 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1344],{2543:(e,t,r)=>{r.d(t,{F:()=>Z,$:()=>ee});var n=r(97542),o=r(75750),l=r(87898),a=r(68245),i=r(73979),s=r(87229),c=r(83514),d=r(33146),u=r(55640),f=r(61676),p=r(96368),h=Object.defineProperty,m=(e,t)=>h(e,"name",{value:t,configurable:!0});function b(e,t){return o.useReducer((e,r)=>t[e][r]??e,e)}m(b,"useStateMachine");var v="ScrollArea",[g,w]=(0,i.A)(v),[x,y]=g(v),S=o.forwardRef(m(function(e,t){let{__scopeScrollArea:r,type:a="hover",dir:i,scrollHideDelay:c=600,...u}=e,[f,p]=o.useState(null),[h,m]=o.useState(null),[b,v]=o.useState(null),[g,w]=o.useState(null),[y,S]=o.useState(null),[j,C]=o.useState(0),[N,T]=o.useState(0),[E,R]=o.useState(!1),[P,A]=o.useState(!1),L=(0,s.s)(t,p),k=(0,d.jH)(i);return(0,n.jsx)(x,{scope:r,type:a,dir:k,scrollHideDelay:c,scrollArea:f,viewport:h,onViewportChange:m,content:b,onContentChange:v,scrollbarX:g,onScrollbarXChange:w,scrollbarXEnabled:E,onScrollbarXEnabledChange:R,scrollbarY:y,onScrollbarYChange:S,scrollbarYEnabled:P,onScrollbarYEnabledChange:A,onCornerWidthChange:C,onCornerHeightChange:T,children:(0,n.jsx)(l.sG.div,{dir:k,...u,ref:L,style:{position:"relative","--radix-scroll-area-corner-width":j+"px","--radix-scroll-area-corner-height":N+"px",...e.style}})})},"ScrollArea")),j=o.forwardRef(m(function(e,t){let{__scopeScrollArea:r,children:a,nonce:i,...c}=e,d=y("ScrollAreaViewport",r),u=o.useRef(null),f=(0,s.s)(t,u,d.onViewportChange);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C,{nonce:i}),(0,n.jsx)(l.sG.div,{"data-radix-scroll-area-viewport":"",...c,ref:f,style:{overflowX:d.scrollbarXEnabled?"scroll":"hidden",overflowY:d.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,n.jsx)("div",{ref:d.onContentChange,style:{minWidth:"100%",display:"table"},children:a})})]})},"ScrollAreaViewport")),C=o.memo(m(function({nonce:e}){return(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:e})},"ScrollAreaViewportStyle"),(e,t)=>e.nonce===t.nonce),N="ScrollAreaScrollbar",T=o.forwardRef(m(function(e,t){let{forceMount:r,...l}=e,a=y(N,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:s}=a,c="horizontal"===e.orientation;return o.useEffect(()=>(c?i(!0):s(!0),()=>{c?i(!1):s(!1)}),[c,i,s]),"hover"===a.type?(0,n.jsx)(E,{...l,ref:t,forceMount:r}):"scroll"===a.type?(0,n.jsx)(R,{...l,ref:t,forceMount:r}):"auto"===a.type?(0,n.jsx)(P,{...l,ref:t,forceMount:r}):"always"===a.type?(0,n.jsx)(A,{...l,ref:t,"data-state":"visible"}):null},"ScrollAreaScrollbar")),E=o.forwardRef(m(function(e,t){let{forceMount:r,...l}=e,i=y(N,e.__scopeScrollArea),[s,c]=o.useState(!1);return o.useEffect(()=>{let e=i.scrollArea,t=0;if(e){let r=m(()=>{window.clearTimeout(t),c(!0)},"handlePointerEnter"),n=m(()=>{t=window.setTimeout(()=>c(!1),i.scrollHideDelay)},"handlePointerLeave");return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[i.scrollArea,i.scrollHideDelay]),(0,n.jsx)(a.C,{present:r||s,children:(0,n.jsx)(P,{"data-state":s?"visible":"hidden",...l,ref:t})})},"ScrollAreaScrollbarHover")),R=o.forwardRef(m(function(e,t){let{forceMount:r,...l}=e,i=y(N,e.__scopeScrollArea),s="horizontal"===e.orientation,c=q(()=>u("SCROLL_END"),100),[d,u]=b("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return o.useEffect(()=>{if("idle"===d){let e=window.setTimeout(()=>u("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(e)}},[d,i.scrollHideDelay,u]),o.useEffect(()=>{let e=i.viewport,t=s?"scrollLeft":"scrollTop";if(e){let r=e[t],n=m(()=>{let n=e[t];r!==n&&(u("SCROLL"),c()),r=n},"handleScroll");return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}}
1,[i.viewport,s,u,c]),(0,n.jsx)(a.C,{present:r||"hidden"!==d,children:(0,n.jsx)(A,{"data-state":"hidden"===d?"hidden":"visible",...l,ref:t,onPointerEnter:(0,p.mK)(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:(0,p.mK)(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),P=o.forwardRef(m(function(e,t){let r=y(N,e.__scopeScrollArea),{forceMount:l,...i}=e,[s,c]=o.useState(!1),d="horizontal"===e.orientation,u=q(()=>{if(r.viewport){let e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;c(d?e:t)}},10);return J(r.viewport,u),J(r.content,u),(0,n.jsx)(a.C,{present:l||s,children:(0,n.jsx)(A,{"data-state":s?"visible":"hidden",...i,ref:t})})},"ScrollAreaScrollbarAuto")),A=o.forwardRef(m(function(e,t){let{orientation:r="vertical",...l}=e,a=y(N,e.__scopeScrollArea),i=o.useRef(null),s=o.useRef(0),[c,d]=o.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=U(c.viewport,c.content),f={...l,sizes:c,onSizesChange:d,hasThumb:!!(u>0&&u<1),onThumbChange:m(e=>i.current=e,"onThumbChange"),onThumbPointerUp:m(()=>s.current=0,"onThumbPointerUp"),onThumbPointerDown:m(e=>s.current=e,"onThumbPointerDown")};function p(e,t){return G(e,s.current,c,t)}return(m(p,"getScrollPosition"),"horizontal"===r)?(0,n.jsx)(L,{...f,ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){let e=X(a.viewport.scrollLeft,c,a.dir);i.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollLeft=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollLeft=p(e,a.dir))}}):"vertical"===r?(0,n.jsx)(k,{...f,ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){let e=X(a.viewport.scrollTop,c);i.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollTop=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollTop=p(e))}}):null},"ScrollAreaScrollbarVisible")),L=o.forwardRef(m(function(e,t){let{sizes:r,onSizesChange:l,...a}=e,i=y(N,e.__scopeScrollArea),[c,d]=o.useState(),u=o.useRef(null),f=(0,s.s)(t,u,i.onScrollbarXChange);return o.useEffect(()=>{u.current&&d(getComputedStyle(u.current))},[u]),(0,n.jsx)(z,{"data-orientation":"horizontal",...a,ref:f,sizes:r,style:{bottom:0,left:"rtl"===i.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===i.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Y(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(i.viewport){let n=i.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),M(n,r)&&t.preventDefault()}},onResize:()=>{u.current&&i.viewport&&c&&l({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:K(c.paddingLeft),paddingEnd:K(c.paddingRight)}})}})},"ScrollAreaScrollbarX")),k=o.forwardRef(m(function(e,t){let{sizes:r,onSizesChange:l,...a}=e,i=y(N,e.__scopeScrollArea),[c,d]=o.useState(),u=o.useRef(null),f=(0,s.s)(t,u,i.onScrollbarYChange);return o.useEffect(()=>{u.current&&d(getComputedStyle(u.current))},[u]),(0,n.jsx)(z,{"data-orientation":"vertical",...a,ref:f,sizes:r,style:{top:0,right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Y(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(i.viewport){let n=i.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),M(n,r)&&t.preventDefault()}},onResize:()=>{u.current&&i.viewport&&c&&l({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:K(c.paddingTop),paddingEnd:K(c.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[D,_]=g(N),z=o.forwardRef(m(function(e,t){let{__scopeScrollArea:r,sizes:a,hasThumb:i,onThumbChange:d,onThumbPointerUp:u,onThumbPointerDown:f,onThumbPositionChange:h,onDragScroll:b,onWheelScroll:v,onResize:g,...w}=e,x=y(N,r),[S,j]=o.useState(null),C=(0,s.s)(t,j),T=o.useRef(null),E=o.useRef(""),R=x.viewport,P=a.content-a.viewport,A=(0,c.c
1)(v),L=(0,c.c)(h),k=q(g,10);function _(e){T.current&&b({x:e.clientX-T.current.left,y:e.clientY-T.current.top})}return m(_,"handleDragScroll"),o.useEffect(()=>{let e=m(e=>{let t=e.target;S?.contains(t)&&A(e,P)},"handleWheel");return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[R,S,P,A]),o.useEffect(L,[a,L]),J(S,k),J(x.content,k),(0,n.jsx)(D,{scope:r,scrollbar:S,hasThumb:i,onThumbChange:(0,c.c)(d),onThumbPointerUp:(0,c.c)(u),onThumbPositionChange:L,onThumbPointerDown:(0,c.c)(f),children:(0,n.jsx)(l.sG.div,{...w,ref:C,style:{position:"absolute",...w.style},onPointerDown:(0,p.mK)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),T.current=S.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",x.viewport&&(x.viewport.style.scrollBehavior="auto"),_(e))}),onPointerMove:(0,p.mK)(e.onPointerMove,_),onPointerUp:(0,p.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=E.current,x.viewport&&(x.viewport.style.scrollBehavior=""),T.current=null})})})},"ScrollAreaScrollbarImpl")),V="ScrollAreaThumb",I=o.forwardRef(m(function(e,t){let{forceMount:r,...o}=e,l=_(V,e.__scopeScrollArea);return(0,n.jsx)(a.C,{present:r||l.hasThumb,children:(0,n.jsx)(H,{ref:t,...o})})},"ScrollAreaThumb")),H=o.forwardRef(m(function(e,t){let{__scopeScrollArea:r,style:a,...i}=e,c=y(V,r),d=_(V,r),{onThumbPositionChange:u}=d,f=(0,s.s)(t,d.onThumbChange),h=o.useRef(void 0),b=q(()=>{h.current&&(h.current(),h.current=void 0)},100);return o.useEffect(()=>{let e=c.viewport;if(e){let t=m(()=>{b(),h.current||(h.current=B(e,u),u())},"handleScroll");return u(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[c.viewport,b,u]),(0,n.jsx)(l.sG.div,{"data-state":d.hasThumb?"visible":"hidden",...i,ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...a},onPointerDownCapture:(0,p.mK)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;d.onThumbPointerDown({x:r,y:n})}),onPointerUp:(0,p.mK)(e.onPointerUp,d.onThumbPointerUp)})},"ScrollAreaThumbImpl")),O="ScrollAreaCorner",W=o.forwardRef(m(function(e,t){let r=y(O,e.__scopeScrollArea),o=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&o?(0,n.jsx)(F,{...e,ref:t}):null},"ScrollAreaCorner")),F=o.forwardRef(m(function(e,t){let{__scopeScrollArea:r,...a}=e,i=y(O,r),[s,c]=o.useState(0),[d,u]=o.useState(0),f=!!(s&&d),{onCornerWidthChange:p,onCornerHeightChange:h}=i;return J(i.scrollbarX,()=>{let e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),u(e)}),J(i.scrollbarY,()=>{let e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),c(e)}),o.useEffect(()=>()=>{p(0),h(0)},[p,h]),f?(0,n.jsx)(l.sG.div,{...a,ref:t,style:{width:s,height:d,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}}):null},"ScrollAreaCornerImpl"));function K(e){return e?parseInt(e,10):0}function U(e,t){let r=e/t;return isNaN(r)?0:r}function Y(e){let t=U(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function G(e,t,r,n="ltr"){let o=Y(r),l=t||o/2,a=r.scrollbar.paddingStart+l,i=r.scrollbar.size-r.scrollbar.paddingEnd-(o-l),s=r.content-r.viewport;return $([a,i],"ltr"===n?[0,s]:[-1*s,0])(e)}function X(e,t,r="ltr"){let n=Y(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-o,a=t.content-t.viewport,i=(0,f.q)(e,"ltr"===r?[0,a]:[-1*a,0]);return $([0,a],[0,l-n])(i)}function $(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function M(e,t){return e>0&&e<t}m(K,"toInt"),m(U,"getThumbRatio"),m(Y,"getThumbSize"),m(G,"getScrollPositionFromPointer"),m(X,"getThumbOffsetFromScroll"),m($,"linearScale"),m(M,"isScrollingWithinScrollbarBounds");var B=m((e,t=()=>{})=>(e.scrollLeft,e.scrollTop,()=>window.cancelAnimationFrame(0)),"addUnlinkedScrollListener");function q(e,t){let r=(0,c.c)(e),n=o.useRef(0);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),o.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function J(e,t){let r=(0,c.c)(t);(0,u.N)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}m(q,"useDebounceCallback"),m(J,"useResizeObserver");var Q=r(9302);let Z=o.forwardRef(({className:e,children:t,viewportRef:r,viewportClassName:l,orientation:a="vertical",overflowX:i,...s},c)=>{let d=o.useRef(null),u=r||d;return o.useImperativeHandle(c,()=>({scrollToBottom:(e="smooth")=>{let t=u.current;t&&t.scrollTo({top:t.scrollHeight,behavior:e})},scrollToTop:(e="smooth")=>{let t=u.current;t&&t.scrollTo({top:0,behavior:e})},scrollTo:e=>{u.current?.scrollTo(e)},getViewport:()=>u.current}),[u]),(0,n.jsxs)(S,{className:(0,Q.cn)("relative overflow-hidden",e),...s,children:[(0,n.jsx)(j,{ref:u,className:(0,Q.cn)("h-full w-full rounded-[inherit]","hidden"===i&&"!overflow-x-hidden","scroll"===i&&"!overflow-x-scroll",l),children:t}),("vertical"===a||"both"===a)&&(0,n.jsx)(ee,{orientation:"vertical"}),("horizontal"===a||"both"===a)&&(0,n.jsx)(ee,{orientation:"horizontal"}),(0,n.jsx)(W,{})]})});Z.displayName="ScrollArea";let ee=o.forwardRef(({className:e,orientation:t="vertical",...r},o)=>(0,n.jsx)(T,{ref:o,orientation:t,className:(0,Q.cn)("flex touch-none select-none transition-colors","vertical"===t&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:(0,n.jsx)(I,{className:"relative flex-1 rounded-full bg-border"})}));
1ee.displayName=T.displayName},9448:(e,t,r)=>{r.d(t,{f$:()=>s,s_:()=>c});var n=r(97542),o=r(75750),l=r(9302),a=r(94259);function i({className:e}){let t=(0,a.ps)()("ui.states.loading");return(0,n.jsx)("div",{className:(0,l.cn)("inline-block size-4 animate-spin rounded-full","border-2 border-solid border-current border-r-transparent","align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]",e),role:"status","aria-label":t})}function s({minHeight:e=96,showText:t=!0,text:r,className:o}){let c=(0,a.ps)(),d=r??c("ui.form.loading"),u="number"==typeof e?`${e}px`:e;return(0,n.jsx)("div",{className:(0,l.cn)("flex items-center justify-center",o),style:{minHeight:u},role:"status","aria-label":t?void 0:d,children:(0,n.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,n.jsx)(i,{className:"size-4"}),t&&(0,n.jsx)("span",{className:"text-sm",children:d})]})})}function c(e,t={}){let r=o.lazy(e),l=e=>{let l="function"==typeof t.fallback?t.fallback(e):t.fallback??(0,n.jsx)(s,{});return(0,n.jsx)(o.Suspense,{fallback:l,children:(0,n.jsx)(r,{...e})})};return l.displayName=t.displayName??"LazyComponent",l}},12313:(e,t,r)=>{r.d(t,{CG:()=>d,Fm:()=>m,Qs:()=>v,cj:()=>c,h:()=>h,qp:()=>b});var n=r(97542),o=r(6095),l=r(75750),a=r(5223),i=r(3715),s=r(9302);let c=a.bL,d=a.l9;a.bm;let u=a.ZL,f=l.forwardRef(({className:e,style:t,...r},o)=>(0,n.jsx)(a.hJ,{className:(0,s.cn)("fixed inset-0 z-200 bg-overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),style:t,...r,ref:o}));f.displayName=a.hJ.displayName;let p=(0,o.F)("fixed z-200 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),h=l.forwardRef(({side:e="right",className:t,children:r,...o},l)=>(0,n.jsxs)(u,{children:[(0,n.jsx)(f,{}),(0,n.jsxs)(a.UC,{ref:l,"aria-describedby":void 0,className:(0,s.cn)(p({side:e}),t),...o,children:[(0,n.jsxs)(a.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,n.jsx)(i.MKb,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));h.displayName=a.UC.displayName;let m=({className:e,...t})=>(0,n.jsx)("div",{className:(0,s.cn)("flex flex-col space-y-2 text-center sm:text-left",e),...t});m.displayName="SheetHeader";let b=l.forwardRef(({className:e,...t},r)=>(0,n.jsx)(a.hE,{ref:r,className:(0,s.cn)("text-lg font-semibold text-foreground",e),...t}));b.displayName=a.hE.displayName;let v=l.forwardRef(({className:e,...t},r)=>(0,n.jsx)(a.VY,{ref:r,className:(0,s.cn)("text-sm text-muted-foreground",e),...t}));v.displayName=a.VY.displayName},20638:(e,t,r)=>{r.d(t,{UK:()=>l});var n=r(97542),o=r(9448);r(75750);let l=(0,o.s_)(()=>Promise.all([r.e(3521),r.e(8740)]).then(r.bind(r,58740)),{displayName:"LazyPrettyCode",fallback:(0,n.jsx)(o.f$,{minHeight:64,text:"Loading code…",className:"rounded-sm border border-border bg-muted dark:bg-code"})})},28243:(e,t,r)=>{r.d(t,{tU:()=>z,av:()=>O,j7:()=>I,Xi:()=>H});var n=r(97542),o=r(34862),l=r(75750),a=r(96368),i=r(73979),s=r(64765),c=r(68245),d=r(87898),u=r(33146),f=r(6394),p=r(18658),h=Object.defineProperty,m=(e,t)=>h(e,"name",{value:t,configurable:!0}),b="Tabs",[v,g]=(0,i.A)(b,[s.RG]),w=(0,s.RG)(),[x,y]=v(b),S=l.forwardRef(m(function(e,t){let{__scopeTabs:r,value:o,onValueChange:l,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:c="automatic",...h}=e,m=(0,u.jH)(s),[v,g]=(0,f.i)({prop:o,onChange:l,defaultProp:a??"",caller:b});return(0,n.jsx)(x,{scope:r,baseId:(0,p.B)(),value:v,onValueChange:g,orientation:i,dir:m,activationMode:c,children:(0,n.jsx)(d.sG.div,{dir:m,"data-orientation":i,...h,ref:t})})},"Tabs")),j=l.forwardRef(m(function(e,t){let{__scopeTabs:r,loop:o=!0,...l}=e,a=y("TabsList",r),i=w(r);return(0,n.jsx)(s.bL,{asChild:!0,...i,orientation:a.orientation,dir:a.dir,loop:o,children:(0,n.jsx)(d.sG.div,{role:"tablist","aria-orientation":a.orientation,...l,ref:t})})},"TabsList")),C=l.forwardRef(m(function(e,t){let{__scopeTabs:r,value:o,disabled:l=!1,...i}=e,c=y("TabsTrigger",r),u=w(r),f=T(c.baseId,o),p=E(c.baseId,o),h=o===c.value;return(0,n.jsx)(s.q7,{asChild:!0,...u,focusable:!l,active:h,children:(0,n.jsx)(d.sG.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":p,"data-state":h?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:f,...i,ref:t,onMouseDown:(0,a.mK)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(o)}),onKeyDown:(0,a.mK)(e.onKeyDown,e=>{!l&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&c.onValueChange(o)}),onFocus:(0,a.mK)(e.onFocus,()=>{let e="manual"!==c.activationMode;h||l||!e||c.onValueChange(o)})})})},"TabsTrigger")),N=l.forwardRef(m(function(e,t){let{__scopeTabs:r,value:o,forceMount:a,children:i,...s}=e,u=y("TabsContent",r),f=T(u.baseId,o),p=E(u.baseId,o),h=o===u.value,m=l.useRef(h);return l.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.jsx)(c.C,{present:a||h,children:({present:r})=>(0,n.jsx)(d.sG.div,{"data-state":h?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":f,hidden:!r,id:p,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:r&&i})})},"TabsContent"));function T(e,t){return`${e}-trigger-${t}`}function E(e,t){return`${e}-content-${t}`}m(T,"makeTriggerId"),m(E,"makeContentId");var R=r(65402),P=r(81395),A=r(94259),L=r(9302),k=r(70517),D=r(2543),_=r(12313);let z=l.forwardRef(({mobileSheet:e=!1,mobileSheetTitle:t,mobileTitleText:r,sticky:a=!1,storageKey:i,storageType:s,children:c,...d},u)=>{let f=(0,A.ps)(),p=t??f("ui.navigation.title"),h=(0,R.al)(),[m,b]=l.useState(!1),[v,g]=(0,P.K)(i,d.defaultValue??d.value??"",i?{storage:s??"local"}:void 0),w=l.useCallback(e=>{i&&g(e),d.onValueChange?.(e)},[i,g,d.onValueChange]),x={...d,onValueChange:i?w:d.onValueChange,...i&&void 0===d.value&&v?{defaultValue:v}:{}};
1if(!e||!h){if(a){let e=l.Children.toArray(c),t=e.find(e=>l.isValidElement(e)&&e.type===I),r=e.filter(e=>l.isValidElement(e)&&e.type===O);return(0,n.jsxs)(S,{ref:u,...x,children:[(0,n.jsx)("div",{className:"sticky top-0 z-40 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 mb-4",children:t}),r]})}return(0,n.jsx)(S,{ref:u,...x,children:c})}let y=l.Children.toArray(c),C=y.find(e=>l.isValidElement(e)&&e.type===I),N=y.filter(e=>l.isValidElement(e)&&e.type===O),T=l.isValidElement(C)?l.Children.toArray(C.props.children):[];return(0,n.jsxs)(S,{ref:u,...x,children:[(0,n.jsx)("div",{className:(0,L.cn)("w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 mb-4",a&&"sticky top-0 z-40"),children:(0,n.jsxs)("div",{className:"container mx-auto flex items-center justify-between h-14 px-4",children:[r&&(0,n.jsx)("h1",{className:"text-lg font-semibold",children:r}),(0,n.jsxs)(_.cj,{open:m,onOpenChange:b,children:[(0,n.jsx)(_.CG,{asChild:!0,children:(0,n.jsx)(k.$n,{variant:"ghost",size:"icon",className:r?"":"ml-auto",children:(0,n.jsx)(o.A,{className:"h-5 w-5"})})}),(0,n.jsxs)(_.h,{side:"right",className:"w-[280px] sm:w-[350px]",children:[(0,n.jsx)(_.Fm,{children:(0,n.jsx)(_.qp,{children:p})}),(0,n.jsx)("nav",{className:"flex flex-col gap-2 mt-6",children:(0,n.jsx)(j,{className:"flex flex-col gap-2",children:T.map((e,t)=>{if(!l.isValidElement(e))return null;let r=e.props||{};return l.cloneElement(e,{key:t,onClick:e=>{b(!1),r.onClick?.(e)},className:(0,L.cn)("flex items-center gap-3 px-3 py-2 rounded-[var(--radius-sm)] transition-colors justify-start w-full","data-[state=active]:bg-primary data-[state=active]:text-primary-foreground","hover:bg-muted",r.className)})})})})]})]})]})}),N]})});z.displayName="Tabs";let V=l.createContext("default"),I=l.forwardRef(({className:e,variant:t="default",fullWidth:r=!1,scrollable:o=!1,...l},a)=>{let i="underline"===t,s=(0,L.cn)(i?"inline-flex items-end gap-0 bg-transparent p-0 h-auto rounded-none":"inline-flex h-9 items-center justify-center rounded-[var(--radius)] bg-muted p-1 text-muted-foreground",r&&"w-full flex",e),c=(0,n.jsx)(j,{ref:a,className:s,...l}),d=i?(0,n.jsxs)("div",{className:(0,L.cn)("relative w-full",o&&"overflow-x-auto"),style:o?{scrollbarWidth:"none",msOverflowStyle:"none"}:void 0,children:[(0,n.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-px bg-border"}),c]}):o?(0,n.jsxs)(D.F,{className:"w-full whitespace-nowrap",children:[c,(0,n.jsx)(D.$,{orientation:"horizontal"})]}):c;return(0,n.jsx)(V.Provider,{value:t,children:d})});I.displayName=j.displayName;let H=l.forwardRef(({className:e,flexEqual:t=!1,...r},o)=>{let a=l.useContext(V);return(0,n.jsx)(C,{ref:o,className:(0,L.cn)("underline"===a?"relative z-10 rounded-none bg-transparent shadow-none whitespace-nowrap px-3 py-2.5 mb-[-1px] text-sm font-medium text-muted-foreground/60 border-b-2 border-transparent transition-all duration-150 hover:text-foreground focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=active]:text-foreground data-[state=active]:font-semibold data-[state=active]:border-foreground data-[state=active]:shadow-none":"inline-flex items-center justify-center whitespace-nowrap rounded-[var(--radius-sm)] px-3 py-1 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t&&"flex-1",e),...r})});H.displayName=C.displayName;let O=l.forwardRef(({className:e,...t},r)=>(0,n.jsx)(N,{ref:r,className:(0,L.cn)("mt-2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",e),...t}));O.displayName=N.displayName}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.