import{s as O,o as U,n as B}from"../chunks/scheduler.d6170356.js";import{S as D,i as F,g,s as h,r as T,A as I,h as _,f as s,c as $,j as z,u as H,x as A,k as P,y as J,a as o,v as R,d as y,t as M,w as S,m as j,n as q}from"../chunks/index.fcd4cc08.js";import{T as K}from"../chunks/Tip.b09c67cf.js";import{H as N,E as Q}from"../chunks/EditOnGithub.da2b595c.js";function V(x){let a,n,u="Enterprise Hub",i;return{c(){a=j("This feature is part of the "),n=g("a"),n.textContent=u,i=j("."),this.h()},l(r){a=q(r,"This feature is part of the "),n=_(r,"A",{href:!0,target:!0,"data-svelte-h":!0}),A(n)!=="svelte-170ex92"&&(n.textContent=u),i=q(r,"."),this.h()},h(){P(n,"href","https://huggingface.co/enterprise"),P(n,"target","_blank")},m(r,p){o(r,a,p),o(r,n,p),o(r,i,p)},p:B,d(r){r&&(s(a),s(n),s(i))}}}function W(x){let a,n,u,i,r,p,l,b,m,G="Resource Groups allow Enterprise Hub organizations to enforce fine-grained access control to their repositories.",v,c,L='Read the <a href="./security-resource-groups">documentation for Resource Groups under the Security section</a>.',w,f,C,d,E;return r=new N({props:{title:"Resource groups",local:"resource-groups",headingTag:"h1"}}),l=new K({props:{warning:!0,$$slots:{default:[V]},$$scope:{ctx:x}}}),f=new Q({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/enterprise-hub-resource-groups.md"}}),{c(){a=g("meta"),n=h(),u=g("p"),i=h(),T(r.$$.fragment),p=h(),T(l.$$.fragment),b=h(),m=g("p"),m.textContent=G,v=h(),c=g("p"),c.innerHTML=L,w=h(),T(f.$$.fragment),C=h(),d=g("p"),this.h()},l(t){const e=I("svelte-u9bgzb",document.head);a=_(e,"META",{name:!0,content:!0}),e.forEach(s),n=$(t),u=_(t,"P",{}),z(u).forEach(s),i=$(t),H(r.$$.fragment,t),p=$(t),H(l.$$.fragment,t),b=$(t),m=_(t,"P",{"data-svelte-h":!0}),A(m)!=="svelte-mp1xol"&&(m.textContent=G),v=$(t),c=_(t,"P",{"data-svelte-h":!0}),A(c)!=="svelte-12br7ps"&&(c.innerHTML=L),w=$(t),H(f.$$.fragment,t),C=$(t),d=_(t,"P",{}),z(d).forEach(s),this.h()},h(){P(a,"name","hf:doc:metadata"),P(a,"content",X)},m(t,e){J(document.head,a),o(t,n,e),o(t,u,e),o(t,i,e),R(r,t,e),o(t,p,e),R(l,t,e),o(t,b,e),o(t,m,e),o(t,v,e),o(t,c,e),o(t,w,e),R(f,t,e),o(t,C,e),o(t,d,e),E=!0},p(t,[e]){const k={};e&2&&(k.$$scope={dirty:e,ctx:t}),l.$set(k)},i(t){E||(y(r.$$.fragment,t),y(l.$$.fragment,t),y(f.$$.fragment,t),E=!0)},o(t){M(r.$$.fragment,t),M(l.$$.fragment,t),M(f.$$.fragment,t),E=!1},d(t){t&&(s(n),s(u),s(i),s(p),s(b),s(m),s(v),s(c),s(w),s(C),s(d)),s(a),S(r,t),S(l,t),S(f,t)}}}const X='{"title":"Resource groups","local":"resource-groups","sections":[],"depth":1}';function Y(x){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends D{constructor(a){super(),F(this,a,Y,W,O,{})}}export{rt as component};
