import{s as $,A as D,Q as x,m as C,h as f,o as a,c as l,b as s,u as o,a as t,t as h,e as b,i as w,j as g,n as r,F as v,H as z}from"./app-13978987.js";import{_ as H,a as B}from"./MobileMenu-4272ee25.js";import{_ as L}from"./SeoMeta-91cb18dc.js";import A from"./ToastrContainer-82d03ccc.js";const F={class:"header-signin-area header-bottom__transparent header-signin-ptb z-index-5"},M={class:"container-fluid"},N={class:"row align-items-center"},S={class:"col-6"},V={class:"header-signin-logo"},j={key:0,href:"/"},G=["src"],I={key:1,href:"/"},q=["src"],E=s("i",null,[s("span"),s("span"),s("span")],-1),Q=[E],R={class:"header-bottom__area header-bottom__transparent header-bottom__bdr z-index-5 d-none"},U={class:"container"},J={class:"row g-0 align-items-center"},K={class:"col-xxl-2 col-xl-2 col-lg-2 col-md-4 col-6"},O={class:"header-bottom__logo"},P={href:"/"},T=["src"],W={class:"col-xxl-7 col-xl-7 col-lg-7 d-none d-lg-block"},X={class:"header-bottom__main-menu header-bottom__main-menu-4 header-bottom__main-menu-inner"},Y={class:"mobile-menu"},Z={class:"col-xxl-3 col-xl-3 col-lg-3 col-md-8 col-6"},ss={class:"header-bottom__right d-flex align-items-center justify-content-end"},es={class:"header-bottom__action header-bottom__action-4"},os=["href"],ts={class:"header-bottom__btn d-flex align-items-center"},as=s("b",null,null,-1),ns=s("a",{class:"header-bottom__bar tp-menu-bar d-lg-none",href:"#"},[s("i",{class:"fal fa-bars"})],-1),ls={class:"tpoffcanvas-area"},is={class:"close-btn"},cs={class:"tpoffcanvas__logo text-center"},rs={href:"/"},_s=["src"],ds={class:"mobile-menu mean-container"},hs={class:"tpoffcanvas__social"},ms={class:"social-icon text-center"},ps=["href"],us=s("i",{class:"fab fa-twitter"},null,-1),fs=[us],bs=["href"],gs=s("i",{class:"fab fa-instagram"},null,-1),vs=[gs],ks=["href"],ys=s("i",{class:"fab fa-facebook-square"},null,-1),$s=[ys],Ds=["href"],xs=s("i",{class:"fab fa-linkedin"},null,-1),Cs=[xs],ws={__name:"Header",props:{theme:{type:String,default:"light"}},setup(k){const{authUser:n,currentRouteGroup:m}=$(),_=D(()=>{}),i=x().props.primaryData.socials,c=C(!1),d=()=>{c.value=!c.value};return(e,zs)=>{var u;const p=f("Link"),y=f("Icon");return a(),l(v,null,[s("header",null,[s("div",F,[s("div",M,[s("div",N,[s("div",S,[s("div",V,[o(m)("Auth",!1)?(a(),l("a",j,[s("img",{src:e.$page.props.primaryData.logo,alt:""},null,8,G)])):(a(),l("a",I,[s("img",{src:e.$page.props.primaryData.deep_logo,alt:""},null,8,q)]))])]),s("div",{class:"col-6"},[s("div",{class:"header-signin-bar tp-menu-bar text-end"},[s("button",{onClick:d},Q)])])])])]),s("div",R,[s("div",U,[s("div",J,[s("div",K,[s("div",O,[s("a",P,[s("img",{src:_.value?e.$page.props.primaryData.deep_logo:e.$page.props.primaryData.logo,alt:""},null,8,T)])])]),s("div",W,[s("div",X,[s("nav",Y,[t(H)])])]),s("div",Z,[s("div",ss,[s("div",es,[o(n)?(a(),l("a",{key:0,class:"d-none d-lg-inline-block header-bottom__action-2 border-none",href:o(n).role=="admin"?"/admin/dashboard":"/user/dashboard"},[s("span",null,h(e.trans("Dashboard")),1)],8,os)):b("",!0),o(n)?b("",!0):(a(),w(p,{key:1,class:"d-none d-lg-inline-block header-bottom__action-2 border-none",href:"/login"},{default:g(()=>[s("span",null,h(e.trans("Login")),1)]),_:1}))]),s("div",ts,[t(p,{class:r(_.value?"tp-btn-blue-sm d-none d-md-inline-block tp-btn-hover alt-color-black":"tp-btn-white tp-btn-hover alt-color-black d-none d-md-inline-block"),href:"/register"},{default:g(()=>[s("span",{class:r(_.value?"text-white":"")},h(e.trans("Get Free")),3),as]),_:1},8,["class"]),ns])])])])])])]),s("div",ls,[s("div",{class:r(`tpoffcanvas ${c.value?"opened":""}`)},[s("div",{class:"tpoffcanvas__close-btn",onClick:d},[s("button",is,[t(y,{class:"fs-4",icon:"ep:close"})])]),s("div",cs,[s("a",rs,[s("img",{src:(u=e.$page.props.primaryData)==null?void 0:u.logo,alt:""},null,8,_s)])]),s("div",ds,[t(B)]),s("div",hs,[s("div",ms,[s("a",{href:e.sanitizeHtml(o(i).twitter)},fs,8,ps),s("a",{href:e.sanitizeHtml(o(i).instagram)},vs,8,bs),s("a",{href:e.sanitizeHtml(o(i).facebook)},$s,8,ks),s("a",{href:e.sanitizeHtml(o(i).linkedin)},Cs,8,Ds)])])],2),s("div",{class:r(`body-overlay ${c.value?"apply":""}`),onClick:d},null,2)])],64)}}},Fs={__name:"AuthLayout",setup(k){return(n,m)=>(a(),l(v,null,[t(L),t(A),t(ws),s("main",null,[z(n.$slots,"default")])],64))}};export{Fs as _};
