PageSourceSearch

https://agna-textile-store.aali915355.chatgpt.site/_next/static/chunks/performance-monitor-hdRbikxI.js

js agna-textile-store.aali915355.chatgpt.site collected 2026-10-03 03:59:04 UTC 1,079 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{i as t}from"./framework-JGc2HF7T.js";import{n}from"./index-BVA8NLJg.js";import{n as r}from"./performance-metrics-vAeMsiKi.js";var i=e(t(),1),a=!1,o=()=>{try{return localStorage.getItem(`agna-performance-consent-v1`)===`yes`&&navigator.doNotTrack!==`1`}catch{return!1}};function s(){return(0,i.useEffect)(()=>{let e=async()=>{let e=r(location.pathname);if(!(a||!e||!o())){a=!0;try{let{onLCP:t,onINP:r,onCLS:i}=await n(async()=>{let{onLCP:e,onINP:t,onCLS:n}=await import(`./web-vitals-CmpjEB0y.js`);return{onLCP:e,onINP:t,onCLS:n}},[]),a=new Set,s=matchMedia(`(max-width: 767px)`).matches?`mobile`:`desktop`,c=t=>{!o()||a.has(t.id)||(a.add(t.id),fetch(`/api/metrics`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({page:e,device:s,metric:t.name,rating:t.rating}),keepalive:!0}).catch(()=>{}))};t(c),r(c),i(c)}catch{a=!1}}};return e(),window.addEventListener(`agna-performance-consent`,e),()=>window.removeEventListener(`agna-performance-consent`,e)},[]),null}export{s as PerformanceMonitor};

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.