PageSourceSearch

https://brinx.ai/assets/NavbarContext-CmR6LPJK.js

js brinx.ai collected 2026-10-05 13:00:13 UTC 1,528 bytes, 1 lines download raw bytes

1import{r as n,R as c}from"./jsx-runtime-BZuK4Oxm.js";function z(e,t,r){const a=n.useRef(e!==void 0),[s,o]=n.useState(t),u=e!==void 0,f=a.current;return a.current=u,!u&&f&&s!==t&&o(t),[u?e:s,n.useCallback((...x)=>{const[i,...p]=x;let v=r==null?void 0:r(i,...p);return o(i),v},[r])]}function j(){const[,e]=n.useReducer(t=>t+1,0);return e}const $={prefix:String(Math.round(Math.random()*1e10)),current:0},d=c.createContext($),S=c.createContext(!1);let l=new WeakMap;function b(e=!1){let t=n.useContext(d),r=n.useRef(null);if(r.current===null&&!e){var a,s;let o=(s=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||s===void 0||(a=s.ReactCurrentOwner)===null||a===void 0?void 0:a.current;if(o){let u=l.get(o);u==null?l.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==u.state&&(t.current=u.id,l.delete(o))}r.current=++t.current}return r.current}function C(e){let t=n.useContext(d),r=b(!!e),a=`react-aria${t.prefix}`;return e||`${a}-${r}`}function m(e){let t=c.useId(),[r]=n.useState(M()),a=r?"react-aria":`react-aria${$.prefix}`;return e||`${a}-${t}`}const q=typeof c.useId=="function"?m:C;function g(){return!1}function y(){return!0}function h(e){return()=>{}}function M(){return typeof c.useSyncExternalStore=="function"?c.useSyncExternalStore(h,g,y):n.useContext(S)}const G=n.createContext(null),H=(e,t=null)=>e!=null?String(e):t||null,P=n.createContext(null);P.displayName="NavContext";const k=n.createContext(null);k.displayName="NavbarContext";export{q as $,P as N,G as S,z as a,k as c,H as m,j as u};

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.