import{s as V,n as W,o as X}from"../chunks/scheduler.ea9963d4.js";import{S as Y,i as Z,e as h,s as a,c as _,h as ee,a as T,d as n,b as i,f as N,g as b,j as G,k as Q,l as te,m as s,n as v,t as x,o as k,p as P}from"../chunks/index.2ecb6441.js";import{C as ne,H as O,E as se}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.b27212aa.js";function ae(R){let l,M,w,y,r,C,m,H,p,B="<strong><code>Deprecated</code></strong>",E,f,F="Use <code>AccessToken</code> instead. Pass { accessToken: “hf<em>…” } instead of { credentials: { accessToken: “hf</em>…” } }",z,c,S,o,j,$,J="• <strong>accessToken</strong>: <code>string</code>",D,u,A,g,K='<a href="https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/types/public.ts#L21" rel="nofollow">packages/hub/src/types/public.ts:21</a>',I,d,U,L,q;return r=new ne({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),m=new O({props:{title:"Interface: Credentials",local:"interface-credentials",headingTag:"h1"}}),c=new O({props:{title:"Properties",local:"properties",headingTag:"h2"}}),o=new O({props:{title:"accessToken",local:"accesstoken",headingTag:"h3"}}),u=new O({props:{title:"Defined in",local:"accesstoken.defined-in",headingTag:"h4"}}),d=new se({props:{source:"https://github.com/huggingface/huggingface.js/blob/main/docs/hub/interfaces/Credentials.md"}}),{c(){l=h("meta"),M=a(),w=h("p"),y=a(),_(r.$$.fragment),C=a(),_(m.$$.fragment),H=a(),p=h("p"),p.innerHTML=B,E=a(),f=h("p"),f.innerHTML=F,z=a(),_(c.$$.fragment),S=a(),_(o.$$.fragment),j=a(),$=h("p"),$.innerHTML=J,D=a(),_(u.$$.fragment),A=a(),g=h("p"),g.innerHTML=K,I=a(),_(d.$$.fragment),U=a(),L=h("p"),this.h()},l(e){const t=ee("svelte-u9bgzb",document.head);l=T(t,"META",{name:!0,content:!0}),t.forEach(n),M=i(e),w=T(e,"P",{}),N(w).forEach(n),y=i(e),b(r.$$.fragment,e),C=i(e),b(m.$$.fragment,e),H=i(e),p=T(e,"P",{"data-svelte-h":!0}),G(p)!=="svelte-15wx0ev"&&(p.innerHTML=B),E=i(e),f=T(e,"P",{"data-svelte-h":!0}),G(f)!=="svelte-bm4zg5"&&(f.innerHTML=F),z=i(e),b(c.$$.fragment,e),S=i(e),b(o.$$.fragment,e),j=i(e),$=T(e,"P",{"data-svelte-h":!0}),G($)!=="svelte-3ltzhs"&&($.innerHTML=J),D=i(e),b(u.$$.fragment,e),A=i(e),g=T(e,"P",{"data-svelte-h":!0}),G(g)!=="svelte-11vxgyz"&&(g.innerHTML=K),I=i(e),b(d.$$.fragment,e),U=i(e),L=T(e,"P",{}),N(L).forEach(n),this.h()},h(){Q(l,"name","hf:doc:metadata"),Q(l,"content",ie)},m(e,t){te(document.head,l),s(e,M,t),s(e,w,t),s(e,y,t),v(r,e,t),s(e,C,t),v(m,e,t),s(e,H,t),s(e,p,t),s(e,E,t),s(e,f,t),s(e,z,t),v(c,e,t),s(e,S,t),v(o,e,t),s(e,j,t),s(e,$,t),s(e,D,t),v(u,e,t),s(e,A,t),s(e,g,t),s(e,I,t),v(d,e,t),s(e,U,t),s(e,L,t),q=!0},p:W,i(e){q||(x(r.$$.fragment,e),x(m.$$.fragment,e),x(c.$$.fragment,e),x(o.$$.fragment,e),x(u.$$.fragment,e),x(d.$$.fragment,e),q=!0)},o(e){k(r.$$.fragment,e),k(m.$$.fragment,e),k(c.$$.fragment,e),k(o.$$.fragment,e),k(u.$$.fragment,e),k(d.$$.fragment,e),q=!1},d(e){e&&(n(M),n(w),n(y),n(C),n(H),n(p),n(E),n(f),n(z),n(S),n(j),n($),n(D),n(A),n(g),n(I),n(U),n(L)),n(l),P(r,e),P(m,e),P(c,e),P(o,e),P(u,e),P(d,e)}}}const ie='{"title":"Interface: Credentials","local":"interface-credentials","sections":[{"title":"Properties","local":"properties","sections":[{"title":"accessToken","local":"accesstoken","sections":[{"title":"Defined in","local":"accesstoken.defined-in","sections":[],"depth":4}],"depth":3}],"depth":2}],"depth":1}';function le(R){return X(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class fe extends Y{constructor(l){super(),Z(this,l,le,ae,V,{})}}export{fe as component};
