import{s as lr,n as fr,o as ur}from"../chunks/scheduler.182ea377.js";import{S as hr,i as _r,g as s,s as r,r as m,A as vr,h as a,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/v0.24.0/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,ct,le,Yt="Create a mask.",mt,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,sr="Preprocess the image input. Accepted formats are PIL images, NumPy arrays or PyTorch tensors.",Dt,k,oe,Tt,xe,ar="Convert a PyTorch tensor to a NumPy image.",Et,H,se,Mt,Ve,nr="Resize image.",Re,ae,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,cr="Convert a PIL image or a list of PIL images to NumPy arrays.",At,F,ce,Ft,we,mr="Convert a NumPy depth image or a batch of images to a PIL image.",Rt,R,me,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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/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/v0.24.0/src/diffusers/image_processor.py#L129"}}),se=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/v0.24.0/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>
`}}),ae=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/v0.24.0/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/v0.24.0/src/diffusers/image_processor.py#L453"}}),ce=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/v0.24.0/src/diffusers/image_processor.py#L476"}}),me=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/v0.24.0/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/v0.24.0/src/diffusers/image_processor.py#L465"}}),{c(){P=s("meta"),Me=r(),Te=s("p"),Ne=r(),m(W.$$.fragment),ke=r(),O=s("p"),O.innerHTML=St,He=r(),q=s("p"),q.innerHTML=jt,Ae=r(),m(B.$$.fragment),Fe=r(),i=s("div"),m(S.$$.fragment),it=r(),pe=s("p"),pe.textContent=Gt,dt=r(),x=s("div"),m(j.$$.fragment),ct=r(),le=s("p"),le.textContent=Yt,mt=r(),V=s("div"),m(G.$$.fragment),gt=r(),fe=s("p"),fe.textContent=Jt,pt=r(),L=s("div"),m(Y.$$.fragment),lt=r(),ue=s("p"),ue.textContent=Kt,ft=r(),C=s("div"),m(J.$$.fragment),ut=r(),he=s("p"),he.textContent=Qt,ht=r(),w=s("div"),m(K.$$.fragment),_t=r(),_e=s("p"),_e.innerHTML=Xt,vt=r(),z=s("div"),m(Q.$$.fragment),bt=r(),ve=s("p"),ve.textContent=Zt,$t=r(),D=s("div"),m(X.$$.fragment),yt=r(),be=s("p"),be.textContent=er,It=r(),T=s("div"),m(Z.$$.fragment),Pt=r(),$e=s("p"),$e.textContent=tr,xt=r(),E=s("div"),m(ee.$$.fragment),Vt=r(),ye=s("p"),ye.textContent=rr,Lt=r(),M=s("div"),m(te.$$.fragment),Ct=r(),Ie=s("p"),Ie.innerHTML=or,wt=r(),N=s("div"),m(re.$$.fragment),zt=r(),Pe=s("p"),Pe.textContent=sr,Dt=r(),k=s("div"),m(oe.$$.fragment),Tt=r(),xe=s("p"),xe.textContent=ar,Et=r(),H=s("div"),m(se.$$.fragment),Mt=r(),Ve=s("p"),Ve.textContent=nr,Re=r(),m(ae.$$.fragment),Ue=r(),ne=s("p"),ne.innerHTML=ir,We=r(),$=s("div"),m(ie.$$.fragment),Nt=r(),Le=s("p"),Le.textContent=dr,kt=r(),A=s("div"),m(de.$$.fragment),Ht=r(),Ce=s("p"),Ce.textContent=cr,At=r(),F=s("div"),m(ce.$$.fragment),Ft=r(),we=s("p"),we.textContent=mr,Rt=r(),R=s("div"),m(me.$$.fragment),Ut=r(),ze=s("p"),ze.textContent=gr,Wt=r(),U=s("div"),m(ge.$$.fragment),Ot=r(),De=s("p"),De.textContent=pr,Oe=r(),Ee=s("p"),this.h()},l(e){const c=vr("svelte-u9bgzb",document.head);P=a(c,"META",{name:!0,content:!0}),c.forEach(n),Me=o(e),Te=a(e,"P",{}),_(Te).forEach(n),Ne=o(e),g(W.$$.fragment,e),ke=o(e),O=a(e,"P",{"data-svelte-h":!0}),p(O)!=="svelte-1n9ffg6"&&(O.innerHTML=St),He=o(e),q=a(e,"P",{"data-svelte-h":!0}),p(q)!=="svelte-15xkwv1"&&(q.innerHTML=jt),Ae=o(e),g(B.$$.fragment,e),Fe=o(e),i=a(e,"DIV",{class:!0});var d=_(i);g(S.$$.fragment,d),it=o(d),pe=a(d,"P",{"data-svelte-h":!0}),p(pe)!=="svelte-20k7u4"&&(pe.textContent=Gt),dt=o(d),x=a(d,"DIV",{class:!0});var Be=_(x);g(j.$$.fragment,Be),ct=o(Be),le=a(Be,"P",{"data-svelte-h":!0}),p(le)!=="svelte-1jdqg5n"&&(le.textContent=Yt),Be.forEach(n),mt=o(d),V=a(d,"DIV",{class:!0});var Se=_(V);g(G.$$.fragment,Se),gt=o(Se),fe=a(Se,"P",{"data-svelte-h":!0}),p(fe)!=="svelte-vsbjec"&&(fe.textContent=Jt),Se.forEach(n),pt=o(d),L=a(d,"DIV",{class:!0});var je=_(L);g(Y.$$.fragment,je),lt=o(je),ue=a(je,"P",{"data-svelte-h":!0}),p(ue)!=="svelte-ckvlrc"&&(ue.textContent=Kt),je.forEach(n),ft=o(d),C=a(d,"DIV",{class:!0});var Ge=_(C);g(J.$$.fragment,Ge),ut=o(Ge),he=a(Ge,"P",{"data-svelte-h":!0}),p(he)!=="svelte-ipi2rr"&&(he.textContent=Qt),Ge.forEach(n),ht=o(d),w=a(d,"DIV",{class:!0});var Ye=_(w);g(K.$$.fragment,Ye),_t=o(Ye),_e=a(Ye,"P",{"data-svelte-h":!0}),p(_e)!=="svelte-kfv3nk"&&(_e.innerHTML=Xt),Ye.forEach(n),vt=o(d),z=a(d,"DIV",{class:!0});var Je=_(z);g(Q.$$.fragment,Je),bt=o(Je),ve=a(Je,"P",{"data-svelte-h":!0}),p(ve)!=="svelte-1l17iqw"&&(ve.textContent=Zt),Je.forEach(n),$t=o(d),D=a(d,"DIV",{class:!0});var Ke=_(D);g(X.$$.fragment,Ke),yt=o(Ke),be=a(Ke,"P",{"data-svelte-h":!0}),p(be)!=="svelte-49eriv"&&(be.textContent=er),Ke.forEach(n),It=o(d),T=a(d,"DIV",{class:!0});var Qe=_(T);g(Z.$$.fragment,Qe),Pt=o(Qe),$e=a(Qe,"P",{"data-svelte-h":!0}),p($e)!=="svelte-uauale"&&($e.textContent=tr),Qe.forEach(n),xt=o(d),E=a(d,"DIV",{class:!0});var Xe=_(E);g(ee.$$.fragment,Xe),Vt=o(Xe),ye=a(Xe,"P",{"data-svelte-h":!0}),p(ye)!=="svelte-x3z8ka"&&(ye.textContent=rr),Xe.forEach(n),Lt=o(d),M=a(d,"DIV",{class:!0});var Ze=_(M);g(te.$$.fragment,Ze),Ct=o(Ze),Ie=a(Ze,"P",{"data-svelte-h":!0}),p(Ie)!=="svelte-m705s9"&&(Ie.innerHTML=or),Ze.forEach(n),wt=o(d),N=a(d,"DIV",{class:!0});var et=_(N);g(re.$$.fragment,et),zt=o(et),Pe=a(et,"P",{"data-svelte-h":!0}),p(Pe)!=="svelte-10dsfen"&&(Pe.textContent=sr),et.forEach(n),Dt=o(d),k=a(d,"DIV",{class:!0});var tt=_(k);g(oe.$$.fragment,tt),Tt=o(tt),xe=a(tt,"P",{"data-svelte-h":!0}),p(xe)!=="svelte-1acncdu"&&(xe.textContent=ar),tt.forEach(n),Et=o(d),H=a(d,"DIV",{class:!0});var rt=_(H);g(se.$$.fragment,rt),Mt=o(rt),Ve=a(rt,"P",{"data-svelte-h":!0}),p(Ve)!=="svelte-si84j5"&&(Ve.textContent=nr),rt.forEach(n),d.forEach(n),Re=o(e),g(ae.$$.fragment,e),Ue=o(e),ne=a(e,"P",{"data-svelte-h":!0}),p(ne)!=="svelte-12yfhhz"&&(ne.innerHTML=ir),We=o(e),$=a(e,"DIV",{class:!0});var I=_($);g(ie.$$.fragment,I),Nt=o(I),Le=a(I,"P",{"data-svelte-h":!0}),p(Le)!=="svelte-bz065s"&&(Le.textContent=dr),kt=o(I),A=a(I,"DIV",{class:!0});var ot=_(A);g(de.$$.fragment,ot),Ht=o(ot),Ce=a(ot,"P",{"data-svelte-h":!0}),p(Ce)!=="svelte-x3z8ka"&&(Ce.textContent=cr),ot.forEach(n),At=o(I),F=a(I,"DIV",{class:!0});var st=_(F);g(ce.$$.fragment,st),Ft=o(st),we=a(st,"P",{"data-svelte-h":!0}),p(we)!=="svelte-1k4lt1u"&&(we.textContent=mr),st.forEach(n),Rt=o(I),R=a(I,"DIV",{class:!0});var at=_(R);g(me.$$.fragment,at),Ut=o(at),ze=a(at,"P",{"data-svelte-h":!0}),p(ze)!=="svelte-1gut907"&&(ze.textContent=gr),at.forEach(n),Wt=o(I),U=a(I,"DIV",{class:!0});var nt=_(U);g(ge.$$.fragment,nt),Ot=o(nt),De=a(nt,"P",{"data-svelte-h":!0}),p(De)!=="svelte-ectrn8"&&(De.textContent=pr),nt.forEach(n),I.forEach(n),Oe=o(e),Ee=a(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,c){t(document.head,P),y(e,Me,c),y(e,Te,c),y(e,Ne,c),l(W,e,c),y(e,ke,c),y(e,O,c),y(e,He,c),y(e,q,c),y(e,Ae,c),l(B,e,c),y(e,Fe,c),y(e,i,c),l(S,i,null),t(i,it),t(i,pe),t(i,dt),t(i,x),l(j,x,null),t(x,ct),t(x,le),t(i,mt),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(se,H,null),t(H,Mt),t(H,Ve),y(e,Re,c),l(ae,e,c),y(e,Ue,c),y(e,ne,c),y(e,We,c),y(e,$,c),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(ce,F,null),t(F,Ft),t(F,we),t($,Rt),t($,R),l(me,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,c),y(e,Ee,c),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(se.$$.fragment,e),f(ae.$$.fragment,e),f(ie.$$.fragment,e),f(de.$$.fragment,e),f(ce.$$.fragment,e),f(me.$$.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(se.$$.fragment,e),u(ae.$$.fragment,e),u(ie.$$.fragment,e),u(de.$$.fragment,e),u(ce.$$.fragment,e),u(me.$$.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(se),h(ae,e),h(ie),h(de),h(ce),h(me),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};
