1 line
3.9 KiB
JavaScript
1 line
3.9 KiB
JavaScript
import{S as $e,c as _e,a as he,d as q,e as T,m as z,b as B,t as G,f as U,h as be}from"./index-DmiCujb-.js";import{a as r,b as m,t as F,f as n,h as i,k as p,j as H,d as l,p as ye,l as o,i as we,m as e,q as Se,n as J}from"./lifecycle-u0QeOdKt.js";import{g as xe}from"./XPro-DEkEpn1e.js";import{$ as Ee}from"./runtime-D6MmngXK.js";import{P as Ce,d as Ae,M as Ie,e as Pe,S as ke}from"./ZoomOut24-DZT7xMar.js";function De(u){let a,f,v,N,g,y=u[0]("overlay.avatar.profile")+"",C,ee,$,w,te,_,O=u[0]("overlay.avatar.settings")+"",K,ae,c,S,se,A,V=u[0]("overlay.avatar.dark_mode")+"",L,re,I,ve="Slider missing",ne,h,x,le,P,M=u[0]("overlay.avatar.about_anvil")+"",Q,oe,b,E,ie,k,j=u[0]("overlay.avatar.sign_out")+"",R,d,fe,ce;return v=new Ce({props:{fill:"currentColor",class:"text-white bg-surface-400 rounded-full"}}),w=new Ae({props:{fill:"currentColor"}}),S=new Ie({props:{fill:"currentColor"}}),x=new Pe({props:{fill:"currentColor"}}),E=new ke({props:{fill:"currentColor"}}),{c(){a=r("div"),f=r("div"),q(v.$$.fragment),N=m(),g=r("span"),C=F(y),ee=m(),$=r("div"),q(w.$$.fragment),te=m(),_=r("button"),K=F(O),ae=m(),c=r("div"),q(S.$$.fragment),se=m(),A=r("span"),L=F(V),re=m(),I=r("span"),I.textContent=ve,ne=m(),h=r("div"),q(x.$$.fragment),le=m(),P=r("span"),Q=F(M),oe=m(),b=r("div"),q(E.$$.fragment),ie=m(),k=r("span"),R=F(j),this.h()},l(t){a=n(t,"DIV",{class:!0});var s=i(a);f=n(s,"DIV",{class:!0});var W=i(f);T(v.$$.fragment,W),N=p(W),g=n(W,"SPAN",{class:!0});var me=i(g);C=H(me,y),me.forEach(l),W.forEach(l),ee=p(s),$=n(s,"DIV",{class:!0});var X=i($);T(w.$$.fragment,X),te=p(X),_=n(X,"BUTTON",{type:!0,class:!0});var pe=i(_);K=H(pe,O),pe.forEach(l),X.forEach(l),ae=p(s),c=n(s,"DIV",{class:!0});var D=i(c);T(S.$$.fragment,D),se=p(D),A=n(D,"SPAN",{class:!0});var ue=i(A);L=H(ue,V),ue.forEach(l),re=p(D),I=n(D,"SPAN",{"data-svelte-h":!0}),ye(I)!=="svelte-pjmbzv"&&(I.textContent=ve),D.forEach(l),ne=p(s),h=n(s,"DIV",{class:!0});var Y=i(h);T(x.$$.fragment,Y),le=p(Y),P=n(Y,"SPAN",{class:!0});var de=i(P);Q=H(de,M),de.forEach(l),Y.forEach(l),oe=p(s),b=n(s,"DIV",{class:!0});var Z=i(b);T(E.$$.fragment,Z),ie=p(Z),k=n(Z,"SPAN",{class:!0});var ge=i(k);R=H(ge,j),ge.forEach(l),Z.forEach(l),s.forEach(l),this.h()},h(){o(g,"class","text-surface-500 -mb-2"),o(f,"class","bg-white flex gap-4"),o(_,"type","button"),o(_,"class","text-surface-500 -mb-2"),o($,"class","bg-white flex gap-4"),o(A,"class","text-surface-500 -mb-2"),o(c,"class","bg-white flex gap-4"),o(P,"class","text-surface-500 -mb-2"),o(h,"class","bg-white flex gap-4"),o(k,"class","text-surface-500 -mb-2"),o(b,"class","bg-white flex gap-4"),o(a,"class","flex flex-col bg-white border-surface-300 border-rounded drop-shadow px-4 py-2")},m(t,s){we(t,a,s),e(a,f),z(v,f,null),e(f,N),e(f,g),e(g,C),e(a,ee),e(a,$),z(w,$,null),e($,te),e($,_),e(_,K),e(a,ae),e(a,c),z(S,c,null),e(c,se),e(c,A),e(A,L),e(c,re),e(c,I),e(a,ne),e(a,h),z(x,h,null),e(h,le),e(h,P),e(P,Q),e(a,oe),e(a,b),z(E,b,null),e(b,ie),e(b,k),e(k,R),d=!0,fe||(ce=Se(_,"click",u[1]),fe=!0)},p(t,[s]){(!d||s&1)&&y!==(y=t[0]("overlay.avatar.profile")+"")&&J(C,y),(!d||s&1)&&O!==(O=t[0]("overlay.avatar.settings")+"")&&J(K,O),(!d||s&1)&&V!==(V=t[0]("overlay.avatar.dark_mode")+"")&&J(L,V),(!d||s&1)&&M!==(M=t[0]("overlay.avatar.about_anvil")+"")&&J(Q,M),(!d||s&1)&&j!==(j=t[0]("overlay.avatar.sign_out")+"")&&J(R,j)},i(t){d||(B(v.$$.fragment,t),B(w.$$.fragment,t),B(S.$$.fragment,t),B(x.$$.fragment,t),B(E.$$.fragment,t),d=!0)},o(t){G(v.$$.fragment,t),G(w.$$.fragment,t),G(S.$$.fragment,t),G(x.$$.fragment,t),G(E.$$.fragment,t),d=!1},d(t){t&&l(a),U(v),U(w),U(S),U(x),U(E),fe=!1,ce()}}}function Ne(u,a,f){let v;be(u,Ee,C=>f(0,v=C));const N={type:"component",component:"settings"},g=xe();function y(){g.trigger(N)}return[v,y]}class Oe extends $e{constructor(a){super(),_e(this,a,Ne,De,he,{})}}Oe.__docgen={version:3,name:"OverlayAvatar.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Oe as O};
|