1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8403],{17531:(e,t,r)=>{r.d(t,{H4:()=>b,_V:()=>g,bL:()=>h});var n=r(7620),l=r(18107),a=r(9111),o=r(77514),i=r(60421),u=r(54568),c="Avatar",[d,s]=(0,l.A)(c),f=[0,()=>void 0],[p,v]=d(c),h=n.forwardRef((e,t)=>{let{__scopeAvatar:r,...l}=e,[a,o]=n.useState("idle"),[c,d]=function(){let e=f;{let[t]=e=n.useState(0),r=n.useRef(!1);n.useEffect(()=>{t>1&&!r.current&&(r.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}();return(0,u.jsx)(p,{scope:r,imageLoadingStatus:a,setImageLoadingStatus:o,imageCount:c,setImageCount:d,children:(0,u.jsx)(i.sG.span,{...l,ref:t})})});h.displayName=c;var m="AvatarImage",g=n.forwardRef((e,t)=>{let{__scopeAvatar:r,src:l,onLoadingStatusChange:c,...d}=e,s=v(m,r);!function(e){n.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}(s.setImageCount);let f=function(e,t){let{loadingStatus:r,setLoadingStatus:n,referrerPolicy:l,crossOrigin:a}=t;return(0,o.N)(()=>{if(!e)return void n("error");let t=new window.Image,r=e=>{n(w(e.currentTarget))},o=()=>n("error");return t.addEventListener("load",r),t.addEventListener("error",o),l&&(t.referrerPolicy=l),t.crossOrigin=null!=a?a:null,t.src=e,n(w(t)),()=>{t.removeEventListener("load",r),t.removeEventListener("error",o),n("idle")}},[e,a,l,n]),r}(l,{referrerPolicy:d.referrerPolicy,crossOrigin:d.crossOrigin,loadingStatus:s.imageLoadingStatus,setLoadingStatus:s.setImageLoadingStatus}),p=(0,a.c)(e=>{null==c||c(e)}),h=n.useRef(f);return(0,o.N)(()=>{let e=h.current;h.current=f,f!==e&&p(f)},[f,p]),"loaded"===f?(0,u.jsx)(i.sG.img,{...d,ref:t,src:l}):null});g.displayName=m;var y="AvatarFallback",b=n.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:l,...a}=e,o=v(y,r),[c,d]=n.useState(void 0===l);return n.useEffect(()=>{if(void 0!==l){let e=window.setTimeout(()=>d(!0),l);return()=>window.clearTimeout(e)}},[l]),c&&"loaded"!==o.imageLoadingStatus?(0,u.jsx)(i.sG.span,{...a,ref:t}):null});function w(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}b.displayName=y},19769:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},20415:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},23434:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]])},28653:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},37193:(e,t,r)=>{r.d(t,{UC:()=>B,ZL:()=>$,bL:()=>T,l9:()=>H});var n=r(7620),l=r(47231),a=r(61715),o=r(18107),i=r(48966),u=r(26419),c=r(18249),d=r(1679),s=r(81942),f=r(14972),p=r(48787),v=r(60421),h=r(46118),m=r(54111),g=r(9702),y=r(72413),b=r(54568),w="Popover",[x,k]=(0,o.A)(w,[s.Bk]),C=(0,s.Bk)(),[E,A]=x(w),R=e=>{let{__scopePopover:t,children:r,open:l,defaultOpen:a,onOpenChange:o,modal:i=!1}=e,u=C(t),c=n.useRef(null),[f,p]=n.useState(!1),[v,h]=(0,m.i)({prop:l,defaultProp:null!=a&&a,onChange:o,caller:w});return(0,b.jsx)(s.bL,{...u,children:(0,b.jsx)(E,{scope:t,contentId:(0,d.B)(),triggerRef:c,open:v,onOpenChange:h,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:f,onCustomAnchorAdd:n.useCallback(()=>p(!0),[]),onCustomAnchorRemove:n.useCallback(()=>p(!1),[]),modal:i,children:r})})};R.displayName=w;var S="PopoverAnchor";n.forwardRef((e,t)=>{let{__scopePopover:r,...l}=e,a=A(S,r),o=C(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:u}=a;return n.useEffect(()=>(i(),()=>u()),[i,u]),(0,b.jsx)(s.Mz,{...o,...l,ref:t})}).displayName=S;var M="PopoverTrigger",j=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=A(M,r),i=C(r),u=(0,a.s)(t,o.triggerRef),c=(0,b.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":V(o.open),...n,ref:u,onClick:(0,l.mK)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:(0,b.jsx)(s.Mz,{asChild:!0,...i,children:c})});j.displayName=M;var I="PopoverPortal",[P,O]=x(I,{forceMount:void 0}),N=e=>{let{__scopePopover:t,forceMount:r,children:n,container:l}=e,a=A(I,t);return(0,b.jsx)(P,{scope:t,forceMount:r,children:(0,b.jsx)(p.C,{present:r||a.open,children:(0,b.jsx)(f.Z,{asChild:!0,container:l,children:n})})})};N.displayName=I;var D="PopoverContent",L=n.forwardRef((e,t)=>
1{let r=O(D,e.__scopePopover),{forceMount:n=r.forceMount,...l}=e,a=A(D,e.__scopePopover);return(0,b.jsx)(p.C,{present:n||a.open,children:a.modal?(0,b.jsx)(_,{...l,ref:t}):(0,b.jsx)(q,{...l,ref:t})})});L.displayName=D;var F=(0,h.TL)("PopoverContent.RemoveScroll"),_=n.forwardRef((e,t)=>{let r=A(D,e.__scopePopover),o=n.useRef(null),i=(0,a.s)(t,o),u=n.useRef(!1);return n.useEffect(()=>{let e=o.current;if(e)return(0,g.Eq)(e)},[]),(0,b.jsx)(y.A,{as:F,allowPinchZoom:!0,children:(0,b.jsx)(K,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,l.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,l.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),q=n.forwardRef((e,t)=>{let r=A(D,e.__scopePopover),l=n.useRef(!1),a=n.useRef(!1);return(0,b.jsx)(K,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,o;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(l.current||null==(o=r.triggerRef.current)||o.focus(),t.preventDefault()),l.current=!1,a.current=!1},onInteractOutside:t=>{var n,o;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let i=t.target;(null==(o=r.triggerRef.current)?void 0:o.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),K=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:l,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:v,...h}=e,m=A(D,r),g=C(r);return(0,u.Oh)(),(0,b.jsx)(c.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:l,onUnmountAutoFocus:a,children:(0,b.jsx)(i.qW,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:v,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>m.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,b.jsx)(s.UC,{"data-state":V(m.open),role:"dialog",id:m.contentId,...g,...h,ref:t,style:{...h.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)"}})})})}),z="PopoverClose";function V(e){return e?"open":"closed"}n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,a=A(z,r);return(0,b.jsx)(v.sG.button,{type:"button",...n,ref:t,onClick:(0,l.mK)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=z,n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,l=C(r);return(0,b.jsx)(s.i3,{...l,...n,ref:t})}).displayName="PopoverArrow";var T=R,H=j,$=N,B=L},41169:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},43002:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},45287:(e,t,r)=>{r.d(t,{uB:()=>H});var n=/[\\\/_+.#"@\[\(\{&]/,l=/[\\\/_+.#"@\[\(\{&]/g,a=/[\s-]/,o=/[\s-]/g;function i(e){return e.toLowerCase().replace(o," ")}var u=r(39214),c=r(7620),d=r.t(c,2);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function f(...e){return t=>{let r=!1,n=e.map(e=>{let n=s(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():s(e[t],null)}}}}r(97509);var p=r(54568),v=Symbol.for("react.lazy"),h=d[" use ".trim().toString()];function m(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===v&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var g=Symbol("radix.slottable");function y(e){return c.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===g}var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let r=function(e){let t=function(e){let t=c.forwardRef((e,t)=>{let{children:r,...n}=e;if(m(r)&&"function"==typeof h&&(r=h(r._payload)),c.isValidElement(r)){var l;let e,a,o=(l=r,(a=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(a=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),i=function(e,t){let r={...t};for(let n in t){let l=e[n],a=t[n];/^on[A-Z]/.test(n)?l&&a?r[n]=(...e)=>{let t=a(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...a}:"className"===n&&(r[n]=[l,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==c.Fragment&&(i.ref=t?f(t,o):o),c.cloneElement(r,i)}return c.Children.count(r)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=c.forwardRef((e,r)=>{let{children:n,...l}=e;m(n)&&"function"==typeof h&&(n=h(n._payload));let a=c.Children.toArray(n),o=a.find(y);if(o){let e=o.props.children,n=a.map(t=>t!==o?t:c.Children.count(e)>1?c.Children.only(null):c.isValidElement(e)?e.props.children:null);return(0,p.jsx)(t,{...l,ref:r,children:c.isValidElement(e)?c.cloneElement(e,void 0,n):null})}return(0,p.jsx)(t,{...l,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),n=c.forwardRef((e,n)=>{let{asChild:l,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,p.jsx)(l?r:t,{...a,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),w=globalThis?.document?c.useLayoutEffect:()=>{},x=d[" useId ".trim().toString()]||(()=>void 0),k=0;function C(e){let[t,r]=c.useState(x());return w(()=>{e||r(e=>e??String(k++))},[e]),e||(t?`radix-${t}`:"")}var E='[cmdk-group=""]',A='[cmdk-group-items=""]',R='[cmdk-item=""]',S="".concat(R,':not([aria-disabled="true"])'),M="cmdk-item-select",j="data-value",I=(e,t,r)=>(function(e,t,r){return function e(t,r,i,u,c,d,s){if(d===r.length)return c===t.length?1:.99;var f=`${c},${d}`;if(void 0!==s[f])return s[f];for(var p,v,h,m,g=u.charAt(d),y=i.indexOf(g,c),b=0;y>=0;)(p=e(t,r,i,u,y+1,d+1,s))>b&&(y===c?p*=1:n.test(t.charAt(y-1))?(p*=.8,(h=t.slice(c,y-1).match(l))&&c>0&&(p*=Math.pow(.999,h.length))):a.test(t.charAt(y-1))?(p*=.9,(m=t.slice(c,y-1).match(o))&&c>0&&(p*=Math.pow(.999,m.length))):(p*=.17,c>0&&(p*=Math.pow(.999,y-c))),t.charAt(y)!==r.charAt(d)&&(p*=.9999)),(p<.1&&i.charAt(y-1)===u.charAt(d+1)||u.charAt(d+1)===u.charAt(d)&&i.charAt(y-1)!==u.charAt(d))&&.1*(v=e(t,r,i,u,y+1,d+2,s))>p&&(p=.1*v),p>b&&(b=p),y=i.indexOf(g,y+1);return s[f]=b,b}(e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,t,i(e),i(t),0,0,{})})(e,t,r),P=c.createContext(void 0),O=()=>c.useContext(P),N=c.createContext(void 0),D=()=>c.useContext(N),L=c.createContext(void 0),F=c.forwardRef((e,t)=>{let r=G(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=G(()=>new Set),l=G(()=>new Map),a=G(()=>new Map),o=G(()=>new Set),i=$(e),{label:u,children:d,value:s,onValueChange:f,filter:p,shouldFilter:v,loop:h,disablePointerSelection:m=!1,vimBindings:g=!0,...y}=e,w=C(),x=C(),k=C(),O=c.useRef(null),D=Z();B(()=>
1{if(void 0!==s){let e=s.trim();r.current.value=e,L.emit()}},[s]),B(()=>{D(6,V)},[]);let L=c.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var l,a,o,u;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)z(),q(),D(1,K);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(k);e?e.focus():null==(l=document.getElementById(w))||l.focus()}if(D(7,()=>{var e;r.current.selectedItemId=null==(e=T())?void 0:e.id,L.emit()}),n||D(5,V),(null==(a=i.current)?void 0:a.value)!==void 0){null==(u=(o=i.current).onValueChange)||u.call(o,null!=t?t:"");return}}L.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),F=c.useMemo(()=>({value:(e,t,n)=>{var l;t!==(null==(l=a.current.get(e))?void 0:l.value)&&(a.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,_(t,n)),D(2,()=>{q(),L.emit()}))},item:(e,t)=>(n.current.add(e),t&&(l.current.has(t)?l.current.get(t).add(e):l.current.set(t,new Set([e]))),D(3,()=>{z(),q(),r.current.value||K(),L.emit()}),()=>{a.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=T();D(4,()=>{z(),(null==t?void 0:t.getAttribute("id"))===e&&K(),L.emit()})}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{a.current.delete(e),l.current.delete(e)}),filter:()=>i.current.shouldFilter,label:u||e["aria-label"],getDisablePointerSelection:()=>i.current.disablePointerSelection,listId:w,inputId:k,labelId:x,listInnerRef:O}),[]);function _(e,t){var n,l;let a=null!=(l=null==(n=i.current)?void 0:n.filter)?l:I;return e?a(e,r.current.search,t):0}function q(){if(!r.current.search||!1===i.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=l.current.get(r),a=0;n.forEach(t=>{a=Math.max(e.get(t),a)}),t.push([r,a])});let n=O.current;H().sort((t,r)=>{var n,l;let a=t.getAttribute("id"),o=r.getAttribute("id");return(null!=(n=e.get(o))?n:0)-(null!=(l=e.get(a))?l:0)}).forEach(e=>{let t=e.closest(A);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(A," > *"))):n.appendChild(e.parentElement===n?e:e.closest("".concat(A," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=O.current)?void 0:t.querySelector("".concat(E,"[").concat(j,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||r.parentElement.appendChild(r)})}function K(){let e=H().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(j);L.setState("value",t||void 0)}function z(){var e,t,o,u;if(!r.current.search||!1===i.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let c=0;for(let l of n.current){let n=_(null!=(t=null==(e=a.current.get(l))?void 0:e.value)?t:"",null!=(u=null==(o=a.current.get(l))?void 0:o.keywords)?u:[]);r.current.filtered.items.set(l,n),n>0&&c++}for(let[e,t]of l.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=c}function V(){var e,t,r;let n=T();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(E))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function T(){var e;return null==(e=O.current)?void 0:e.querySelector("".concat(R,'[aria-selected="true"]'))}function H(){var e;return Array.from((null==(e=O.current)?void 0:e.querySelectorAll(S))||[])}function U(e){let t=H()[e];t&&L.setState("value",t.getAttribute(j))}function W(e){var t;let r=T(),n=H(),l=n.findIndex(e=>e===r),a=n[l+e];null!=(t=i.current)&&t.loop&&(a=l+e<0?n[n.length-1]:l+e===n.length?n[0]:n[l+e]),a&&L.setState("value",a.getAttribute(j))}function X(e){let t=T(),r=null==t?void 0:t.closest(E),n;for(;r&&!n;)n=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,E):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,E))?void 0:r.querySelector(S);n?L.setState("value",n.getAttribute(j)):W(e)}let Y=()=>U(H().length-1),ee=e=>{e.preventDefault(),e.metaKey?Y():e.altKey?X(1):W(1)},et=e=>{e.preventDefault(),e.metaKey?U(0):e.altKey?X(-1):W(-1)};return c.createElement(b.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=y.onKeyDown)||t.call(y,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":g&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":g&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),U(0);break;case"End":e.preventDefault(),Y();break;case"Enter":{e.preventDefault();let t=T();if(t){let e=new Event(M);t.dispatchEvent(e)}}}}},c.createElement("label",{"cmdk-label":"",htmlFor:F.inputId,id:F.labelId,style:Q},u),J(e,e=>
1c.createElement(N.Provider,{value:L},c.createElement(P.Provider,{value:F},e))))}),_=c.forwardRef((e,t)=>{var r,n;let l=C(),a=c.useRef(null),o=c.useContext(L),i=O(),u=$(e),d=null!=(n=null==(r=u.current)?void 0:r.forceMount)?n:null==o?void 0:o.forceMount;B(()=>{if(!d)return i.item(l,null==o?void 0:o.id)},[d]);let s=W(l,a,[e.value,e.children,a],e.keywords),p=D(),v=U(e=>e.value&&e.value===s.current),h=U(e=>!!d||!1===i.filter()||!e.search||e.filtered.items.get(l)>0);function m(){var e,t;g(),null==(t=(e=u.current).onSelect)||t.call(e,s.current)}function g(){p.setState("value",s.current,!0)}if(c.useEffect(()=>{let t=a.current;if(!(!t||e.disabled))return t.addEventListener(M,m),()=>t.removeEventListener(M,m)},[h,e.onSelect,e.disabled]),!h)return null;let{disabled:y,value:w,onSelect:x,forceMount:k,keywords:E,...A}=e;return c.createElement(b.div,{ref:f(a,t),...A,id:l,"cmdk-item":"",role:"option","aria-disabled":!!y,"aria-selected":!!v,"data-disabled":!!y,"data-selected":!!v,onPointerMove:y||i.getDisablePointerSelection()?void 0:g,onClick:y?void 0:m},e.children)}),q=c.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:l,...a}=e,o=C(),i=c.useRef(null),u=c.useRef(null),d=C(),s=O(),p=U(e=>!!l||!1===s.filter()||!e.search||e.filtered.groups.has(o));B(()=>s.group(o),[]),W(o,i,[e.value,e.heading,u]);let v=c.useMemo(()=>({id:o,forceMount:l}),[l]);return c.createElement(b.div,{ref:f(i,t),...a,"cmdk-group":"",role:"presentation",hidden:!p||void 0},r&&c.createElement("div",{ref:u,"cmdk-group-heading":"","aria-hidden":!0,id:d},r),J(e,e=>c.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?d:void 0},c.createElement(L.Provider,{value:v},e))))}),K=c.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,l=c.useRef(null),a=U(e=>!e.search);return r||a?c.createElement(b.div,{ref:f(l,t),...n,"cmdk-separator":"",role:"separator"}):null}),z=c.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,l=null!=e.value,a=D(),o=U(e=>e.search),i=U(e=>e.selectedItemId),u=O();return c.useEffect(()=>{null!=e.value&&a.setState("search",e.value)},[e.value]),c.createElement(b.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":u.listId,"aria-labelledby":u.labelId,"aria-activedescendant":i,id:u.inputId,type:"text",value:l?e.value:o,onChange:e=>{l||a.setState("search",e.target.value),null==r||r(e.target.value)}})}),V=c.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...l}=e,a=c.useRef(null),o=c.useRef(null),i=U(e=>e.selectedItemId),u=O();return c.useEffect(()=>{if(o.current&&a.current){let e=o.current,t=a.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),c.createElement(b.div,{ref:f(a,t),...l,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":i,"aria-label":n,id:u.listId},J(e,e=>c.createElement("div",{ref:f(o,u.listInnerRef),"cmdk-list-sizer":""},e)))}),T=c.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:l,contentClassName:a,container:o,...i}=e;return c.createElement(u.bL,{open:r,onOpenChange:n},c.createElement(u.ZL,{container:o},c.createElement(u.hJ,{"cmdk-overlay":"",className:l}),c.createElement(u.UC,{"aria-label":e.label,"cmdk-dialog":"",className:a},c.createElement(F,{ref:t,...i}))))}),H=Object.assign(F,{List:V,Item:_,Input:z,Group:q,Separator:K,Dialog:T,Empty:c.forwardRef((e,t)=>U(e=>0===e.filtered.count)?c.createElement(b.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:c.forwardRef((e,t)=>{let{progress:r,children:n,label:l="Loading...",...a}=e;return c.createElement(b.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":l},J(e,e=>c.createElement("div",{"aria-hidden":!0},e)))})});function $(e){let t=c.useRef(e);return B(()=>{t.current=e}),t}var B="undefined"==typeof window?c.useEffect:c.useLayoutEffect;function G(e){let t=c.useRef();return void 0===t.current&&(t.current=e()),t}function U(e){let t=D(),r=()=>e(t.snapshot());
1return c.useSyncExternalStore(t.subscribe,r,r)}function W(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=c.useRef(),a=O();return B(()=>{var o;let i=(()=>{var e;for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():l.current}})(),u=n.map(e=>e.trim());a.value(e,i,u),null==(o=t.current)||o.setAttribute(j,i),l.current=i}),l}var Z=()=>{let[e,t]=c.useState(),r=G(()=>new Map);return B(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function J(e,t){let r,{asChild:n,children:l}=e;return n&&c.isValidElement(l)?c.cloneElement("function"==typeof(r=l.type)?r(l.props):"render"in r?r.render(l.props):l,{ref:l.ref},t(l.props.children)):t(l)}var Q={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},50741:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},55532:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]])},58912:(e,t,r)=>{r.d(t,{Ke:()=>k,R6:()=>w,bL:()=>A});var n=r(7620),l=r(47231),a=r(18107),o=r(54111),i=r(77514),u=r(61715),c=r(60421),d=r(48787),s=r(1679),f=r(54568),p="Collapsible",[v,h]=(0,a.A)(p),[m,g]=v(p),y=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:l,defaultOpen:a,disabled:i,onOpenChange:u,...d}=e,[v,h]=(0,o.i)({prop:l,defaultProp:null!=a&&a,onChange:u,caller:p});return(0,f.jsx)(m,{scope:r,disabled:i,contentId:(0,s.B)(),open:v,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),children:(0,f.jsx)(c.sG.div,{"data-state":E(v),"data-disabled":i?"":void 0,...d,ref:t})})});y.displayName=p;var b="CollapsibleTrigger",w=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,a=g(b,r);return(0,f.jsx)(c.sG.button,{type:"button","aria-controls":a.open?a.contentId:void 0,"aria-expanded":a.open||!1,"data-state":E(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...n,ref:t,onClick:(0,l.mK)(e.onClick,a.onOpenToggle)})});w.displayName=b;var x="CollapsibleContent",k=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,l=g(x,e.__scopeCollapsible);return(0,f.jsx)(d.C,{present:r||l.open,children:e=>{let{present:r}=e;return(0,f.jsx)(C,{...n,ref:t,present:r})}})});k.displayName=x;var C=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:l,children:a,...o}=e,d=g(x,r),[s,p]=n.useState(l),v=n.useRef(null),h=(0,u.s)(t,v),m=n.useRef(0),y=m.current,b=n.useRef(0),w=b.current,k=d.open||s,C=n.useRef(k),A=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.N)(()=>{let e=v.current;if(e){A.current=A.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();m.current=t.height,b.current=t.width,C.current||(e.style.transitionDuration=A.current.transitionDuration,e.style.animationName=A.current.animationName),p(l)}},[d.open,l]),(0,f.jsx)(c.sG.div,{"data-state":E(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!k,...o,ref:h,style:{"--radix-collapsible-content-height":y?"".concat(y,"px"):void 0,"--radix-collapsible-content-width":w?"".concat(w,"px"):void 0,...e.style},children:k&&a})});function E(e){return e?"open":"closed"}var A=y},65202:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},75892:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(92068).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])}}]);
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.