import{S as _e,c as ge,a as me,d,e as h,m as b,b as v,t as w,f as S,g as Z,l as D,o as H,p as I,q as de,n as z}from"./index-CFSywFfb.js";import{b as T,k as F,i as g,d as $,a as q,f as G,h as K,l as he,v as te,q as be,r as ve,w as we,t as E,j as N,u as ae,m as R,n as j}from"./lifecycle-u0QeOdKt.js";import{e as re}from"./each-BfZOZzPH.js";import{a as Se,b as ke,c as L,d as Q}from"./XPro-CT_nc-YB.js";import{b as ne,c as Ae,$ as Pe}from"./runtime-BvEoAjCK.js";import{P as Ce,i as Ee,K as Ne,j as Te,B as Fe}from"./ZoomOut24-BLVY8N49.js";import"./index-DZGdSOdS.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";function le(n,e,a){const t=n.slice();return t[12]=e[a],t}function qe(n){let e,a=n[3]("settings.profile.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.profile.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function Ge(n){let e,a;return e=new Ce({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function Ke(n){let e,a=n[3]("settings.account.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.account.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function Oe(n){let e,a;return e=new Ee({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function Re(n){let e,a=n[3]("settings.ssh_gpg_keys.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.ssh_gpg_keys.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function je(n){let e,a;return e=new Ne({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function Be(n){let e,a=n[3]("settings.appearance.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.appearance.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function Me(n){let e,a;return e=new Te({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function De(n){let e,a=n[3]("settings.notifications.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.notifications.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function He(n){let e,a;return e=new Fe({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function Ie(n){let e,a,t,r,l,p,_,P,C,m,A,c,o,f,i;function O(s){n[6](s)}let B={name:"profile",value:"profile",title:"Profile",$$slots:{lead:[Ge],default:[qe]},$$scope:{ctx:n}};n[0]!==void 0&&(B.group=n[0]),e=new L({props:B}),D.push(()=>H(e,"group",O)),e.$on("change",n[4]);function k(s){n[7](s)}let M={name:"account",value:"account",title:"Account",$$slots:{lead:[Oe],default:[Ke]},$$scope:{ctx:n}};n[0]!==void 0&&(M.group=n[0]),r=new L({props:M}),D.push(()=>H(r,"group",k)),r.$on("change",n[4]);function ue(s){n[8](s)}let y={name:"ssh_gpg_keys",value:"ssh_gpg_keys",title:"SSH/GPG Keys",$$slots:{lead:[je],default:[Re]},$$scope:{ctx:n}};n[0]!==void 0&&(y.group=n[0]),_=new L({props:y}),D.push(()=>H(_,"group",ue)),_.$on("change",n[4]);function $e(s){n[9](s)}let x={name:"appearance",value:"appearance",title:"Appearance",$$slots:{lead:[Me],default:[Be]},$$scope:{ctx:n}};n[0]!==void 0&&(x.group=n[0]),m=new L({props:x}),D.push(()=>H(m,"group",$e)),m.$on("change",n[4]);function ce(s){n[10](s)}let ee={name:"notifications",value:"notifications",title:"Notifications",$$slots:{lead:[He],default:[De]},$$scope:{ctx:n}};return n[0]!==void 0&&(ee.group=n[0]),o=new L({props:ee}),D.push(()=>H(o,"group",ce)),o.$on("change",n[4]),{c(){d(e.$$.fragment),t=T(),d(r.$$.fragment),p=T(),d(_.$$.fragment),C=T(),d(m.$$.fragment),c=T(),d(o.$$.fragment)},l(s){h(e.$$.fragment,s),t=F(s),h(r.$$.fragment,s),p=F(s),h(_.$$.fragment,s),C=F(s),h(m.$$.fragment,s),c=F(s),h(o.$$.fragment,s)},m(s,u){b(e,s,u),g(s,t,u),b(r,s,u),g(s,p,u),b(_,s,u),g(s,C,u),b(m,s,u),g(s,c,u),b(o,s,u),i=!0},p(s,u){const U={};u&32776&&(U.$$scope={dirty:u,ctx:s}),!a&&u&1&&(a=!0,U.group=s[0],I(()=>a=!1)),e.$set(U);const V={};u&32776&&(V.$$scope={dirty:u,ctx:s}),!l&&u&1&&(l=!0,V.group=s[0],I(()=>l=!1)),r.$set(V);const W={};u&32776&&(W.$$scope={dirty:u,ctx:s}),!P&&u&1&&(P=!0,W.group=s[0],I(()=>P=!1)),_.$set(W);const X={};u&32776&&(X.$$scope={dirty:u,ctx:s}),!A&&u&1&&(A=!0,X.group=s[0],I(()=>A=!1)),m.$set(X);const Y={};u&32776&&(Y.$$scope={dirty:u,ctx:s}),!f&&u&1&&(f=!0,Y.group=s[0],I(()=>f=!1)),o.$set(Y)},i(s){i||(v(e.$$.fragment,s),v(r.$$.fragment,s),v(_.$$.fragment,s),v(m.$$.fragment,s),v(o.$$.fragment,s),i=!0)},o(s){w(e.$$.fragment,s),w(r.$$.fragment,s),w(_.$$.fragment,s),w(m.$$.fragment,s),w(o.$$.fragment,s),i=!1},d(s){s&&($(t),$(p),$(C),$(c)),S(e,s),S(r,s),S(_,s),S(m,s),S(o,s)}}}function Le(n){let e;return{c(){e=E("Anvil")},l(a){e=N(a,"Anvil")},m(a,t){g(a,e,t)},d(a){a&&$(e)}}}function ze(n){let e,a;return e=new Q({props:{href:"/",$$slots:{default:[Le]},$$scope:{ctx:n}}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p(t,r){const l={};r&32768&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)},i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function se(n){let e,a=n[12]+"",t,r;return{c(){e=q("option"),t=E(a),this.h()},l(l){e=G(l,"OPTION",{});var p=K(e);t=N(p,a),p.forEach($),this.h()},h(){e.__value=r=n[12],ae(e,e.__value)},m(l,p){g(l,e,p),R(e,t)},p(l,p){p&4&&a!==(a=l[12]+"")&&j(t,a),p&4&&r!==(r=l[12])&&(e.__value=r,ae(e,e.__value))},d(l){l&&$(e)}}}function Je(n){let e;return{c(){e=E("Matrix")},l(a){e=N(a,"Matrix")},m(a,t){g(a,e,t)},d(a){a&&$(e)}}}function Qe(n){let e;return{c(){e=E("ForgeFed")},l(a){e=N(a,"ForgeFed")},m(a,t){g(a,e,t)},d(a){a&&$(e)}}}function Ue(n){let e;return{c(){e=E("Code")},l(a){e=N(a,"Code")},m(a,t){g(a,e,t)},d(a){a&&$(e)}}}function Ve(n){let e,a,t,r,l,p,_,P,C,m,A=re(n[2]),c=[];for(let o=0;on[5].call(e))},m(o,f){g(o,e,f);for(let i=0;ia(1,t=i)),Z(n,Ae,i=>a(2,r=i)),Z(n,Pe,i=>a(3,l=i));let p=0;const _=ke();function P(i){const O={id:i.target.value};_.open(O)}function C(){t=we(this),ne.set(t)}function m(i){p=i,a(0,p)}function A(i){p=i,a(0,p)}function c(i){p=i,a(0,p)}function o(i){p=i,a(0,p)}function f(i){p=i,a(0,p)}return[p,t,r,l,P,C,m,A,c,o,f]}class fe extends _e{constructor(e){super(),ge(this,e,Xe,We,me,{})}}fe.__docgen={version:3,name:"SettingsSidebar.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const ot={title:"Atoms/SettingsSidebar",component:fe,tags:["autodocs"]},J={};var oe,ie,pe;J.parameters={...J.parameters,docs:{...(oe=J.parameters)==null?void 0:oe.docs,source:{originalSource:"{}",...(pe=(ie=J.parameters)==null?void 0:ie.docs)==null?void 0:pe.source}}};const it=["Plain"];export{J as Plain,it as __namedExportsOrder,ot as default};