1 line
1.9 KiB
JavaScript
1 line
1.9 KiB
JavaScript
import{S as b,c as k,a as w,d as _,e as $,m as h,b as l,t as m,q as x,f as S,u as y}from"./index-CP70Tq58.js";import{a as P,b as q,f as C,h as E,k as D,d as f,l as I,i as M,m as O}from"./lifecycle-D_bIUHQK.js";import{S as T}from"./SettingsSidebar-BkgySUKU.js";import{S as V}from"./SettingsProfile-D3pz3LKW.js";import"./each-C4g42ehH.js";import"./XPro-_Ll7JVYJ.js";import"./index-C0Lr04gB.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./runtime-CZkC8ltm.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-450rB1Ps.js";function p(i){let e,s;return e=new V({}),{c(){_(e.$$.fragment)},l(r){$(e.$$.fragment,r)},m(r,o){h(e,r,o),s=!0},i(r){s||(l(e.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),s=!1},d(r){S(e,r)}}}function j(i){let e,s,r,o;s=new T({}),s.$on("switch-settings",i[1]);let t=i[0]==="profile"&&p();return{c(){e=P("div"),_(s.$$.fragment),r=q(),t&&t.c(),this.h()},l(n){e=C(n,"DIV",{class:!0});var a=E(e);$(s.$$.fragment,a),r=D(a),t&&t.l(a),a.forEach(f),this.h()},h(){I(e,"class","flex bg-surface-50")},m(n,a){M(n,e,a),h(s,e,null),O(e,r),t&&t.m(e,null),o=!0},p(n,[a]){n[0]==="profile"?t?a&1&&l(t,1):(t=p(),t.c(),l(t,1),t.m(e,null)):t&&(y(),m(t,1,1,()=>{t=null}),x())},i(n){o||(l(s.$$.fragment,n),l(t),o=!0)},o(n){m(s.$$.fragment,n),m(t),o=!1},d(n){n&&f(e),S(s),t&&t.d()}}}function z(i,e,s){let r="profile";function o(t){s(0,r=t.detail)}return[r,o]}class v extends b{constructor(e){super(),k(this,e,z,j,w,{})}}v.__docgen={version:3,name:"Settings.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const X={title:"Molecules/Settings",component:v,tags:["autodocs"]},c={};var u,d,g;c.parameters={...c.parameters,docs:{...(u=c.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(d=c.parameters)==null?void 0:d.docs)==null?void 0:g.source}}};const Y=["Plain"];export{c as Plain,Y as __namedExportsOrder,X as default};
|