(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,32381,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={NEXT_REQUEST_META:function(){return i},addRequestMeta:function(){return a},getRequestMeta:function(){return l},removeRequestMeta:function(){return d},setRequestMeta:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=Symbol.for("NextInternalRequestMeta");function l(e,t){let r=e[i]||{};return"string"==typeof t?r[t]:r}function s(e,t){return e[i]=t,t}function a(e,t,r){let n=l(e);return n[t]=r,s(e,n)}function d(e,t){let r=l(e);return delete r[t],s(e,r)}},44684,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return p}});let n=e.r(2879),o=e.r(21628),i=n._(e.r(16340)),l=n._(e.r(37099)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function a({req:t,res:r,err:n}){let o,i=r&&r.statusCode?r.statusCode:n?n.statusCode:404;if("u">typeof window)o=window.location.hostname;else if(t){let{getRequestMeta:r}=e.r(32381),n=r(t,"initURL");n&&(o=new URL(n).hostname)}return{statusCode:i,hostname:o}}let d={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},u={lineHeight:"48px"},c={display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},f={fontSize:14,fontWeight:400,lineHeight:"28px"},h={display:"inline-block"};class p extends i.default.Component{static{this.displayName="ErrorPage"}static{this.getInitialProps=a}static{this.origGetInitialProps=a}render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||s[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:d,children:[(0,o.jsx)(l.default,{children:(0,o.jsx)("title",{children:e?`${e}: ${r}`:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:u,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:`body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}${t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":""}`}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:c,children:e}):null,(0,o.jsx)("div",{style:h,children:(0,o.jsxs)("h2",{style:f,children:[this.props.title||e?r:(0,o.jsxs)(o.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,o.jsxs)(o.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]);