import{s as $e,n as we,o as Ce}from"../chunks/scheduler.8c3d61f6.js";import{S as Fe,i as Le,g as d,s as t,r as l,A as Ie,h as a,f as o,c as s,j as D,u,x as v,k as G,y as i,a as n,v as _,d as g,t as h,w as P}from"../chunks/index.da70eac4.js";import{D as K}from"../chunks/Docstring.6b390b9a.js";import{H as _e,E as Ne}from"../chunks/EditOnGithub.1e64e623.js";function je(ge){let c,R,z,U,y,J,x,he='The Prior Transformer was originally introduced in <a href="https://huggingface.co/papers/2204.06125" rel="nofollow">Hierarchical Text-Conditional Image Generation with CLIP Latents</a> by Ramesh et al. It is used to predict CLIP image embeddings from CLIP text embeddings; image embeddings are predicted through a denoising diffusion process.',q,$,Pe="The abstract from the paper is:",W,w,be="<em>Contrastive models like CLIP have been shown to learn robust representations of images that capture both semantics and style. To leverage these representations for image generation, we propose a two-stage model: a prior that generates a CLIP image embedding given a text caption, and a decoder that generates an image conditioned on the image embedding. We show that explicitly generating image representations improves image diversity with minimal loss in photorealism and caption similarity. Our decoders conditioned on image representations can also produce variations of an image that preserve both its semantics and style, while varying the non-essential details absent from the image representation. Moreover, the joint embedding space of CLIP enables language-guided image manipulations in a zero-shot fashion. We use diffusion models for the decoder and experiment with both autoregressive and diffusion models for the prior, finding that the latter are computationally more efficient and produce higher-quality samples.</em>",B,C,Q,m,F,de,H,Ae="A Prior Transformer model.",ae,b,L,me,S,Te='The <a href="/docs/diffusers/pr_10115/en/api/models/prior_transformer#diffusers.PriorTransformer">PriorTransformer</a> forward method.',fe,A,I,ce,M,ve="Sets the attention processor to use to compute attention.",pe,T,N,le,X,ye="Disables custom attention processors and sets the default attention implementation.",Y,j,Z,p,O,ue,k,xe='The output of <a href="/docs/diffusers/pr_10115/en/api/models/prior_transformer#diffusers.PriorTransformer">PriorTransformer</a>.',ee,V,oe,E,re;return y=new _e({props:{title:"PriorTransformer",local:"priortransformer",headingTag:"h1"}}),C=new _e({props:{title:"PriorTransformer",local:"diffusers.PriorTransformer",headingTag:"h2"}}),F=new K({props:{name:"class diffusers.PriorTransformer",anchor:"diffusers.PriorTransformer",parameters:[{name:"num_attention_heads",val:": int = 32"},{name:"attention_head_dim",val:": int = 64"},{name:"num_layers",val:": int = 20"},{name:"embedding_dim",val:": int = 768"},{name:"num_embeddings",val:" = 77"},{name:"additional_embeddings",val:" = 4"},{name:"dropout",val:": float = 0.0"},{name:"time_embed_act_fn",val:": str = 'silu'"},{name:"norm_in_type",val:": typing.Optional[str] = None"},{name:"embedding_proj_norm_type",val:": typing.Optional[str] = None"},{name:"encoder_hid_proj_type",val:": typing.Optional[str] = 'linear'"},{name:"added_emb_type",val:": typing.Optional[str] = 'prd'"},{name:"time_embed_dim",val:": typing.Optional[int] = None"},{name:"embedding_proj_dim",val:": typing.Optional[int] = None"},{name:"clip_embed_dim",val:": typing.Optional[int] = None"}],parametersDescription:[{anchor:"diffusers.PriorTransformer.num_attention_heads",description:"<strong>num_attention_heads</strong> (<code>int</code>, <em>optional</em>, defaults to 32) &#x2014; The number of heads to use for multi-head attention.",name:"num_attention_heads"},{anchor:"diffusers.PriorTransformer.attention_head_dim",description:"<strong>attention_head_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 64) &#x2014; The number of channels in each head.",name:"attention_head_dim"},{anchor:"diffusers.PriorTransformer.num_layers",description:"<strong>num_layers</strong> (<code>int</code>, <em>optional</em>, defaults to 20) &#x2014; The number of layers of Transformer blocks to use.",name:"num_layers"},{anchor:"diffusers.PriorTransformer.embedding_dim",description:"<strong>embedding_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 768) &#x2014; The dimension of the model input <code>hidden_states</code>",name:"embedding_dim"},{anchor:"diffusers.PriorTransformer.num_embeddings",description:`<strong>num_embeddings</strong> (<code>int</code>, <em>optional</em>, defaults to 77) &#x2014;
The number of embeddings of the model input <code>hidden_states</code>`,name:"num_embeddings"},{anchor:"diffusers.PriorTransformer.additional_embeddings",description:`<strong>additional_embeddings</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014; The number of additional tokens appended to the
projected <code>hidden_states</code>. The actual length of the used <code>hidden_states</code> is <code>num_embeddings + additional_embeddings</code>.`,name:"additional_embeddings"},{anchor:"diffusers.PriorTransformer.dropout",description:"<strong>dropout</strong> (<code>float</code>, <em>optional</em>, defaults to 0.0) &#x2014; The dropout probability to use.",name:"dropout"},{anchor:"diffusers.PriorTransformer.time_embed_act_fn",description:`<strong>time_embed_act_fn</strong> (<code>str</code>, <em>optional</em>, defaults to &#x2018;silu&#x2019;) &#x2014;
The activation function to use to create timestep embeddings.`,name:"time_embed_act_fn"},{anchor:"diffusers.PriorTransformer.norm_in_type",description:`<strong>norm_in_type</strong> (<code>str</code>, <em>optional</em>, defaults to None) &#x2014; The normalization layer to apply on hidden states before
passing to Transformer blocks. Set it to <code>None</code> if normalization is not needed.`,name:"norm_in_type"},{anchor:"diffusers.PriorTransformer.embedding_proj_norm_type",description:`<strong>embedding_proj_norm_type</strong> (<code>str</code>, <em>optional</em>, defaults to None) &#x2014;
The normalization layer to apply on the input <code>proj_embedding</code>. Set it to <code>None</code> if normalization is not
needed.`,name:"embedding_proj_norm_type"},{anchor:"diffusers.PriorTransformer.encoder_hid_proj_type",description:`<strong>encoder_hid_proj_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>linear</code>) &#x2014;
The projection layer to apply on the input <code>encoder_hidden_states</code>. Set it to <code>None</code> if
<code>encoder_hidden_states</code> is <code>None</code>.`,name:"encoder_hid_proj_type"},{anchor:"diffusers.PriorTransformer.added_emb_type",description:`<strong>added_emb_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>prd</code>) &#x2014; Additional embeddings to condition the model.
Choose from <code>prd</code> or <code>None</code>. if choose <code>prd</code>, it will prepend a token indicating the (quantized) dot
product between the text embedding and image embedding as proposed in the unclip paper
<a href="https://arxiv.org/abs/2204.06125" rel="nofollow">https://arxiv.org/abs/2204.06125</a> If it is <code>None</code>, no additional embeddings will be prepended.`,name:"added_emb_type"},{anchor:"diffusers.PriorTransformer.time_embed_dim",description:"<strong>time_embed_dim</strong> (<code>int, *optional*, defaults to None) -- The dimension of timestep embeddings. If None, will be set to </code>num_attention_heads * attention_head_dim`",name:"time_embed_dim"},{anchor:"diffusers.PriorTransformer.embedding_proj_dim",description:`<strong>embedding_proj_dim</strong> (<code>int</code>, <em>optional</em>, default to None) &#x2014;
The dimension of <code>proj_embedding</code>. If None, will be set to <code>embedding_dim</code>.`,name:"embedding_proj_dim"},{anchor:"diffusers.PriorTransformer.clip_embed_dim",description:`<strong>clip_embed_dim</strong> (<code>int</code>, <em>optional</em>, default to None) &#x2014;
The dimension of the output. If None, will be set to <code>embedding_dim</code>.`,name:"clip_embed_dim"}],source:"https://github.com/huggingface/diffusers/blob/vr_10115/src/diffusers/models/transformers/prior_transformer.py#L36"}}),L=new K({props:{name:"forward",anchor:"diffusers.PriorTransformer.forward",parameters:[{name:"hidden_states",val:""},{name:"timestep",val:": typing.Union[torch.Tensor, float, int]"},{name:"proj_embedding",val:": Tensor"},{name:"encoder_hidden_states",val:": typing.Optional[torch.Tensor] = None"},{name:"attention_mask",val:": typing.Optional[torch.BoolTensor] = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.PriorTransformer.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, embedding_dim)</code>) &#x2014;
The currently predicted image embeddings.`,name:"hidden_states"},{anchor:"diffusers.PriorTransformer.forward.timestep",description:`<strong>timestep</strong> (<code>torch.LongTensor</code>) &#x2014;
Current denoising step.`,name:"timestep"},{anchor:"diffusers.PriorTransformer.forward.proj_embedding",description:`<strong>proj_embedding</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, embedding_dim)</code>) &#x2014;
Projected embedding vector the denoising process is conditioned on.`,name:"proj_embedding"},{anchor:"diffusers.PriorTransformer.forward.encoder_hidden_states",description:`<strong>encoder_hidden_states</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_embeddings, embedding_dim)</code>) &#x2014;
Hidden states of the text embeddings the denoising process is conditioned on.`,name:"encoder_hidden_states"},{anchor:"diffusers.PriorTransformer.forward.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.BoolTensor</code> of shape <code>(batch_size, num_embeddings)</code>) &#x2014;
Text mask for the text embeddings.`,name:"attention_mask"},{anchor:"diffusers.PriorTransformer.forward.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <a href="/docs/diffusers/pr_10115/en/api/models/prior_transformer#diffusers.models.transformers.prior_transformer.PriorTransformerOutput">PriorTransformerOutput</a> instead of
a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_10115/src/diffusers/models/transformers/prior_transformer.py#L245",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is True, a <a
  href="/docs/diffusers/pr_10115/en/api/models/prior_transformer#diffusers.models.transformers.prior_transformer.PriorTransformerOutput"
>PriorTransformerOutput</a> is
returned, otherwise a tuple is returned where the first element is the sample tensor.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/diffusers/pr_10115/en/api/models/prior_transformer#diffusers.models.transformers.prior_transformer.PriorTransformerOutput"
>PriorTransformerOutput</a> or <code>tuple</code></p>
`}}),I=new K({props:{name:"set_attn_processor",anchor:"diffusers.PriorTransformer.set_attn_processor",parameters:[{name:"processor",val:": typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.JointAttnProcessor2_0, diffusers.models.attention_processor.PAGJointAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGJointAttnProcessor2_0, diffusers.models.attention_processor.FusedJointAttnProcessor2_0, diffusers.models.attention_processor.AllegroAttnProcessor2_0, diffusers.models.attention_processor.AuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FusedAuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.CogVideoXAttnProcessor2_0, diffusers.models.attention_processor.FusedCogVideoXAttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.AttnProcessorNPU, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.MochiVaeAttnProcessor2_0, diffusers.models.attention_processor.StableAudioAttnProcessor2_0, diffusers.models.attention_processor.HunyuanAttnProcessor2_0, diffusers.models.attention_processor.FusedHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.LuminaAttnProcessor2_0, diffusers.models.attention_processor.MochiAttnProcessor2_0, diffusers.models.attention_processor.FusedAttnProcessor2_0, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor2_0, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.IPAdapterAttnProcessor, diffusers.models.attention_processor.IPAdapterAttnProcessor2_0, diffusers.models.attention_processor.IPAdapterXFormersAttnProcessor, diffusers.models.attention_processor.PAGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor, typing.Dict[str, typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.JointAttnProcessor2_0, diffusers.models.attention_processor.PAGJointAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGJointAttnProcessor2_0, diffusers.models.attention_processor.FusedJointAttnProcessor2_0, diffusers.models.attention_processor.AllegroAttnProcessor2_0, diffusers.models.attention_processor.AuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FusedAuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.CogVideoXAttnProcessor2_0, diffusers.models.attention_processor.FusedCogVideoXAttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.AttnProcessorNPU, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.MochiVaeAttnProcessor2_0, diffusers.models.attention_processor.StableAudioAttnProcessor2_0, diffusers.models.attention_processor.HunyuanAttnProcessor2_0, diffusers.models.attention_processor.FusedHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.LuminaAttnProcessor2_0, diffusers.models.attention_processor.MochiAttnProcessor2_0, diffusers.models.attention_processor.FusedAttnProcessor2_0, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor2_0, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.IPAdapterAttnProcessor, diffusers.models.attention_processor.IPAdapterAttnProcessor2_0, diffusers.models.attention_processor.IPAdapterXFormersAttnProcessor, diffusers.models.attention_processor.PAGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor]]]"}],parametersDescription:[{anchor:"diffusers.PriorTransformer.set_attn_processor.processor",description:`<strong>processor</strong> (<code>dict</code> of <code>AttentionProcessor</code> or only <code>AttentionProcessor</code>) &#x2014;
The instantiated processor class or a dictionary of processor classes that will be set as the processor
for <strong>all</strong> <code>Attention</code> layers.</p>
<p>If <code>processor</code> is a dict, the key needs to define the path to the corresponding cross attention
processor. This is strongly recommended when setting trainable attention processors.`,name:"processor"}],source:"https://github.com/huggingface/diffusers/blob/vr_10115/src/diffusers/models/transformers/prior_transformer.py#L195"}}),N=new K({props:{name:"set_default_attn_processor",anchor:"diffusers.PriorTransformer.set_default_attn_processor",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10115/src/diffusers/models/transformers/prior_transformer.py#L230"}}),j=new _e({props:{title:"PriorTransformerOutput",local:"diffusers.models.transformers.prior_transformer.PriorTransformerOutput",headingTag:"h2"}}),O=new K({props:{name:"class diffusers.models.transformers.prior_transformer.PriorTransformerOutput",anchor:"diffusers.models.transformers.prior_transformer.PriorTransformerOutput",parameters:[{name:"predicted_image_embedding",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.models.transformers.prior_transformer.PriorTransformerOutput.predicted_image_embedding",description:`<strong>predicted_image_embedding</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, embedding_dim)</code>) &#x2014;
The predicted CLIP image embedding conditioned on the CLIP text embedding input.`,name:"predicted_image_embedding"}],source:"https://github.com/huggingface/diffusers/blob/vr_10115/src/diffusers/models/transformers/prior_transformer.py#L23"}}),V=new Ne({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/prior_transformer.md"}}),{c(){c=d("meta"),R=t(),z=d("p"),U=t(),l(y.$$.fragment),J=t(),x=d("p"),x.innerHTML=he,q=t(),$=d("p"),$.textContent=Pe,W=t(),w=d("p"),w.innerHTML=be,B=t(),l(C.$$.fragment),Q=t(),m=d("div"),l(F.$$.fragment),de=t(),H=d("p"),H.textContent=Ae,ae=t(),b=d("div"),l(L.$$.fragment),me=t(),S=d("p"),S.innerHTML=Te,fe=t(),A=d("div"),l(I.$$.fragment),ce=t(),M=d("p"),M.textContent=ve,pe=t(),T=d("div"),l(N.$$.fragment),le=t(),X=d("p"),X.textContent=ye,Y=t(),l(j.$$.fragment),Z=t(),p=d("div"),l(O.$$.fragment),ue=t(),k=d("p"),k.innerHTML=xe,ee=t(),l(V.$$.fragment),oe=t(),E=d("p"),this.h()},l(e){const r=Ie("svelte-u9bgzb",document.head);c=a(r,"META",{name:!0,content:!0}),r.forEach(o),R=s(e),z=a(e,"P",{}),D(z).forEach(o),U=s(e),u(y.$$.fragment,e),J=s(e),x=a(e,"P",{"data-svelte-h":!0}),v(x)!=="svelte-j0j2ni"&&(x.innerHTML=he),q=s(e),$=a(e,"P",{"data-svelte-h":!0}),v($)!=="svelte-1cwsb16"&&($.textContent=Pe),W=s(e),w=a(e,"P",{"data-svelte-h":!0}),v(w)!=="svelte-ha34c8"&&(w.innerHTML=be),B=s(e),u(C.$$.fragment,e),Q=s(e),m=a(e,"DIV",{class:!0});var f=D(m);u(F.$$.fragment,f),de=s(f),H=a(f,"P",{"data-svelte-h":!0}),v(H)!=="svelte-jdqpwr"&&(H.textContent=Ae),ae=s(f),b=a(f,"DIV",{class:!0});var te=D(b);u(L.$$.fragment,te),me=s(te),S=a(te,"P",{"data-svelte-h":!0}),v(S)!=="svelte-16imgxl"&&(S.innerHTML=Te),te.forEach(o),fe=s(f),A=a(f,"DIV",{class:!0});var se=D(A);u(I.$$.fragment,se),ce=s(se),M=a(se,"P",{"data-svelte-h":!0}),v(M)!=="svelte-1o77hl2"&&(M.textContent=ve),se.forEach(o),pe=s(f),T=a(f,"DIV",{class:!0});var ne=D(T);u(N.$$.fragment,ne),le=s(ne),X=a(ne,"P",{"data-svelte-h":!0}),v(X)!=="svelte-1lxcwhv"&&(X.textContent=ye),ne.forEach(o),f.forEach(o),Y=s(e),u(j.$$.fragment,e),Z=s(e),p=a(e,"DIV",{class:!0});var ie=D(p);u(O.$$.fragment,ie),ue=s(ie),k=a(ie,"P",{"data-svelte-h":!0}),v(k)!=="svelte-1e4md8x"&&(k.innerHTML=xe),ie.forEach(o),ee=s(e),u(V.$$.fragment,e),oe=s(e),E=a(e,"P",{}),D(E).forEach(o),this.h()},h(){G(c,"name","hf:doc:metadata"),G(c,"content",Oe),G(b,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),G(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),G(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),G(m,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),G(p,"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,r){i(document.head,c),n(e,R,r),n(e,z,r),n(e,U,r),_(y,e,r),n(e,J,r),n(e,x,r),n(e,q,r),n(e,$,r),n(e,W,r),n(e,w,r),n(e,B,r),_(C,e,r),n(e,Q,r),n(e,m,r),_(F,m,null),i(m,de),i(m,H),i(m,ae),i(m,b),_(L,b,null),i(b,me),i(b,S),i(m,fe),i(m,A),_(I,A,null),i(A,ce),i(A,M),i(m,pe),i(m,T),_(N,T,null),i(T,le),i(T,X),n(e,Y,r),_(j,e,r),n(e,Z,r),n(e,p,r),_(O,p,null),i(p,ue),i(p,k),n(e,ee,r),_(V,e,r),n(e,oe,r),n(e,E,r),re=!0},p:we,i(e){re||(g(y.$$.fragment,e),g(C.$$.fragment,e),g(F.$$.fragment,e),g(L.$$.fragment,e),g(I.$$.fragment,e),g(N.$$.fragment,e),g(j.$$.fragment,e),g(O.$$.fragment,e),g(V.$$.fragment,e),re=!0)},o(e){h(y.$$.fragment,e),h(C.$$.fragment,e),h(F.$$.fragment,e),h(L.$$.fragment,e),h(I.$$.fragment,e),h(N.$$.fragment,e),h(j.$$.fragment,e),h(O.$$.fragment,e),h(V.$$.fragment,e),re=!1},d(e){e&&(o(R),o(z),o(U),o(J),o(x),o(q),o($),o(W),o(w),o(B),o(Q),o(m),o(Y),o(Z),o(p),o(ee),o(oe),o(E)),o(c),P(y,e),P(C,e),P(F),P(L),P(I),P(N),P(j,e),P(O),P(V,e)}}}const Oe='{"title":"PriorTransformer","local":"priortransformer","sections":[{"title":"PriorTransformer","local":"diffusers.PriorTransformer","sections":[],"depth":2},{"title":"PriorTransformerOutput","local":"diffusers.models.transformers.prior_transformer.PriorTransformerOutput","sections":[],"depth":2}],"depth":1}';function Ve(ge){return Ce(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Me extends Fe{constructor(c){super(),Le(this,c,Ve,je,$e,{})}}export{Me as component};
