PageSourceSearch

https://www.viveka.ai/_next/static/chunks/289-bc6afc9f258e1a8a.js

js viveka.ai collected 2026-10-03 21:15:35 UTC 30,285 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[289],{2808:(e,t,n)=>{n.d(t,{s:()=>l,t:()=>o});var r=n(1121);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(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():i(e[t],null)}}}}function l(...e){return r.useCallback(o(...e),e)}},3206:(e,t,n)=>{n.d(t,{DX:()=>s,TL:()=>l});var r=n(1121),i=n(2808),o=n(9445);function l(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){var l;let e,s,a=(l=n,(s=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(s=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,i.t)(t,a):a),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...l}=e,s=r.Children.toArray(i),a=s.find(u);if(a){let e=a.props.children,i=s.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...l,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}var s=l("Slot"),a=Symbol("radix.slottable");function u(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}}
1,4649:(e,t,n)=>{n.d(t,{c:()=>i});var r=n(1121);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},5289:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(1121),i=globalThis?.document?r.useLayoutEffect:()=>{}},6474:(e,t,n)=>{n.d(t,{UC:()=>eM,C1:()=>eT,q7:()=>eb,N_:()=>eN,B8:()=>eR,bL:()=>ex,l9:()=>eC,LM:()=>eO});var r,i=n(1121),o=n(9460),l=n(6920),s=n(8372),a=n(8748),u=n(6681),c=n(2808),d=n(9445),f=i.createContext(void 0),v=n(8798),p=n(8977);function h(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function m(e,t){var n=h(e,t,"get");return n.get?n.get.call(e):n.value}function w(e,t,n){var r=h(e,t,"set");if(r.set)r.set.call(e,n);else{if(!r.writable)throw TypeError("attempted to set read only private field");r.value=n}return n}var y=n(3206);function g(e){let t=e+"CollectionProvider",[n,r]=(0,l.A)(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=i.useRef(null),l=i.useRef(new Map).current;return(0,d.jsx)(o,{scope:t,itemMap:l,collectionRef:r,children:n})};a.displayName=t;let u=e+"CollectionSlot",f=(0,y.TL)(u),v=i.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=s(u,n),o=(0,c.s)(t,i.collectionRef);return(0,d.jsx)(f,{ref:o,children:r})});v.displayName=u;let p=e+"CollectionItemSlot",h="data-radix-collection-item",m=(0,y.TL)(p),w=i.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,l=i.useRef(null),a=(0,c.s)(t,l),u=s(p,n);return i.useEffect(()=>(u.itemMap.set(l,{ref:l,...o}),()=>void u.itemMap.delete(l))),(0,d.jsx)(m,{...{[h]:""},ref:a,children:r})});return w.displayName=p,[{Provider:a,Slot:v,ItemSlot:w},function(t){let n=s(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var E=new WeakMap;function x(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=R(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return -1===n?void 0:e[n]}function R(e){return e!=e||0===e?0:Math.trunc(e)}r=new WeakMap,class e extends Map{set(e,t){return E.get(this)&&(this.has(e)?m(this,r)[m(this,r).indexOf(e)]=e:m(this,r).push(e)),super.set(e,t),this}insert(e,t,n){let i,o=this.has(t),l=m(this,r).length,s=R(e),a=s>=0?s:l+s,u=a<0||a>=l?-1:a;if(u===this.size||o&&u===this.size-1||-1===u)return this.set(t,n),this;let c=this.size+ +!o;s<0&&a++;let d=[...m(this,r)],f=!1;for(let e=a;e<c;e++)if(a===e){let r=d[e];d[e]===t&&(r=d[e+1]),o&&this.delete(t),i=this.get(r),this.set(t,n)}else{f||d[e-1]!==t||(f=!0);let n=d[f?e:e-1],r=i;i=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=m(this,r).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let i=m(this,r).indexOf(e);return -1===i?this:this.insert(i,t,n)}after(e){let t=m(this,r).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let i=m(this,r).indexOf(e);return -1===i?this:this.insert(i+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return w(this,r,[]),super.clear()}delete(e){let t=super.delete(e);return t&&m(this,r).splice(m(this,r).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=x(m(this,r),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=x(m(this,r),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return m(this,r).indexOf(e)}keyAt(e){return x(m(this,r),e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(r,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);o=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[o,n,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=[...this.entries()];return i.splice(...n),new e(i)}
1slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}constructor(e){super(e),function(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}(this,r,{writable:!0,value:void 0}),w(this,r,[...super.keys()]),E.set(this,!0)}};var b=n(8861),C=n(5289),N=n(4649),T=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),M=i.forwardRef((e,t)=>(0,d.jsx)(a.sG.span,{...e,ref:t,style:{...T,...e.style}}));M.displayName="VisuallyHidden";var O="NavigationMenu",[P,A,j]=g(O),[L,S,D]=g(O),[k,I]=(0,l.A)(O,[j,D]),[_,K]=k(O),[F,z]=k(O),W=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:l,delayDuration:s=200,skipDelayDuration:v=300,orientation:p="horizontal",dir:h,...m}=e,[w,y]=i.useState(null),g=(0,c.s)(t,e=>y(e)),E=function(e){let t=i.useContext(f);return e||t||"ltr"}(h),x=i.useRef(0),R=i.useRef(0),b=i.useRef(0),[C,N]=i.useState(!0),[T,M]=(0,u.i)({prop:r,onChange:e=>{let t=v>0;""!==e?(window.clearTimeout(b.current),t&&N(!1)):(window.clearTimeout(b.current),b.current=window.setTimeout(()=>N(!0),v)),null==o||o(e)},defaultProp:null!=l?l:"",caller:O}),P=i.useCallback(()=>{window.clearTimeout(R.current),R.current=window.setTimeout(()=>M(""),150)},[M]),A=i.useCallback(e=>{window.clearTimeout(R.current),M(e)},[M]),j=i.useCallback(e=>{T===e?window.clearTimeout(R.current):x.current=window.setTimeout(()=>{window.clearTimeout(R.current),M(e)},s)},[T,M,s]);return i.useEffect(()=>()=>{window.clearTimeout(x.current),window.clearTimeout(R.current),window.clearTimeout(b.current)},[]),(0,d.jsx)(U,{scope:n,isRootMenu:!0,value:T,dir:E,orientation:p,rootNavigationMenu:w,onTriggerEnter:e=>{window.clearTimeout(x.current),C?j(e):A(e)},onTriggerLeave:()=>{window.clearTimeout(x.current),P()},onContentEnter:()=>window.clearTimeout(R.current),onContentLeave:P,onItemSelect:e=>{M(t=>t===e?"":e)},onItemDismiss:()=>M(""),children:(0,d.jsx)(a.sG.nav,{"aria-label":"Main","data-orientation":p,dir:E,...m,ref:g})})});W.displayName=O;var G="NavigationMenuSub";i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:i,defaultValue:o,orientation:l="horizontal",...s}=e,c=K(G,n),[f,v]=(0,u.i)({prop:r,onChange:i,defaultProp:null!=o?o:"",caller:G});return(0,d.jsx)(U,{scope:n,isRootMenu:!1,value:f,dir:c.dir,orientation:l,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>v(e),onItemSelect:e=>v(e),onItemDismiss:()=>v(""),children:(0,d.jsx)(a.sG.div,{"data-orientation":l,...s,ref:t})})}).displayName=G;var U=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:l,children:s,value:a,onItemSelect:u,onItemDismiss:c,onTriggerEnter:f,onTriggerLeave:v,onContentEnter:h,onContentLeave:m}=e,[w,y]=i.useState(null),[g,E]=i.useState(new Map),[x,R]=i.useState(null);return(0,d.jsx)(_,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:a,previousValue:function(e){let t=i.useRef({value:e,previous:e});return i.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(a),baseId:(0,p.B)(),dir:o,orientation:l,viewport:w,onViewportChange:y,indicatorTrack:x,onIndicatorTrackChange:R,onTriggerEnter:(0,N.c)(f),onTriggerLeave:(0,N.c)(v),onContentEnter:(0,N.c)(h),onContentLeave:(0,N.c)(m),onItemSelect:(0,N.c)(u),onItemDismiss:(0,N.c)(c),onViewportContentChange:i.useCallback((e,t)=>{E(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:i.useCallback(e=>{E(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,d.jsx)(P.Provider,{scope:t,children:(0,d.jsx)(F,{scope:t,items:g,children:s})})})},V="NavigationMenuList",$=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=K(V,n),o=(0,d.jsx)(a.sG.ul,{"data-orientation":i.orientation,...r,ref:t});return(0,d.jsx)(a.sG.div,{style:{position:"relative"},ref:i.onIndicatorTrackChange,children:(0,d.jsx)(P.Slot,{scope:n,children:i.isRootMenu?(0,d.jsx)(ed,{asChild:!0,children:o}):o})})});$.displayName=V;var B="NavigationMenuItem",[q,H]=k(B),X=i.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,value:r,...o}=e,l=(0,p.B)(),s=i.useRef(null),u=i.useRef(null),c=i.useRef(null),f=i.useRef(()=>{}),v=i.useRef(!1),h=i.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(s.current){f.current();let t=ep(s.current);t.length&&eh("start"===e?t:t.reverse())}},[]),m=i.useCallback(()=>{if(s.current){let e=ep(s.current);e.length&&(f.current=function(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}(e))}},[]);return(0,d.jsx)(q,{scope:n,value:r||l||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:s,focusProxyRef:c,wasEscapeCloseRef:v,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:m,onContentFocusOutside:m,children:(0,d.jsx)(a.sG.li,{...o,ref:t})})});X.displayName=B;var Y="NavigationMenuTrigger",Z=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:r,...o}=e,l=K(Y,e.__scopeNavigationMenu),u=H(Y,e.__scopeNavigationMenu),f=i.useRef(null),v=(0,c.s)(f,u.triggerRef,t),p=ey(l.baseId,u.value),h=eg(l.baseId,u.value),m=i.useRef(!1),w=i.useRef(!1),y=u.value===l.value;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(P.ItemSlot,{scope:n,value:u.value,children:(0,d.jsx)(ev,{asChild:!0,children:(0,d.jsx)(a.sG.button,{id:p,disabled:r,"data-disabled":r?"":void 0,"data-state":ew(y),"aria-expanded":y,"aria-controls":h,...o,ref:v,onPointerEnter:(0,s.mK)(e.onPointerEnter,()=>{w.current=!1,u.wasEscapeCloseRef.current=!1}),onPointerMove:(0,s.mK)(e.onPointerMove,eE(()=>{r||w.current||u.wasEscapeCloseRef.current||m.current||(l.onTriggerEnter(u.value),m.current=!0)})),onPointerLeave:(0,s.mK)(e.onPointerLeave,eE(()=>{r||(l.onTriggerLeave(),m.current=!1)})),onClick:(0,s.mK)(e.onClick,()=>{l.onItemSelect(u.value),w.current=y}),onKeyDown:(0,s.mK)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];y&&e.key===t&&(u.onEntryKeyDown(),e.preventDefault())})})})}),y&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(M,{"aria-hidden":!0,tabIndex:0,ref:u.focu
1sProxyRef,onFocus:e=>{let t=u.contentRef.current,n=e.relatedTarget,r=n===f.current,i=null==t?void 0:t.contains(n);(r||!i)&&u.onFocusProxyEnter(r?"start":"end")}}),l.viewport&&(0,d.jsx)("span",{"aria-owns":h})]})]})});Z.displayName=Y;var J="navigationMenu.linkSelect",Q=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:i,...o}=e;return(0,d.jsx)(ev,{asChild:!0,children:(0,d.jsx)(a.sG.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...o,ref:t,onClick:(0,s.mK)(e.onClick,e=>{let t=e.target,n=new CustomEvent(J,{bubbles:!0,cancelable:!0});if(t.addEventListener(J,e=>null==i?void 0:i(e),{once:!0}),(0,a.hO)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(el,{bubbles:!0,cancelable:!0});(0,a.hO)(t,e)}},{checkForDefaultPrevented:!1})})})});Q.displayName="NavigationMenuLink";var ee="NavigationMenuIndicator",et=i.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=K(ee,e.__scopeNavigationMenu),l=!!i.value;return i.indicatorTrack?o.createPortal((0,d.jsx)(v.C,{present:n||l,children:(0,d.jsx)(en,{...r,ref:t})}),i.indicatorTrack):null});et.displayName=ee;var en=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=K(ee,n),l=A(n),[s,u]=i.useState(null),[c,f]=i.useState(null),v="horizontal"===o.orientation,p=!!o.value;i.useEffect(()=>{var e;let t=null==(e=l().find(e=>e.value===o.value))?void 0:e.ref.current;t&&u(t)},[l,o.value]);let h=()=>{s&&f({size:v?s.offsetWidth:s.offsetHeight,offset:v?s.offsetLeft:s.offsetTop})};return em(s,h),em(o.indicatorTrack,h),c?(0,d.jsx)(a.sG.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":o.orientation,...r,ref:t,style:{position:"absolute",...v?{left:0,width:c.size+"px",transform:"translateX(".concat(c.offset,"px)")}:{top:0,height:c.size+"px",transform:"translateY(".concat(c.offset,"px)")},...r.style}}):null}),er="NavigationMenuContent",ei=i.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=K(er,e.__scopeNavigationMenu),o=H(er,e.__scopeNavigationMenu),l=(0,c.s)(o.contentRef,t),a=o.value===i.value,u={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...r};return i.viewport?(0,d.jsx)(eo,{forceMount:n,...u,ref:l}):(0,d.jsx)(v.C,{present:n||a,children:(0,d.jsx)(es,{"data-state":ew(a),...u,ref:l,onPointerEnter:(0,s.mK)(e.onPointerEnter,i.onContentEnter),onPointerLeave:(0,s.mK)(e.onPointerLeave,eE(i.onContentLeave)),style:{pointerEvents:!a&&i.isRootMenu?"none":void 0,...u.style}})})});ei.displayName=er;var eo=i.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=K(er,e.__scopeNavigationMenu);return(0,C.N)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,C.N)(()=>()=>r(e.value),[e.value,r]),null}),el="navigationMenu.rootContentDismiss",es=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:l,wasEscapeCloseRef:a,onRootContentClose:u,onContentFocusOutside:f,...v}=e,p=K(er,n),h=i.useRef(null),m=(0,c.s)(h,t),w=ey(p.baseId,r),y=eg(p.baseId,r),g=A(n),E=i.useRef(null),{onItemDismiss:x}=p;i.useEffect(()=>{let e=h.current;if(p.isRootMenu&&e){let t=()=>{var t;x(),u(),e.contains(document.activeElement)&&(null==(t=o.current)||t.focus())};return e.addEventListener(el,t),()=>e.removeEventListener(el,t)}},[p.isRootMenu,e.value,o,x,u]);let R=i.useMemo(()=>{let e=g().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),n=e.indexOf(p.previousValue),i=r===p.value,o=n===e.indexOf(r);if(!i&&!o)return E.current;let l=(()=>{if(t!==n){if(i&&-1!==n)return t>n?"from-end":"from-start";if(o&&-1!==t)return t>n?"to-start":"to-end"}return null})();return E.current=l,l},[p.previousValue,p.value,p.dir,g,r]);return(0,d.jsx)(ed,{asChild:!0,children:(0,d.jsx)(b.qW,{id:y,"aria-labelledby":w,"data-motion":R,"data-orientation":p.orientation,...v,ref:m,disableOutsidePointerEvents:!1,onDismiss:()=>{var e;let t=new Event(el,{bubbles:!0,cancelable:!0});null==(e=h.current)||e.dispatchEvent(t)},onFocusOutside:(0,s.mK)(e.onFocusOutside,e=>{var t;f();let n=e.target;(null==(t=p.rootNavigationMenu)?void 0:t.contains(n))&&e.preventDefault()}),onPointerDownOutside:(0,s.mK)(e.onPointerDownOutside,e=>{var t;let n=e.target,r=g().some(e=>{var t;return null==(t=e.ref.current)?void 0:t.contains(n)}),i=p.isRootMenu&&(null==(t=p.viewport)?void 0:t.contains(n));(r||i||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,s.mK)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ep(e.currentTarget),r=document.activeElement,i=t.findIndex(e=>e===r);if(eh(e.shiftKey?t.slice(0,i).reverse():t.slice(i+1,t.length)))e.preventDefault();else{var n;null==(n=l.current)||n.focus()}}}),onEscapeKeyDown:(0,s.mK)(e.onEscapeKeyDown,e=>{a.current=!0})})})}),ea="NavigationMenuViewport",eu=i.forwardRef((e,t)=>
1{let{forceMount:n,...r}=e,i=!!K(ea,e.__scopeNavigationMenu).value;return(0,d.jsx)(v.C,{present:n||i,children:(0,d.jsx)(ec,{...r,ref:t})})});eu.displayName=ea;var ec=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:r,...o}=e,l=K(ea,n),u=(0,c.s)(t,l.onViewportChange),f=z(er,e.__scopeNavigationMenu),[p,h]=i.useState(null),[m,w]=i.useState(null),y=p?(null==p?void 0:p.width)+"px":void 0,g=p?(null==p?void 0:p.height)+"px":void 0,E=!!l.value,x=E?l.value:l.previousValue;return em(m,()=>{m&&h({width:m.offsetWidth,height:m.offsetHeight})}),(0,d.jsx)(a.sG.div,{"data-state":ew(E),"data-orientation":l.orientation,...o,ref:u,style:{pointerEvents:!E&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":y,"--radix-navigation-menu-viewport-height":g,...o.style},onPointerEnter:(0,s.mK)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,s.mK)(e.onPointerLeave,eE(l.onContentLeave)),children:Array.from(f.items).map(e=>{let[t,{ref:n,forceMount:r,...i}]=e,o=x===t;return(0,d.jsx)(v.C,{present:r||o,children:(0,d.jsx)(es,{...i,ref:(0,c.t)(n,e=>{o&&e&&w(e)})})},t)})})}),ed=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=K("FocusGroup",n);return(0,d.jsx)(L.Provider,{scope:n,children:(0,d.jsx)(L.Slot,{scope:n,children:(0,d.jsx)(a.sG.div,{dir:i.dir,...r,ref:t})})})}),ef=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ev=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=S(n),o=K("FocusGroupItem",n);return(0,d.jsx)(L.ItemSlot,{scope:n,children:(0,d.jsx)(a.sG.button,{...r,ref:t,onKeyDown:(0,s.mK)(e.onKeyDown,e=>{if(["Home","End",...ef].includes(e.key)){let t=i().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ef.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eh(t)),e.preventDefault()}})})})});function ep(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 eh(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function em(e,t){let n=(0,N.c)(t);(0,C.N)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function ew(e){return e?"open":"closed"}function ey(e,t){return"".concat(e,"-trigger-").concat(t)}function eg(e,t){return"".concat(e,"-content-").concat(t)}function eE(e){return t=>"mouse"===t.pointerType?e(t):void 0}var ex=W,eR=$,eb=X,eC=Z,eN=Q,eT=et,eM=ei,eO=eu},6681:(e,t,n)=>{n.d(t,{i:()=>s});var r,i=n(1121),o=n(5289),l=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,s,a]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),s=i.useRef(t);return l(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"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=u},[u,r])}return[c,i.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else s(t)},[u,e,s,a])]}Symbol("RADIX:SYNC_STATE")},6920:(e,t,n)=>{n.d(t,{A:()=>l,q:()=>o});var r=n(1121),i=n(9445);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,l=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:l,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function l(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let l=r.createContext(o),s=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,u=n?.[e]?.[s]||l,c=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(u.Provider,{value:c,children:o})};return a.displayName=t+"Provider",[a,function(n,i){let a=i?.[e]?.[s]||l,u=r.useContext(a);if(u)return u;if(void 0!==o)return o;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 i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}},7908:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(4448).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])}
1,8372:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement},8748:(e,t,n)=>{n.d(t,{hO:()=>a,sG:()=>s});var r=n(1121),i=n(9460),o=n(3206),l=n(9445),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function a(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},8798:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(1121),i=n(2808),o=n(5289),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[i,l]=r.useState(),a=r.useRef(null),u=r.useRef(e),c=r.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=s(a.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=a.current,n=u.current;if(n!==e){let r=c.current,i=s(t);e?f("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,o.N)(()=>{if(i){var e;let t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=e=>{let r=s(a.current).includes(CSS.escape(e.animationName));if(e.target===i&&r&&(f("ANIMATION_END"),!u.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(c.current=s(a.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,l(e)},[])}}(t),a="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),u=(0,i.s)(l.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(a));return"function"==typeof n||l.isPresent?r.cloneElement(a,{ref:u}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},8861:(e,t,n)=>{n.d(t,{qW:()=>f});var r,i=n(1121),o=n(8372),l=n(8748),s=n(2808),a=n(4649),u=n(9445),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=i.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:m,onPointerDownOutside:w,onFocusOutside:y,onInteractOutside:g,onDismiss:E,...x}=e,R=i.useContext(d),[b,C]=i.useState(null),N=null!=(f=null==b?void 0:b.ownerDocument)?f:null==(n=globalThis)?void 0:n.document,[,T]=i.useState({}),M=(0,s.s)(t,e=>C(e)),O=Array.from(R.layers),[P]=[...R.layersWithOutsidePointerEventsDisabled].slice(-1),A=O.indexOf(P),j=b?O.indexOf(b):-1,L=R.layersWithOutsidePointerEventsDisabled.size>0,S=j>=A,D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,a.c)(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){p("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...R.branches].some(e=>e.contains(t));S&&!n&&(null==w||w(e),null==g||g(e),e.defaultPrevented||null==E||E())},N),k=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,a.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>
1{e.target&&!o.current&&p("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...R.branches].some(e=>e.contains(t))&&(null==y||y(e),null==g||g(e),e.defaultPrevented||null==E||E())},N);return!function(e,t=globalThis?.document){let n=(0,a.c)(e);i.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=>{j===R.layers.size-1&&(null==m||m(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))},N),i.useEffect(()=>{if(b)return h&&(0===R.layersWithOutsidePointerEventsDisabled.size&&(r=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),R.layersWithOutsidePointerEventsDisabled.add(b)),R.layers.add(b),v(),()=>{h&&1===R.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=r)}},[b,N,h,R]),i.useEffect(()=>()=>{b&&(R.layers.delete(b),R.layersWithOutsidePointerEventsDisabled.delete(b),v())},[b,R]),i.useEffect(()=>{let e=()=>T({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(l.sG.div,{...x,ref:M,style:{pointerEvents:L?S?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,k.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,D.onPointerDownCapture)})});function v(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?(0,l.hO)(o,s):o.dispatchEvent(s)}f.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(d),r=i.useRef(null),o=(0,s.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(l.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},8977:(e,t,n)=>{n.d(t,{B:()=>a});var r,i=n(1121),o=n(5289),l=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function a(e){let[t,n]=i.useState(l());return(0,o.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}}}]);

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.