(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17412,e=>{"use strict";var i=e.i(43476),t=e.i(51937);e.i(71645);var r=e.i(24848),a=e.i(43798),n=e.i(89549),s=e.i(14037),l=e.i(44662),o=e.i(21879),c=e.i(27556),d={root:"m_66836ed3",wrapper:"m_a5d60502",body:"m_667c2793",title:"m_6a03f287",label:"m_698f4f23",icon:"m_667f2a6a",message:"m_7fa78076",closeButton:"m_87f54839"};let h=(0,a.createVarsResolver)((e,{radius:i,color:t,variant:a,autoContrast:n})=>{let s=e.variantColorResolver({color:t||e.primaryColor,theme:e,variant:a||"light",autoContrast:n});return{root:{"--alert-radius":void 0===i?void 0:(0,r.getRadius)(i),"--alert-bg":t||a?s.background:void 0,"--alert-color":s.color,"--alert-bd":t||a?s.border:void 0}}}),x=(0,o.factory)((e,r)=>{let a=(0,n.useProps)("Alert",null,e),{classNames:o,className:x,style:g,styles:m,unstyled:u,vars:p,radius:b,color:v,title:j,children:y,id:f,icon:w,withCloseButton:T,onClose:B,closeButtonLabel:C,variant:R,autoContrast:k,role:A,attributes:z,..._}=a,N=(0,s.useStyles)({name:"Alert",classes:d,props:a,className:x,style:g,classNames:o,styles:m,unstyled:u,attributes:z,vars:p,varsResolver:h}),S=(0,t.useId)(f),P=j&&`${S}-title`||void 0,$=`${S}-body`;return(0,i.jsx)(l.Box,{id:S,...N("root",{variant:R}),variant:R,ref:r,role:A||"alert",..._,"aria-describedby":y?$:void 0,"aria-labelledby":j?P:void 0,children:(0,i.jsxs)("div",{...N("wrapper"),children:[w&&(0,i.jsx)("div",{...N("icon"),children:w}),(0,i.jsxs)("div",{...N("body"),children:[j&&(0,i.jsx)("div",{...N("title"),"data-with-close-button":T||void 0,children:(0,i.jsx)("span",{id:P,...N("label"),children:j})}),y&&(0,i.jsx)("div",{id:$,...N("message"),"data-variant":R,children:y})]}),T&&(0,i.jsx)(c.CloseButton,{...N("closeButton"),onClick:B,variant:"transparent",size:16,iconSize:16,"aria-label":C,unstyled:u})]})})});x.classes=d,x.displayName="@mantine/core/Alert",e.s(["Alert",0,x],17412)},45137,e=>{"use strict";var i=e.i(43476),t=e.i(17412),r=e.i(44662),a=e.i(33372),n=e.i(51501),s=e.i(41710),l=e.i(26200),o=e.i(77936),c=e.i(94229),d=e.i(92181),h=e.i(46932),x=e.i(18566),g=e.i(48148),m=e.i(20133);e.s(["default",0,()=>{let e=(0,g.useTranslations)("AccessDenied"),u=(0,x.useSearchParams)().get("redirect");return(0,i.jsx)(r.Box,{className:"hero-gradient page-transition",style:{minHeight:"100vh",display:"grid",placeContent:"center",width:"100%",height:"100%"},children:(0,i.jsx)(s.Container,{size:"md",style:{paddingTop:"40px",paddingBottom:"80px"},children:(0,i.jsx)(h.motion.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.8},children:(0,i.jsx)(r.Box,{children:(0,i.jsxs)(o.Stack,{gap:"xl",align:"center",children:[(0,i.jsx)(d.Title,{order:1,c:"white",fw:800,ta:"center",size:"2.5rem",children:e("accessRestricted")}),(0,i.jsx)(h.motion.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.2},children:(0,i.jsx)(n.Card,{className:"glass-effect enhanced-card !bg-transparent",p:"xl",maw:600,mx:"auto",children:(0,i.jsxs)(o.Stack,{gap:"lg",align:"center",children:[(0,i.jsx)(t.Alert,{color:"yellow",variant:"light",style:{width:"100%"},title:e("authRequiredTitle"),children:(0,i.jsx)(c.Text,{size:"sm",c:"white",children:e("authRequiredText")})}),(0,i.jsx)(r.Box,{className:"animate-glow",style:{width:"120px",height:"120px",background:"rgba(251, 207, 10, 0.2)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"20px 0"},children:(0,i.jsx)(c.Text,{size:"4rem",children:"🔒"})}),(0,i.jsx)(d.Title,{order:3,c:"white",ta:"center",children:e("branchRegistrationAccess")}),(0,i.jsxs)(l.Group,{gap:"md",mt:"lg",children:[(0,i.jsx)(m.Link,{href:`/login${u?`?redirect=${u}`:""}`,style:{textDecoration:"none"},children:(0,i.jsx)(a.Button,{size:"lg",className:"accent-gradient interactive-button",c:"brand.9",fw:600,style:{border:"none",background:"linear-gradient(135deg, var(--theme-accent) 0%, #ffd700 100%)"},children:e("signInNow")})}),(0,i.jsx)(m.Link,{href:"/",style:{textDecoration:"none"},children:(0,i.jsx)(a.Button,{size:"lg",variant:"outline",c:"white",className:"interactive-button bg-transparent",style:{borderColor:"white"},children:e("backToHome")})})]})]})})})]})})})})})}])}]);