PageSourceSearch

https://www.gtpl.net/assets/index-Bc6av3gc.js

js gtpl.net collected 2026-09-24 12:09:32 UTC 493 bytes, 1 lines download raw bytes

1import{x as s}from"./chunk-QUQL4437-BV2hFxQ9.js";import{a as u}from"./index-qOWU-DpB.js";function b({prop:e,defaultProp:a,onChange:c=()=>{}}){const[t,n]=$({defaultProp:a,onChange:c}),o=e!==void 0,d=o?e:t,f=u(c),i=s.useCallback(r=>{if(o){const l=typeof r=="function"?r(e):r;l!==e&&f(l)}else n(r)},[o,e,n,f]);return[d,i]}function $({defaultProp:e,onChange:a}){const c=s.useState(e),[t]=c,n=s.useRef(t),o=u(a);return s.useEffect(()=>{n.current!==t&&(o(t),n.current=t)},[t,n,o]),c}export{b as $};

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.