import{s as O,n as Q,o as K}from"../chunks/scheduler.12fdeddc.js";import{S as tt,i as et,g as o,s,r as A,A as at,h as i,f as a,c as l,j as X,u as R,x as y,k as L,y as nt,a as n,v as G,d as I,t as P,w as D}from"../chunks/index.88dae322.js";import{C as st}from"../chunks/CodeBlock.8e54a086.js";import{H as lt,E as ot}from"../chunks/getInferenceSnippets.00466244.js";function it(S){let r,z,w,$,p,v,u,N="You can create an organization card to help users learn more about what your organization is working on and how users can use your libraries, models, datasets, and Spaces.",x,m,V="An organization card is displayed on an organization’s profile:",j,c,F='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/org-card.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/org-card-dark.png"/>',E,g,W="If you’re a member of an organization, you’ll see a button to create or edit your organization card on the organization’s main page. Organization cards are a <code>README.md</code> static file inside a Space repo named <code>README</code>. The card can be as simple as Markdown text, or you can create a more customized appearance with HTML.",_,d,Y='The card for the <a href="https://huggingface.co/huggingface-course" rel="nofollow">Hugging Face Course organization</a>, shown above, <a href="https://huggingface.co/spaces/huggingface-course/README/blob/main/README.md" rel="nofollow">contains the following HTML</a>:',U,h,C,f,B="For more examples, take a look at:",H,M,q='<li><a href="https://huggingface.co/spaces/amazon/README/blob/main/README.md" rel="nofollow">Amazon’s</a> organization card source code</li> <li><a href="https://huggingface.co/spaces/spacy/README/blob/main/README.md" rel="nofollow">spaCy’s</a> organization card source code.</li>',J,b,k,T,Z;return p=new lt({props:{title:"Organization cards",local:"organization-cards",headingTag:"h1"}}),h=new st({props:{code:"JTNDcCUzRSUwQVRoaXMlMjBpcyUyMHRoZSUyMG9yZ2FuaXphdGlvbiUyMGdyb3VwaW5nJTIwYWxsJTIwdGhlJTIwbW9kZWxzJTIwYW5kJTIwZGF0YXNldHMlMjB1c2VkJTIwaW4lMjB0aGUlMjAlM0NhJTIwaHJlZiUzRCUyMmh0dHBzJTNBJTJGJTJGaHVnZ2luZ2ZhY2UuY28lMkZjb3Vyc2UlMkZjaGFwdGVyMSUyMiUyMGNsYXNzJTNEJTIydW5kZXJsaW5lJTIyJTNFSHVnZ2luZyUyMEZhY2UlMjBjb3Vyc2UlM0MlMkZhJTNFLiUwQSUzQyUyRnAlM0U=",highlighted:`<span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>
This is the organization grouping all the models and datasets used in the <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">&quot;https://huggingface.co/course/chapter1&quot;</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;underline&quot;</span>&gt;</span>Hugging Face course<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>.
<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>`,wrap:!1}}),b=new ot({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/organizations-cards.md"}}),{c(){r=o("meta"),z=s(),w=o("p"),$=s(),A(p.$$.fragment),v=s(),u=o("p"),u.textContent=N,x=s(),m=o("p"),m.textContent=V,j=s(),c=o("div"),c.innerHTML=F,E=s(),g=o("p"),g.innerHTML=W,_=s(),d=o("p"),d.innerHTML=Y,U=s(),A(h.$$.fragment),C=s(),f=o("p"),f.textContent=B,H=s(),M=o("ul"),M.innerHTML=q,J=s(),A(b.$$.fragment),k=s(),T=o("p"),this.h()},l(t){const e=at("svelte-u9bgzb",document.head);r=i(e,"META",{name:!0,content:!0}),e.forEach(a),z=l(t),w=i(t,"P",{}),X(w).forEach(a),$=l(t),R(p.$$.fragment,t),v=l(t),u=i(t,"P",{"data-svelte-h":!0}),y(u)!=="svelte-181uxj6"&&(u.textContent=N),x=l(t),m=i(t,"P",{"data-svelte-h":!0}),y(m)!=="svelte-13ll3i3"&&(m.textContent=V),j=l(t),c=i(t,"DIV",{class:!0,"data-svelte-h":!0}),y(c)!=="svelte-ub7mdj"&&(c.innerHTML=F),E=l(t),g=i(t,"P",{"data-svelte-h":!0}),y(g)!=="svelte-1x02x4r"&&(g.innerHTML=W),_=l(t),d=i(t,"P",{"data-svelte-h":!0}),y(d)!=="svelte-11yev66"&&(d.innerHTML=Y),U=l(t),R(h.$$.fragment,t),C=l(t),f=i(t,"P",{"data-svelte-h":!0}),y(f)!=="svelte-b64p11"&&(f.textContent=B),H=l(t),M=i(t,"UL",{"data-svelte-h":!0}),y(M)!=="svelte-nn8qai"&&(M.innerHTML=q),J=l(t),R(b.$$.fragment,t),k=l(t),T=i(t,"P",{}),X(T).forEach(a),this.h()},h(){L(r,"name","hf:doc:metadata"),L(r,"content",rt),L(c,"class","flex justify-center")},m(t,e){nt(document.head,r),n(t,z,e),n(t,w,e),n(t,$,e),G(p,t,e),n(t,v,e),n(t,u,e),n(t,x,e),n(t,m,e),n(t,j,e),n(t,c,e),n(t,E,e),n(t,g,e),n(t,_,e),n(t,d,e),n(t,U,e),G(h,t,e),n(t,C,e),n(t,f,e),n(t,H,e),n(t,M,e),n(t,J,e),G(b,t,e),n(t,k,e),n(t,T,e),Z=!0},p:Q,i(t){Z||(I(p.$$.fragment,t),I(h.$$.fragment,t),I(b.$$.fragment,t),Z=!0)},o(t){P(p.$$.fragment,t),P(h.$$.fragment,t),P(b.$$.fragment,t),Z=!1},d(t){t&&(a(z),a(w),a($),a(v),a(u),a(x),a(m),a(j),a(c),a(E),a(g),a(_),a(d),a(U),a(C),a(f),a(H),a(M),a(J),a(k),a(T)),a(r),D(p,t),D(h,t),D(b,t)}}}const rt='{"title":"Organization cards","local":"organization-cards","sections":[],"depth":1}';function ct(S){return K(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class dt extends tt{constructor(r){super(),et(this,r,ct,it,O,{})}}export{dt as component};
