import{S as yt,c as Ut,a as St,d as ut,e as ft,m as ht,b as vt,t as gt,f as _t,h as kt}from"./index-CP70Tq58.js";import{a as l,t as m,b as c,f as a,h as o,j as x,d as r,k as d,l as t,i as At,m as e,n as E}from"./lifecycle-D_bIUHQK.js";import{$ as Ct}from"./runtime-CZkC8ltm.js";import{P as Xt,U as jt,X as Bt}from"./ZoomOut24-450rB1Ps.js";function Ot(p){let h,I,$=p[0]("settings.profile.headline")+"",K,Ge,f,L,ee=p[0]("settings.profile.avatar.headline")+"",he,He,w,D,C,Je,_,X,Ke,te,le=p[0]("settings.profile.avatar.upload")+"",ve,Le,ae,b,j,Me,se,re=p[0]("settings.profile.avatar.remove")+"",ge,Qe,oe,V,P,M,ie=p[0]("settings.profile.name.label")+"",_e,We,B,be,Ye,N,Q,ne=p[0]("settings.profile.pronouns.label")+"",me,Ze,pe,et,ce,T,W,de=p[0]("settings.profile.bio.label")+"",xe,tt,y,Ee,lt,u,Y,ue=p[0]("settings.profile.extra.headline")+"",Ie,at,Z,fe=p[0]("settings.profile.extra.hint")+"",$e,st,U,O,we,rt,q,De,ot,S,F,Ve,it,R,Pe,nt,k,z,Ne,pt,G,Te,ct,A,H,ye,dt,J,Ue,n;return C=new Xt({props:{fill:"currentColor",class:"h-16 w-16 text-white bg-surface-400 rounded-full"}}),X=new jt({props:{fill:"currentColor"}}),j=new Bt({props:{fill:"currentColor"}}),{c(){h=l("div"),I=l("div"),K=m($),Ge=c(),f=l("div"),L=l("div"),he=m(ee),He=c(),w=l("div"),D=l("div"),ut(C.$$.fragment),Je=c(),_=l("button"),ut(X.$$.fragment),Ke=c(),te=l("span"),ve=m(le),Le=c(),ae=l("div"),b=l("button"),ut(j.$$.fragment),Me=c(),se=l("span"),ge=m(re),Qe=c(),oe=l("div"),V=l("div"),P=l("div"),M=l("span"),_e=m(ie),We=c(),B=l("input"),Ye=c(),N=l("div"),Q=l("span"),me=m(ne),Ze=c(),pe=l("input"),et=c(),ce=l("div"),T=l("div"),W=l("span"),xe=m(de),tt=c(),y=l("textarea"),lt=c(),u=l("div"),Y=l("div"),Ie=m(ue),at=c(),Z=l("div"),$e=m(fe),st=c(),U=l("div"),O=l("input"),rt=c(),q=l("input"),ot=c(),S=l("div"),F=l("input"),it=c(),R=l("input"),nt=c(),k=l("div"),z=l("input"),pt=c(),G=l("input"),ct=c(),A=l("div"),H=l("input"),dt=c(),J=l("input"),this.h()},l(s){h=a(s,"DIV",{class:!0});var i=o(h);I=a(i,"DIV",{class:!0});var bt=o(I);K=x(bt,$),bt.forEach(r),Ge=d(i),f=a(i,"DIV",{class:!0});var g=o(f);L=a(g,"DIV",{class:!0});var mt=o(L);he=x(mt,ee),mt.forEach(r),He=d(g),w=a(g,"DIV",{class:!0});var Se=o(w);D=a(Se,"DIV",{class:!0});var ke=o(D);ft(C.$$.fragment,ke),Je=d(ke),_=a(ke,"BUTTON",{type:!0,class:!0});var Ae=o(_);ft(X.$$.fragment,Ae),Ke=d(Ae),te=a(Ae,"SPAN",{});var xt=o(te);ve=x(xt,le),xt.forEach(r),Ae.forEach(r),ke.forEach(r),Le=d(Se),ae=a(Se,"DIV",{});var Et=o(ae);b=a(Et,"BUTTON",{type:!0,class:!0});var Ce=o(b);ft(j.$$.fragment,Ce),Me=d(Ce),se=a(Ce,"SPAN",{});var It=o(se);ge=x(It,re),It.forEach(r),Ce.forEach(r),Et.forEach(r),Se.forEach(r),Qe=d(g),oe=a(g,"DIV",{});var $t=o(oe);V=a($t,"DIV",{class:!0});var Xe=o(V);P=a(Xe,"DIV",{class:!0});var je=o(P);M=a(je,"SPAN",{class:!0});var wt=o(M);_e=x(wt,ie),wt.forEach(r),We=d(je),B=a(je,"INPUT",{type:!0,placeholder:!0,class:!0}),je.forEach(r),Ye=d(Xe),N=a(Xe,"DIV",{class:!0});var Be=o(N);Q=a(Be,"SPAN",{class:!0});var Dt=o(Q);me=x(Dt,ne),Dt.forEach(r),Ze=d(Be),pe=a(Be,"INPUT",{type:!0,class:!0}),Be.forEach(r),Xe.forEach(r),$t.forEach(r),et=d(g),ce=a(g,"DIV",{});var Vt=o(ce);T=a(Vt,"DIV",{class:!0});var Oe=o(T);W=a(Oe,"SPAN",{class:!0});var Pt=o(W);xe=x(Pt,de),Pt.forEach(r),tt=d(Oe),y=a(Oe,"TEXTAREA",{placeholder:!0,rows:!0,class:!0}),o(y).forEach(r),Oe.forEach(r),Vt.forEach(r),lt=d(g),u=a(g,"DIV",{class:!0});var v=o(u);Y=a(v,"DIV",{class:!0});var Nt=o(Y);Ie=x(Nt,ue),Nt.forEach(r),at=d(v),Z=a(v,"DIV",{class:!0});var Tt=o(Z);$e=x(Tt,fe),Tt.forEach(r),st=d(v),U=a(v,"DIV",{class:!0});var qe=o(U);O=a(qe,"INPUT",{type:!0,class:!0,placeholder:!0}),rt=d(qe),q=a(qe,"INPUT",{type:!0,class:!0,placeholder:!0}),qe.forEach(r),ot=d(v),S=a(v,"DIV",{class:!0});var Fe=o(S);F=a(Fe,"INPUT",{type:!0,class:!0,placeholder:!0}),it=d(Fe),R=a(Fe,"INPUT",{type:!0,class:!0,placeholder:!0}),Fe.forEach(r),nt=d(v),k=a(v,"DIV",{class:!0});var Re=o(k);z=a(Re,"INPUT",{type:!0,class:!0,placeholder:!0}),pt=d(Re),G=a(Re,"INPUT",{type:!0,class:!0,placeholder:!0}),Re.forEach(r),ct=d(v),A=a(v,"DIV",{class:!0});var ze=o(A);H=a(ze,"INPUT",{type:!0,class:!0,placeholder:!0}),dt=d(ze),J=a(ze,"INPUT",{type:!0,class:!0,placeholder:!0}),ze.forEach(r),v.forEach(r),g.forEach(r),i.forEach(r),this.h()},h(){t(I,"class","flex text-surface-500 text-xl font-semibold"),t(L,"class","text-surface-500 font-semibold"),t(_,"type","button"),t(_,"class","btn flex gap-4 justify-between px-4 bg-surface-50 border-surface-100"),t(D,"class","flex gap-4"),t(b,"type","button"),t(b,"class","btn p-0 text-warning-700"),t(w,"class","flex flex-col px-2"),t(M,"class","text-surface-500 font-semibold"),t(B,"type","text"),t(B,"placeholder",be=p[0]("settings.profile.name.placeholder")),t(B,"class","input bg-white placeholder:text-surface-300"),t(P,"class","flex flex-col gap-2 grow"),t(Q,"class","text-surface-500 font-semibold"),t(pe,"type","text"),t(pe,"class","input bg-white"),t(N,"class","flex flex-col gap-2 flex-1 shrink basis-40"),t(V,"class","flex gap-8"),t(W,"class","text-surface-500 font-semibold"),t(y,"placeholder",Ee=p[0]("settings.profile.bio.placeholder")),t(y,"rows","4"),t(y,"class","placeholder:text-surface-300"),t(T,"class","flex flex-col gap-2"),t(Y,"class","text-surface-500 font-semibold"),t(Z,"class","text-surface-500"),t(O,"type","text"),t(O,"class","input bg-white shrink basis-40 placeholder:text-surface-300"),t(O,"placeholder",we=p[0]("settings.profile.extra.label.placeholder")),t(q,"type","text"),t(q,"class","input bg-white grow placeholder:text-surface-300"),t(q,"placeholder",De=p[0]("settings.profile.extra.content.placeholder")),t(U,"class","flex gap-2 py-1"),t(F,"type","text"),t(F,"class","input bg-white shrink basis-40 placeholder:text-surface-300"),t(F,"placeholder",Ve=p[0]("settings.profile.extra.label.placeholder")),t(R,"type","text"),t(R,"class","input bg-white grow placeholder:text-surface-300"),t(R,"placeholder",Pe=p[0]("settings.profile.extra.content.placeholder")),t(S,"class","flex gap-2 py-1"),t(z,"type","text"),t(z,"class","input bg-white shrink basis-40 placeholder:text-surface-300"),t(z,"placeholder",Ne=p[0]("settings.profile.extra.label.placeholder")),t(G,"type","text"),t(G,"class","input bg-white grow placeholder:text-surface-300"),t(G,"placeholder",Te=p[0]("settings.profile.extra.content.placeholder")),t(k,"class","flex gap-2 py-1"),t(H,"type","text"),t(H,"class","input bg-white shrink basis-40 placeholder:text-surface-300"),t(H,"placeholder",ye=p[0]("settings.profile.extra.label.placeholder")),t(J,"type","text"),t(J,"class","input bg-white grow placeholder:text-surface-300"),t(J,"placeholder",Ue=p[0]("settings.profile.extra.content.placeholder")),t(A,"class","flex gap-2 py-1"),t(u,"class","flex flex-col"),t(f,"class","flex flex-col gap-6"),t(h,"class","flex flex-col flex-1 gap-4 pe-8 pb-8 pt-20 bg-surface-100")},m(s,i){At(s,h,i),e(h,I),e(I,K),e(h,Ge),e(h,f),e(f,L),e(L,he),e(f,He),e(f,w),e(w,D),ht(C,D,null),e(D,Je),e(D,_),ht(X,_,null),e(_,Ke),e(_,te),e(te,ve),e(w,Le),e(w,ae),e(ae,b),ht(j,b,null),e(b,Me),e(b,se),e(se,ge),e(f,Qe),e(f,oe),e(oe,V),e(V,P),e(P,M),e(M,_e),e(P,We),e(P,B),e(V,Ye),e(V,N),e(N,Q),e(Q,me),e(N,Ze),e(N,pe),e(f,et),e(f,ce),e(ce,T),e(T,W),e(W,xe),e(T,tt),e(T,y),e(f,lt),e(f,u),e(u,Y),e(Y,Ie),e(u,at),e(u,Z),e(Z,$e),e(u,st),e(u,U),e(U,O),e(U,rt),e(U,q),e(u,ot),e(u,S),e(S,F),e(S,it),e(S,R),e(u,nt),e(u,k),e(k,z),e(k,pt),e(k,G),e(u,ct),e(u,A),e(A,H),e(A,dt),e(A,J),n=!0},p(s,[i]){(!n||i&1)&&$!==($=s[0]("settings.profile.headline")+"")&&E(K,$),(!n||i&1)&&ee!==(ee=s[0]("settings.profile.avatar.headline")+"")&&E(he,ee),(!n||i&1)&&le!==(le=s[0]("settings.profile.avatar.upload")+"")&&E(ve,le),(!n||i&1)&&re!==(re=s[0]("settings.profile.avatar.remove")+"")&&E(ge,re),(!n||i&1)&&ie!==(ie=s[0]("settings.profile.name.label")+"")&&E(_e,ie),(!n||i&1&&be!==(be=s[0]("settings.profile.name.placeholder")))&&t(B,"placeholder",be),(!n||i&1)&&ne!==(ne=s[0]("settings.profile.pronouns.label")+"")&&E(me,ne),(!n||i&1)&&de!==(de=s[0]("settings.profile.bio.label")+"")&&E(xe,de),(!n||i&1&&Ee!==(Ee=s[0]("settings.profile.bio.placeholder")))&&t(y,"placeholder",Ee),(!n||i&1)&&ue!==(ue=s[0]("settings.profile.extra.headline")+"")&&E(Ie,ue),(!n||i&1)&&fe!==(fe=s[0]("settings.profile.extra.hint")+"")&&E($e,fe),(!n||i&1&&we!==(we=s[0]("settings.profile.extra.label.placeholder")))&&t(O,"placeholder",we),(!n||i&1&&De!==(De=s[0]("settings.profile.extra.content.placeholder")))&&t(q,"placeholder",De),(!n||i&1&&Ve!==(Ve=s[0]("settings.profile.extra.label.placeholder")))&&t(F,"placeholder",Ve),(!n||i&1&&Pe!==(Pe=s[0]("settings.profile.extra.content.placeholder")))&&t(R,"placeholder",Pe),(!n||i&1&&Ne!==(Ne=s[0]("settings.profile.extra.label.placeholder")))&&t(z,"placeholder",Ne),(!n||i&1&&Te!==(Te=s[0]("settings.profile.extra.content.placeholder")))&&t(G,"placeholder",Te),(!n||i&1&&ye!==(ye=s[0]("settings.profile.extra.label.placeholder")))&&t(H,"placeholder",ye),(!n||i&1&&Ue!==(Ue=s[0]("settings.profile.extra.content.placeholder")))&&t(J,"placeholder",Ue)},i(s){n||(vt(C.$$.fragment,s),vt(X.$$.fragment,s),vt(j.$$.fragment,s),n=!0)},o(s){gt(C.$$.fragment,s),gt(X.$$.fragment,s),gt(j.$$.fragment,s),n=!1},d(s){s&&r(h),_t(C),_t(X),_t(j)}}}function qt(p,h,I){let $;return kt(p,Ct,K=>I(0,$=K)),[$]}class Ft extends yt{constructor(h){super(),Ut(this,h,qt,Ot,St,{})}}Ft.__docgen={version:3,name:"SettingsProfile.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Ft as S};