import{b7 as f,O as _,aY as v,aT as s,r as p,a$ as e,aZ as a,aS as u,b9 as b,bo as k,b0 as h,aX as m}from"./index-xnhGKCfe.js";const g={class:"navbar-fixed"},y={class:"navbar__content"},B={class:"navbar__content-center"},C={class:"navbar__content-title"},S=f({__name:"NavBar",props:{title:{type:String,default:""},placeholder:{type:Boolean,default:!0},leftArrow:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#f7f8ff"},classN:{type:String,default:""},headLogo:{type:Boolean,default:!1},headerUrl:{type:String,default:""}},emits:["click-left","click-right"],setup(o,{emit:r}){const c=p(),n=r,l=()=>{n("click-left")},i=()=>{n("click-right")};return _(()=>{}),(t,N)=>{const d=k;return s(),v("div",{class:["navbar",o.classN],ref_key:"navbar",ref:c},[e("div",g,[e("div",y,[e("div",{class:"navbar__content-left",onClick:l},[a(t.$slots,"left",{},()=>[o.leftArrow?(s(),u(d,{key:0,name:"arrow-left",size:"30"})):b("",!0)],!0)]),e("div",B,[a(t.$slots,"center",{},()=>[o.headLogo?e("div",{class:"headLogo",style:{backgroundImage:`url(${o.headerUrl})`}},null,4):e("div",C,h(o.title),1)],!0)]),e("div",{class:"navbar__content-right",onClick:i},[a(t.$slots,"right",{},void 0,!0)])])])],2)}}}),w=m(S,[["__scopeId","data-v-6dad2204"]]);export{w as N};