import{s as F,o as J,n as K}from"../chunks/scheduler.d6170356.js";import{S as N,i as Q,g as d,s as l,r as M,A as W,h,f as a,c as u,j as R,u as V,x as _,k as D,y as X,a as s,v as z,d as L,t as A,w as j,m as U,n as B}from"../chunks/index.fcd4cc08.js";import{T as Y}from"../chunks/Tip.b09c67cf.js";import{H as Z,E as tt}from"../chunks/EditOnGithub.da2b595c.js";function et(x){let i,r,p="Enterprise Hub",o;return{c(){i=U("This feature is part of the "),r=d("a"),r.textContent=p,o=U("."),this.h()},l(n){i=B(n,"This feature is part of the "),r=h(n,"A",{href:!0,"data-svelte-h":!0}),_(r)!=="svelte-vg0acv"&&(r.textContent=p),o=B(n,"."),this.h()},h(){D(r,"href","https://huggingface.co/enterprise")},m(n,f){s(n,i,f),s(n,r,f),s(n,o,f)},p:K,d(n){n&&(a(i),a(r),a(o))}}}function at(x){let i,r,p,o,n,f,m,T,g,q="The Dataset Viewer is enabled on private datasets owned by an Enterprise Hub organization.",C,v,I="The Dataset Viewer allows teams to understand their data and to help them build better data processing and filtering for AI. The Viewer allows to explore the datasets content, inspect data distributions, filter by values and even search for keywords. It also includes the datasets conversion to Parquet which can be used for programmatic data visualization.",k,$,S='<a href="./datasets-viewer">More information about the Dataset Viewer →</a>',E,c,G='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/private-dataset-viewer.png" alt="screenshot of the Dataset Viewer on a private dataset owned by an Enterprise Hub organization."/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/private-dataset-viewer-dark.png" alt="screenshot of the Dataset Viewer on a private dataset owned by an Enterprise Hub organization."/>',H,b,P,w,y;return n=new Z({props:{title:"Datasets",local:"datasets",headingTag:"h1"}}),m=new Y({props:{warning:!0,$$slots:{default:[et]},$$scope:{ctx:x}}}),b=new tt({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/enterprise-hub-datasets.md"}}),{c(){i=d("meta"),r=l(),p=d("p"),o=l(),M(n.$$.fragment),f=l(),M(m.$$.fragment),T=l(),g=d("p"),g.textContent=q,C=l(),v=d("p"),v.textContent=I,k=l(),$=d("p"),$.innerHTML=S,E=l(),c=d("div"),c.innerHTML=G,H=l(),M(b.$$.fragment),P=l(),w=d("p"),this.h()},l(t){const e=W("svelte-u9bgzb",document.head);i=h(e,"META",{name:!0,content:!0}),e.forEach(a),r=u(t),p=h(t,"P",{}),R(p).forEach(a),o=u(t),V(n.$$.fragment,t),f=u(t),V(m.$$.fragment,t),T=u(t),g=h(t,"P",{"data-svelte-h":!0}),_(g)!=="svelte-fke3db"&&(g.textContent=q),C=u(t),v=h(t,"P",{"data-svelte-h":!0}),_(v)!=="svelte-1rdqk5u"&&(v.textContent=I),k=u(t),$=h(t,"P",{"data-svelte-h":!0}),_($)!=="svelte-k5l55j"&&($.innerHTML=S),E=u(t),c=h(t,"DIV",{class:!0,"data-svelte-h":!0}),_(c)!=="svelte-1e4562v"&&(c.innerHTML=G),H=u(t),V(b.$$.fragment,t),P=u(t),w=h(t,"P",{}),R(w).forEach(a),this.h()},h(){D(i,"name","hf:doc:metadata"),D(i,"content",st),D(c,"class","flex justify-center")},m(t,e){X(document.head,i),s(t,r,e),s(t,p,e),s(t,o,e),z(n,t,e),s(t,f,e),z(m,t,e),s(t,T,e),s(t,g,e),s(t,C,e),s(t,v,e),s(t,k,e),s(t,$,e),s(t,E,e),s(t,c,e),s(t,H,e),z(b,t,e),s(t,P,e),s(t,w,e),y=!0},p(t,[e]){const O={};e&2&&(O.$$scope={dirty:e,ctx:t}),m.$set(O)},i(t){y||(L(n.$$.fragment,t),L(m.$$.fragment,t),L(b.$$.fragment,t),y=!0)},o(t){A(n.$$.fragment,t),A(m.$$.fragment,t),A(b.$$.fragment,t),y=!1},d(t){t&&(a(r),a(p),a(o),a(f),a(T),a(g),a(C),a(v),a(k),a($),a(E),a(c),a(H),a(P),a(w)),a(i),j(n,t),j(m,t),j(b,t)}}}const st='{"title":"Datasets","local":"datasets","sections":[],"depth":1}';function nt(x){return J(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ut extends N{constructor(i){super(),Q(this,i,nt,at,F,{})}}export{ut as component};
