PageSourceSearch

https://fairfieldcountycaptains.com/assets/radix-ui-BiySu13K.js

js fairfieldcountycaptains.com collected 2026-10-04 21:40:53 UTC 31,818 bytes, 9 lines download raw bytes

vendor: 18,458 bytes, lines 1-9
1import{r as Be,g as ze,a as s,j as v,R as ee,b as L}from"./query-Ban24u4e.js";var H={exports:{}},P={};/**
2 * @license React
3 * react-dom.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ae;function He(){if(ae)return P;ae=1;var e=Be();function t(c){var i="https://react.dev/errors/"+c;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)i+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+c+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(t(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},n=Symbol.for("react.portal");function a(c,i,d){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:n,key:f==null?null:""+f,children:c,containerInfo:i,implementation:d}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(c,i){if(c==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}return P.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,P.createPortal=function(c,i){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error(t(299));return a(c,i,null,d)},P.flushSync=function(c){var i=u.T,d=r.p;try{if(u.T=null,r.p=2,c)return c()}finally{u.T=i,r.p=d,r.d.f()}},P.preconnect=function(c,i){typeof c=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,r.d.C(c,i))},P.prefetchDNS=function(c){typeof c=="string"&&r.d.D(c)},P.preinit=function(c,i){if(typeof c=="string"&&i&&typeof i.as=="string"){var d=i.as,f=l(d,i.crossOrigin),p=typeof i.integrity=="string"?i.integrity:void 0,E=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;d==="style"?r.d.S(c,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:f,integrity:p,fetchPriority:E}):d==="script"&&r.d.X(c,{crossOrigin:f,integrity:p,fetchPriority:E,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},P.preinitModule=function(c,i){if(typeof c=="string")if(typeof i=="object"&&i!==null){if(i.as==null||i.as==="script"){var d=l(i.as,i.crossOrigin);r.d.M(c,{crossOrigin:d,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})}}else i==null&&r.d.M(c)},P.preload=function(c,i){if(typeof c=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){var d=i.as,f=l(d,i.crossOrigin);r.d.L(c,d,{crossOrigin:f,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},P.preloadModule=function(c,i){if(typeof c=="string")if(i){var d=l(i.as,i.crossOrigin);r.d.m(c,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:d,integrity:typeof i.integrity=="string"?i.integrity:void 0})}else r.d.m(c)},P.requestFormReset=function(c){r.d.r(c)},P.unstable_batchedUpdates=function(c,i){return c(i)},P.useFormState=function(c,i,d){return u.H.useFormState(c,i,d)},P.useFormStatus=function(){return u.H.useHostTransitionStatus()},P.version="19.2.8",P}var ce;function Ge(){if(ce)return H.exports;ce=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),H.exports=He(),H.exports}var me=Ge();const Ye=ze(me);function ge(e,t=[]){let o=[];function r(a,u){const l=s.createContext(u),c=o.length;o=[...o,u];const i=f=>{var N;const{scope:p,children:E,...R}=f,m=((N=p==null?void 0:p[e])==null?void 0:N[c])||l,C=s.useMemo(()=>R,Object.values(R));return v.jsx(m.Provider,{value:C,children:E})};i.displayName=a+"Provider";function d(f,p){var m;const E=((m=p==null?void 0:p[e])==null?void 0:m[c])||l,R=s.useContext(E);if(R)return R;if(u!==void 0)return u;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[i,d]}const n=()=>{const a=o.map(u=>s.createContext(u));return function(l){const c=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return n.scopeName=e,[r,qe(n,...t)]}function qe(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const r=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){const u=r.reduce((l,{useScope:c,scopeName:i})=>{const f=c(a)[`__scope${i}`];return{...l,...f}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return o.scopeName=t.scopeName,o}function T(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e==null||e(n),o===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function ue(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function V(...e){return t=>{let o=!1;const r=e.map(n=>{const a=ue(n,t);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let n=0;n<r.length;n++){const a=r[n];typeof a=="function"?a():ue(e[n],null)}}}}function A(...e){return s.useCallback(V(...e),e)}function Xe(e){const t=Ze(e),o=s.forwardRef((r,n)=>{const{children:a,...u}=r,l=s.Children.toArray(a),c=l.find(Qe);if(c){const i=c.props.children,d=l.map(f=>f===c?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:f);return v.jsx(t,{...u,ref:n,children:s.isValidElement(i)?s.cloneElement(i,void 0,d):null})}return v.jsx(t,{...u,ref:n,children:a})});return o.displayName=`${e}.Slot`,o}function Ze(e){const t=s.forwardRef((o,r)=>{const{children:n,...a}=o;if(s.isValidElement(n)){const u=tt(n),l=et(a,n.props);return n.type!==s.Fragment&&(l.ref=r?V(r,u):u),s.cloneElement(n,l)}return s.Children.count(n)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Je=Symbol("radix.slottable");function Qe(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Je}function et(e,t){const o={...t};for(const r in t){const n=e[r],a=t[r];/^on[A-Z]/.test(r)?n&&a?o[r]=(...l)=>{const c=a(...l);return n(...l),c}:n&&(o[r]=n):r==="style"?o[r]={...n,...a}:r==="className"&&(o[r]=[n,a].filter(Boolean).join(" "))}return{...e,...o}}function tt(e){var r,n;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var nt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],b=nt.reduce((e,t)=>{const o=Xe(`Primitive.${t}`),r=s.forwardRef((n,a)=>{const{asChild:u,...l}=n,c=u?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(c,{...l,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function G(e,t){e&&me.flushSync(()=>e.dispatchEvent(t))}var j=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{},rt=ee[" useInsertionEffect ".trim().toString()]||j;function ye({prop:e,defaultProp:t,onChange:o=()=>{},caller:r}){const[n,a,u]=ot({defaultProp:t,onChange:o}),l=e!==void 0,c=l?e:n;{const d=s.useRef(e!==void 0);s.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),d.current=l},[l,r])}const i=s.useCallback(d=>{var f;if(l){const p=it(d)?d(e):d;p!==e&&((f=u.current)==null||f.call(u,p))}else a(d)},[l,e,a,u]);return[c,i]}function ot({defaultProp:e,onChange:t}){const[o,r]=s.useState(e),n=s.useRef(o),a=s.useRef(t);return rt(()=>{a.current=t},[t]),s.useEffect(()=>{var u;n.current!==o&&((u=a.current)==null||u.call(a,o),n.current=o)},[o,n]),[o,r,a]}function it(e){return typeof e=="function"}var st=s.createContext(void 0);function at(e){const t=s.useContext(st);return e||t||"ltr"}function ct(e,t){return s.useReducer((o,r)=>t[o][r]??o,e)}var $=e=>{const{present:t,children:o}=e,r=ut(t),n=typeof o=="function"?o({present:r.isPresent}):s.Children.only(o),a=A(r.ref,lt(n));return typeof o=="function"||r.isPresent?s.cloneElement(n,{ref:a}):null};$.displayName="Presence";function ut(e){const[t,o]=s.useState(),r=s.useRef(null),n=s.useRef(e),a=s.useRef("none"),u=e?"mounted":"unmounted",[l,c]=ct(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{const i=U(r.current);a.current=l==="mounted"?i:"none"},[l]),j(()=>{const i=r.current,d=n.current;if(d!==e){const p=a.current,E=U(i);e?c("MOUNT"):E==="none"||(i==null?void 0:i.display)==="none"?c("UNMOUNT"):c(d&&p!==E?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,c]),j(()=>{if(t){let i;const d=t.ownerDocument.defaultView??window,f=E=>{const m=U(r.current).includes(CSS.escape(E.animationName));if(E.target===t&&m&&(c("ANIMATION_END"),!n.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",i=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},p=E=>{E.target===t&&(a.current=U(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(i),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:s.useCallback(i=>{r.current=i?getComputedStyle(i):null,o(i)},[])}}function U(e){return(e==null?void 0:e.animationName)||"none"}function lt(e){var r,n;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var dt=ee[" useId ".trim().toString()]||(()=>{}),ft=0;function Ee(e){const[t,o]=s.useState(dt());return j(()=>{o(r=>r??String(ft++))},[e]),e||(t?`radix-${t}`:"")}function le(e){const t=vt(e),o=s.forwardRef((r,n)=>{const{children:a,...u}=r,l=s.Children.toArray(a),c=l.find(mt);if(c){const i=c.props.children,d=l.map(f=>f===c?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:f);return v.jsx(t,{...u,ref:n,children:s.isValidElement(i)?s.cloneElement(i,void 0,d):null})}return v.jsx(t,{...u,ref:n,children:a})});return o.displayName=`${e}.Slot`,o}function vt(e){const t=s.forwardRef((o,r)=>{const{children:n,...a}=o;if(s.isValidElement(n)){const u=yt(n),l=gt(a,n.props);return n.type!==s.Fragment&&(l.ref=r?V(r,u):u),s.cloneElement(n,l)}return s.Children.count(n)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pt=Symbol("radix.slottable");function mt(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===pt}function gt(e,t){const o={...t};for(const r in t){const n=e[r],a=t[r];/^on[A-Z]/.test(r)?n&&a?o[r]=(...l)=>{const c=a(...l);return n(...l),c}:n&&(o[r]=n):r==="style"?o[r]={...n,...a}:r==="className"&&(o[r]=[n,a].filter(Boolean).join(" "))}return{...e,...o}}function yt(e){var r,n;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}function Ce(e){const t=e+"CollectionProvider",[o,r]=ge(t),[n,a]=o(t,{collectionRef:{current:null},itemMap:new Map}),u=m=>{const{scope:C,children:N}=m,_=L.useRef(null),g=L.useRef(new Map).current;return v.jsx(n,{scope:C,itemMap:g,collectionRef:_,children:N})};u.displayName=t;const l=e+"CollectionSlot",c=le(l),i=L.forwardRef((m,C)=>{const{scope:N,children:_}=m,g=a(l,N),y=A(C,g.collectionRef);return v.jsx(c,{ref:y,children:_})});i.displayName=l;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=le(d),E=L.forwardRef((m,C)=>{const{scope:N,children:_,...g}=m,y=L.useRef(null),h=A(C,y),S=a(d,N);return L.useEffect(()=>(S.itemMap.set(y,{ref:y,...g}),()=>void S.itemMap.delete(y))),v.jsx(p,{[f]:"",ref:h,children:_})});E.displayName=d;function R(m){const C=a(e+"CollectionConsumer",m);return L.useCallback(()=>{const _=C.collectionRef.current;if(!_)return[];const g=Array.from(_.querySelectorAll(`[${f}]`));return Array.from(C.itemMap.values()).sort((S,w)=>g.indexOf(S.ref.current)-g.indexOf(w.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:u,Slot:i,ItemSlot:E},R,r]}function D(e){const t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...o)=>{var r;return(r=t.current)==null?void 0:r.call(t,...o)},[])}function Et(e,t=globalThis==null?void 0:globalThis.document){const o=D(e);s.useEffect(()=>{const r=n=>{n.key==="Escape"&&o(n)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[o,t])}var Ct="DismissableLayer",Y="dismissableLayer.update",ht="dismissableLayer.pointerDownOutside",Rt="dismissableLayer.focusOutside",de,he=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Re=s.forwardRef((e,t)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:r,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:u,onDismiss:l,...c}=e,i=s.useContext(he),[d,f]=s.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,E]=s.useState({}),R=A(t,w=>f(w)),m=Array.from(i.layers),[C]=[...i.layersWithOutsidePointerEventsDisabled].slice(-1),N=m.indexOf(C),_=d?m.indexOf(d):-1,g=i.layersWithOutsidePointerEventsDisabled.size>0,y=_>=N,h=St(w=>{const M=w.target,x=[...i.branches].some(I=>I.contains(M));!y||x||(n==null||n(w),u==null||u(w),w.defaultPrevented||l==null||l())},p),S=xt(w=>{const M=w.target;[...i.branches].some(I=>I.contains(M))||(a==null||a(w),u==null||u(w),w.defaultPrevented||l==null||l())},p);return Et(w=>{_===i.layers.size-1&&(r==null||r(w),!w.defaultPrevented&&l&&(w.preventDefault(),l()))},p),s.useEffect(()=>{if(d)return o&&(i.layersWithOutsidePointerEventsDisabled.size===0&&(de=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),i.layersWithOutsidePointerEventsDisabled.add(d)),i.layers.add(d),fe(),()=>{o&&i.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=de)}},[d,p,o,i]),s.useEffect(()=>()=>{d&&(i.layers.delete(d),i.layersWithOutsidePointerEventsDisabled.delete(d),fe())},[d,i]),s.useEffect(()=>{const w=()=>E({});return document.addEventListener(Y,w),()=>document.removeEventListener(Y,w)},[]),v.jsx(b.div,{...c,ref:R,style:{pointerEvents:g?y?"auto":"none":void 0,...e.style},onFocusCapture:T(e.onFocusCapture,S.onFocusCapture),onBlurCapture:T(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:T(e.onPointerDownCapture,h.onPointerDownCapture)})});Re.displayName=Ct;var wt="DismissableLayerBranch",Nt=s.forwardRef((e,t)=>{const o=s.useContext(he),r=s.useRef(null),n=A(t,r);return s.useEffect(()=>{const a=r.current;if(a)return o.branches.add(a),()=>{o.branches.delete(a)}},[o.branches]),v.jsx(b.div,{...e,ref:n})});Nt.displayName=wt;function St(e,t=globalThis==null?void 0:globalThis.document){const o=D(e),r=s.useRef(!1),n=s.useRef(()=>{});return s.useEffect(()=>{const a=l=>{if(l.target&&!r.current){let c=function(){we(ht,o,i,{discrete:!0})};const i={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=c,t.addEventListener("click",n.current,{once:!0})):c()}else t.removeEventListener("click",n.current);r.current=!1},u=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(u),t.removeEventListener("pointerdown",a),t.removeEventListener("click",n.current)}},[t,o]),{onPointerDownCapture:()=>r.current=!0}}function xt(e,t=globalThis==null?void 0:globalThis.document){const o=D(e),r=s.useRef(!1);return s.useEffect(()=>{const n=a=>{a.target&&!r.current&&we(Rt,o,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,o]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fe(){const e=new CustomEvent(Y);document.dispatchEvent(e)}function we(e,t,o,{discrete:r}){const n=o.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});t&&n.addEventListener(e,t,{once:!0}),r?G(n,a):n.dispatchEvent(a)}function _t(e){const t=s.useRef({value:e,previous:e});return s.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Tt=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"}),Pt="VisuallyHidden",Ne=s.forwardRef((e,t)=>v.jsx(b.span,{...e,ref:t,style:{...Tt,...e.style}}));Ne.displayName=Pt;var bt=Ne,F="NavigationMenu",[te,Se,Mt]=Ce(F),[q,Ot,It]=Ce(F),[ne]=ge(F,[Mt,It]),[Dt,O]=ne(F),[At,Lt]=ne(F),xe=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,value:r,onValueChange:n,defaultValue:a,delayDuration:u=200,skipDelayDuration:l=300,orientation:c="horizontal",dir:i,...d}=e,[f,p]=s.useState(null),E=A(t,x=>p(x)),R=at(i),m=s.useRef(0),C=s.useRef(0),N=s.useRef(0),[_,g]=s.useState(!0),[y,h]=ye({prop:r,onChange:x=>{const I=x!=="",z=l>0;I?(window.clearTimeout(N.current),z&&g(!1)):(window.clearTimeout(N.current),N.current=window.setTimeout(()=>g(!0),l)),n==null||n(x)},defaultProp:a??"",caller:F}),S=s.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>h(""),150)},[h]),w=s.useCallback(x=>{window.clearTimeout(C.current),h(x)},[h]),M=s.useCallback(x=>{y===x?window.clearTimeout(C.current):m.current=window.setTimeout(()=>{window.clearTimeout(C.current),h(x)},u)},[y,h,u]);return s.useEffect(()=>()=>{window.clearTimeout(m.current),window.clearTimeout(C.current),window.clearTimeout(N.current)}
vendor: 3,956 bytes, line 9
9,[]),v.jsx(_e,{scope:o,isRootMenu:!0,value:y,dir:R,orientation:c,rootNavigationMenu:f,onTriggerEnter:x=>{window.clearTimeout(m.current),_?M(x):w(x)},onTriggerLeave:()=>{window.clearTimeout(m.current),S()},onContentEnter:()=>window.clearTimeout(C.current),onContentLeave:S,onItemSelect:x=>{h(I=>I===x?"":x)},onItemDismiss:()=>h(""),children:v.jsx(b.nav,{"aria-label":"Main","data-orientation":c,dir:R,...d,ref:E})})});xe.displayName=F;var X="NavigationMenuSub",jt=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,value:r,onValueChange:n,defaultValue:a,orientation:u="horizontal",...l}=e,c=O(X,o),[i,d]=ye({prop:r,onChange:n,defaultProp:a??"",caller:X});return v.jsx(_e,{scope:o,isRootMenu:!1,value:i,dir:c.dir,orientation:u,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:f=>d(f),onItemSelect:f=>d(f),onItemDismiss:()=>d(""),children:v.jsx(b.div,{"data-orientation":u,...l,ref:t})})});jt.displayName=X;var _e=e=>{const{scope:t,isRootMenu:o,rootNavigationMenu:r,dir:n,orientation:a,children:u,value:l,onItemSelect:c,onItemDismiss:i,onTriggerEnter:d,onTriggerLeave:f,onContentEnter:p,onContentLeave:E}=e,[R,m]=s.useState(null),[C,N]=s.useState(new Map),[_,g]=s.useState(null);return v.jsx(Dt,{scope:t,isRootMenu:o,rootNavigationMenu:r,value:l,previousValue:_t(l),baseId:Ee(),dir:n,orientation:a,viewport:R,onViewportChange:m,indicatorTrack:_,onIndicatorTrackChange:g,onTriggerEnter:D(d),onTriggerLeave:D(f),onContentEnter:D(p),onContentLeave:D(E),onItemSelect:D(c),onItemDismiss:D(i),onViewportContentChange:s.useCallback((y,h)=>{N(S=>(S.set(y,h),new Map(S)))},[]),onViewportContentRemove:s.useCallback(y=>{N(h=>h.has(y)?(h.delete(y),new Map(h)):h)},[]),children:v.jsx(te.Provider,{scope:t,children:v.jsx(At,{scope:t,items:C,children:u})})})},Te="NavigationMenuList",Pe=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,...r}=e,n=O(Te,o),a=v.jsx(b.ul,{"data-orientation":n.orientation,...r,ref:t});return v.jsx(b.div,{style:{position:"relative"},ref:n.onIndicatorTrackChange,children:v.jsx(te.Slot,{scope:o,children:n.isRootMenu?v.jsx(ke,{asChild:!0,children:a}):a})})});Pe.displayName=Te;var be="NavigationMenuItem",[Ft,Me]=ne(be),Oe=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,value:r,...n}=e,a=Ee(),u=r||a||"LEGACY_REACT_AUTO_VALUE",l=s.useRef(null),c=s.useRef(null),i=s.useRef(null),d=s.useRef(()=>{}),f=s.useRef(!1),p=s.useCallback((R="start")=>{if(l.current){d.current();const m=J(l.current);m.length&&ie(R==="start"?m:m.reverse())}},[]),E=s.useCallback(()=>{if(l.current){const R=J(l.current);R.length&&(d.current=Bt(R))}},[]);return v.jsx(Ft,{scope:o,value:u,triggerRef:c,contentRef:l,focusProxyRef:i,wasEscapeCloseRef:f,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:E,onContentFocusOutside:E,children:v.jsx(b.li,{...n,ref:t})})});Oe.displayName=be;var Z="NavigationMenuTrigger",Ie=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,disabled:r,...n}=e,a=O(Z,e.__scopeNavigationMenu),u=Me(Z,e.__scopeNavigationMenu),l=s.useRef(null),c=A(l,u.triggerRef,t),i=$e(a.baseId,u.value),d=Ue(a.baseId,u.value),f=s.useRef(!1),p=s.useRef(!1),E=u.value===a.value;return v.jsxs(v.Fragment,{children:[v.jsx(te.ItemSlot,{scope:o,value:u.value,children:v.jsx(Ve,{asChild:!0,children:v.jsx(b.button,{id:i,disabled:r,"data-disabled":r?"":void 0,"data-state":se(E),"aria-expanded":E,"aria-controls":d,...n,ref:c,onPointerEnter:T(e.onPointerEnter,()=>{p.current=!1,u.wasEscapeCloseRef.current=!1}),onPointerMove:T(e.onPointerMove,K(()=>{r||p.current||u.wasEscapeCloseRef.current||f.current||(a.onTriggerEnter(u.value),f.current=!0)})),onPointerLeave:T(e.onPointerLeave,K(()=>{r||(a.onTriggerLeave(),f.current=!1)})),onClick:T(e.onClick,()=>{a.onItemSelect(u.value),p.current=E}),onKeyDown:T(e.onKeyDown,R=>{const C={horizontal:"ArrowDown",vertical:a.dir==="rtl"?"ArrowLeft":"ArrowRight"}[a.orientation];E&&R.key===C&&(u.onEntryKeyDown(),R.preventDefault())})})})}),E&&v.jsxs(v.Fragment,{children:[v.jsx(bt,{"aria-hidden":!0,tabIndex:0,ref:u.focu
9sProxyRef,onFocus:R=>{const m=u.contentRef.current,C=R.relatedTarget,N=C===l.current,_=m==null?void 0:m.contains(C);(N||!_)&&u.onFocusProxyEnter(N?"start":"end")}}),a.viewport&&v.jsx("span",{"aria-owns":d})]})]})});Ie.displayName=Z;var kt="NavigationMenuLink",ve="navigationMenu.linkSelect",De=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,active:r,onSelect:n,...a}=e;return v.jsx(Ve,{asChild:!0,children:v.jsx(b.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...a,ref:t,onClick:T(e.onClick,u=>{const l=u.target,c=new CustomEvent(ve,{bubbles:!0,cancelable:!0});if(l.addEventListener(ve,i=>n==null?void 0:n(i),{once:!0}),G(l,c),!c.defaultPrevented&&!u.metaKey){const i=new CustomEvent(W,{bubbles:!0,cancelable:!0});G(l,i)}},{checkForDefaultPrevented:!1})})})});De.displayName=kt;var re="NavigationMenuIndicator",Ae=s.forwardRef((e,t)=>{const{forceMount:o,...r}=e,n=O(re,e.__scopeNavigationMenu),a=!!n.value;return n.indicatorTrack?Ye.createPortal(v.jsx($,{present:o||a,children:v.jsx(Vt,{...r,ref:t})}),n.indicatorTrack):null});Ae.displayName=re;var Vt=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,...r}=e,n=O(re,o),a=Se(o),[u,l]=s.useState(null),[c,i]=s.useState(null),d=n.orientation==="horizontal",f=!!n.value;s.useEffect(()=>{var m;const R=(m=a().find(C=>C.value===n.value))==null?void 0:m.ref.current;R&&l(R)},[a,n.value]);const p=()=>{u&&i({size:d?u.offsetWidth:u.offsetHeight,offset:d?u.offsetLeft:u.offsetTop})};return Q(u,p),Q(n.indicatorTrack,p),c?v.jsx(b.div,{"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":n.orientation,...r,ref:t,style:{position:"absolute",...d?{left:0,width:c.size+"px",transform:`translateX(${c.offset}px)`}:{top:0,height:c.size+"px",transform:`translateY(${c.offset}px)`},...r.style}}):null}),k="NavigationMenuContent",Le=s.forwardRef((e,t)=>{const{forceMount:o,...r}=e,n=O(k,e.__scopeNavigationMenu),a=Me(k,e.__scopeNavigationMenu),u=A(a.contentRef,t),l=a.value===n.value,c={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...r};return n.viewport?v.jsx($t,{forceMount:o,...c,ref:u}):v.jsx($,{present:o||l,children:v.jsx(je,{"data-state":se(l),...c,ref:u,onPointerEnter:T(e.onPointerEnter,n.onContentEnter),onPointerLeave:T(e.onPointerLeave,K(n.onContentLeave)),style:{pointerEvents:!l&&n.isRootMenu?"none":void 0,...c.style}})})});Le.displayName=k;var $t=s.forwardRef((e,t)=>{const o=O(k,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:n}=o;return j(()=>{r(e.value,{ref:t,...e})},[e,t,r]),j(()=>()=>n(e.value),[e.value,n]),null}),W="navigationMenu.rootContentDismiss",je=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,value:r,triggerRef:n,focusProxyRef:a,wasEscapeCloseRef:u,onRootContentClose:l,onContentFocusOutside:c,...i}=e,d=O(k,o),f=s.useRef(null),p=A(f,t),E=$e(d.baseId,r),R=Ue(d.baseId,r),m=Se(o),C=s.useRef(null),{onItemDismiss:N}=d;s.useEffect(()=>{const g=f.current;if(d.isRootMenu&&g){const y=()=>{var h;N(),l(),g.contains(document.activeElement)&&((h=n.current)==null||h.focus())};return g.addEventListener(W,y),()=>g.removeEventListener(W,y)}},[d.isRootMenu,e.value,n,N,l]);const _=s.useMemo(()=>{const y=m().map(I=>I.value);d.dir==="rtl"&&y.reverse();const h=y.indexOf(d.value),S=y.indexOf(d.previousValue),w=r===d.value,M=S===y.indexOf(r);if(!w&&!M)return C.current;const x=(()=>{if(h!==S){if(w&&S!==-1)return h>S?"from-end":"from-start";if(M&&h!==-1)return h>S?"to-start":"to-end"}return null})();return C.current=x,x},[d.previousValue,d.value,d.dir,m,r]);return v.jsx(ke,{asChild:!0,children:v.jsx(Re,{id:R,"aria-labelledby":E,"data-motion":_,"data-orientation":d.orientation,...i,ref:p,disableOutsidePointerEvents:!1,onDismiss:()=>{var y;const g=new Event(W,{bubbles:!0,cancelable:!0});(y=f.current)==null||y.dispatchEvent(g)},onFocusOutside:T(e.onFocusOutside,g=>{var h;c();const y=g.target;(h=d.rootNavigationMenu)!=null&&h.contains(y)&&g.preventDefault()}),onPointerDownOutside:T(e.onPointerDownOutside,g=>{var w;const y=g.target,h=m().some(M=>{var x;return(x=M.ref.current)==null?void 0:x.contains(y)}),S=d.isRootMenu&&((w=d.viewport)==null?void 0:w.contains(y));(h||S||!d.isRootMenu)&&g.preventDefault()}),onKeyDown:T(e.onKeyDown,g=>{var S;const y=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!y){const w=J(g.currentTarget),M=document.activeElement,x=w.findIndex(Ke=>Ke===M),z=g.shiftKey?w.slice(0,x).reverse():w.slice(x+1,w.length);ie(z)?g.preventDefault():(S=a.current)==null||S.focus()}}),onEscapeKeyDown:T(e.onEscapeKeyDown,g=>{u.current=!0})})})}),oe="NavigationMenuViewport",Fe=s.forwardRef((e,t)=>
9{const{forceMount:o,...r}=e,a=!!O(oe,e.__scopeNavigationMenu).value;return v.jsx($,{present:o||a,children:v.jsx(Ut,{...r,ref:t})})});Fe.displayName=oe;var Ut=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,children:r,...n}=e,a=O(oe,o),u=A(t,a.onViewportChange),l=Lt(k,e.__scopeNavigationMenu),[c,i]=s.useState(null),[d,f]=s.useState(null),p=c?(c==null?void 0:c.width)+"px":void 0,E=c?(c==null?void 0:c.height)+"px":void 0,R=!!a.value,m=R?a.value:a.previousValue;return Q(d,()=>{d&&i({width:d.offsetWidth,height:d.offsetHeight})}),v.jsx(b.div,{"data-state":se(R),"data-orientation":a.orientation,...n,ref:u,style:{pointerEvents:!R&&a.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":p,"--radix-navigation-menu-viewport-height":E,...n.style},onPointerEnter:T(e.onPointerEnter,a.onContentEnter),onPointerLeave:T(e.onPointerLeave,K(a.onContentLeave)),children:Array.from(l.items).map(([N,{ref:_,forceMount:g,...y}])=>{const h=m===N;return v.jsx($,{present:g||h,children:v.jsx(je,{...y,ref:V(_,S=>{h&&S&&f(S)})})},N)})})}),Wt="FocusGroup",ke=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,...r}=e,n=O(Wt,o);return v.jsx(q.Provider,{scope:o,children:v.jsx(q.Slot,{scope:o,children:v.jsx(b.div,{dir:n.dir,...r,ref:t})})})}),pe=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],Kt="FocusGroupItem",Ve=s.forwardRef((e,t)=>{const{__scopeNavigationMenu:o,...r}=e,n=Ot(o),a=O(Kt,o);return v.jsx(q.ItemSlot,{scope:o,children:v.jsx(b.button,{...r,ref:t,onKeyDown:T(e.onKeyDown,u=>{if(["Home","End",...pe].includes(u.key)){let c=n().map(f=>f.ref.current);if([a.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(u.key)&&c.reverse(),pe.includes(u.key)){const f=c.indexOf(u.currentTarget);c=c.slice(f+1)}setTimeout(()=>ie(c)),u.preventDefault()}})})})});function J(e){const t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const n=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||n?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)t.push(o.currentNode);return t}function ie(e){const t=document.activeElement;return e.some(o=>o===t?!0:(o.focus(),document.activeElement!==t))}function Bt(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const o=t.dataset.tabindex;t.setAttribute("tabindex",o)})}}function Q(e,t){const o=D(t);j(()=>{let r=0;if(e){const n=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(o)});return n.observe(e),()=>{window.cancelAnimationFrame(r),n.unobserve(e)}}},[e,o])}function se(e){return e?"open":"closed"}function $e(e,t){return`${e}-trigger-${t}`}function Ue(e,t){return`${e}-content-${t}`}function K(e){return t=>t.pointerType==="mouse"?e(t):void 0}var en=xe,tn=Pe,nn=Oe,rn=Ie,on=De,sn=Ae,an=Le,cn=Fe,zt=Symbol.for("react.lazy"),B=ee[" use ".trim().toString()];function Ht(e){return typeof e=="object"&&e!==null&&"then"in e}function We(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===zt&&"_payload"in e&&Ht(e._payload)}function Gt(e){const t=Yt(e),o=s.forwardRef((r,n)=>{let{children:a,...u}=r;We(a)&&typeof B=="function"&&(a=B(a._payload));const l=s.Children.toArray(a),c=l.find(Xt);if(c){const i=c.props.children,d=l.map(f=>f===c?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:f);return v.jsx(t,{...u,ref:n,children:s.isValidElement(i)?s.cloneElement(i,void 0,d):null})}return v.jsx(t,{...u,ref:n,children:a})});return o.displayName=`${e}.Slot`,o}var un=Gt("Slot");function Yt(e){const t=s.forwardRef((o,r)=>{let{children:n,...a}=o;if(We(n)&&typeof B=="function"&&(n=B(n._payload)),s.isValidElement(n)){const u=Jt(n),l=Zt(a,n.props);return n.type!==s.Fragment&&(l.ref=r?V(r,u):u),s.cloneElement(n,l)}return s.Children.count(n)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qt=Symbol("radix.slottable");function Xt(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qt}function Zt(e,t){const o={...t};for(const r in t){const n=e[r],a=t[r];/^on[A-Z]/.test(r)?n&&a?o[r]=(...l)=>{const c=a(...l);return n(...l),c}:n&&(o[r]=n):r==="style"?o[r]={...n,...a}
vendor: 475 bytes, line 9
9:r==="className"&&(o[r]=[n,a].filter(Boolean).join(" "))}return{...e,...o}}function Jt(e){var r,n;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}export{an as C,sn as I,tn as L,en as R,un as S,rn as T,cn as V,me as a,nn as b,on as c,Ge as r};

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.