(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,350829,e=>{"use strict";var r=e.i(618566),t=e.i(15010),i=e.i(530693);e.s(["useDefaultErrorHandler",0,e=>{let u=(0,r.useRouter)(),s=(0,r.useSearchParams)(),o=(0,i.useClientSideRedirectToGenericError)();(0,t.useEffect)(()=>{if(!e)return;let r=e.message||"UNKNOWN_TRPC_ERROR",t=new URLSearchParams(s);if("NOT_AUTHORIZED"===r){t.set("promptLogin","true"),u.push(`?${t.toString()}`);return}let i=setTimeout(()=>{o({code:r})},0);return()=>{clearTimeout(i)}},[e,u,o,s])}])},362009,e=>{"use strict";e.i(944362);var r=e.i(281022),t=e.i(350829);e.s(["default",0,function(e){let{error:i}=e,u=(0,r.isTRPCClientError)(i)?i:void 0;if((0,t.useDefaultErrorHandler)(u),!u)throw i}])}]);

//# sourceMappingURL=288wfgk79gdeo.js.map