import{d as S,bH as k,z as w,G as y,bI as L,f as P,bJ as N,q as r,o as a,l as u,i as $,s as i,j as m,a6 as I,bK as F,a0 as H,a1 as T,k as t,bL as V,C as x,bM as z,m as A}from"./Cvzsf6pb.js";import{_ as M}from"./Bir664i4.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=V,f=z,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,H(T(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})):x("",!0)],!0)]),_:3},8,["brand-code"])}}}),G=A(j,[["__scopeId","data-v-4ab2d3bc"]]);export{G as default}; //# sourceMappingURL=DriQATnI.js.map