import{s as W,n as X,o as Y}from"../chunks/scheduler.9cda857a.js";import{S as Z,i as tt,e as c,s as o,c as _,h as et,a as p,d as n,b as a,f as N,g as w,j as k,k as x,l as nt,m as i,n as T,t as C,o as M,p as L}from"../chunks/index.003612b0.js";import{C as it}from"../chunks/CopyLLMTxtMenu.44d08a39.js";import{H as U,E as ot}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.e5cfda8c.js";function at(V){let s,H,v,E,u,P,g,R,r,B='<p>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>.</p>',z,f,q,h,F="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.",O,l,K='<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"/>',S,d,j,$,Q="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.",A,m,J='<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"/>',D,b,G,y,I;return u=new it({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),g=new U({props:{title:"Moderation",local:"moderation",headingTag:"h1"}}),f=new U({props:{title:"Reporting a repository",local:"reporting-a-repository",headingTag:"h2"}}),d=new U({props:{title:"Reporting a comment",local:"reporting-a-comment",headingTag:"h2"}}),b=new ot({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/moderation.md"}}),{c(){s=c("meta"),H=o(),v=c("p"),E=o(),_(u.$$.fragment),P=o(),_(g.$$.fragment),R=o(),r=c("blockquote"),r.innerHTML=B,z=o(),_(f.$$.fragment),q=o(),h=c("p"),h.innerHTML=F,O=o(),l=c("div"),l.innerHTML=K,S=o(),_(d.$$.fragment),j=o(),$=c("p"),$.textContent=Q,A=o(),m=c("div"),m.innerHTML=J,D=o(),_(b.$$.fragment),G=o(),y=c("p"),this.h()},l(t){const e=et("svelte-u9bgzb",document.head);s=p(e,"META",{name:!0,content:!0}),e.forEach(n),H=a(t),v=p(t,"P",{}),N(v).forEach(n),E=a(t),w(u.$$.fragment,t),P=a(t),w(g.$$.fragment,t),R=a(t),r=p(t,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),k(r)!=="svelte-md9f2h"&&(r.innerHTML=B),z=a(t),w(f.$$.fragment,t),q=a(t),h=p(t,"P",{"data-svelte-h":!0}),k(h)!=="svelte-1eew36c"&&(h.innerHTML=F),O=a(t),l=p(t,"DIV",{class:!0,"data-svelte-h":!0}),k(l)!=="svelte-r146z3"&&(l.innerHTML=K),S=a(t),w(d.$$.fragment,t),j=a(t),$=p(t,"P",{"data-svelte-h":!0}),k($)!=="svelte-15zz6u6"&&($.textContent=Q),A=a(t),m=p(t,"DIV",{class:!0,"data-svelte-h":!0}),k(m)!=="svelte-8mcg15"&&(m.innerHTML=J),D=a(t),w(b.$$.fragment,t),G=a(t),y=p(t,"P",{}),N(y).forEach(n),this.h()},h(){x(s,"name","hf:doc:metadata"),x(s,"content",st),x(r,"class","tip"),x(l,"class","flex justify-center"),x(m,"class","flex justify-center")},m(t,e){nt(document.head,s),i(t,H,e),i(t,v,e),i(t,E,e),T(u,t,e),i(t,P,e),T(g,t,e),i(t,R,e),i(t,r,e),i(t,z,e),T(f,t,e),i(t,q,e),i(t,h,e),i(t,O,e),i(t,l,e),i(t,S,e),T(d,t,e),i(t,j,e),i(t,$,e),i(t,A,e),i(t,m,e),i(t,D,e),T(b,t,e),i(t,G,e),i(t,y,e),I=!0},p:X,i(t){I||(C(u.$$.fragment,t),C(g.$$.fragment,t),C(f.$$.fragment,t),C(d.$$.fragment,t),C(b.$$.fragment,t),I=!0)},o(t){M(u.$$.fragment,t),M(g.$$.fragment,t),M(f.$$.fragment,t),M(d.$$.fragment,t),M(b.$$.fragment,t),I=!1},d(t){t&&(n(H),n(v),n(E),n(P),n(R),n(r),n(z),n(q),n(h),n(O),n(l),n(S),n(j),n($),n(A),n(m),n(D),n(G),n(y)),n(s),L(u,t),L(g,t),L(f,t),L(d,t),L(b,t)}}}const st='{"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 rt(V){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ut extends Z{constructor(s){super(),tt(this,s,rt,at,W,{})}}export{ut as component};
