PageSourceSearch

https://speedvitals.com/_next/static/chunks/app/layout-5ac1f3f53602e88c.js

js speedvitals.com collected 2026-09-24 08:47:42 UTC 13,188 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="156712d1-329e-4a7d-92e2-2f6ecc34cda0",e._sentryDebugIdIdentifier="sentry-dbid-156712d1-329e-4a7d-92e2-2f6ecc34cda0")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{4121:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(19749),s=r(86634),n=r(82222),l=r(12115);let o=()=>{let e,t=(0,a.c)(2),r=(0,n.usePathname)();return t[0]!==r?(e=[r],t[0]=r,t[1]=e):e=t[1],(0,l.useEffect)(i,e),null};function i(){(0,s.oe)()}},28059:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>o});var a=r(95155),s=r(19749),n=r(94849),l=r(29094);let o=e=>{let t,r,o,i=(0,s.c)(6);i[0]!==e?({...t}=e,i[0]=e,i[1]=t):t=i[1];let{theme:c}=(0,n.D)(),d=void 0===c?"system":c;return i[2]===Symbol.for("react.memo_cache_sentinel")?(r={"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},i[2]=r):r=i[2],i[3]!==t||i[4]!==d?(o=(0,a.jsx)(l.l$,{theme:d,className:"toaster group",style:r,...t}),i[3]=t,i[4]=d,i[5]=o):o=i[5],o}},51743:()=>{},51910:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(19749),s=r(82222),n=r(12115),l=r(12731);let o=()=>{let e,t,r=(0,a.c)(5),{user:o}=(0,l.A)(),i=(0,s.useRouter)(),c=(0,s.usePathname)();return r[0]!==c||r[1]!==i||r[2]!==o?(e=()=>{o&&!o.emailVerified&&"/user-actions"!==c&&i.push("/user-actions?mode=sendVerification")},t=[o,i,c],r[0]=c,r[1]=i,r[2]=o,r[3]=e,r[4]=t):(e=r[3],t=r[4]),(0,n.useEffect)(e,t),null}},55855:(e,t,r)=>{"use strict";r.d(t,{WorkSpacePermissionProvider:()=>d});var a=r(95155),s=r(19749),n=r(42555),l=r(86818),o=r(83234),i=r(12115),c=r(12731);function d(e){let t,r,d,h,u=(0,s.c)(9),{children:f}=e,{user:p}=(0,c.A)(),{currentWorkspace:b}=(0,o.M)(m),g=b?.role;u[0]!==p?(t=(0,n.nC)("viewer",p),u[0]=p,u[1]=t):t=u[1];let[x,v]=(0,i.useState)(t);return u[2]!==g||u[3]!==p?(r=()=>{p&&g&&v((0,n.nC)(g,p))},d=[p,g],u[2]=g,u[3]=p,u[4]=r,u[5]=d):(r=u[4],d=u[5]),(0,i.useEffect)(r,d),u[6]!==x||u[7]!==f?(h=(0,a.jsx)(l.E.Provider,{value:x,children:f}),u[6]=x,u[7]=f,u[8]=h):h=u[8],h}function m(e){return e}},83757:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var a=r(19749),s=r(82222),n=r(12115);let l=()=>{let e,t,r=(0,a.c)(3),l=(0,s.useRouter)();return r[0]!==l?(e=()=>{console.log("Maintenance Mode Check:",{isMaintenanceEnabled:!1,isLocallyDisabled:"false"===localStorage.getItem("maintenanceMode"),shouldRedirect:!1})},t=[l],r[0]=l,r[1]=e,r[2]=t):(e=r[1],t=r[2]),(0,n.useEffect)(e,t),null}},86634:(e,t,r)=>{"use strict";r.d(t,{Ld:()=>o,Q5:()=>d,oe:()=>m});var a=r(82402);let s=a.env.NEXT_PUBLIC_GA_MEASUREMENT_ID||"G-RKJS14ZFH6",n="speedvitals_source_context",l=(e,t)=>e.get(t)||void 0,o=()=>{try{let e=window.localStorage.getItem(n);return e?JSON.parse(e):void 0}catch{return}},i=()=>{let e,t,r=new URLSearchParams(window.location.search),a=o(),s=new Date().toISOString(),i=document.referrer||a?.referrer,c={landing_page:a?.landing_page||window.location.href,landing_path:a?.landing_path||window.location.pathname,referrer:i,source:a?.source||((e,t)=>{let r=l(e,"utm_source"),a=l(e,"gclid");if(r)return r;if(a)return"google";if(!t)return"direct";try{return new URL(t).hostname.replace(/^www\./,"")}catch{return"referral"}})(r,i),medium:a?.medium||(e=l(r,"utm_medium"),t=l(r,"gclid"),e||(t?"cpc":i?"referral":"none")),campaign:a?.campaign||l(r,"utm_campaign"),content:a?.content||l(r,"utm_content"),term:a?.term||l(r,"utm_term"),gclid:a?.gclid||l(r,"gclid"),source_page:a?.source_page||l(r,"source_page"),source_tool:a?.source_tool||l(r,"source_tool"),cta:a?.cta||l(r,"cta"),destination:a?.destination||l(r,"destination"),intent:a?.intent||l(r,"intent"),first_seen_at:a?.first_seen_at||s,last_seen_at:s};try{window.localStorage.setItem(n,JSON.stringify(c))}catch{}return c},c=()=>"true"===a.env.NEXT_PUBLIC_GA_DEBUG_MODE||"true"===window.localStorage.getItem("speedvitals_ga_debug"),d=(e,t={})=>{if(!window.gtag)return;let r=i()||o();window.gtag("event",e,{...r,...t,page_location:window.location.href,page_path:window.location.pathname,debug_mode:c()})},m=()=>{if(!window.gtag)return;let e=i()||o(),t={page_location:window.location.href,page_path:window.location.pathname,debug_mode:c(),...e};window.gtag("config",s,{send_page_view:!1,...t}),window.gtag("event","page_view",t)}},90016:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var a=r(95155),s=r(19749),n=r(61755);let l=()=>{let e,t=(0,s.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)(n.default,{src:"https://assets.endorsely.com/endorsely.js","data-endorsely":"9bb91b89-b384-4f6b-b95b-a82bbedca941",strategy:"afterInteractive",onLoad:o}),t[0]=e):e=t[0],e};async function o(){let e=window.endorsely_referral;if(e){localStorage.setItem("referral",JSON.stringify({referral_id:e,expire_at:Date.now()+2592e6}));try{await fetch("https://api.yourbackend.com",{method:"POST",body:JSON.stringify({referralId:e}),headers:{"Content-Type":"application/json"}})}catch(e){console.error("Backend sync failed",e)}}}},95447:(e,t,r)=>{Promise.resolve().then(r.bind(r,90082)),Promise.resolve().then(r.bind(r,76992)),Promise.resolve().then(r.bind(r,85626)),Promise.resolve().then(r.bind(r,6035)),Promise.resolve().then(r.bind(r,49777)),Promise.resolve().then(r.bind(r,99895)),Promise.resolve().then(r.bind(r,83387)),Promise.resolve().then(r.bind(r,85301)),Promise.resolve().then(r.bind(r,86012)),Promise.resolve().then(r.bind(r,71945)),Promise.resolve().then(r.bind(r,92545)),Promise.resolve().then(r.bind(r,89273)),Promise.resolve().then(r.bind(r,60633)),Promise.resolve().then(r.bind(r,94849)),Promise.resolve().then(r.t.bind(r,92904,23)),Promise.resolve().then(r.t.bind(r,34183,23)),Promise.resolve().then(r.bind(r,98323)),Promise.resolve().then(r.t.bind(r,51743,23)),Promise.resolve().then(r.bind(r,97545)),Promise.resolve().then(r.bind(r,83757)),Promise.resolve().then(r.bind(r,51910)),Promise.resolve().then(r.bind(r,90016)),Promise.resolve().then(r.bind(r,4121)),Promise.resolve().then(r.bind(r,12731)),Promise.resolve().then(r.bind(r,5
15855)),Promise.resolve().then(r.bind(r,28059)),Promise.resolve().then(r.bind(r,52625))},97545:(e,t,r)=>{"use strict";r.d(t,{default:()=>v});var a=r(95155),s=r(19749),n=r(82222),l=r(73549),o=r.n(l),i=r(70064),c=r(12334);let d=[[{href:"/about-us",label:"About Us",prefetch:!1},{href:"/features",label:"Features"},{href:"",label:"Browser Extension",customElement:(0,a.jsx)(i.A,{title:"Browser Extension",className:"text-secondary-text hover:text-primary-text hover:underline"})},{href:"https://status.speedvitals.com",label:"System Status",isExternal:!0,target:"_blank",rel:"noopener"},{href:"/sitemap.xml",label:"Sitemap",target:"_blank"}],[{href:"/contact-us",label:"Contact Us",prefetch:!1},{href:"/privacy-policy",label:"Privacy Policy"},{href:"/terms-of-use",label:"Terms of Use"},{href:"/refund-policy",label:"Refund Policy"},{href:"/cookies",label:"Cookies"}],[{href:"https://docs.speedvitals.com",label:"Documentation",isExternal:!0,rel:"noopener"},{href:"https://developers.speedvitals.com",label:"API Reference",isExternal:!0,rel:"noopener"},{href:"https://roadmap.speedvitals.com/",label:"Roadmap",isExternal:!0,target:"_blank",rel:"noopener"},{href:"/community",label:"Community"},{href:"https://speedvitals.com/blog/",label:"Blog",isExternal:!0,target:"_blank",rel:"noopener"}],[{href:"https://www.facebook.com/speedvitals",label:"Facebook",isExternal:!0,target:"_blank",rel:"noopener me"},{href:"https://twitter.com/speedvitals",label:"Twitter",isExternal:!0,target:"_blank",rel:"noopener me"},{href:"https://www.linkedin.com/company/speedvitals",label:"Linkedin",isExternal:!0,target:"_blank",rel:"noopener me"},{href:"https://www.reddit.com/r/speedvitals/",label:"Reddit",isExternal:!0,target:"_blank",rel:"noopener me"},{href:"https://www.instagram.com/speedvitals/",label:"Instagram",isExternal:!0,target:"_blank",rel:"noopener me"}]],m=()=>{let e,t,r,n,l,i,m=(0,s.c)(6);m[0]===Symbol.for("react.memo_cache_sentinel")?(e=new Date().getFullYear(),m[0]=e):e=m[0];let u=e;return m[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)("div",{className:"",children:(0,a.jsx)(o(),{href:"/",className:"inline-block",children:(0,a.jsxs)("div",{className:"w-52",children:[(0,a.jsx)(c.A,{width:200,height:50,src:"/speedVitals-light.svg",alt:"SpeedVitals",className:"h-16 w-auto max-lg:w-[90%] dark:hidden mx-auto"}),(0,a.jsx)(c.A,{width:200,height:50,src:"/speedVitals-dark.svg",alt:"SpeedVitals",className:"h-16 w-auto max-lg:w-[90%] dark:block hidden mx-auto"})]})})}),m[1]=t):t=m[1],m[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[t,(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)("a",{href:"https://www.producthunt.com/posts/speedvitals?utm_source=badge-top-post-topic-badge&utm_medium=badge&utm_souce=badge-speedvitals",target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)(c.A,{src:"/images/ph-badge.svg",alt:"SpeedVitals - Make your website lightning fast | Product Hunt",width:208,he
1ight:45,className:"h-[45px] w-[208px]"})})})]}),m[2]=r):r=m[2],m[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-6 px-4 py-8 md:grid-cols-4",children:[r,(0,a.jsx)("div",{className:"col-span-3 grid grid-cols-2 gap-6 sm:grid-cols-4",children:d.map(h)})]}),m[3]=n):n=m[3],m[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,a.jsx)("div",{className:"flex-1"}),m[4]=l):l=m[4],m[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,a.jsxs)("footer",{className:"border-border-theme dark:bg-secondary-background w-full border-t bg-white",children:[n,(0,a.jsxs)("div",{className:"border-border-theme flex items-center justify-between border-t px-4 py-6 lg:px-8",children:[l,(0,a.jsxs)("div",{className:"text-center text-sm",children:["Copyright \xa9 ",u," -"," ",(0,a.jsx)(o(),{href:"/",className:"text-secondary-text hover:text-primary-text hover:underline",children:"SpeedVitals"})]}),(0,a.jsx)("div",{className:"flex-1"})]})]}),m[5]=i):i=m[5],i};function h(e,t){return(0,a.jsx)("div",{className:"flex flex-col items-center",children:(0,a.jsx)("ul",{className:"space-y-2",children:e.map((e,r)=>(0,a.jsx)("li",{children:e.customElement?e.customElement:e.isExternal?(0,a.jsx)("a",{href:e.href,target:e.target,rel:e.rel,className:"text-secondary-text hover:text-primary-text block w-32 hover:underline",children:e.label}):(0,a.jsx)(o(),{href:e.href,prefetch:!1!==e.prefetch,className:"text-secondary-text hover:text-primary-text block w-32 hover:underline",target:e.target,children:e.label})},`link-${t}-${r}`))})},`section-${t}`)}var u=r(2006),f=r(12115);let p=[{text:"Try our Google Analytics (GA4) Replacement",cta:"Try it now",href:"/real-user-monitoring"},{text:"Want a white-labeled version of our website speed test?",cta:"Learn more",href:"/white-label"}],b=()=>{let e,t,r,l,i,d,m,h,u=(0,s.c)(17),b=(0,n.usePathname)(),[x,v]=(0,f.useState)(0),[w,_]=(0,f.useState)(!0);if(u[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=setInterval(()=>{_(!1),setTimeout(()=>{v(g),_(!0)},400)},1e4);return()=>clearInterval(e)},t=[],u[0]=e,u[1]=t):(e=u[0],t=u[1]),(0,f.useEffect)(e,t),b.includes("/analyze/"))return null;let y=p[x];u[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,a.jsx)(c.A,{alt:"RUM Icon",src:"/images/favicon-32x32.png",width:18,height:25}),u[2]=r):r=u[2];let P=+!!w,j=w?"translateY(0)":"translateY(-6px)";return u[3]!==P||u[4]!==j?(l={transition:"opacity 0.4s ease, transform 0.4s ease",opacity:P,transform:j},u[3]=P,u[4]=j,u[5]=l):l=u[5],u[6]!==y.text?(i=(0,a.jsx)("p",{className:"font-medium text-[0.92rem]",children:y.text}),u[6]=y.text,u[7]=i):i=u[7],u[8]!==y.cta?(d=(0,a.jsx)("span",{className:"border border-[#333] px-[8.5px] py-[2.5px] text-[#333] font-semibold text-[0.77rem] bg-[#ffc008] rounded-[10px] glow-effect",children:y.cta}),u[8]=y.cta,u[9]=d):d=u[9],u[10]!==y.href||u[11]!==d?(m=(0,a.jsx)(o(),{href:y.href,target:"_blank",children:d}),u[10]=y.href,u[11]=d,u[12]=m):m=u[12],u[13]!==l||u[14]!==i||u[15]!==m?(h=(0,a.jsx)("div",{id:"top-banner",className:"bg-[#222222] text-white w-full py-3 hidden md:block",children:(0,a.jsxs)("div",{className:"mx-5 md:mx-[30px] lg:mx-18 xl:mx-24 flex items-center gap-4",children:[r,(0,a.jsxs)("div",{style:l,className:"flex items-center gap-4",children:[i,m]})]})}),u[13]=l,u[14]=i,u[15]=m,u[16]=h):h=u[16],h};function g(e){return(e+1)%p.length}let x=["/account/onboarding","/wl"];function v(e){let t,r,l,o,i=(0,s.c)(7),{children:c}=e,d=(0,n.usePathname)();if(x.some(e=>d.startsWith(e))){let e;return i[0]!==c?(e=(0,a.jsx)(a.Fragment,{children:c}),i[0]=c,i[1]=e):e=i[1],e}return i[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(b,{}),r=(0,a.jsx)(u.A,{}),i[2]=t,i[3]=r):(t=i[2],r=i[3]),i[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,a.jsx)(m,{}),i[4]=l):l=i[4],i[5]!==c?(o=(0,a.jsxs)(a.Fragment,{children:[t,r,c,l]}),i[5]=c,i[6]=o):o=i[6],o}}},e=>{e.O(0,[8044,3334,9232,1602,6325,3549,4410,9094,7022,2402,1929,4989,8506,5853,7655,6206,2700,6455,4770,5100,6441,1105,4751,5582,2006,5449,9793,8441,6163,3461,7358],()=>e(e.s=95447)),_N_E=e.O()}]);

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.