import{s as wr,n as zr,o as Vr}from"../chunks/scheduler.8c3d61f6.js";import{S as Cr,i as Tr,g as s,s as o,r as l,A as Lr,h as a,f as n,c as r,j as _,u as g,x as m,k as v,y as t,a as b,v as p,d as f,t as u,w as h}from"../chunks/index.589a98e8.js";import{D as $}from"../chunks/Docstring.27406313.js";import{H as yr,E as Dr}from"../chunks/EditOnGithub.e5a8d9cb.js";function kr(Go){let w,dt,nt,ct,J,mt,K,jo='The <code>VaeImageProcessor</code> provides a unified API for <a href="/docs/diffusers/pr_8446/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.',lt,Q,Bo="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.",gt,X,pt,i,Z,St,De,So="Image processor for VAE.",Yt,z,ee,Jt,ke,Yo="overlay the inpaint output to the original image",Kt,V,te,Qt,Ae,Jo="Create a mask.",Xt,C,oe,Zt,Me,Ko="Applies Gaussian blur to an image.",eo,T,re,to,Ee,Qo="Converts a PIL image to grayscale format.",oo,L,se,ro,Ne,Xo="Converts a PIL image to RGB format.",so,D,ae,ao,We,Zo="Denormalize an image array to [0,1].",no,k,ne,io,Fe,er=`Finds a rectangular region that contains all masked ares in an image, and expands region to match the aspect
ratio of the original image; for example, if user drew mask in a 128x32 region, and the dimensions for
processing are 512x512, the region will be expanded to 128x128.`,co,A,ie,mo,He,tr=`This function return the height and width that are downscaled to the next integer multiple of
<code>vae_scale_factor</code>.`,lo,M,de,go,Re,or="Normalize an image array to [-1,1].",po,E,ce,fo,qe,rr="Convert a numpy image or a batch of images to a PIL image.",uo,N,me,ho,Oe,sr="Convert a NumPy image to a PyTorch tensor.",_o,W,le,vo,Ue,ar="Convert a PIL image or a list of PIL images to NumPy arrays.",bo,F,ge,$o,Ge,nr="Postprocess the image output from tensor to <code>output_type</code>.",xo,H,pe,Po,je,ir="Preprocess the image input.",Io,R,fe,yo,Be,dr="Convert a PyTorch tensor to a NumPy image.",wo,q,ue,zo,Se,cr="Resize image.",ft,he,mr="## VaeImageProcessorLDM3D[[diffusers.image_processor.VaeImageProcessorLDM3D]]",ut,_e,lr="The <code>VaeImageProcessorLDM3D</code> accepts RGB and depth inputs and returns RGB and depth outputs.",ht,x,ve,Vo,Ye,gr="Image processor for VAE LDM3D.",Co,O,be,To,Je,pr="Convert a PIL image or a list of PIL images to NumPy arrays.",Lo,U,$e,Do,Ke,fr="Convert a NumPy depth image or a batch of images to a PIL image.",ko,G,xe,Ao,Qe,ur="Convert a NumPy image or a batch of images to a PIL image.",Mo,j,Pe,Eo,Xe,hr="Preprocess the image input. Accepted formats are PIL images, NumPy arrays or PyTorch tensors.",No,B,Ie,Wo,Ze,_r="Returns: depth map",_t,ye,vr="## PixArtImageProcessor[[diffusers.image_processor.PixArtImageProcessor]]",vt,I,we,Fo,et,br="Image processor for PixArt image resize and crop.",Ho,S,ze,Ro,tt,$r="Returns binned height and width.",bt,Ve,xr="## IPAdapterMaskProcessor[[diffusers.image_processor.IPAdapterMaskProcessor]]",$t,y,Ce,qo,ot,Pr="Image processor for IP Adapter image masks.",Oo,Y,Te,Uo,rt,Ir=`Downsamples the provided mask tensor to match the expected dimensions for scaled dot-product attention. If the
aspect ratio of the mask does not match the aspect ratio of the output image, a warning is issued.`,xt,Le,Pt,it,It;return J=new yr({props:{title:"VAE Image Processor",local:"vae-image-processor",headingTag:"h1"}}),X=new yr({props:{title:"VaeImageProcessor",local:"diffusers.image_processor.VaeImageProcessor",headingTag:"h2"}}),Z=new $({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/pr_8446/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/vr_8446/src/diffusers/image_processor.py#L60"}}),ee=new $({props:{name:"apply_overlay",anchor:"diffusers.image_processor.VaeImageProcessor.apply_overlay",parameters:[{name:"mask",val:": Image"},{name:"init_image",val:": Image"},{name:"image",val:": Image"},{name:"crop_coords",val:": Optional = None"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L651"}}),te=new $({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/vr_8446/src/diffusers/image_processor.py#L408",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>
`}}),oe=new $({props:{name:"blur",anchor:"diffusers.image_processor.VaeImageProcessor.blur",parameters:[{name:"image",val:": Image"},{name:"blur_factor",val:": int = 4"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L182"}}),re=new $({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/vr_8446/src/diffusers/image_processor.py#L173"}}),se=new $({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/vr_8446/src/diffusers/image_processor.py#L164"}}),ae=new $({props:{name:"denormalize",anchor:"diffusers.image_processor.VaeImageProcessor.denormalize",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L157"}}),ne=new $({props:{name:"get_crop_region",anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region",parameters:[{name:"mask_image",val:": Image"},{name:"width",val:": int"},{name:"height",val:": int"},{name:"pad",val:" = 0"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region.mask_image",description:"<strong>mask_image</strong> (PIL.Image.Image) &#x2014; Mask image.",name:"mask_image"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region.width",description:"<strong>width</strong> (int) &#x2014; Width of the image to be processed.",name:"width"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region.height",description:"<strong>height</strong> (int) &#x2014; Height of the image to be processed.",name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region.pad",description:"<strong>pad</strong> (int, optional) &#x2014; Padding to be added to the crop region. Defaults to 0.",name:"pad"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L191",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>(x1, y1, x2, y2) represent a rectangular region that contains all masked ares in an image and
matches the original aspect ratio.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>tuple</p>
`}}),ie=new $({props:{name:"get_default_height_width",anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width",parameters:[{name:"image",val:": Union"},{name:"height",val:": Optional = None"},{name:"width",val:": Optional = 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/vr_8446/src/diffusers/image_processor.py#L425"}}),de=new $({props:{name:"normalize",anchor:"diffusers.image_processor.VaeImageProcessor.normalize",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L150"}}),ce=new $({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/vr_8446/src/diffusers/image_processor.py#L103"}}),me=new $({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/vr_8446/src/diffusers/image_processor.py#L131"}}),le=new $({props:{name:"pil_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessor.pil_to_numpy",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L119"}}),ge=new $({props:{name:"postprocess",anchor:"diffusers.image_processor.VaeImageProcessor.postprocess",parameters:[{name:"image",val:": Tensor"},{name:"output_type",val:": str = 'pil'"},{name:"do_denormalize",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.postprocess.image",description:`<strong>image</strong> (<code>torch.Tensor</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/vr_8446/src/diffusers/image_processor.py#L596",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.Tensor</code></p>
`}}),pe=new $({props:{name:"preprocess",anchor:"diffusers.image_processor.VaeImageProcessor.preprocess",parameters:[{name:"image",val:": Union"},{name:"height",val:": Optional = None"},{name:"width",val:": Optional = None"},{name:"resize_mode",val:": str = 'default'"},{name:"crops_coords",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.image",description:`<strong>image</strong> (<code>pipeline_image_input</code>) &#x2014;
The image input, accepted formats are PIL images, NumPy arrays, PyTorch tensors; Also accept list of
supported formats.`,name:"image"},{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.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 <code>get_default_height_width()</code> to get default
height.`,name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.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 get_default_height_width()</code> to get the default width.",name:"width"},{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.resize_mode",description:`<strong>resize_mode</strong> (<code>str</code>, <em>optional</em>, defaults to <code>default</code>) &#x2014;
The resize mode, can be one of <code>default</code> or <code>fill</code>. If <code>default</code>, will resize the image to fit within
the specified width and height, and it may not maintaining the original aspect ratio. If <code>fill</code>, will
resize the image to fit within the specified width and height, maintaining the aspect ratio, and then
center the image within the dimensions, filling empty with data from image. If <code>crop</code>, will resize the
image to fit within the specified width and height, maintaining the aspect ratio, and then center the
image within the dimensions, cropping the excess. Note that resize_mode <code>fill</code> and <code>crop</code> are only
supported for PIL image input.`,name:"resize_mode"},{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.crops_coords",description:`<strong>crops_coords</strong> (<code>List[Tuple[int, int, int, int]]</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
The crop coordinates for each image in the batch. If <code>None</code>, will not crop the image.`,name:"crops_coords"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L468"}}),fe=new $({props:{name:"pt_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessor.pt_to_numpy",parameters:[{name:"images",val:": Tensor"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L142"}}),ue=new $({props:{name:"resize",anchor:"diffusers.image_processor.VaeImageProcessor.resize",parameters:[{name:"image",val:": Union"},{name:"height",val:": int"},{name:"width",val:": int"},{name:"resize_mode",val:": str = 'default'"}],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>) &#x2014;
The height to resize to.`,name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.resize.width",description:`<strong>width</strong> (<code>int</code>) &#x2014;
The width to resize to.`,name:"width"},{anchor:"diffusers.image_processor.VaeImageProcessor.resize.resize_mode",description:`<strong>resize_mode</strong> (<code>str</code>, <em>optional</em>, defaults to <code>default</code>) &#x2014;
The resize mode to use, can be one of <code>default</code> or <code>fill</code>. If <code>default</code>, will resize the image to fit
within the specified width and height, and it may not maintaining the original aspect ratio. If <code>fill</code>,
will resize the image to fit within the specified width and height, maintaining the aspect ratio, and
then center the image within the dimensions, filling empty with data from image. If <code>crop</code>, will resize
the image to fit within the specified width and height, maintaining the aspect ratio, and then center
the image within the dimensions, cropping the excess. Note that resize_mode <code>fill</code> and <code>crop</code> are only
supported for PIL image input.`,name:"resize_mode"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L352",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>
`}}),ve=new $({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/vr_8446/src/diffusers/image_processor.py#L687"}}),be=new $({props:{name:"depth_pil_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.depth_pil_to_numpy",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L730"}}),$e=new $({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/vr_8446/src/diffusers/image_processor.py#L753"}}),xe=new $({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/vr_8446/src/diffusers/image_processor.py#L714"}}),Pe=new $({props:{name:"preprocess",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.preprocess",parameters:[{name:"rgb",val:": Union"},{name:"depth",val:": Union"},{name:"height",val:": Optional = None"},{name:"width",val:": Optional = None"},{name:"target_res",val:": Optional = None"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L828"}}),Ie=new $({props:{name:"rgblike_to_depthmap",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.rgblike_to_depthmap",parameters:[{name:"image",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L742"}}),we=new $({props:{name:"class diffusers.image_processor.PixArtImageProcessor",anchor:"diffusers.image_processor.PixArtImageProcessor",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_grayscale",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.image_processor.PixArtImageProcessor.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/pr_8446/en/api/image_processor#diffusers.image_processor.VaeImageProcessor.preprocess">image_processor.VaeImageProcessor.preprocess()</a> method.`,name:"do_resize"},{anchor:"diffusers.image_processor.PixArtImageProcessor.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.PixArtImageProcessor.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.PixArtImageProcessor.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.PixArtImageProcessor.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.PixArtImageProcessor.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.PixArtImageProcessor.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/vr_8446/src/diffusers/image_processor.py#L1032"}}),ze=new $({props:{name:"classify_height_width_bin",anchor:"diffusers.image_processor.PixArtImageProcessor.classify_height_width_bin",parameters:[{name:"height",val:": int"},{name:"width",val:": int"},{name:"ratios",val:": dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L1073"}}),Ce=new $({props:{name:"class diffusers.image_processor.IPAdapterMaskProcessor",anchor:"diffusers.image_processor.IPAdapterMaskProcessor",parameters:[{name:"do_resize",val:": bool = True"},{name:"vae_scale_factor",val:": int = 8"},{name:"resample",val:": str = 'lanczos'"},{name:"do_normalize",val:": bool = False"},{name:"do_binarize",val:": bool = True"},{name:"do_convert_grayscale",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.image_processor.IPAdapterMaskProcessor.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.IPAdapterMaskProcessor.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.IPAdapterMaskProcessor.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.IPAdapterMaskProcessor.do_normalize",description:`<strong>do_normalize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to normalize the image to [-1,1].`,name:"do_normalize"},{anchor:"diffusers.image_processor.IPAdapterMaskProcessor.do_binarize",description:`<strong>do_binarize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to binarize the image to 0/1.`,name:"do_binarize"},{anchor:"diffusers.image_processor.IPAdapterMaskProcessor.do_convert_grayscale",description:`<strong>do_convert_grayscale</strong> (<code>bool</code>, <em>optional</em>, defaults to be <code>True</code>) &#x2014;
Whether to convert the images to grayscale format.`,name:"do_convert_grayscale"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L928"}}),Te=new $({props:{name:"downsample",anchor:"diffusers.image_processor.IPAdapterMaskProcessor.downsample",parameters:[{name:"mask",val:": Tensor"},{name:"batch_size",val:": int"},{name:"num_queries",val:": int"},{name:"value_embed_dim",val:": int"}],parametersDescription:[{anchor:"diffusers.image_processor.IPAdapterMaskProcessor.downsample.mask",description:`<strong>mask</strong> (<code>torch.Tensor</code>) &#x2014;
The input mask tensor generated with <code>IPAdapterMaskProcessor.preprocess()</code>.`,name:"mask"},{anchor:"diffusers.image_processor.IPAdapterMaskProcessor.downsample.batch_size",description:`<strong>batch_size</strong> (<code>int</code>) &#x2014;
The batch size.`,name:"batch_size"},{anchor:"diffusers.image_processor.IPAdapterMaskProcessor.downsample.num_queries",description:`<strong>num_queries</strong> (<code>int</code>) &#x2014;
The number of queries.`,name:"num_queries"},{anchor:"diffusers.image_processor.IPAdapterMaskProcessor.downsample.value_embed_dim",description:`<strong>value_embed_dim</strong> (<code>int</code>) &#x2014;
The dimensionality of the value embeddings.`,name:"value_embed_dim"}],source:"https://github.com/huggingface/diffusers/blob/vr_8446/src/diffusers/image_processor.py#L969",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>torch.Tensor</code></p>
`}}),Le=new Dr({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/image_processor.md"}}),{c(){w=s("meta"),dt=o(),nt=s("p"),ct=o(),l(J.$$.fragment),mt=o(),K=s("p"),K.innerHTML=jo,lt=o(),Q=s("p"),Q.innerHTML=Bo,gt=o(),l(X.$$.fragment),pt=o(),i=s("div"),l(Z.$$.fragment),St=o(),De=s("p"),De.textContent=So,Yt=o(),z=s("div"),l(ee.$$.fragment),Jt=o(),ke=s("p"),ke.textContent=Yo,Kt=o(),V=s("div"),l(te.$$.fragment),Qt=o(),Ae=s("p"),Ae.textContent=Jo,Xt=o(),C=s("div"),l(oe.$$.fragment),Zt=o(),Me=s("p"),Me.textContent=Ko,eo=o(),T=s("div"),l(re.$$.fragment),to=o(),Ee=s("p"),Ee.textContent=Qo,oo=o(),L=s("div"),l(se.$$.fragment),ro=o(),Ne=s("p"),Ne.textContent=Xo,so=o(),D=s("div"),l(ae.$$.fragment),ao=o(),We=s("p"),We.textContent=Zo,no=o(),k=s("div"),l(ne.$$.fragment),io=o(),Fe=s("p"),Fe.textContent=er,co=o(),A=s("div"),l(ie.$$.fragment),mo=o(),He=s("p"),He.innerHTML=tr,lo=o(),M=s("div"),l(de.$$.fragment),go=o(),Re=s("p"),Re.textContent=or,po=o(),E=s("div"),l(ce.$$.fragment),fo=o(),qe=s("p"),qe.textContent=rr,uo=o(),N=s("div"),l(me.$$.fragment),ho=o(),Oe=s("p"),Oe.textContent=sr,_o=o(),W=s("div"),l(le.$$.fragment),vo=o(),Ue=s("p"),Ue.textContent=ar,bo=o(),F=s("div"),l(ge.$$.fragment),$o=o(),Ge=s("p"),Ge.innerHTML=nr,xo=o(),H=s("div"),l(pe.$$.fragment),Po=o(),je=s("p"),je.textContent=ir,Io=o(),R=s("div"),l(fe.$$.fragment),yo=o(),Be=s("p"),Be.textContent=dr,wo=o(),q=s("div"),l(ue.$$.fragment),zo=o(),Se=s("p"),Se.textContent=cr,ft=o(),he=s("p"),he.textContent=mr,ut=o(),_e=s("p"),_e.innerHTML=lr,ht=o(),x=s("div"),l(ve.$$.fragment),Vo=o(),Ye=s("p"),Ye.textContent=gr,Co=o(),O=s("div"),l(be.$$.fragment),To=o(),Je=s("p"),Je.textContent=pr,Lo=o(),U=s("div"),l($e.$$.fragment),Do=o(),Ke=s("p"),Ke.textContent=fr,ko=o(),G=s("div"),l(xe.$$.fragment),Ao=o(),Qe=s("p"),Qe.textContent=ur,Mo=o(),j=s("div"),l(Pe.$$.fragment),Eo=o(),Xe=s("p"),Xe.textContent=hr,No=o(),B=s("div"),l(Ie.$$.fragment),Wo=o(),Ze=s("p"),Ze.textContent=_r,_t=o(),ye=s("p"),ye.textContent=vr,vt=o(),I=s("div"),l(we.$$.fragment),Fo=o(),et=s("p"),et.textContent=br,Ho=o(),S=s("div"),l(ze.$$.fragment),Ro=o(),tt=s("p"),tt.textContent=$r,bt=o(),Ve=s("p"),Ve.textContent=xr,$t=o(),y=s("div"),l(Ce.$$.fragment),qo=o(),ot=s("p"),ot.textContent=Pr,Oo=o(),Y=s("div"),l(Te.$$.fragment),Uo=o(),rt=s("p"),rt.textContent=Ir,xt=o(),l(Le.$$.fragment),Pt=o(),it=s("p"),this.h()},l(e){const c=Lr("svelte-u9bgzb",document.head);w=a(c,"META",{name:!0,content:!0}),c.forEach(n),dt=r(e),nt=a(e,"P",{}),_(nt).forEach(n),ct=r(e),g(J.$$.fragment,e),mt=r(e),K=a(e,"P",{"data-svelte-h":!0}),m(K)!=="svelte-11ke2ad"&&(K.innerHTML=jo),lt=r(e),Q=a(e,"P",{"data-svelte-h":!0}),m(Q)!=="svelte-15xkwv1"&&(Q.innerHTML=Bo),gt=r(e),g(X.$$.fragment,e),pt=r(e),i=a(e,"DIV",{class:!0});var d=_(i);g(Z.$$.fragment,d),St=r(d),De=a(d,"P",{"data-svelte-h":!0}),m(De)!=="svelte-20k7u4"&&(De.textContent=So),Yt=r(d),z=a(d,"DIV",{class:!0});var yt=_(z);g(ee.$$.fragment,yt),Jt=r(yt),ke=a(yt,"P",{"data-svelte-h":!0}),m(ke)!=="svelte-3locv9"&&(ke.textContent=Yo),yt.forEach(n),Kt=r(d),V=a(d,"DIV",{class:!0});var wt=_(V);g(te.$$.fragment,wt),Qt=r(wt),Ae=a(wt,"P",{"data-svelte-h":!0}),m(Ae)!=="svelte-1jdqg5n"&&(Ae.textContent=Jo),wt.forEach(n),Xt=r(d),C=a(d,"DIV",{class:!0});var zt=_(C);g(oe.$$.fragment,zt),Zt=r(zt),Me=a(zt,"P",{"data-svelte-h":!0}),m(Me)!=="svelte-1l3ylqr"&&(Me.textContent=Ko),zt.forEach(n),eo=r(d),T=a(d,"DIV",{class:!0});var Vt=_(T);g(re.$$.fragment,Vt),to=r(Vt),Ee=a(Vt,"P",{"data-svelte-h":!0}),m(Ee)!=="svelte-vsbjec"&&(Ee.textContent=Qo),Vt.forEach(n),oo=r(d),L=a(d,"DIV",{class:!0});var Ct=_(L);g(se.$$.fragment,Ct),ro=r(Ct),Ne=a(Ct,"P",{"data-svelte-h":!0}),m(Ne)!=="svelte-ckvlrc"&&(Ne.textContent=Xo),Ct.forEach(n),so=r(d),D=a(d,"DIV",{class:!0});var Tt=_(D);g(ae.$$.fragment,Tt),ao=r(Tt),We=a(Tt,"P",{"data-svelte-h":!0}),m(We)!=="svelte-ipi2rr"&&(We.textContent=Zo),Tt.forEach(n),no=r(d),k=a(d,"DIV",{class:!0});var Lt=_(k);g(ne.$$.fragment,Lt),io=r(Lt),Fe=a(Lt,"P",{"data-svelte-h":!0}),m(Fe)!=="svelte-1gkaazy"&&(Fe.textContent=er),Lt.forEach(n),co=r(d),A=a(d,"DIV",{class:!0});var Dt=_(A);g(ie.$$.fragment,Dt),mo=r(Dt),He=a(Dt,"P",{"data-svelte-h":!0}),m(He)!=="svelte-kfv3nk"&&(He.innerHTML=tr),Dt.forEach(n),lo=r(d),M=a(d,"DIV",{class:!0});var kt=_(M);g(de.$$.fragment,kt),go=r(kt),Re=a(kt,"P",{"data-svelte-h":!0}),m(Re)!=="svelte-1l17iqw"&&(Re.textContent=or),kt.forEach(n),po=r(d),E=a(d,"DIV",{class:!0});var At=_(E);g(ce.$$.fragment,At),fo=r(At),qe=a(At,"P",{"data-svelte-h":!0}),m(qe)!=="svelte-49eriv"&&(qe.textContent=rr),At.forEach(n),uo=r(d),N=a(d,"DIV",{class:!0});var Mt=_(N);g(me.$$.fragment,Mt),ho=r(Mt),Oe=a(Mt,"P",{"data-svelte-h":!0}),m(Oe)!=="svelte-uauale"&&(Oe.textContent=sr),Mt.forEach(n),_o=r(d),W=a(d,"DIV",{class:!0});var Et=_(W);g(le.$$.fragment,Et),vo=r(Et),Ue=a(Et,"P",{"data-svelte-h":!0}),m(Ue)!=="svelte-x3z8ka"&&(Ue.textContent=ar),Et.forEach(n),bo=r(d),F=a(d,"DIV",{class:!0});var Nt=_(F);g(ge.$$.fragment,Nt),$o=r(Nt),Ge=a(Nt,"P",{"data-svelte-h":!0}),m(Ge)!=="svelte-m705s9"&&(Ge.innerHTML=nr),Nt.forEach(n),xo=r(d),H=a(d,"DIV",{class:!0});var Wt=_(H);g(pe.$$.fragment,Wt),Po=r(Wt),je=a(Wt,"P",{"data-svelte-h":!0}),m(je)!=="svelte-1p2bpse"&&(je.textContent=ir),Wt.forEach(n),Io=r(d),R=a(d,"DIV",{class:!0});var Ft=_(R);g(fe.$$.fragment,Ft),yo=r(Ft),Be=a(Ft,"P",{"data-svelte-h":!0}),m(Be)!=="svelte-1acncdu"&&(Be.textContent=dr),Ft.forEach(n),wo=r(d),q=a(d,"DIV",{class:!0});var Ht=_(q);g(ue.$$.fragment,Ht),zo=r(Ht),Se=a(Ht,"P",{"data-svelte-h":!0}),m(Se)!=="svelte-si84j5"&&(Se.textContent=cr),Ht.forEach(n),d.forEach(n),ft=r(e),he=a(e,"P",{"data-svelte-h":!0}),m(he)!=="svelte-1pak4fz"&&(he.textContent=mr),ut=r(e),_e=a(e,"P",{"data-svelte-h":!0}),m(_e)!=="svelte-12yfhhz"&&(_e.innerHTML=lr),ht=r(e),x=a(e,"DIV",{class:!0});var P=_(x);g(ve.$$.fragment,P),Vo=r(P),Ye=a(P,"P",{"data-svelte-h":!0}),m(Ye)!=="svelte-bz065s"&&(Ye.textContent=gr),Co=r(P),O=a(P,"DIV",{class:!0});var Rt=_(O);g(be.$$.fragment,Rt),To=r(Rt),Je=a(Rt,"P",{"data-svelte-h":!0}),m(Je)!=="svelte-x3z8ka"&&(Je.textContent=pr),Rt.forEach(n),Lo=r(P),U=a(P,"DIV",{class:!0});var qt=_(U);g($e.$$.fragment,qt),Do=r(qt),Ke=a(qt,"P",{"data-svelte-h":!0}),m(Ke)!=="svelte-1k4lt1u"&&(Ke.textContent=fr),qt.forEach(n),ko=r(P),G=a(P,"DIV",{class:!0});var Ot=_(G);g(xe.$$.fragment,Ot),Ao=r(Ot),Qe=a(Ot,"P",{"data-svelte-h":!0}),m(Qe)!=="svelte-1gut907"&&(Qe.textContent=ur),Ot.forEach(n),Mo=r(P),j=a(P,"DIV",{class:!0});var Ut=_(j);g(Pe.$$.fragment,Ut),Eo=r(Ut),Xe=a(Ut,"P",{"data-svelte-h":!0}),m(Xe)!=="svelte-10dsfen"&&(Xe.textContent=hr),Ut.forEach(n),No=r(P),B=a(P,"DIV",{class:!0});var Gt=_(B);g(Ie.$$.fragment,Gt),Wo=r(Gt),Ze=a(Gt,"P",{"data-svelte-h":!0}),m(Ze)!=="svelte-ectrn8"&&(Ze.textContent=_r),Gt.forEach(n),P.forEach(n),_t=r(e),ye=a(e,"P",{"data-svelte-h":!0}),m(ye)!=="svelte-ld84w3"&&(ye.textContent=vr),vt=r(e),I=a(e,"DIV",{class:!0});var st=_(I);g(we.$$.fragment,st),Fo=r(st),et=a(st,"P",{"data-svelte-h":!0}),m(et)!=="svelte-saajey"&&(et.textContent=br),Ho=r(st),S=a(st,"DIV",{class:!0});var jt=_(S);g(ze.$$.fragment,jt),Ro=r(jt),tt=a(jt,"P",{"data-svelte-h":!0}),m(tt)!=="svelte-vknpvz"&&(tt.textContent=$r),jt.forEach(n),st.forEach(n),bt=r(e),Ve=a(e,"P",{"data-svelte-h":!0}),m(Ve)!=="svelte-73crcz"&&(Ve.textContent=xr),$t=r(e),y=a(e,"DIV",{class:!0});var at=_(y);g(Ce.$$.fragment,at),qo=r(at),ot=a(at,"P",{"data-svelte-h":!0}),m(ot)!=="svelte-mxmwf6"&&(ot.textContent=Pr),Oo=r(at),Y=a(at,"DIV",{class:!0});var Bt=_(Y);g(Te.$$.fragment,Bt),Uo=r(Bt),rt=a(Bt,"P",{"data-svelte-h":!0}),m(rt)!=="svelte-1jm7ypm"&&(rt.textContent=Ir),Bt.forEach(n),at.forEach(n),xt=r(e),g(Le.$$.fragment,e),Pt=r(e),it=a(e,"P",{}),_(it).forEach(n),this.h()},h(){v(w,"name","hf:doc:metadata"),v(w,"content",Ar),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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(q,"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(O,"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(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),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(S,"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(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(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(e,c){t(document.head,w),b(e,dt,c),b(e,nt,c),b(e,ct,c),p(J,e,c),b(e,mt,c),b(e,K,c),b(e,lt,c),b(e,Q,c),b(e,gt,c),p(X,e,c),b(e,pt,c),b(e,i,c),p(Z,i,null),t(i,St),t(i,De),t(i,Yt),t(i,z),p(ee,z,null),t(z,Jt),t(z,ke),t(i,Kt),t(i,V),p(te,V,null),t(V,Qt),t(V,Ae),t(i,Xt),t(i,C),p(oe,C,null),t(C,Zt),t(C,Me),t(i,eo),t(i,T),p(re,T,null),t(T,to),t(T,Ee),t(i,oo),t(i,L),p(se,L,null),t(L,ro),t(L,Ne),t(i,so),t(i,D),p(ae,D,null),t(D,ao),t(D,We),t(i,no),t(i,k),p(ne,k,null),t(k,io),t(k,Fe),t(i,co),t(i,A),p(ie,A,null),t(A,mo),t(A,He),t(i,lo),t(i,M),p(de,M,null),t(M,go),t(M,Re),t(i,po),t(i,E),p(ce,E,null),t(E,fo),t(E,qe),t(i,uo),t(i,N),p(me,N,null),t(N,ho),t(N,Oe),t(i,_o),t(i,W),p(le,W,null),t(W,vo),t(W,Ue),t(i,bo),t(i,F),p(ge,F,null),t(F,$o),t(F,Ge),t(i,xo),t(i,H),p(pe,H,null),t(H,Po),t(H,je),t(i,Io),t(i,R),p(fe,R,null),t(R,yo),t(R,Be),t(i,wo),t(i,q),p(ue,q,null),t(q,zo),t(q,Se),b(e,ft,c),b(e,he,c),b(e,ut,c),b(e,_e,c),b(e,ht,c),b(e,x,c),p(ve,x,null),t(x,Vo),t(x,Ye),t(x,Co),t(x,O),p(be,O,null),t(O,To),t(O,Je),t(x,Lo),t(x,U),p($e,U,null),t(U,Do),t(U,Ke),t(x,ko),t(x,G),p(xe,G,null),t(G,Ao),t(G,Qe),t(x,Mo),t(x,j),p(Pe,j,null),t(j,Eo),t(j,Xe),t(x,No),t(x,B),p(Ie,B,null),t(B,Wo),t(B,Ze),b(e,_t,c),b(e,ye,c),b(e,vt,c),b(e,I,c),p(we,I,null),t(I,Fo),t(I,et),t(I,Ho),t(I,S),p(ze,S,null),t(S,Ro),t(S,tt),b(e,bt,c),b(e,Ve,c),b(e,$t,c),b(e,y,c),p(Ce,y,null),t(y,qo),t(y,ot),t(y,Oo),t(y,Y),p(Te,Y,null),t(Y,Uo),t(Y,rt),b(e,xt,c),p(Le,e,c),b(e,Pt,c),b(e,it,c),It=!0},p:zr,i(e){It||(f(J.$$.fragment,e),f(X.$$.fragment,e),f(Z.$$.fragment,e),f(ee.$$.fragment,e),f(te.$$.fragment,e),f(oe.$$.fragment,e),f(re.$$.fragment,e),f(se.$$.fragment,e),f(ae.$$.fragment,e),f(ne.$$.fragment,e),f(ie.$$.fragment,e),f(de.$$.fragment,e),f(ce.$$.fragment,e),f(me.$$.fragment,e),f(le.$$.fragment,e),f(ge.$$.fragment,e),f(pe.$$.fragment,e),f(fe.$$.fragment,e),f(ue.$$.fragment,e),f(ve.$$.fragment,e),f(be.$$.fragment,e),f($e.$$.fragment,e),f(xe.$$.fragment,e),f(Pe.$$.fragment,e),f(Ie.$$.fragment,e),f(we.$$.fragment,e),f(ze.$$.fragment,e),f(Ce.$$.fragment,e),f(Te.$$.fragment,e),f(Le.$$.fragment,e),It=!0)},o(e){u(J.$$.fragment,e),u(X.$$.fragment,e),u(Z.$$.fragment,e),u(ee.$$.fragment,e),u(te.$$.fragment,e),u(oe.$$.fragment,e),u(re.$$.fragment,e),u(se.$$.fragment,e),u(ae.$$.fragment,e),u(ne.$$.fragment,e),u(ie.$$.fragment,e),u(de.$$.fragment,e),u(ce.$$.fragment,e),u(me.$$.fragment,e),u(le.$$.fragment,e),u(ge.$$.fragment,e),u(pe.$$.fragment,e),u(fe.$$.fragment,e),u(ue.$$.fragment,e),u(ve.$$.fragment,e),u(be.$$.fragment,e),u($e.$$.fragment,e),u(xe.$$.fragment,e),u(Pe.$$.fragment,e),u(Ie.$$.fragment,e),u(we.$$.fragment,e),u(ze.$$.fragment,e),u(Ce.$$.fragment,e),u(Te.$$.fragment,e),u(Le.$$.fragment,e),It=!1},d(e){e&&(n(dt),n(nt),n(ct),n(mt),n(K),n(lt),n(Q),n(gt),n(pt),n(i),n(ft),n(he),n(ut),n(_e),n(ht),n(x),n(_t),n(ye),n(vt),n(I),n(bt),n(Ve),n($t),n(y),n(xt),n(Pt),n(it)),n(w),h(J,e),h(X,e),h(Z),h(ee),h(te),h(oe),h(re),h(se),h(ae),h(ne),h(ie),h(de),h(ce),h(me),h(le),h(ge),h(pe),h(fe),h(ue),h(ve),h(be),h($e),h(xe),h(Pe),h(Ie),h(we),h(ze),h(Ce),h(Te),h(Le,e)}}}const Ar='{"title":"VAE Image Processor","local":"vae-image-processor","sections":[{"title":"VaeImageProcessor","local":"diffusers.image_processor.VaeImageProcessor","sections":[],"depth":2}],"depth":1}';function Mr(Go){return Vr(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Hr extends Cr{constructor(w){super(),Tr(this,w,Mr,kr,wr,{})}}export{Hr as component};
