import{aJ as e}from"./vendor-element-plus.js?ver=3.1.10";import{aQ as t,W as s,X as n,ab as a,a5 as o,Z as i,a0 as r,_ as l,a9 as c,aa as p,a8 as u}from"./vendor.js?ver=3.1.10";import{_ as d,I as m}from"./fc-bits-ui.js?ver=3.1.10";const b={class:"fcrm_settings_topbar"},g={key:0,class:"fcrm_settings_topbar--breadcrumb"},_={key:1},f={key:2,class:"fcrm_settings_topbar--actions"};const M=d({name:"SettingsHeader",components:{Icons:m},inject:["toggleMenu","settingsState"],computed:{isMenuOpen(){return this.settingsState&&this.settingsState.isMenuOpen}},props:{title:{type:String,default:""}}},[["render",function(d,m,M,v,S,$){const O=t("Icons"),h=e;return s(),n("div",b,[d.$slots.breadcrumb?(s(),n("div",g,[a(h,{enterable:!1,transition:"none",content:$.isMenuOpen?d.$t("Close Sidebar"):d.$t("Open Sidebar"),placement:"right"},{default:o(()=>[i("span",{class:r(["fcrm_settings_menu_collapsable--btn",{"is-collapsed":$.isMenuOpen}]),onClick:m[0]||(m[0]=(...e)=>$.toggleMenu&&$.toggleMenu(...e))},[a(O,{"icon-name":"sidebar"})],2)],void 0),_:1},8,["content"]),l(d.$slots,"breadcrumb")])):(s(),n("h3",_,[a(h,{enterable:!1,transition:"none",content:$.isMenuOpen?d.$t("Close Sidebar"):d.$t("Open Sidebar"),placement:"right"},{default:o(()=>[i("span",{class:r(["fcrm_settings_menu_collapsable--btn",{"is-collapsed":$.isMenuOpen}]),onClick:m[1]||(m[1]=(...e)=>$.toggleMenu&&$.toggleMenu(...e))},[a(O,{"icon-name":"sidebar"})],2)],void 0),_:1},8,["content"]),c(" "+p(M.title)+" ",1),l(d.$slots,"afterTitle")])),d.$slots.actions?(s(),n("div",f,[l(d.$slots,"actions")])):u("",!0)])}]]);export{M as S};
