import{a as l}from"./403-95074ca2.js";import{i as d}from"./index-065f7c61.js";import{a2 as f,r as a,e as u,u as m,o as _,c as p,a as e,t as b,f as g}from"./index-25eb6331.js";import{b as n}from"./route-block-83d24a4e.js";const h={class:"error-body"},k={class:"error-desc"},v=e("img",{src:l,class:"err-cover",alt:"forbidden"},null,-1),y=f({__name:"403",setup(R){const o=a(null),r=a("403");u(()=>{let s=new URLSearchParams(window.location.search),t=s.get("message")||"无权访问或资源已失效!";r.value=s.get("code")||"403",d(o.value,{showCursor:!1,disableBackTyping:!0,strings:[t]})});const c=m(),i=()=>c.push("/");return(s,t)=>(_(),p("div",h,[e("div",k,[e("div",{ref:"codeRef",class:"err-code"},b(g(r)),513),e("div",{ref_key:"contentRef",ref:o,class:"err-content"},null,512),e("button",{class:"error-btn",onClick:i}," 👉 返回首页 ")]),v]))}});typeof n=="function"&&n(y);export{y as default};
