import{s as xo,n as Io,o as yo}from"../chunks/scheduler.8c3d61f6.js";import{S as wo,i as zo,g as s,s as r,r as m,A as Vo,h as a,f as n,c as o,j as _,u as g,x as h,k as v,y as t,a as $,v as l,d as p,t as f,w as u}from"../chunks/index.589a98e8.js";import{D as b}from"../chunks/Docstring.27406313.js";import{H as dt,E as Co}from"../chunks/EditOnGithub.e5a8d9cb.js";function To(Gr){let w,ct,nt,mt,J,gt,K,jr='The <code>VaeImageProcessor</code> provides a unified API for <a href="/docs/diffusers/pr_8454/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,Br="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.",pt,X,ft,i,Z,Yt,Le,Sr="Image processor for VAE.",Jt,z,ee,Kt,ke,Yr="overlay the inpaint output to the original image",Qt,V,te,Xt,Ae,Jr="Create a mask.",Zt,C,re,er,Me,Kr="Applies Gaussian blur to an image.",tr,T,oe,rr,Ee,Qr="Converts a PIL image to grayscale format.",or,D,se,sr,Ne,Xr="Converts a PIL image to RGB format.",ar,L,ae,nr,We,Zr="Denormalize an image array to [0,1].",ir,k,ne,dr,Fe,eo=`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.`,cr,A,ie,mr,He,to=`This function return the height and width that are downscaled to the next integer multiple of
<code>vae_scale_factor</code>.`,gr,M,de,lr,Re,ro="Normalize an image array to [-1,1].",pr,E,ce,fr,qe,oo="Convert a numpy image or a batch of images to a PIL image.",ur,N,me,hr,Oe,so="Convert a NumPy image to a PyTorch tensor.",_r,W,ge,vr,Ue,ao="Convert a PIL image or a list of PIL images to NumPy arrays.",br,F,le,$r,Ge,no="Postprocess the image output from tensor to <code>output_type</code>.",Pr,H,pe,xr,je,io="Preprocess the image input.",Ir,R,fe,yr,Be,co="Convert a PyTorch tensor to a NumPy image.",wr,q,ue,zr,Se,mo="Resize image.",ut,he,ht,_e,go="The <code>VaeImageProcessorLDM3D</code> accepts RGB and depth inputs and returns RGB and depth outputs.",_t,P,ve,Vr,Ye,lo="Image processor for VAE LDM3D.",Cr,O,be,Tr,Je,po="Convert a PIL image or a list of PIL images to NumPy arrays.",Dr,U,$e,Lr,Ke,fo="Convert a NumPy depth image or a batch of images to a PIL image.",kr,G,Pe,Ar,Qe,uo="Convert a NumPy image or a batch of images to a PIL image.",Mr,j,xe,Er,Xe,ho="Preprocess the image input. Accepted formats are PIL images, NumPy arrays or PyTorch tensors.",Nr,B,Ie,Wr,Ze,_o="Returns: depth map",vt,ye,bt,I,we,Fr,et,vo="Image processor for PixArt image resize and crop.",Hr,S,ze,Rr,tt,bo="Returns binned height and width.",$t,Ve,Pt,y,Ce,qr,rt,$o="Image processor for IP Adapter image masks.",Or,Y,Te,Ur,ot,Po=`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,De,It,it,yt;return J=new dt({props:{title:"VAE Image Processor",local:"vae-image-processor",headingTag:"h1"}}),X=new dt({props:{title:"VaeImageProcessor",local:"diffusers.image_processor.VaeImageProcessor",headingTag:"h2"}}),Z=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:"vae_latent_channels",val:": int = 4"},{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_8454/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_8454/src/diffusers/image_processor.py#L60"}}),ee=new b({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_8454/src/diffusers/image_processor.py#L651"}}),te=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/vr_8454/src/diffusers/image_processor.py#L409",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>
`}}),re=new b({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_8454/src/diffusers/image_processor.py#L183"}}),oe=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/vr_8454/src/diffusers/image_processor.py#L174"}}),se=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/vr_8454/src/diffusers/image_processor.py#L165"}}),ae=new b({props:{name:"denormalize",anchor:"diffusers.image_processor.VaeImageProcessor.denormalize",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/vr_8454/src/diffusers/image_processor.py#L158"}}),ne=new b({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_8454/src/diffusers/image_processor.py#L192",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 b({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_8454/src/diffusers/image_processor.py#L426"}}),de=new b({props:{name:"normalize",anchor:"diffusers.image_processor.VaeImageProcessor.normalize",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/vr_8454/src/diffusers/image_processor.py#L151"}}),ce=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/vr_8454/src/diffusers/image_processor.py#L104"}}),me=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/vr_8454/src/diffusers/image_processor.py#L132"}}),ge=new b({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_8454/src/diffusers/image_processor.py#L120"}}),le=new b({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_8454/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 b({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_8454/src/diffusers/image_processor.py#L469"}}),fe=new b({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_8454/src/diffusers/image_processor.py#L143"}}),ue=new b({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_8454/src/diffusers/image_processor.py#L353",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>
`}}),he=new dt({props:{title:"VaeImageProcessorLDM3D",local:"diffusers.image_processor.VaeImageProcessorLDM3D",headingTag:"h2"}}),ve=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/vr_8454/src/diffusers/image_processor.py#L687"}}),be=new b({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_8454/src/diffusers/image_processor.py#L730"}}),$e=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/vr_8454/src/diffusers/image_processor.py#L753"}}),Pe=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/vr_8454/src/diffusers/image_processor.py#L714"}}),xe=new b({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_8454/src/diffusers/image_processor.py#L828"}}),Ie=new b({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_8454/src/diffusers/image_processor.py#L742"}}),ye=new dt({props:{title:"PixArtImageProcessor",local:"diffusers.image_processor.PixArtImageProcessor",headingTag:"h2"}}),we=new b({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_8454/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_8454/src/diffusers/image_processor.py#L1032"}}),ze=new b({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_8454/src/diffusers/image_processor.py#L1073"}}),Ve=new dt({props:{title:"IPAdapterMaskProcessor",local:"diffusers.image_processor.IPAdapterMaskProcessor",headingTag:"h2"}}),Ce=new b({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_8454/src/diffusers/image_processor.py#L928"}}),Te=new b({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_8454/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>
`}}),De=new Co({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/image_processor.md"}}),{c(){w=s("meta"),ct=r(),nt=s("p"),mt=r(),m(J.$$.fragment),gt=r(),K=s("p"),K.innerHTML=jr,lt=r(),Q=s("p"),Q.innerHTML=Br,pt=r(),m(X.$$.fragment),ft=r(),i=s("div"),m(Z.$$.fragment),Yt=r(),Le=s("p"),Le.textContent=Sr,Jt=r(),z=s("div"),m(ee.$$.fragment),Kt=r(),ke=s("p"),ke.textContent=Yr,Qt=r(),V=s("div"),m(te.$$.fragment),Xt=r(),Ae=s("p"),Ae.textContent=Jr,Zt=r(),C=s("div"),m(re.$$.fragment),er=r(),Me=s("p"),Me.textContent=Kr,tr=r(),T=s("div"),m(oe.$$.fragment),rr=r(),Ee=s("p"),Ee.textContent=Qr,or=r(),D=s("div"),m(se.$$.fragment),sr=r(),Ne=s("p"),Ne.textContent=Xr,ar=r(),L=s("div"),m(ae.$$.fragment),nr=r(),We=s("p"),We.textContent=Zr,ir=r(),k=s("div"),m(ne.$$.fragment),dr=r(),Fe=s("p"),Fe.textContent=eo,cr=r(),A=s("div"),m(ie.$$.fragment),mr=r(),He=s("p"),He.innerHTML=to,gr=r(),M=s("div"),m(de.$$.fragment),lr=r(),Re=s("p"),Re.textContent=ro,pr=r(),E=s("div"),m(ce.$$.fragment),fr=r(),qe=s("p"),qe.textContent=oo,ur=r(),N=s("div"),m(me.$$.fragment),hr=r(),Oe=s("p"),Oe.textContent=so,_r=r(),W=s("div"),m(ge.$$.fragment),vr=r(),Ue=s("p"),Ue.textContent=ao,br=r(),F=s("div"),m(le.$$.fragment),$r=r(),Ge=s("p"),Ge.innerHTML=no,Pr=r(),H=s("div"),m(pe.$$.fragment),xr=r(),je=s("p"),je.textContent=io,Ir=r(),R=s("div"),m(fe.$$.fragment),yr=r(),Be=s("p"),Be.textContent=co,wr=r(),q=s("div"),m(ue.$$.fragment),zr=r(),Se=s("p"),Se.textContent=mo,ut=r(),m(he.$$.fragment),ht=r(),_e=s("p"),_e.innerHTML=go,_t=r(),P=s("div"),m(ve.$$.fragment),Vr=r(),Ye=s("p"),Ye.textContent=lo,Cr=r(),O=s("div"),m(be.$$.fragment),Tr=r(),Je=s("p"),Je.textContent=po,Dr=r(),U=s("div"),m($e.$$.fragment),Lr=r(),Ke=s("p"),Ke.textContent=fo,kr=r(),G=s("div"),m(Pe.$$.fragment),Ar=r(),Qe=s("p"),Qe.textContent=uo,Mr=r(),j=s("div"),m(xe.$$.fragment),Er=r(),Xe=s("p"),Xe.textContent=ho,Nr=r(),B=s("div"),m(Ie.$$.fragment),Wr=r(),Ze=s("p"),Ze.textContent=_o,vt=r(),m(ye.$$.fragment),bt=r(),I=s("div"),m(we.$$.fragment),Fr=r(),et=s("p"),et.textContent=vo,Hr=r(),S=s("div"),m(ze.$$.fragment),Rr=r(),tt=s("p"),tt.textContent=bo,$t=r(),m(Ve.$$.fragment),Pt=r(),y=s("div"),m(Ce.$$.fragment),qr=r(),rt=s("p"),rt.textContent=$o,Or=r(),Y=s("div"),m(Te.$$.fragment),Ur=r(),ot=s("p"),ot.textContent=Po,xt=r(),m(De.$$.fragment),It=r(),it=s("p"),this.h()},l(e){const c=Vo("svelte-u9bgzb",document.head);w=a(c,"META",{name:!0,content:!0}),c.forEach(n),ct=o(e),nt=a(e,"P",{}),_(nt).forEach(n),mt=o(e),g(J.$$.fragment,e),gt=o(e),K=a(e,"P",{"data-svelte-h":!0}),h(K)!=="svelte-1cknbbo"&&(K.innerHTML=jr),lt=o(e),Q=a(e,"P",{"data-svelte-h":!0}),h(Q)!=="svelte-15xkwv1"&&(Q.innerHTML=Br),pt=o(e),g(X.$$.fragment,e),ft=o(e),i=a(e,"DIV",{class:!0});var d=_(i);g(Z.$$.fragment,d),Yt=o(d),Le=a(d,"P",{"data-svelte-h":!0}),h(Le)!=="svelte-20k7u4"&&(Le.textContent=Sr),Jt=o(d),z=a(d,"DIV",{class:!0});var wt=_(z);g(ee.$$.fragment,wt),Kt=o(wt),ke=a(wt,"P",{"data-svelte-h":!0}),h(ke)!=="svelte-3locv9"&&(ke.textContent=Yr),wt.forEach(n),Qt=o(d),V=a(d,"DIV",{class:!0});var zt=_(V);g(te.$$.fragment,zt),Xt=o(zt),Ae=a(zt,"P",{"data-svelte-h":!0}),h(Ae)!=="svelte-1jdqg5n"&&(Ae.textContent=Jr),zt.forEach(n),Zt=o(d),C=a(d,"DIV",{class:!0});var Vt=_(C);g(re.$$.fragment,Vt),er=o(Vt),Me=a(Vt,"P",{"data-svelte-h":!0}),h(Me)!=="svelte-1l3ylqr"&&(Me.textContent=Kr),Vt.forEach(n),tr=o(d),T=a(d,"DIV",{class:!0});var Ct=_(T);g(oe.$$.fragment,Ct),rr=o(Ct),Ee=a(Ct,"P",{"data-svelte-h":!0}),h(Ee)!=="svelte-vsbjec"&&(Ee.textContent=Qr),Ct.forEach(n),or=o(d),D=a(d,"DIV",{class:!0});var Tt=_(D);g(se.$$.fragment,Tt),sr=o(Tt),Ne=a(Tt,"P",{"data-svelte-h":!0}),h(Ne)!=="svelte-ckvlrc"&&(Ne.textContent=Xr),Tt.forEach(n),ar=o(d),L=a(d,"DIV",{class:!0});var Dt=_(L);g(ae.$$.fragment,Dt),nr=o(Dt),We=a(Dt,"P",{"data-svelte-h":!0}),h(We)!=="svelte-ipi2rr"&&(We.textContent=Zr),Dt.forEach(n),ir=o(d),k=a(d,"DIV",{class:!0});var Lt=_(k);g(ne.$$.fragment,Lt),dr=o(Lt),Fe=a(Lt,"P",{"data-svelte-h":!0}),h(Fe)!=="svelte-1gkaazy"&&(Fe.textContent=eo),Lt.forEach(n),cr=o(d),A=a(d,"DIV",{class:!0});var kt=_(A);g(ie.$$.fragment,kt),mr=o(kt),He=a(kt,"P",{"data-svelte-h":!0}),h(He)!=="svelte-kfv3nk"&&(He.innerHTML=to),kt.forEach(n),gr=o(d),M=a(d,"DIV",{class:!0});var At=_(M);g(de.$$.fragment,At),lr=o(At),Re=a(At,"P",{"data-svelte-h":!0}),h(Re)!=="svelte-1l17iqw"&&(Re.textContent=ro),At.forEach(n),pr=o(d),E=a(d,"DIV",{class:!0});var Mt=_(E);g(ce.$$.fragment,Mt),fr=o(Mt),qe=a(Mt,"P",{"data-svelte-h":!0}),h(qe)!=="svelte-49eriv"&&(qe.textContent=oo),Mt.forEach(n),ur=o(d),N=a(d,"DIV",{class:!0});var Et=_(N);g(me.$$.fragment,Et),hr=o(Et),Oe=a(Et,"P",{"data-svelte-h":!0}),h(Oe)!=="svelte-uauale"&&(Oe.textContent=so),Et.forEach(n),_r=o(d),W=a(d,"DIV",{class:!0});var Nt=_(W);g(ge.$$.fragment,Nt),vr=o(Nt),Ue=a(Nt,"P",{"data-svelte-h":!0}),h(Ue)!=="svelte-x3z8ka"&&(Ue.textContent=ao),Nt.forEach(n),br=o(d),F=a(d,"DIV",{class:!0});var Wt=_(F);g(le.$$.fragment,Wt),$r=o(Wt),Ge=a(Wt,"P",{"data-svelte-h":!0}),h(Ge)!=="svelte-m705s9"&&(Ge.innerHTML=no),Wt.forEach(n),Pr=o(d),H=a(d,"DIV",{class:!0});var Ft=_(H);g(pe.$$.fragment,Ft),xr=o(Ft),je=a(Ft,"P",{"data-svelte-h":!0}),h(je)!=="svelte-1p2bpse"&&(je.textContent=io),Ft.forEach(n),Ir=o(d),R=a(d,"DIV",{class:!0});var Ht=_(R);g(fe.$$.fragment,Ht),yr=o(Ht),Be=a(Ht,"P",{"data-svelte-h":!0}),h(Be)!=="svelte-1acncdu"&&(Be.textContent=co),Ht.forEach(n),wr=o(d),q=a(d,"DIV",{class:!0});var Rt=_(q);g(ue.$$.fragment,Rt),zr=o(Rt),Se=a(Rt,"P",{"data-svelte-h":!0}),h(Se)!=="svelte-si84j5"&&(Se.textContent=mo),Rt.forEach(n),d.forEach(n),ut=o(e),g(he.$$.fragment,e),ht=o(e),_e=a(e,"P",{"data-svelte-h":!0}),h(_e)!=="svelte-12yfhhz"&&(_e.innerHTML=go),_t=o(e),P=a(e,"DIV",{class:!0});var x=_(P);g(ve.$$.fragment,x),Vr=o(x),Ye=a(x,"P",{"data-svelte-h":!0}),h(Ye)!=="svelte-bz065s"&&(Ye.textContent=lo),Cr=o(x),O=a(x,"DIV",{class:!0});var qt=_(O);g(be.$$.fragment,qt),Tr=o(qt),Je=a(qt,"P",{"data-svelte-h":!0}),h(Je)!=="svelte-x3z8ka"&&(Je.textContent=po),qt.forEach(n),Dr=o(x),U=a(x,"DIV",{class:!0});var Ot=_(U);g($e.$$.fragment,Ot),Lr=o(Ot),Ke=a(Ot,"P",{"data-svelte-h":!0}),h(Ke)!=="svelte-1k4lt1u"&&(Ke.textContent=fo),Ot.forEach(n),kr=o(x),G=a(x,"DIV",{class:!0});var Ut=_(G);g(Pe.$$.fragment,Ut),Ar=o(Ut),Qe=a(Ut,"P",{"data-svelte-h":!0}),h(Qe)!=="svelte-1gut907"&&(Qe.textContent=uo),Ut.forEach(n),Mr=o(x),j=a(x,"DIV",{class:!0});var Gt=_(j);g(xe.$$.fragment,Gt),Er=o(Gt),Xe=a(Gt,"P",{"data-svelte-h":!0}),h(Xe)!=="svelte-10dsfen"&&(Xe.textContent=ho),Gt.forEach(n),Nr=o(x),B=a(x,"DIV",{class:!0});var jt=_(B);g(Ie.$$.fragment,jt),Wr=o(jt),Ze=a(jt,"P",{"data-svelte-h":!0}),h(Ze)!=="svelte-ectrn8"&&(Ze.textContent=_o),jt.forEach(n),x.forEach(n),vt=o(e),g(ye.$$.fragment,e),bt=o(e),I=a(e,"DIV",{class:!0});var st=_(I);g(we.$$.fragment,st),Fr=o(st),et=a(st,"P",{"data-svelte-h":!0}),h(et)!=="svelte-saajey"&&(et.textContent=vo),Hr=o(st),S=a(st,"DIV",{class:!0});var Bt=_(S);g(ze.$$.fragment,Bt),Rr=o(Bt),tt=a(Bt,"P",{"data-svelte-h":!0}),h(tt)!=="svelte-vknpvz"&&(tt.textContent=bo),Bt.forEach(n),st.forEach(n),$t=o(e),g(Ve.$$.fragment,e),Pt=o(e),y=a(e,"DIV",{class:!0});var at=_(y);g(Ce.$$.fragment,at),qr=o(at),rt=a(at,"P",{"data-svelte-h":!0}),h(rt)!=="svelte-mxmwf6"&&(rt.textContent=$o),Or=o(at),Y=a(at,"DIV",{class:!0});var St=_(Y);g(Te.$$.fragment,St),Ur=o(St),ot=a(St,"P",{"data-svelte-h":!0}),h(ot)!=="svelte-1jm7ypm"&&(ot.textContent=Po),St.forEach(n),at.forEach(n),xt=o(e),g(De.$$.fragment,e),It=o(e),it=a(e,"P",{}),_(it).forEach(n),this.h()},h(){v(w,"name","hf:doc:metadata"),v(w,"content",Do),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(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(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(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(P,"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),$(e,ct,c),$(e,nt,c),$(e,mt,c),l(J,e,c),$(e,gt,c),$(e,K,c),$(e,lt,c),$(e,Q,c),$(e,pt,c),l(X,e,c),$(e,ft,c),$(e,i,c),l(Z,i,null),t(i,Yt),t(i,Le),t(i,Jt),t(i,z),l(ee,z,null),t(z,Kt),t(z,ke),t(i,Qt),t(i,V),l(te,V,null),t(V,Xt),t(V,Ae),t(i,Zt),t(i,C),l(re,C,null),t(C,er),t(C,Me),t(i,tr),t(i,T),l(oe,T,null),t(T,rr),t(T,Ee),t(i,or),t(i,D),l(se,D,null),t(D,sr),t(D,Ne),t(i,ar),t(i,L),l(ae,L,null),t(L,nr),t(L,We),t(i,ir),t(i,k),l(ne,k,null),t(k,dr),t(k,Fe),t(i,cr),t(i,A),l(ie,A,null),t(A,mr),t(A,He),t(i,gr),t(i,M),l(de,M,null),t(M,lr),t(M,Re),t(i,pr),t(i,E),l(ce,E,null),t(E,fr),t(E,qe),t(i,ur),t(i,N),l(me,N,null),t(N,hr),t(N,Oe),t(i,_r),t(i,W),l(ge,W,null),t(W,vr),t(W,Ue),t(i,br),t(i,F),l(le,F,null),t(F,$r),t(F,Ge),t(i,Pr),t(i,H),l(pe,H,null),t(H,xr),t(H,je),t(i,Ir),t(i,R),l(fe,R,null),t(R,yr),t(R,Be),t(i,wr),t(i,q),l(ue,q,null),t(q,zr),t(q,Se),$(e,ut,c),l(he,e,c),$(e,ht,c),$(e,_e,c),$(e,_t,c),$(e,P,c),l(ve,P,null),t(P,Vr),t(P,Ye),t(P,Cr),t(P,O),l(be,O,null),t(O,Tr),t(O,Je),t(P,Dr),t(P,U),l($e,U,null),t(U,Lr),t(U,Ke),t(P,kr),t(P,G),l(Pe,G,null),t(G,Ar),t(G,Qe),t(P,Mr),t(P,j),l(xe,j,null),t(j,Er),t(j,Xe),t(P,Nr),t(P,B),l(Ie,B,null),t(B,Wr),t(B,Ze),$(e,vt,c),l(ye,e,c),$(e,bt,c),$(e,I,c),l(we,I,null),t(I,Fr),t(I,et),t(I,Hr),t(I,S),l(ze,S,null),t(S,Rr),t(S,tt),$(e,$t,c),l(Ve,e,c),$(e,Pt,c),$(e,y,c),l(Ce,y,null),t(y,qr),t(y,rt),t(y,Or),t(y,Y),l(Te,Y,null),t(Y,Ur),t(Y,ot),$(e,xt,c),l(De,e,c),$(e,It,c),$(e,it,c),yt=!0},p:Io,i(e){yt||(p(J.$$.fragment,e),p(X.$$.fragment,e),p(Z.$$.fragment,e),p(ee.$$.fragment,e),p(te.$$.fragment,e),p(re.$$.fragment,e),p(oe.$$.fragment,e),p(se.$$.fragment,e),p(ae.$$.fragment,e),p(ne.$$.fragment,e),p(ie.$$.fragment,e),p(de.$$.fragment,e),p(ce.$$.fragment,e),p(me.$$.fragment,e),p(ge.$$.fragment,e),p(le.$$.fragment,e),p(pe.$$.fragment,e),p(fe.$$.fragment,e),p(ue.$$.fragment,e),p(he.$$.fragment,e),p(ve.$$.fragment,e),p(be.$$.fragment,e),p($e.$$.fragment,e),p(Pe.$$.fragment,e),p(xe.$$.fragment,e),p(Ie.$$.fragment,e),p(ye.$$.fragment,e),p(we.$$.fragment,e),p(ze.$$.fragment,e),p(Ve.$$.fragment,e),p(Ce.$$.fragment,e),p(Te.$$.fragment,e),p(De.$$.fragment,e),yt=!0)},o(e){f(J.$$.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(ne.$$.fragment,e),f(ie.$$.fragment,e),f(de.$$.fragment,e),f(ce.$$.fragment,e),f(me.$$.fragment,e),f(ge.$$.fragment,e),f(le.$$.fragment,e),f(pe.$$.fragment,e),f(fe.$$.fragment,e),f(ue.$$.fragment,e),f(he.$$.fragment,e),f(ve.$$.fragment,e),f(be.$$.fragment,e),f($e.$$.fragment,e),f(Pe.$$.fragment,e),f(xe.$$.fragment,e),f(Ie.$$.fragment,e),f(ye.$$.fragment,e),f(we.$$.fragment,e),f(ze.$$.fragment,e),f(Ve.$$.fragment,e),f(Ce.$$.fragment,e),f(Te.$$.fragment,e),f(De.$$.fragment,e),yt=!1},d(e){e&&(n(ct),n(nt),n(mt),n(gt),n(K),n(lt),n(Q),n(pt),n(ft),n(i),n(ut),n(ht),n(_e),n(_t),n(P),n(vt),n(bt),n(I),n($t),n(Pt),n(y),n(xt),n(It),n(it)),n(w),u(J,e),u(X,e),u(Z),u(ee),u(te),u(re),u(oe),u(se),u(ae),u(ne),u(ie),u(de),u(ce),u(me),u(ge),u(le),u(pe),u(fe),u(ue),u(he,e),u(ve),u(be),u($e),u(Pe),u(xe),u(Ie),u(ye,e),u(we),u(ze),u(Ve,e),u(Ce),u(Te),u(De,e)}}}const Do='{"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},{"title":"PixArtImageProcessor","local":"diffusers.image_processor.PixArtImageProcessor","sections":[],"depth":2},{"title":"IPAdapterMaskProcessor","local":"diffusers.image_processor.IPAdapterMaskProcessor","sections":[],"depth":2}],"depth":1}';function Lo(Gr){return yo(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class No extends wo{constructor(w){super(),zo(this,w,Lo,To,xo,{})}}export{No as component};
