PageSourceSearch

https://paypeek.ai/assets/tracked-redirect-BCqoWxjc.js

js paypeek.ai collected 2026-10-02 01:12:13 UTC 1,803 bytes, 1 lines download raw bytes

1import{r as p}from"./react-vendor-q1XEArln.js";import{u as y}from"./router-D0jjFGd1.js";import{a as _,i as f,b as w,c as l}from"./analytics-BsKGlUaT.js";import{s as E,g as v}from"./utm-CQjlBfjO.js";const D="redirect_page_tracked_",T=150;async function R(e){if(typeof window>"u")return;E();const t=e.pagePath.split("?")[0]||e.pagePath,a=f(t),n=v(),o=new Date().toISOString(),r=e.redirectType??"auto",i=e.eventName??"redirect_page_visited",c=e.dedupeSession??!0;e.includePageView&&w(t,typeof document<"u"?document.title:t,{page_type:"redirect",redirect_destination:e.redirectDestination,redirect_type:r});const s=`${D}${t}:${i}`;(!c||!window.sessionStorage.getItem(s))&&(c&&window.sessionStorage.setItem(s,"1"),await l({eventName:i,eventData:{page_name:t,page_path:t,component_name:a,redirect_destination:e.redirectDestination,redirect_type:r,...e.extraEventData},source:"web_app",anonymousId:n,timestamp:o})),_("redirect_started",{category:"navigation",location:t,destination:e.redirectDestination,redirect_type:r,component_name:a,event_name:i,...e.extraEventData})}function h(e,t,a){const n=e.split("?")[0]||e;_("redirect_started",{category:"navigation",location:n,destination:t,redirect_type:"auto",component_name:f(n),...a})}function N(e){const t=y(),a=p.useRef(!1),{pagePath:n,destination:o,enabled:r=!0,replace:i=!0,delayMs:c=T,redirectType:s="legacy_route",eventName:d,extraEventData:u,includePageView:m=!0}=e;p.useEffect(()=>{!r||a.current||typeof window>"u"||(a.current=!0,(async()=>{try{await R({pagePath:n,redirectDestination:o,redirectType:s,eventName:d,extraEventData:u,includePageView:m}),c>0&&await new Promise(g=>setTimeout(g,c))}finally{t(o,{replace:i})}})())},[n,o,r,i,c,s,d,u,m,t])}function x(e){typeof window>"u"||window.location.replace(e)}export{T as D,R as a,x as p,h as t,N 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.