PageSourceSearch

https://www.ampulse.online/_next/static/chunks/app/error-c92e0e58609d8abe.js

js ampulse.online collected 2026-10-07 02:01:00 UTC 6,788 bytes, 40 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8039],{17267:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(95155),r=i(12115),a=i(98500),n=i.n(a);function o(e){let{error:t,reset:i}=e,[a,o]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1),[d,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=requestAnimationFrame(()=>{o(!0)});return()=>cancelAnimationFrame(e)},[t]);let x=async()=>{h(!0);try{{let e=await indexedDB.databases?.();if(e)for(let t of e)t.name?.includes("am-pulse")&&indexedDB.deleteDatabase(t.name)}}catch(e){}setTimeout(()=>{h(!1),i()},500)};return(0,s.jsx)("div",{className:"min-h-[60vh] flex flex-col items-center justify-center px-6 py-16",children:(0,s.jsxs)("div",{className:`
2          w-full max-w-md text-center
3          transition-all duration-500 ease-out
4          ${a?"opacity-100 translate-y-0":"opacity-0 translate-y-4"}
5        `,children:[(0,s.jsxs)("div",{className:"relative w-20 h-20 mx-auto mb-8",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full border-2 border-red-500/30 animate-ping"}),(0,s.jsx)("div",{className:"absolute inset-0 rounded-full border border-red-500/20"}),(0,s.jsx)("div",{className:"absolute inset-2 rounded-full bg-gradient-to-br from-gray-500/15 to-red-500/5 flex items-center justify-center",children:(0,s.jsx)("svg",{className:"w-8 h-8 text-red-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"})})})]}),(0,s.jsx)("h1",{className:"text-2xl sm:text-3xl font-semibold text-white mb-3 tracking-tight",children:"Something went wrong"}),(0,s.jsx)("p",{className:"text-white/60 text-base mb-8 leading-relaxed max-w-sm mx-auto",children:"We couldn't load this page. This might be a temporary issue."}),(0,s.jsxs)("div",{className:"flex flex-col gap-3 max-w-xs mx-auto",children:[(0,s.jsx)("button",{onClick:x,disabled:d,className:`
6              relative flex items-center justify-center gap-2
7              px-6 py-3.5 rounded-xl
8              bg-white hover:bg-white/90
9              text-neutral-950 font-medium text-[15px]
10              transition-all duration-200
11              disabled:opacity-70 disabled:cursor-not-allowed
12              focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/50 focus-visible:ring-offset-2 focus-visible:ring-offset-black
13              hover:-translate-y-0.5 active:translate-y-0
14            `,children:d?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("svg",{className:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[(0,s.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,s.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Retrying..."]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),"Try Again"]})}),(0,s.jsxs)("button",{onClick:()=>{window.location.reload()},className:`
15              flex items-center justify-center gap-2
16              px-6 py-3.5 rounded-xl
17              bg-white/[0.08] hover:bg-white/[0.08]
18              border border-white/[0.08] hover:border-white/[0.15]
19              text-white font-medium text-[15px]
20              transition-all duration-200
21              focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--brand-deep)] focus-visible:ring-offset-2 focus-visible:ring-offset-black
22            `,children:[(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),"Refresh Page"]}),(0,s.jsxs)(n(),{href:"/",className:`
23              flex items-center justify-center gap-2
24              px-6 py-3.5 rounded-xl
25              text-white/60 hover:text-white
26              hover:bg-white/[0.05]
27              font-medium text-[15px]
28              transition-all duration-200
29              focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--brand-deep)] focus-visible:ring-offset-2 focus-visible:ring-offset-black
30            `,children:[(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go to Homepage"]})]}),t.digest&&(0,s.jsxs)("div",{className:`
31              mt-12 transition-all duration-500 delay-300
32              ${a?"opacity-100":"opacity-0"}
33            `,children:[(0,s.jsxs)("button",{onClick:()=>c(!l),className:" inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs text-white/55 hover:text-white/60 hover:bg-white/[0.03] transition-all duration-200 ",children:[(0,s.jsx)("svg",{className:`w-3.5 h-3.5 transition-transform duration-200 ${l?"rotate-90":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})}),"Technical Details"]}
33),(0,s.jsx)("div",{className:`
34                mt-3 overflow-hidden transition-all duration-300
35                ${l?"max-h-40 opacity-100":"max-h-0 opacity-0"}
36              `,children:(0,s.jsxs)("div",{className:"p-4 rounded-xl bg-white/[0.02] border border-white/[0.06] text-left",children:[(0,s.jsx)("p",{className:"text-[11px] text-white/55 uppercase tracking-wider mb-2",children:"Error ID"}),(0,s.jsx)("code",{className:"text-xs text-white/70 font-mono break-all",children:t.digest})]})})]}),(0,s.jsxs)("p",{className:`
37            mt-8 text-xs text-white/55
38            transition-all duration-500 delay-500
39            ${a?"opacity-100":"opacity-0"}
40          `,children:["If this problem persists, try clearing your browser cache or"," ",(0,s.jsx)(n(),{href:"mailto:[email protected]",className:"text-white/60 hover:text-white/70 underline underline-offset-2",children:"contact support"})]})]})})}},24735:(e,t,i)=>{Promise.resolve().then(i.bind(i,17267))}},e=>{e.O(0,[8500,8441,3794,7358],()=>e(e.s=24735)),_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.