import{s as j,o as q,n as z}from"../chunks/scheduler.d6170356.js";import{S as G,i as U,g,s as c,r as T,A as B,h as _,f as s,c as h,j as A,u as E,x as R,k as v,y as D,a as r,v as P,d as O,t as y,w as C,m as L,n as k}from"../chunks/index.fcd4cc08.js";import{T as F}from"../chunks/Tip.b09c67cf.js";import{H as I,E as J}from"../chunks/EditOnGithub.da2b595c.js";function K(d){let a,i,m="Enterprise Hub",o;return{c(){a=L("This feature is part of the "),i=g("a"),i.textContent=m,o=L("."),this.h()},l(n){a=k(n,"This feature is part of the "),i=_(n,"A",{href:!0,target:!0,"data-svelte-h":!0}),R(i)!=="svelte-170ex92"&&(i.textContent=m),o=k(n,"."),this.h()},h(){v(i,"href","https://huggingface.co/enterprise"),v(i,"target","_blank")},m(n,l){r(n,a,l),r(n,i,l),r(n,o,l)},p:z,d(n){n&&(s(a),s(i),s(o))}}}function N(d){let a,i,m,o,n,l,f,S,u,H='Read the <a href="./security-sso">documentation for SSO under the Security section</a>.',b,p,x,$,w;return n=new I({props:{title:"Single Sign-On (SSO)",local:"single-sign-on-sso",headingTag:"h1"}}),f=new F({props:{warning:!0,$$slots:{default:[K]},$$scope:{ctx:d}}}),p=new J({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/enterprise-sso.md"}}),{c(){a=g("meta"),i=c(),m=g("p"),o=c(),T(n.$$.fragment),l=c(),T(f.$$.fragment),S=c(),u=g("p"),u.innerHTML=H,b=c(),T(p.$$.fragment),x=c(),$=g("p"),this.h()},l(t){const e=B("svelte-u9bgzb",document.head);a=_(e,"META",{name:!0,content:!0}),e.forEach(s),i=h(t),m=_(t,"P",{}),A(m).forEach(s),o=h(t),E(n.$$.fragment,t),l=h(t),E(f.$$.fragment,t),S=h(t),u=_(t,"P",{"data-svelte-h":!0}),R(u)!=="svelte-wofas5"&&(u.innerHTML=H),b=h(t),E(p.$$.fragment,t),x=h(t),$=_(t,"P",{}),A($).forEach(s),this.h()},h(){v(a,"name","hf:doc:metadata"),v(a,"content",Q)},m(t,e){D(document.head,a),r(t,i,e),r(t,m,e),r(t,o,e),P(n,t,e),r(t,l,e),P(f,t,e),r(t,S,e),r(t,u,e),r(t,b,e),P(p,t,e),r(t,x,e),r(t,$,e),w=!0},p(t,[e]){const M={};e&2&&(M.$$scope={dirty:e,ctx:t}),f.$set(M)},i(t){w||(O(n.$$.fragment,t),O(f.$$.fragment,t),O(p.$$.fragment,t),w=!0)},o(t){y(n.$$.fragment,t),y(f.$$.fragment,t),y(p.$$.fragment,t),w=!1},d(t){t&&(s(i),s(m),s(o),s(l),s(S),s(u),s(b),s(x),s($)),s(a),C(n,t),C(f,t),C(p,t)}}}const Q='{"title":"Single Sign-On (SSO)","local":"single-sign-on-sso","sections":[],"depth":1}';function V(d){return q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class tt extends G{constructor(a){super(),U(this,a,V,N,j,{})}}export{tt as component};
