PageSourceSearch

https://www.otranto.ai/_next/static/chunks/2266-158ea93af9ce7388.js?dpl=dpl_FuZu4ERqZvE6D9sDGaocETU6oivb

js otranto.ai collected 2026-10-05 13:35:24 UTC 41,207 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2266],{43539:function(e){e.exports={style:{fontFamily:"'__Bricolage_Grotesque_a4bae9', '__Bricolage_Grotesque_Fallback_a4bae9'",fontStyle:"normal"},className:"__className_a4bae9",variable:"__variable_a4bae9"}},49551:function(e){e.exports={style:{fontFamily:"'__IBM_Plex_Mono_46fe82', '__IBM_Plex_Mono_Fallback_46fe82'",fontStyle:"normal"},className:"__className_46fe82",variable:"__variable_46fe82"}},58370:function(e){e.exports={style:{fontFamily:"'__IBM_Plex_Sans_43f867', '__IBM_Plex_Sans_Fallback_43f867'",fontStyle:"normal"},className:"__className_43f867",variable:"__variable_43f867"}},82835:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},15075:function(e){e.exports={style:{fontFamily:"'__Lora_8a848f', '__Lora_Fallback_8a848f'"},className:"__className_8a848f",variable:"__variable_8a848f"}},62703:function(e){e.exports={style:{fontFamily:"'__Playfair_Display_3cb7a3', '__Playfair_Display_Fallback_3cb7a3'",fontStyle:"normal"},className:"__className_3cb7a3",variable:"__variable_3cb7a3"}},92994:function(e){e.exports={style:{fontFamily:"'__Source_Sans_3_aed3d5', '__Source_Sans_3_Fallback_aed3d5'",fontStyle:"normal"},className:"__className_aed3d5",variable:"__variable_aed3d5"}},1230:function(e){e.exports={style:{fontFamily:"'__Space_Grotesk_9cf63a', '__Space_Grotesk_Fallback_9cf63a'",fontStyle:"normal"},className:"__className_9cf63a",variable:"__variable_9cf63a"}},67702:function(e,t,n){"use strict";n.d(t,{Analytics:function(){return s}});var r=n(7653),l=n(74859),o=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.vaq=window.vaq||[]).push(t)})};function a(){return"undefined"!=typeof window}function i(){return"production"}function u(){return"development"===((a()?window.vam:i())||"production")}function s(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{var t;!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!a())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=i();return}window.vam=e})(t.mode),o(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let n=t.scriptSrc?t.scriptSrc:u()?"https://va.vercel-scripts.com/v1/script.debug.js":t.basePath?"".concat(t.basePath,"/insights/script.js"):"/_vercel/insights/script.js";if(document.head.querySelector('script[src*="'.concat(n,'"]')))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),r.dataset.sdkv="1.6.1",t.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),t.endpoint?r.dataset.endpoint=t.endpoint:t.basePath&&(r.dataset.endpoint="".concat(t.basePath,"/insights")),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{let e=u()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(n,". ").concat(e))},u()&&!1===t.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",basePath:null!==(t=e.basePath)&&void 0!==t?t:function(){if(void 0!==l&&void 0!==l.env)return l.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:r}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:r})}({route:e.route,path:e.path})},[e.route,e.path]),null}},53481:function(e,t,n){"use strict";n.d(t,{SpeedInsights:function(){return f}});var r=n(7653),l=n(81695),o=n(74859),a=()=>{window.si||(window.si=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.siq=window.siq||[]).push(t)})};function i(){return false}function u(e){return new RegExp("/".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"))}function s(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,r.useRef)(null);return(0,r.useEffect)(()=>
1{if(t.current)e.route&&t.current(e.route);else{var n,r;let l=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!("undefined"!=typeof window)||null===t.route)return null;a();let n=t.scriptSrc?t.scriptSrc:t.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":t.basePath?"".concat(t.basePath,"/speed-insights/script.js"):"/_vercel/speed-insights/script.js";if(document.head.querySelector('script[src*="'.concat(n,'"]')))return null;t.beforeSend&&(null==(e=window.si)||e.call(window,"beforeSend",t.beforeSend));let r=document.createElement("script");return r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/speed-insights"+(t.framework?"/".concat(t.framework):""),r.dataset.sdkv="1.3.1",t.sampleRate&&(r.dataset.sampleRate=t.sampleRate.toString()),t.route&&(r.dataset.route=t.route),t.endpoint?r.dataset.endpoint=t.endpoint:t.basePath&&(r.dataset.endpoint="".concat(t.basePath,"/speed-insights/vitals")),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{console.log("[Vercel Speed Insights] Failed to load script from ".concat(n,". Please check if any content blockers are enabled and try again."))},document.head.appendChild(r),{setRoute:e=>{r.dataset.route=null!=e?e:void 0}}}({framework:null!==(n=e.framework)&&void 0!==n?n:"react",basePath:null!==(r=e.basePath)&&void 0!==r?r:function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});l&&(t.current=l.setRoute)}},[e.route]),null}var c=()=>{let e=(0,l.useParams)(),t=(0,l.useSearchParams)()||new URLSearchParams,n=(0,l.usePathname)();return e?function(e,t){if(!e||!t)return e;let n=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=u(r);e.test(n)&&(n=n.replace(e,"/[".concat(t,"]")))}for(let[t,r]of e)if(Array.isArray(r)){let e=u(r.join("/"));e.test(n)&&(n=n.replace(e,"/[...".concat(t,"]")))}return n}catch(t){return e}}(n,Object.keys(e).length?e:Object.fromEntries(t.entries())):null};function d(e){let t=c();return r.createElement(s,{route:t,...e,framework:"next",basePath:function(){if(void 0!==o&&void 0!==o.env)return o.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}function f(e){return r.createElement(r.Suspense,{fallback:null},r.createElement(d,{...e}))}},64391:function(e,t,n){"use strict";let r;n.d(t,{mY:function(){return eJ}});var l,o=/[\\\/_+.#"@\[\(\{&]/,a=/[\\\/_+.#"@\[\(\{&]/g,i=/[\s-]/,u=/[\s-]/g;function s(e){return e.toLowerCase().replace(u," ")}var c=n(7653),d=n.t(c,2);function f(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function p(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function v(...e){return t=>{let n=!1,r=e.map(e=>{let r=p(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():p(e[t],null)}}}}function m(...e){return c.useCallback(v(...e),e)}"undefined"!=typeof window&&window.document&&window.document.createElement;var b=n(27573),h=globalThis?.document?c.useLayoutEffect:()=>{},y=d[" useId ".trim().toString()]||(()=>void 0),g=0;function w(e){let[t,n]=c.useState(y());return h(()=>{e||n(e=>e??String(g++))},[e]),e||(t?`radix-${t}`:"")}var E=d[" useInsertionEffect ".trim().toString()]||h;Symbol("RADIX:SYNC_STATE");var _=n(3458);function S(e){let t=function(e){let t=c.forwardRef((e,t)=>{let{children:n,...r}=e;if(c.isValidElement(n)){let e,l;let o=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let l=e[r],o=t[r];/^on[A-Z]/.test(r)?l&&o?n[r]=(...e)=>{let t=o(...e);return l(...e),t}:l&&(n[r]=l):"style"===r?n[r]={...l,...o}:"className"===r&&(n[r]=[l,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==c.Fragment&&(a.ref=t?v(t,o):o),c.cloneElement(n,a)}return c.Children.count(n)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=c.forwardRef((e,n)=>{let{children:r,...l}=e,o=c.Children.toArray(r),a=o.find(R);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:c.Children.count(e)>1?c.Children.only(null):c.isValidElement(e)?e.props.children:null);return(0,b.jsx)(t,{...l,ref:n,children:c.isValidElement(e)?c.cloneElement(e,void 0,r):null})}return(0,b.jsx)(t,{...l,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var x=Symbol("radix.slottable");function R(e){return c.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var C=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=S(`Primitive.${t}`),r=c.forwardRef((e,r)=>{let{asChild:l,...o}=e,a=l?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,b.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function P(e){let t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...e)=>t.current?.(...e),[])}var N="dismissableLayer.update",k=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),I=c.forwardRef((e,t)=>{var n,r;let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:u,onInteractOutside:s,onDismiss:d,...p}=e,v=c.useContext(k),[h,y]=c.useState(null),g=null!==(r=null==h?void 0:h.ownerDocument)&&void 0!==r?r:null===(n=globalThis)||void 0===n?void 0:n.document,[,w]=c.useState({}),E=m(t,e=>y(e)),_=Array.from(v.layers),[S]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),x=_.indexOf(S),R=h?_.indexOf(h):-1,I=v.layersWithOutsidePointerEventsDisabled.size>0,O=R>=x,j=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=P(e),l=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{let e=e=>{if(e.target&&!l.current){let t=function(){D("dismissableLayer.pointerDownOutside",r,l,{discrete:!0})},l={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=t,n.addEventListener("click",o.current,{once:!0})):t()}else n.removeEventListener("click",o.current);l.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>l.current=!0}}(e=>{let t=e.target,n=[...v.branches].some(e=>e.contains(t));!O||n||(null==i||i(e),null==s||s(e),e.defaultPrevented||null==d||d())},g),F=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=P(e),l=c.useRef(!1);return c.useEffect(()=>{let e=e=>{e.target&&!l.current&&D("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}(e=>{let t=e.target;[...v.branches].some(e=>e.contains(t))||(null==u||u(e),null==s||s(e),e.defaultPrevented||null==d||d())},g);return!function(e,t=globalThis?.document){let n=P(e);c.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{R!==v.layers.size-1||(null==a||a(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},g),c.useEffect(()=>{if(h)return o&&(0===v.layersWithOutsidePointerEventsDisabled.size&&(l=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(h)),v.layers.add(h),A(),()=>{o&&1===v.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=l)}},[h,g,o,v]),c.useEffect(()=>()=>{h&&(v.layers.delete(h),v.layersWithOutsidePointerEventsDisabled.delete(h),A())},[h,v]),c.useEffect(()=>{let e=()=>w({});return document.addEventListener(N,e),()=>document.removeEventListener(N,e)},[]),(0,b.jsx)(C.div,{...p,ref:E,style:{pointerEvents:I?O?"auto":"none":void 0,...e.style},onFocusCapture:f(e.onFocusCapture,F.onFocusCapture),onBlurCapture:f(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:f(e.onPointerDownCapture,j.onPointerDownCapture)})});function A(){let e=new CustomEvent(N);document.dispatchEvent(e)}function D(e,t,n,r){let{discrete:l}=r,o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&o.addEventListener(e,t,{once:!0}),l)?o&&_.flushSync(()=>o.dispatchEvent(a)):o.dispatchEvent(a)}I.displayName="DismissableLayer",c.forwardRef((e,t)=>{let n=c.useContext(k),r=c.useRef(null),l=m(t,r);return c.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,b.jsx)(C.div,{...e,ref:l})}).displayName="DismissableLayerBranch";var O=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=S(`Primitive.${t}`),r=c.forwardRef((e,r)=>{let{asChild:l,...o}=e,a=l?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,b.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),j="focusScope.autoFocusOnMount",F="focusScope.autoFocusOnUnmount",L={bubbles:!1,cancelable:!0},T=c.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:l,onUnmountAutoFocus:o,...a}=e,[i,u]=c.useState(null),s=P(l),d=P(o),f=c.useRef(null),p=m(t,e=>u(e)),v=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let e=function(e){if(v.paused||!i)return;let t=e.target;i.contains(t)?f.current=t:B(f.current,{select:!0})},t=function(e){if(v.paused||!i)return;let t=e.relatedTarget;null===t||i.contains(t)||B(f.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&B(i)});return i&&n.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,i,v.paused]),c.useEffect(()=>{if(i){W.add(v);let e=document.activeElement;if(!i.contains(e)){let t=new CustomEvent(j,L);i.addEventListener(j,s),i.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(B(r,{select:t}),document.activeElement!==n)return}(M(i).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&B(i))}return()=>{i.removeEventListener(j,s),setTimeout(()=>{let t=new CustomEvent(F,L);i.addEventListener(F,d),i.dispatchEvent(t),t.defaultPrevented||B(null!=e?e:document.body,{select:!0}),i.removeEventListener(F,d),W.remove(v)},0)}}},[i,s,d,v]);let h=c.useCallback(e=>{if(!n&&!r||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,l=document.activeElement;if(t&&l){let t=e.currentTarget,[r,o]=function(e){let t=M(e);return[$(t,e),$(t.reverse(),e)]}(t);r&&o?e.shiftKey||l!==o?e.shiftKey&&l===r&&(e.preventDefault(),n&&B(o,{select:!0})):(e.preventDefault(),n&&B(r,{select:!0})):l===t&&e.preventDefault()}},[n,r,v.paused]);return(0,b.jsx)(O.div,{tabIndex:-1,...a,ref:p,onKeyDown:h})});function M(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function $(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function B(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}T.displayName="FocusScope";var W=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=V(r,e)).unshift(e)},remove(e){var t;null===(t=(r=V(r,e))[0])||void 0===t||t.resume()}});function V(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var U=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=S(`Primitive.${t}`),r=c.forwardRef((e,r)=>{let{asChild:l,...o}=e,a=l?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,b.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),q=c.forwardRef((e,t)=>{var n,r;let{container:l,...o}=e,[a,i]=c.useState(!1);h(()=>i(!0),[]);let u=l||a&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return u?_.createPortal((0,b.jsx)(U.div,{...o,ref:t}),u):null});q.displayName="Portal";var K=e=>{var t,n;let r,l;let{present:o,children:a}=e,i=function(e){var t,n;let[r,l]=c.useState(),o=c.useRef(null),a=c.useRef(e),i=c.useRef("none"),[u,s]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},c.useReducer((e,t)=>
1{let r=n[e][t];return null!=r?r:e},t));return c.useEffect(()=>{let e=z(o.current);i.current="mounted"===u?e:"none"},[u]),h(()=>{let t=o.current,n=a.current;if(n!==e){let r=i.current,l=z(t);e?s("MOUNT"):"none"===l||(null==t?void 0:t.display)==="none"?s("UNMOUNT"):n&&r!==l?s("ANIMATION_OUT"):s("UNMOUNT"),a.current=e}},[e,s]),h(()=>{if(r){var e;let t;let n=null!==(e=r.ownerDocument.defaultView)&&void 0!==e?e:window,l=e=>{let l=z(o.current).includes(CSS.escape(e.animationName));if(e.target===r&&l&&(s("ANIMATION_END"),!a.current)){let e=r.style.animationFillMode;r.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=e)})}},u=e=>{e.target===r&&(i.current=z(o.current))};return r.addEventListener("animationstart",u),r.addEventListener("animationcancel",l),r.addEventListener("animationend",l),()=>{n.clearTimeout(t),r.removeEventListener("animationstart",u),r.removeEventListener("animationcancel",l),r.removeEventListener("animationend",l)}}s("ANIMATION_END")},[r,s]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:c.useCallback(e=>{o.current=e?getComputedStyle(e):null,l(e)},[])}}(o),u="function"==typeof a?a({present:i.isPresent}):c.Children.only(a),s=m(i.ref,(r=null===(t=Object.getOwnPropertyDescriptor(u.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in r&&r.isReactWarning?u.ref:(r=null===(n=Object.getOwnPropertyDescriptor(u,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning?u.props.ref:u.props.ref||u.ref);return"function"==typeof a||i.isPresent?c.cloneElement(u,{ref:s}):null};function z(e){return(null==e?void 0:e.animationName)||"none"}K.displayName="Presence";var H=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=S(`Primitive.${t}`),r=c.forwardRef((e,r)=>{let{asChild:l,...o}=e,a=l?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,b.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),G=0;function Y(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Z=n(84494),X=n(27130),J="Dialog",[Q,ee]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>c.createContext(e));return function(n){let r=n?.[e]||t;return c.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let l=c.createContext(r),o=n.length;n=[...n,r];let a=t=>{let{scope:n,children:r,...a}=t,i=n?.[e]?.[o]||l,u=c.useMemo(()=>a,Object.values(a));return(0,b.jsx)(i.Provider,{value:u,children:r})};return a.displayName=t+"Provider",[a,function(n,a){let i=a?.[e]?.[o]||l,u=c.useContext(i);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let l=n(e)[`__scope${r}`];return{...t,...l}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(J),[et,en]=Q(J),er=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:l,onOpenChange:o,modal:a=!0}=e,i=c.useRef(null),u=c.useRef(null),[s,d]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[l,o,a]=function({defaultProp:e,onChange:t}){let[n,r]=c.useState(e),l=c.useRef(n),o=c.useRef(t);return E(()=>{o.current=t},[t]),c.useEffect(()=>{l.current!==n&&(o.current?.(n),l.current=n)},[n,l]),[n,r,o]}({defaultProp:t,onChange:n}),i=void 0!==e,u=i?e:l;{let t=c.useRef(void 0!==e);c.useEffect(()=>{let e=t.current;if(e!==i){let t=i?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=i},[i,r])}return[u,c.useCallback(t=>{if(i){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else o(t)},[i,e,o,a])]}({prop:r,defaultProp:null!=l&&l,onChange:o,caller:J});return(0,b.jsx)(et,{scope:t,triggerRef:i,contentRef:u,contentId:w(),titleId:w(),descriptionId:w(),open:s,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(e=>!e),[d]),modal:a,children:n})};er.displayName=J;var el="DialogTrigger";c.forwardRef((e,t)=>
1{let{__scopeDialog:n,...r}=e,l=en(el,n),o=m(t,l.triggerRef);return(0,b.jsx)(H.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":eE(l.open),...r,ref:o,onClick:f(e.onClick,l.onOpenToggle)})}).displayName=el;var eo="DialogPortal",[ea,ei]=Q(eo,{forceMount:void 0}),eu=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:l}=e,o=en(eo,t);return(0,b.jsx)(ea,{scope:t,forceMount:n,children:c.Children.map(r,e=>(0,b.jsx)(K,{present:n||o.open,children:(0,b.jsx)(q,{asChild:!0,container:l,children:e})}))})};eu.displayName=eo;var es="DialogOverlay",ec=c.forwardRef((e,t)=>{let n=ei(es,e.__scopeDialog),{forceMount:r=n.forceMount,...l}=e,o=en(es,e.__scopeDialog);return o.modal?(0,b.jsx)(K,{present:r||o.open,children:(0,b.jsx)(ef,{...l,ref:t})}):null});ec.displayName=es;var ed=S("DialogOverlay.RemoveScroll"),ef=c.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=en(es,n);return(0,b.jsx)(Z.Z,{as:ed,allowPinchZoom:!0,shards:[l.contentRef],children:(0,b.jsx)(H.div,{"data-state":eE(l.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ep="DialogContent",ev=c.forwardRef((e,t)=>{let n=ei(ep,e.__scopeDialog),{forceMount:r=n.forceMount,...l}=e,o=en(ep,e.__scopeDialog);return(0,b.jsx)(K,{present:r||o.open,children:o.modal?(0,b.jsx)(em,{...l,ref:t}):(0,b.jsx)(eb,{...l,ref:t})})});ev.displayName=ep;var em=c.forwardRef((e,t)=>{let n=en(ep,e.__scopeDialog),r=c.useRef(null),l=m(t,n.contentRef,r);return c.useEffect(()=>{let e=r.current;if(e)return(0,X.Ry)(e)},[]),(0,b.jsx)(eh,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:f(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:f(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:f(e.onFocusOutside,e=>e.preventDefault())})}),eb=c.forwardRef((e,t)=>{let n=en(ep,e.__scopeDialog),r=c.useRef(!1),l=c.useRef(!1);return(0,b.jsx)(eh,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,l.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(l.current=!0));let i=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),eh=c.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:l,onCloseAutoFocus:o,...a}=e,i=en(ep,n),u=c.useRef(null),s=m(t,u);return c.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Y()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Y()),G++,()=>{1===G&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),G--}},[]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(T,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:l,onUnmountAutoFocus:o,children:(0,b.jsx)(I,{role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":eE(i.open),...a,ref:s,onDismiss:()=>i.onOpenChange(!1)})}),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(eR,{titleId:i.titleId}),(0,b.jsx)(eC,{contentRef:u,descriptionId:i.descriptionId})]})]})}),ey="DialogTitle";c.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=en(ey,n);return(0,b.jsx)(H.h2,{id:l.titleId,...r,ref:t})}).displayName=ey;var eg="DialogDescription";c.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=en(eg,n);return(0,b.jsx)(H.p,{id:l.descriptionId,...r,ref:t})}).displayName=eg;var ew="DialogClose";function eE(e){return e?"open":"closed"}c.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=en(ew,n);return(0,b.jsx)(H.button,{type:"button",...r,ref:t,onClick:f(e.onClick,()=>l.onOpenChange(!1))})}).displayName=ew;var e_="DialogTitleWarning",[eS,ex]=function(e,t){let n=c.createContext(t),r=e=>{let{children:t,...r}=e,l=c.useMemo(()=>r,Object.values(r));return(0,b.jsx)(n.Provider,{value:l,children:t})};return r.displayName=e+"Provider",[r,function(r){let l=c.useContext(n);if(l)return l;if(void 0!==t)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}]}(e_,{contentName:ep,titleName:ey,docsSlug:"dialog"}),eR=e=>{let{titleId:t}=e,n=ex(e_),r="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return c.useEffect(()=>{t&&!document.getElementById(t)&&console.error(r)},[r,t]),null},eC=e=>{let{contentRef:t,descriptionId:n}=e,r=ex("DialogDescriptionWarning"),l="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return c.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(l)},[l,t,n]),null},eP=Symbol.for("react.lazy"),eN=d[" use ".trim().toString()];function ek(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===eP&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var eI=Symbol("radix.slottable");function eA(e){return c.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eI}var eD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=function(e){let t=function(e){let t=c.forwardRef((e,t)=>{let{children:n,...r}=e;if(ek(n)&&"function"==typeof eN&&(n=eN(n._payload)),c.isValidElement(n)){var l;let e,o;let a=(l=n,(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?l.ref:(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?l.props.ref:l.props.ref||l.ref),i=function(e,t){let n={...t};for(let r in t){let l=e[r],o=t[r];/^on[A-Z]/.test(r)?l&&o?n[r]=(...e)=>{let t=o(...e);return l(...e),t}:l&&(n[r]=l):"style"===r?n[r]={...l,...o}:"className"===r&&(n[r]=[l,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==c.Fragment&&(i.ref=t?v(t,a):a),c.cloneElement(n,i)}return c.Children.count(n)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=c.forwardRef((e,n)=>{let{children:r,...l}=e;ek(r)&&"function"==typeof eN&&(r=eN(r._payload));let o=c.Children.toArray(r),a=o.find(eA);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:c.Children.count(e)>1?c.Children.only(null):c.isValidElement(e)?e.props.children:null);return(0,b.jsx)(t,{...l,ref:n,children:c.isValidElement(e)?c.cloneElement(e,void 0,r):null})}return(0,b.jsx)(t,{...l,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=c.forwardRef((e,r)=>{let{asChild:l,...o}=e,a=l?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,b.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),eO='[cmdk-group=""]',ej='[cmdk-group-items=""]',eF='[cmdk-item=""]',eL="".concat(eF,':not([aria-disabled="true"])'),eT="cmdk-item-select",eM="data-value",e$=(e,t,n)=>{var r;return r=e,function e(t,n,r,l,s,c,d){if(c===n.length)return s===t.length?1:.99;var f=`${s},${c}`;if(void 0!==d[f])return d[f];for(var p,v,m,b,h=l.charAt(c),y=r.indexOf(h,s),g=0;y>=0;)(p=e(t,n,r,l,y+1,c+1,d))>g&&(y===s?p*=1:o.test(t.charAt(y-1))?(p*=.8,(m=t.slice(s,y-1).match(a))&&s>0&&(p*=Math.pow(.999,m.length))):i.test(t.charAt(y-1))?(p*=.9,(b=t.slice(s,y-1).match(u))&&s>0&&(p*=Math.pow(.999,b.length))):(p*=.17,s>0&&(p*=Math.pow(.999,y-s))),t.charAt(y)!==n.charAt(c)&&(p*=.9999)),(p<.1&&r.charAt(y-1)===l.charAt(c+1)||l.charAt(c+1)===l.charAt(c)&&r.charAt(y-1)!==l.charAt(c))&&.1*(v=e(t,n,r,l,y+1,c+2,d))>p&&(p=.1*v),p>g&&(g=p),y=r.indexOf(h,y+1);return d[f]=g,g}(r=n&&n.length>0?`${r+" "+n.join(" ")}`:r,t,s(r),s(t),0,0,{})},eB=c.createContext(void 0),eW=()=>c.useContext(eB),eV=c.createContext(void 0),eU=()=>c.useContext(eV),eq=c.createContext(void 0),eK=c.forwardRef((e,t)=>{let n=e1(()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=e1(()=>new Set),l=e1(()=>new Map),o=e1(()=>new Map),a=e1(()=>new Set),i=eQ(e),{label:u,children:s,value:d,onValueChange:f,filter:p,shouldFilter:v,loop:m,disablePointerSelection:b=!1,vimBindings:h=!0,...y}=e,g=w(),E=w(),_=w(),S=c.useRef(null),x=e8();e0(()=>{if(void 0!==d){let e=d.trim();n.current.value=e,R.emit()}},[d]),e0(()=>{x(6,A)},[]);let R=c.useMemo(()=>({subscribe:e=>(a.current.add(e),()=>a.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var l,o,a,u;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)I(),N(),x(1,k);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(_);e?e.focus():null==(l=document.getElementById(g))||l.focus()}if(x(7,()=>{var e;n.current.selectedItemId=null==(e=D())?void 0:e.id,R.emit()}),r||x(5,A),(null==(o=i.current)?void 0:o.value)!==void 0){null==(u=(a=i.current).onValueChange)||u.call(a,null!=t?t:"");return}}R.emit()}},emit:()=>{a.current.forEach(e=>e())}}),[]),C=c.useMemo(()=>({value:(e,t,r)=>{var l;t!==(null==(l=o.current.get(e))?void 0:l.value)&&(o.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,P(t,r)),x(2,()=>{N(),R.emit()}))},item:(e,t)=>(r.current.add(e),t&&(l.current.has(t)?l.current.get(t).add(e):l.current.set(t,new Set([e]))),x(3,()=>{I(),N(),n.current.value||k(),R.emit()}),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=D();x(4,()=>{I(),(null==t?void 0:t.getAttribute("id"))===e&&k(),R.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:g,inputId:_,labelId:E,listInnerRef:S}),[]);function P(e,t){var r,l;let o=null!=(l=null==(r=i.current)?void 0:r.filter)?l:e$;return e?o(e,n.current.search,t):0}function N(){if(!n.current.search||!1===i.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=l.current.get(n),o=0;r.forEach(t=>{o=Math.max(e.get(t),o)}
1),t.push([n,o])});let r=S.current;O().sort((t,n)=>{var r,l;let o=t.getAttribute("id"),a=n.getAttribute("id");return(null!=(r=e.get(a))?r:0)-(null!=(l=e.get(o))?l:0)}).forEach(e=>{let t=e.closest(ej);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(ej," > *"))):r.appendChild(e.parentElement===r?e:e.closest("".concat(ej," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let n=null==(t=S.current)?void 0:t.querySelector("".concat(eO,"[").concat(eM,'="').concat(encodeURIComponent(e[0]),'"]'));null==n||n.parentElement.appendChild(n)})}function k(){let e=O().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(eM);R.setState("value",t||void 0)}function I(){var e,t,a,u;if(!n.current.search||!1===i.current.shouldFilter){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let s=0;for(let l of r.current){let r=P(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:[]);n.current.filtered.items.set(l,r),r>0&&s++}for(let[e,t]of l.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=s}function A(){var e,t,n;let r=D();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(eO))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function D(){var e;return null==(e=S.current)?void 0:e.querySelector("".concat(eF,'[aria-selected="true"]'))}function O(){var e;return Array.from((null==(e=S.current)?void 0:e.querySelectorAll(eL))||[])}function j(e){let t=O()[e];t&&R.setState("value",t.getAttribute(eM))}function F(e){var t;let n=D(),r=O(),l=r.findIndex(e=>e===n),o=r[l+e];null!=(t=i.current)&&t.loop&&(o=l+e<0?r[r.length-1]:l+e===r.length?r[0]:r[l+e]),o&&R.setState("value",o.getAttribute(eM))}function L(e){let t=D(),n=null==t?void 0:t.closest(eO),r;for(;n&&!r;)r=null==(n=e>0?function(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}(n,eO):function(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}(n,eO))?void 0:n.querySelector(eL);r?R.setState("value",r.getAttribute(eM)):F(e)}let T=()=>j(O().length-1),M=e=>{e.preventDefault(),e.metaKey?T():e.altKey?L(1):F(1)},$=e=>{e.preventDefault(),e.metaKey?j(0):e.altKey?L(-1):F(-1)};return c.createElement(eD.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=y.onKeyDown)||t.call(y,e);let n=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||n))switch(e.key){case"n":case"j":h&&e.ctrlKey&&M(e);break;case"ArrowDown":M(e);break;case"p":case"k":h&&e.ctrlKey&&$(e);break;case"ArrowUp":$(e);break;case"Home":e.preventDefault(),j(0);break;case"End":e.preventDefault(),T();break;case"Enter":{e.preventDefault();let t=D();if(t){let e=new Event(eT);t.dispatchEvent(e)}}}}},c.createElement("label",{"cmdk-label":"",htmlFor:C.inputId,id:C.labelId,style:e6},u),e4(e,e=>c.createElement(eV.Provider,{value:R},c.createElement(eB.Provider,{value:C},e))))}),ez=c.forwardRef((e,t)=>{var n,r;let l=w(),o=c.useRef(null),a=c.useContext(eq),i=eW(),u=eQ(e),s=null!=(r=null==(n=u.current)?void 0:n.forceMount)?r:null==a?void 0:a.forceMount;e0(()=>{if(!s)return i.item(l,null==a?void 0:a.id)},[s]);let d=e9(l,o,[e.value,e.children,o],e.keywords),f=eU(),p=e3(e=>e.value&&e.value===d.current),m=e3(e=>!!s||!1===i.filter()||!e.search||e.filtered.items.get(l)>0);function b(){var e,t;h(),null==(t=(e=u.current).onSelect)||t.call(e,d.current)}function h(){f.setState("value",d.current,!0)}if(c.useEffect(()=>{let t=o.current;if(!(!t||e.disabled))return t.addEventListener(eT,b),()=>t.removeEventListener(eT,b)},[m,e.onSelect,e.disabled]),!m)return null;let{disabled:y,value:g,onSelect:E,forceMount:_,keywords:S,...x}=e;return c.createElement(eD.div,{ref:v(o,t),...x,id:l,"cmdk-item":"",role:"option","aria-disabled":!!y,"aria-selected":!!p,"data-disabled":!!y,"data-selected":!!p,onPointerMove:y||i.getDisablePointerSelection()?void 0:h,onClick:y?void 0:b},e.children)}),eH=c.forwardRef((e,t)=>
1{let{heading:n,children:r,forceMount:l,...o}=e,a=w(),i=c.useRef(null),u=c.useRef(null),s=w(),d=eW(),f=e3(e=>!!l||!1===d.filter()||!e.search||e.filtered.groups.has(a));e0(()=>d.group(a),[]),e9(a,i,[e.value,e.heading,u]);let p=c.useMemo(()=>({id:a,forceMount:l}),[l]);return c.createElement(eD.div,{ref:v(i,t),...o,"cmdk-group":"",role:"presentation",hidden:!f||void 0},n&&c.createElement("div",{ref:u,"cmdk-group-heading":"","aria-hidden":!0,id:s},n),e4(e,e=>c.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?s:void 0},c.createElement(eq.Provider,{value:p},e))))}),eG=c.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,l=c.useRef(null),o=e3(e=>!e.search);return n||o?c.createElement(eD.div,{ref:v(l,t),...r,"cmdk-separator":"",role:"separator"}):null}),eY=c.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,l=null!=e.value,o=eU(),a=e3(e=>e.search),i=e3(e=>e.selectedItemId),u=eW();return c.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),c.createElement(eD.input,{ref:t,...r,"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==n||n(e.target.value)}})}),eZ=c.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...l}=e,o=c.useRef(null),a=c.useRef(null),i=e3(e=>e.selectedItemId),u=eW();return c.useEffect(()=>{if(a.current&&o.current){let e=a.current,t=o.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.offsetHeight;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),c.createElement(eD.div,{ref:v(o,t),...l,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":i,"aria-label":r,id:u.listId},e4(e,e=>c.createElement("div",{ref:v(a,u.listInnerRef),"cmdk-list-sizer":""},e)))}),eX=c.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:l,contentClassName:o,container:a,...i}=e;return c.createElement(er,{open:n,onOpenChange:r},c.createElement(eu,{container:a},c.createElement(ec,{"cmdk-overlay":"",className:l}),c.createElement(ev,{"aria-label":e.label,"cmdk-dialog":"",className:o},c.createElement(eK,{ref:t,...i}))))}),eJ=Object.assign(eK,{List:eZ,Item:ez,Input:eY,Group:eH,Separator:eG,Dialog:eX,Empty:c.forwardRef((e,t)=>e3(e=>0===e.filtered.count)?c.createElement(eD.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:c.forwardRef((e,t)=>{let{progress:n,children:r,label:l="Loading...",...o}=e;return c.createElement(eD.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":l},e4(e,e=>c.createElement("div",{"aria-hidden":!0},e)))})});function eQ(e){let t=c.useRef(e);return e0(()=>{t.current=e}),t}var e0="undefined"==typeof window?c.useEffect:c.useLayoutEffect;function e1(e){let t=c.useRef();return void 0===t.current&&(t.current=e()),t}function e3(e){let t=eU(),n=()=>e(t.snapshot());return c.useSyncExternalStore(t.subscribe,n,n)}function e9(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=c.useRef(),o=eW();return e0(()=>{var a;let i=(()=>{var e;for(let t of n){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=r.map(e=>e.trim());o.value(e,i,u),null==(a=t.current)||a.setAttribute(eM,i),l.current=i}),l}var e8=()=>{let[e,t]=c.useState(),n=e1(()=>new Map);return e0(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function e4(e,t){let n,{asChild:r,children:l}=e;return r&&c.isValidElement(l)?c.cloneElement("function"==typeof(n=l.type)?n(l.props):"render"in n?n.render(l.props):l,{ref:l.ref},t(l.props.children)):t(l)}var e6={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}}}]);

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.