import{s as N,n as O,o as U}from"../chunks/scheduler.d6170356.js";import{S as j,i as F,g as h,s as o,r as C,A as W,h as f,f as s,c as n,j as A,u as k,x as q,k as D,y as B,a as i,v as L,d as M,t as R,w as S}from"../chunks/index.fcd4cc08.js";import{H as I,E as J}from"../chunks/EditOnGithub.da2b595c.js";function K(T){let a,$,d,w,r,b,l,E='Models, Spaces, and Datasets are hosted on the Hugging Face Hub as <a href="https://git-scm.com/about" rel="nofollow">Git repositories</a>, which means that version control and collaboration are core elements of the Hub. In a nutshell, a repository (also known as a <strong>repo</strong>) is a place where code and assets can be stored to back up your work, share it with the community, and work in a team.',_,p,G="In these pages, you will go over the basics of getting started with Git and interacting with repositories on the Hub. Once you get the hang of it, you can explore the best practices and next steps that we’ve compiled for effective repository usage.",v,c,x,u,z='<li><a href="./repositories-getting-started">Getting Started with Repositories</a></li> <li><a href="./repositories-settings">Settings</a></li> <li><a href="./repositories-pull-requests-discussions">Pull Requests &amp; Discussions</a><ul><li><a href="./repositories-pull-requests-discussions#pull-requests-advanced-usage">Pull Requests advanced usage</a></li></ul></li> <li><a href="./webhooks">Webhooks</a></li> <li><a href="./notifications">Notifications</a></li> <li><a href="./collections">Collections</a></li> <li><a href="./repositories-recommendations">Repository size recommendations</a></li> <li><a href="./repositories-next-steps">Next Steps</a></li> <li><a href="./repositories-licenses">Licenses</a></li>',y,m,H,g,P;return r=new I({props:{title:"Repositories",local:"repositories",headingTag:"h1"}}),c=new I({props:{title:"Contents",local:"contents",headingTag:"h2"}}),m=new J({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/repositories.md"}}),{c(){a=h("meta"),$=o(),d=h("p"),w=o(),C(r.$$.fragment),b=o(),l=h("p"),l.innerHTML=E,_=o(),p=h("p"),p.textContent=G,v=o(),C(c.$$.fragment),x=o(),u=h("ul"),u.innerHTML=z,y=o(),C(m.$$.fragment),H=o(),g=h("p"),this.h()},l(e){const t=W("svelte-u9bgzb",document.head);a=f(t,"META",{name:!0,content:!0}),t.forEach(s),$=n(e),d=f(e,"P",{}),A(d).forEach(s),w=n(e),k(r.$$.fragment,e),b=n(e),l=f(e,"P",{"data-svelte-h":!0}),q(l)!=="svelte-w1q459"&&(l.innerHTML=E),_=n(e),p=f(e,"P",{"data-svelte-h":!0}),q(p)!=="svelte-7yeslz"&&(p.textContent=G),v=n(e),k(c.$$.fragment,e),x=n(e),u=f(e,"UL",{"data-svelte-h":!0}),q(u)!=="svelte-kux6ed"&&(u.innerHTML=z),y=n(e),k(m.$$.fragment,e),H=n(e),g=f(e,"P",{}),A(g).forEach(s),this.h()},h(){D(a,"name","hf:doc:metadata"),D(a,"content",Q)},m(e,t){B(document.head,a),i(e,$,t),i(e,d,t),i(e,w,t),L(r,e,t),i(e,b,t),i(e,l,t),i(e,_,t),i(e,p,t),i(e,v,t),L(c,e,t),i(e,x,t),i(e,u,t),i(e,y,t),L(m,e,t),i(e,H,t),i(e,g,t),P=!0},p:O,i(e){P||(M(r.$$.fragment,e),M(c.$$.fragment,e),M(m.$$.fragment,e),P=!0)},o(e){R(r.$$.fragment,e),R(c.$$.fragment,e),R(m.$$.fragment,e),P=!1},d(e){e&&(s($),s(d),s(w),s(b),s(l),s(_),s(p),s(v),s(x),s(u),s(y),s(H),s(g)),s(a),S(r,e),S(c,e),S(m,e)}}}const Q='{"title":"Repositories","local":"repositories","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function V(T){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ee extends j{constructor(a){super(),F(this,a,V,K,N,{})}}export{ee as component};
