PageSourceSearch

https://www.thenational.academy/_next/static/chunks/app/error-4dda…?dpl=dpl_FpvzYYJKwgnQiozN4Ww5oQ9mAKNL

js thenational.academy collected 2026-09-24 09:26:20 UTC 2,053 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8039],{20221:(e,t,r)=>{Promise.resolve().then(r.bind(r,40682))},40682:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r(48789),n=r(64721),i=r(41264),a=r(38610),c=r(63165),l=r(97139);function o(e){let{error:t,reset:r}=e,o=(0,n.useMemo)(()=>(0,i.Ay)("app::root-layout"),[]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.A,{}),(0,s.jsx)(l.A,{error:t,reset:r,reportError:o}),(0,s.jsx)(a.default,{})]})}},97139:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var s=r(48789),n=r(25788),i=r(36244),a=r(95231),c=r(67139),l=r(81731),o=r(7702),u=r(64721);function d(e){let{error:t,reportError:r,reset:d,actionSlot:h}=e,p=(0,o.useRouter)();return(0,u.useEffect)(()=>{r(t)},[t,r]),(0,s.jsx)(n.a,{$alignItems:"flex-end",children:(0,s.jsxs)(i.J,{$mv:"spacing-80",$flexDirection:"column",$width:["100%","50%"],$ph:"spacing-16",children:[(0,s.jsx)(i.J,{"data-testid":"errorStatus",$justifyContent:["flex-end","flex-start"],children:(0,s.jsx)(a.Id,{$font:"heading-5",$mb:"spacing-12",tag:"h1",children:"An error occurred"})}),(0,s.jsx)(a.Id,{$mb:"spacing-48",$font:["heading-5","heading-4"],tag:"h2",children:"Whoops! It looks like you have fallen too far from the tree."}),(0,s.jsx)(c.a,{$mb:"spacing-24",children:"Let's get you back to browsing"}),h??(0,s.jsxs)(i.J,{$flexDirection:"column",$gap:"spacing-24",children:[(0,s.jsx)(l.q,{onClick:()=>(0,u.startTransition)(()=>{d(),p.refresh()}),iconName:"retake",children:"Retry"}),(0,s.jsx)(l.q,{onClick:()=>p.back(),iconName:"arrow-left",children:"Go back"})]})]})})}},98704:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(64721),n=r(7702);let i={teachers:"TEACHERS",pupils:"PUPILS"},a=()=>{let e=(0,n.usePathname)(),t=e?.includes("/pupils")?i.pupils:i.teachers,[r,a]=(0,s.use
1State)(t);return(0,s.useEffect)(()=>{let r=e?.includes("/pupils")?i.pupils:i.teachers;t!==r&&a(r)},[e,t]),r}}},e=>{e.O(0,[8885,952,4542,9781,2549,6997,2618,7065,6141,781,4594,7258,5571,5169,7358],()=>e(e.s=20221)),_N_E=e.O()}]);
2//# sourceMappingURL=error-4dda9b4e47d7d24c.js.map

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.