(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},18967,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={DecodeError:function(){return h},MiddlewareNotFoundError:function(){return x},MissingStaticPage:function(){return E},NormalizeError:function(){return b},PageNotFoundError:function(){return P},SP:function(){return m},ST:function(){return y},WEB_VITALS:function(){return i},execOnce:function(){return s},getDisplayName:function(){return f},getLocationOrigin:function(){return c},getURL:function(){return l},isAbsoluteUrl:function(){return u},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return g},stringifyError:function(){return j}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let r,t=!1;return(...n)=>(t||(t=!0,r=e(...n)),r)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>a.test(e);function c(){let{protocol:e,hostname:r,port:t}=window.location;return`${e}//${r}${t?":"+t:""}`}function l(){let{href:e}=window.location,r=c();return e.substring(r.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function g(e){let r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?`?${r.slice(1).join("?")}`:"")}async function p(e,r){let t=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await p(r.Component,r.ctx)}:{};let n=await e.getInitialProps(r);if(t&&d(t))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,y=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class b extends Error{}class P extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class E extends Error{constructor(e,r){super(),this.message=`Failed to load static file for page: ${e} ${r}`}}class x extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},98183,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={assign:function(){return u},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return a}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});function i(e){let r={};for(let[t,n]of e.entries()){let e=r[t];void 0===e?r[t]=n:Array.isArray(e)?e.push(n):r[t]=[e,n]}return r}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let r=new URLSearchParams;for(let[t,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)r.append(t,s(e));else r.set(t,s(n));return r}function u(e,...r){for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}},63491,e=>{"use strict";var r=e.i(43476);e.s(["default",0,function({error:e,reset:t}){return(0,r.jsx)("html",{lang:"en",children:(0,r.jsx)("body",{style:{margin:0,minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#0b0b0c",color:"#f4f4f5",fontFamily:"ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif"},children:(0,r.jsxs)("main",{role:"alert",style:{maxWidth:"32rem",padding:"2rem",borderRadius:"0.75rem",border:"1px solid rgba(244, 63, 94, 0.35)",backgroundColor:"rgba(244, 63, 94, 0.08)"},children:[(0,r.jsx)("h1",{style:{margin:0,fontSize:"1.125rem",fontWeight:700},children:"PatchTrail hit a fatal error"}),(0,r.jsx)("p",{style:{marginTop:"0.75rem",fontSize:"0.875rem",lineHeight:1.6,color:"#d4d4d8"},children:e.message||"The application could not render. Reload to try again."}),e.digest?(0,r.jsxs)("p",{style:{marginTop:"0.5rem",fontSize:"0.75rem",fontWeight:600,color:"#a1a1aa"},children:["Reference ",e.digest]}):null,(0,r.jsx)("button",{type:"button",onClick:t,style:{marginTop:"1.25rem",padding:"0.5rem 1rem",borderRadius:"0.5rem",border:"1px solid rgba(244, 244, 245, 0.25)",backgroundColor:"transparent",color:"#f4f4f5",fontWeight:600,cursor:"pointer"},children:"Try again"})]})})})}])}]);