import{s as Z,n as tt,o as et}from"../chunks/scheduler.9cda857a.js";import{S as nt,i as at,e as r,s as i,c as _,h as it,a as l,d as n,b as s,f as Y,g as b,j as v,k as G,l as st,m as a,n as T,t as C,o as H,p as L}from"../chunks/index.003612b0.js";import{C as ot}from"../chunks/CopyLLMTxtMenu.44d08a39.js";import{H as R,E as rt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.e5cfda8c.js";function lt(V){let o,M,y,P,u,k,g,E,p,B='The Hugging Face Hub offers <strong>Organizations</strong>, which can be used to group accounts and manage datasets, models, and Spaces. The Hub also allows admins to set user roles to <a href="./organizations-security"><strong>control access to repositories</strong></a> and manage their organization’s <a href="https://huggingface.co/pricing" rel="nofollow">payment method and billing info</a>.',O,c,J='If an organization needs to track user access to a dataset or a model due to licensing or privacy issues, an organization can enable <a href="./datasets-gated">user access requests</a>.',S,f,K="Note: Use the context switcher in your org settings to quickly switch between your account and your orgs.",U,m,Q='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/context-switcher.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/context-switcher-dark.png"/>',q,h,N,d,W='<li><a href="./organizations-managing">Managing Organizations</a></li> <li><a href="./organizations-cards">Organization Cards</a></li> <li><a href="./organizations-security">Access Control in Organizations</a></li>',j,$,A,x,X='<li><a href="./enterprise-hub">Team &amp; Enterprise Plans</a></li>',I,w,D,z,F;return u=new ot({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),g=new R({props:{title:"Organizations",local:"organizations",headingTag:"h1"}}),h=new R({props:{title:"Contents",local:"contents",headingTag:"h2"}}),$=new R({props:{title:"Next: Power up your organization",local:"next-power-up-your-organization",headingTag:"h2"}}),w=new rt({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/organizations.md"}}),{c(){o=r("meta"),M=i(),y=r("p"),P=i(),_(u.$$.fragment),k=i(),_(g.$$.fragment),E=i(),p=r("p"),p.innerHTML=B,O=i(),c=r("p"),c.innerHTML=J,S=i(),f=r("p"),f.textContent=K,U=i(),m=r("div"),m.innerHTML=Q,q=i(),_(h.$$.fragment),N=i(),d=r("ul"),d.innerHTML=W,j=i(),_($.$$.fragment),A=i(),x=r("ul"),x.innerHTML=X,I=i(),_(w.$$.fragment),D=i(),z=r("p"),this.h()},l(t){const e=it("svelte-u9bgzb",document.head);o=l(e,"META",{name:!0,content:!0}),e.forEach(n),M=s(t),y=l(t,"P",{}),Y(y).forEach(n),P=s(t),b(u.$$.fragment,t),k=s(t),b(g.$$.fragment,t),E=s(t),p=l(t,"P",{"data-svelte-h":!0}),v(p)!=="svelte-ymsx2g"&&(p.innerHTML=B),O=s(t),c=l(t,"P",{"data-svelte-h":!0}),v(c)!=="svelte-1pal1lt"&&(c.innerHTML=J),S=s(t),f=l(t,"P",{"data-svelte-h":!0}),v(f)!=="svelte-126pkmx"&&(f.textContent=K),U=s(t),m=l(t,"DIV",{class:!0,"data-svelte-h":!0}),v(m)!=="svelte-wwyo0n"&&(m.innerHTML=Q),q=s(t),b(h.$$.fragment,t),N=s(t),d=l(t,"UL",{"data-svelte-h":!0}),v(d)!=="svelte-fna1pr"&&(d.innerHTML=W),j=s(t),b($.$$.fragment,t),A=s(t),x=l(t,"UL",{"data-svelte-h":!0}),v(x)!=="svelte-v5dax2"&&(x.innerHTML=X),I=s(t),b(w.$$.fragment,t),D=s(t),z=l(t,"P",{}),Y(z).forEach(n),this.h()},h(){G(o,"name","hf:doc:metadata"),G(o,"content",mt),G(m,"class","flex justify-center")},m(t,e){st(document.head,o),a(t,M,e),a(t,y,e),a(t,P,e),T(u,t,e),a(t,k,e),T(g,t,e),a(t,E,e),a(t,p,e),a(t,O,e),a(t,c,e),a(t,S,e),a(t,f,e),a(t,U,e),a(t,m,e),a(t,q,e),T(h,t,e),a(t,N,e),a(t,d,e),a(t,j,e),T($,t,e),a(t,A,e),a(t,x,e),a(t,I,e),T(w,t,e),a(t,D,e),a(t,z,e),F=!0},p:tt,i(t){F||(C(u.$$.fragment,t),C(g.$$.fragment,t),C(h.$$.fragment,t),C($.$$.fragment,t),C(w.$$.fragment,t),F=!0)},o(t){H(u.$$.fragment,t),H(g.$$.fragment,t),H(h.$$.fragment,t),H($.$$.fragment,t),H(w.$$.fragment,t),F=!1},d(t){t&&(n(M),n(y),n(P),n(k),n(E),n(p),n(O),n(c),n(S),n(f),n(U),n(m),n(q),n(N),n(d),n(j),n(A),n(x),n(I),n(D),n(z)),n(o),L(u,t),L(g,t),L(h,t),L($,t),L(w,t)}}}const mt='{"title":"Organizations","local":"organizations","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2},{"title":"Next: Power up your organization","local":"next-power-up-your-organization","sections":[],"depth":2}],"depth":1}';function ut(V){return et(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ht extends nt{constructor(o){super(),at(this,o,ut,lt,Z,{})}}export{ht as component};
