import{s as N,o as Q,n as W}from"../chunks/scheduler.d6170356.js";import{S as X,i as Y,g as p,s,r as y,A as Z,h as u,f as n,c as r,j as K,u as T,x as H,k as I,y as tt,a,v as k,d as x,t as C,w as M}from"../chunks/index.fcd4cc08.js";import{T as et}from"../chunks/Tip.b09c67cf.js";import{H as O,E as nt}from"../chunks/getInferenceSnippets.0f6acb26.js";function at(L){let o,g='Check out the <a href="https://huggingface.co/code-of-conduct" rel="nofollow">Code of Conduct</a> and the <a href="https://huggingface.co/content-guidelines" rel="nofollow">Content Guidelines</a>.';return{c(){o=p("p"),o.innerHTML=g},l(i){o=u(i,"P",{"data-svelte-h":!0}),H(o)!=="svelte-1j9bf40"&&(o.innerHTML=g)},m(i,b){a(i,o,b)},p:W,d(i){i&&n(o)}}}function ot(L){let o,g,i,b,f,P,l,E,h,R,d,V="To report a repository, you can click the three dots at the top right of a repository. Afterwards, you can click “Report the repository”. This will allow you to explain what’s the reason behind the report (Ethical issue, legal issue, not working, or other) and a description for the report. Once you do this, a <strong>public discussion</strong> will be opened.",j,c,F='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/repository-report.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/repository-report-dark.png"/>',z,$,A,v,U="To report a comment, you can click the three dots at the top right of a comment. That will submit a request for the Hugging Face team to review.",S,m,B='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/comment-report.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/comment-report-dark.png"/>',q,_,D,w,G;return f=new O({props:{title:"Moderation",local:"moderation",headingTag:"h1"}}),l=new et({props:{$$slots:{default:[at]},$$scope:{ctx:L}}}),h=new O({props:{title:"Reporting a repository",local:"reporting-a-repository",headingTag:"h2"}}),$=new O({props:{title:"Reporting a comment",local:"reporting-a-comment",headingTag:"h2"}}),_=new nt({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/moderation.md"}}),{c(){o=p("meta"),g=s(),i=p("p"),b=s(),y(f.$$.fragment),P=s(),y(l.$$.fragment),E=s(),y(h.$$.fragment),R=s(),d=p("p"),d.innerHTML=V,j=s(),c=p("div"),c.innerHTML=F,z=s(),y($.$$.fragment),A=s(),v=p("p"),v.textContent=U,S=s(),m=p("div"),m.innerHTML=B,q=s(),y(_.$$.fragment),D=s(),w=p("p"),this.h()},l(t){const e=Z("svelte-u9bgzb",document.head);o=u(e,"META",{name:!0,content:!0}),e.forEach(n),g=r(t),i=u(t,"P",{}),K(i).forEach(n),b=r(t),T(f.$$.fragment,t),P=r(t),T(l.$$.fragment,t),E=r(t),T(h.$$.fragment,t),R=r(t),d=u(t,"P",{"data-svelte-h":!0}),H(d)!=="svelte-1eew36c"&&(d.innerHTML=V),j=r(t),c=u(t,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-r146z3"&&(c.innerHTML=F),z=r(t),T($.$$.fragment,t),A=r(t),v=u(t,"P",{"data-svelte-h":!0}),H(v)!=="svelte-15zz6u6"&&(v.textContent=U),S=r(t),m=u(t,"DIV",{class:!0,"data-svelte-h":!0}),H(m)!=="svelte-8mcg15"&&(m.innerHTML=B),q=r(t),T(_.$$.fragment,t),D=r(t),w=u(t,"P",{}),K(w).forEach(n),this.h()},h(){I(o,"name","hf:doc:metadata"),I(o,"content",it),I(c,"class","flex justify-center"),I(m,"class","flex justify-center")},m(t,e){tt(document.head,o),a(t,g,e),a(t,i,e),a(t,b,e),k(f,t,e),a(t,P,e),k(l,t,e),a(t,E,e),k(h,t,e),a(t,R,e),a(t,d,e),a(t,j,e),a(t,c,e),a(t,z,e),k($,t,e),a(t,A,e),a(t,v,e),a(t,S,e),a(t,m,e),a(t,q,e),k(_,t,e),a(t,D,e),a(t,w,e),G=!0},p(t,[e]){const J={};e&2&&(J.$$scope={dirty:e,ctx:t}),l.$set(J)},i(t){G||(x(f.$$.fragment,t),x(l.$$.fragment,t),x(h.$$.fragment,t),x($.$$.fragment,t),x(_.$$.fragment,t),G=!0)},o(t){C(f.$$.fragment,t),C(l.$$.fragment,t),C(h.$$.fragment,t),C($.$$.fragment,t),C(_.$$.fragment,t),G=!1},d(t){t&&(n(g),n(i),n(b),n(P),n(E),n(R),n(d),n(j),n(c),n(z),n(A),n(v),n(S),n(m),n(q),n(D),n(w)),n(o),M(f,t),M(l,t),M(h,t),M($,t),M(_,t)}}}const it='{"title":"Moderation","local":"moderation","sections":[{"title":"Reporting a repository","local":"reporting-a-repository","sections":[],"depth":2},{"title":"Reporting a comment","local":"reporting-a-comment","sections":[],"depth":2}],"depth":1}';function st(L){return Q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class pt extends X{constructor(o){super(),Y(this,o,st,ot,N,{})}}export{pt as component};
