PageSourceSearch

https://www.tryexponent.com/_next/static/chunks/pages/admin/coach/[slug]-01040d3ef3766e21.js

js tryexponent.com collected 2026-09-24 18:30:01 UTC 1,317 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1202],{28249:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var u=s(6029),n=s(55729),r=s(81278),l=s(49399);let a=(0,s(72373).s5)(()=>{let e=(0,r.useRouter)(),[t,s]=(0,n.useState)(!0),{slug:a}=e.query;return((0,n.useEffect)(()=>{e.isReady&&(null===a?e.push("/404"):s(!1))},[e,e.isReady,a]),t)?(0,u.jsx)("div",{className:"mt-12 text-center",children:(0,u.jsx)("h3",{className:"mt-2 text-base font-medium text-gray-900",children:"Impersonating coach..."})}):(0,u.jsx)(l.default,{impersonateSlug:a})})},40507:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/coach/[slug]",function(){return s(28249)}])},72373:(e,t,s)=>{"use strict";s.d(t,{ZA:()=>o,rd:()=>a,s5:()=>c});var u=s(6029),n=s(55729),r=s(81278),l=s(57521);let a=e=>{let t=(0,r.useRouter)();return(0,n.useEffect)(()=>{t.replace(e.to)},[]),null},o=e=>t=>{let{currentUser:s,loading:n}=(0,l.Us)(),o=(0,r.useRouter)();return n?null:s?(0,u.jsx)(e,{...t}):(0,u.jsx)(a,{to:"/login?returnPath=".concat(o.asPath)})},c=e=>t=>{let{currentUser:s,loading:n}=(0,l.Us)();return n?null:(null==s?void 0:s.role)!=="admin"?(0,u.jsx)(a,{to:"/not-found"}):(0,u.jsx)(e,{...t})}}},e=>{e.O(0,[1479,1854,2327,196,6593,636,8792],()=>e(e.s=40507)),_N_E=e.O()}]);
2//# sourceMappingURL=[slug]-01040d3ef3766e21.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.