PageSourceSearch

https://certbox.app/assets/web-vitals-BgfeM99E.js

js certbox.app collected 2026-09-24 14:08:19 UTC 5,908 bytes, 1 lines download raw bytes

1(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"8bad1ef1d1baf20043d4024cccb275075dbee4da"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f713ad55-b59b-4b0f-9dad-dd4014043565",t._sentryDebugIdIdentifier="sentry-dbid-f713ad55-b59b-4b0f-9dad-dd4014043565")}catch{}})();let H=-1;const p=t=>{addEventListener("pageshow",e=>{e.persisted&&(H=e.timeStamp,t(e))},!0)},u=(t,e,i,n)=>{let r,s;return a=>{e.value>=0&&(a||n)&&(s=e.value-(r??0),(s||r===void 0)&&(r=e.value,e.delta=s,e.rating=((o,l)=>o>l[1]?"poor":o>l[0]?"needs-improvement":"good")(e.value,i),t(e)))}},C=t=>{requestAnimationFrame(()=>requestAnimationFrame(t))},N=()=>{const t=performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},v=()=>N()?.activationStart??0,h=(t,e=-1)=>{const i=N();let n="navigate";return H>=0?n="back-forward-cache":i&&(document.prerendering||v()>0?n="prerender":document.wasDiscarded?n="restore":i.type&&(n=i.type.replace(/_/g,"-"))),{name:t,value:e,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:n}},S=new WeakMap;function E(t,e){let i=S.get(e);return i||(i=new WeakMap,S.set(e,i)),i.get(t)||i.set(t,new e),i.get(t)}class B{t;i=0;o=[];h(e){if(e.hadRecentInput)return;const i=this.o[0],n=this.o.at(-1);this.i&&i&&n&&e.startTime-n.startTime<1e3&&e.startTime-i.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}}const m=(t,e,i={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const n=new PerformanceObserver(r=>{queueMicrotask(()=>{e(r.getEntries())})});return n.observe({type:t,buffered:!0,...i}),n}}catch{}},w=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let f=-1;const R=new Set,P=()=>document.visibilityState!=="hidden"||document.prerendering?1/0:0,y=t=>{if(document.visibilityState==="hidden"){if(t.type==="visibilitychange")for(const e of R)e();isFinite(f)||(f=t.type==="visibilitychange"?t.timeStamp:0,removeEventListener("prerenderingchange",y,!0))}},T=()=>{if(f<0){const t=v();f=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(i=>i.name==="hidden"&&i.startTime>=t)?.startTime)??P(),addEventListener("visibilitychange",y,!0),addEventListener("prerenderingchange",y,!0),p(()=>{setTimeout(()=>{f=P()})})}return{get firstHiddenTime(){return f},onHidden(t){R.add(t)}}},I=t=>{document.prerendering?addEventListener("prerenderingchange",t,!0):t()},k=[1800,3e3],O=(t,e={})=>{I(()=>{const i=T();let n,r=h("FCP");const s=m("paint",a=>{for(const o of a)o.name==="first-contentful-paint"&&(s.disconnect(),o.startTime<i.firstHiddenTime&&(r.value=Math.max(o.startTime-v(),0),r.entries.push(o),n(!0)))});s&&(n=u(t,r,k,e.reportAllChanges),p(a=>{r=h("FCP"),n=u(t,r,k,e.reportAllChanges),C(()=>{r.value=performance.now()-a.timeStamp,n(!0)})}))})},A=[.1,.25],z=(t,e={})=>{const i=T();O(w(()=>{let n,r=h("CLS",0);const s=E(e,B),a=l=>{for(const d of l)s.h(d);s.i>r.value&&(r.value=s.i,r.entries=s.o,n())},o=m("layout-shift",a);o&&(n=u(t,r,A,e.reportAllChanges),i.onHidden(()=>{a(o.takeRecords()),n(!0)}),p(()=>{s.i=0,r=h("CLS",0),n=u(t,r,A,e.reportAllChanges),C(n)}),setTimeout(n))}))};let q=0,b=1/0,g=0;const W=t=>{for(const e of t)e.interactionId&&(b=Math.min(b,e.interactionId),g=Math.max(g,e.interactionId),q=g?(g-b)/7+1:0)};let L;const M=()=>L?q:performance.interactionCount??0,$=()=>{"interactionCount"in performance||L||(L=m("event",W,{durationThreshold:0}))};let F=0;class Y{l=[];u=new Map;m;p;v(){F=M(),this.l.length=0,this.u.clear()}T(){const e=Math.min(this.l.length-1,Math.floor((M()-F)/50));return this.l[e]}h(e){if(this.m?.(e),!e.interactionId&&e.entryType!=="first-input")return;const i=this.l.at(-1);let n=this.u.get(e.interactionId);if(n||this.l.length<10||e.duration>i.L){if(n?e.duration>n.L?(n.entries=[e],n.L=e.duration):e.duration===n.L&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],L:e.duration},this.u.set(n.id,n),this.l.push(n)),this.l.sort((r,s)=>s.L-r.L),this.l.length>10){const r=this.l.splice(10);for(const s of r)this.u.delete(s.id)}this.p?.(n)}}}const x=t=>{const e=globalThis.requestIdleCallback||setTimeout,i=globalThis.cancelIdleCallback||clearTimeout;if(document.visibilityState==="hidden")t();else{const n=w(t);let r=-1;const s=()=>{i(r),n()};addEventListener("visibilitychange",s,{once:!0,capture:!0}),r=e(()=>{removeEventListener("visibilitychange",s,{capture:!0}),n()})}},_=[200,500],G=(t,e={})=>
1{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const i=T();I(()=>{$();let n,r=h("INP");const s=E(e,Y),a=l=>{x(()=>{for(const c of l)s.h(c);const d=s.T();d&&d.L!==r.value&&(r.value=d.L,r.entries=d.entries,n())})},o=m("event",a,{durationThreshold:e.durationThreshold??40});n=u(t,r,_,e.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),i.onHidden(()=>{a(o.takeRecords()),n(!0)}),p(()=>{s.v(),r=h("INP"),n=u(t,r,_,e.reportAllChanges)}))})};class j{m;h(e){this.m?.(e)}}const D=[2500,4e3],J=(t,e={})=>{I(()=>{const i=T();let n,r=h("LCP");const s=E(e,j),a=l=>{e.reportAllChanges||(l=l.slice(-1));for(const d of l)s.h(d),d.startTime<i.firstHiddenTime&&(r.value=Math.max(d.startTime-v(),0),r.entries=[d],n())},o=m("largest-contentful-paint",a);if(o){n=u(t,r,D,e.reportAllChanges);const l=w(()=>{a(o.takeRecords()),o.disconnect(),n(!0)}),d=c=>{c.isTrusted&&(x(l),removeEventListener(c.type,d,{capture:!0}))};for(const c of["keydown","click","visibilitychange"])addEventListener(c,d,{capture:!0});p(c=>{r=h("LCP"),n=u(t,r,D,e.reportAllChanges),C(()=>{r.value=performance.now()-c.timeStamp,n(!0)})})}})};export{A as CLSThresholds,k as FCPThresholds,_ as INPThresholds,D as LCPThresholds,z as onCLS,O as onFCP,G as onINP,J as onLCP};

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.