import{s as lr,n as fr,o as ur}from"../chunks/scheduler.182ea377.js";import{S as hr,i as _r,g as a,s as r,r as c,A as vr,h as s,f as n,c as o,j as _,u as g,x as p,k as v,y as t,a as y,v as l,d as f,t as u,w as h}from"../chunks/index.abf12888.js";import{D as b}from"../chunks/Docstring.93f6f462.js";import{H as qt}from"../chunks/Heading.16916d63.js";function br(Bt){let P,Me,Te,Ne,W,ke,O,St='The <code>VaeImageProcessor</code> provides a unified API for <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a>s to prepare image inputs for VAE encoding and post-processing outputs once they’re decoded. This includes transformations such as resizing, normalization, and conversion between PIL Image, PyTorch, and NumPy arrays.',He,q,jt="All pipelines with <code>VaeImageProcessor</code> accept PIL Image, PyTorch tensor, or NumPy arrays as image inputs and return outputs based on the <code>output_type</code> 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 <code>output_type</code> argument (for example <code>output_type=&quot;latent&quot;</code>). 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.",Ae,B,Fe,i,S,it,pe,Gt="Image processor for VAE.",dt,x,j,mt,le,Yt="Create a mask.",ct,V,G,gt,fe,Jt="Converts a PIL image to grayscale format.",pt,L,Y,lt,ue,Kt="Converts a PIL image to RGB format.",ft,C,J,ut,he,Qt="Denormalize an image array to [0,1].",ht,w,K,_t,_e,Xt=`This function return the height and width that are downscaled to the next integer multiple of
<code>vae_scale_factor</code>.`,vt,z,Q,bt,ve,Zt="Normalize an image array to [-1,1].",$t,D,X,yt,be,er="Convert a numpy image or a batch of images to a PIL image.",It,T,Z,Pt,$e,tr="Convert a NumPy image to a PyTorch tensor.",xt,E,ee,Vt,ye,rr="Convert a PIL image or a list of PIL images to NumPy arrays.",Lt,M,te,Ct,Ie,or="Postprocess the image output from tensor to <code>output_type</code>.",wt,N,re,zt,Pe,ar="Preprocess the image input. Accepted formats are PIL images, NumPy arrays or PyTorch tensors.",Dt,k,oe,Tt,xe,sr="Convert a PyTorch tensor to a NumPy image.",Et,H,ae,Mt,Ve,nr="Resize image.",Re,se,Ue,ne,ir="The <code>VaeImageProcessorLDM3D</code> accepts RGB and depth inputs and returns RGB and depth outputs.",We,$,ie,Nt,Le,dr="Image processor for VAE LDM3D.",kt,A,de,Ht,Ce,mr="Convert a PIL image or a list of PIL images to NumPy arrays.",At,F,me,Ft,we,cr="Convert a NumPy depth image or a batch of images to a PIL image.",Rt,R,ce,Ut,ze,gr="Convert a NumPy image or a batch of images to a PIL image.",Wt,U,ge,Ot,De,pr="Returns: depth map",Oe,Ee,qe;return W=new qt({props:{title:"VAE Image Processor",local:"vae-image-processor",headingTag:"h1"}}),B=new qt({props:{title:"VaeImageProcessor",local:"diffusers.image_processor.VaeImageProcessor",headingTag:"h2"}}),S=new b({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_binarize",val:": bool = False"},{name:"do_convert_rgb",val:": bool = False"},{name:"do_convert_grayscale",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_binarize",description:`<strong>do_binarize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to binarize the image to 0/1.`,name:"do_binarize"},{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"},{anchor:"diffusers.image_processor.VaeImageProcessor.do_convert_grayscale",description:`<strong>do_convert_grayscale</strong> (<code>bool</code>, <em>optional</em>, defaults to be <code>False</code>) &#x2014;
Whether to convert the images to grayscale format.`,name:"do_convert_grayscale"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L46"}}),j=new b({props:{name:"binarize",anchor:"diffusers.image_processor.VaeImageProcessor.binarize",parameters:[{name:"image",val:": Image"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.binarize.image",description:`<strong>image</strong> (<code>PIL.Image.Image</code>) &#x2014;
The image input, should be a PIL image.`,name:"image"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L249",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The binarized image. Values less than 0.5 are set to 0, values greater than 0.5 are set to 1.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>PIL.Image.Image</code></p>
`}}),G=new b({props:{name:"convert_to_grayscale",anchor:"diffusers.image_processor.VaeImageProcessor.convert_to_grayscale",parameters:[{name:"image",val:": Image"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L160"}}),Y=new b({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#L151"}}),J=new b({props:{name:"denormalize",anchor:"diffusers.image_processor.VaeImageProcessor.denormalize",parameters:[{name:"images",val:": typing.Union[numpy.ndarray, torch.Tensor]"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L144"}}),K=new b({props:{name:"get_default_height_width",anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width",parameters:[{name:"image",val:": typing.Union[PIL.Image.Image, numpy.ndarray, torch.Tensor]"},{name:"height",val:": typing.Optional[int] = None"},{name:"width",val:": typing.Optional[int] = None"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width.image(PIL.Image.Image,",description:`<strong>image(<code>PIL.Image.Image</code>,</strong> <code>np.ndarray</code> or <code>torch.Tensor</code>) &#x2014;
The image input, can be a PIL image, numpy array or pytorch tensor. if it is a numpy array, should have
shape <code>[batch, height, width]</code> or <code>[batch, height, width, channel]</code> if it is a pytorch tensor, should
have shape <code>[batch, channel, height, width]</code>.`,name:"image(PIL.Image.Image,"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
The height in preprocessed image. If <code>None</code>, will use the height of <code>image</code> input.`,name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width.width",description:"<strong>width</strong> (<code>int</code>, <em>optional</em><code>, defaults to </code>None<code>) -- The width in preprocessed. If </code>None<code>, will use the width of the </code>image` input.",name:"width"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L169"}}),Q=new b({props:{name:"normalize",anchor:"diffusers.image_processor.VaeImageProcessor.normalize",parameters:[{name:"images",val:": typing.Union[numpy.ndarray, torch.Tensor]"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L137"}}),X=new b({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#L90"}}),Z=new b({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#L118"}}),ee=new b({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#L106"}}),te=new b({props:{name:"postprocess",anchor:"diffusers.image_processor.VaeImageProcessor.postprocess",parameters:[{name:"image",val:": FloatTensor"},{name:"output_type",val:": str = 'pil'"},{name:"do_denormalize",val:": typing.Optional[typing.List[bool]] = None"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.postprocess.image",description:`<strong>image</strong> (<code>torch.FloatTensor</code>) &#x2014;
The image input, should be a pytorch tensor with shape <code>B x C x H x W</code>.`,name:"image"},{anchor:"diffusers.image_processor.VaeImageProcessor.postprocess.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>pil</code>) &#x2014;
The output type of the image, can be one of <code>pil</code>, <code>np</code>, <code>pt</code>, <code>latent</code>.`,name:"output_type"},{anchor:"diffusers.image_processor.VaeImageProcessor.postprocess.do_denormalize",description:`<strong>do_denormalize</strong> (<code>List[bool]</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
Whether to denormalize the image to [0,1]. If <code>None</code>, will use the value of <code>do_normalize</code> in the
<code>VaeImageProcessor</code> config.`,name:"do_denormalize"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L354",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The postprocessed image.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>PIL.Image.Image</code>, <code>np.ndarray</code> or <code>torch.FloatTensor</code></p>
`}}),re=new b({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#L265"}}),oe=new b({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#L129"}}),ae=new b({props:{name:"resize",anchor:"diffusers.image_processor.VaeImageProcessor.resize",parameters:[{name:"image",val:": typing.Union[PIL.Image.Image, numpy.ndarray, torch.Tensor]"},{name:"height",val:": typing.Optional[int] = None"},{name:"width",val:": typing.Optional[int] = None"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.resize.image",description:`<strong>image</strong> (<code>PIL.Image.Image</code>, <code>np.ndarray</code> or <code>torch.Tensor</code>) &#x2014;
The image input, can be a PIL image, numpy array or pytorch tensor.`,name:"image"},{anchor:"diffusers.image_processor.VaeImageProcessor.resize.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
The height to resize to.`,name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.resize.width",description:"<strong>width</strong> (<code>int</code>, <em>optional</em><code>, defaults to </code>None`) &#x2014;\nThe width to resize to.",name:"width"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L212",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The resized image.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>PIL.Image.Image</code>, <code>np.ndarray</code> or <code>torch.Tensor</code></p>
`}}),se=new qt({props:{title:"VaeImageProcessorLDM3D",local:"diffusers.image_processor.VaeImageProcessorLDM3D",headingTag:"h2"}}),ie=new b({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#L410"}}),de=new b({props:{name:"depth_pil_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.depth_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#L453"}}),me=new b({props:{name:"numpy_to_depth",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.numpy_to_depth",parameters:[{name:"images",val:": ndarray"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L476"}}),ce=new b({props:{name:"numpy_to_pil",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.numpy_to_pil",parameters:[{name:"images",val:": ndarray"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L437"}}),ge=new b({props:{name:"rgblike_to_depthmap",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.rgblike_to_depthmap",parameters:[{name:"image",val:": typing.Union[numpy.ndarray, torch.Tensor]"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L465"}}),{c(){P=a("meta"),Me=r(),Te=a("p"),Ne=r(),c(W.$$.fragment),ke=r(),O=a("p"),O.innerHTML=St,He=r(),q=a("p"),q.innerHTML=jt,Ae=r(),c(B.$$.fragment),Fe=r(),i=a("div"),c(S.$$.fragment),it=r(),pe=a("p"),pe.textContent=Gt,dt=r(),x=a("div"),c(j.$$.fragment),mt=r(),le=a("p"),le.textContent=Yt,ct=r(),V=a("div"),c(G.$$.fragment),gt=r(),fe=a("p"),fe.textContent=Jt,pt=r(),L=a("div"),c(Y.$$.fragment),lt=r(),ue=a("p"),ue.textContent=Kt,ft=r(),C=a("div"),c(J.$$.fragment),ut=r(),he=a("p"),he.textContent=Qt,ht=r(),w=a("div"),c(K.$$.fragment),_t=r(),_e=a("p"),_e.innerHTML=Xt,vt=r(),z=a("div"),c(Q.$$.fragment),bt=r(),ve=a("p"),ve.textContent=Zt,$t=r(),D=a("div"),c(X.$$.fragment),yt=r(),be=a("p"),be.textContent=er,It=r(),T=a("div"),c(Z.$$.fragment),Pt=r(),$e=a("p"),$e.textContent=tr,xt=r(),E=a("div"),c(ee.$$.fragment),Vt=r(),ye=a("p"),ye.textContent=rr,Lt=r(),M=a("div"),c(te.$$.fragment),Ct=r(),Ie=a("p"),Ie.innerHTML=or,wt=r(),N=a("div"),c(re.$$.fragment),zt=r(),Pe=a("p"),Pe.textContent=ar,Dt=r(),k=a("div"),c(oe.$$.fragment),Tt=r(),xe=a("p"),xe.textContent=sr,Et=r(),H=a("div"),c(ae.$$.fragment),Mt=r(),Ve=a("p"),Ve.textContent=nr,Re=r(),c(se.$$.fragment),Ue=r(),ne=a("p"),ne.innerHTML=ir,We=r(),$=a("div"),c(ie.$$.fragment),Nt=r(),Le=a("p"),Le.textContent=dr,kt=r(),A=a("div"),c(de.$$.fragment),Ht=r(),Ce=a("p"),Ce.textContent=mr,At=r(),F=a("div"),c(me.$$.fragment),Ft=r(),we=a("p"),we.textContent=cr,Rt=r(),R=a("div"),c(ce.$$.fragment),Ut=r(),ze=a("p"),ze.textContent=gr,Wt=r(),U=a("div"),c(ge.$$.fragment),Ot=r(),De=a("p"),De.textContent=pr,Oe=r(),Ee=a("p"),this.h()},l(e){const m=vr("svelte-u9bgzb",document.head);P=s(m,"META",{name:!0,content:!0}),m.forEach(n),Me=o(e),Te=s(e,"P",{}),_(Te).forEach(n),Ne=o(e),g(W.$$.fragment,e),ke=o(e),O=s(e,"P",{"data-svelte-h":!0}),p(O)!=="svelte-lut875"&&(O.innerHTML=St),He=o(e),q=s(e,"P",{"data-svelte-h":!0}),p(q)!=="svelte-15xkwv1"&&(q.innerHTML=jt),Ae=o(e),g(B.$$.fragment,e),Fe=o(e),i=s(e,"DIV",{class:!0});var d=_(i);g(S.$$.fragment,d),it=o(d),pe=s(d,"P",{"data-svelte-h":!0}),p(pe)!=="svelte-20k7u4"&&(pe.textContent=Gt),dt=o(d),x=s(d,"DIV",{class:!0});var Be=_(x);g(j.$$.fragment,Be),mt=o(Be),le=s(Be,"P",{"data-svelte-h":!0}),p(le)!=="svelte-1jdqg5n"&&(le.textContent=Yt),Be.forEach(n),ct=o(d),V=s(d,"DIV",{class:!0});var Se=_(V);g(G.$$.fragment,Se),gt=o(Se),fe=s(Se,"P",{"data-svelte-h":!0}),p(fe)!=="svelte-vsbjec"&&(fe.textContent=Jt),Se.forEach(n),pt=o(d),L=s(d,"DIV",{class:!0});var je=_(L);g(Y.$$.fragment,je),lt=o(je),ue=s(je,"P",{"data-svelte-h":!0}),p(ue)!=="svelte-ckvlrc"&&(ue.textContent=Kt),je.forEach(n),ft=o(d),C=s(d,"DIV",{class:!0});var Ge=_(C);g(J.$$.fragment,Ge),ut=o(Ge),he=s(Ge,"P",{"data-svelte-h":!0}),p(he)!=="svelte-ipi2rr"&&(he.textContent=Qt),Ge.forEach(n),ht=o(d),w=s(d,"DIV",{class:!0});var Ye=_(w);g(K.$$.fragment,Ye),_t=o(Ye),_e=s(Ye,"P",{"data-svelte-h":!0}),p(_e)!=="svelte-kfv3nk"&&(_e.innerHTML=Xt),Ye.forEach(n),vt=o(d),z=s(d,"DIV",{class:!0});var Je=_(z);g(Q.$$.fragment,Je),bt=o(Je),ve=s(Je,"P",{"data-svelte-h":!0}),p(ve)!=="svelte-1l17iqw"&&(ve.textContent=Zt),Je.forEach(n),$t=o(d),D=s(d,"DIV",{class:!0});var Ke=_(D);g(X.$$.fragment,Ke),yt=o(Ke),be=s(Ke,"P",{"data-svelte-h":!0}),p(be)!=="svelte-49eriv"&&(be.textContent=er),Ke.forEach(n),It=o(d),T=s(d,"DIV",{class:!0});var Qe=_(T);g(Z.$$.fragment,Qe),Pt=o(Qe),$e=s(Qe,"P",{"data-svelte-h":!0}),p($e)!=="svelte-uauale"&&($e.textContent=tr),Qe.forEach(n),xt=o(d),E=s(d,"DIV",{class:!0});var Xe=_(E);g(ee.$$.fragment,Xe),Vt=o(Xe),ye=s(Xe,"P",{"data-svelte-h":!0}),p(ye)!=="svelte-x3z8ka"&&(ye.textContent=rr),Xe.forEach(n),Lt=o(d),M=s(d,"DIV",{class:!0});var Ze=_(M);g(te.$$.fragment,Ze),Ct=o(Ze),Ie=s(Ze,"P",{"data-svelte-h":!0}),p(Ie)!=="svelte-m705s9"&&(Ie.innerHTML=or),Ze.forEach(n),wt=o(d),N=s(d,"DIV",{class:!0});var et=_(N);g(re.$$.fragment,et),zt=o(et),Pe=s(et,"P",{"data-svelte-h":!0}),p(Pe)!=="svelte-10dsfen"&&(Pe.textContent=ar),et.forEach(n),Dt=o(d),k=s(d,"DIV",{class:!0});var tt=_(k);g(oe.$$.fragment,tt),Tt=o(tt),xe=s(tt,"P",{"data-svelte-h":!0}),p(xe)!=="svelte-1acncdu"&&(xe.textContent=sr),tt.forEach(n),Et=o(d),H=s(d,"DIV",{class:!0});var rt=_(H);g(ae.$$.fragment,rt),Mt=o(rt),Ve=s(rt,"P",{"data-svelte-h":!0}),p(Ve)!=="svelte-si84j5"&&(Ve.textContent=nr),rt.forEach(n),d.forEach(n),Re=o(e),g(se.$$.fragment,e),Ue=o(e),ne=s(e,"P",{"data-svelte-h":!0}),p(ne)!=="svelte-12yfhhz"&&(ne.innerHTML=ir),We=o(e),$=s(e,"DIV",{class:!0});var I=_($);g(ie.$$.fragment,I),Nt=o(I),Le=s(I,"P",{"data-svelte-h":!0}),p(Le)!=="svelte-bz065s"&&(Le.textContent=dr),kt=o(I),A=s(I,"DIV",{class:!0});var ot=_(A);g(de.$$.fragment,ot),Ht=o(ot),Ce=s(ot,"P",{"data-svelte-h":!0}),p(Ce)!=="svelte-x3z8ka"&&(Ce.textContent=mr),ot.forEach(n),At=o(I),F=s(I,"DIV",{class:!0});var at=_(F);g(me.$$.fragment,at),Ft=o(at),we=s(at,"P",{"data-svelte-h":!0}),p(we)!=="svelte-1k4lt1u"&&(we.textContent=cr),at.forEach(n),Rt=o(I),R=s(I,"DIV",{class:!0});var st=_(R);g(ce.$$.fragment,st),Ut=o(st),ze=s(st,"P",{"data-svelte-h":!0}),p(ze)!=="svelte-1gut907"&&(ze.textContent=gr),st.forEach(n),Wt=o(I),U=s(I,"DIV",{class:!0});var nt=_(U);g(ge.$$.fragment,nt),Ot=o(nt),De=s(nt,"P",{"data-svelte-h":!0}),p(De)!=="svelte-ectrn8"&&(De.textContent=pr),nt.forEach(n),I.forEach(n),Oe=o(e),Ee=s(e,"P",{}),_(Ee).forEach(n),this.h()},h(){v(P,"name","hf:doc:metadata"),v(P,"content",$r),v(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(i,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,m){t(document.head,P),y(e,Me,m),y(e,Te,m),y(e,Ne,m),l(W,e,m),y(e,ke,m),y(e,O,m),y(e,He,m),y(e,q,m),y(e,Ae,m),l(B,e,m),y(e,Fe,m),y(e,i,m),l(S,i,null),t(i,it),t(i,pe),t(i,dt),t(i,x),l(j,x,null),t(x,mt),t(x,le),t(i,ct),t(i,V),l(G,V,null),t(V,gt),t(V,fe),t(i,pt),t(i,L),l(Y,L,null),t(L,lt),t(L,ue),t(i,ft),t(i,C),l(J,C,null),t(C,ut),t(C,he),t(i,ht),t(i,w),l(K,w,null),t(w,_t),t(w,_e),t(i,vt),t(i,z),l(Q,z,null),t(z,bt),t(z,ve),t(i,$t),t(i,D),l(X,D,null),t(D,yt),t(D,be),t(i,It),t(i,T),l(Z,T,null),t(T,Pt),t(T,$e),t(i,xt),t(i,E),l(ee,E,null),t(E,Vt),t(E,ye),t(i,Lt),t(i,M),l(te,M,null),t(M,Ct),t(M,Ie),t(i,wt),t(i,N),l(re,N,null),t(N,zt),t(N,Pe),t(i,Dt),t(i,k),l(oe,k,null),t(k,Tt),t(k,xe),t(i,Et),t(i,H),l(ae,H,null),t(H,Mt),t(H,Ve),y(e,Re,m),l(se,e,m),y(e,Ue,m),y(e,ne,m),y(e,We,m),y(e,$,m),l(ie,$,null),t($,Nt),t($,Le),t($,kt),t($,A),l(de,A,null),t(A,Ht),t(A,Ce),t($,At),t($,F),l(me,F,null),t(F,Ft),t(F,we),t($,Rt),t($,R),l(ce,R,null),t(R,Ut),t(R,ze),t($,Wt),t($,U),l(ge,U,null),t(U,Ot),t(U,De),y(e,Oe,m),y(e,Ee,m),qe=!0},p:fr,i(e){qe||(f(W.$$.fragment,e),f(B.$$.fragment,e),f(S.$$.fragment,e),f(j.$$.fragment,e),f(G.$$.fragment,e),f(Y.$$.fragment,e),f(J.$$.fragment,e),f(K.$$.fragment,e),f(Q.$$.fragment,e),f(X.$$.fragment,e),f(Z.$$.fragment,e),f(ee.$$.fragment,e),f(te.$$.fragment,e),f(re.$$.fragment,e),f(oe.$$.fragment,e),f(ae.$$.fragment,e),f(se.$$.fragment,e),f(ie.$$.fragment,e),f(de.$$.fragment,e),f(me.$$.fragment,e),f(ce.$$.fragment,e),f(ge.$$.fragment,e),qe=!0)},o(e){u(W.$$.fragment,e),u(B.$$.fragment,e),u(S.$$.fragment,e),u(j.$$.fragment,e),u(G.$$.fragment,e),u(Y.$$.fragment,e),u(J.$$.fragment,e),u(K.$$.fragment,e),u(Q.$$.fragment,e),u(X.$$.fragment,e),u(Z.$$.fragment,e),u(ee.$$.fragment,e),u(te.$$.fragment,e),u(re.$$.fragment,e),u(oe.$$.fragment,e),u(ae.$$.fragment,e),u(se.$$.fragment,e),u(ie.$$.fragment,e),u(de.$$.fragment,e),u(me.$$.fragment,e),u(ce.$$.fragment,e),u(ge.$$.fragment,e),qe=!1},d(e){e&&(n(Me),n(Te),n(Ne),n(ke),n(O),n(He),n(q),n(Ae),n(Fe),n(i),n(Re),n(Ue),n(ne),n(We),n($),n(Oe),n(Ee)),n(P),h(W,e),h(B,e),h(S),h(j),h(G),h(Y),h(J),h(K),h(Q),h(X),h(Z),h(ee),h(te),h(re),h(oe),h(ae),h(se,e),h(ie),h(de),h(me),h(ce),h(ge)}}}const $r='{"title":"VAE Image Processor","local":"vae-image-processor","sections":[{"title":"VaeImageProcessor","local":"diffusers.image_processor.VaeImageProcessor","sections":[],"depth":2},{"title":"VaeImageProcessorLDM3D","local":"diffusers.image_processor.VaeImageProcessorLDM3D","sections":[],"depth":2}],"depth":1}';function yr(Bt){return ur(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Lr extends hr{constructor(P){super(),_r(this,P,yr,br,lr,{})}}export{Lr as component};
