import{S as ra,i as oa,s as aa,e as a,k as n,w as f,t as m,M as ta,c as t,d as o,m as i,a as s,x as u,h as c,b as l,G as e,g as $,y as h,L as sa,q as _,o as v,B as b,v as na}from"../../chunks/vendor-hf-doc-builder.js";import{D as I}from"../../chunks/Docstring-hf-doc-builder.js";import{I as Io}from"../../chunks/IconCopyLink-hf-doc-builder.js";function ia(Eo){let w,Oe,L,T,ge,Y,dr,fe,pr,Be,E,gr,ue,fr,ur,de,hr,_r,Ge,P,vr,he,br,$r,_e,yr,Pr,ve,Ir,Er,be,Vr,Dr,We,z,N,$e,J,wr,ye,Lr,Fe,d,j,zr,Pe,xr,Tr,A,K,Nr,Ie,Ar,Cr,C,Q,Mr,Ee,kr,Rr,M,X,Sr,Ve,Or,Br,k,Z,Gr,De,Wr,Fr,R,ee,qr,we,Hr,Ur,S,re,Yr,Le,Jr,jr,O,oe,Kr,ze,Qr,Xr,B,ae,Zr,xe,eo,ro,G,te,oo,se,ao,Te,to,so,qe,x,W,Ne,ne,no,Ae,io,He,F,mo,Ce,co,lo,Ue,y,ie,po,Me,go,fo,q,me,uo,ke,ho,_o,H,ce,vo,Re,bo,$o,U,le,yo,Se,Po,Ye;return Y=new Io({}),J=new Io({}),j=new I({props:{name:"class diffusers.image_processor.VaeImageProcessor",anchor:"diffusers.image_processor.VaeImageProcessor",parameters:[{name:"do_resize",val:": bool = True"},{name:"vae_scale_factor",val:": int = 8"},{name:"resample",val:": str = 'lanczos'"},{name:"do_normalize",val:": bool = True"},{name:"do_convert_rgb",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.do_resize",description:`<strong>do_resize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to downscale the image&#x2019;s (height, width) dimensions to multiples of <code>vae_scale_factor</code>. Can accept
<code>height</code> and <code>width</code> arguments from <a href="/docs/diffusers/main/en/api/image_processor#diffusers.image_processor.VaeImageProcessor.preprocess">image_processor.VaeImageProcessor.preprocess()</a> method.`,name:"do_resize"},{anchor:"diffusers.image_processor.VaeImageProcessor.vae_scale_factor",description:`<strong>vae_scale_factor</strong> (<code>int</code>, <em>optional</em>, defaults to <code>8</code>) &#x2014;
VAE scale factor. If <code>do_resize</code> is <code>True</code>, the image is automatically resized to multiples of this factor.`,name:"vae_scale_factor"},{anchor:"diffusers.image_processor.VaeImageProcessor.resample",description:`<strong>resample</strong> (<code>str</code>, <em>optional</em>, defaults to <code>lanczos</code>) &#x2014;
Resampling filter to use when resizing the image.`,name:"resample"},{anchor:"diffusers.image_processor.VaeImageProcessor.do_normalize",description:`<strong>do_normalize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to normalize the image to [-1,1].`,name:"do_normalize"},{anchor:"diffusers.image_processor.VaeImageProcessor.do_convert_rgb",description:`<strong>do_convert_rgb</strong> (<code>bool</code>, <em>optional</em>, defaults to be <code>False</code>) &#x2014;
Whether to convert the images to RGB format.`,name:"do_convert_rgb"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L27"}}),K=new I({props:{name:"convert_to_rgb",anchor:"diffusers.image_processor.VaeImageProcessor.convert_to_rgb",parameters:[{name:"image",val:": Image"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L119"}}),Q=new I({props:{name:"denormalize",anchor:"diffusers.image_processor.VaeImageProcessor.denormalize",parameters:[{name:"images",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L112"}}),X=new I({props:{name:"normalize",anchor:"diffusers.image_processor.VaeImageProcessor.normalize",parameters:[{name:"images",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L105"}}),Z=new I({props:{name:"numpy_to_pil",anchor:"diffusers.image_processor.VaeImageProcessor.numpy_to_pil",parameters:[{name:"images",val:": ndarray"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L58"}}),ee=new I({props:{name:"numpy_to_pt",anchor:"diffusers.image_processor.VaeImageProcessor.numpy_to_pt",parameters:[{name:"images",val:": ndarray"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L86"}}),re=new I({props:{name:"pil_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessor.pil_to_numpy",parameters:[{name:"images",val:": typing.Union[typing.List[PIL.Image.Image], PIL.Image.Image]"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L74"}}),oe=new I({props:{name:"preprocess",anchor:"diffusers.image_processor.VaeImageProcessor.preprocess",parameters:[{name:"image",val:": typing.Union[torch.FloatTensor, PIL.Image.Image, numpy.ndarray]"},{name:"height",val:": typing.Optional[int] = None"},{name:"width",val:": typing.Optional[int] = None"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L147"}}),ae=new I({props:{name:"pt_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessor.pt_to_numpy",parameters:[{name:"images",val:": FloatTensor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L97"}}),te=new I({props:{name:"resize",anchor:"diffusers.image_processor.VaeImageProcessor.resize",parameters:[{name:"image",val:": Image"},{name:"height",val:": typing.Optional[int] = None"},{name:"width",val:": typing.Optional[int] = None"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L127"}}),ne=new Io({}),ie=new I({props:{name:"class diffusers.image_processor.VaeImageProcessorLDM3D",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D",parameters:[{name:"do_resize",val:": bool = True"},{name:"vae_scale_factor",val:": int = 8"},{name:"resample",val:": str = 'lanczos'"},{name:"do_normalize",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.do_resize",description:`<strong>do_resize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to downscale the image&#x2019;s (height, width) dimensions to multiples of <code>vae_scale_factor</code>.`,name:"do_resize"},{anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.vae_scale_factor",description:`<strong>vae_scale_factor</strong> (<code>int</code>, <em>optional</em>, defaults to <code>8</code>) &#x2014;
VAE scale factor. If <code>do_resize</code> is <code>True</code>, the image is automatically resized to multiples of this factor.`,name:"vae_scale_factor"},{anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.resample",description:`<strong>resample</strong> (<code>str</code>, <em>optional</em>, defaults to <code>lanczos</code>) &#x2014;
Resampling filter to use when resizing the image.`,name:"resample"},{anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.do_normalize",description:`<strong>do_normalize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to normalize the image to [-1,1].`,name:"do_normalize"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L255"}}),me=new I({props:{name:"numpy_to_depth",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.numpy_to_depth",parameters:[{name:"images",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L309"}}),ce=new I({props:{name:"numpy_to_pil",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.numpy_to_pil",parameters:[{name:"images",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L282"}}),le=new I({props:{name:"rgblike_to_depthmap",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.rgblike_to_depthmap",parameters:[{name:"image",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L298"}}),{c(){w=a("meta"),Oe=n(),L=a("h1"),T=a("a"),ge=a("span"),f(Y.$$.fragment),dr=n(),fe=a("span"),pr=m("VAE Image Processor"),Be=n(),E=a("p"),gr=m("The "),ue=a("code"),fr=m("VaeImageProcessor"),ur=m(" provides a unified API for "),de=a("a"),hr=m("StableDiffusionPipeline"),_r=m("\u2019s to prepare image inputs for VAE encoding and post-processing outputs once they\u2019re decoded. This includes transformations such as resizing, normalization, and conversion between PIL Image, PyTorch, and NumPy arrays."),Ge=n(),P=a("p"),vr=m("All pipelines with "),he=a("code"),br=m("VaeImageProcessor"),$r=m(" accepts PIL Image, PyTorch tensor, or NumPy arrays as image inputs and returns outputs based on the "),_e=a("code"),yr=m("output_type"),Pr=m(" argument by the user. You can pass encoded image latents directly to the pipeline and return latents from the pipeline as a specific output with the "),ve=a("code"),Ir=m("output_type"),Er=m(" argument (for example "),be=a("code"),Vr=m('output_type="pt"'),Dr=m("). This allows you to take the generated latents from one pipeline and pass it to another pipeline as input without leaving the latent space. It also makes it much easier to use multiple pipelines together by passing PyTorch tensors directly between different pipelines."),We=n(),z=a("h2"),N=a("a"),$e=a("span"),f(J.$$.fragment),wr=n(),ye=a("span"),Lr=m("VaeImageProcessor"),Fe=n(),d=a("div"),f(j.$$.fragment),zr=n(),Pe=a("p"),xr=m("Image processor for VAE."),Tr=n(),A=a("div"),f(K.$$.fragment),Nr=n(),Ie=a("p"),Ar=m("Converts an image to RGB format."),Cr=n(),C=a("div"),f(Q.$$.fragment),Mr=n(),Ee=a("p"),kr=m("Denormalize an image array to [0,1]."),Rr=n(),M=a("div"),f(X.$$.fragment),Sr=n(),Ve=a("p"),Or=m("Normalize an image array to [-1,1]."),Br=n(),k=a("div"),f(Z.$$.fragment),Gr=n(),De=a("p"),Wr=m("Convert a numpy image or a batch of images to a PIL image."),Fr=n(),R=a("div"),f(ee.$$.fragment),qr=n(),we=a("p"),Hr=m("Convert a NumPy image to a PyTorch tensor."),Ur=n(),S=a("div"),f(re.$$.fragment),Yr=n(),Le=a("p"),Jr=m("Convert a PIL image or a list of PIL images to NumPy arrays."),jr=n(),O=a("div"),f(oe.$$.fragment),Kr=n(),ze=a("p"),Qr=m("Preprocess the image input. Accepted formats are PIL images, NumPy arrays or PyTorch tensors."),Xr=n(),B=a("div"),f(ae.$$.fragment),Zr=n(),xe=a("p"),eo=m("Convert a PyTorch tensor to a NumPy image."),ro=n(),G=a("div"),f(te.$$.fragment),oo=n(),se=a("p"),ao=m("Resize a PIL image. Both height and width are downscaled to the next integer multiple of "),Te=a("code"),to=m("vae_scale_factor"),so=m("."),qe=n(),x=a("h2"),W=a("a"),Ne=a("span"),f(ne.$$.fragment),no=n(),Ae=a("span"),io=m("VaeImageProcessorLDM3D"),He=n(),F=a("p"),mo=m("The "),Ce=a("code"),co=m("VaeImageProcessorLDM3D"),lo=m(" accepts RGB and depth inputs and returns RGB and depth outputs."),Ue=n(),y=a("div"),f(ie.$$.fragment),po=n(),Me=a("p"),go=m("Image processor for VAE LDM3D."),fo=n(),q=a("div"),f(me.$$.fragment),uo=n(),ke=a("p"),ho=m("Convert a NumPy depth image or a batch of images to a PIL image."),_o=n(),H=a("div"),f(ce.$$.fragment),vo=n(),Re=a("p"),bo=m("Convert a NumPy image or a batch of images to a PIL image."),$o=n(),U=a("div"),f(le.$$.fragment),yo=n(),Se=a("p"),Po=m("Returns: depth map"),this.h()},l(r){const g=ta('[data-svelte="svelte-1phssyn"]',document.head);w=t(g,"META",{name:!0,content:!0}),g.forEach(o),Oe=i(r),L=t(r,"H1",{class:!0});var Je=s(L);T=t(Je,"A",{id:!0,class:!0,href:!0});var Vo=s(T);ge=t(Vo,"SPAN",{});var Do=s(ge);u(Y.$$.fragment,Do),Do.forEach(o),Vo.forEach(o),dr=i(Je),fe=t(Je,"SPAN",{});var wo=s(fe);pr=c(wo,"VAE Image Processor"),wo.forEach(o),Je.forEach(o),Be=i(r),E=t(r,"P",{});var pe=s(E);gr=c(pe,"The "),ue=t(pe,"CODE",{});var Lo=s(ue);fr=c(Lo,"VaeImageProcessor"),Lo.forEach(o),ur=c(pe," provides a unified API for "),de=t(pe,"A",{href:!0});var zo=s(de);hr=c(zo,"StableDiffusionPipeline"),zo.forEach(o),_r=c(pe,"\u2019s to prepare image inputs for VAE encoding and post-processing outputs once they\u2019re decoded. This includes transformations such as resizing, normalization, and conversion between PIL Image, PyTorch, and NumPy arrays."),pe.forEach(o),Ge=i(r),P=t(r,"P",{});var V=s(P);vr=c(V,"All pipelines with "),he=t(V,"CODE",{});var xo=s(he);br=c(xo,"VaeImageProcessor"),xo.forEach(o),$r=c(V," accepts PIL Image, PyTorch tensor, or NumPy arrays as image inputs and returns outputs based on the "),_e=t(V,"CODE",{});var To=s(_e);yr=c(To,"output_type"),To.forEach(o),Pr=c(V," argument by the user. You can pass encoded image latents directly to the pipeline and return latents from the pipeline as a specific output with the "),ve=t(V,"CODE",{});var No=s(ve);Ir=c(No,"output_type"),No.forEach(o),Er=c(V," argument (for example "),be=t(V,"CODE",{});var Ao=s(be);Vr=c(Ao,'output_type="pt"'),Ao.forEach(o),Dr=c(V,"). This allows you to take the generated latents from one pipeline and pass it to another pipeline as input without leaving the latent space. It also makes it much easier to use multiple pipelines together by passing PyTorch tensors directly between different pipelines."),V.forEach(o),We=i(r),z=t(r,"H2",{class:!0});var je=s(z);N=t(je,"A",{id:!0,class:!0,href:!0});var Co=s(N);$e=t(Co,"SPAN",{});var Mo=s($e);u(J.$$.fragment,Mo),Mo.forEach(o),Co.forEach(o),wr=i(je),ye=t(je,"SPAN",{});var ko=s(ye);Lr=c(ko,"VaeImageProcessor"),ko.forEach(o),je.forEach(o),Fe=i(r),d=t(r,"DIV",{class:!0});var p=s(d);u(j.$$.fragment,p),zr=i(p),Pe=t(p,"P",{});var Ro=s(Pe);xr=c(Ro,"Image processor for VAE."),Ro.forEach(o),Tr=i(p),A=t(p,"DIV",{class:!0});var Ke=s(A);u(K.$$.fragment,Ke),Nr=i(Ke),Ie=t(Ke,"P",{});var So=s(Ie);Ar=c(So,"Converts an image to RGB format."),So.forEach(o),Ke.forEach(o),Cr=i(p),C=t(p,"DIV",{class:!0});var Qe=s(C);u(Q.$$.fragment,Qe),Mr=i(Qe),Ee=t(Qe,"P",{});var Oo=s(Ee);kr=c(Oo,"Denormalize an image array to [0,1]."),Oo.forEach(o),Qe.forEach(o),Rr=i(p),M=t(p,"DIV",{class:!0});var Xe=s(M);u(X.$$.fragment,Xe),Sr=i(Xe),Ve=t(Xe,"P",{});var Bo=s(Ve);Or=c(Bo,"Normalize an image array to [-1,1]."),Bo.forEach(o),Xe.forEach(o),Br=i(p),k=t(p,"DIV",{class:!0});var Ze=s(k);u(Z.$$.fragment,Ze),Gr=i(Ze),De=t(Ze,"P",{});var Go=s(De);Wr=c(Go,"Convert a numpy image or a batch of images to a PIL image."),Go.forEach(o),Ze.forEach(o),Fr=i(p),R=t(p,"DIV",{class:!0});var er=s(R);u(ee.$$.fragment,er),qr=i(er),we=t(er,"P",{});var Wo=s(we);Hr=c(Wo,"Convert a NumPy image to a PyTorch tensor."),Wo.forEach(o),er.forEach(o),Ur=i(p),S=t(p,"DIV",{class:!0});var rr=s(S);u(re.$$.fragment,rr),Yr=i(rr),Le=t(rr,"P",{});var Fo=s(Le);Jr=c(Fo,"Convert a PIL image or a list of PIL images to NumPy arrays."),Fo.forEach(o),rr.forEach(o),jr=i(p),O=t(p,"DIV",{class:!0});var or=s(O);u(oe.$$.fragment,or),Kr=i(or),ze=t(or,"P",{});var qo=s(ze);Qr=c(qo,"Preprocess the image input. Accepted formats are PIL images, NumPy arrays or PyTorch tensors."),qo.forEach(o),or.forEach(o),Xr=i(p),B=t(p,"DIV",{class:!0});var ar=s(B);u(ae.$$.fragment,ar),Zr=i(ar),xe=t(ar,"P",{});var Ho=s(xe);eo=c(Ho,"Convert a PyTorch tensor to a NumPy image."),Ho.forEach(o),ar.forEach(o),ro=i(p),G=t(p,"DIV",{class:!0});var tr=s(G);u(te.$$.fragment,tr),oo=i(tr),se=t(tr,"P",{});var sr=s(se);ao=c(sr,"Resize a PIL image. Both height and width are downscaled to the next integer multiple of "),Te=t(sr,"CODE",{});var Uo=s(Te);to=c(Uo,"vae_scale_factor"),Uo.forEach(o),so=c(sr,"."),sr.forEach(o),tr.forEach(o),p.forEach(o),qe=i(r),x=t(r,"H2",{class:!0});var nr=s(x);W=t(nr,"A",{id:!0,class:!0,href:!0});var Yo=s(W);Ne=t(Yo,"SPAN",{});var Jo=s(Ne);u(ne.$$.fragment,Jo),Jo.forEach(o),Yo.forEach(o),no=i(nr),Ae=t(nr,"SPAN",{});var jo=s(Ae);io=c(jo,"VaeImageProcessorLDM3D"),jo.forEach(o),nr.forEach(o),He=i(r),F=t(r,"P",{});var ir=s(F);mo=c(ir,"The "),Ce=t(ir,"CODE",{});var Ko=s(Ce);co=c(Ko,"VaeImageProcessorLDM3D"),Ko.forEach(o),lo=c(ir," accepts RGB and depth inputs and returns RGB and depth outputs."),ir.forEach(o),Ue=i(r),y=t(r,"DIV",{class:!0});var D=s(y);u(ie.$$.fragment,D),po=i(D),Me=t(D,"P",{});var Qo=s(Me);go=c(Qo,"Image processor for VAE LDM3D."),Qo.forEach(o),fo=i(D),q=t(D,"DIV",{class:!0});var mr=s(q);u(me.$$.fragment,mr),uo=i(mr),ke=t(mr,"P",{});var Xo=s(ke);ho=c(Xo,"Convert a NumPy depth image or a batch of images to a PIL image."),Xo.forEach(o),mr.forEach(o),_o=i(D),H=t(D,"DIV",{class:!0});var cr=s(H);u(ce.$$.fragment,cr),vo=i(cr),Re=t(cr,"P",{});var Zo=s(Re);bo=c(Zo,"Convert a NumPy image or a batch of images to a PIL image."),Zo.forEach(o),cr.forEach(o),$o=i(D),U=t(D,"DIV",{class:!0});var lr=s(U);u(le.$$.fragment,lr),yo=i(lr),Se=t(lr,"P",{});var ea=s(Se);Po=c(ea,"Returns: depth map"),ea.forEach(o),lr.forEach(o),D.forEach(o),this.h()},h(){l(w,"name","hf:doc:metadata"),l(w,"content",JSON.stringify(ma)),l(T,"id","vae-image-processor"),l(T,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),l(T,"href","#vae-image-processor"),l(L,"class","relative group"),l(de,"href","/docs/diffusers/main/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline"),l(N,"id","diffusers.image_processor.VaeImageProcessor"),l(N,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),l(N,"href","#diffusers.image_processor.VaeImageProcessor"),l(z,"class","relative group"),l(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(d,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(W,"id","diffusers.image_processor.VaeImageProcessorLDM3D"),l(W,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),l(W,"href","#diffusers.image_processor.VaeImageProcessorLDM3D"),l(x,"class","relative group"),l(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),l(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(r,g){e(document.head,w),$(r,Oe,g),$(r,L,g),e(L,T),e(T,ge),h(Y,ge,null),e(L,dr),e(L,fe),e(fe,pr),$(r,Be,g),$(r,E,g),e(E,gr),e(E,ue),e(ue,fr),e(E,ur),e(E,de),e(de,hr),e(E,_r),$(r,Ge,g),$(r,P,g),e(P,vr),e(P,he),e(he,br),e(P,$r),e(P,_e),e(_e,yr),e(P,Pr),e(P,ve),e(ve,Ir),e(P,Er),e(P,be),e(be,Vr),e(P,Dr),$(r,We,g),$(r,z,g),e(z,N),e(N,$e),h(J,$e,null),e(z,wr),e(z,ye),e(ye,Lr),$(r,Fe,g),$(r,d,g),h(j,d,null),e(d,zr),e(d,Pe),e(Pe,xr),e(d,Tr),e(d,A),h(K,A,null),e(A,Nr),e(A,Ie),e(Ie,Ar),e(d,Cr),e(d,C),h(Q,C,null),e(C,Mr),e(C,Ee),e(Ee,kr),e(d,Rr),e(d,M),h(X,M,null),e(M,Sr),e(M,Ve),e(Ve,Or),e(d,Br),e(d,k),h(Z,k,null),e(k,Gr),e(k,De),e(De,Wr),e(d,Fr),e(d,R),h(ee,R,null),e(R,qr),e(R,we),e(we,Hr),e(d,Ur),e(d,S),h(re,S,null),e(S,Yr),e(S,Le),e(Le,Jr),e(d,jr),e(d,O),h(oe,O,null),e(O,Kr),e(O,ze),e(ze,Qr),e(d,Xr),e(d,B),h(ae,B,null),e(B,Zr),e(B,xe),e(xe,eo),e(d,ro),e(d,G),h(te,G,null),e(G,oo),e(G,se),e(se,ao),e(se,Te),e(Te,to),e(se,so),$(r,qe,g),$(r,x,g),e(x,W),e(W,Ne),h(ne,Ne,null),e(x,no),e(x,Ae),e(Ae,io),$(r,He,g),$(r,F,g),e(F,mo),e(F,Ce),e(Ce,co),e(F,lo),$(r,Ue,g),$(r,y,g),h(ie,y,null),e(y,po),e(y,Me),e(Me,go),e(y,fo),e(y,q),h(me,q,null),e(q,uo),e(q,ke),e(ke,ho),e(y,_o),e(y,H),h(ce,H,null),e(H,vo),e(H,Re),e(Re,bo),e(y,$o),e(y,U),h(le,U,null),e(U,yo),e(U,Se),e(Se,Po),Ye=!0},p:sa,i(r){Ye||(_(Y.$$.fragment,r),_(J.$$.fragment,r),_(j.$$.fragment,r),_(K.$$.fragment,r),_(Q.$$.fragment,r),_(X.$$.fragment,r),_(Z.$$.fragment,r),_(ee.$$.fragment,r),_(re.$$.fragment,r),_(oe.$$.fragment,r),_(ae.$$.fragment,r),_(te.$$.fragment,r),_(ne.$$.fragment,r),_(ie.$$.fragment,r),_(me.$$.fragment,r),_(ce.$$.fragment,r),_(le.$$.fragment,r),Ye=!0)},o(r){v(Y.$$.fragment,r),v(J.$$.fragment,r),v(j.$$.fragment,r),v(K.$$.fragment,r),v(Q.$$.fragment,r),v(X.$$.fragment,r),v(Z.$$.fragment,r),v(ee.$$.fragment,r),v(re.$$.fragment,r),v(oe.$$.fragment,r),v(ae.$$.fragment,r),v(te.$$.fragment,r),v(ne.$$.fragment,r),v(ie.$$.fragment,r),v(me.$$.fragment,r),v(ce.$$.fragment,r),v(le.$$.fragment,r),Ye=!1},d(r){o(w),r&&o(Oe),r&&o(L),b(Y),r&&o(Be),r&&o(E),r&&o(Ge),r&&o(P),r&&o(We),r&&o(z),b(J),r&&o(Fe),r&&o(d),b(j),b(K),b(Q),b(X),b(Z),b(ee),b(re),b(oe),b(ae),b(te),r&&o(qe),r&&o(x),b(ne),r&&o(He),r&&o(F),r&&o(Ue),r&&o(y),b(ie),b(me),b(ce),b(le)}}}const ma={local:"vae-image-processor",sections:[{local:"diffusers.image_processor.VaeImageProcessor",title:"VaeImageProcessor"},{local:"diffusers.image_processor.VaeImageProcessorLDM3D",title:"VaeImageProcessorLDM3D"}],title:"VAE Image Processor"};function ca(Eo){return na(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ga extends ra{constructor(w){super();oa(this,w,ca,ia,aa,{})}}export{ga as default,ma as metadata};
