1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bc3e006d-ca12-577c-a06e-1affe46618e8")}catch(e){}}(); 3import{a as e,t}from"./jsx-runtime-CMgEUHpv.js";import{V as n,g as r,m as i}from"./dist-CAHjj65Z.js";import{t as a}from"./useTranslation-BymTnaHx.js";import{O as o,n as s}from"./components-B8bHjdou.js";import{t as c}from"./classnames-PxzWHlFm.js";var l=e(n(),1),u=e(c(),1),d=t(),f=({isFullWidth:e=!1})=>{let{t}=a(),n=i(),r=t(`errors.refresh.title`),o=t(`errors.refresh.description`),c=t(`errors.refresh.label`);return(0,d.jsx)(`div`,{className:(0,u.default)(`mx-auto flex min-h-screen items-center justify-center bg-white px-4 py-24`,e?`w-full`:`max-w-3xl`),children:(0,d.jsx)(`div`,{className:(0,u.default)(`mx-auto`,e?`max-w-screen-lg`:`max-w-max`),children:(0,d.jsx)(`main`,{className:`sm:flex`,children:(0,d.jsx)(`div`,{className:`sm:ml-6`,children:(0,d.jsxs)(`div`,{className:`sm:pl-6`,children:[(0,d.jsx)(`h1`,{className:`text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl`,children:r}),(0,d.jsx)(`p`,{className:`my-4 text-base text-gray-500`,children:o}),(0,d.jsx)(s,{to:n.pathname+n.search,reloadDocument:!0,className:`mt-1 text-base text-gray-600 underline`,children:c})]})})})})})},p=({isFullWidth:e=!1,inline:t=!1,errorCode:n=`404`,publicationPresent:c=!0,customTitle:p,customDescription:m,error:h})=>{let{t:g,i18n:_}=a(),v=r(),{pathname:y}=i(),[b]=o();if((0,l.useEffect)(()=>{n===`404`&&!b.has(`404`)&&v(`/?${new URLSearchParams({404:y})}`)},[n,y,b,v]),h?.message===`RefreshPageError`)return(0,d.jsx)(f,{isFullWidth:e});let x=_.exists(`errors.${n}.title`)?g(`errors.${n}.title`):g(`errors.fallback.title`),S=_.exists(`errors.${n}.description`)?g(`errors.${n}.description`):g(`errors.fallback.description`);return(0,d.jsx)(`div`,{className:(0,u.default)(`mx-auto flex items-center justify-center bg-white px-4 py-24`,t?``:`min-h-screen`,e?`w-full`:`max-w-3xl`),children:(0,d.jsx)(`div`,{className:(0,u.default)(`mx-auto`,e?`max-w-screen-lg`:`max-w-max`),children:(0,d.jsxs)(`main`,{className:`sm:flex`,children:[n!==`0`&&(0,d.jsx)(`p`,{className:`text-4xl font-extrabold text-gray-600 sm:text-5xl`,children:n}),(0,d.jsx)(`div`,{className:`sm:ml-6`,children:(0,d.jsxs)(`div`,{className:(0,u.default)(`sm:pl-6`,n!==`0`&&`sm:border-l sm:border-gray-200`),children:[(0,d.jsx)(`h1`,{className:`text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl`,children:p||x}),(0,d.jsx)(`p`,{className:`mb-2 mt-2 text-base text-gray-500`,children:m||S}),c&&(0,d.jsx)(s,{to:`/`,className:`offset-1 mt-1 text-base text-gray-600 underline hover:text-gray-700`,children:g(`errors.back`)}),h&&(0,d.jsxs)(`details`,{className:`mt-4`,children:[(0,d.jsx)(`summary`,{className:`text-sm font-medium text-gray-500`,children:`Error Details`}),(0,d.jsx)(`p`,{className:`mt-2 text-sm text-gray-900`,children:h.message}),h?.stack&&(0,d.jsx)(`pre`,{className:`mt-2 w-[360px] overflow-x-auto text-sm text-gray-900 sm:w-[480px]`,children:h.stack})]})]})})]})})})};export{p as t}; 4//# sourceMappingURL=Fallback-XSo-r-93.js.map 5//# debugId=bc3e006d-ca12-577c-a06e-1affe46618e8
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.