1import{j as r}from"./jsx-runtime-BS8674TB.js";import{S as o}from"./HTTP-nJliPKA0.js";import{s as a}from"./shouldCaptureException-BEhkXvLB.js";import{l as i}from"./index-DEMJ_W06.js";import{B as n}from"./Button-tM5xL_aY.js";import{c}from"./debug-build-CLobQcBn.js";import{h as d}from"./chunk-S54KXAEJ-Bmd-iq5h.js";import{L as l,i as u}from"./chunk-QUQL4437-Dkdi43EK.js";import{C as m}from"./circle-alert-B2G29er-.js";import{i as p}from"./render-Cmwx6CLE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"a546372e173edf3f70ed446fcf61ee5139de7c8a"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="01b7c2e8-7a9a-4a79-9c0d-5b6e53fb92de",e._sentryDebugIdIdentifier="sentry-dbid-01b7c2e8-7a9a-4a79-9c0d-5b6e53fb92de")}catch{}})();const f="_root_1cm69_1",h="_card_1cm69_13",_="_icon_1cm69_27",b="_copy_1cm69_38",y="_title_1cm69_44",g="_description_1cm69_52",s={root:f,card:h,icon:_,copy:b,title:y,description:g},E=e=>{a(e.error)&&c(e.error);const t=w(e.error);return r.jsx("div",{className:s.root,children:r.jsxs("section",{className:s.card,"aria-labelledby":"error-boundary-title",children:[r.jsx(m,{"aria-hidden":!0,className:s.icon}),r.jsxs("hgroup",{className:s.copy,children:[r.jsxs("h1",{id:"error-boundary-title",className:s.title,"data-testid":"error-boundary-title",children:[t.status&&`${t.status} | `,t.title]}),r.jsx("h3",{className:s.description,children:t.description})]}),r.jsx(n,{variant:"default",asChild:!0,children:r.jsx(l,{to:d("/"),children:"Go back home"})})]})})},w=e=>{if(u(e))switch(e.status){case o.NOT_FOUND.code:return{status:e.status,title:"This page could not be found",description:"You just hit a route that doesn't exist."};case o.BAD_REQUEST.code:return{status:e.status,title:"Bad Request",description:"That didn't go as expected."};case o.INTERNAL_ERROR.code:return{status:e.status,title:"Internal Error",description:"Something went wrong."};case o.UNAUTHORIZED.code:return{status:e.status,title:"Unauthorized",description:"Unauthorized access."}}else{if(p(e))return{title:e.name,description:e.message};i(new Error("Remix error boundary reached with a non-response value",{cause:e}))}return{status:500,title:"Internal Error",description:"Something went wrong."}};export{E};
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.