import{SasH,casP,aasV,nasw,gasq}from"./index-Bq12SwZr.js";import{aas_,tasy,basj,easD,fasb,hask,jash,dasc,kasE,lasg,iasu,m,nasN}from"./lifecycle-DxKVJJp3.js";import{$asA}from"./runtime-5BIk_n0E.js";functionS(l){lete,n,o,p;return{c(){e=_("p"),n=y("("),o=y(l[2]),p=y(")"),this.h()},l(a){e=b(a,"P",{class:!0});vars=k(e);n=h(s,"("),o=h(s,l[2]),p=h(s,")"),s.forEach(c),this.h()},h(){g(e,"class","leading-normal my-1")},m(a,s){u(a,e,s),m(e,n),m(e,o),m(e,p)},p(a,s){s&4&&N(o,a[2])},d(a){a&&c(e)}}}functionC(l){lete,n,o=l[3](l[1].heading)+"",p,a,s,r,f,i=l[2]&&S(l);return{c(){e=_("h1"),n=_("span"),p=y(o),a=j(),s=y(l[0]),r=j(),i&&i.c(),f=D(),this.h()},l(t){e=b(t,"H1",{class:!0});vard=k(e);n=b(d,"SPAN",{class:!0});varv=k(n);p=h(v,o),v.forEach(c),a=E(d),s=h(d,l[0]),d.forEach(c),r=E(t),i&&i.l(t),f=D(),this.h()},h(){g(n,"class","sr-only"),g(e,"class","h1 font-semibold text-4xl leading-tight")},m(t,d){u(t,e,d),m(e,n),m(n,p),m(e,a),m(e,s),u(t,r,d),i&&i.m(t,d),u(t,f,d)},p(t,[d]){d&10&&o!==(o=t[3](t[1].heading)+"")&&N(p,o),d&1&&N(s,t[0]),t[2]?i?i.p(t,d):(i=S(t),i.c(),i.m(f.parentNode,f)):i&&(i.d(1),i=null)},i:w,o:w,d(t){t&&(c(e),c(r),c(f)),i&&i.d(t)}}}functionT(l,e,n){leto;q(l,A,r=>n(3,o=r));let{displayName:p=""}=e,{i18n:a={heading:""}}=e,{pronoun:s=""}=e;returnl.$$set=r=>{"displayName"inr&&n(0,p=r.displayName),"i18n"inr&&n(1,a=r.i18n),"pronoun"inr&&n(2,s=r.pronoun)},[p,a,s,o]}classUextendsH{constructor(e){super(),P(this,e,T,C,V,{displayName:0,i18n:1,pronoun:2})}}U.__docgen={version:3,name:"DisplayName.svelte",data:[{keywords:[{name:"type",description:"{string}"}],visibility:"public",description:"Under which name shall the person be known?",name:"displayName",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[{name:"type",description:"{string}"}],visibility:"public",description:"How to correctly address this person.",name:"pronoun",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{UasD};