Files
uiogaming.no-backend/dist/static/Popover-DRCM1MS--D_baORsU.js
T
2026-08-29 16:59:39 +02:00

1 line
15 KiB
JavaScript

import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{bt as i}from"./datastores-QCSg1Xje-YkK-bPC6.js";import{a,h as o}from"./dist-YZdrrSYe.js";import{K as s,M as c,R as l}from"./authStore-CWTAuieY-Bj4OKbKy.js";import{Q as u,i as d,t as f,u as p}from"./dist-DDhzSbNW.js";import{h as m,o as h}from"./getEnv-76AjZd_f-D3WOSUNZ.js";import{t as g}from"./from-D9LOdazm.js";import{t as _}from"./map-UaEckSmz.js";import{A as v,B as y,D as b,H as x,K as S,Q as C,U as w,X as T,a as E,b as D,it as O,k,l as ee,rt as A,s as te,t as j,w as M}from"./layer-DGn7KJIB-bJamSbY3.js";import{W as ne}from"./dist-DPiSifsE.js";import{b as re,c as N,d as P,f as F,g as I,l as L,m as R,o as z,p as B,r as V,s as ie,u as H,x as U,y as ae}from"./Button-C3fv4V65-l1L-565a.js";var W=e(t(),1),G=r(),K=n();function q(e,t){let n=[t,!0],r={type:`tuple`,tuple:n};return function(t){let i=(0,W.useMemo)(()=>m(t).pipe(c(t=>s(m({type:`loading`}),e(t).pipe(_(e=>({type:`value`,value:e}))))),u(([e],t)=>t.type===`loading`?[e,!0]:[t.value,!1],n),l(([e,t],[n,r])=>e===n&&t===r),_(e=>({type:`tuple`,tuple:e})),h(e=>m({type:`error`,error:e}))),[t]),a=f(i,r),o=d(i,r);if(o.type===`error`)throw o.error;if(a.type===`error`)throw a.error;return a.tuple}}var J=q(([e,t])=>g(e.getUser(t).catch(e=>(console.error(e),null))));function oe(e){let t=(0,G.c)(3),n=i(),r;return t[0]!==e||t[1]!==n?(r=[n,e],t[0]=e,t[1]=n,t[2]=r):r=t[2],J(r)}function se(){let{currentUser:e}=p();return e}var Y=2e3,ce=C(k).withConfig({displayName:`StyledCard`,componentId:`sc-hwewk8-0`})(({$fill:e})=>T`align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;${e?T`bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;`:T`min-height:75px;height:stretch;height:-webkit-fill-available;width:stretch;width:-webkit-fill-available;`} ${!1} > *{position:absolute;}`),le=C(D).withConfig({displayName:`StyledSpinner`,componentId:`sc-hwewk8-1`})(({$animatePosition:e=!0})=>T`@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}@keyframes slideUp{from{transform:translateY(0);}to{transform:translateY(-15px);}}animation:${e?`500ms ease-out 750ms 1 normal both running fadeIn, 750ms ease-out ${Y}ms 1 normal both running slideUp`:`500ms ease-out 750ms 1 normal both running fadeIn`};`),ue=C(M).withConfig({displayName:`StyledText`,componentId:`sc-hwewk8-2`})`@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}@keyframes slideDown{from{transform:translateY(0);}to{transform:translateY(15px);}}animation:1500ms ease-out ${Y}ms 1 normal both running fadeIn,750ms ease-out ${Y}ms 1 normal both running slideDown;`;function de(e){let t=(0,G.c)(10),{fill:n,showText:r,title:i}=e,a=n?j:`div`,o=!!r,s;t[0]===o?s=t[1]:(s=(0,K.jsx)(le,{$animatePosition:o,muted:!0}),t[0]=o,t[1]=s);let c;t[2]!==r||t[3]!==i?(c=r&&(0,K.jsx)(fe,{title:i}),t[2]=r,t[3]=i,t[4]=c):c=t[4];let l;return t[5]!==n||t[6]!==a||t[7]!==s||t[8]!==c?(l=(0,K.jsxs)(ce,{$fill:n,as:a,"data-testid":`loading-block`,children:[s,c]}),t[5]=n,t[6]=a,t[7]=s,t[8]=c,t[9]=l):l=t[9],l}function fe(e){let t=(0,G.c)(5),{title:n}=e,{t:r}=o(),i;t[0]!==r||t[1]!==n?(i=n||r(`common.loading`),t[0]=r,t[1]=n,t[2]=i):i=t[2];let a;return t[3]===i?a=t[4]:(a=(0,K.jsx)(ue,{muted:!0,size:1,children:i}),t[3]=i,t[4]=a),a}var pe=[0,0,0,0],me={top:[`bottom`,`left`,`right`],"top-start":[`bottom-start`,`left-start`,`right-start`],"top-end":[`bottom-end`,`left-end`,`right-end`],bottom:[`top`,`left`,`right`],"bottom-start":[`top-start`,`left-start`,`right-start`],"bottom-end":[`top-end`,`left-end`,`right-end`],left:[`right`,`top`,`bottom`],"left-start":[`right-start`,`top-start`,`bottom-start`],"left-end":[`right-end`,`top-end`,`bottom-end`],right:[`left`,`top`,`bottom`],"right-start":[`left-start`,`top-start`,`bottom-start`],"right-end":[`left-end`,`top-end`,`bottom-end`]};function he(e){let{constrainSize:t,margins:n,matchReferenceWidth:r,maxWidthRef:i,padding:a=0,referenceWidthRef:o,setReferenceWidth:s,widthRef:c}=e;return{name:`@sanity/ui/size`,async fn(l){let{elements:u,placement:d,platform:f,rects:p}=l,{floating:m,reference:h}=p,g=await I(l,{altBoundary:!0,boundary:e.boundaryElement||void 0,elementContext:`floating`,padding:a,rootBoundary:`viewport`}),_=1/0,v=1/0,y=m.width,b=m.height;d.includes(`top`)&&(_=y-(g.left+g.right),v=b-g.top),d.includes(`right`)&&(_=y-g.right,v=b-(g.top+g.bottom)),d.includes(`bottom`)&&(_=y-(g.left+g.right),v=b-g.bottom),d.includes(`left`)&&(_=y-g.left,v=b-(g.top+g.bottom));let x=_-n[1]-n[3],S=v-n[0]-n[2],C=h.width-n[1]-n[3];o.current=C,s(C),r?u.floating.style.width=`${C}px`:c.current!==void 0&&(u.floating.style.width=`${c.current}px`),t&&(u.floating.style.maxWidth=`${Math.min(x,i.current??1/0)}px`,u.floating.style.maxHeight=`${S}px`);let w=await f.getDimensions(u.floating),T=w.height;return y!==w.width||b!==T?{reset:{rects:!0}}:{}}}}function ge(e){let{container:t,mediaIndex:n,width:r}=e,i=r[n],a=i===void 0?r[r.length-1]:i;return typeof a==`number`?t[a]:void 0}function _e(e){let{boundaryWidth:t,currentWidth:n}=e;if(n!==void 0||t!==void 0)return Math.min(n??1/0,(t||1/0)-8)}var ve=C(a.create(k)).withConfig({displayName:`MotionCard`,componentId:`sc-x815ar-0`})`&:not([hidden]){display:flex;}flex-direction:column;width:max-content;min-width:min-content;will-change:transform;`;function ye(e){let t=(0,G.c)(59),n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,x,S,C,w,T,D;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],x=t[18],S=t[19],C=t[20],w=t[21],T=t[22],D=t[23]):({__unstable_margins:c,animate:n,arrow:r,arrowRef:i,arrowX:a,arrowY:o,children:s,padding:f,placement:p,originX:l,originY:u,overflow:d,radius:m,ref:h,scheme:_,shadow:v,strategy:x,style:S,tone:C,width:w,x:T,y:D,...g}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=x,t[19]=S,t[20]=C,t[21]=w,t[22]=T,t[23]=D);let{zIndex:O}=y(),k=c||pe,ee=(T??0)+k[3],te=(D??0)+k[0],j=n?`transform`:void 0,M;t[24]!==l||t[25]!==u||t[26]!==x||t[27]!==S||t[28]!==j||t[29]!==w||t[30]!==ee||t[31]!==te||t[32]!==O?(M={left:ee,originX:l,originY:u,position:x,top:te,width:w,zIndex:O,willChange:j,...S},t[24]=l,t[25]=u,t[26]=x,t[27]=S,t[28]=j,t[29]=w,t[30]=ee,t[31]=te,t[32]=O,t[33]=M):M=t[33];let ne=M,re=a===null?void 0:a,N=o===null?void 0:o,P;t[34]!==re||t[35]!==N?(P={left:re,top:N,right:void 0,bottom:void 0},t[34]=re,t[35]=N,t[36]=P):P=t[36];let F=P,I=n?A:void 0,L;t[37]!==s||t[38]!==f?(L=(0,K.jsx)(b,{direction:`column`,flex:1,padding:f,children:s}),t[37]=s,t[38]=f,t[39]=L):L=t[39];let R;t[40]!==d||t[41]!==L?(R=(0,K.jsx)(b,{"data-ui":`Popover__wrapper`,direction:`column`,flex:1,overflow:d,children:L}),t[40]=d,t[41]=L,t[42]=R):R=t[42];let z;t[43]!==r||t[44]!==i||t[45]!==F?(z=r&&(0,K.jsx)(E,{ref:i,style:F,width:19,height:8,radius:2}),t[43]=r,t[44]=i,t[45]=F,t[46]=z):z=t[46];let B;return t[47]!==p||t[48]!==m||t[49]!==h||t[50]!==g||t[51]!==ne||t[52]!==_||t[53]!==v||t[54]!==I||t[55]!==R||t[56]!==z||t[57]!==C?(B=(0,K.jsxs)(ve,{"data-ui":`Popover`,...g,"data-placement":p,radius:m,ref:h,scheme:_,shadow:v,sizing:`border`,style:ne,tone:C,...I,children:[R,z]}),t[47]=p,t[48]=m,t[49]=h,t[50]=g,t[51]=ne,t[52]=_,t[53]=v,t[54]=I,t[55]=R,t[56]=z,t[57]=C,t[58]=B):B=t[58],B}var be=()=>{let e=(0,G.c)(2),{zIndex:t}=y(),n;return e[0]===t?n=e[1]:(n=(0,K.jsx)(`div`,{style:{height:`100vh`,inset:0,position:`fixed`,width:`100vw`,zIndex:t}}),e[0]=t,e[1]=n),n};function xe(e){let t=(0,G.c)(126),{container:n,layer:r}=S(),i=ee(),a,o,s,c,l,u,d,f,p,m,h,g,_,y,b,C,T,E,D,k,A,j,M,N,P,F,I,L,z;if(t[0]!==e){let{__unstable_margins:n,animate:r,arrow:i,children:v,constrainSize:x,content:S,disabled:w,fallbackPlacements:O,matchReferenceWidth:ee,floatingBoundary:te,modal:ne,onActivate:re,open:R,overflow:B,padding:V,placement:ie,placementStrategy:H,portal:U,preventOverflow:ae,radius:W,ref:G,referenceBoundary:K,referenceElement:q,scheme:J,shadow:oe,tone:se,width:Y,zOffset:ce,updateRef:le,...ue}=e;T=n,E=r,A=i,l=v,j=x,u=S,d=w,a=O,p=ee,o=te,m=ne,h=R,M=B,g=V,N=ie,P=H,_=U,F=ae,I=W,f=G,s=K,y=q,C=J,L=oe,D=se,k=Y,c=ce,z=le,b=ue,t[0]=e,t[1]=a,t[2]=o,t[3]=s,t[4]=c,t[5]=l,t[6]=u,t[7]=d,t[8]=f,t[9]=p,t[10]=m,t[11]=h,t[12]=g,t[13]=_,t[14]=y,t[15]=b,t[16]=C,t[17]=T,t[18]=E,t[19]=D,t[20]=k,t[21]=A,t[22]=j,t[23]=M,t[24]=N,t[25]=P,t[26]=F,t[27]=I,t[28]=L,t[29]=z}else a=t[1],o=t[2],s=t[3],c=t[4],l=t[5],u=t[6],d=t[7],f=t[8],p=t[9],m=t[10],h=t[11],g=t[12],_=t[13],y=t[14],b=t[15],C=t[16],T=t[17],E=t[18],D=t[19],k=t[20],A=t[21],j=t[22],M=t[23],N=t[24],P=t[25],F=t[26],I=t[27],L=t[28],z=t[29];let V=T===void 0?pe:T,ie=E!==void 0&&E,H=A!==void 0&&A,U=j!==void 0&&j,q=M===void 0?`hidden`:M,J=N===void 0?`bottom`:N,oe=P===void 0?`flip`:P,se=F===void 0||F,Y=I===void 0?3:I,ce=L===void 0?3:L,le=D===void 0?`inherit`:D,ue=k===void 0?`auto`:k,de=a??me[e.placement??`bottom`],fe=o??i.element,he=s??i.element,ve=i.element??fe,xe=c??r.popover.zOffset,X=!w()&&ie,Ce=ne(ve)?.border,we;t[30]===g?we=t[31]:(we=O(g),t[30]=g,t[31]=we);let Te=we,Ee;t[32]===Y?Ee=t[33]:(Ee=O(Y),t[32]=Y,t[33]=Ee);let De=Ee,Oe;t[34]===ce?Oe=t[35]:(Oe=O(ce),t[34]=ce,t[35]=Oe);let ke=Oe,Ae=O(ue),je;t[36]===xe?je=t[37]:(je=O(xe),t[36]=xe,t[37]=je);let Me=je,Ne=(0,W.useRef)(null),Pe=(0,W.useRef)(null),Fe;t[38]===Symbol.for(`react.memo_cache_sentinel`)?(Fe=()=>Ne.current,t[38]=Fe):Fe=t[38],(0,W.useImperativeHandle)(f,Fe);let Ie=x(),Le=U||se?Ce?.width:void 0,Z=ge({container:n,mediaIndex:Ie,width:Ae}),Re=(0,W.useRef)(Z),ze,Be;t[39]===Z?(ze=t[40],Be=t[41]):(ze=()=>{Re.current=Z},Be=[Z],t[39]=Z,t[40]=ze,t[41]=Be),(0,W.useEffect)(ze,Be);let Ve;t[42]!==Le||t[43]!==Z?(Ve=_e({boundaryWidth:Le,currentWidth:Z}),t[42]=Le,t[43]=Z,t[44]=Ve):Ve=t[44];let Q=Ve,He=(0,W.useRef)(Q),Ue,We;t[45]===Q?(Ue=t[46],We=t[47]):(Ue=()=>{He.current=Q},We=[Q],t[45]=Q,t[46]=Ue,t[47]=We),(0,W.useEffect)(Ue,We);let Ge=(0,W.useRef)(void 0),Ke,qe;t[48]!==p||t[49]!==Q||t[50]!==h||t[51]!==Z?(Ke=()=>{let e=Ne.current;if(!h||!e)return;let t=Ge.current;p?t!==void 0&&(e.style.width=`${t}px`):Z!==void 0&&(e.style.width=`${Z}px`),typeof Q==`number`&&(e.style.maxWidth=`${Q}px`)},qe=[Z,p,Q,h],t[48]=p,t[49]=Q,t[50]=h,t[51]=Z,t[52]=Ke,t[53]=qe):(Ke=t[52],qe=t[53]),(0,W.useEffect)(Ke,qe);let[Je,Ye]=(0,W.useState)(void 0),Xe;t[54]!==X||t[55]!==H||t[56]!==U||t[57]!==de||t[58]!==fe||t[59]!==V||t[60]!==p||t[61]!==J||t[62]!==oe||t[63]!==se||t[64]!==he?(Xe={animate:X,arrowProp:H,arrowRef:Pe,constrainSize:U,fallbackPlacements:de,floatingBoundary:fe,margins:V,matchReferenceWidth:p,maxWidthRef:He,placementProp:J,placementStrategy:oe,preventOverflow:se,referenceBoundary:he,referenceWidthRef:Ge,rootBoundary:`viewport`,setReferenceWidth:Ye,widthRef:Re},t[54]=X,t[55]=H,t[56]=U,t[57]=de,t[58]=fe,t[59]=V,t[60]=p,t[61]=J,t[62]=oe,t[63]=se,t[64]=he,t[65]=Xe):Xe=t[65];let Ze=Se(Xe),Qe;t[66]===y?Qe=t[67]:(Qe=y?{reference:y}:void 0,t[66]=y,t[67]=Qe);let $e;t[68]!==Ze||t[69]!==J||t[70]!==Qe?($e={middleware:Ze,placement:J,whileElementsMounted:R,elements:Qe},t[68]=Ze,t[69]=J,t[70]=Qe,t[71]=$e):$e=t[71];let{x:et,y:tt,middlewareData:nt,placement:rt,refs:$,strategy:it,update:at}=B($e),ot=nt.hide?.referenceHidden,st=nt.arrow?.x,ct=nt.arrow?.y,lt=nt[`@sanity/ui/origin`]?.originX,ut=nt[`@sanity/ui/origin`]?.originY,dt;t[72]===Symbol.for(`react.memo_cache_sentinel`)?(dt=e=>{Pe.current=e},t[72]=dt):dt=t[72];let ft=dt,pt;t[73]===$?pt=t[74]:(pt=e=>{Ne.current=e,$.setFloating(e)},t[73]=$,t[74]=pt);let mt=pt,ht;t[75]===l?ht=t[76]:(ht=l?re(l):null,t[75]=l,t[76]=ht);let gt;t[77]===$.reference.current?gt=t[78]:(gt=()=>$.reference.current,t[77]=$.reference.current,t[78]=gt),(0,W.useImperativeHandle)(ht,gt);let _t;bb0:{if(y){_t=l;break bb0}if(!l){_t=null;break bb0}let e;t[79]!==l||t[80]!==$.setReference?(e=(0,W.cloneElement)(l,{ref:$.setReference}),t[79]=l,t[80]=$.setReference,t[81]=e):e=t[81],_t=e}let vt=_t,yt,bt;if(t[82]===at?(yt=t[83],bt=t[84]):(yt=()=>at,bt=[at],t[82]=at,t[83]=yt,t[84]=bt),(0,W.useImperativeHandle)(z,yt,bt),d){let e;return t[85]===l?e=t[86]:(e=l||(0,K.jsx)(K.Fragment,{}),t[85]=l,t[86]=e),e}let xt;t[87]===m?xt=t[88]:(xt=m&&(0,K.jsx)(be,{}),t[87]=m,t[88]=xt);let St=p?Je:Z,Ct;t[89]!==X||t[90]!==H||t[91]!==st||t[92]!==ct||t[93]!==u||t[94]!==V||t[95]!==lt||t[96]!==ut||t[97]!==q||t[98]!==Te||t[99]!==rt||t[100]!==De||t[101]!==ot||t[102]!==b||t[103]!==C||t[104]!==mt||t[105]!==ke||t[106]!==it||t[107]!==St||t[108]!==le||t[109]!==et||t[110]!==tt?(Ct=(0,K.jsx)(ye,{...b,__unstable_margins:V,animate:X,arrow:H,arrowRef:ft,arrowX:st,arrowY:ct,hidden:ot,overflow:q,padding:Te,placement:rt,radius:De,ref:mt,scheme:C,shadow:ke,originX:lt,originY:ut,strategy:it,tone:le,width:St,x:et,y:tt,children:u}),t[89]=X,t[90]=H,t[91]=st,t[92]=ct,t[93]=u,t[94]=V,t[95]=lt,t[96]=ut,t[97]=q,t[98]=Te,t[99]=rt,t[100]=De,t[101]=ot,t[102]=b,t[103]=C,t[104]=mt,t[105]=ke,t[106]=it,t[107]=St,t[108]=le,t[109]=et,t[110]=tt,t[111]=Ct):Ct=t[111];let wt;t[112]!==xt||t[113]!==Ct||t[114]!==Me?(wt=(0,K.jsxs)(v,{zOffset:Me,children:[xt,Ct]}),t[112]=xt,t[113]=Ct,t[114]=Me,t[115]=wt):wt=t[115];let Tt=wt,Et;t[116]!==Tt||t[117]!==_?(Et=_?(0,K.jsx)(te,{__unstable_name:typeof _==`string`?_:void 0,children:Tt}):Tt,t[116]=Tt,t[117]=_,t[118]=Et):Et=t[118];let Dt=Et,Ot;t[119]!==X||t[120]!==h||t[121]!==Dt?(Ot=X?(0,K.jsx)(ae,{layoutMode:`default`,mode:h?`visible`:`hidden`,children:Dt}):(0,K.jsx)(W.Activity,{mode:h?`visible`:`hidden`,children:Dt}),t[119]=X,t[120]=h,t[121]=Dt,t[122]=Ot):Ot=t[122];let kt;return t[123]!==vt||t[124]!==Ot?(kt=(0,K.jsxs)(K.Fragment,{children:[Ot,vt]}),t[123]=vt,t[124]=Ot,t[125]=kt):kt=t[125],kt}function Se(e){let t=(0,G.c)(42),{animate:n,arrowProp:r,arrowRef:i,constrainSize:a,fallbackPlacements:o,floatingBoundary:s,margins:c,matchReferenceWidth:l,maxWidthRef:u,placementProp:d,placementStrategy:f,preventOverflow:p,referenceBoundary:m,referenceWidthRef:h,rootBoundary:g,setReferenceWidth:_,widthRef:v}=e,y;if(t[0]!==n||t[1]!==r||t[2]!==i||t[3]!==a||t[4]!==o||t[5]!==s||t[6]!==c||t[7]!==l||t[8]!==u||t[9]!==d||t[10]!==f||t[11]!==p||t[12]!==m||t[13]!==h||t[14]!==g||t[15]!==_||t[16]!==v){if(y=[],a||p){if(f===`autoPlacement`){let e;t[18]!==o||t[19]!==d?(e=N({allowedPlacements:[d].concat(o)}),t[18]=o,t[19]=d,t[20]=e):e=t[20],y.push(e)}else{let e=s||void 0,n;t[21]!==o||t[22]!==g||t[23]!==e?(n=L({boundary:e,fallbackPlacements:o,padding:4,rootBoundary:g}),t[21]=o,t[22]=g,t[23]=e,t[24]=n):n=t[24],y.push(n)}}let e;if(t[25]===Symbol.for(`react.memo_cache_sentinel`)?(e=P({mainAxis:4}),t[25]=e):e=t[25],y.push(e),a||l){let e=s||void 0,n;t[26]!==a||t[27]!==c||t[28]!==l||t[29]!==u||t[30]!==h||t[31]!==_||t[32]!==e||t[33]!==v?(n=he({boundaryElement:e,constrainSize:a,margins:c,matchReferenceWidth:l,maxWidthRef:u,padding:4,referenceWidthRef:h,setReferenceWidth:_,widthRef:v}),t[26]=a,t[27]=c,t[28]=l,t[29]=u,t[30]=h,t[31]=_,t[32]=e,t[33]=v,t[34]=n):n=t[34],y.push(n)}if(p){let e=s||void 0,n;t[35]!==g||t[36]!==e?(n=F({boundary:e,rootBoundary:g,padding:4}),t[35]=g,t[36]=e,t[37]=n):n=t[37],y.push(n)}if(r){let e;t[38]===i?e=t[39]:(e=ie({element:i,padding:4}),t[38]=i,t[39]=e),y.push(e)}n&&y.push(U);let b=m||void 0,x;t[40]===b?x=t[41]:(x=H({boundary:b,padding:4,strategy:`referenceHidden`}),t[40]=b,t[41]=x),y.push(x),t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t[6]=c,t[7]=l,t[8]=u,t[9]=d,t[10]=f,t[11]=p,t[12]=m,t[13]=h,t[14]=g,t[15]=_,t[16]=v,t[17]=y}else y=t[17];return y}var X=e=>{let t=(0,G.c)(2),n;return t[0]===e.children?n=t[1]:(n=(0,K.jsx)(z,{delay:V,children:e.children}),t[0]=e.children,t[1]=n),n};function Ce(e){let t=(0,G.c)(8),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({ref:n,animate:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0||i,o;return t[4]!==a||t[5]!==n||t[6]!==r?(o=(0,K.jsx)(xe,{...r,animate:a,ref:n}),t[4]=a,t[5]=n,t[6]=r,t[7]=o):o=t[7],o}export{q as a,de as i,X as n,se as o,xe as r,oe as s,Ce as t};