import{o as e}from"./rolldown-runtime-iuO8RvI4.js";import{Jr as s,Tu as r}from"./shared-0-C4kdVF7Y.js";import{Mi as t,ki as a}from"./vendor-frame-CwiylG4Y.js";import{Qf as n}from"./shared-1-3-6x7RKF.js";import{nn as m}from"./vendor-all-2-BJdkbLSj.js";t();var o=a();function i({message:e,hint:t,showBackButton:a=!0,redirect:i="/code",error:l,onBack:c}){const d=r();return(0,o.jsx)("div",{className:"min-h-screen flex flex-col items-center justify-center px-4",children:(0,o.jsxs)("div",{className:"text-center max-w-md",children:[(0,o.jsx)("div",{className:"text-danger-000 mb-6 text-lg font-medium",children:e}),t?(0,o.jsx)("div",{className:"mb-6 text-sm text-text-300",children:t}):null,null,a&&(0,o.jsxs)(n,{onClick:c??(()=>d.push(i)),children:[(0,o.jsx)(s,{className:"mr-2"}),(0,o.jsx)(m,{defaultMessage:"Back to landing page",id:"KGeQPLIrlo"})]})]})})}export{i as t};