PageSourceSearch

https://www.lighthouseacademy.ai/_next/static/chunks/app/error-91b…?dpl=dpl_B8i6uaKa4mGdBdns9sATgLmG5vnc

js lighthouseacademy.ai collected 2026-10-04 23:37:28 UTC 6,240 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7601],{29435:function(e,t,r){Promise.resolve().then(r.bind(r,80449))},47907:function(e,t,r){"use strict";var n=r(15313);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},80449:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var n=r(3827),o=r(64090),s=r(4773),i=r(82150);let a=["Failed to find Server Action","from an older or newer deployment","Couldn't find action module"];function u(e){let{error:t,reset:r}=e;return o.useEffect(()=>{if(function(e){let t=e.message||"",r=e.digest||"";return a.some(e=>t.includes(e)||r.includes(e))}(t)){console.warn("[SkewProtection] Stale deployment error in error.tsx — reloading"),window.location.reload();return}(0,i.trackError)(t,{digest:t.digest,errorType:"server"})},[t]),(0,n.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100 px-4 py-12 dark:from-[#192d3c] dark:to-[#0f172a] sm:px-6 lg:px-8",children:(0,n.jsxs)("div",{className:"w-full max-w-md text-center",children:[(0,n.jsx)("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-red-100 dark:bg-red-900/20",children:(0,n.jsx)(s.Z,{className:"h-8 w-8 text-red-600 dark:text-red-400"})}),(0,n.jsx)("h1",{className:"mb-4 text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl",children:"Something went wrong"}),(0,n.jsx)("p",{className:"mb-8 text-lg text-gray-600 dark:text-gray-300",children:"We encountered an unexpected error on this page. Our team has been notified and is working on a fix."}),!1,(0,n.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:justify-center",children:[(0,n.jsx)("button",{onClick:r,className:"inline-flex justify-center rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 dark:bg-blue-500 dark:hover:bg-blue-600",children:"Try again"}),(0,n.jsx)("button",{onClick:()=>window.location.href="/",className:"inline-flex justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700",children:"Go home"})]}),(0,n.jsxs)("div",{className:"mt-8 text-sm text-gray-500 dark:text-gray-400",children:["If this problem persists, please"," ",(0,n.jsx)("a",{href:"mailto:[email protected]",className:"font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300",children:"contact our support team"})]})]})})}},82150:function(e,t,r){"use strict";r.r(t),r.d(t,{PostHogProvider:function(){return b},identifyUser:function(){return m},isPostHogReady:function(){return u},resetUser:function(){return h},setUserProperties:function(){return g},track404Error:function(){return l},trackError:function(){return d},trackEvent:function(){return f},useEngagementTracking:function(){return x},usePostHogClient:function(){return p}});var n=r(3827),o=r(31501),s=r(13994),i=r(47907),a=r(64090);function u(){return!0===o.ZP.__loaded}function c(e){return e.startsWith("/admin")?"admin":e.startsWith("/student")?"student":e.startsWith("/website")||"/"===e||e.startsWith("/courses")||e.startsWith("/login")||e.startsWith("/verify")||e.startsWith("/survey")||e.startsWith("/payment")?"website":"other"}function l(e,t){let r={error_404_path:e,error_404_referrer:t||document.referrer,error_404_url:window.location.href,section:c(e),error_type:"404_not_found",error_category:"page_not_found",$current_url:window.location.href};o.ZP.register({last_404_path:e,last_404_time:new Date().toISOString()}),o.ZP.capture("404_not_found",r)}function d(e,t){let r=window.location.pathname;o.ZP.capture("$exception",{$exception_message:e.message,$exception_type:e.name,$exception_stack_trace_raw:e.stack,section:c(r),component_stack:null==t?void 0:t.componentStack,error_digest:null==t?void 0:t.digest,error_type:(null==t?void 0:t.errorType)||"unknown"})}function f(e,t){let r=window.location.pathname;try{o.ZP.capture(e,{...t,section:c(r)}),console.log("[PostHog] Captured event: ".concat(e),t)}catch(t){console.error('[PostHog] Error capturing event "'.concat(e,'":'),t)}}function m(e,t){o.ZP.identify(e,t),t&&o.ZP.people.set(t)}function g(e){o.ZP.people.set(e)}function h(){o.ZP.reset()}function p(){return(0,s.U0)()}function x(){let e=(0,s.U0)(),t=(0,i.usePathname)();return{trackEngagement:(0,a.useCallback)((r,n)=>{e&&t&&e.capture("user_engagement",{action:r,section:c(t),...n})},[e,t])}}function b(e){let{children:t}=e;return(0,a.useEffect)(()=>{let e=()=>{o.ZP.init("phc_QZL4rZuuE91MAdWYsZLlZsmpvINTzqqZLwTSRD3kCMw",{api_host:"https://us.i.posthog.com",defaults:"2025-11-30",person_profiles:"identified_only",persistence:"localStorage+cookie",autocapture:{dom_event_allowlist:["click","
1submit"],element_allowlist:["a","button","form","input","select","textarea"]},disable_session_recording:!0,loaded:e=>{console.log("[PostHog] Initialized successfully")}})};"requestIdleCallback"in window?requestIdleCallback(e,{timeout:3e3}):setTimeout(e,2e3)},[]),(0,n.jsx)(s.zf,{client:o.ZP,children:t})}},4773:function(e,t,r){"use strict";var n=r(64090);let o=n.forwardRef(function(e,t){let{title:r,titleId:o,...s}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":o},s),r?n.createElement("title",{id:o},r):null,n.createElement("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"}))});t.Z=o}},function(e){e.O(0,[5878,3994,2971,8069,1744],function(){return e(e.s=29435)}),_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.