import{d as S,bI as k,z as w,G as y,bJ as L,f as P,bK as N,q as r,o as a,l as u,i as $,s as i,j as m,a6 as I,bL as F,a0 as T,a1 as V,k as t,bM as x,C as z,bN as A,m as H}from"./DQtKGRlR.js";import{_ as M}from"./BbI1p4hN.js";const j=S({__name:"error-layout",props:{showFooter:{type:Boolean},showLogin:{type:Boolean},isAuth:{type:Boolean},brand:{},showCustomerService:{type:Boolean},customerServiceProps:{},logoLink:{},variant:{}},emits:["login","logout"],setup(c){var n;const e=c,l=k(),{t:d}=w(),{phoneNumber:p}=y(),_=L({brand:e.brand,phoneNumber:p.value,t:d,isBusinessHour:((n=e.customerServiceProps)==null?void 0:n.isBusinessHour)??!1}),v=P(()=>({..._,...e.customerServiceProps})),b=e.brand?N(e.brand):[];return(o,s)=>{const g=F,h=x,f=A,B=M;return a(),r(B,{"brand-code":t(l),class:"layout-error"},{default:u(()=>[$("div",null,[m(h,{"is-auth":e.isAuth,"menu-items":t(b),"show-login":e.showLogin,"logo-link":e.logoLink,onLogin:s[0]||(s[0]=C=>o.$emit("login")),onLogout:s[1]||(s[1]=C=>o.$emit("logout"))},I({_:2},[o.showCustomerService?{name:"service",fn:u(()=>[m(g,T(V(t(v))),null,16)]),key:"0"}:void 0]),1032,["is-auth","menu-items","show-login","logo-link"]),i(o.$slots,"default",{},void 0,!0)]),i(o.$slots,"footer",{},()=>[o.showFooter?(a(),r(f,{key:0})):z("",!0)],!0)]),_:3},8,["brand-code"])}}}),G=H(j,[["__scopeId","data-v-4ab2d3bc"]]);export{G as default}; //# sourceMappingURL=Bw1txJ8K.js.map