PageSourceSearch

https://cdn.pi.inc/web/3dab686ae1d6879cee0bf16fed35e60ab739be9d/assets/useEffectWithTarget-CWtVlUh3.js

js pi.inc collected 2026-09-25 18:21:31 UTC 745 bytes, 1 lines download raw bytes

1import{o as e,t}from"./react-COZjIs5k.js";import{i as n,r,t as i}from"./useUnmount-DAmCuEYF.js";import{t as a}from"./isBrowser-ACttf-rw.js";var o=e(t());function s(e,t){if(a)return e?n(e)?e():`current`in e?e.current:e:t}var c=function(e){return function(t,n,a){var c=(0,o.useRef)(!1),l=(0,o.useRef)([]),u=(0,o.useRef)([]),d=(0,o.useRef)(void 0);e(function(){var e,i=(Array.isArray(a)?a:[a]).map(function(e){return s(e)});if(!c.current){c.current=!0,l.current=i,u.current=n,d.current=t();return}(i.length!==l.current.length||!r(l.current,i)||!r(u.current,n))&&((e=d.current)==null||e.call(d),l.current=i,u.current=n,d.current=t())}),i(function(){var e;(e=d.current)==null||e.call(d),c.current=!1})}},l=c(o.useEffect);export{c as n,s as r,l as 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.