1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[86607],{21761:(e,t,r)=>{r.d(t,{G$:()=>H,Hs:()=>E,UC:()=>er,VY:()=>el,ZL:()=>ee,bL:()=>Q,bm:()=>eo,hE:()=>en,hJ:()=>et,l9:()=>X});var n=r(3242),l=r(46927),o=r(81011),a=r(42969),i=r(11390),u=r(43730),c=r(88796),s=r(65739),d=r(48439),f=r(22490),p=r(25050),v=r(21539),m=r(87062),g=r(63600),h=r(32529),b=r(99010),y="Dialog",[w,E]=(0,a.A)(y),[C,x]=w(y),R=e=>{let{__scopeDialog:t,children:r,open:l,defaultOpen:o,onOpenChange:a,modal:c=!0}=e,s=n.useRef(null),d=n.useRef(null),[f,p]=(0,u.i)({prop:l,defaultProp:null!=o&&o,onChange:a,caller:y});return(0,b.jsx)(C,{scope:t,triggerRef:s,contentRef:d,contentId:(0,i.B)(),titleId:(0,i.B)(),descriptionId:(0,i.B)(),open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:c,children:r})};R.displayName=y;var k="DialogTrigger",A=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=x(k,r),i=(0,o.s)(t,a.triggerRef);return(0,b.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Z(a.open),...n,ref:i,onClick:(0,l.m)(e.onClick,a.onOpenToggle)})});A.displayName=k;var I="DialogPortal",[D,N]=w(I,{forceMount:void 0}),O=e=>{let{__scopeDialog:t,forceMount:r,children:l,container:o}=e,a=x(I,t);return(0,b.jsx)(D,{scope:t,forceMount:r,children:n.Children.map(l,e=>(0,b.jsx)(f.C,{present:r||a.open,children:(0,b.jsx)(d.Z,{asChild:!0,container:o,children:e})}))})};O.displayName=I;var j="DialogOverlay",P=n.forwardRef((e,t)=>{let r=N(j,e.__scopeDialog),{forceMount:n=r.forceMount,...l}=e,o=x(j,e.__scopeDialog);return o.modal?(0,b.jsx)(f.C,{present:n||o.open,children:(0,b.jsx)(M,{...l,ref:t})}):null});P.displayName=j;var S=(0,h.TL)("DialogOverlay.RemoveScroll"),M=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,l=x(j,r);return(0,b.jsx)(m.A,{as:S,allowPinchZoom:!0,shards:[l.contentRef],children:(0,b.jsx)(p.sG.div,{"data-state":Z(l.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),F="DialogContent",_=n.forwardRef((e,t)=>{let r=N(F,e.__scopeDialog),{forceMount:n=r.forceMount,...l}=e,o=x(F,e.__scopeDialog);return(0,b.jsx)(f.C,{present:n||o.open,children:o.modal?(0,b.jsx)(T,{...l,ref:t}):(0,b.jsx)(L,{...l,ref:t})})});_.displayName=F;var T=n.forwardRef((e,t)=>{let r=x(F,e.__scopeDialog),a=n.useRef(null),i=(0,o.s)(t,r.contentRef,a);return n.useEffect(()=>{let e=a.current;if(e)return(0,g.Eq)(e)},[]),(0,b.jsx)(U,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,l.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,l.m)(e.onFocusOutside,e=>e.preventDefault())})}),L=n.forwardRef((e,t)=>{let r=x(F,e.__scopeDialog),l=n.useRef(!1),o=n.useRef(!1);return(0,b.jsx)(U,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(l.current||null==(a=r.triggerRef.current)||a.focus(),t.preventDefault()),l.current=!1,o.current=!1},onInteractOutside:t=>{var n,a;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;(null==(a=r.triggerRef.current)?void 0:a.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),U=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:l,onOpenAutoFocus:a,onCloseAutoFocus:i,...u}=e,d=x(F,r),f=n.useRef(null),p=(0,o.s)(t,f);return(0,v.Oh)(),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.n,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,b.jsx)(c.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":Z(d.open),...u,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(J,{titleId:d.titleId}),(0,b.jsx)(Y,{contentRef:f,descriptionId:d.descriptionId})]})]})}),B="DialogTitle",G=n.forwardRef((e,t)=>
1{let{__scopeDialog:r,...n}=e,l=x(B,r);return(0,b.jsx)(p.sG.h2,{id:l.titleId,...n,ref:t})});G.displayName=B;var q="DialogDescription",K=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,l=x(q,r);return(0,b.jsx)(p.sG.p,{id:l.descriptionId,...n,ref:t})});K.displayName=q;var V="DialogClose",W=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=x(V,r);return(0,b.jsx)(p.sG.button,{type:"button",...n,ref:t,onClick:(0,l.m)(e.onClick,()=>o.onOpenChange(!1))})});function Z(e){return e?"open":"closed"}W.displayName=V;var z="DialogTitleWarning",[H,$]=(0,a.q)(z,{contentName:F,titleName:B,docsSlug:"dialog"}),J=e=>{let{titleId:t}=e,r=$(z),l="`".concat(r.contentName,"` requires a `").concat(r.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(r.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(r.docsSlug);return n.useEffect(()=>{t&&(document.getElementById(t)||console.error(l))},[l,t]),null},Y=e=>{let{contentRef:t,descriptionId:r}=e,l=$("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(l.contentName,"}.");return n.useEffect(()=>{var e;let n=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");r&&n&&(document.getElementById(r)||console.warn(o))},[o,t,r]),null},Q=R,X=A,ee=O,et=P,er=_,en=G,el=K,eo=W},22455:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99261).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},22490:(e,t,r)=>{r.d(t,{C:()=>a});var n=r(3242),l=r(81011),o=r(30008),a=e=>{let{present:t,children:r}=e,a=function(e){var t,r;let[l,a]=n.useState(),u=n.useRef(null),c=n.useRef(e),s=n.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=i(u.current);s.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=u.current,r=c.current;if(r!==e){let n=s.current,l=i(t);e?f("MOUNT"):"none"===l||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):r&&n!==l?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,o.N)(()=>{if(l){var e;let t,r=null!=(e=l.ownerDocument.defaultView)?e:window,n=e=>{let n=i(u.current).includes(e.animationName);if(e.target===l&&n&&(f("ANIMATION_END"),!c.current)){let e=l.style.animationFillMode;l.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===l.style.animationFillMode&&(l.style.animationFillMode=e)})}},o=e=>{e.target===l&&(s.current=i(u.current))};return l.addEventListener("animationstart",o),l.addEventListener("animationcancel",n),l.addEventListener("animationend",n),()=>{r.clearTimeout(t),l.removeEventListener("animationstart",o),l.removeEventListener("animationcancel",n),l.removeEventListener("animationend",n)}}f("ANIMATION_END")},[l,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{u.current=e?getComputedStyle(e):null,a(e)},[])}}(t),u="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),c=(0,l.s)(a.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,l=n&&"isReactWarning"in n&&n.isReactWarning;return l?e.ref:(l=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof r||a.isPresent?n.cloneElement(u,{ref:c}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},50166:(e,t,r)=>{r.d(t,{uB:()=>P});var n=/[\\\/_+.#"@\[\(\{&]/,l=/[\\\/_+.#"@\[\(\{&]/g,o=/[\s-]/,a=/[\s-]/g;function i(e){return e.toLowerCase().replace(a," ")}var u=r(21761),c=r(3242),s=r(25050),d=r(11390),f=r(81011),p='[cmdk-group=""]',v='[cmdk-group-items=""]',m='[cmdk-item=""]',g="".concat(m,':not([aria-disabled="true"])'),h="cmdk-item-select",b="data-value",y=(e,t,r)=>(function(e,t,r){return function e(t,r,i,u,c,s,d){if(s===r.length)return c===t.length?1:.99;var f=`${c},${s}`;if(void 0!==d[f])return d[f];for(var p,v,m,g,h=u.charAt(s),b=i.indexOf(h,c),y=0;b>=0;)(p=e(t,r,i,u,b+1,s+1,d))>y&&(b===c?p*=1:n.test(t.charAt(b-1))?(p*=.8,(m=t.slice(c,b-1).match(l))&&c>0&&(p*=Math.pow(.999,m.length))):o.test(t.charAt(b-1))?(p*=.9,(g=t.slice(c,b-1).match(a))&&c>0&&(p*=Math.pow(.999,g.length))):(p*=.17,c>0&&(p*=Math.pow(.999,b-c))),t.charAt(b)!==r.charAt(s)&&(p*=.9999)),(p<.1&&i.charAt(b-1)===u.charAt(s+1)||u.charAt(s+1)===u.charAt(s)&&i.charAt(b-1)!==u.charAt(s))&&.1*(v=e(t,r,i,u,b+1,s+2,d))>p&&(p=.1*v),p>y&&(y=p),b=i.indexOf(h,b+1);return d[f]=y,y}(e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,t,i(e),i(t),0,0,{})})(e,t,r),w=c.createContext(void 0),E=()=>c.useContext(w),C=c.createContext(void 0),x=()=>c.useContext(C),R=c.createContext(void 0),k=c.forwardRef((e,t)=>
1{let r=F(()=>{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=F(()=>new Set),l=F(()=>new Map),o=F(()=>new Map),a=F(()=>new Set),i=S(e),{label:u,children:f,value:E,onValueChange:x,filter:R,shouldFilter:k,loop:A,disablePointerSelection:I=!1,vimBindings:D=!0,...N}=e,O=(0,d.B)(),j=(0,d.B)(),P=(0,d.B)(),_=c.useRef(null),T=L();M(()=>{if(void 0!==E){let e=E.trim();r.current.value=e,G.emit()}},[E]),M(()=>{T(6,z)},[]);let G=c.useMemo(()=>({subscribe:e=>(a.current.add(e),()=>a.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var l,o,a,u;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)Z(),V(),T(1,W);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(P);e?e.focus():null==(l=document.getElementById(O))||l.focus()}if(T(7,()=>{var e;r.current.selectedItemId=null==(e=H())?void 0:e.id,G.emit()}),n||T(5,z),(null==(o=i.current)?void 0:o.value)!==void 0){null==(u=(a=i.current).onValueChange)||u.call(a,null!=t?t:"");return}}G.emit()}},emit:()=>{a.current.forEach(e=>e())}}),[]),q=c.useMemo(()=>({value:(e,t,n)=>{var l;t!==(null==(l=o.current.get(e))?void 0:l.value)&&(o.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,K(t,n)),T(2,()=>{V(),G.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]))),T(3,()=>{Z(),V(),r.current.value||W(),G.emit()}),()=>{o.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=H();T(4,()=>{Z(),(null==t?void 0:t.getAttribute("id"))===e&&W(),G.emit()})}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{o.current.delete(e),l.current.delete(e)}),filter:()=>i.current.shouldFilter,label:u||e["aria-label"],getDisablePointerSelection:()=>i.current.disablePointerSelection,listId:O,inputId:P,labelId:j,listInnerRef:_}),[]);function K(e,t){var n,l;let o=null!=(l=null==(n=i.current)?void 0:n.filter)?l:y;return e?o(e,r.current.search,t):0}function V(){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),o=0;n.forEach(t=>{o=Math.max(e.get(t),o)}),t.push([r,o])});let n=_.current;$().sort((t,r)=>{var n,l;let o=t.getAttribute("id"),a=r.getAttribute("id");return(null!=(n=e.get(a))?n:0)-(null!=(l=e.get(o))?l:0)}).forEach(e=>{let t=e.closest(v);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(v," > *"))):n.appendChild(e.parentElement===n?e:e.closest("".concat(v," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=_.current)?void 0:t.querySelector("".concat(p,"[").concat(b,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||r.parentElement.appendChild(r)})}function W(){let e=$().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(b);G.setState("value",t||void 0)}function Z(){var e,t,a,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=K(null!=(t=null==(e=o.current.get(l))?void 0:e.value)?t:"",null!=(u=null==(a=o.current.get(l))?void 0:a.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 z(){var e,t,r;let n=H();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(p))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function H(){var e;return null==(e=_.current)?void 0:e.querySelector("".concat(m,'[aria-selected="true"]'))}function $(){var e;return Array.from((null==(e=_.current)?void 0:e.querySelectorAll(g))||[])}function J(e){let t=$()[e];t&&G.setState("value",t.getAttribute(b))}function Y(e){var t;let r=H(),n=$(),l=n.findIndex(e=>e===r),o=n[l+e];null!=(t=i.current)&&t.loop&&(o=l+e<0?n[n.length-1]:l+e===n.length?n[0]:n[l+e]),o&&G.setState("value",o.getAttribute(b))}function Q(e){let t=H(),r=null==t?void 0:t.closest(p),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,p):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,p))?void 0:r.querySelector(g);n?G.setState("value",n.getAttribute(b)):Y(e)}let X=()=>J($().length-1),ee=e=>{e.preventDefault(),e.metaKey?X():e.altKey?Q(1):Y(1)},et=e=>
1{e.preventDefault(),e.metaKey?J(0):e.altKey?Q(-1):Y(-1)};return c.createElement(s.sG.div,{ref:t,tabIndex:-1,...N,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=N.onKeyDown)||t.call(N,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":D&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":D&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),J(0);break;case"End":e.preventDefault(),X();break;case"Enter":{e.preventDefault();let t=H();if(t){let e=new Event(h);t.dispatchEvent(e)}}}}},c.createElement("label",{"cmdk-label":"",htmlFor:q.inputId,id:q.labelId,style:B},u),U(e,e=>c.createElement(C.Provider,{value:G},c.createElement(w.Provider,{value:q},e))))}),A=c.forwardRef((e,t)=>{var r,n;let l=(0,d.B)(),o=c.useRef(null),a=c.useContext(R),i=E(),u=S(e),p=null!=(n=null==(r=u.current)?void 0:r.forceMount)?n:null==a?void 0:a.forceMount;M(()=>{if(!p)return i.item(l,null==a?void 0:a.id)},[p]);let v=T(l,o,[e.value,e.children,o],e.keywords),m=x(),g=_(e=>e.value&&e.value===v.current),b=_(e=>!!p||!1===i.filter()||!e.search||e.filtered.items.get(l)>0);function y(){var e,t;w(),null==(t=(e=u.current).onSelect)||t.call(e,v.current)}function w(){m.setState("value",v.current,!0)}if(c.useEffect(()=>{let t=o.current;if(!(!t||e.disabled))return t.addEventListener(h,y),()=>t.removeEventListener(h,y)},[b,e.onSelect,e.disabled]),!b)return null;let{disabled:C,value:k,onSelect:A,forceMount:I,keywords:D,...N}=e;return c.createElement(s.sG.div,{ref:(0,f.t)(o,t),...N,id:l,"cmdk-item":"",role:"option","aria-disabled":!!C,"aria-selected":!!g,"data-disabled":!!C,"data-selected":!!g,onPointerMove:C||i.getDisablePointerSelection()?void 0:w,onClick:C?void 0:y},e.children)}),I=c.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:l,...o}=e,a=(0,d.B)(),i=c.useRef(null),u=c.useRef(null),p=(0,d.B)(),v=E(),m=_(e=>!!l||!1===v.filter()||!e.search||e.filtered.groups.has(a));M(()=>v.group(a),[]),T(a,i,[e.value,e.heading,u]);let g=c.useMemo(()=>({id:a,forceMount:l}),[l]);return c.createElement(s.sG.div,{ref:(0,f.t)(i,t),...o,"cmdk-group":"",role:"presentation",hidden:!m||void 0},r&&c.createElement("div",{ref:u,"cmdk-group-heading":"","aria-hidden":!0,id:p},r),U(e,e=>c.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?p:void 0},c.createElement(R.Provider,{value:g},e))))}),D=c.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,l=c.useRef(null),o=_(e=>!e.search);return r||o?c.createElement(s.sG.div,{ref:(0,f.t)(l,t),...n,"cmdk-separator":"",role:"separator"}):null}),N=c.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,l=null!=e.value,o=x(),a=_(e=>e.search),i=_(e=>e.selectedItemId),u=E();return c.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),c.createElement(s.sG.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:a,onChange:e=>{l||o.setState("search",e.target.value),null==r||r(e.target.value)}})}),O=c.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...l}=e,o=c.useRef(null),a=c.useRef(null),i=_(e=>e.selectedItemId),u=E();return c.useEffect(()=>{if(a.current&&o.current){let e=a.current,t=o.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(s.sG.div,{ref:(0,f.t)(o,t),...l,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":i,"aria-label":n,id:u.listId},U(e,e=>c.createElement("div",{ref:(0,f.t)(a,u.listInnerRef),"cmdk-list-sizer":""},e)))}),j=c.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:l,contentClassName:o,container:a,...i}=e;return c.createElement(u.bL,{open:r,onOpenChange:n},c.createElement(u.ZL,{container:a},c.createElement(u.hJ,{"cmdk-overlay":"",className:l}),c.createElement(u.UC,{"aria-label":e.label,"cmdk-dialog":"",className:o},c.createElement(k,{ref:t,...i}))))}),P=Object.assign(k,{List:O,Item:A,Input:N,Group:I,Separator:D,Dialog:j,Empty:c.forwardRef((e,t)=>
1_(e=>0===e.filtered.count)?c.createElement(s.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:c.forwardRef((e,t)=>{let{progress:r,children:n,label:l="Loading...",...o}=e;return c.createElement(s.sG.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":l},U(e,e=>c.createElement("div",{"aria-hidden":!0},e)))})});function S(e){let t=c.useRef(e);return M(()=>{t.current=e}),t}var M="undefined"==typeof window?c.useEffect:c.useLayoutEffect;function F(e){let t=c.useRef();return void 0===t.current&&(t.current=e()),t}function _(e){let t=x(),r=()=>e(t.snapshot());return c.useSyncExternalStore(t.subscribe,r,r)}function T(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=c.useRef(),o=E();return M(()=>{var a;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());o.value(e,i,u),null==(a=t.current)||a.setAttribute(b,i),l.current=i}),l}var L=()=>{let[e,t]=c.useState(),r=F(()=>new Map);return M(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function U(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 B={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},69181:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99261).A)("search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},88860:(e,t,r)=>{r.d(t,{Mz:()=>V,UC:()=>z,ZL:()=>Z,bL:()=>K,l9:()=>W});var n=r(3242),l=r(46927),o=r(81011),a=r(42969),i=r(88796),u=r(21539),c=r(65739),s=r(11390),d=r(22817),f=r(48439),p=r(22490),v=r(25050),m=r(32529),g=r(43730),h=r(63600),b=r(87062),y=r(99010),w="Popover",[E,C]=(0,a.A)(w,[d.Bk]),x=(0,d.Bk)(),[R,k]=E(w),A=e=>{let{__scopePopover:t,children:r,open:l,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,u=x(t),c=n.useRef(null),[f,p]=n.useState(!1),[v,m]=(0,g.i)({prop:l,defaultProp:null!=o&&o,onChange:a,caller:w});return(0,y.jsx)(d.bL,{...u,children:(0,y.jsx)(R,{scope:t,contentId:(0,s.B)(),triggerRef:c,open:v,onOpenChange:m,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:f,onCustomAnchorAdd:n.useCallback(()=>p(!0),[]),onCustomAnchorRemove:n.useCallback(()=>p(!1),[]),modal:i,children:r})})};A.displayName=w;var I="PopoverAnchor",D=n.forwardRef((e,t)=>{let{__scopePopover:r,...l}=e,o=k(I,r),a=x(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:u}=o;return n.useEffect(()=>(i(),()=>u()),[i,u]),(0,y.jsx)(d.Mz,{...a,...l,ref:t})});D.displayName=I;var N="PopoverTrigger",O=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,a=k(N,r),i=x(r),u=(0,o.s)(t,a.triggerRef),c=(0,y.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":q(a.open),...n,ref:u,onClick:(0,l.m)(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?c:(0,y.jsx)(d.Mz,{asChild:!0,...i,children:c})});O.displayName=N;var j="PopoverPortal",[P,S]=E(j,{forceMount:void 0}),M=e=>{let{__scopePopover:t,forceMount:r,children:n,container:l}=e,o=k(j,t);return(0,y.jsx)(P,{scope:t,forceMount:r,children:(0,y.jsx)(p.C,{present:r||o.open,children:(0,y.jsx)(f.Z,{asChild:!0,container:l,children:n})})})};M.displayName=j;var F="PopoverContent",_=n.forwardRef((e,t)=>{let r=S(F,e.__scopePopover),{forceMount:n=r.forceMount,...l}=e,o=k(F,e.__scopePopover);return(0,y.jsx)(p.C,{present:n||o.open,children:o.modal?(0,y.jsx)(L,{...l,ref:t}):(0,y.jsx)(U,{...l,ref:t})})});_.displayName=F;var T=(0,m.TL)("PopoverContent.RemoveScroll"),L=n.forwardRef((e,t)=>{let r=k(F,e.__scopePopover),a=n.useRef(null),i=(0,o.s)(t,a),u=n.useRef(!1);return n.useEffect(()=>{let e=a.current;if(e)return(0,h.Eq)(e)},[]),(0,y.jsx)(b.A,{as:T,allowPinchZoom:!0,children:(0,y.jsx)(B,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null==(t=r.triggerRef.current)||t.focu
1s()}),onPointerDownOutside:(0,l.m)(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.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),U=n.forwardRef((e,t)=>{let r=k(F,e.__scopePopover),l=n.useRef(!1),o=n.useRef(!1);return(0,y.jsx)(B,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(l.current||null==(a=r.triggerRef.current)||a.focus(),t.preventDefault()),l.current=!1,o.current=!1},onInteractOutside:t=>{var n,a;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;(null==(a=r.triggerRef.current)?void 0:a.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),B=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:l,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:v,...m}=e,g=k(F,r),h=x(r);return(0,u.Oh)(),(0,y.jsx)(c.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:l,onUnmountAutoFocus:o,children:(0,y.jsx)(i.qW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:v,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>g.onOpenChange(!1),children:(0,y.jsx)(d.UC,{"data-state":q(g.open),role:"dialog",id:g.contentId,...h,...m,ref:t,style:{...m.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)"}})})})}),G="PopoverClose";function q(e){return e?"open":"closed"}n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=k(G,r);return(0,y.jsx)(v.sG.button,{type:"button",...n,ref:t,onClick:(0,l.m)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=G,n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,l=x(r);return(0,y.jsx)(d.i3,{...l,...n,ref:t})}).displayName="PopoverArrow";var K=A,V=D,W=O,Z=M,z=_}}]);
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.