import{S as T,i as U,s as V,n as w}from"./index-788dbe18.js";import{e as _,a as k,H as v,t as b,c as g,b as H,d as j,f as D,u as P,h as d,m as C,i as x,j as N,k as u}from"./lifecycle-e76756ca.js";function q(i){let e,s,r="Profile for",o,n,c,l,y,p,m;return{c(){e=_("h1"),s=_("span"),s.textContent=r,o=k(),n=new v(!1),c=k(),l=_("p"),y=b("("),p=new v(!1),m=b(")"),this.h()},l(t){e=g(t,"H1",{class:!0});var a=H(e);s=g(a,"SPAN",{class:!0,"data-svelte-h":!0}),j(s)!=="svelte-1gr9hpl"&&(s.textContent=r),o=D(a),n=P(a,!1),a.forEach(d),c=D(t),l=g(t,"P",{class:!0});var h=H(l);y=C(h,"("),p=P(h,!1),m=C(h,")"),h.forEach(d),this.h()},h(){x(s,"class","sr-only"),n.a=null,x(e,"class","h1 font-semibold text-4xl leading-tight"),p.a=m,x(l,"class","leading-normal my-1")},m(t,a){N(t,e,a),u(e,s),u(e,o),n.m(i[0],e),N(t,c,a),N(t,l,a),u(l,y),p.m(i[1],l),u(l,m)},p(t,[a]){a&1&&n.p(t[0]),a&2&&p.p(t[1])},i:w,o:w,d(t){t&&(d(e),d(c),d(l))}}}function O(i,e,s){let{displayName:r=""}=e,{pronoun:o=""}=e;return i.$$set=n=>{"displayName"in n&&s(0,r=n.displayName),"pronoun"in n&&s(1,o=n.pronoun)},[r,o]}class J extends T{constructor(e){super(),U(this,e,O,q,V,{displayName:0,pronoun:1})}}J.__docgen={version:3,name:"DisplayName.svelte",data:[{keywords:[],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:"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:[]};const F={title:"Atoms/DisplayName",component:J,tags:["autodocs"],argTypes:{displayName:{control:"text",description:"Under which name shall the person be known?"},pronoun:{control:"text",description:"How shall the person be adressed?"}}},f={args:{displayName:"Jane Doe",pronoun:"she/her"}};var S,E,A;f.parameters={...f.parameters,docs:{...(S=f.parameters)==null?void 0:S.docs,source:{originalSource:`{ args: { displayName: 'Jane Doe', pronoun: 'she/her' } }`,...(A=(E=f.parameters)==null?void 0:E.docs)==null?void 0:A.source}}};const G=["Plain"];export{f as Plain,G as __namedExportsOrder,F as default};