PageSourceSearch

https://aibr.org/build/assets/import-_-a0l05m.js

js aibr.org collected 2026-09-24 09:33:14 UTC 734 bytes, 1 lines download raw bytes

1import{r as a}from"./app-belrbPXN.js";function h(n,i,o){let[s,u]=a.useState(n||i),f=a.useRef(n!==void 0),e=n!==void 0;a.useEffect(()=>{let t=f.current;t!==e&&console.warn(`WARN: A component changed from ${t?"controlled":"uncontrolled"} to ${e?"controlled":"uncontrolled"}.`),f.current=e},[e]);let r=e?n:s,$=a.useCallback((t,...d)=>{let p=(c,...l)=>{o&&(Object.is(r,c)||o(c,...l)),e||(r=c)};typeof t=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),u((l,...m)=>{let b=t(e?r:l,...m);return p(b,...d),e?l:b})):(e||u(t),p(t,...d))},[e,r,o]);return[r,$]}function w(n,i=-1/0,o=1/0){return Math.min(Math.max(n,i),o)}export{w as $,h as a};

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.