import{s as j,n as A,o as F}from"../chunks/scheduler.9cda857a.js";import{S as G,i as O,e as f,s as m,c as M,h as R,a as h,d as a,b as p,f as q,g as P,j as z,k as X,l as U,m as n,n as C,t as S,o as T,p as E}from"../chunks/index.003612b0.js";import{C as B}from"../chunks/CopyLLMTxtMenu.44d08a39.js";import{H as D,E as I}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.e5cfda8c.js";function J(k){let i,$,u,g,s,y,o,v,r,H="Xet storage provides data deduplication over all chunks stored in Hugging Face. This is done via cryptographic hashing in a privacy sensitive way. The contents of chunks are protected and are associated with repository permissions, i.e. you can only read chunks which are required to reproduce files you have access to, and no more.",_,l,L='More information and details on how deduplication is done in a privacy-preserving way are described in the <a href="https://huggingface.co/docs/xet/deduplication" rel="nofollow">Xet Protocol Specification</a>.',x,c,w,d,b;return s=new B({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),o=new D({props:{title:"Security Model",local:"security-model",headingTag:"h1"}}),c=new I({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/xet/security.md"}}),{c(){i=f("meta"),$=m(),u=f("p"),g=m(),M(s.$$.fragment),y=m(),M(o.$$.fragment),v=m(),r=f("p"),r.textContent=H,_=m(),l=f("p"),l.innerHTML=L,x=m(),M(c.$$.fragment),w=m(),d=f("p"),this.h()},l(e){const t=R("svelte-u9bgzb",document.head);i=h(t,"META",{name:!0,content:!0}),t.forEach(a),$=p(e),u=h(e,"P",{}),q(u).forEach(a),g=p(e),P(s.$$.fragment,e),y=p(e),P(o.$$.fragment,e),v=p(e),r=h(e,"P",{"data-svelte-h":!0}),z(r)!=="svelte-ikuv1s"&&(r.textContent=H),_=p(e),l=h(e,"P",{"data-svelte-h":!0}),z(l)!=="svelte-1vfrs8c"&&(l.innerHTML=L),x=p(e),P(c.$$.fragment,e),w=p(e),d=h(e,"P",{}),q(d).forEach(a),this.h()},h(){X(i,"name","hf:doc:metadata"),X(i,"content",K)},m(e,t){U(document.head,i),n(e,$,t),n(e,u,t),n(e,g,t),C(s,e,t),n(e,y,t),C(o,e,t),n(e,v,t),n(e,r,t),n(e,_,t),n(e,l,t),n(e,x,t),C(c,e,t),n(e,w,t),n(e,d,t),b=!0},p:A,i(e){b||(S(s.$$.fragment,e),S(o.$$.fragment,e),S(c.$$.fragment,e),b=!0)},o(e){T(s.$$.fragment,e),T(o.$$.fragment,e),T(c.$$.fragment,e),b=!1},d(e){e&&(a($),a(u),a(g),a(y),a(v),a(r),a(_),a(l),a(x),a(w),a(d)),a(i),E(s,e),E(o,e),E(c,e)}}}const K='{"title":"Security Model","local":"security-model","sections":[],"depth":1}';function N(k){return F(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Z extends G{constructor(i){super(),O(this,i,N,J,j,{})}}export{Z as component};
