import{s as de,n as F,e as ol,o as il,A as Jt,b as fl,c as et,u as tt,g as lt,d as nt}from"../chunks/scheduler.8c3d61f6.js";import{S as $e,i as ge,B as y,C,j as $,f as r,k as i,a as h,y as d,m as Ce,n as Me,q as Ot,g as T,r as z,s as _,h as E,u as H,c as v,v as J,D as Ht,p as Oe,t as b,w as I,b as Ke,d as w,A as ul,x as Z}from"../chunks/index.da70eac4.js";import{T as cl}from"../chunks/Tip.1d9b8c37.js";import{C as W}from"../chunks/CodeBlock.00a903b3.js";import{g as hl}from"../chunks/globals.7f7f1b26.js";import{A as me,g as pl,H as ml,a as Kt}from"../chunks/HfOption.6ab18950.js";import{H as Xe,E as dl}from"../chunks/EditOnGithub.1e64e623.js";function $l(o){let e,s,t,l,a,u;return{c(){e=y("svg"),s=y("defs"),t=y("clipPath"),l=y("rect"),a=y("g"),u=y("path"),this.h()},l(m){e=C(m,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var p=$(e);s=C(p,"defs",{});var g=$(s);t=C(g,"clipPath",{id:!0});var M=$(t);l=C(M,"rect",{x:!0,y:!0,width:!0,height:!0,fill:!0}),$(l).forEach(r),M.forEach(r),g.forEach(r),a=C(p,"g",{"clip-path":!0});var c=$(a);u=C(c,"path",{d:!0,fill:!0}),$(u).forEach(r),c.forEach(r),p.forEach(r),this.h()},h(){i(l,"x","3.05"),i(l,"y","0.5"),i(l,"width","25.73"),i(l,"height","31"),i(l,"fill","none"),i(t,"id","a"),i(u,"d","M24.94,9.51a12.81,12.81,0,0,1,0,18.16,12.68,12.68,0,0,1-18,0,12.81,12.81,0,0,1,0-18.16l9-9V5l-.84.83-6,6a9.58,9.58,0,1,0,13.55,0ZM20.44,9a1.68,1.68,0,1,1,1.67-1.67A1.68,1.68,0,0,1,20.44,9Z"),i(u,"fill","#ee4c2c"),i(a,"clip-path","url(#a)"),i(e,"class",o[0]),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),i(e,"aria-hidden","true"),i(e,"focusable","false"),i(e,"role","img"),i(e,"width","1em"),i(e,"height","1em"),i(e,"preserveAspectRatio","xMidYMid meet"),i(e,"viewBox","0 0 32 32")},m(m,p){h(m,e,p),d(e,s),d(s,t),d(t,l),d(e,a),d(a,u)},p(m,[p]){p&1&&i(e,"class",m[0])},i:F,o:F,d(m){m&&r(e)}}}function gl(o,e,s){let{classNames:t=""}=e;return o.$$set=l=>{"classNames"in l&&s(0,t=l.classNames)},[t]}class wl extends $e{constructor(e){super(),ge(this,e,gl,$l,de,{classNames:0})}}function _l(o){let e,s,t,l;return{c(){e=y("svg"),s=y("path"),t=y("path"),l=y("path"),this.h()},l(a){e=C(a,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var u=$(e);s=C(u,"path",{d:!0,fill:!0}),$(s).forEach(r),t=C(u,"path",{d:!0,fill:!0}),$(t).forEach(r),l=C(u,"path",{d:!0,fill:!0}),$(l).forEach(r),u.forEach(r),this.h()},h(){i(s,"d","M145.726 42.065v42.07l72.861 42.07v-42.07l-72.86-42.07zM0 84.135v42.07l36.43 21.03V105.17L0 84.135zm109.291 21.035l-36.43 21.034v126.2l36.43 21.035v-84.135l36.435 21.035v-42.07l-36.435-21.034V105.17z"),i(s,"fill","#E55B2D"),i(t,"d","M145.726 42.065L36.43 105.17v42.065l72.861-42.065v42.065l36.435-21.03v-84.14zM255.022 63.1l-36.435 21.035v42.07l36.435-21.035V63.1zm-72.865 84.135l-36.43 21.035v42.07l36.43-21.036v-42.07zm-36.43 63.104l-36.436-21.035v84.135l36.435-21.035V210.34z"),i(t,"fill","#ED8E24"),i(l,"d","M145.726 0L0 84.135l36.43 21.035l109.296-63.105l72.861 42.07L255.022 63.1L145.726 0zm0 126.204l-36.435 21.03l36.435 21.036l36.43-21.035l-36.43-21.03z"),i(l,"fill","#F8BF3C"),i(e,"class",o[0]),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),i(e,"aria-hidden","true"),i(e,"focusable","false"),i(e,"role","img"),i(e,"width","0.94em"),i(e,"height","1em"),i(e,"preserveAspectRatio","xMidYMid meet"),i(e,"viewBox","0 0 256 274")},m(a,u){h(a,e,u),d(e,s),d(e,t),d(e,l)},p(a,[u]){u&1&&i(e,"class",a[0])},i:F,o:F,d(a){a&&r(e)}}}function vl(o,e,s){let{classNames:t=""}=e;return o.$$set=l=>{"classNames"in l&&s(0,t=l.classNames)},[t]}class bl extends $e{constructor(e){super(),ge(this,e,vl,_l,de,{classNames:0})}}function yl(o){let e,s,t,l,a,u,m,p,g,M,c,k,j,R,G,X,L,P,V,D,x,U,B,N,O,q,fe,K,ue,Q,we,ae,Y,ce,ee,he,te,re,pe,le,_e;return{c(){e=y("svg"),s=y("style"),t=Ce(`.J {
			stroke: #dce0df;
		}
		.K {
			stroke-linejoin: round;
		}
	`),l=y("g"),a=y("path"),u=y("path"),m=y("path"),p=y("path"),g=y("path"),M=y("path"),c=y("path"),k=y("path"),j=y("g"),R=y("path"),G=y("path"),X=y("path"),L=y("g"),P=y("path"),V=y("path"),D=y("path"),x=y("g"),U=y("path"),B=y("path"),N=y("g"),O=y("path"),q=y("path"),fe=y("path"),K=y("path"),ue=y("path"),Q=y("path"),we=y("path"),ae=y("path"),Y=y("g"),ce=y("path"),ee=y("path"),he=y("path"),te=y("path"),re=y("g"),pe=y("path"),le=y("path"),_e=y("path"),this.h()},l(ie){e=C(ie,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var S=$(e);s=C(S,"style",{});var ke=$(s);t=Me(ke,`.J {
			stroke: #dce0df;
		}
		.K {
			stroke-linejoin: round;
		}
	`),ke.forEach(r),l=C(S,"g",{fill:!0,class:!0});var A=$(l);a=C(A,"path",{d:!0}),$(a).forEach(r),u=C(A,"path",{d:!0}),$(u).forEach(r),m=C(A,"path",{d:!0}),$(m).forEach(r),p=C(A,"path",{d:!0}),$(p).forEach(r),g=C(A,"path",{d:!0}),$(g).forEach(r),M=C(A,"path",{d:!0}),$(M).forEach(r),c=C(A,"path",{d:!0}),$(c).forEach(r),k=C(A,"path",{d:!0}),$(k).forEach(r),A.forEach(r),j=C(S,"g",{fill:!0,class:!0});var xe=$(j);R=C(xe,"path",{d:!0}),$(R).forEach(r),G=C(xe,"path",{d:!0}),$(G).forEach(r),X=C(xe,"path",{d:!0}),$(X).forEach(r),xe.forEach(r),L=C(S,"g",{fill:!0,class:!0});var ve=$(L);P=C(ve,"path",{d:!0}),$(P).forEach(r),V=C(ve,"path",{d:!0}),$(V).forEach(r),ve.forEach(r),D=C(S,"path",{d:!0,fill:!0,class:!0}),$(D).forEach(r),x=C(S,"g",{fill:!0,class:!0});var oe=$(x);U=C(oe,"path",{d:!0}),$(U).forEach(r),B=C(oe,"path",{d:!0}),$(B).forEach(r),oe.forEach(r),N=C(S,"g",{fill:!0,class:!0});var ne=$(N);O=C(ne,"path",{d:!0}),$(O).forEach(r),q=C(ne,"path",{d:!0}),$(q).forEach(r),fe=C(ne,"path",{d:!0}),$(fe).forEach(r),K=C(ne,"path",{d:!0}),$(K).forEach(r),ue=C(ne,"path",{d:!0}),$(ue).forEach(r),Q=C(ne,"path",{d:!0}),$(Q).forEach(r),we=C(ne,"path",{d:!0}),$(we).forEach(r),ne.forEach(r),ae=C(S,"path",{d:!0,fill:!0,class:!0}),$(ae).forEach(r),Y=C(S,"g",{fill:!0,class:!0});var se=$(Y);ce=C(se,"path",{d:!0}),$(ce).forEach(r),ee=C(se,"path",{d:!0}),$(ee).forEach(r),he=C(se,"path",{d:!0}),$(he).forEach(r),te=C(se,"path",{d:!0}),$(te).forEach(r),se.forEach(r),re=C(S,"g",{fill:!0,class:!0});var Te=$(re);pe=C(Te,"path",{d:!0}),$(pe).forEach(r),le=C(Te,"path",{d:!0}),$(le).forEach(r),_e=C(Te,"path",{d:!0}),$(_e).forEach(r),Te.forEach(r),S.forEach(r),this.h()},h(){i(a,"d","M50.5 130.4l-25 43.31h50l25-43.31h-50z"),i(u,"d","M.5 217.01l25-43.3h50l-25 43.3H.5z"),i(m,"d","M125.5 173.71h-50l-25 43.3h50l25-43.3z"),i(p,"d","M175.5 173.71h-50l-25 43.3h50l25-43.3z"),i(g,"d","M150.5 130.4l-25 43.31h50l25-43.31h-50z"),i(M,"d","M175.5 87.1l-25 43.3h50l25-43.3h-50z"),i(c,"d","M200.5 43.8l-25 43.3h50l25-43.3h-50z"),i(k,"d","M225.5.5l-25 43.3h50l25-43.3h-50z"),i(l,"fill","#5e97f6"),i(l,"class","J K"),i(R,"d","M.5 217.01l25 43.3h50l-25-43.3H.5z"),i(G,"d","M125.5 260.31h-50l-25-43.3h50l25 43.3z"),i(X,"d","M175.5 260.31h-50l-25-43.3h50l25 43.3z"),i(j,"fill","#2a56c6"),i(j,"class","J K"),i(P,"d","M200.5 217.01l-25-43.3-25 43.3 25 43.3 25-43.3zm50-86.61l-25-43.3-25 43.3h50z"),i(V,"d","M250.5 43.8l-25 43.3 25 43.3 25-43.3-25-43.3z"),i(L,"fill","#00796b"),i(L,"class","J K"),i(D,"d","M125.5 173.71l-25-43.31-25 43.31h50z"),i(D,"fill","#3367d6"),i(D,"class","J K"),i(U,"d","M250.5 130.4h-50l-25 43.31h50l25-43.31z"),i(B,"d","M300.5 130.4h-50l-25 43.31h50l25-43.31z"),i(x,"fill","#26a69a"),i(x,"class","J K"),i(O,"d","M350.5 43.8L325.5.5l-25 43.3 25 43.3 25-43.3z"),i(q,"d","M375.5 87.1l-25-43.3-25 43.3 25 43.3 25-43.3z"),i(fe,"d","M400.5 130.4l-25-43.3-25 43.3 25 43.31 25-43.31z"),i(K,"d","M425.5 173.71l-25-43.31-25 43.31 25 43.3 25-43.3z"),i(ue,"d","M450.5 217.01l-25-43.3-25 43.3 25 43.3 25-43.3zM425.5.5l-25 43.3 25 43.3 25-43.3-25-43.3z"),i(Q,"d","M375.5 87.1l25-43.3 25 43.3-25 43.3-25-43.3zm-25 43.3l-25 43.31 25 43.3 25-43.3-25-43.31z"),i(we,"d","M325.5 260.31l-25-43.3 25-43.3 25 43.3-25 43.3z"),i(N,"fill","#9c27b0"),i(N,"class","J K"),i(ae,"d","M275.5 260.31l-25-43.3h50l25 43.3h-50z"),i(ae,"fill","#6a1b9a"),i(ae,"class","J K"),i(ce,"d","M225.5 173.71h-50l25 43.3h50l-25-43.3z"),i(ee,"d","M275.5 173.71h-50l25 43.3 25-43.3zm0-86.61l25 43.3h50l-25-43.3h-50z"),i(he,"d","M300.5 43.8h-50l25 43.3h50l-25-43.3zm125 216.51l-25-43.3h-50l25 43.3h50z"),i(te,"d","M375.5 173.71l-25 43.3h50l-25-43.3z"),i(Y,"fill","#00695c"),i(Y,"class","J K"),i(pe,"d","M325.5.5h-50l-25 43.3h50l25-43.3zm0 173.21h-50l-25 43.3h50l25-43.3z"),i(le,"d","M350.5 130.4h-50l-25 43.31h50l25-43.31zM425.5.5h-50l-25 43.3h50l25-43.3z"),i(_e,"d","M375.5 87.1l-25-43.3h50l-25 43.3z"),i(re,"fill","#ea80fc"),i(re,"class","J K"),i(e,"class",o[0]),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),i(e,"aria-hidden","true"),i(e,"focusable","false"),i(e,"role","img"),i(e,"width","1.73em"),i(e,"height","1em"),i(e,"preserveAspectRatio","xMidYMid meet"),i(e,"viewBox","0 0 451 260.81")},m(ie,S){h(ie,e,S),d(e,s),d(s,t),d(e,l),d(l,a),d(l,u),d(l,m),d(l,p),d(l,g),d(l,M),d(l,c),d(l,k),d(e,j),d(j,R),d(j,G),d(j,X),d(e,L),d(L,P),d(L,V),d(e,D),d(e,x),d(x,U),d(x,B),d(e,N),d(N,O),d(N,q),d(N,fe),d(N,K),d(N,ue),d(N,Q),d(N,we),d(e,ae),d(e,Y),d(Y,ce),d(Y,ee),d(Y,he),d(Y,te),d(e,re),d(re,pe),d(re,le),d(re,_e)},p(ie,[S]){S&1&&i(e,"class",ie[0])},i:F,o:F,d(ie){ie&&r(e)}}}function Cl(o,e,s){let{classNames:t=""}=e;return o.$$set=l=>{"classNames"in l&&s(0,t=l.classNames)},[t]}class Ml extends $e{constructor(e){super(),ge(this,e,Cl,yl,de,{classNames:0})}}function kl(o){let e,s;return{c(){e=y("svg"),s=y("path"),this.h()},l(t){e=C(t,"svg",{class:!0,width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var l=$(e);s=C(l,"path",{d:!0,fill:!0}),$(s).forEach(r),l.forEach(r),this.h()},h(){i(s,"d","M0 4.50001C0.390979 2.37042 2.25728 0.756592 4.5 0.756592C6.74272 0.756592 8.60861 2.37042 9 4.50001C8.60902 6.62959 6.74272 8.24342 4.5 8.24342C2.25728 8.24342 0.391395 6.62959 0 4.50001ZM4.5 6.57968C5.05156 6.57968 5.58054 6.36057 5.97055 5.97056C6.36057 5.58054 6.57967 5.05157 6.57967 4.50001C6.57967 3.94844 6.36057 3.41947 5.97055 3.02945C5.58054 2.63944 5.05156 2.42033 4.5 2.42033C3.94844 2.42033 3.41946 2.63944 3.02945 3.02945C2.63943 3.41947 2.42033 3.94844 2.42033 4.50001C2.42033 5.05157 2.63943 5.58054 3.02945 5.97056C3.41946 6.36057 3.94844 6.57968 4.5 6.57968ZM4.5 5.74781C4.16906 5.74781 3.85168 5.61635 3.61767 5.38234C3.38366 5.14833 3.2522 4.83094 3.2522 4.50001C3.2522 4.16907 3.38366 3.85168 3.61767 3.61767C3.85168 3.38367 4.16906 3.2522 4.5 3.2522C4.83094 3.2522 5.14832 3.38367 5.38233 3.61767C5.61634 3.85168 5.7478 4.16907 5.7478 4.50001C5.7478 4.83094 5.61634 5.14833 5.38233 5.38234C5.14832 5.61635 4.83094 5.74781 4.5 5.74781Z"),i(s,"fill","currentColor"),i(e,"class",o[0]),i(e,"width",o[1]),i(e,"height",o[1]),i(e,"viewBox","0 0 9 9"),i(e,"fill","currentColor"),i(e,"xmlns","http://www.w3.org/2000/svg")},m(t,l){h(t,e,l),d(e,s)},p(t,[l]){l&1&&i(e,"class",t[0]),l&2&&i(e,"width",t[1]),l&2&&i(e,"height",t[1])},i:F,o:F,d(t){t&&r(e)}}}function xl(o,e,s){let{classNames:t=""}=e,{size:l="1em"}=e;return o.$$set=a=>{"classNames"in a&&s(0,t=a.classNames),"size"in a&&s(1,l=a.size)},[t,l]}class Tl extends $e{constructor(e){super(),ge(this,e,xl,kl,de,{classNames:0,size:1})}}function El(o){let e,s;return{c(){e=y("svg"),s=y("path"),this.h()},l(t){e=C(t,"svg",{class:!0,width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var l=$(e);s=C(l,"path",{d:!0,fill:!0}),$(s).forEach(r),l.forEach(r),this.h()},h(){i(s,"d","M1.39125 1.9725L0.0883333 0.669997L0.677917 0.0804138L8.9275 8.33041L8.33792 8.91958L6.95875 7.54041C6.22592 8.00523 5.37572 8.25138 4.50792 8.25C2.26125 8.25 0.392083 6.63333 0 4.5C0.179179 3.52946 0.667345 2.64287 1.39167 1.9725H1.39125ZM5.65667 6.23833L5.04667 5.62833C4.81335 5.73996 4.55116 5.77647 4.29622 5.73282C4.04129 5.68918 3.80617 5.56752 3.62328 5.38463C3.44039 5.20175 3.31874 4.96663 3.27509 4.71169C3.23144 4.45676 3.26795 4.19456 3.37958 3.96125L2.76958 3.35125C2.50447 3.75187 2.38595 4.2318 2.4341 4.70978C2.48225 5.18777 2.6941 5.63442 3.0338 5.97411C3.37349 6.31381 3.82015 6.52567 4.29813 6.57382C4.77611 6.62197 5.25605 6.50345 5.65667 6.23833ZM2.83042 1.06666C3.35 0.862497 3.91625 0.749997 4.50792 0.749997C6.75458 0.749997 8.62375 2.36666 9.01583 4.5C8.88816 5.19404 8.60119 5.84899 8.1775 6.41333L6.56917 4.805C6.61694 4.48317 6.58868 4.15463 6.48664 3.84569C6.3846 3.53675 6.21162 3.256 5.98156 3.02594C5.7515 2.79588 5.47075 2.6229 5.16181 2.52086C4.85287 2.41882 4.52433 2.39056 4.2025 2.43833L2.83042 1.06708V1.06666Z"),i(s,"fill","currentColor"),i(e,"class",o[0]),i(e,"width",o[1]),i(e,"height",o[1]),i(e,"viewBox","0 0 10 9"),i(e,"fill","currentColor"),i(e,"xmlns","http://www.w3.org/2000/svg")},m(t,l){h(t,e,l),d(e,s)},p(t,[l]){l&1&&i(e,"class",t[0]),l&2&&i(e,"width",t[1]),l&2&&i(e,"height",t[1])},i:F,o:F,d(t){t&&r(e)}}}function zl(o,e,s){let{classNames:t=""}=e,{size:l="1em"}=e;return o.$$set=a=>{"classNames"in a&&s(0,t=a.classNames),"size"in a&&s(1,l=a.size)},[t,l]}class Jl extends $e{constructor(e){super(),ge(this,e,zl,El,de,{classNames:0,size:1})}}const{window:Il}=hl;function Qt(o){let e,s,t,l,a,u,m,p,g,M;return s=new Jl({props:{size:"0.9em"}}),{c(){e=T("div"),z(s.$$.fragment),t=_(),l=T("span"),a=Ce("Hide "),u=Ce(o[3]),m=Ce(" content"),this.h()},l(c){e=E(c,"DIV",{class:!0});var k=$(e);H(s.$$.fragment,k),t=v(k),l=E(k,"SPAN",{});var j=$(l);a=Me(j,"Hide "),u=Me(j,o[3]),m=Me(j," content"),j.forEach(r),k.forEach(r),this.h()},h(){i(e,"class","cursor-pointer flex items-center justify-center space-x-1 text-sm px-2 bg-white dark:bg-gray-950 hover:underline leading-none")},m(c,k){h(c,e,k),J(s,e,null),d(e,t),d(e,l),d(l,a),d(l,u),d(l,m),p=!0,g||(M=Ht(e,"click",o[5]),g=!0)},p:F,i(c){p||(w(s.$$.fragment,c),p=!0)},o(c){b(s.$$.fragment,c),p=!1},d(c){c&&r(e),I(s),g=!1,M()}}}function Hl(o){let e,s;const t=o[10].default,l=et(t,o,o[9],null);return{c(){e=T("div"),l&&l.c(),this.h()},l(a){e=E(a,"DIV",{class:!0});var u=$(e);l&&l.l(u),u.forEach(r),this.h()},h(){i(e,"class","framework-content")},m(a,u){h(a,e,u),l&&l.m(e,null),s=!0},p(a,u){l&&l.p&&(!s||u&512)&&tt(l,t,a,a[9],s?nt(t,a[9],u,null):lt(a[9]),null)},i(a){s||(w(l,a),s=!0)},o(a){b(l,a),s=!1},d(a){a&&r(e),l&&l.d(a)}}}function Ll(o){let e,s,t,l,a,u,m,p,g,M;return s=new Tl({props:{size:"0.9em"}}),{c(){e=T("div"),z(s.$$.fragment),t=_(),l=T("span"),a=Ce("Show "),u=Ce(o[3]),m=Ce(" content"),this.h()},l(c){e=E(c,"DIV",{class:!0});var k=$(e);H(s.$$.fragment,k),t=v(k),l=E(k,"SPAN",{});var j=$(l);a=Me(j,"Show "),u=Me(j,o[3]),m=Me(j," content"),j.forEach(r),k.forEach(r),this.h()},h(){i(e,"class","cursor-pointer mt-[-12.5px] flex items-center justify-center space-x-1 py-4 text-sm hover:underline leading-none")},m(c,k){h(c,e,k),J(s,e,null),d(e,t),d(e,l),d(l,a),d(l,u),d(l,m),p=!0,g||(M=Ht(e,"click",o[5]),g=!0)},p:F,i(c){p||(w(s.$$.fragment,c),p=!0)},o(c){b(s.$$.fragment,c),p=!1},d(c){c&&r(e),I(s),g=!1,M()}}}function jl(o){let e,s,t,l,a,u,m,p,g,M,c,k,j,R;var G=o[2];function X(x,U){return{}}G&&(l=Ot(G,X()));let L=!o[1]&&Qt(o);const P=[Ll,Hl],V=[];function D(x,U){return x[1]?0:1}return M=D(o),c=V[M]=P[M](o),{c(){e=T("div"),s=T("div"),t=T("div"),l&&z(l.$$.fragment),a=_(),u=T("span"),m=Ce(o[3]),p=_(),L&&L.c(),g=_(),c.c(),this.h()},l(x){e=E(x,"DIV",{class:!0});var U=$(e);s=E(U,"DIV",{class:!0});var B=$(s);t=E(B,"DIV",{class:!0});var N=$(t);l&&H(l.$$.fragment,N),a=v(N),u=E(N,"SPAN",{});var O=$(u);m=Me(O,o[3]),O.forEach(r),N.forEach(r),p=v(B),L&&L.l(B),B.forEach(r),g=v(U),c.l(U),U.forEach(r),this.h()},h(){i(t,"class","flex px-1 items-center space-x-1 bg-white dark:bg-gray-950"),i(s,"class","flex h-[22px] mt-[-12.5px] justify-between leading-none"),i(e,"class","border border-gray-200 rounded-xl px-4 relative")},m(x,U){h(x,e,U),d(e,s),d(s,t),l&&J(l,t,null),d(t,a),d(t,u),d(u,m),d(s,p),L&&L.m(s,null),d(e,g),V[M].m(e,null),o[11](e),k=!0,j||(R=Ht(Il,"hashchange",o[6]),j=!0)},p(x,[U]){if(G!==(G=x[2])){if(l){Oe();const N=l;b(N.$$.fragment,1,0,()=>{I(N,1)}),Ke()}G?(l=Ot(G,X()),z(l.$$.fragment),w(l.$$.fragment,1),J(l,t,a)):l=null}x[1]?L&&(Oe(),b(L,1,1,()=>{L=null}),Ke()):L?(L.p(x,U),U&2&&w(L,1)):(L=Qt(x),L.c(),w(L,1),L.m(s,null));let B=M;M=D(x),M===B?V[M].p(x,U):(Oe(),b(V[B],1,1,()=>{V[B]=null}),Ke(),c=V[M],c?c.p(x,U):(c=V[M]=P[M](x),c.c()),w(c,1),c.m(e,null))},i(x){k||(l&&w(l.$$.fragment,x),w(L),w(c),k=!0)},o(x){l&&b(l.$$.fragment,x),b(L),b(c),k=!1},d(x){x&&r(e),l&&I(l),L&&L.d(),V[M].d(),o[11](null),j=!1,R()}}}function Pl(o,e,s){let t,l,{$$slots:a={},$$scope:u}=e,{framework:m}=e,p,g=new Set;const M={pytorch:{Icon:wl,label:"Pytorch"},tensorflow:{Icon:bl,label:"TensorFlow"},jax:{Icon:Ml,label:"JAX"}},{Icon:c,label:k}=M[m],j=`hf_doc_framework_${m}_is_hidden`,R=pl(m);ol(o,R,P=>s(8,l=P));function G(){Jt(R,l=l!==me.CLOSED?me.CLOSED:me.OPEN,l),localStorage.setItem(j,l)}function X(){const P=window.location.hash.slice(1);g.has(P)&&(Jt(R,l=me.HASHASHLINK,l),localStorage.setItem(j,l))}il(()=>{const P=window.location.hash.slice(1),V="header-link",D=p.querySelectorAll(`.${V}`);g=new Set([...D].map(U=>U.id));const x=localStorage.getItem(j);g.has(P)?Jt(R,l=me.HASHASHLINK,l):x===me.CLOSED&&l!==me.HASHASHLINK&&Jt(R,l=me.CLOSED,l)});function L(P){fl[P?"unshift":"push"](()=>{p=P,s(0,p)})}return o.$$set=P=>{"framework"in P&&s(7,m=P.framework),"$$scope"in P&&s(9,u=P.$$scope)},o.$$.update=()=>{o.$$.dirty&256&&s(1,t=l===me.CLOSED)},[p,t,c,k,R,G,X,m,l,u,a,L]}class Lt extends $e{constructor(e){super(),ge(this,e,Pl,jl,de,{framework:7})}}const Zl=o=>({}),el=o=>({}),Ul=o=>({}),tl=o=>({}),Nl=o=>({}),ll=o=>({});function nl(o){let e,s;return e=new Lt({props:{framework:"pytorch",$$slots:{default:[Sl]},$$scope:{ctx:o}}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p(t,l){const a={};l&16&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function Sl(o){let e;const s=o[3].pytorch,t=et(s,o,o[4],ll);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,a){t&&t.m(l,a),e=!0},p(l,a){t&&t.p&&(!e||a&16)&&tt(t,s,l,l[4],e?nt(s,l[4],a,Nl):lt(l[4]),ll)},i(l){e||(w(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function sl(o){let e,s;return e=new Lt({props:{framework:"tensorflow",$$slots:{default:[Gl]},$$scope:{ctx:o}}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p(t,l){const a={};l&16&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function Gl(o){let e;const s=o[3].tensorflow,t=et(s,o,o[4],tl);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,a){t&&t.m(l,a),e=!0},p(l,a){t&&t.p&&(!e||a&16)&&tt(t,s,l,l[4],e?nt(s,l[4],a,Ul):lt(l[4]),tl)},i(l){e||(w(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function al(o){let e,s;return e=new Lt({props:{framework:"jax",$$slots:{default:[Bl]},$$scope:{ctx:o}}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p(t,l){const a={};l&16&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function Bl(o){let e;const s=o[3].jax,t=et(s,o,o[4],el);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,a){t&&t.m(l,a),e=!0},p(l,a){t&&t.p&&(!e||a&16)&&tt(t,s,l,l[4],e?nt(s,l[4],a,Zl):lt(l[4]),el)},i(l){e||(w(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function Rl(o){let e,s,t,l,a=o[0]&&nl(o),u=o[1]&&sl(o),m=o[2]&&al(o);return{c(){e=T("div"),a&&a.c(),s=_(),u&&u.c(),t=_(),m&&m.c(),this.h()},l(p){e=E(p,"DIV",{class:!0});var g=$(e);a&&a.l(g),s=v(g),u&&u.l(g),t=v(g),m&&m.l(g),g.forEach(r),this.h()},h(){i(e,"class","space-y-10 py-6 2xl:py-8 2xl:-mx-4")},m(p,g){h(p,e,g),a&&a.m(e,null),d(e,s),u&&u.m(e,null),d(e,t),m&&m.m(e,null),l=!0},p(p,[g]){p[0]?a?(a.p(p,g),g&1&&w(a,1)):(a=nl(p),a.c(),w(a,1),a.m(e,s)):a&&(Oe(),b(a,1,1,()=>{a=null}),Ke()),p[1]?u?(u.p(p,g),g&2&&w(u,1)):(u=sl(p),u.c(),w(u,1),u.m(e,t)):u&&(Oe(),b(u,1,1,()=>{u=null}),Ke()),p[2]?m?(m.p(p,g),g&4&&w(m,1)):(m=al(p),m.c(),w(m,1),m.m(e,null)):m&&(Oe(),b(m,1,1,()=>{m=null}),Ke())},i(p){l||(w(a),w(u),w(m),l=!0)},o(p){b(a),b(u),b(m),l=!1},d(p){p&&r(e),a&&a.d(),u&&u.d(),m&&m.d()}}}function Vl(o,e,s){let{$$slots:t={},$$scope:l}=e,{pytorch:a=!1}=e,{tensorflow:u=!1}=e,{jax:m=!1}=e;return o.$$set=p=>{"pytorch"in p&&s(0,a=p.pytorch),"tensorflow"in p&&s(1,u=p.tensorflow),"jax"in p&&s(2,m=p.jax),"$$scope"in p&&s(4,l=p.$$scope)},[a,u,m,t,l]}class rl extends $e{constructor(e){super(),ge(this,e,Vl,Rl,de,{pytorch:0,tensorflow:1,jax:2})}}function Fl(o){let e;const s=o[1].default,t=et(s,o,o[0],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,a){t&&t.m(l,a),e=!0},p(l,[a]){t&&t.p&&(!e||a&1)&&tt(t,s,l,l[0],e?nt(s,l[0],a,null):lt(l[0]),null)},i(l){e||(w(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function Yl(o,e,s){let{$$slots:t={},$$scope:l}=e;return o.$$set=a=>{"$$scope"in a&&s(0,l=a.$$scope)},[l,t]}class It extends $e{constructor(e){super(),ge(this,e,Yl,Fl,de,{})}}function Dl(o){let e,s;return e=new W({props:{code:"dXYlMjB2ZW52JTIwbXktZW52JTBBc291cmNlJTIwbXktZW52JTJGYmluJTJGYWN0aXZhdGU=",highlighted:`uv venv my-env
<span class="hljs-built_in">source</span> my-env/bin/activate`,wrap:!1}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p:F,i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function Al(o){let e,s;return e=new W({props:{code:"cHl0aG9uJTIwLW0lMjB2ZW52JTIwbXktZW52JTBBc291cmNlJTIwbXktZW52JTJGYmluJTJGYWN0aXZhdGU=",highlighted:`python -m venv my-env
<span class="hljs-built_in">source</span> my-env/bin/activate`,wrap:!1}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p:F,i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function Wl(o){let e,s,t,l;return e=new Kt({props:{id:"install",option:"uv",$$slots:{default:[Dl]},$$scope:{ctx:o}}}),t=new Kt({props:{id:"install",option:"Python",$$slots:{default:[Al]},$$scope:{ctx:o}}}),{c(){z(e.$$.fragment),s=_(),z(t.$$.fragment)},l(a){H(e.$$.fragment,a),s=v(a),H(t.$$.fragment,a)},m(a,u){J(e,a,u),h(a,s,u),J(t,a,u),l=!0},p(a,u){const m={};u&2&&(m.$$scope={dirty:u,ctx:a}),e.$set(m);const p={};u&2&&(p.$$scope={dirty:u,ctx:a}),t.$set(p)},i(a){l||(w(e.$$.fragment,a),w(t.$$.fragment,a),l=!0)},o(a){b(e.$$.fragment,a),b(t.$$.fragment,a),l=!1},d(a){a&&r(s),I(e,a),I(t,a)}}}function ql(o){let e,s="PyTorch only supports Python 3.8 - 3.11 on Windows. Install Diffusers with uv.",t,l,a,u,m="You can also install Diffusers with pip.",p,g,M;return l=new W({props:{code:"dXYlMjBpbnN0YWxsJTIwZGlmZnVzZXJzJTVCJTIydG9yY2glMjIlNUQlMjB0cmFuc2Zvcm1lcnM=",highlighted:'uv install diffusers[<span class="hljs-string">&quot;torch&quot;</span>] transformers',wrap:!1}}),g=new W({props:{code:"cGlwJTIwaW5zdGFsbCUyMGRpZmZ1c2VycyU1QiUyMnRvcmNoJTIyJTVEJTIwdHJhbnNmb3JtZXJz",highlighted:'pip install diffusers[<span class="hljs-string">&quot;torch&quot;</span>] transformers',wrap:!1}}),{c(){e=T("p"),e.textContent=s,t=_(),z(l.$$.fragment),a=_(),u=T("p"),u.textContent=m,p=_(),z(g.$$.fragment)},l(c){e=E(c,"P",{"data-svelte-h":!0}),Z(e)!=="svelte-1lnejz9"&&(e.textContent=s),t=v(c),H(l.$$.fragment,c),a=v(c),u=E(c,"P",{"data-svelte-h":!0}),Z(u)!=="svelte-1tersix"&&(u.textContent=m),p=v(c),H(g.$$.fragment,c)},m(c,k){h(c,e,k),h(c,t,k),J(l,c,k),h(c,a,k),h(c,u,k),h(c,p,k),J(g,c,k),M=!0},p:F,i(c){M||(w(l.$$.fragment,c),w(g.$$.fragment,c),M=!0)},o(c){b(l.$$.fragment,c),b(g.$$.fragment,c),M=!1},d(c){c&&(r(e),r(t),r(a),r(u),r(p)),I(l,c),I(g,c)}}}function Xl(o){let e,s;return e=new It({props:{$$slots:{default:[ql]},$$scope:{ctx:o}}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p(t,l){const a={};l&2&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function Ol(o){let e,s="Install Diffusers with uv.",t,l,a,u,m="You can also install Diffusers with pip.",p,g,M;return l=new W({props:{code:"dXYlMjBwaXAlMjBpbnN0YWxsJTIwZGlmZnVzZXJzJTVCJTIyZmxheCUyMiU1RCUyMHRyYW5zZm9ybWVycw==",highlighted:'uv pip install diffusers[<span class="hljs-string">&quot;flax&quot;</span>] transformers',wrap:!1}}),g=new W({props:{code:"cGlwJTIwaW5zdGFsbCUyMGRpZmZ1c2VycyU1QiUyMmZsYXglMjIlNUQlMjB0cmFuc2Zvcm1lcnM=",highlighted:'pip install diffusers[<span class="hljs-string">&quot;flax&quot;</span>] transformers',wrap:!1}}),{c(){e=T("p"),e.textContent=s,t=_(),z(l.$$.fragment),a=_(),u=T("p"),u.textContent=m,p=_(),z(g.$$.fragment)},l(c){e=E(c,"P",{"data-svelte-h":!0}),Z(e)!=="svelte-1ry29dz"&&(e.textContent=s),t=v(c),H(l.$$.fragment,c),a=v(c),u=E(c,"P",{"data-svelte-h":!0}),Z(u)!=="svelte-1tersix"&&(u.textContent=m),p=v(c),H(g.$$.fragment,c)},m(c,k){h(c,e,k),h(c,t,k),J(l,c,k),h(c,a,k),h(c,u,k),h(c,p,k),J(g,c,k),M=!0},p:F,i(c){M||(w(l.$$.fragment,c),w(g.$$.fragment,c),M=!0)},o(c){b(l.$$.fragment,c),b(g.$$.fragment,c),M=!1},d(c){c&&(r(e),r(t),r(a),r(u),r(p)),I(l,c),I(g,c)}}}function Kl(o){let e,s;return e=new It({props:{$$slots:{default:[Ol]},$$scope:{ctx:o}}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p(t,l){const a={};l&2&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function Ql(o){let e,s;return e=new W({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1lJTIwJTIyLiU1QnRvcmNoJTVEJTIy",highlighted:'pip install -e <span class="hljs-string">&quot;.[torch]&quot;</span>',wrap:!1}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p:F,i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function en(o){let e,s;return e=new It({props:{$$slots:{default:[Ql]},$$scope:{ctx:o}}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p(t,l){const a={};l&2&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function tn(o){let e,s;return e=new W({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1lJTIwJTIyLiU1QmZsYXglNUQlMjI=",highlighted:'pip install -e <span class="hljs-string">&quot;.[flax]&quot;</span>',wrap:!1}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p:F,i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function ln(o){let e,s;return e=new It({props:{$$slots:{default:[tn]},$$scope:{ctx:o}}}),{c(){z(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,l){J(e,t,l),s=!0},p(t,l){const a={};l&2&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){s||(w(e.$$.fragment,t),s=!0)},o(t){b(e.$$.fragment,t),s=!1},d(t){I(e,t)}}}function nn(o){let e,s="You must keep the <code>diffusers</code> folder if you want to keep using the library.";return{c(){e=T("p"),e.innerHTML=s},l(t){e=E(t,"P",{"data-svelte-h":!0}),Z(e)!=="svelte-n1zjn8"&&(e.innerHTML=s)},m(t,l){h(t,e,l)},p:F,d(t){t&&r(e)}}}function sn(o){let e,s,t,l,a,u,m,p="🤗 Diffusers is tested on Python 3.8+, PyTorch 1.7.0+, and Flax. Follow the installation instructions below for the deep learning library you are using:",g,M,c='<li><a href="https://pytorch.org/get-started/locally/" rel="nofollow">PyTorch</a> installation instructions</li> <li><a href="https://flax.readthedocs.io/en/latest/" rel="nofollow">Flax</a> installation instructions</li>',k,j,R,G,X=`You should install 🤗 Diffusers in a <a href="https://docs.python.org/3/library/venv.html" rel="nofollow">virtual environment</a>.
If you’re unfamiliar with Python virtual environments, take a look at this <a href="https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/" rel="nofollow">guide</a>.
A virtual environment makes it easier to manage different projects and avoid compatibility issues between dependencies.`,L,P,V='Create a virtual environment with Python or <a href="https://docs.astral.sh/uv/" rel="nofollow">uv</a> (refer to <a href="https://docs.astral.sh/uv/getting-started/installation/" rel="nofollow">Installation</a> for installation instructions), a fast Rust-based Python package and project manager.',D,x,U,B,N="You should also install 🤗 Transformers because 🤗 Diffusers relies on its models.",O,q,fe,K,ue,Q,we="After activating your virtual environment, with <code>conda</code> (maintained by the community):",ae,Y,ce,ee,he,te,re="Before installing 🤗 Diffusers from source, make sure you have PyTorch and 🤗 Accelerate installed.",pe,le,_e="To install 🤗 Accelerate:",ie,S,ke,A,xe="Then install 🤗 Diffusers from source:",ve,oe,ne,se,Te=`This command installs the bleeding edge <code>main</code> version rather than the latest <code>stable</code> version.
The <code>main</code> version is useful for staying up-to-date with the latest developments.
For instance, if a bug has been fixed since the last official release but a new release hasn’t been rolled out yet.
However, this means the <code>main</code> version may not always be stable.
We strive to keep the <code>main</code> version operational, and most issues are usually resolved within a few hours or a day.
If you run into a problem, please open an <a href="https://github.com/huggingface/diffusers/issues/new/choose" rel="nofollow">Issue</a> so we can fix it even sooner!`,st,Ee,at,ze,jt="You will need an editable install if you’d like to:",rt,Je,Pt="<li>Use the <code>main</code> version of the source code.</li> <li>Contribute to 🤗 Diffusers and need to test changes in the code.</li>",it,Ie,Zt="Clone the repository and install 🤗 Diffusers with the following commands:",ot,He,ft,be,ut,Le,Ut=`These commands will link the folder you cloned the repository to and your Python library paths.
Python will now look inside the folder you cloned to in addition to the normal library paths.
For example, if your Python packages are typically installed in <code>~/anaconda3/envs/main/lib/python3.10/site-packages/</code>, Python will also search the <code>~/diffusers/</code> folder you cloned to.`,ct,ye,ht,je,Nt="Now you can easily update your clone to the latest version of 🤗 Diffusers with the following command:",pt,Pe,mt,Ze,St="Your Python environment will find the <code>main</code> version of 🤗 Diffusers on the next run.",dt,Ue,$t,Ne,Gt='Model weights and files are downloaded from the Hub to a cache which is usually your home directory. You can change the cache location by specifying the <code>HF_HOME</code> or <code>HUGGINFACE_HUB_CACHE</code> environment variables or configuring the <code>cache_dir</code> parameter in methods like <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline.from_pretrained">from_pretrained()</a>.',gt,Se,Bt="Cached files allow you to run 🤗 Diffusers offline. To prevent 🤗 Diffusers from connecting to the internet, set the <code>HF_HUB_OFFLINE</code> environment variable to <code>True</code> and 🤗 Diffusers will only load previously downloaded files in the cache.",wt,Ge,_t,Be,Rt='For more details about managing and cleaning the cache, take a look at the <a href="https://huggingface.co/docs/huggingface_hub/guides/manage-cache" rel="nofollow">caching</a> guide.',vt,Re,bt,Ve,Vt=`Our library gathers telemetry information during <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline.from_pretrained">from_pretrained()</a> requests.
The data gathered includes the version of 🤗 Diffusers and PyTorch/Flax, the requested model or pipeline class,
and the path to a pretrained checkpoint if it is hosted on the Hugging Face Hub.
This usage data helps us debug issues and prioritize new features.
Telemetry is only sent when loading models and pipelines from the Hub,
and it is not collected if you’re loading local files.`,yt,Fe,Ft=`We understand that not everyone wants to share additional information,and we respect your privacy.
You can disable telemetry collection by setting the <code>DISABLE_TELEMETRY</code> environment variable from your terminal:`,Ct,Ye,Yt="On Linux/MacOS:",Mt,De,kt,Ae,Dt="On Windows:",xt,We,Tt,qe,Et,Qe,zt;return a=new Xe({props:{title:"Installation",local:"installation",headingTag:"h1"}}),j=new Xe({props:{title:"Install with pip",local:"install-with-pip",headingTag:"h2"}}),x=new ml({props:{id:"install",options:["uv","Python"],$$slots:{default:[Wl]},$$scope:{ctx:o}}}),q=new rl({props:{pytorch:!0,tensorflow:!1,jax:!0,$$slots:{jax:[Kl],pytorch:[Xl]},$$scope:{ctx:o}}}),K=new Xe({props:{title:"Install with conda",local:"install-with-conda",headingTag:"h2"}}),Y=new W({props:{code:"Y29uZGElMjBpbnN0YWxsJTIwLWMlMjBjb25kYS1mb3JnZSUyMGRpZmZ1c2Vycw==",highlighted:"conda install -c conda-forge diffusers",wrap:!1}}),ee=new Xe({props:{title:"Install from source",local:"install-from-source",headingTag:"h2"}}),S=new W({props:{code:"cGlwJTIwaW5zdGFsbCUyMGFjY2VsZXJhdGU=",highlighted:"pip install accelerate",wrap:!1}}),oe=new W({props:{code:"cGlwJTIwaW5zdGFsbCUyMGdpdCUyQmh0dHBzJTNBJTJGJTJGZ2l0aHViLmNvbSUyRmh1Z2dpbmdmYWNlJTJGZGlmZnVzZXJz",highlighted:"pip install git+https://github.com/huggingface/diffusers",wrap:!1}}),Ee=new Xe({props:{title:"Editable install",local:"editable-install",headingTag:"h2"}}),He=new W({props:{code:"Z2l0JTIwY2xvbmUlMjBodHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZodWdnaW5nZmFjZSUyRmRpZmZ1c2Vycy5naXQlMEFjZCUyMGRpZmZ1c2Vycw==",highlighted:`git <span class="hljs-built_in">clone</span> https://github.com/huggingface/diffusers.git
<span class="hljs-built_in">cd</span> diffusers`,wrap:!1}}),be=new rl({props:{pytorch:!0,tensorflow:!1,jax:!0,$$slots:{jax:[ln],pytorch:[en]},$$scope:{ctx:o}}}),ye=new cl({props:{warning:!0,$$slots:{default:[nn]},$$scope:{ctx:o}}}),Pe=new W({props:{code:"Y2QlMjB+JTJGZGlmZnVzZXJzJTJGJTBBZ2l0JTIwcHVsbA==",highlighted:`<span class="hljs-built_in">cd</span> ~/diffusers/
git pull`,wrap:!1}}),Ue=new Xe({props:{title:"Cache",local:"cache",headingTag:"h2"}}),Ge=new W({props:{code:"ZXhwb3J0JTIwSEZfSFVCX09GRkxJTkUlM0RUcnVl",highlighted:"export HF_HUB_OFFLINE=True",wrap:!1}}),Re=new Xe({props:{title:"Telemetry logging",local:"telemetry-logging",headingTag:"h2"}}),De=new W({props:{code:"ZXhwb3J0JTIwRElTQUJMRV9URUxFTUVUUlklM0RZRVM=",highlighted:'<span class="hljs-built_in">export</span> DISABLE_TELEMETRY=YES',wrap:!1}}),We=new W({props:{code:"c2V0JTIwRElTQUJMRV9URUxFTUVUUlklM0RZRVM=",highlighted:'<span class="hljs-built_in">set</span> DISABLE_TELEMETRY=YES',wrap:!1}}),qe=new dl({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/installation.md"}}),{c(){e=T("meta"),s=_(),t=T("p"),l=_(),z(a.$$.fragment),u=_(),m=T("p"),m.textContent=p,g=_(),M=T("ul"),M.innerHTML=c,k=_(),z(j.$$.fragment),R=_(),G=T("p"),G.innerHTML=X,L=_(),P=T("p"),P.innerHTML=V,D=_(),z(x.$$.fragment),U=_(),B=T("p"),B.textContent=N,O=_(),z(q.$$.fragment),fe=_(),z(K.$$.fragment),ue=_(),Q=T("p"),Q.innerHTML=we,ae=_(),z(Y.$$.fragment),ce=_(),z(ee.$$.fragment),he=_(),te=T("p"),te.textContent=re,pe=_(),le=T("p"),le.textContent=_e,ie=_(),z(S.$$.fragment),ke=_(),A=T("p"),A.textContent=xe,ve=_(),z(oe.$$.fragment),ne=_(),se=T("p"),se.innerHTML=Te,st=_(),z(Ee.$$.fragment),at=_(),ze=T("p"),ze.textContent=jt,rt=_(),Je=T("ul"),Je.innerHTML=Pt,it=_(),Ie=T("p"),Ie.textContent=Zt,ot=_(),z(He.$$.fragment),ft=_(),z(be.$$.fragment),ut=_(),Le=T("p"),Le.innerHTML=Ut,ct=_(),z(ye.$$.fragment),ht=_(),je=T("p"),je.textContent=Nt,pt=_(),z(Pe.$$.fragment),mt=_(),Ze=T("p"),Ze.innerHTML=St,dt=_(),z(Ue.$$.fragment),$t=_(),Ne=T("p"),Ne.innerHTML=Gt,gt=_(),Se=T("p"),Se.innerHTML=Bt,wt=_(),z(Ge.$$.fragment),_t=_(),Be=T("p"),Be.innerHTML=Rt,vt=_(),z(Re.$$.fragment),bt=_(),Ve=T("p"),Ve.innerHTML=Vt,yt=_(),Fe=T("p"),Fe.innerHTML=Ft,Ct=_(),Ye=T("p"),Ye.textContent=Yt,Mt=_(),z(De.$$.fragment),kt=_(),Ae=T("p"),Ae.textContent=Dt,xt=_(),z(We.$$.fragment),Tt=_(),z(qe.$$.fragment),Et=_(),Qe=T("p"),this.h()},l(n){const f=ul("svelte-u9bgzb",document.head);e=E(f,"META",{name:!0,content:!0}),f.forEach(r),s=v(n),t=E(n,"P",{}),$(t).forEach(r),l=v(n),H(a.$$.fragment,n),u=v(n),m=E(n,"P",{"data-svelte-h":!0}),Z(m)!=="svelte-1asulm0"&&(m.textContent=p),g=v(n),M=E(n,"UL",{"data-svelte-h":!0}),Z(M)!=="svelte-qc4w6a"&&(M.innerHTML=c),k=v(n),H(j.$$.fragment,n),R=v(n),G=E(n,"P",{"data-svelte-h":!0}),Z(G)!=="svelte-jan9ki"&&(G.innerHTML=X),L=v(n),P=E(n,"P",{"data-svelte-h":!0}),Z(P)!=="svelte-12pu2vf"&&(P.innerHTML=V),D=v(n),H(x.$$.fragment,n),U=v(n),B=E(n,"P",{"data-svelte-h":!0}),Z(B)!=="svelte-bh3fie"&&(B.textContent=N),O=v(n),H(q.$$.fragment,n),fe=v(n),H(K.$$.fragment,n),ue=v(n),Q=E(n,"P",{"data-svelte-h":!0}),Z(Q)!=="svelte-j2aa2z"&&(Q.innerHTML=we),ae=v(n),H(Y.$$.fragment,n),ce=v(n),H(ee.$$.fragment,n),he=v(n),te=E(n,"P",{"data-svelte-h":!0}),Z(te)!=="svelte-1tqh395"&&(te.textContent=re),pe=v(n),le=E(n,"P",{"data-svelte-h":!0}),Z(le)!=="svelte-krupno"&&(le.textContent=_e),ie=v(n),H(S.$$.fragment,n),ke=v(n),A=E(n,"P",{"data-svelte-h":!0}),Z(A)!=="svelte-klw2vx"&&(A.textContent=xe),ve=v(n),H(oe.$$.fragment,n),ne=v(n),se=E(n,"P",{"data-svelte-h":!0}),Z(se)!=="svelte-qqlij"&&(se.innerHTML=Te),st=v(n),H(Ee.$$.fragment,n),at=v(n),ze=E(n,"P",{"data-svelte-h":!0}),Z(ze)!=="svelte-oeh2m0"&&(ze.textContent=jt),rt=v(n),Je=E(n,"UL",{"data-svelte-h":!0}),Z(Je)!=="svelte-1edyqz4"&&(Je.innerHTML=Pt),it=v(n),Ie=E(n,"P",{"data-svelte-h":!0}),Z(Ie)!=="svelte-1ot86w6"&&(Ie.textContent=Zt),ot=v(n),H(He.$$.fragment,n),ft=v(n),H(be.$$.fragment,n),ut=v(n),Le=E(n,"P",{"data-svelte-h":!0}),Z(Le)!=="svelte-vq5rhb"&&(Le.innerHTML=Ut),ct=v(n),H(ye.$$.fragment,n),ht=v(n),je=E(n,"P",{"data-svelte-h":!0}),Z(je)!=="svelte-df0eim"&&(je.textContent=Nt),pt=v(n),H(Pe.$$.fragment,n),mt=v(n),Ze=E(n,"P",{"data-svelte-h":!0}),Z(Ze)!=="svelte-s6kf2x"&&(Ze.innerHTML=St),dt=v(n),H(Ue.$$.fragment,n),$t=v(n),Ne=E(n,"P",{"data-svelte-h":!0}),Z(Ne)!=="svelte-19wrxp2"&&(Ne.innerHTML=Gt),gt=v(n),Se=E(n,"P",{"data-svelte-h":!0}),Z(Se)!=="svelte-1qdzds2"&&(Se.innerHTML=Bt),wt=v(n),H(Ge.$$.fragment,n),_t=v(n),Be=E(n,"P",{"data-svelte-h":!0}),Z(Be)!=="svelte-g87wia"&&(Be.innerHTML=Rt),vt=v(n),H(Re.$$.fragment,n),bt=v(n),Ve=E(n,"P",{"data-svelte-h":!0}),Z(Ve)!=="svelte-1xmtpz3"&&(Ve.innerHTML=Vt),yt=v(n),Fe=E(n,"P",{"data-svelte-h":!0}),Z(Fe)!=="svelte-h1obm4"&&(Fe.innerHTML=Ft),Ct=v(n),Ye=E(n,"P",{"data-svelte-h":!0}),Z(Ye)!=="svelte-99tbt5"&&(Ye.textContent=Yt),Mt=v(n),H(De.$$.fragment,n),kt=v(n),Ae=E(n,"P",{"data-svelte-h":!0}),Z(Ae)!=="svelte-l29ize"&&(Ae.textContent=Dt),xt=v(n),H(We.$$.fragment,n),Tt=v(n),H(qe.$$.fragment,n),Et=v(n),Qe=E(n,"P",{}),$(Qe).forEach(r),this.h()},h(){i(e,"name","hf:doc:metadata"),i(e,"content",an)},m(n,f){d(document.head,e),h(n,s,f),h(n,t,f),h(n,l,f),J(a,n,f),h(n,u,f),h(n,m,f),h(n,g,f),h(n,M,f),h(n,k,f),J(j,n,f),h(n,R,f),h(n,G,f),h(n,L,f),h(n,P,f),h(n,D,f),J(x,n,f),h(n,U,f),h(n,B,f),h(n,O,f),J(q,n,f),h(n,fe,f),J(K,n,f),h(n,ue,f),h(n,Q,f),h(n,ae,f),J(Y,n,f),h(n,ce,f),J(ee,n,f),h(n,he,f),h(n,te,f),h(n,pe,f),h(n,le,f),h(n,ie,f),J(S,n,f),h(n,ke,f),h(n,A,f),h(n,ve,f),J(oe,n,f),h(n,ne,f),h(n,se,f),h(n,st,f),J(Ee,n,f),h(n,at,f),h(n,ze,f),h(n,rt,f),h(n,Je,f),h(n,it,f),h(n,Ie,f),h(n,ot,f),J(He,n,f),h(n,ft,f),J(be,n,f),h(n,ut,f),h(n,Le,f),h(n,ct,f),J(ye,n,f),h(n,ht,f),h(n,je,f),h(n,pt,f),J(Pe,n,f),h(n,mt,f),h(n,Ze,f),h(n,dt,f),J(Ue,n,f),h(n,$t,f),h(n,Ne,f),h(n,gt,f),h(n,Se,f),h(n,wt,f),J(Ge,n,f),h(n,_t,f),h(n,Be,f),h(n,vt,f),J(Re,n,f),h(n,bt,f),h(n,Ve,f),h(n,yt,f),h(n,Fe,f),h(n,Ct,f),h(n,Ye,f),h(n,Mt,f),J(De,n,f),h(n,kt,f),h(n,Ae,f),h(n,xt,f),J(We,n,f),h(n,Tt,f),J(qe,n,f),h(n,Et,f),h(n,Qe,f),zt=!0},p(n,[f]){const At={};f&2&&(At.$$scope={dirty:f,ctx:n}),x.$set(At);const Wt={};f&2&&(Wt.$$scope={dirty:f,ctx:n}),q.$set(Wt);const qt={};f&2&&(qt.$$scope={dirty:f,ctx:n}),be.$set(qt);const Xt={};f&2&&(Xt.$$scope={dirty:f,ctx:n}),ye.$set(Xt)},i(n){zt||(w(a.$$.fragment,n),w(j.$$.fragment,n),w(x.$$.fragment,n),w(q.$$.fragment,n),w(K.$$.fragment,n),w(Y.$$.fragment,n),w(ee.$$.fragment,n),w(S.$$.fragment,n),w(oe.$$.fragment,n),w(Ee.$$.fragment,n),w(He.$$.fragment,n),w(be.$$.fragment,n),w(ye.$$.fragment,n),w(Pe.$$.fragment,n),w(Ue.$$.fragment,n),w(Ge.$$.fragment,n),w(Re.$$.fragment,n),w(De.$$.fragment,n),w(We.$$.fragment,n),w(qe.$$.fragment,n),zt=!0)},o(n){b(a.$$.fragment,n),b(j.$$.fragment,n),b(x.$$.fragment,n),b(q.$$.fragment,n),b(K.$$.fragment,n),b(Y.$$.fragment,n),b(ee.$$.fragment,n),b(S.$$.fragment,n),b(oe.$$.fragment,n),b(Ee.$$.fragment,n),b(He.$$.fragment,n),b(be.$$.fragment,n),b(ye.$$.fragment,n),b(Pe.$$.fragment,n),b(Ue.$$.fragment,n),b(Ge.$$.fragment,n),b(Re.$$.fragment,n),b(De.$$.fragment,n),b(We.$$.fragment,n),b(qe.$$.fragment,n),zt=!1},d(n){n&&(r(s),r(t),r(l),r(u),r(m),r(g),r(M),r(k),r(R),r(G),r(L),r(P),r(D),r(U),r(B),r(O),r(fe),r(ue),r(Q),r(ae),r(ce),r(he),r(te),r(pe),r(le),r(ie),r(ke),r(A),r(ve),r(ne),r(se),r(st),r(at),r(ze),r(rt),r(Je),r(it),r(Ie),r(ot),r(ft),r(ut),r(Le),r(ct),r(ht),r(je),r(pt),r(mt),r(Ze),r(dt),r($t),r(Ne),r(gt),r(Se),r(wt),r(_t),r(Be),r(vt),r(bt),r(Ve),r(yt),r(Fe),r(Ct),r(Ye),r(Mt),r(kt),r(Ae),r(xt),r(Tt),r(Et),r(Qe)),r(e),I(a,n),I(j,n),I(x,n),I(q,n),I(K,n),I(Y,n),I(ee,n),I(S,n),I(oe,n),I(Ee,n),I(He,n),I(be,n),I(ye,n),I(Pe,n),I(Ue,n),I(Ge,n),I(Re,n),I(De,n),I(We,n),I(qe,n)}}}const an='{"title":"Installation","local":"installation","sections":[{"title":"Install with pip","local":"install-with-pip","sections":[],"depth":2},{"title":"Install with conda","local":"install-with-conda","sections":[],"depth":2},{"title":"Install from source","local":"install-from-source","sections":[],"depth":2},{"title":"Editable install","local":"editable-install","sections":[],"depth":2},{"title":"Cache","local":"cache","sections":[],"depth":2},{"title":"Telemetry logging","local":"telemetry-logging","sections":[],"depth":2}],"depth":1}';function rn(o){return il(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class dn extends $e{constructor(e){super(),ge(this,e,rn,sn,de,{})}}export{dn as component};
