1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85],{6498:function(t,e,r){"use strict";r.d(e,{p8:function(){return tS}});var i,n,s,o,a,l,u,h,c,f,p,d=r(3860),m={},g=180/Math.PI,y=Math.PI/180,v=Math.atan2,b=/([A-Z])/g,x=/(left|right|width|margin|padding|x)/i,w=/[\s,\(]\S/,T={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},E=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},S=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},P=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},A=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},C=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},O=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},R=function(t,e,r){return t.style[e]=r},M=function(t,e,r){return t.style.setProperty(e,r)},k=function(t,e,r){return t._gsap[e]=r},D=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},B=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},L=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},j="transform",F=j+"Origin",V=function t(e,r){var i=this,n=this.target,s=n.style,o=n._gsap;if(e in m&&s){if(this.tfm=this.tfm||{},"transform"===e)return T.transform.split(",").forEach(function(e){return t.call(i,e,r)});if(~(e=T[e]||e).indexOf(",")?e.split(",").forEach(function(t){return i.tfm[t]=te(n,t)}):this.tfm[e]=o.x?o[e]:te(n,e),e===F&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(j)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(F,r,"")),e=j}(s||r)&&this.props.push(e,r,s[e])},U=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},I=function(){var t,e,r=this.props,i=this.target,n=i.style,s=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(b,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(t=f())&&t.isStart||n[j]||(U(n),s.zOrigin&&n[F]&&(n[F]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},N=function(t,e){var r={target:t,props:[],revert:I,save:V};return t._gsap||d.p8.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t)}),r},_=function(t,e){var r=a.createElementNS?a.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):a.createElement(t);return r&&r.style?r:a.createElement(t)},W=function t(e,r,i){var n=getComputedStyle(e);return n[r]||n.getPropertyValue(r.replace(b,"-$1").toLowerCase())||n.getPropertyValue(r)||!i&&t(e,z(r)||r,1)||""},$="O,Moz,ms,Ms,Webkit".split(","),z=function(t,e,r){var i=(e||h).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!($[n]+t in i););return n<0?null:(3===n?"ms":n>=0?$[n]:"")+t},X=function(){"undefined"!=typeof window&&window.document&&(l=(a=window.document).documentElement,h=_("div")||{style:{}},_("div"),F=(j=z(j))+"Origin",h.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",p=!!z("perspective"),f=d.p8.core.reverting,u=1)},Y=function(t){var e,r=t.ownerSVGElement,i=_("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=t.cloneNode(!0);n.style.display="block",i.appendChild(n),l.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),l.removeChild(i),e},q=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},H=function(t){var e,r;try{e=t.getBBox()}catch(i){e=Y(t),r=1}return e&&(e.width||e.height)||r||(e=Y(t)),!e||e.width||e.x||e.y?e:{x:+q(t,["x","cx","x1"])||0,y:+q(t,["y","cy","y1"])||0,width:0,height:0}},K=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&H(t))},Z=function(t,e){if(e){var r,i=t.style;e in m&&e!==F&&(e=j),i.removeProperty?(("ms"===(r=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),i.removeProperty("--"===r?e:e.replace(b,"-$1").toLowerCase())):i.removeAttribute(e)}},J=function(t,e,r,i,n,s){var o=new d.Fo(t._pt,e,r,0,1,s?O:C);return t._pt=o,o.b=i,o.e=n,t._props.push(r),o},G={deg:1,rad:1,turn:1},Q={grid:1,flex:1},tt=function t(e,r,i,n){var s,o,l,u,c=parseFloat(i)||0,f=(i+"").trim().substr((c+"").length)||"px",p=h.style,g=x.test(r),y="svg"===e.tagName.toLowerCase(),v=(y?"client":"offset")+(g?"Width":"Height"),b="px"===n,w="%"===n;if(n===f||!c||G[n]||G[f])return c;if("px"===f||b||(c=t(e,r,i,"px")),u=e.getCTM&&K(e),(w||"%"===f)&&(m[r]||~r.indexOf("adius")))return s=u?e.getBBox()[g?"width":"height"]:e[v],(0,d.Pr)(w?c/s*100:c/100*s);if(p[g?"width":"height"]=100+(b?f:n),o="rem"!==n&&~r.indexOf("adius")||"em"===n&&e.a
1ppendChild&&!y?e:e.parentNode,u&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==a&&o.appendChild||(o=a.body),(l=o._gsap)&&w&&l.width&&g&&l.time===d.xr.time&&!l.uncache)return(0,d.Pr)(c/l.width*100);if(w&&("height"===r||"width"===r)){var T=e.style[r];e.style[r]=100+n,s=e[v],T?e.style[r]=T:Z(e,r)}else(w||"%"===f)&&!Q[W(o,"display")]&&(p.position=W(e,"position")),o===e&&(p.position="static"),o.appendChild(h),s=h[v],o.removeChild(h),p.position="absolute";return g&&w&&((l=(0,d.DY)(o)).time=d.xr.time,l.width=o[v]),(0,d.Pr)(b?s*c/100:s&&c?100/s*c:0)},te=function(t,e,r,i){var n;return u||X(),e in T&&"transform"!==e&&~(e=T[e]).indexOf(",")&&(e=e.split(",")[0]),m[e]&&"transform"!==e?(n=tp(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:td(W(t,F))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=to[e]&&to[e](t,e,r)||W(t,e)||(0,d.Ok)(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?tt(t,e,n,r)+r:n},tr=function(t,e,r,i){if(!r||"none"===r){var n=z(e,t,1),s=n&&W(t,n,1);s&&s!==r?(e=n,r=s):"borderColor"===e&&(r=W(t,"borderTopColor"))}var o,a,l,u,h,c,f,p,m,g,y,v=new d.Fo(this._pt,t.style,e,0,1,d.Ks),b=0,x=0;if(v.b=r,v.e=i,r+="","var(--"===(i+="").substring(0,6)&&(i=W(t,i.substring(4,i.indexOf(")")))),"auto"===i&&(c=t.style[e],t.style[e]=i,i=W(t,e)||i,c?t.style[e]=c:Z(t,e)),o=[r,i],(0,d.kr)(o),r=o[0],i=o[1],l=r.match(d.d4)||[],(i.match(d.d4)||[]).length){for(;a=d.d4.exec(i);)f=a[0],m=i.substring(b,a.index),h?h=(h+1)%5:("rgba("===m.substr(-5)||"hsla("===m.substr(-5))&&(h=1),f!==(c=l[x++]||"")&&(u=parseFloat(c)||0,y=c.substr((u+"").length),"="===f.charAt(1)&&(f=(0,d.cy)(u,f)+y),p=parseFloat(f),g=f.substr((p+"").length),b=d.d4.lastIndex-g.length,g||(g=g||d.Fc.units[e]||y,b!==i.length||(i+=g,v.e+=g)),y!==g&&(u=tt(t,e,c,g)||0),v._pt={_next:v._pt,p:m||1===x?m:",",s:u,c:p-u,m:h&&h<4||"zIndex"===e?Math.round:0});v.c=b<i.length?i.substring(b,i.length):""}else v.r="display"===e&&"none"===i?O:C;return d.bQ.test(i)&&(v.e=0),this._pt=v,v},ti={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},tn=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return("top"===r||"bottom"===r||"left"===i||"right"===i)&&(t=r,r=i,i=t),e[0]=ti[r]||r,e[1]=ti[i]||i,e.join(" ")},ts=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",i=1;else for(n=(a=a.split(",")).length;--n>-1;)m[r=a[n]]&&(i=1,r="transformOrigin"===r?F:j),Z(s,r);i&&(Z(s,j),l&&(l.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",tp(s,1),l.uncache=1,U(o)))}},to={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var s=t._pt=new d.Fo(t._pt,e,r,0,0,ts);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},ta=[1,0,0,1,0,0],tl={},tu=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},th=function(t){var e=W(t,j);return tu(e)?ta:e.substr(7).match(d.SI).map(d.Pr)},tc=function(t,e){var r,i,n,s,o=t._gsap||(0,d.DY)(t),a=t.style,u=th(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?ta:u:(u!==ta||t.offsetParent||t===l||o.svg||(n=a.display,a.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,i=t.nextElementSibling,l.appendChild(t)),u=th(t),n?a.display=n:Z(t,"display"),s&&(i?r.insertBefore(t,i):r?r.appendChild(t):l.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},tf=function(t,e,r,i,n,s){var o,a,l,u,h=t._gsap,c=n||tc(t,!0),f=h.xOrigin||0,p=h.yOrigin||0,d=h.xOffset||0,m=h.yOffset||0,g=c[0],y=c[1],v=c[2],b=c[3],x=c[4],w=c[5],T=e.split(" "),E=parseFloat(T[0])||0,S=parseFloat(T[1])||0;r?c!==ta&&(a=g*b-y*v)&&(l=b/a*E+-v/a*S+(v*w-b*x)/a,u=-y/a*E+g/a*S-(g*w-y*x)/a,E=l,S=u):(E=(o=H(t)).x+(~T[0].indexOf("%")?E/100*o.width:E),S=o.y+(~(T[1]||T[0]).indexOf("%")?S/100*o.height:S)),i||!1!==i&&h.smooth?(x=E-f,w=S-p,h.xOffset=d+(x*g+w*v)-x,h.yOffset=m+(x*y+w*b)-w):h.xOffset=h.yOffset=0,h.xOrigin=E,h.yOrigin=S,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[F]="0px 0px",s&&(J(s,h,"xOrigin",f,E),J(s,h,"yOrigin",p,S),J(s,h,"xOffset",d,h.xOffset),J(s,h,"yOffset",m,h.yOffset)),t.setAttribute("data-svg-origin",E+" "+S)},tp=function(t,e){var r=t._gsap||new d.l1(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,s,o,a,l,u,h,c,f,m,b,x,w,T,E,S,P,A,C,O,R,M,k,D,B,L,V,U,I,N,_,$=t.style,z=r.scaleX<0,X=getComputedStyle(t),Y=W(t,F)||"0";return i=n=s=l=u=h=c=f=m=0,o=a=1,r.svg=!!(t.getCTM&&K(t)),X.translate&&(("none"!==X.translate||"none"!==X.scale||"none"!==X.rotate)&&($[j]=("none"!==X.translate?"translate3d("+(X.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==X.rotate?"rotate("+X.rotate+") ":"")+("none"!==X.scale?"scale("+X.scale.split(" ").join(",")+") ":"")+("none"!==X[j]?X[j]:"")),$.scale=$.rotate=$.translate="none"),w=tc(t,r.svg),r.svg&&(r.uncache?(D=t.getBBox(),Y=r.xOrigin-D.x+"px "+(r.yOrigin-D.y)+"px",k=""):k=!e&&t.getAttribute("data-svg-origin"),tf(t,k||Y,!!k||r.originIsAbsolute,!1!==r.smooth,w)),b=r.xOrigin||0,x=r.yOrigin||0,w!==ta&&(P=w[0],A=w[1],C=w[2],O=w[3],i=R=w[4],n=M=w[5],6===w.length?(o=Math.sqrt(P*P+A*A),a=Math.sqrt(O*O+C*C),l=P||A?v(A,P)*g:0,(c=C||O?v(C,O)*g+l:0)&&(a*=Math.abs(Math.cos(c*y))),r.svg&&(i-=b-(b*P+x*C),n-=x-(b*A+x*O))):(_=w[6],I=w[7],L=w[8],V=w[9],U=w[10],N=w[11],i=w[12],n=w[13],s=w[14],u=(T=v(_,U))*g,T&&(k=R*(E=Math.cos(-T))+L*(S=Math.sin(-T)),D=M*E+V*S,B=_*E+U*S,L=-(R*S)+L*E,V=-(M*S)+V*E,U=-(_*S)+U*E,N=-(I*S)+N*E,R=k,M=D,_=B),h=(T=v(-C,U))*g,T&&(k=P*(E=Math.cos(-T))-L*(S=Math.sin(-T)),D=A*E-V*S,B=C*E-U*S,N=O*S+N*E,P=k,A=D,
1C=B),l=(T=v(A,P))*g,T&&(k=P*(E=Math.cos(T))+A*(S=Math.sin(T)),D=R*E+M*S,A=A*E-P*S,M=M*E-R*S,P=k,R=D),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,h=180-h),o=(0,d.Pr)(Math.sqrt(P*P+A*A+C*C)),a=(0,d.Pr)(Math.sqrt(M*M+_*_)),c=Math.abs(T=v(R,M))>2e-4?T*g:0,m=N?1/(N<0?-N:N):0),r.svg&&(k=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!tu(W(t,j)),k&&t.setAttribute("transform",k))),Math.abs(c)>90&&270>Math.abs(c)&&(z?(o*=-1,c+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,c+=c<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=s+"px",r.scaleX=(0,d.Pr)(o),r.scaleY=(0,d.Pr)(a),r.rotation=(0,d.Pr)(l)+"deg",r.rotationX=(0,d.Pr)(u)+"deg",r.rotationY=(0,d.Pr)(h)+"deg",r.skewX=c+"deg",r.skewY=f+"deg",r.transformPerspective=m+"px",(r.zOrigin=parseFloat(Y.split(" ")[2])||!e&&r.zOrigin||0)&&($[F]=td(Y)),r.xOffset=r.yOffset=0,r.force3D=d.Fc.force3D,r.renderTransform=r.svg?tb:p?tv:tg,r.uncache=0,r},td=function(t){return(t=t.split(" "))[0]+" "+t[1]},tm=function(t,e,r){var i=(0,d.Wy)(e);return(0,d.Pr)(parseFloat(e)+parseFloat(tt(t,"x",r+"px",i)))+i},tg=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,tv(t,e)},ty="0deg",tv=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,a=r.z,l=r.rotation,u=r.rotationY,h=r.rotationX,c=r.skewX,f=r.skewY,p=r.scaleX,d=r.scaleY,m=r.transformPerspective,g=r.force3D,v=r.target,b=r.zOrigin,x="",w="auto"===g&&t&&1!==t||!0===g;if(b&&(h!==ty||u!==ty)){var T,E=parseFloat(u)*y,S=Math.sin(E),P=Math.cos(E);s=tm(v,s,-(S*(T=Math.cos(E=parseFloat(h)*y))*b)),o=tm(v,o,-(-Math.sin(E)*b)),a=tm(v,a,-(P*T*b)+b)}"0px"!==m&&(x+="perspective("+m+") "),(i||n)&&(x+="translate("+i+"%, "+n+"%) "),(w||"0px"!==s||"0px"!==o||"0px"!==a)&&(x+="0px"!==a||w?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+") "),l!==ty&&(x+="rotate("+l+") "),u!==ty&&(x+="rotateY("+u+") "),h!==ty&&(x+="rotateX("+h+") "),(c!==ty||f!==ty)&&(x+="skew("+c+", "+f+") "),(1!==p||1!==d)&&(x+="scale("+p+", "+d+") "),v.style[j]=x||"translate(0, 0)"},tb=function(t,e){var r,i,n,s,o,a=e||this,l=a.xPercent,u=a.yPercent,h=a.x,c=a.y,f=a.rotation,p=a.skewX,m=a.skewY,g=a.scaleX,v=a.scaleY,b=a.target,x=a.xOrigin,w=a.yOrigin,T=a.xOffset,E=a.yOffset,S=a.forceCSS,P=parseFloat(h),A=parseFloat(c);f=parseFloat(f),p=parseFloat(p),(m=parseFloat(m))&&(p+=m=parseFloat(m),f+=m),f||p?(f*=y,p*=y,r=Math.cos(f)*g,i=Math.sin(f)*g,n=-(Math.sin(f-p)*v),s=Math.cos(f-p)*v,p&&(m*=y,n*=o=Math.sqrt(1+(o=Math.tan(p-m))*o),s*=o,m&&(r*=o=Math.sqrt(1+(o=Math.tan(m))*o),i*=o)),r=(0,d.Pr)(r),i=(0,d.Pr)(i),n=(0,d.Pr)(n),s=(0,d.Pr)(s)):(r=g,s=v,i=n=0),(P&&!~(h+"").indexOf("px")||A&&!~(c+"").indexOf("px"))&&(P=tt(b,"x",h,"px"),A=tt(b,"y",c,"px")),(x||w||T||E)&&(P=(0,d.Pr)(P+x-(x*r+w*n)+T),A=(0,d.Pr)(A+w-(x*i+w*s)+E)),(l||u)&&(o=b.getBBox(),P=(0,d.Pr)(P+l/100*o.width),A=(0,d.Pr)(A+u/100*o.height)),o="matrix("+r+","+i+","+n+","+s+","+P+","+A+")",b.setAttribute("transform",o),S&&(b.style[j]=o)},tx=function(t,e,r,i,n){var s,o,a=(0,d.r9)(n),l=parseFloat(n)*(a&&~n.indexOf("rad")?g:1)-i,u=i+l+"deg";return a&&("short"===(s=n.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===s&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===s&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),t._pt=o=new d.Fo(t._pt,e,r,i,l,S),o.e=u,o.u="deg",t._props.push(r),o},tw=function(t,e){for(var r in e)t[r]=e[r];return t},tT=function(t,e,r){var i,n,s,o,a,l,u,h=tw({},r._gsap),c=r.style;for(n in h.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),c[j]=e,i=tp(r,1),Z(r,j),r.setAttribute("transform",s)):(s=getComputedStyle(r)[j],c[j]=e,i=tp(r,1),c[j]=s),m)(s=h[n])!==(o=i[n])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)&&(a=(0,d.Wy)(s)!==(u=(0,d.Wy)(o))?tt(r,n,s,u):parseFloat(s),l=parseFloat(o),t._pt=new d.Fo(t._pt,i,n,a,l-a,E),t._pt.u=u||0,t._props.push(n));tw(i,h)};(0,d.fS)("padding,margin,Width,Radius",function(t,e){var r="Right",i="Bottom",n="Left",s=(e<3?["Top",r,i,n]:["Top"+n,"Top"+r,i+r,i+n]).map(function(r){return e<2?t+r:"border"+r+t});to[e>1?"border"+t:t]=function(t,e,r,i,n){var o,a;if(arguments.length<4)return 5===(a=(o=s.map(function(e){return te(t,e,r)})).join(" ")).split(o[0]).length?o[0]:a;o=(i+"").split(" "),a={}
1,s.forEach(function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]}),t.init(e,a,n)}});var tE={name:"css",register:X,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s,o,a,l,h,c,f,p,g,y,v,b,x,S,C,O,R=this._props,M=t.style,k=r.vars.startAt;for(f in u||X(),this.styles=this.styles||N(t),O=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(o=e[f],!(d.$i[f]&&(0,d.if)(f,e,r,i,t,n)))){if(h=typeof o,c=to[f],"function"===h&&(h=typeof(o=o.call(r,i,t,n))),"string"===h&&~o.indexOf("random(")&&(o=(0,d.UI)(o)),c)c(this,t,f,o,r)&&(C=1);else if("--"===f.substr(0,2))s=(getComputedStyle(t).getPropertyValue(f)+"").trim(),o+="",d.GN.lastIndex=0,d.GN.test(s)||(p=(0,d.Wy)(s),g=(0,d.Wy)(o)),g?p!==g&&(s=tt(t,f,s,g)+g):p&&(o+=p),this.add(M,"setProperty",s,o,i,n,0,0,f),R.push(f),O.push(f,0,M[f]);else if("undefined"!==h){if(k&&f in k?(s="function"==typeof k[f]?k[f].call(r,i,t,n):k[f],(0,d.r9)(s)&&~s.indexOf("random(")&&(s=(0,d.UI)(s)),(0,d.Wy)(s+"")||"auto"===s||(s+=d.Fc.units[f]||(0,d.Wy)(te(t,f))||""),"="===(s+"").charAt(1)&&(s=te(t,f))):s=te(t,f),l=parseFloat(s),(y="string"===h&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),f in T&&("autoAlpha"===f&&(1===l&&"hidden"===te(t,"visibility")&&a&&(l=0),O.push("visibility",0,M.visibility),J(this,M,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=T[f]).indexOf(",")&&(f=f.split(",")[0])),v=f in m){if(this.styles.save(f),"string"===h&&"var(--"===o.substring(0,6)&&(a=parseFloat(o=W(t,o.substring(4,o.indexOf(")"))))),b||((x=t._gsap).renderTransform&&!e.parseTransform||tp(t,e.parseTransform),S=!1!==e.smoothOrigin&&x.smooth,(b=this._pt=new d.Fo(this._pt,M,j,0,1,x.renderTransform,x,0,-1)).dep=1),"scale"===f)this._pt=new d.Fo(this._pt,x,"scaleY",x.scaleY,(y?(0,d.cy)(x.scaleY,y+a):a)-x.scaleY||0,E),this._pt.u=0,R.push("scaleY",f),f+="X";else if("transformOrigin"===f){O.push(F,0,M[F]),o=tn(o),x.svg?tf(t,o,0,S,0,this):((g=parseFloat(o.split(" ")[2])||0)!==x.zOrigin&&J(this,x,"zOrigin",x.zOrigin,g),J(this,M,f,td(s),td(o)));continue}else if("svgOrigin"===f){tf(t,o,1,S,0,this);continue}else if(f in tl){tx(this,x,f,l,y?(0,d.cy)(l,y+o):o);continue}else if("smoothOrigin"===f){J(this,x,"smooth",x.smooth,o);continue}else if("force3D"===f){x[f]=o;continue}else if("transform"===f){tT(this,o,t);continue}}else f in M||(f=z(f)||f);if(v||(a||0===a)&&(l||0===l)&&!w.test(o)&&f in M)p=(s+"").substr((l+"").length),a||(a=0),g=(0,d.Wy)(o)||(f in d.Fc.units?d.Fc.units[f]:p),p!==g&&(l=tt(t,f,s,g)),this._pt=new d.Fo(this._pt,v?x:M,f,l,(y?(0,d.cy)(l,y+a):a)-l,v||"px"!==g&&"zIndex"!==f||!1===e.autoRound?E:A),this._pt.u=g||0,p!==g&&"%"!==g&&(this._pt.b=s,this._pt.r=P);else if(f in M)tr.call(this,t,f,s,y?y+o:o);else if(f in t)this.add(t,f,s||t[f],y?y+o:o,i,n);else if("parseTransform"!==f){(0,d.lC)(f,o);continue}v||(f in M?O.push(f,0,M[f]):"function"==typeof t[f]?O.push(f,2,t[f]()):O.push(f,1,s||t[f])),R.push(f)}}C&&(0,d.JV)(this)},render:function(t,e){if(e.tween._time||!f())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:te,aliases:T,getSetter:function(t,e,r){var i=T[e];return i&&0>i.indexOf(",")&&(e=i),e in m&&e!==F&&(t._gsap.x||te(t,"x"))?r&&c===r?"scale"===e?D:k:(c=r||{},"scale"===e?B:L):t.style&&!(0,d.m2)(t.style[e])?R:~e.indexOf("-")?M:(0,d.S5)(t,e)},core:{_removeProperty:Z,_getMatrix:tc}};d.p8.utils.checkPrefix=z,d.p8.core.getStyleSaver=N,i="x,y,z,scale,scaleX,scaleY,xPercent,yPercent",n="rotation,rotationX,rotationY,skewX,skewY",s="0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",o=(0,d.fS)(i+","+n+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){m[t]=1}),(0,d.fS)(n,function(t){d.Fc.units[t]="deg",tl[t]=1}),T[o[13]]=i+","+n,(0,d.fS)(s,function(t){var e=t.split(":");T[e[1]]=o[e[0]]}),(0,d.fS)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){d.Fc.units[t]="px"}),d.p8.registerPlugin(tE);var tS=d.p8.registerPlugin(tE)||d.p8;tS.core.Tween},7692:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=(0,r(9205).Z)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]])},257:function(t,e,r){"use strict";var i,n;t.exports=(null==(i=r.g.process)?void 0:i.env)&&"object"==typeof(null==(n=r.g.process)?void 0:n.env)?r.g.process:r(4227)},6434:function(t){!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),r=e[0],i=e[1];
1return(r+i)*3/4-i},e.toByteArray=function(t){var e,r,s=l(t),o=s[0],a=s[1],u=new n((o+a)*3/4-a),h=0,c=a>0?o-4:o;for(r=0;r<c;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=255&e;return 2===a&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,u[h++]=255&e),1===a&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e),u},e.fromByteArray=function(t){for(var e,i=t.length,n=i%3,s=[],o=0,a=i-n;o<a;o+=16383)s.push(function(t,e,i){for(var n,s=[],o=e;o<i;o+=3)s.push(r[(n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]))>>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n]);return s.join("")}(t,o,o+16383>a?a:o+16383));return 1===n?s.push(r[(e=t[i-1])>>2]+r[e<<4&63]+"=="):2===n&&s.push(r[(e=(t[i-2]<<8)+t[i-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),s.join("")};for(var r=[],i=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=s.length;o<a;++o)r[o]=s[o],i[s.charCodeAt(o)]=o;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var i=r===e?0:4-r%4;return[r,i]}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},72:function(t,e,r){"use strict";var i=r(675),n=r(783),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return l(t,e,r)}function l(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!a.isEncoding(e))throw TypeError("Unknown encoding: "+e);var r=0|p(t,e),i=o(r),n=i.write(t,e);return n!==r&&(i=i.slice(0,n)),i}(t,e);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(R(t,ArrayBuffer)||t&&R(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(R(t,SharedArrayBuffer)||t&&R(t.buffer,SharedArrayBuffer)))return function(t,e,r){var i;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),a.prototype),i}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return a.from(i,e,r);var n=function(t){if(a.isBuffer(t)){var e,r=0|f(t.length),i=o(r);return 0===i.length||t.copy(i,0,0,r),i}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?o(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),o(t<0?0:0|f(t))}function c(t){for(var e=t.length<0?0:0|f(t.length),r=o(e),i=0;i<e;i+=1)r[i]=255&t[i];return r}function f(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||R(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return P(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(t).length;default:if(n)return i?-1:P(t).length;e=(""+e).toLowerCase(),n=!0}}function d(t,e,r){var n,s,o=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var n="",s=e;s<r;++s)n+=M[t[s]];return n}(this,e,r);case"utf8":case"utf-8":return v(this,e,r);case"ascii":return function(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(127&t[n]);return i}(this,e,r);case"latin1":case"binary":return function(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}(this,e,r);case"base64":return n=e,s=r,0===n&&s===this.length?i.fromByteArray(this):i.fromByteArray(this.slice(n,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var i=t.slice(e,r),n="",s=0;s<i.length;s+=2)n+=String.fromCharCode(i[s]+256*i[s+1]);return n}(this,e,r);default:if(o)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function m(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function g(t,e,r,i,n){var s;if(0===t.length)return -1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(s=r=+r)!=s&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(n)return -1;r=t.length-1}
1else if(r<0){if(!n)return -1;r=0}if("string"==typeof e&&(e=a.from(e,i)),a.isBuffer(e))return 0===e.length?-1:y(t,e,r,i,n);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?n?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):y(t,[e],r,i,n);throw TypeError("val must be string, number or Buffer")}function y(t,e,r,i,n){var s,o=1,a=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return -1;o=2,a/=2,l/=2,r/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(n){var h=-1;for(s=r;s<a;s++)if(u(t,s)===u(e,-1===h?0:s-h)){if(-1===h&&(h=s),s-h+1===l)return h*o}else -1!==h&&(s-=s-h),h=-1}else for(r+l>a&&(r=a-l),s=r;s>=0;s--){for(var c=!0,f=0;f<l;f++)if(u(t,s+f)!==u(e,f)){c=!1;break}if(c)return s}return -1}function v(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var s,o,a,l,u=t[n],h=null,c=u>239?4:u>223?3:u>191?2:1;if(n+c<=r)switch(c){case 1:u<128&&(h=u);break;case 2:(192&(s=t[n+1]))==128&&(l=(31&u)<<6|63&s)>127&&(h=l);break;case 3:s=t[n+1],o=t[n+2],(192&s)==128&&(192&o)==128&&(l=(15&u)<<12|(63&s)<<6|63&o)>2047&&(l<55296||l>57343)&&(h=l);break;case 4:s=t[n+1],o=t[n+2],a=t[n+3],(192&s)==128&&(192&o)==128&&(192&a)==128&&(l=(15&u)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(h=l)}null===h?(h=65533,c=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),n+=c}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=4096));return r}(i)}function b(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function x(t,e,r,i,n,s){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<s)throw RangeError('"value" argument is out of bounds');if(r+i>t.length)throw RangeError("Index out of range")}function w(t,e,r,i,n,s){if(r+i>t.length||r<0)throw RangeError("Index out of range")}function T(t,e,r,i,s){return e=+e,r>>>=0,s||w(t,e,r,4,34028234663852886e22,-34028234663852886e22),n.write(t,e,r,i,23,4),r+4}function E(t,e,r,i,s){return e=+e,r>>>=0,s||w(t,e,r,8,17976931348623157e292,-17976931348623157e292),n.write(t,e,r,i,52,8),r+8}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,e,r){return l(t,e,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,r){return(u(t),t<=0)?o(t):void 0!==e?"string"==typeof r?o(t).fill(e,r):o(t).fill(e):o(t)},a.allocUnsafe=function(t){return h(t)},a.allocUnsafeSlow=function(t){return h(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(R(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),R(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,i=e.length,n=0,s=Math.min(r,i);n<s;++n)if(t[n]!==e[n]){r=t[n],i=e[n];break}return r<i?-1:i<r?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,i=a.allocUnsafe(e),n=0;for(r=0;r<t.length;++r){var s=t[r];
vendor: 9,778 bytes, line 1
1if(R(s,Uint8Array)&&(s=a.from(s)),!a.isBuffer(s))throw TypeError('"list" argument must be an Array of Buffers');s.copy(i,n),n+=s.length}return i},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?v(this,0,t):d.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},s&&(a.prototype[s]=a.prototype.inspect),a.prototype.compare=function(t,e,r,i,n){if(R(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),e<0||r>t.length||i<0||n>this.length)throw RangeError("out of range index");if(i>=n&&e>=r)return 0;if(i>=n)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,i>>>=0,n>>>=0,this===t)return 0;for(var s=n-i,o=r-e,l=Math.min(s,o),u=this.slice(i,n),h=t.slice(e,r),c=0;c<l;++c)if(u[c]!==h[c]){s=u[c],o=h[c];break}return s<o?-1:o<s?1:0},a.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)},a.prototype.write=function(t,e,r,i){if(void 0===e)i="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)i=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,s,o,a,l,u,h,c,f,p,d,m,g=this.length-e;if((void 0===r||r>g)&&(r=g),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var y=!1;;)switch(i){case"hex":return function(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?(i=Number(i))>n&&(i=n):i=n;var s=e.length;i>s/2&&(i=s/2);for(var o=0;o<i;++o){var a=parseInt(e.substr(2*o,2),16);if(a!=a)break;t[r+o]=a}return o}(this,t,e,r);case"utf8":case"utf-8":return l=e,u=r,O(P(t,this.length-l),this,l,u);case"ascii":return h=e,c=r,O(A(t),this,h,c);case"latin1":case"binary":return n=this,s=t,o=e,a=r,O(A(s),n,o,a);case"base64":return f=e,p=r,O(C(t),this,f,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return d=e,m=r,O(function(t,e){for(var r,i,n=[],s=0;s<t.length&&!((e-=2)<0);++s)i=(r=t.charCodeAt(s))>>8,n.push(r%256),n.push(i);return n}(t,this.length-d),this,d,m);default:if(y)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),y=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var i=this.subarray(t,e);return Object.setPrototypeOf(i,a.prototype),i},a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var i=this[t],n=1,s=0;++s<e&&(n*=256);)i+=this[t+s]*n;return i},a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var i=this[t+--e],n=1;e>0&&(n*=256);)i+=this[t+--e]*n;return i},a.prototype.readUInt8=function(t,e){return t>>>=0,e||b(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var i=this[t],n=1,s=0;++s<e&&(n*=256);)i+=this[t+s]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var i=e,n=1,s=this[t+--i];i>0&&(n*=256);)s+=this[t+--i]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*e)),s},a.prototype.readInt8=function(t,e){return(t>>>=0,e||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||b(t,4,this.length),n.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||b(t,4,this.length),n.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||b(t,8,this.length),n.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||b(t,8,this.length),n.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,i){if(t=+t,e>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;x(this,t,e,r,n,0)}var s=1,o=0;for(this[e]=255&t;++o<r&&(s*=256);)this[e+o]=t/s&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,i){if(t=+t,e>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;x(this,t,e,r,n,0)}var s=r-1,o=1;for(this[e+s]=255&t;--s>=0&&(o*=256);)this[e+s]=t/o&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,i){if(t=+t,e>>>=0,!i){var n=Math.pow(2,8*r-1);x(this,t,e,r,n-1,-n)}var s=0,o=1,a=0;for(this[e]=255&t;++s<r&&(o*=256);)t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+r},a.prototype.writeIntBE=function(t,e,r,i){if(t=+t,e>>>=0,!i){var n=Math.pow(2,8*r-1);x(this,t,e,r,n-1,-n)}var s=r-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return T(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return T(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return E(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return E(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,i){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<r&&(i=r),i===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-r&&(i=t.length-e+r);var n=i-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,i);else if(this===t&&r<e&&e<i)for(var s=n-1;s>=0;--s)t[s+e]=this[s+r];else Uint8Array.prototype.set.call(t,this.subarray(r,i),e);return n},a.prototype.fill=function(t,e,r,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===t.length){var n,s=t.charCodeAt(0);("utf8"===i&&s<128||"latin1"===i)&&(t=s)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(n=e;n<r;++n)this[n]=t;else{var o=a.isBuffer(t)?t:a.from(t,i),l=o.length;
1if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(n=0;n<r-e;++n)this[n+e]=o[n%l]}return this};var S=/[^+/0-9A-Za-z-_]/g;function P(t,e){e=e||1/0;for(var r,i=t.length,n=null,s=[],o=0;o<i;++o){if((r=t.charCodeAt(o))>55295&&r<57344){if(!n){if(r>56319||o+1===i){(e-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&s.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;s.push(r)}else if(r<2048){if((e-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return s}function A(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function C(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function O(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length)&&!(n>=t.length);++n)e[n+r]=t[n];return n}function R(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var M=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var i=16*r,n=0;n<16;++n)e[i+n]=t[r]+t[n];return e}()},783:function(t,e){e.read=function(t,e,r,i,n){var s,o,a=8*n-i-1,l=(1<<a)-1,u=l>>1,h=-7,c=r?n-1:0,f=r?-1:1,p=t[e+c];for(c+=f,s=p&(1<<-h)-1,p>>=-h,h+=a;h>0;s=256*s+t[e+c],c+=f,h-=8);for(o=s&(1<<-h)-1,s>>=-h,h+=i;h>0;o=256*o+t[e+c],c+=f,h-=8);if(0===s)s=1-u;else{if(s===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),s-=u}return(p?-1:1)*o*Math.pow(2,s-i)},e.write=function(t,e,r,i,n,s){var o,a,l,u=8*s-n-1,h=(1<<u)-1,c=h>>1,f=23===n?5960464477539062e-23:0,p=i?0:s-1,d=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(a=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+c>=1?e+=f/l:e+=f*Math.pow(2,1-c),e*l>=2&&(o++,l/=2),o+c>=h?(a=0,o=h):o+c>=1?(a=(e*l-1)*Math.pow(2,n),o+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,n),o=0));n>=8;t[r+p]=255&a,p+=d,a/=256,n-=8);for(o=o<<n|a,u+=n;u>0;t[r+p]=255&o,p+=d,o/=256,u-=8);t[r+p-d]|=128*m}}},r={};function i(t){var n=r[t];if(void 0!==n)return n.exports;var s=r[t]={exports:{}},o=!0;try{e[t](s,s.exports,i),o=!1}finally{o&&delete r[t]}return s.exports}i.ab="//";var n=i(72);t.exports=n}()},4227:function(t){!function(){var e={229:function(t){var e,r,i,n=t.exports={};function s(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===s||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:s}catch(t){e=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var l=[],u=!1,h=-1;function c(){u&&i&&(u=!1,i.length?l=i.concat(l):h=-1,l.length&&f())}function f(){if(!u){var t=a(c);u=!0;for(var e=l.length;e;){for(i=l,l=[];++h<e;)i&&i[h].run();h=-1,e=l.length}i=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function d(){}n.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new p(t,e)),1!==l.length||u||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(t){return[]},n.binding=function(t){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw Error("process.chdir is not supported")},n.umask=function(){return 0}}},r={};function i(t){var n=r[t];if(void 0!==n)return n.exports;var s=r[t]={exports:{}},o=!0;try{e[t](s,s.exports,i),o=!1}finally{o&&delete r[t]}return s.exports}i.ab="//";var n=i(229);t.exports=n}()},3464:function(t,e,r){"use strict";let i,n,s,o;r.d(e,{Z:function(){return ep}});var a,l,u,h,c={};function f(t,e){return function(){return t.apply(e,arguments)}}r.r(c),r.d(c,{hasBrowserEnv:function(){return ty},hasStandardBrowserEnv:function(){return tb},hasStandardBrowserWebWorkerEnv:function(){return tx},navigator:function(){return tv},origin:function(){return tw}});var p=r(257);let{toString:d}=Object.prototype,{getPrototypeOf:m}=Object,{iterator:g,toStringTag:y}=Symbol,v=(i=Object.create(null),t=>{let e=d.call(t);return i[e]||(i[e]=e.slice(8,-1).toLowerCase())}),b=t=>(t=t.toLowerCase(),e=>v(e)===t),x=t=>e=>typeof e===t,{isArray:w}=Array,T=x("undefined");function E(t){return null!==t&&!T(t)&&null!==t.constructor&&!T(t.constructor)&&A(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}
1let S=b("ArrayBuffer"),P=x("string"),A=x("function"),C=x("number"),O=t=>null!==t&&"object"==typeof t,R=t=>{if("object"!==v(t))return!1;let e=m(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(y in t)&&!(g in t)},M=b("Date"),k=b("File"),D=b("Blob"),B=b("FileList"),L=b("URLSearchParams"),[j,F,V,U]=["ReadableStream","Request","Response","Headers"].map(b);function I(t,e,{allOwnKeys:r=!1}={}){let i,n;if(null!=t){if("object"!=typeof t&&(t=[t]),w(t))for(i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else{let n;if(E(t))return;let s=r?Object.getOwnPropertyNames(t):Object.keys(t),o=s.length;for(i=0;i<o;i++)n=s[i],e.call(null,t[n],n,t)}}}function N(t,e){let r;if(E(t))return null;e=e.toLowerCase();let i=Object.keys(t),n=i.length;for(;n-- >0;)if(e===(r=i[n]).toLowerCase())return r;return null}let _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,W=t=>!T(t)&&t!==_,$=(n="undefined"!=typeof Uint8Array&&m(Uint8Array),t=>n&&t instanceof n),z=b("HTMLFormElement"),X=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Y=b("RegExp"),q=(t,e)=>{let r=Object.getOwnPropertyDescriptors(t),i={};I(r,(r,n)=>{let s;!1!==(s=e(r,n,t))&&(i[n]=s||r)}),Object.defineProperties(t,i)},H=b("AsyncFunction"),K=(a="function"==typeof setImmediate,l=A(_.postMessage),a?setImmediate:l?(u=`axios@${Math.random()}`,h=[],_.addEventListener("message",({source:t,data:e})=>{t===_&&e===u&&h.length&&h.shift()()},!1),t=>{h.push(t),_.postMessage(u,"*")}):t=>setTimeout(t)),Z="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_):void 0!==p&&p.nextTick||K;var J={isArray:w,isArrayBuffer:S,isBuffer:E,isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||A(t.append)&&("formdata"===(e=v(t))||"object"===e&&A(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&S(t.buffer)},isString:P,isNumber:C,isBoolean:t=>!0===t||!1===t,isObject:O,isPlainObject:R,isEmptyObject:t=>{if(!O(t)||E(t))return!1;try{return 0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype}catch(t){return!1}},isReadableStream:j,isRequest:F,isResponse:V,isHeaders:U,isUndefined:T,isDate:M,isFile:k,isBlob:D,isRegExp:Y,isFunction:A,isStream:t=>O(t)&&A(t.pipe),isURLSearchParams:L,isTypedArray:$,isFileList:B,forEach:I,merge:function t(){let{caseless:e,skipUndefined:r}=W(this)&&this||{},i={},n=(n,s)=>{let o=e&&N(i,s)||s;R(i[o])&&R(n)?i[o]=t(i[o],n):R(n)?i[o]=t({},n):w(n)?i[o]=n.slice():r&&T(n)||(i[o]=n)};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&I(arguments[t],n);return i},extend:(t,e,r,{allOwnKeys:i}={})=>(I(e,(e,i)=>{r&&A(e)?t[i]=f(e,r):t[i]=e},{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,i)=>{let n,s,o;let a={};if(e=e||{},null==t)return e;do{for(s=(n=Object.getOwnPropertyNames(t)).length;s-- >0;)o=n[s],(!i||i(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=!1!==r&&m(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:v,kindOfTest:b,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;let i=t.indexOf(e,r);return -1!==i&&i===r},toArray:t=>{if(!t)return null;if(w(t))return t;let e=t.length;if(!C(e))return null;let r=Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{let r;let i=(t&&t[g]).call(t);for(;(r=i.next())&&!r.done;){let i=r.value;e.call(t,i[0],i[1])}},matchAll:(t,e)=>{let r;let i=[];for(;null!==(r=t.exec(e));)i.push(r);return i},isHTMLForm:z,hasOwnProperty:X,hasOwnProp:X,reduceDescriptors:q,freezeMethods:t=>{q(t,(e,r)=>{if(A(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(A(t[r])){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(t,e)=>{let r={};return(t=>{t.forEach(t=>{r[t]=!0})})(w(t)?t:String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,r){return e.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:N,global:_,isContextDefined:W,isSpecCompliantForm:function(t){return!!(t&&A(t.append)&&"FormData"===t[y]&&t[g])},toJSONObject:t=>{let e=Array(10),r=(t,i)=>{if(O(t)){if(e.indexOf(t)>=0)return;if(E(t))return t;if(!("toJSON"in t)){e[i]=t;let n=w(t)?[]:{};return I(t,(t,e)=>{let s=r(t,i+1);T(s)||(n[e]=s)}),e[i]=void 0,n}}return t};return r(t,0)},isAsyncFn:H,isThenable:t=>t&&(O(t)||A(t))&&A(t.then)&&A(t.catch),setImmediate:K,asap:Z,isIterable:t=>null!=t&&A(t[g])};function G(t,e,r,i,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),i&&(this.request=i),n&&(this.response=n,this.status=n.status?n.status:null)}J.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}});let Q=G.prototype,tt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","E
1RR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{tt[t]={value:t}}),Object.defineProperties(G,tt),Object.defineProperty(Q,"isAxiosError",{value:!0}),G.from=(t,e,r,i,n,s)=>{let o=Object.create(Q);J.toFlatObject(t,o,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t);let a=t&&t.message?t.message:"Error",l=null==e&&t?t.code:e;return G.call(o,a,l,r,i,n),t&&null==o.cause&&Object.defineProperty(o,"cause",{value:t,configurable:!0}),o.name=t&&t.name||"Error",s&&Object.assign(o,s),o};var te=r(6434).Buffer;function tr(t){return J.isPlainObject(t)||J.isArray(t)}function ti(t){return J.endsWith(t,"[]")?t.slice(0,-2):t}function tn(t,e,r){return t?t.concat(e).map(function(t,e){return t=ti(t),!r&&e?"["+t+"]":t}).join(r?".":""):e}let ts=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});var to=function(t,e,r){if(!J.isObject(t))throw TypeError("target must be an object");e=e||new FormData;let i=(r=J.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!J.isUndefined(e[t])})).metaTokens,n=r.visitor||u,s=r.dots,o=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&J.isSpecCompliantForm(e);if(!J.isFunction(n))throw TypeError("visitor must be a function");function l(t){if(null===t)return"";if(J.isDate(t))return t.toISOString();if(J.isBoolean(t))return t.toString();if(!a&&J.isBlob(t))throw new G("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(t)||J.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):te.from(t):t}function u(t,r,n){let a=t;if(t&&!n&&"object"==typeof t){if(J.endsWith(r,"{}"))r=i?r:r.slice(0,-2),t=JSON.stringify(t);else{var u;if(J.isArray(t)&&(u=t,J.isArray(u)&&!u.some(tr))||(J.isFileList(t)||J.endsWith(r,"[]"))&&(a=J.toArray(t)))return r=ti(r),a.forEach(function(t,i){J.isUndefined(t)||null===t||e.append(!0===o?tn([r],i,s):null===o?r:r+"[]",l(t))}),!1}}return!!tr(t)||(e.append(tn(n,r,s),l(t)),!1)}let h=[],c=Object.assign(ts,{defaultVisitor:u,convertValue:l,isVisitable:tr});if(!J.isObject(t))throw TypeError("data must be an object");return!function t(r,i){if(!J.isUndefined(r)){if(-1!==h.indexOf(r))throw Error("Circular reference detected in "+i.join("."));h.push(r),J.forEach(r,function(r,s){!0===(!(J.isUndefined(r)||null===r)&&n.call(e,r,J.isString(s)?s.trim():s,i,c
1))&&t(r,i?i.concat(s):[s])}),h.pop()}}(t),e};function ta(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function tl(t,e){this._pairs=[],t&&to(t,this,e)}let tu=tl.prototype;function th(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function tc(t,e,r){let i;if(!e)return t;let n=r&&r.encode||th;J.isFunction(r)&&(r={serialize:r});let s=r&&r.serialize;if(i=s?s(e,r):J.isURLSearchParams(e)?e.toString():new tl(e,r).toString(n)){let e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}tu.append=function(t,e){this._pairs.push([t,e])},tu.toString=function(t){let e=t?function(e){return t.call(this,e,ta)}:ta;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};class tf{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(e){null!==e&&t(e)})}}var tp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},td="undefined"!=typeof URLSearchParams?URLSearchParams:tl,tm="undefined"!=typeof FormData?FormData:null,tg="undefined"!=typeof Blob?Blob:null;let ty="undefined"!=typeof window&&"undefined"!=typeof document,tv="object"==typeof navigator&&navigator||void 0,tb=ty&&(!tv||0>["ReactNative","NativeScript","NS"].indexOf(tv.product)),tx="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,tw=ty&&window.location.href||"http://localhost";var tT={...c,isBrowser:!0,classes:{URLSearchParams:td,FormData:tm,Blob:tg},protocols:["http","https","file","blob","url","data"]},tE=function(t){if(J.isFormData(t)&&J.isFunction(t.entries)){let e={};return J.forEachEntry(t,(t,r)=>{!function t(e,r,i,n){let s=e[n++];if("__proto__"===s)return!0;let o=Number.isFinite(+s),a=n>=e.length;return(s=!s&&J.isArray(i)?i.length:s,a)?J.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r:(i[s]&&J.isObject(i[s])||(i[s]=[]),t(e,r,i[s],n)&&J.isArray(i[s])&&(i[s]=function(t){let e,r;let i={},n=Object.keys(t),s=n.length;for(e=0;e<s;e++)i[r=n[e]]=t[r];return i}(i[s]))),!o}(J.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0]),r,e,0)}),e}return null};let tS={transitional:tp,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){let r;let i=e.getContentType()||"",n=i.indexOf("application/json")>-1,s=J.isObject(t);if(s&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return n?JSON.stringify(tE(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t)||J.isReadableStream(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1){var o,a;return(o=t,a=this.formSerializer,to(o,new tT.classes.URLSearchParams,{visitor:function(t,e,r,i){return tT.isNode&&J.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...a})).toString()}if((r=J.isFileList(t))||i.indexOf("multipart/form-data")>-1){let e=this.env&&this.env.FormData;return to(r?{"files[]":t}:t,e&&new e,this.formSerializer)}}return s||n?(e.setContentType("application/json",!1),function(t,e,r){if(J.isString(t))try{return(0,JSON.parse)(t),J.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){let e=this.transitional||tS.transitional,r=e&&e.forcedJSONParsing,i="json"===this.responseType;if(J.isResponse(t)||J.isReadableStream(t))return t;if(t&&J.isString(t)&&(r&&!this.responseType||i)){let r=e&&e.silentJSONParsing;try{return JSON.parse(t,this.parseReviver)}catch(t){if(!r&&i){if("SyntaxError"===t.name)throw G.from(t,G.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tT.classes.FormData,Blob:tT.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],t=>{tS.headers[t]={}});let tP=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var tA=t=>{let e,r,i;let n={};return t&&t.split("\n").forEach(function(t){i=t.indexOf(":"),e=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!e||n[e]&&tP[e]||("set-cookie"===e?n[e]?n[e].push(r):n[e]=[r]:n[e]=n[e]?n[e]+", "+r:r)}),n};let tC=Symbol("internals");function tO(t){return t&&String(t).trim().toLowerCase()}function tR(t){return!1===t||null==t?t:J.isArray(t)?t.map(tR):String(t)}let tM=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function tk(t,e,r,i,n){if(J.isFunction(i))return i.call(this,e,r);if(n&&(e=r),J.isString(e)){if(J.isString(i))return -1!==e.indexOf(i);if(J.isRegExp(i))return i.test(e)}}class tD{constructor(t){t&&this.set(t)}set(t,e,r){let i=this;function n(t,e,r){let n=tO(e);if(!n)throw Error("header name must be a non-empty string");let s=J.findKey(i,n);s&&void 0!==i[s]&&!0!==r&&(void 0!==r||!1===i[s])||(i[s||e]=tR(t))}let s=(t,e)=>J.forEach(t,(t,r)=>n(t,r,e));if(J.isPlainObject(t)||t instanceof this.constructor)s(t,e);else if(J.isString(t)&&(t=t.trim())&&!tM(t))s(tA(t),e);else if(J.isObject(t)&&J.isIterable(t)){let r={},i,n;for(let e of t){if(!J.isArray(e))throw TypeError("Object iterator must return a key-value pair");r[n=e[0]]=(i=r[n])?J.isArray(i)?[...i,e[1]]:[i,e[1]]:e[1]}s(r,e)}else null!=t&&n(e,t,r);return this}get(t,e){if(t=tO(t)){let r=J.findKey(this,t);if(r){let t=this[r];if(!e)return t;if(!0===e)return function(t){let e;let r=Object.create(null),i=/([^\s,;
1=]+)\s*(?:=\s*([^,;]+))?/g;for(;e=i.exec(t);)r[e[1]]=e[2];return r}(t);if(J.isFunction(e))return e.call(this,t,r);if(J.isRegExp(e))return e.exec(t);throw TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=tO(t)){let r=J.findKey(this,t);return!!(r&&void 0!==this[r]&&(!e||tk(this,this[r],r,e)))}return!1}delete(t,e){let r=this,i=!1;function n(t){if(t=tO(t)){let n=J.findKey(r,t);n&&(!e||tk(r,r[n],n,e))&&(delete r[n],i=!0)}}return J.isArray(t)?t.forEach(n):n(t),i}clear(t){let e=Object.keys(this),r=e.length,i=!1;for(;r--;){let n=e[r];(!t||tk(this,this[n],n,t,!0))&&(delete this[n],i=!0)}return i}normalize(t){let e=this,r={};return J.forEach(this,(i,n)=>{let s=J.findKey(r,n);if(s){e[s]=tR(i),delete e[n];return}let o=t?n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,r)=>e.toUpperCase()+r):String(n).trim();o!==n&&delete e[n],e[o]=tR(i),r[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let e=Object.create(null);return J.forEach(this,(r,i)=>{null!=r&&!1!==r&&(e[i]=t&&J.isArray(r)?r.join(", "):r)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){let r=new this(t);return e.forEach(t=>r.set(t)),r}static accessor(t){let e=(this[tC]=this[tC]={accessors:{}}).accessors,r=this.prototype;function i(t){let i=tO(t);e[i]||(!function(t,e){let r=J.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+r,{value:function(t,r,n){return this[i].call(this,e,t,r,n)},configurable:!0})})}(r,t),e[i]=!0)}return J.isArray(t)?t.forEach(i):i(t),this}}function tB(t,e){let r=this||tS,i=e||r,n=tD.from(i.headers),s=i.data;return J.forEach(t,function(t){s=t.call(r,s,n.normalize(),e?e.status:void 0)}),n.normalize(),s}function tL(t){return!!(t&&t.__CANCEL__)}function tj(t,e,r){G.call(this,null==t?"canceled":t,G.ERR_CANCELED,e,r),this.name="CanceledError"}function tF(t,e,r){let i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):e(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}tD.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),J.reduceDescriptors(tD.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}}),J.freezeMethods(tD),J.inherits(tj,G,{__CANCEL__:!0});var tV=function(t,e){let r;let i=Array(t=t||10),n=Array(t),s=0,o=0;return e=void 0!==e?e:1e3,function(a){let l=Date.now(),u=n[o];r||(r=l),i[s]=a,n[s]=l;let h=o,c=0;for(;h!==s;)c+=i[h++],h%=t;if((s=(s+1)%t)===o&&(o=(o+1)%t),l-r<e)return;let f=u&&l-u;return f?Math.round(1e3*c/f):void 0}},tU=function(t,e){let r,i,n=0,s=1e3/e,o=(e,s=Date.now())=>{n=s,r=null,i&&(clearTimeout(i),i=null),t(...e)};return[(...t)=>{let e=Date.now(),a=e-n;a>=s?o(t,e):(r=t,i||(i=setTimeout(()=>{i=null,o(r)},s-a)))},()=>r&&o(r)]};let tI=(t,e,r=3)=>{let i=0,n=tV(50,250);return tU(r=>{let s=r.loaded,o=r.lengthComputable?r.total:void 0,a=s-i,l=n(a);i=s,t({loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&s<=o?(o-s)/l:void 0,event:r,lengthComputable:null!=o,[e?"download":"upload"]:!0})},r)},tN=(t,e)=>{let r=null!=t;return[i=>e[0]({lengthComputable:r,total:t,loaded:i}),e[1]]},t_=t=>(...e)=>J.asap(()=>t(...e));var tW=tT.hasStandardBrowserEnv?(s=new URL(tT.origin),o=tT.navigator&&/(msie|trident)/i.test(tT.navigator.userAgent),t=>(t=new URL(t,tT.origin),s.protocol===t.protocol&&s.host===t.host&&(o||s.port===t.port))):()=>!0,t$=tT.hasStandardBrowserEnv?{write(t,e,r,i,n,s,o){if("undefined"==typeof document)return;let a=[`${t}=${encodeURIComponent(e)}`];J.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),J.isString(i)&&a.push(`path=${i}`),J.isString(n)&&a.push(`domain=${n}`),!0===s&&a.push("secure"),J.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(t){if("undefined"==typeof document)return null;let e=document.cookie.match(RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function tz(t,e,r){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(i||!1==r)?e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t:e}let tX=t=>t instanceof tD?{...t}:t;function tY(t,e){e=e||{};let r={};function i(t,e,r,i){return J.isPlainObject(t)&&J.isPlainObject(e)?J.merge.call({caseless:i},t,e):J.isPlainObject(e)?J.merge({},e):J.isArray(e)?e.slice():e}function n(t,e,r,n){return J.isUndefined(e)?J.isUndefined(t)?void 0:i(void 0,t,r,n):i(t,e,r,n)}function s(t,e){if(!J.isUndefined(e))return i(void 0,e)}function o(t,e){return J.isUndefined(e)?J.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function a(r,n,s){return s in e?i(r,n):s in t?i(void 0,r):void 0}let l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
1dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(t,e,r)=>n(tX(t),tX(e),r,!0)};return J.forEach(Object.keys({...t,...e}),function(i){let s=l[i]||n,o=s(t[i],e[i],i);J.isUndefined(o)&&s!==a||(r[i]=o)}),r}var tq=t=>{let e=tY({},t),{data:r,withXSRFToken:i,xsrfHeaderName:n,xsrfCookieName:s,headers:o,auth:a}=e;if(e.headers=o=tD.from(o),e.url=tc(tz(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),J.isFormData(r)){if(tT.hasStandardBrowserEnv||tT.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(J.isFunction(r.getHeaders)){let t=r.getHeaders(),e=["content-type","content-length"];Object.entries(t).forEach(([t,r])=>{e.includes(t.toLowerCase())&&o.set(t,r)})}}if(tT.hasStandardBrowserEnv&&(i&&J.isFunction(i)&&(i=i(e)),i||!1!==i&&tW(e.url))){let t=n&&s&&t$.read(s);t&&o.set(n,t)}return e},tH="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(e,r){let i,n,s,o,a;let l=tq(t),u=l.data,h=tD.from(l.headers).normalize(),{responseType:c,onUploadProgress:f,onDownloadProgress:p}=l;function d(){o&&o(),a&&a(),l.cancelToken&&l.cancelToken.unsubscribe(i),l.signal&&l.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function g(){if(!m)return;let i=tD.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());tF(function(t){e(t),d()},function(t){r(t),d()},{data:c&&"text"!==c&&"json"!==c?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:i,config:t,request:m}),m=null}m.open(l.method.toUpperCase(),l.url,!0),m.timeout=l.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(r(new G("Request aborted",G.ECONNABORTED,t,m)),m=null)},m.onerror=function(e){let i=new G(e&&e.message?e.message:"Network Error",G.ERR_NETWORK,t,m);i.event=e||null,r(i),m=null},m.ontimeout=function(){let e=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",i=l.transitional||tp;l.timeoutErrorMessage&&(e=l.timeoutErrorMessage),r(new G(e,i.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,t,m)),m=null},void 0===u&&h.setContentType(null),"setRequestHeader"in m&&J.forEach(h.toJSON(),function(t,e){m.setRequestHeader(e,t)}),J.isUndefined(l.withCredentials)||(m.withCredentials=!!l.withCredentials),c&&"json"!==c&&(m.responseType=l.responseType),p&&([s,a]=tI(p,!0),m.addEventListener("progress",s)),f&&m.upload&&([n,o]=tI(f),m.upload.addEventListener("progress",n),m.upload.addEventListener("loadend",o)),(l.cancelToken||l.signal)&&(i=e=>{m&&(r(!e||e.type?new tj(null,t,m):e),m.abort(),m=null)},l.cancelToken&&l.cancelToken.subscribe(i),l.signal&&(l.signal.aborted?i():l.signal.addEventListener("abort",i)));let y=function(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(l.url);if(y&&-1===tT.protocols.indexOf(y)){r(new G("Unsupported protocol "+y+":",G.ERR_BAD_REQUEST,t));return}m.send(u||null)})},tK=(t,e)=>{let{length:r}=t=t?t.filter(Boolean):[];if(e||r){let r,i=new AbortController,n=function(t){if(!r){r=!0,o();let e=t instanceof Error?t:this.reason;i.abort(e instanceof G?e:new tj(e instanceof Error?e.message:e))}},s=e&&setTimeout(()=>{s=null,n(new G(`timeout ${e} of ms exceeded`,G.ETIMEDOUT))},e),o=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(n):t.removeEventListener("abort",n)}),t=null)};t.forEach(t=>t.addEventListener("abort",n));let{signal:a}=i;return a.unsubscribe=()=>J.asap(o),a}};let tZ=function*(t,e){let r,i=t.byteLength;if(!e||i<e){yield t;return}let n=0;for(;n<i;)r=n+e,yield t.slice(n,r),n=r},tJ=async function*(t,e){for await(let r of tG(t))yield*tZ(r,e)},tG=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)break;yield r}}finally{await e.cancel()}},tQ=(t,e,r,i)=>{let n;let s=tJ(t,e),o=0,a=t=>{!n&&(n=!0,i&&i(t))};return new ReadableStream({async pull(t){try{let{done:e,value:i}=await s.next();if(e){a(),t.close();return}let n=i.byteLength;if(r){let t=o+=n;r(t)}t.enqueue(new Uint8Array(i))}catch(t){throw a(t),t}},cancel:t=>(a(t),s.return())},{highWaterMark:2})},{isFunction:t0}=J,t1=(({Request:t,Response:e})=>({Request:t,Response:e}))(J.global),{ReadableStream:t2,TextEncoder:t5}=J.global,t3=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},t4=t=>{let e;let{fetch:r,Request:i,Response:n}=t=J.merge.call({skipUndefined:!0},t1,t),s=r?t0(r):"function"==typeof fetch,o=t0(i),a=t0(n);if(!s)return!1;let l=s&&t0(t2),u=s&&("function"==typeof t5?(e=new t5,t=>e.encode(t)):async t=>new Uint8Array(await new i(t).arrayBuffer())),h=o&&l&&t3(()=>{let t=!1,e=new i(tT.origin,{body:new t2,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),c=a&&l&&t3(()=>
1J.isReadableStream(new n("").body)),f={stream:c&&(t=>t.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(t=>{f[t]||(f[t]=(e,r)=>{let i=e&&e[t];if(i)return i.call(e);throw new G(`Response type '${t}' is not supported`,G.ERR_NOT_SUPPORT,r)})});let p=async t=>{if(null==t)return 0;if(J.isBlob(t))return t.size;if(J.isSpecCompliantForm(t)){let e=new i(tT.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return J.isArrayBufferView(t)||J.isArrayBuffer(t)?t.byteLength:(J.isURLSearchParams(t)&&(t+=""),J.isString(t))?(await u(t)).byteLength:void 0},d=async(t,e)=>{let r=J.toFiniteNumber(t.getContentLength());return null==r?p(e):r};return async t=>{let e,{url:s,method:a,data:l,signal:u,cancelToken:p,timeout:m,onDownloadProgress:g,onUploadProgress:y,responseType:v,headers:b,withCredentials:x="same-origin",fetchOptions:w}=tq(t),T=r||fetch;v=v?(v+"").toLowerCase():"text";let E=tK([u,p&&p.toAbortSignal()],m),S=null,P=E&&E.unsubscribe&&(()=>{E.unsubscribe()});try{if(y&&h&&"get"!==a&&"head"!==a&&0!==(e=await d(b,l))){let t,r=new i(s,{method:"POST",body:l,duplex:"half"});if(J.isFormData(l)&&(t=r.headers.get("content-type"))&&b.setContentType(t),r.body){let[t,i]=tN(e,tI(t_(y)));l=tQ(r.body,65536,t,i)}}J.isString(x)||(x=x?"include":"omit");let r=o&&"credentials"in i.prototype,u={...w,signal:E,method:a.toUpperCase(),headers:b.normalize().toJSON(),body:l,duplex:"half",credentials:r?x:void 0};S=o&&new i(s,u);let p=await (o?T(S,w):T(s,u)),m=c&&("stream"===v||"response"===v);if(c&&(g||m&&P)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=p[e]});let e=J.toFiniteNumber(p.headers.get("content-length")),[r,i]=g&&tN(e,tI(t_(g),!0))||[];p=new n(tQ(p.body,65536,r,()=>{i&&i(),P&&P()}),t)}v=v||"text";let A=await f[J.findKey(f,v)||"text"](p,t);return!m&&P&&P(),await new Promise((e,r)=>{tF(e,r,{data:A,headers:tD.from(p.headers),status:p.status,statusText:p.statusText,config:t,request:S})})}catch(e){if(P&&P(),e&&"TypeError"===e.name&&/Load failed|fetch/i.test(e.message))throw Object.assign(new G("Network Error",G.ERR_NETWORK,t,S),{cause:e.cause||e});throw G.from(e,e&&e.code,t,S)}}},t6=new Map,t8=t=>{let e=t&&t.env||{},{fetch:r,Request:i,Response:n}=e,s=[i,n,r],o=s.length,a,l,u=t6;for(;o--;)a=s[o],void 0===(l=u.get(a))&&u.set(a,l=o?new Map:t4(e)),u=l;return l};t8();let t7={http:null,xhr:tH,fetch:{get:t8}};J.forEach(t7,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}});let t9=t=>`- ${t}`,et=t=>J.isFunction(t)||null===t||!1===t;var ee=function(t,e){let r,i;let{length:n}=t=J.isArray(t)?t:[t],s={};for(let o=0;o<n;o++){let n;if(i=r=t[o],!et(r)&&void 0===(i=t7[(n=String(r)).toLowerCase()]))throw new G(`Unknown adapter '${n}'`);if(i&&(J.isFunction(i)||(i=i.get(e))))break;s[n||"#"+o]=i}if(!i){let t=Object.entries(s).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));throw new G("There is no suitable adapter to dispatch the request "+(n?t.length>1?"since :\n"+t.map(t9).join("\n"):" "+t9(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function er(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new tj(null,t)}function ei(t){return er(t),t.headers=tD.from(t.headers),t.data=tB.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ee(t.adapter||tS.adapter,t)(t).then(function(e){return er(t),e.data=tB.call(t,t.transformResponse,e),e.headers=tD.from(e.headers),e},function(e){return!tL(e)&&(er(t),e&&e.response&&(e.response.data=tB.call(t,t.transformResponse,e.response),e.response.headers=tD.from(e.response.headers))),Promise.reject(e)})}let en="1.13.2",es={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{es[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});let eo={};es.transitional=function(t,e,r){function i(t,e){return"[Axios v"+en+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,n,s)=>{if(!1===t)throw new G(i(n," has been removed"+(e?" in "+e:"")),G.ERR_DEPRECATED);return e&&!eo[n]&&(eo[n]=!0,console.warn(i(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,s)}},es.spelling=function(t){return(e,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};var ea={assertOptions:function(t,e,r){if("object"!=typeof t)throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),n=i.length;for(;n-- >0;){let s=i[n],o=e[s];if(o){let e=t[s],r=void 0===e||o(e,s,t);if(!0!==r)throw new G("option "+s+" must be "+r,G.ERR_BAD_OPTION_VALUE);continue}
1if(!0!==r)throw new G("Unknown option "+s,G.ERR_BAD_OPTION)}},validators:es};let el=ea.validators;class eu{constructor(t){this.defaults=t||{},this.interceptors={request:new tf,response:new tf}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=Error();let r=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}catch(t){}}throw t}}_request(t,e){let r,i;"string"==typeof t?(e=e||{}).url=t:e=t||{};let{transitional:n,paramsSerializer:s,headers:o}=e=tY(this.defaults,e);void 0!==n&&ea.assertOptions(n,{silentJSONParsing:el.transitional(el.boolean),forcedJSONParsing:el.transitional(el.boolean),clarifyTimeoutError:el.transitional(el.boolean)},!1),null!=s&&(J.isFunction(s)?e.paramsSerializer={serialize:s}:ea.assertOptions(s,{encode:el.function,serialize:el.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),ea.assertOptions(e,{baseUrl:el.spelling("baseURL"),withXsrfToken:el.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=o&&J.merge(o.common,o[e.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=tD.concat(a,o);let l=[],u=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(e))&&(u=u&&t.synchronous,l.unshift(t.fulfilled,t.rejected))});let h=[];this.interceptors.response.forEach(function(t){h.push(t.fulfilled,t.rejected)});let c=0;if(!u){let t=[ei.bind(this),void 0];for(t.unshift(...l),t.push(...h),i=t.length,r=Promise.resolve(e);c<i;)r=r.then(t[c++],t[c++]);return r}i=l.length;let f=e;for(;c<i;){let t=l[c++],e=l[c++];try{f=t(f)}catch(t){e.call(this,t);break}}try{r=ei.call(this,f)}catch(t){return Promise.reject(t)}for(c=0,i=h.length;c<i;)r=r.then(h[c++],h[c++]);return r}getUri(t){return tc(tz((t=tY(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){eu.prototype[t]=function(e,r){return this.request(tY(r||{},{method:t,url:e,data:(r||{}).data}))}}),J.forEach(["post","put","patch"],function(t){function e(e){return function(r,i,n){return this.request(tY(n||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}eu.prototype[t]=e(),eu.prototype[t+"Form"]=e(!0)});class eh{constructor(t){let e;if("function"!=typeof t)throw TypeError("executor must be a function.");this.promise=new Promise(function(t){e=t});let r=this;this.promise.then(t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null}),this.promise.then=t=>{let e;let i=new Promise(t=>{r.subscribe(t),e=t}).then(t);return i.cancel=function(){r.unsubscribe(e)},i},t(function(t,i,n){r.reason||(r.reason=new tj(t,i,n),e(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){let t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new eh(function(e){t=e}),cancel:t}}}let ec={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ec).forEach(([t,e])=>{ec[e]=t});let ef=function t(e){let r=new eu(e),i=f(eu.prototype.request,r);return J.extend(i,eu.prototype,r,{allOwnKeys:!0}),J.extend(i,r,null,{allOwnKeys:!0}),i.create=function(r){return t(tY(e,r))},i}(tS);ef.Axios=eu,ef.CanceledError=tj,ef.CancelToken=eh,ef.isCancel=tL,ef.VERSION=en,ef.toFormData=to,ef.AxiosError=G,ef.Cancel=ef.CanceledError,ef.all=function(t){return Promise.all(t)},ef.spread=function(t){return function(e){return t.apply(null,e)}},ef.isAxiosError=function(t){return J.isObject(t)&&!0===t.isAxiosError},ef.mergeConfig=tY,ef.AxiosHeaders=tD,ef.formToJSON=t=>tE(J.isHTMLForm(t)?new FormData(t):t),ef.getAdapter=ee,ef.HttpStatusCode=ec,ef.default=ef;var ep=ef},7586:function(t,e,r){"use strict";r.d(e,{M:function(){return b}});var i=r(7437),n=r(2265),s=r(8881),o=r(3576),a=r(1534),l=r(4252),u=r(3537),h=r(5750);function c(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class f extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,r=(0,u.R)(t)&&t.offsetWidth||0,i=this.props.sizeRef.current;i.height=e.offsetHeight||0,i.width=e.offsetWidth||0,i.top=e.offsetTop,i.left=e.offsetLeft,i.right=r-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p(t){let{children:e,isPresent:r,anchorX:s,root:o}=t,a=(0,n.useId)(),l=(0,n.useRef)(null),u=(0,n.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:p}=(0,n.useContext)(h._),d=function(...t){return n.useCallback(function(...t){return e=>{let r=!1,i=t.map(t=>{let i=c(t,e);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let e=0;e<i.length;e++){let r=i[e];"function"==typeof r?r():c(t[e],null)}}}}(...t),t)}(l,null==e?void 0:e.ref);return(0,n.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:n,right:h}=u.current;if(r||!l.current||!t||!e)return;l.current.dataset.motionPopId=a;let c=document.createElement("style");p&&(c.nonce=p);let f=null!=o?o:document.head;return f.appendChild(c),c.sheet&&c.sheet.insertRule('\n [data-motion-pop-id="'.concat(a,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n ").concat("left"===s?"left: ".concat(n):"right: ".concat(h),"px !important;\n top: ").concat(i,"px !important;\n }\n ")),()=>{f.contains(c)&&f.removeChild(c)}},[r]),(0,i.jsx)(f,{isPresent:r,childRef:l,sizeRef:u,children:n.cloneElement(e,{ref:d})})}let d=t=>{let{children:e,initial:r,isPresent:s,onExitComplete:a,custom:u,presenceAffectsLayout:h,mode:c,anchorX:f,root:d}=t,g=(0,o.h)(m),y=(0,n.useId)(),v=!0,b=(0,n.useMemo)(()=>(v=!1,{id:y,initial:r,isPresent:s,custom:u,onExitComplete:t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;a&&a()},register:t=>(g.set(t,!1),()=>g.delete(t))}),[s,g,a]);return h&&v&&(b={...b}),(0,n.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[s]),n.useEffect(()=>{s||g.size||!a||a()},[s]),"popLayout"===c&&(e=(0,i.jsx)(p,{isPresent:s,anchorX:f,root:d,children:e})),(0,i.jsx)(l.O.Provider,{value:b,children:e})};function m(){return new Map}var g=r(9637);let y=t=>t.key||"";function v(t){let e=[];
1return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}let b=t=>{let{children:e,custom:r,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:c="sync",propagate:f=!1,anchorX:p="left",root:m}=t,[b,x]=(0,g.oO)(f),w=(0,n.useMemo)(()=>v(e),[e]),T=f&&!b?[]:w.map(y),E=(0,n.useRef)(!0),S=(0,n.useRef)(w),P=(0,o.h)(()=>new Map),[A,C]=(0,n.useState)(w),[O,R]=(0,n.useState)(w);(0,a.L)(()=>{E.current=!1,S.current=w;for(let t=0;t<O.length;t++){let e=y(O[t]);T.includes(e)?P.delete(e):!0!==P.get(e)&&P.set(e,!1)}},[O,T.length,T.join("-")]);let M=[];if(w!==A){let t=[...w];for(let e=0;e<O.length;e++){let r=O[e],i=y(r);T.includes(i)||(t.splice(e,0,r),M.push(r))}return"wait"===c&&M.length&&(t=M),R(v(t)),C(w),null}let{forceRender:k}=(0,n.useContext)(s.p);return(0,i.jsx)(i.Fragment,{children:O.map(t=>{let e=y(t),n=(!f||!!b)&&(w===O||T.includes(e));return(0,i.jsx)(d,{isPresent:n,initial:(!E.current||!!l)&&void 0,custom:r,presenceAffectsLayout:h,mode:c,root:m,onExitComplete:n?void 0:()=>{if(!P.has(e))return;P.set(e,!0);let t=!0;P.forEach(e=>{e||(t=!1)}),t&&(null==k||k(),R(S.current),f&&(null==x||x()),u&&u())},anchorX:p,children:t},e)})})}},9637:function(t,e,r){"use strict";r.d(e,{oO:function(){return s}});var i=r(2265),n=r(4252);function s(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,i.useContext)(n.O);if(null===e)return[!0,null];let{isPresent:r,onExitComplete:s,register:o}=e,a=(0,i.useId)();(0,i.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,i.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!r&&s?[!1,l]:[!0]}},8881:function(t,e,r){"use strict";r.d(e,{p:function(){return i}});let i=(0,r(2265).createContext)({})},5750:function(t,e,r){"use strict";r.d(e,{_:function(){return i}});let i=(0,r(2265).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},4252:function(t,e,r){"use strict";r.d(e,{O:function(){return i}});let i=(0,r(2265).createContext)(null)},5237:function(t,e,r){"use strict";r.d(e,{E:function(){return nW}});var i,n=r(2265);let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(s),a=t=>180*t/Math.PI,l=t=>h(a(Math.atan2(t[1],t[0]))),u={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:l,rotateZ:l,skewX:t=>a(Math.atan(t[1])),skewY:t=>a(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},h=t=>((t%=360)<0&&(t+=360),t),c=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),p={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:c,scaleY:f,scale:t=>(c(t)+f(t))/2,rotateX:t=>h(a(Math.atan2(t[6],t[5]))),rotateY:t=>h(a(Math.atan2(-t[2],t[0]))),rotateZ:l,rotate:l,skewX:t=>a(Math.atan(t[4])),skewY:t=>a(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function d(t){return t.includes("scale")?1:0}function m(t,e){let r,i;if(!t||"none"===t)return d(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)r=p,i=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=u,i=e}if(!i)return d(e);let s=r[e],o=i[1].split(",").map(y);return"function"==typeof s?s(o):o[s]}let g=(t,e)=>{let{transform:r="none"}=getComputedStyle(t);return m(r,e)};function y(t){return parseFloat(t.trim())}var v=r(8596);function b({top:t,left:e,right:r,bottom:i}){return{x:{min:e,max:r},y:{min:t,max:i}}}var x=r(3811);function w(t){return void 0===t||1===t}function T({scale:t,scaleX:e,scaleY:r}){return!w(t)||!w(e)||!w(r)}function E(t){return T(t)||S(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function S(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function P(t,e,r,i,n){return void 0!==n&&(t=i+n*(t-i)),i+r*(t-i)+e}function A(t,e=0,r=1,i,n){t.min=P(t.min,e,r,i,n),t.max=P(t.max,e,r,i,n)}function C(t,{x:e,y:r}){A(t.x,e.translate,e.scale,e.originPoint),A(t.y,r.translate,r.scale,r.originPoint)}function O(t,e){t.min=t.min+e,t.max=t.max+e}function R(t,e,r,i,n=.5){let s=(0,x.t)(t.min,t.max,n);A(t,e,r,s,i)}function M(t,e){R(t.x,e.x,e.scaleX,e.scale,e.originX),R(t.y,e.y,e.scaleY,e.scale,e.originY)}function k(t,e){return b(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}let D=new Set(["width","height","top","left","right","bottom",...s]);var B=r(1799),L=r(2854);let j=t=>e=>e.test(t),F=[B.Rx,L.px,L.aQ,L.RW,L.vw,L.vh,{test:t=>"auto"===t,parse:t=>t}],V=t=>F.find(j(t));var U=r(2035);let I=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),N=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,_=t=>t===B.Rx||t===L.px,W=new Set(["x","y","z"]),$=s.filter(t=>!W.has(t)),z={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>m(e,"x"),y:(t,{transform:e})=>m(e,"y")};z.translateX=z.x,z.translateY=z.y;var X=r(6147);let Y=new Set,q=!1,H=!1,K=!1;function Z(){if(H){let t=Array.from(Y).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),r=new Map;e.forEach(t=>{let e=function(t){let e=[];return $.forEach(r=>{let i=t.getValue(r);void 0!==i&&(e.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),e}(t);e.length&&(r.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=r.get(t);e&&e.forEach(([e,r])=>{t.getValue(e)?.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}H=!1,q=!1,Y.forEach(t=>t.complete(K)),Y.clear()}function J(){Y.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(H=!0)})}class G{constructor(t,e,r,i,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Y.add(this),q||(q=!0,X.Wi.read(J),X.Wi.resolveKeyframes(Z))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:r,motionValue:i}=this;if(null===t[0]){let n=i?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(r&&e){let i=r.readValue(e,s);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=s),i&&void 0===n&&i.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Y.delete(this)}cancel(){"scheduled"===this.state&&(Y.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let Q=t=>/^0[^.\s]+$/u.test(t);var tt=r(5050),te=r(3855);let tr=new Set(["brightness","contrast","saturate","opacity"]);function ti(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=r.match(te.K)||[];if(!i)return t;let n=r.replace(i,""),s=tr.has(e)?1:0;return i!==r&&(s*=100),e+"("+s+n+")"}let tn=/\b([a-z-]*)\(.*?\)/gu,ts={...tt.P,getAnimatableNone:t=>{let e=t.match(tn);return e?e.map(ti).join(" "):t}};var to=r(7537);let ta={...B.Rx,transform:Math.round},tl={rotate:L.RW,rotateX:L.RW,rotateY:L.RW,rotateZ:L.RW,scale:B.bA,scaleX:B.bA,scaleY:B.bA,scaleZ:B.bA,skew:L.RW,skewX:L.RW,skewY:L.RW,distance:L.px,translateX:L.px,translateY:L.px,translateZ:L.px,x:L.px,y:L.px,z:L.px,perspective:L.px,transformPerspective:L.px,opacity:B.Fq,originX:L.$C,originY:L.$C,originZ:L.px},tu={borderWidth:L.px,borderTopWidth:L.px,borderRightWidth:L.px,borderBottomWidth:L.px,borderLeftWidth:L.px,borderRadius:L.px,radius:L.px,borderTopLeftRadius:L.px,borderTopRightRadius:L.px,borderBottomRightRadius:L.px,borderBottomLeftRadius:L.px,width:L.px,maxWidth:L.px,height:L.px,maxHeight:L.px,top:L.px,right:L.px,bottom:L.px,left:L.px,padding:L.px,paddingTop:L.px,paddingRight:L.px,paddingBottom:L.px,paddingLeft:L.px,margin:L.px,marginTop:L.px,marginRight:L.px,marginBottom:L.px,marginLeft:L.px,backgroundPositionX:L.px,backgroundPositionY:L.px,...tl,zIndex:ta,fillOpacity:B.Fq,strokeOpacity:B.Fq,numOctaves:ta},th={...tu,color:to.$,backgroundColor:to.$,outlineColor:to.$,fill:to.$,stroke:to.$,borderColor:to.$,borderTopColor:to.$,borderRightColor:to.$,borderBottomColor:to.$,borderLeftColor:to.$,filter:ts,WebkitFilter:ts},tc=t=>th[t];function tf(t,e){let r=tc(t);return r!==ts&&(r=tt.P),r.getAnimatableNone?r.getAnimatableNone(e):void 0}
1let tp=new Set(["auto","none","0"]);class td extends G{constructor(t,e,r,i,n){super(t,e,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:r}=this;if(!e||!e.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let i=t[r];if("string"==typeof i&&(i=i.trim(),(0,v.t)(i))){let n=function t(e,r,i=1){(0,U.k)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(t){let e=N.exec(t);if(!e)return[,];let[,r,i,n]=e;return[`--${r??i}`,n]}(e);if(!n)return;let o=window.getComputedStyle(r).getPropertyValue(n);if(o){let t=o.trim();return I(t)?parseFloat(t):t}return(0,v.t)(s)?t(s,r,i+1):s}(i,e.current);void 0!==n&&(t[r]=n),r===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!D.has(r)||2!==t.length)return;let[i,n]=t,s=V(i),o=V(n);if(s!==o){if(_(s)&&_(o))for(let e=0;e<t.length;e++){let r=t[e];"string"==typeof r&&(t[e]=parseFloat(r))}else z[r]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,r=[];for(let e=0;e<t.length;e++){var i;(null===t[e]||("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||Q(i)))&&r.push(e)}r.length&&function(t,e,r){let i,n=0;for(;n<t.length&&!i;){let e=t[n];"string"==typeof e&&!tp.has(e)&&(0,tt.V)(e).values.length&&(i=t[n]),n++}if(i&&r)for(let n of e)t[n]=tf(r,i)}(t,r,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:r}=this;if(!t||!t.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=z[r](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];void 0!==i&&t.getValue(r,i).jump(i,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);let n=r.length-1,s=r[n];r[n]=z[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}let tm=t=>!!(t&&t.getVelocity);var tg=r(1927),ty=r(4357);let tv=[...F,to.$,tt.P],tb=t=>tv.find(j(t)),{schedule:tx,cancel:tw}=(0,r(2862).Z)(queueMicrotask,!1);var tT=r(4513);let tE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},tS={};for(let t in tE)tS[t]={isEnabled:e=>tE[t].some(t=>!!e[t])};let tP=()=>({translate:0,scale:1,origin:0,originPoint:0}),tA=()=>({x:tP(),y:tP()}),tC=()=>({min:0,max:0}),tO=()=>({x:tC(),y:tC()});var tR=r(4563);let tM={current:null},tk={current:!1},tD=new WeakMap;function tB(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function tL(t){return"string"==typeof t||Array.isArray(t)}let tj=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tF=["initial",...tj];function tV(t){return tB(t.animate)||tF.some(e=>tL(t[e]))}function tU(t){return!!(tV(t)||t.variants)}function tI(t){let e=[{},{}];return t?.values.forEach((t,r)=>{e[0][r]=t.get(),e[1][r]=t.getVelocity()}),e}function tN(t,e,r,i){if("function"==typeof e){let[n,s]=tI(i);e=e(void 0!==r?r:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=tI(i);e=e(void 0!==r?r:t.custom,n,s)}return e}let t_=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tW{scrapeMotionValuesFromProps(t,e,r){return{}}constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=G,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tg.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,X.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=tV(e),this.isVariantNode=tU(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==a[t]&&tm(e)&&e.set(a[t])}}mount(t){this.current=t,tD.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),tk.current||function(){if(tk.current=!0,tR.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tM.current=t.matches;t.addEventListener("change",e),e()}else tM.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tM.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,X.Pn)(this.notifyUpdate),(0,X.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let r;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=o.has(t);i&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&X.Wi.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),r&&r(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in tS){let e=tS[t];if(!e)continue;let{isEnabled:r,Feature:i}=e;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tO()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<t_.length;e++){let r=t_[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=t["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(t,e,r){for(let i in e){let n=e[i],s=r[i];if(tm(n))t.addValue(i,n);else if(tm(s))t.addValue(i,(0,ty.BX)(n,{owner:t}));else if(s!==n){if(t.hasValue(i)){let e=t.getValue(i);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(i);t.addValue(i,(0,ty.BX)(void 0!==e?e:n,{owner:t}))}}}for(let i in r)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let r=this.values.get(t);e!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=(0,ty.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,r)),r}readValue(t,e){let r=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=r&&("string"==typeof r&&(I(r)||Q(r))?r=parseFloat(r):!tb(r)&&tt.P.test(e)&&(r=tf(t,e)),this.setBaseTarget(t,tm(r)?r.get():r)),tm(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=tN(this.props,r,this.presenceContext?.custom);i&&(e=i[t])}if(r&&void 0!==e)return e;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||tm(i)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new tT.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tx.render(this.render)}}class t$ extends tW{constructor(){super(...arguments),this.KeyframeResolver=td}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;tm(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let tz=(t,e)=>e&&"number"==typeof t?e.transform(t):t,tX={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tY=s.length;function tq(t,e,r){let{style:i,vars:n,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let r=e[t];if(o.has(t)){l=!0;continue}if((0,v.f)(t)){n[t]=r;continue}{let e=tz(r,tu[t]);t.startsWith("origin")?(u=!0,a[t]=e):i[t]=e}}if(!e.transform&&(l||r?i.transform=function(t,e,r){let i="",n=!0;for(let o=0;o<tY;o++){let a=s[o],l=t[a];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===(a.startsWith("scale")?1:0):0===parseFloat(l))||r){let t=tz(l,tu[a]);if(!u){n=!1;let e=tX[a]||a;i+=`${e}(${t}) `}r&&(e[a]=t)}}return i=i.trim(),r?i=r(e,n?"":i):n&&(i="none"),i}(e,t.transform,r):i.transform&&(i.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:r=0}=a;i.transformOrigin=`${t} ${e} ${r}`}}function tH(t,{style:e,vars:r},i,n){let s;let o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,i),r)o.setProperty(s,r[s])}let tK={};function tZ(t,{layout:e,layoutId:r}){return o.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!tK[t]||"opacity"===t)}function tJ(t,e,r){let{style:i}=t,n={};for(let s in i)(tm(i[s])||e.style&&tm(e.style[s])||tZ(s,t)||r?.getValue(s)?.liveStyle!==void 0)&&(n[s]=i[s]);return n}class tG extends t${constructor(){super(...arguments),this.type="html",this.renderInstance=tH}readValueFromInstance(t,e){if(o.has(e))return this.projection?.isProjecting?d(e):g(t,e);{let r=window.getComputedStyle(t),i=((0,v.f)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return k(t,e)}build(t,e,r){tq(t,e,r.transformTemplate)}scrapeMotionValuesFromProps(t,e,r){return tJ(t,e,r)}}let tQ=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),t0={offset:"stroke-dashoffset",array:"stroke-dasharray"},t1={offset:"strokeDashoffset",array:"strokeDasharray"};function t2(t,{attrX:e,attrY:r,attrScale:i,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a}
1,l,u,h){if(tq(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:f}=t;c.transform&&(f.transform=c.transform,delete c.transform),(f.transform||c.transformOrigin)&&(f.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),f.transform&&(f.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==r&&(c.y=r),void 0!==i&&(c.scale=i),void 0!==n&&function(t,e,r=1,i=0,n=!0){t.pathLength=1;let s=n?t0:t1;t[s.offset]=L.px.transform(-i);let o=L.px.transform(e),a=L.px.transform(r);t[s.array]=`${o} ${a}`}(c,n,s,o,!1)}let t5=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),t3=t=>"string"==typeof t&&"svg"===t.toLowerCase();function t4(t,e,r){let i=tJ(t,e,r);for(let r in t)(tm(t[r])||tm(e[r]))&&(i[-1!==s.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}class t6 extends t${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tO}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){let t=tc(e);return t&&t.default||0}return e=t5.has(e)?e:tQ(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,r){return t4(t,e,r)}build(t,e,r){t2(t,e,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,e,r,i){!function(t,e,r,i){for(let r in tH(t,e,void 0,i),e.attrs)t.setAttribute(t5.has(r)?r:tQ(r),e.attrs[r])}(t,e,0,i)}mount(t){this.isSVGTag=t3(t.tagName),super.mount(t)}}let t8=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function t7(t){if("string"!=typeof t||t.includes("-"));else if(t8.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var t9=r(7437),et=r(8881);let ee=(0,n.createContext)({strict:!1});var er=r(5750);let ei=(0,n.createContext)({});function en(t){return Array.isArray(t)?t.join(" "):t}let es=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eo(t,e,r){for(let i in e)tm(e[i])||tZ(i,r)||(t[i]=e[i])}let ea=()=>({...es(),attrs:{}}),el=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function eu(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||el.has(t)}let eh=t=>!eu(t);try{i=require("@emotion/is-prop-valid").default,"function"==typeof i&&(eh=t=>t.startsWith("on")?!eu(t):i(t))}catch{}var ec=r(4252),ef=r(3576);function ep(t){return tm(t)?t.get():t}let ed=t=>(e,r)=>{let i=(0,n.useContext)(ei),s=(0,n.useContext)(ec.O),o=()=>(function(t,e,r,i){let{scrapeMotionValuesFromProps:n,createRenderState:s}=t;return{latestValues:function(t,e,r,i){let n={},s=i(t,{});for(let t in s)n[t]=ep(s[t]);let{initial:o,animate:a}=t,l=tV(t),u=tU(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!r&&!1===r.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!tB(c)){let e=Array.isArray(c)?c:[c];for(let r=0;r<e.length;r++){let i=tN(t,e[r]);if(i){let{transitionEnd:t,transition:e,...r}=i;for(let t in r){let e=r[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(e,r,i,n),renderState:s()}})(t,e,i,s);return r?o():(0,ef.h)(o)},em=ed({scrapeMotionValuesFromProps:tJ,createRenderState:es}),eg=ed({scrapeMotionValuesFromProps:t4,createRenderState:ea}),ey=Symbol.for("motionComponentSymbol");function ev(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let eb="data-"+tQ("framerAppearId"),ex=(0,n.createContext)({});var ew=r(1534);function eT(t){var e,r;let{forwardMotionProps:i=!1}
1=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(t){for(let e in t)tS[e]={...tS[e],...t[e]}}(s);let a=t7(t)?eg:em;function l(e,r){var s;let l;let u={...(0,n.useContext)(er._),...e,layoutId:function(t){let{layoutId:e}=t,r=(0,n.useContext)(et.p).id;return r&&void 0!==e?r+"-"+e:e}(e)},{isStatic:h}=u,c=function(t){let{initial:e,animate:r}=function(t,e){if(tV(t)){let{initial:e,animate:r}=t;return{initial:!1===e||tL(e)?e:void 0,animate:tL(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(ei));return(0,n.useMemo)(()=>({initial:e,animate:r}),[en(e),en(r)])}(e),f=a(e,h);if(!h&&tR.j){(0,n.useContext)(ee).strict;let e=function(t){let{drag:e,layout:r}=tS;if(!e&&!r)return{};let i={...e,...r};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(u);l=e.MeasureLayout,c.visualElement=function(t,e,r,i,s){var o,a,l,u;let{visualElement:h}=(0,n.useContext)(ei),c=(0,n.useContext)(ee),f=(0,n.useContext)(ec.O),p=(0,n.useContext)(er._).reducedMotion,d=(0,n.useRef)(null);i=i||c.renderer,!d.current&&i&&(d.current=i(t,{visualState:e,parent:h,props:r,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:p}));let m=d.current,g=(0,n.useContext)(ex);m&&!m.projection&&s&&("html"===m.type||"svg"===m.type)&&function(t,e,r,i){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new r(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&ev(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:h,layoutScroll:l,layoutRoot:u})}(d.current,r,s,g);let y=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{m&&y.current&&m.update(r,f)});let v=r[eb],b=(0,n.useRef)(!!v&&!(null===(o=(a=window).MotionHandoffIsComplete)||void 0===o?void 0:o.call(a,v))&&(null===(l=(u=window).MotionHasOptimisedAnimation)||void 0===l?void 0:l.call(u,v)));return(0,ew.L)(()=>{m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),b.current&&m.animationState&&m.animationState.animateChanges())}),(0,n.useEffect)(()=>{m&&(!b.current&&m.animationState&&m.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var t,e;null===(t=(e=window).MotionHandoffMarkAsComplete)||void 0===t||t.call(e,v)}),b.current=!1),m.enteringChildren=void 0)}),m}(t,f,u,o,e.ProjectionNode)}return(0,t9.jsxs)(ei.Provider,{value:c,children:[l&&c.visualElement?(0,t9.jsx)(l,{visualElement:c.visualElement,...u}):null,function(t,e,r,i,s){let{latestValues:o}=i,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=(t7(t)?function(t,e,r,i){let s=(0,n.useMemo)(()=>{let r=ea();return t2(r,e,t3(i),t.transformTemplate,t.style),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};eo(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let r={},i=function(t,e){let r=t.style||{},i={};return eo(i,r,t),Object.assign(i,function(t,e){let{transformTemplate:r}=t;return(0,n.useMemo)(()=>{let t=es();return tq(t,e,r),Object.assign({},t.vars,t.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r})(e,o,s,t),u=function(t,e,r){let i={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(eh(n)||!0===r&&eu(n)||!e&&!eu(n)||t.draggable&&n.startsWith("onDrag"))&&(i[n]=t[n]);return i}(e,"string"==typeof t,a),h=t!==n.Fragment?{...u,...l,ref:r}:{},{children:c}=e,f=(0,n.useMemo)(()=>tm(c)?c.get():c,[c]);return(0,n.createElement)(t,{...h,children:f})}(t,e,(s=c.visualElement,(0,n.useCallback)(t=>{t&&f.onMount&&f.onMount(t),s&&(t?s.mount(t):s.unmount()),r&&("function"==typeof r?r(t):ev(r)&&(r.current=t))},[s])),f,h,i)]})}l.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!==(r=null!==(e=t.displayName)&&void 0!==e?e:t.
1name)&&void 0!==r?r:"",")"));let u=(0,n.forwardRef)(l);return u[ey]=t,u}function eE(t,e,r){let i=t.getProps();return tN(i,e,void 0!==r?r:i.custom,t)}function eS(t,e){return t?.[e]??t?.default??t}let eP=t=>Array.isArray(t);var eA=r(1457);function eC(t,e){let r=t.getValue("willChange");if(tm(r)&&r.add)return r.add(e);if(!r&&eA.c.WillChange){let r=new eA.c.WillChange("auto");t.addValue("willChange",r),r.add(e)}}function eO(t){t.duration=0,t.type="keyframes"}var eR=r(4750),eM=r(1865);let ek=t=>1e3*t,eD=t=>t/1e3,eB={layout:0,mainThread:0,waapi:0};var eL=r(3723);let ej=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>X.Wi.update(e,t),stop:()=>(0,X.Pn)(e),now:()=>X.frameData.isProcessing?X.frameData.timestamp:tg.X.now()}},eF=(t,e,r=10)=>{let i="",n=Math.max(Math.round(e/r),2);for(let e=0;e<n;e++)i+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`};function eV(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}var eU=r(8294);function eI(t,e,r){let i=Math.max(e-5,0);return(0,eU.R)(r-t(i),e-i)}let eN={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function e_(t,e){return t*Math.sqrt(1-e*e)}let eW=["duration","bounce"],e$=["stiffness","damping","mass"];function ez(t,e){return e.some(e=>void 0!==t[e])}function eX(t=eN.visualDuration,e=eN.bounce){let r;let i="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=i,o=i.keyframes[0],a=i.keyframes[i.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:f,velocity:p,isResolvedFromDuration:d}=function(t){let e={velocity:eN.velocity,stiffness:eN.stiffness,damping:eN.damping,mass:eN.mass,isResolvedFromDuration:!1,...t};if(!ez(t,e$)&&ez(t,eW)){if(t.visualDuration){let r=2*Math.PI/(1.2*t.visualDuration),i=r*r,n=2*(0,eM.u)(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:eN.mass,stiffness:i,damping:n}}else{let r=function({duration:t=eN.duration,bounce:e=eN.bounce,velocity:r=eN.velocity,mass:i=eN.mass}){let n,s;(0,U.K)(t<=ek(eN.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,eM.u)(eN.minDamping,eN.maxDamping,o),t=(0,eM.u)(eN.minDuration,eN.maxDuration,eD(t)),o<1?(n=e=>{let i=e*o,n=i*t;return .001-(i-r)/e_(e,o)*Math.exp(-n)},s=e=>{let i=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=e_(Math.pow(e,2),o);return(i*r+r-s)*Math.exp(-i)*(-n(e)+.001>0?-1:1)/a}):(n=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),s=e=>t*t*(r-e)*Math.exp(-e*t));let a=function(t,e,r){let i=r;for(let r=1;r<12;r++)i-=t(i)/e(i);return i}(n,s,5/t);if(t=ek(t),isNaN(a))return{stiffness:eN.stiffness,damping:eN.damping,duration:t};{let e=Math.pow(a,2)*i;return{stiffness:e,damping:2*o*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...r,mass:eN.mass}).isResolvedFromDuration=!0}}return e}({...i,velocity:-eD(i.velocity||0)}),m=p||0,g=h/(2*Math.sqrt(u*c)),y=a-o,v=eD(Math.sqrt(u/c)),b=5>Math.abs(y);if(n||(n=b?eN.restSpeed.granular:eN.restSpeed.default),s||(s=b?eN.restDelta.granular:eN.restDelta.default),g<1){let t=e_(v,g);r=e=>a-Math.exp(-g*v*e)*((m+g*v*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)r=t=>a-Math.exp(-v*t)*(y+(m+v*y)*t);else{let t=v*Math.sqrt(g*g-1);r=e=>{let r=Math.exp(-g*v*e),i=Math.min(t*e,300);return a-r*((m+g*v*y)*Math.sinh(i)+t*y*Math.cosh(i))/t}}let x={calculatedDuration:d&&f||null,next:t=>{let e=r(t);if(d)l.done=t>=f;else{let i=0===t?m:0;g<1&&(i=0===t?ek(m):eI(r,t,e));let o=Math.abs(i)<=n,u=Math.abs(a-e)<=s;l.done=o&&u}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(eV(x),2e4),e=eF(e=>x.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return x}function eY({keyframes:t,velocity:e=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,f;let p=t[0],d={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,y=r*e,v=p+y,b=void 0===o?v:o(v);b!==v&&(y=b-p);let x=t=>-y*Math.exp(-t/i),w=t=>b+x(t),T=t=>{let e=x(t),r=w(t);d.done=Math.abs(e)<=u,d.value=d.done?b:r},E=t=>{m(d.value)&&(c=t,f=eX({keyframes:[d.value,g(d.value)],velocity:eI(w,t,d.value),damping:n,stiffness:s,restDelta:u,restSpeed:h}
1))};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return(f||void 0!==c||(e=!0,T(t),E(t)),void 0!==c&&t>=c)?f.next(t-c):(e||T(t),d)}}}eX.applyToOptions=t=>{let e=function(t,e=100,r){let i=r({...t,keyframes:[0,e]}),n=Math.min(eV(i),2e4);return{type:"keyframes",ease:t=>i.next(n*t).value/e,duration:eD(n)}}(t,100,eX);return t.ease=e.ease,t.duration=ek(e.duration),t.type="keyframes",t};var eq=r(6277);let eH=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function eK(t,e,r,i){if(t===e&&r===i)return eq.Z;let n=e=>(function(t,e,r,i,n){let s,o;let a=0;do(s=eH(o=e+(r-e)/2,i,n)-t)>0?r=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,r);return t=>0===t||1===t?t:eH(n(t),e,i)}let eZ=eK(.42,0,1,1),eJ=eK(0,0,.58,1),eG=eK(.42,0,.58,1),eQ=t=>Array.isArray(t)&&"number"!=typeof t[0],e0=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,e1=t=>e=>1-t(1-e),e2=eK(.33,1.53,.69,.99),e5=e1(e2),e3=e0(e5),e4=t=>(t*=2)<1?.5*e5(t):.5*(2-Math.pow(2,-10*(t-1))),e6=t=>1-Math.sin(Math.acos(t)),e8=e1(e6),e7=e0(e6),e9=t=>Array.isArray(t)&&"number"==typeof t[0],rt={linear:eq.Z,easeIn:eZ,easeInOut:eG,easeOut:eJ,circIn:e6,circInOut:e7,circOut:e8,backIn:e5,backInOut:e3,backOut:e2,anticipate:e4},re=t=>"string"==typeof t,rr=t=>{if(e9(t)){(0,U.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,r,i,n]=t;return eK(e,r,i,n)}return re(t)?((0,U.k)(void 0!==rt[t],`Invalid easing type '${t}'`,"invalid-easing-type"),rt[t]):t};var ri=r(8460),rn=r(2880);function rs({duration:t=300,keyframes:e,times:r,ease:i="easeInOut"}){let n=eQ(i)?i.map(rr):rr(i),s={done:!1,value:e[0]},o=(r&&r.length===e.length?r:(0,rn.Y)(e)).map(e=>e*t),a=(0,ri.s)(o,e,{ease:Array.isArray(n)?n:e.map(()=>n||eG).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}let ro=t=>null!==t;function ra(t,{repeat:e,repeatType:r="loop"},i,n=1){let s=t.filter(ro),o=n<0||e&&"loop"!==r&&e%2==1?0:s.length-1;return o&&void 0!==i?i:s[o]}let rl={decay:eY,inertia:eY,tween:rs,keyframes:rs,spring:eX};function ru(t){"string"==typeof t.type&&(t.type=rl[t.type])}class rh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let rc=t=>t/100;class rf extends rh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tg.X.now()&&this.tick(tg.X.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},eB.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ru(t);let{type:e=rs,repeat:r=0,repeatDelay:i=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||rs;a!==rs&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,eR.z)(rc,(0,eL.C)(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=eV(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:r,totalDuration:i,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return r.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:c,repeatDelay:f,type:p,onUpdate:d,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let v=this.currentTime,b=r;if(h){let t=Math.min(this.currentTime,i)/o,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,h+1))%2&&("reverse"===c?(r=1-r,f&&(r-=f/o)):"mirror"===c&&(b=s)),v=(0,eM.u)(0,1,r)*o}let x=y?{done:!1,value:u[0]}:b.next(v);n&&(x.value=n(x.value));let{done:w}=x;
1y||null===a||(w=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&p!==eY&&(x.value=ra(u,this.options,m,this.speed)),d&&d(x.value),T&&this.finish(),x}then(t,e){return this.finished.then(t,e)}get duration(){return eD(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+eD(t)}get time(){return eD(this.currentTime)}set time(t){t=ek(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tg.X.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=eD(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=ej,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=e??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tg.X.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,eB.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let rp=t=>t.startsWith("--");var rd=r(9339),rm=r(557),rg=r(107);let ry={},rv=function(t,e){let r=(0,rg.X)(t);return()=>ry[e]??r()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),rb=([t,e,r,i])=>`cubic-bezier(${t}, ${e}, ${r}, ${i})`,rx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rb([0,.65,.55,1]),circOut:rb([.55,0,1,.45]),backIn:rb([.31,.01,.66,-.59]),backOut:rb([.33,1.53,.69,.99])};function rw(t){return"function"==typeof t&&"applyToOptions"in t}class rT extends rh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:r,keyframes:i,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,(0,U.k)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return rw(t)&&rv()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:r};l&&(h.offset=l);let c=function t(e,r){if(e)return"function"==typeof e?rv()?eF(e,r):"ease-out":e9(e)?rb(e):Array.isArray(e)?e.map(e=>t(e,r)||rx.easeOut):rx[e]}(a,n);Array.isArray(c)&&(h.easing=c),rm.f.value&&eB.waapi++;let f={delay:i,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(f.pseudoElement=u);let p=t.animate(h,f);return rm.f.value&&p.finished.finally(()=>{eB.waapi--}),p}(e,r,i,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=ra(i,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):rp(r)?e.style.setProperty(r,t):e.style[r]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return eD(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+eD(t)}get time(){return eD(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=ek(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,rd.t)())?(this.animation.timeline=t,eq.Z):e(this)}}let rE={anticipate:e4,backInOut:e3,circInOut:e7};class rS extends rT{constructor(t){"string"==typeof t.ease&&t.ease in rE&&(t.ease=rE[t.ease]),ru(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:r,onComplete:i,element:n,...s}=this.options;if(!e)return;if(void 0!==t){e.set(t);return}let o=new rf({...s,autoplay:!1}),a=ek(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let rP=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tt.P.test(t)||"0"===t)&&!t.startsWith("url(")),rA=new Set(["opacity","clipPath","filter","transform"]),rC=(0,rg.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rO extends rh{constructor({autoplay:t=!0,delay:e=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tg.X.now();let c={autoplay:t,delay:e,type:r,repeat:i,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...h},f=u?.KeyframeResolver||G;this.keyframeResolver=new f(o,(t,e,r)=>this.onKeyframesResolved(t,e,c,!r),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,r,i){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=r;this.resolvedAt=tg.X.now(),!function(t,e,r,i){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=rP(n,e),a=rP(s,e);return(0,U.K)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let r=0;r<t.length;r++)if(t[r]!==e)return!0}(t)||("spring"===r||rw(r))&&i)}
1(t,n,s,o)&&((eA.c.instantAnimations||!a)&&u?.(ra(t,r,e)),t[0]=t[t.length-1],eO(r),r.repeat=0);let h={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...r,keyframes:t},c=!l&&function(t){let{motionValue:e,name:r,repeatDelay:i,repeatType:n,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return rC()&&r&&rA.has(r)&&("transform"!==r||!l)&&!a&&!i&&"mirror"!==n&&0!==s&&"inertia"!==o}(h)?new rS({...h,element:h.motionValue.owner.current}):new rf(h);c.finished.then(()=>this.notifyFinished()).catch(eq.Z),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),K=!0,J(),Z(),K=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rR=t=>null!==t,rM={type:"spring",stiffness:500,damping:25,restSpeed:10},rk=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),rD={type:"keyframes",duration:.8},rB={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rL=(t,{keyframes:e})=>e.length>2?rD:o.has(t)?t.startsWith("scale")?rk(e[1]):rM:rB,rj=(t,e,r,i={},n,s)=>o=>{let a=eS(i,t)||{},l=a.delay||i.delay||0,{elapsed:u=0}=i;u-=ek(l);let h={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&Object.assign(h,rL(t,h)),h.duration&&(h.duration=ek(h.duration)),h.repeatDelay&&(h.repeatDelay=ek(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(eO(h),0!==h.delay||(c=!0)),(eA.c.instantAnimations||eA.c.skipAnimations)&&(c=!0,eO(h),h.delay=0),h.allowFlatten=!a.type&&!a.ease,c&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:r="loop"},i){let n=t.filter(rR),s=e&&"loop"!==r&&e%2==1?0:n.length-1;return n[s]}(h.keyframes,a);if(void 0!==t){X.Wi.update(()=>{h.onUpdate(t),h.onComplete()});return}}return a.isSync?new rf(h):new rO(h)};function rF(t,e,{delay:r=0,transitionOverride:i,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=e;i&&(s=i);let l=[],u=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let i=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||u&&function({protectedKeys:t,needsAnimating:e},r){let i=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,i}(u,e))continue;let o={delay:r,...eS(s||{},e)},h=i.get();if(void 0!==h&&!i.isAnimating&&!Array.isArray(n)&&n===h&&!o.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let r=t.props[eb];if(r){let t=window.MotionHandoffAnimation(r,e,X.Wi);null!==t&&(o.startTime=t,c=!0)}}eC(t,e),i.start(rj(e,i,n,t.shouldReduceMotion&&D.has(e)?{type:!1}:o,t,c));let f=i.animation;f&&l.push(f)}return o&&Promise.all(l).then(()=>{X.Wi.update(()=>{o&&function(t,e){let{transitionEnd:r={},transition:i={},...n}=eE(t,e)||{};for(let e in n={...n,...r}){var s;let r=eP(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,(0,ty.BX)(r))}}(t,o)})}),l}function rV(t,e,r,i=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*i;return"function"==typeof r?r(s,o):1===n?s*i:a-s*i}function rU(t,e,r={}){let i=eE(t,e,"exit"===r.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(n=r.transitionOverride);let s=i?()=>Promise.all(rF(t,i,r)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,r=0,i=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(rU(l,e,{...o,delay:r+("function"==typeof i?0:i)+rV(t.variantChildren,l,i,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,i,s,o,a,r)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(r.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function rI(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}let rN=tF.length,r_=[...tj].reverse(),rW=tj.length;function r$(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rz(){return{animate:r$(!0),whileInView:r$(),whileHover:r$(),whileTap:r$(),whileDrag:r$(),whileFocus:r$(),exit:r$()}}class rX{constructor(t){this.isMounted=!1,this.node=t}update(){}}class rY extends rX{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(function(t,e,r={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>rU(t,e,r)));else if("string"==typeof e)i=rU(t,e,r);else{let n="function"==typeof e?eE(t,e,r.custom):e;i=Promise.all(rF(t,n,r))}return i.then(()=>{t.notify("AnimationComplete",e)})})(t,e,r))),r=rz(),i=!0,n=e=>(r,i)=>{let n=eE(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...i}=n;r={...r,...i,...e}}return r};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(r.initial=e.props.initial),r}let r={};for(let t=0;t<rN;t++){let i=tF[t],n=e.props[i];(tL(n)||!1===n)&&(r[i]=n)}return r}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<rW;e++){var f;let p=r_[e],d=r[p],m=void 0!==o[p]?o[p]:a[p],g=tL(m),y=p===s?d.isActive:null;!1===y&&(c=e);let v=m===a[p]&&m!==o[p]&&g;if(v&&i&&t.manuallyAnimateOnMount&&(v=!1),d.protectedKeys={...h},!d.isActive&&null===y||!m&&!d.prevProp||tB(m)||"boolean"==typeof m)continue;let b=(f=d.prevProp,"string"==typeof m?m!==f:!!Array.isArray(m)&&!rI(m,f)),x=b||p===s&&d.isActive&&!v&&g||e>c&&g,w=!1,T=Array.isArray(m)?m:[m],E=T.reduce(n(p),{});!1===y&&(E={});let{prevResolvedValues:S={}}=d,P={...S,...E},A=e=>{x=!0,u.has(e)&&(w=!0,u.delete(e)),d.needsAnimating[e]=!0;let r=t.getValue(e);r&&(r.liveStyle=!1)};for(let t in P){let e=E[t],r=S[t];
1if(!h.hasOwnProperty(t))(eP(e)&&eP(r)?rI(e,r):e===r)?void 0!==e&&u.has(t)?A(t):d.protectedKeys[t]=!0:null!=e?A(t):u.add(t)}d.prevProp=m,d.prevResolvedValues=E,d.isActive&&(h={...h,...E}),i&&t.blockInitialAnimation&&(x=!1);let C=v&&b,O=!C||w;x&&O&&l.push(...T.map(e=>{let r={type:p};if("string"==typeof e&&i&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:i}=t,n=eE(i,e);if(i.enteringChildren&&n){let{delayChildren:e}=n.transition||{};r.delay=rV(i.enteringChildren,t,e)}}return{animation:e,options:r}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let r=eE(t,Array.isArray(o.initial)?o.initial[0]:o.initial);r&&r.transition&&(e.transition=r.transition)}u.forEach(r=>{let i=t.getBaseTarget(r),n=t.getValue(r);n&&(n.liveStyle=!0),e[r]=i??null}),l.push({animation:e})}let p=!!l.length;return i&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),i=!1,p?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,i){if(r[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),r[e].isActive=i;let n=s(e);for(let t in r)r[t].protectedKeys={};return n},setAnimateFunction:function(r){e=r(t)},getState:()=>r,reset:()=>{r=rz()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();tB(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let rq=0;class rH extends rX{constructor(){super(...arguments),this.id=rq++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let rK={x:!1,y:!1};function rZ(t,e,r,i={passive:!0}){return t.addEventListener(e,r,i),()=>t.removeEventListener(e,r)}let rJ=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rG(t){return{point:{x:t.pageX,y:t.pageY}}}let rQ=t=>e=>rJ(e)&&t(e,rG(e));function r0(t,e,r,i){return rZ(t,e,rQ(r),i)}function r1(t){return t.max-t.min}function r2(t,e,r,i=.5){t.origin=i,t.originPoint=(0,x.t)(e.min,e.max,t.origin),t.scale=r1(r)/r1(e),t.translate=(0,x.t)(r.min,r.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function r5(t,e,r,i){r2(t.x,e.x,r.x,i?i.originX:void 0),r2(t.y,e.y,r.y,i?i.originY:void 0)}function r3(t,e,r){t.min=r.min+e.min,t.max=t.min+r1(e)}function r4(t,e,r){t.min=e.min-r.min,t.max=t.min+r1(e)}function r6(t,e,r){r4(t.x,e.x,r.x),r4(t.y,e.y,r.y)}function r8(t){return[t("x"),t("y")]}let r7=({current:t})=>t?t.ownerDocument.defaultView:null,r9=(t,e)=>Math.abs(t-e);class it{constructor(t,e,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=ii(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,n=(t=r.offset,e={x:0,y:0},Math.sqrt(r9(t.x,e.x)**2+r9(t.y,e.y)**2)>=this.distanceThreshold);if(!i&&!n)return;let{point:s}=r,{timestamp:o}=X.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;
1i||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=ie(e,this.transformPagePoint),X.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ii("pointercancel"===t.type?this.lastMoveEventInfo:ie(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,s),i&&i(t,s)},!rJ(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;let o=ie(rG(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=X.frameData;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,ii(o,this.history)),this.removeListeners=(0,eR.z)(r0(this.contextWindow,"pointermove",this.handlePointerMove),r0(this.contextWindow,"pointerup",this.handlePointerUp),r0(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,X.Pn)(this.updatePoint)}}function ie(t,e){return e?{point:e(t.point)}:t}function ir(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ii({point:t},e){return{point:t,delta:ir(t,is(e)),offset:ir(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,i=null,n=is(t);for(;r>=0&&(i=t[r],!(n.timestamp-i.timestamp>ek(.1)));)r--;if(!i)return{x:0,y:0};let s=eD(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function is(t){return t[t.length-1]}var io=r(1645);function ia(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function il(t,e){let r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,i]=[i,r]),{min:r,max:i}}function iu(t,e,r){return{min:ih(t,e),max:ih(t,r)}}function ih(t,e){return"number"==typeof t?t:t[e]||0}let ic=new WeakMap;class ip{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tO(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:r}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new it(t,{onSessionStart:t=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(rG(t).point)},onStart:(t,e)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===r||"y"===r?rK[r]?null:(rK[r]=!0,()=>{rK[r]=!1}):rK.x||rK.y?null:(rK.x=rK.y=!0,()=>{rK.x=rK.y=!1}),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),r8(t=>{let e=this.getAxisMotionValue(t).get()||0;if(L.aQ.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[t];if(i){let t=r1(i);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),n&&X.Wi.postRender(()=>n(t,e)),eC(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>r8(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,distanceThreshold:r,contextWindow:r7(this.visualElement)})}stop(t,e){let r=t||this.latestPointerEvent,i=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!i||!r)return;let{velocity:s}=i;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&X.Wi.postRender(()=>o(r,i))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:i}=this.getProps();if(!r||!id(t,i,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:r},i){return void 0!==e&&t<e?t=i?(0,x.t)(e,t,i.min):Math.max(t,e):void 0!==r&&t>r&&(t=i?(0,x.t)(r,t,i.max):Math.min(t,r)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&ev(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(t,{top:e,left:r,bottom:i,right:n}){return{x:ia(t.x,r,n),y:ia(t.y,e,i)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iu(t,"left","right"),y:iu(t,"top","bottom")}}(e),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&r8(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!ev(e))return!1;let i=e.current;(0,U.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,r){let i=k(t,r),{scroll:n}=e;return n&&(O(i.x,n.offset.x),O(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),o={x:il((t=n.layout.layoutBox).x,s.x),y:il(t.y,s.y)};if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=b(t))}return o}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(r8(o=>{if(!id(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return eC(this.visualElement,t),r.start(rj(t,r,0,e,this.visualElement,!1))}stopAnimation(){r8(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){r8(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){r8(e=>{let{drag:r}=this.getProps();if(!id(e,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(e);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[e];n.set(t[e]-(0,x.t)(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!ev(e)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};r8(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let r=e.get();i[t]=function(t,e){let r=.5,i=r1(t),n=r1(e);return n>i?r=(0,io.Y)(e.min,e.max-i,t.min):i>n&&(r=(0,io.Y)(t.min,t.max-n,e.min)),(0,eM.u)(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),r8(e=>{if(!id(e,t,null))return;let r=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];r.set((0,x.t)(n,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;ic.set(this.visualElement,this);let t=r0(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();ev(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",e);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),X.Wi.read(e);let n=rZ(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(r8(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function id(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}class im extends rX{constructor(t){super(t),this.removeGroupControls=eq.Z,this.removeListeners=eq.Z,this.controls=new ip(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eq.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let ig=t=>(e,r)=>{t&&X.Wi.postRender(()=>t(e,r))};class iy extends rX{constructor(){super(...arguments),this.removePointerDownListener=eq.Z}onPointerDown(t){this.session=new it(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r7(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ig(t),onStart:ig(e),onMove:r,onEnd:(t,e)=>{delete this.session,i&&X.Wi.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=r0(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var iv=r(9637);let ib={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ix(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let iw={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!L.px.test(t))return t;t=parseFloat(t)}let r=ix(t,e.target.x),i=ix(t,e.target.y);return`${r}% ${i}%`}},iT=!1;class iE extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=t;!function(t){for(let e in t)tK[e]=t[e],(0,v.f)(e)&&(tK[e].isCSSVariable=!0)}(iP),n&&(e.group&&e.group.add(n),r&&r.register&&i&&r.register(n),iT&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),ib.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:i,isPresent:n}=this.props,{projection:s}=r;return s&&(s.isPresent=n,iT=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent===n||(n?s.promote():s.relegate()||X.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tx.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:i}=t;iT=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function iS(t){let[e,r]=(0,iv.oO)(),i=(0,n.useContext)(et.p);return(0,t9.jsx)(iE,{...t,layoutGroup:i,switchLayoutGroup:(0,n.useContext)(ex),isPresent:e,safeToRemove:r})}let iP={borderRadius:{...iw,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iw,borderTopRightRadius:iw,borderBottomLeftRadius:iw,borderBottomRightRadius:iw,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let i=tt.P.parse(t);if(i.length>5)return t;let n=tt.P.createTransformer(t),s="number"!=typeof i[0]?1:0,o=r.x.scale*e.x,a=r.y.scale*e.y;i[0+s]/=o,i[1+s]/=a;let l=(0,x.t)(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),n(i)}}};var iA=r(2129),iC=r(8425);let iO=(t,e)=>t.depth-e.depth;class iR{constructor(){this.children=[],this.isDirty=!1}add(t){(0,iC.y4)(this.children,t),this.isDirty=!0}remove(t){(0,iC.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iO),this.isDirty=!1,this.children.forEac
1h(t)}}let iM=["TopLeft","TopRight","BottomLeft","BottomRight"],ik=iM.length,iD=t=>"string"==typeof t?parseFloat(t):t,iB=t=>"number"==typeof t||L.px.test(t);function iL(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ij=iV(0,.5,e8),iF=iV(.5,.95,eq.Z);function iV(t,e,r){return i=>i<t?0:i>e?1:r((0,io.Y)(t,e,i))}function iU(t,e){t.min=e.min,t.max=e.max}function iI(t,e){iU(t.x,e.x),iU(t.y,e.y)}function iN(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function i_(t,e,r,i,n){return t-=e,t=i+1/r*(t-i),void 0!==n&&(t=i+1/n*(t-i)),t}function iW(t,e,[r,i,n],s,o){!function(t,e=0,r=1,i=.5,n,s=t,o=t){if(L.aQ.test(e)&&(e=parseFloat(e),e=(0,x.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,x.t)(s.min,s.max,i);t===s&&(a-=e),t.min=i_(t.min,e,r,a,n),t.max=i_(t.max,e,r,a,n)}(t,e[r],e[i],e[n],e.scale,s,o)}let i$=["x","scaleX","originX"],iz=["y","scaleY","originY"];function iX(t,e,r,i){iW(t.x,e,i$,r?r.x:void 0,i?i.x:void 0),iW(t.y,e,iz,r?r.y:void 0,i?i.y:void 0)}function iY(t){return 0===t.translate&&1===t.scale}function iq(t){return iY(t.x)&&iY(t.y)}function iH(t,e){return t.min===e.min&&t.max===e.max}function iK(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iZ(t,e){return iK(t.x,e.x)&&iK(t.y,e.y)}function iJ(t){return r1(t.x)/r1(t.y)}function iG(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class iQ{constructor(){this.members=[]}add(t){(0,iC.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,iC.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let i0={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},i1=["","X","Y","Z"],i2=0;function i5(t,e,r,i){let{latestValues:n}=e;n[t]&&(r[t]=n[t],e.setStaticValue(t,0),i&&(i[t]=0))}function i3({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(t={},r=e?.()){this.id=i2++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rm.f.value&&(i0.nodes=i0.calculatedTargetDeltas=i0.calculatedProjections=0),this.nodes.forEach(i8),this.nodes.forEach(nn),this.nodes.forEach(ns),this.nodes.forEach(i7),rm.f.addProjectionMetrics&&rm.f.addProjectionMetrics(i0)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new iR)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tT.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,iA.v)(e)&&(!(0,iA.v)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:r,layout:i,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||r)&&(this.isLayoutDirty=!0),t){let r;let i=0,n=()=>this.root.updateBlockedByResize=!1;X.Wi.read(()=>{i=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=tg.X.now(),i=({timestamp:e})=>{let n=e-r;n>
1=250&&((0,X.Pn)(i),t(n-250))};return X.Wi.setup(i,!0),()=>(0,X.Pn)(i)}(n,0),ib.hasAnimatedSinceResize&&(ib.hasAnimatedSinceResize=!1,this.nodes.forEach(ni)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&n&&(r||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||nc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!iZ(this.targetLayout,i),u=!e&&r;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...eS(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||ni(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,X.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(no),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:r}=e.options;if(!r)return;let i=r.props[eb];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",X.Wi,!(t||r))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:r}=this.options;if(void 0===e&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nt);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ne);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nr),this.nodes.forEach(i4),this.nodes.forEach(i6)):this.nodes.forEach(ne),this.clearAllSnapshots();let t=tg.X.now();X.frameData.delta=(0,eM.u)(0,1e3/60,t-X.frameData.timestamp),X.frameData.timestamp=t,X.frameData.isProcessing=!0,X.yL.update.process(X.frameData),X.yL.preRender.process(X.frameData),X.yL.render.process(X.frameData),X.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tx.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(i9),this.sharedNodes.forEach(na)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,X.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){X.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||r1(this.snapshot.measuredBox.x)||r1(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tO(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!iq(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||E(this.latestValues)||s)&&(n(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),i=this.removeElementScroll(r);return t&&(i=this.removeTransform(i)),nd((e=i).x),nd(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return tO();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ng))){let{scroll:t}=this.root;t&&(O(e.x,t.offset.x),O(e.y,t.offset.y))}return e}removeElementScroll(t){let e=tO();if(iI(e,t),this.scroll?.wasRoot)return e;for(let r=0;r<this.path.length;r++){let i=this.path[r],{scroll:n,options:s}=i;i!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&iI(e,t),O(e.x,n.offset.x),O(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let r=tO();iI(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&M(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),E(i.latestValues)&&M(r,i.latestValues)}return E(this.latestValues)&&M(r,this.latestValues),r}removeTransform(t){let e=tO();iI(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!E(r.latestValues))continue;T(r.latestValues)&&r.updateSnapshot();let i=tO();iI(i,r.measurePageBox()),iX(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}return E(this.latestValues)&&iX(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==X.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==e;if(!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:n}=this.options;if(this.layout&&(i||n)){if(this.resolvedRelativeTargetAt=X.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tO(),this.relativeTargetOrigin=tO(),r6(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),iI(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=tO(),this.targetWithTransforms=tO()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,r3(s.x,o.x,a.x),r3(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iI(this.target,this.layout.layoutBox),C(this.target,this.targetDelta)):iI(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tO(),this.relativeTargetOrigin=tO(),r6(this.relativeTargetOrigin,this.target,t.target),iI(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rm.f.value&&i0.calculatedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||T(this.parent.latestValues)||S(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,r=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===X.frameData.timestamp&&(r=!1),r)return;let{layout:i,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||n))return;iI(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,r,i=!1){let n,s;let o=r.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=r[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(i&&n.options.layoutScroll&&n.scroll&&n!==n.root&&M(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,C(t,s)),i&&E(n.latestValues)&&M(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=tO());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iN(this.prevProjectionDelta.x,this.projectionDelta.x),iN(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),r5(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&iG(this.projectionDelta.x,this.prevProjectionDelta.x)&&iG(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),rm.f.value&&i0.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=tA(),this.projectionDelta=tA(),this.projectionDeltaWithTransform=tA()}setAnimationOrigin(t,e=!1){let r;let i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},o=tA();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=tO(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(nh));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(nl(o.x,t.x,i),nl(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,p,d;r6(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,d=this.relativeTargetOrigin,nu(p.x,d.x,a.x,i),nu(p.y,d.y,a.y,i),r&&(u=this.relativeTarget,f=r,iH(u.x,f.x)&&iH(u.y,f.y))&&(this.isProjectionDirty=!1),r||(r=tO()),iI(r,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,r,i,n,s){n?(t.opacity=(0,x.t)(0,r.opacity??1,ij(i)),t.opacityExit=(0,x.t)(e.opacity??1,0,iF(i))):s&&(t.opacity=(0,x.t)(e.opacity??1,r.opacity??1,i));for(let n=0;n<ik;n++){let s=`border${iM[n]}Radius`,o=iL(e,s),a=iL(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||iB(o)===iB(a)?(t[s]=Math.max((0,x.t)(iD(o),iD(a),i),0),(L.aQ.test(a)||L.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||r.rotate)&&(t.rotate=(0,x.t)(e.rotate||0,r.rotate||0,i))}(s,n,this.latestValues,i,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,X.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=X.Wi.update(()=>{ib.hasAnimatedSinceResize=!0,eB.layout++,this.motionValue||(this.motionValue=(0,ty.BX)(0)),this.currentAnimation=function(t,e,r){let i=tm(t)?t:(0,ty.BX)(t);return i.start(rj("",i,e,r)),i.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{eB.layout--},onComplete:()=>{eB.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:r,layout:i,latestValues:n}=t;if(e&&r&&i){if(this!==t&&this.layout&&i&&nm(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||tO();let e=r1(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let i=r1(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+i}iI(e,r),M(e,n),r5(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new iQ),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(e=!0),!e)return;let i={};r.z&&i5("z",t,i,this.animationValues);for(let e=0;e<i1.length;e++)i5(`rotate${i1[e]}`,t,i,this.animationValues),i5(`skew${i1[e]}`,t,i,this.animationValues);for(let e in t.render(),i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=ep(e?.pointerEvents)||"",t.transform=r?r(this.latestValues,""):"none";return}let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ep(e?.pointerEvents)||""),this.hasProjected&&!E(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(t,e,r){let i="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=r?.z||0;if((n||s||o)&&(i=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),r){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=r;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),n&&(i+=`rotateX(${n}deg) `),s&&(i+=`rotateY(${s}deg) `),o&&(i+=`skewX(${o}deg) `),a&&(i+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);r&&(s=r(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,i.animationValues?t.opacity=i===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=i===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,tK){if(void 0===n[e])continue;let{correct:r,applyTo:o,isCSSVariable:a}=tK[e],l="none"===s?n[e]:r(n[e],i);if(o){let e=o.length;for(let r=0;r<e;r++)t[o[r]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=i===this?ep(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nt),this.root.sharedNodes.clear()}}}function i4(t){t.updateLayout()}function i6(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?r8(t=>{let i=s?e.measuredBox[t]:e.layoutBox[t],n=r1(i);i.min=r[t].min,i.max=i.min+n}):nm(n,e.layoutBox,r)&&r8(i=>{let n=s?e.measuredBox[i]:e.layoutBox[i],o=r1(r[i]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=tA();r5(o,r,e.layoutBox);let a=tA();s?r5(a,t.applyTransform(i,!0),e.measuredBox):r5(a,r,e.layoutBox);let l=!iq(o),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let o=tO();r6(o,e.layoutBox,n.layoutBox);let a=tO();r6(a,r,s.layoutBox),iZ(o,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function i8(t){rm.f.value&&i0.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function i7(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function i9(t){t.clearSnapshot()}function nt(t){t.clearMeasurements()}function ne(t){t.isLayoutDirty=!1}function nr(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ni(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nn(t){t.resolveTargetDelta()}function ns(t){t.calcProjection()}function no(t){t.resetSkewAndRotation()}function na(t){t.removeLeadSnapshot()}function nl(t,e,r){t.translate=(0,x.t)(e.translate,0,r),t.scale=(0,x.t)(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function nu(t,e,r,i){t.min=(0,x.t)(e.min,r.min,i),t.max=(0,x.t)(e.max,r.max,i)}function nh(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nc={duration:.45,ease:[.4,0,.1,1]},nf=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),np=nf("applewebkit/")&&!nf("chrome/")?Math.round:eq.Z;function nd(t){t.min=np(t.min),t.max=np(t.max)}function nm(t,e,r){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(iJ(e)-iJ(r)))}function ng(t){return t!==t.root&&t.scroll?.wasRoot}let ny=i3({attachResizeListener:(t,e)=>rZ(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nv={current:void 0},nb=i3({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nv.current){let t=new ny({});t.mount(window),t.setOptions({layoutScroll:!0}),nv.current=t}return nv.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var nx=r(9960);function nw(t,e){let r=(0,nx.I)(t),i=new AbortController;return[r,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function nT(t){return!("touch"===t.pointerType||rK.x||rK.y)}function nE(t,e,r){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===r);let n=i["onHover"+r];n&&X.Wi.postRender(()=>n(e,rG(e)))}class nS extends rX{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,r={}){let[i,n,s]=nw(t,r),o=t=>{if(!nT(t))return;let{target:r}=t,i=e(r,t);if("function"!=typeof i||!r)return;let s=t=>{nT(t)&&(i(t),r.removeEventListener("pointerleave",s))};r.addEventListener("pointerleave",s,n)};return i.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(nE(this.node,e,"Start"),t=>nE(this.node,t,"End"))))}unmount(){}}class nP extends rX{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,eR.z)(rZ(this.node.current,"focus",()=>this.onFocus()),rZ(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var nA=r(3537);let nC=(t,e)=>!!e&&(t===e||nC(t,e.parentElement)),nO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nR=new WeakSet;function nM(t){return e=>{"Enter"===e.key&&t(e)}}function nk(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let nD=(t,e)=>{let r=t.currentTarget;if(!r)return;let i=nM(()=>{if(nR.has(r))return;nk(r,"down");let t=nM(()=>{nk(r,"up")});r.addEventListener("keyup",t,e),r.addEventListener("blur",()=>nk(r,"cancel"),e)});r.addEventListener("keydown",i,e),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),e)};function nB(t){return rJ(t)&&!(rK.x||rK.y)}function nL(t,e,r){let{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===r);let n=i["onTap"+("End"===r?"":r)];n&&X.Wi.postRender(()=>n(e,rG(e)))}class nj extends rX{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,r={}){let[i,n,s]=nw(t,r),o=t=>{let i=t.currentTarget;if(!nB(t))return;nR.add(i);let s=e(i,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),nR.has(i)&&nR.delete(i),nB(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,i===window||i===document||r.useGlobalTarget||nC(i,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};
1return i.forEach(t=>{(r.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,nA.R)(t)&&(t.addEventListener("focus",t=>nD(t,n)),nO.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(nL(this.node,e,"Start"),(t,{success:e})=>nL(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let nF=new WeakMap,nV=new WeakMap,nU=t=>{let e=nF.get(t.target);e&&e(t)},nI=t=>{t.forEach(nU)},nN={some:0,all:1};class n_ extends rX{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:i="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:nN[i]};return function(t,e,r){let i=function({root:t,...e}){let r=t||document;nV.has(r)||nV.set(r,{});let i=nV.get(r),n=JSON.stringify(e);return i[n]||(i[n]=new IntersectionObserver(nI,{root:t,...e})),i[n]}(e);return nF.set(t,r),i.observe(t),()=>{nF.delete(t),i.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),s=e?r:i;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}let nW=function(t,e){if("undefined"==typeof Proxy)return eT;let r=new Map,i=(r,i)=>eT(r,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(n,s)=>"create"===s?i:(r.has(s)||r.set(s,eT(s,void 0,t,e)),r.get(s))})}({animation:{Feature:rY},exit:{Feature:rH},inView:{Feature:n_},tap:{Feature:nj},focus:{Feature:nP},hover:{Feature:nS},pan:{Feature:iy},drag:{Feature:im,ProjectionNode:nb,MeasureLayout:iS},layout:{ProjectionNode:nb,MeasureLayout:iS}},(t,e)=>t7(t)?new t6(e):new tG(e,{allowProjection:t!==n.Fragment}))},4563:function(t,e,r){"use strict";r.d(e,{j:function(){return i}});let i="undefined"!=typeof window},3576:function(t,e,r){"use strict";r.d(e,{h:function(){return n}});var i=r(2265);function n(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},1534:function(t,e,r){"use strict";r.d(e,{L:function(){return n}});var i=r(2265);let n=r(4563).j?i.useLayoutEffect:i.useEffect},2880:function(t,e,r){"use strict";r.d(e,{Y:function(){return s}});var i=r(1645),n=r(3811);function s(t){let e=[0];return!function(t,e){let r=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,i.Y)(0,e,s);t.push((0,n.t)(r,1,o))}}(e,t.length-1),e}},8596:function(t,e,r){"use strict";r.d(e,{f:function(){return n},t:function(){return o}});let i=t=>e=>"string"==typeof e&&e.startsWith(t),n=i("--"),s=i("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},2862:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var i=r(1457);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=r(557);function o(t,e){let r=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=n.reduce((t,r)=>(t[r]=function(t,e){let r=new Set,i=new Set,n=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:(t,e=!1,s=!1)=>{let o=s&&n?r:i;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{i.delete(t),a.delete(t)},process:t=>{if(l=t,n){o=!0;return}n=!0,[r,i]=[i,r],r.forEach(h),e&&s.f.value&&s.f.value.frameloop[e].push(u),u=0,r.clear(),n=!1,o&&(o=!1,c.process(t))}};return c}(l,e?r:void 0),t),{}),{setup:h,read:c,resolveKeyframes:f,preUpdate:p,update:d,preRender:m,render:g,postRender:y}=u,v=()=>{let n=i.c.useManualTiming?a.timestamp:performance.now();r=!1,i.c.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(n-a.timestamp,40),1)),a.timestamp=n,a.isProcessing=!0,h.process(a),c.process(a),f.process(a),p.process(a),d.process(a),m.process(a),g.process(a),y.process(a),a.isProcessing=!1,r&&e&&(o=!1,t(v))},b=()=>{r=!0,o=!0,a.isProcessing||t(v)};return{schedule:n.reduce((t,e)=>{let i=u[e];return t[e]=(t,e=!1,n=!1)=>(r||b(),i.schedule(t,e,n)),t},{}),cancel:t=>{for(let e=0;e<n.length;
1e++)u[n[e]].cancel(t)},state:a,steps:u}}},6147:function(t,e,r){"use strict";r.d(e,{Pn:function(){return s},Wi:function(){return n},frameData:function(){return o},yL:function(){return a}});var i=r(6277);let{schedule:n,cancel:s,state:o,steps:a}=(0,r(2862).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.Z,!0)},1927:function(t,e,r){"use strict";let i;r.d(e,{X:function(){return a}});var n=r(1457),s=r(6147);function o(){i=void 0}let a={now:()=>(void 0===i&&a.set(s.frameData.isProcessing||n.c.useManualTiming?s.frameData.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(o)}}},557:function(t,e,r){"use strict";r.d(e,{f:function(){return i}});let i={value:null,addProjectionMetrics:null}},8460:function(t,e,r){"use strict";r.d(e,{s:function(){return h}});var i=r(1457),n=r(6277),s=r(4750),o=r(2035),a=r(1645),l=r(1865),u=r(3723);function h(t,e,{clamp:r=!0,ease:h,mixer:c}={}){let f=t.length;if((0,o.k)(f===e.length,"Both input and output ranges must be the same length","range-length"),1===f)return()=>e[0];if(2===f&&e[0]===e[1])return()=>e[1];let p=t[0]===t[1];t[0]>t[f-1]&&(t=[...t].reverse(),e=[...e].reverse());let d=function(t,e,r){let o=[],a=r||i.c.mix||u.C,l=t.length-1;for(let r=0;r<l;r++){let i=a(t[r],t[r+1]);if(e){let t=Array.isArray(e)?e[r]||n.Z:e;i=(0,s.z)(t,i)}o.push(i)}return o}(e,h,c),m=d.length,g=r=>{if(p&&r<t[0])return e[0];let i=0;if(m>1)for(;i<t.length-2&&!(r<t[i+1]);i++);let n=(0,a.Y)(t[i],t[i+1],r);return d[i](n)};return r?e=>g((0,l.u)(t[0],t[f-1],e)):g}},3537:function(t,e,r){"use strict";r.d(e,{R:function(){return n}});var i=r(1464);function n(t){return(0,i.K)(t)&&"offsetHeight"in t}},2129:function(t,e,r){"use strict";r.d(e,{v:function(){return n}});var i=r(1464);function n(t){return(0,i.K)(t)&&"ownerSVGElement"in t}},3723:function(t,e,r){"use strict";r.d(e,{C:function(){return P}});var i=r(4750),n=r(2035),s=r(8596),o=r(7537),a=r(5050),l=r(1664),u=r(2017);function h(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var c=r(230);function f(t,e){return r=>r>0?e:t}var p=r(3811);let d=(t,e,r)=>{let i=t*t,n=r*(e*e-i)+i;return n<0?0:Math.sqrt(n)},m=[l.$,c.m,u.J],g=t=>m.find(e=>e.test(t));function y(t){let e=g(t);if((0,n.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let r=e.parse(t);return e===u.J&&(r=function({hue:t,saturation:e,lightness:r,alpha:i}){t/=360,r/=100;let n=0,s=0,o=0;if(e/=100){let i=r<.5?r*(1+e):r+e-r*e,a=2*r-i;n=h(a,i,t+1/3),s=h(a,i,t),o=h(a,i,t-1/3)}else n=s=o=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(r)),r}let v=(t,e)=>{let r=y(t),i=y(e);if(!r||!i)return f(t,e);let n={...r};return t=>(n.red=d(r.red,i.red,t),n.green=d(r.green,i.green,t),n.blue=d(r.blue,i.blue,t),n.alpha=(0,p.t)(r.alpha,i.alpha,t),c.m.transform(n))},b=new Set(["none","hidden"]);function x(t,e){return r=>(0,p.t)(t,e,r)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,s.t)(t)?f:o.$.test(t)?v:S:Array.isArray(t)?T:"object"==typeof t?o.$.test(t)?v:E:f}function T(t,e){let r=[...t],i=r.length,n=t.map((t,r)=>w(t)(t,e[r]));return t=>{for(let e=0;e<i;e++)r[e]=n[e](t);return r}}function E(t,e){let r={...t,...e},i={};for(let n in r)void 0!==t[n]&&void 0!==e[n]&&(i[n]=w(t[n])(t[n],e[n]));return t=>{for(let e in i)r[e]=i[e](t);return r}}let S=(t,e)=>{let r=a.P.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?b.has(t)&&!o.values.length||b.has(e)&&!s.values.length?b.has(t)?r=>r<=0?t:e:r=>r>=1?e:t:(0,i.z)(T(function(t,e){let r=[],i={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][i[s]],a=t.values[o]??0;r[n]=a,i[s]++}return r}(s,o),o.values),r):((0,n.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),f(t,e))};function P(t,e,r){return"number"==typeof t&&"number"==typeof e&&"number"==typeof r?(0,p.t)(t,e,r):w(t)(t,e)}},3811:function(t,e,r){"use strict";r.d(e,{t:function(){return i}});let i=(t,e,r)=>t+(e-t)*r},9960:function(t,e,r){"use strict";function i(t,e,r){if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);let n=r?.[t]??i.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}r.d(e,{I:function(){return i}})},9339:function(t,e,r){"use strict";r.d(e,{t:function(){return i}});let i=(0,r(107).X)(()=>void 0!==window.ScrollTimeline)},4357:function(t,e,r){"use strict";r.d(e,{BX:function(){return h},S1:function(){return l}});var i=r(4513),n=r(8294),s=r(1927),o=r(6147);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.X.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.L);let r=this.events[t].add(e);return"change"===t?()=>{r(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,r){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}},1664:function(t,e,r){"use strict";r.d(e,{$:function(){return n}});var i=r(230);let n={test:(0,r(8017).i)("#"),parse:function(t){let e="",r="",i="",n="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),i=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),i=t.substring(3,4),n=t.substring(4,5),e+=e,r+=r,i+=i,n+=n),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(i,16),alph
1a:n?parseInt(n,16)/255:1}},transform:i.m.transform}},2017:function(t,e,r){"use strict";r.d(e,{J:function(){return a}});var i=r(1799),n=r(2854),s=r(1224),o=r(8017);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.aQ.transform((0,s.N)(e))+", "+n.aQ.transform((0,s.N)(r))+", "+(0,s.N)(i.Fq.transform(o))+")"}},7537:function(t,e,r){"use strict";r.d(e,{$:function(){return o}});var i=r(1664),n=r(2017),s=r(230);let o={test:t=>s.m.test(t)||i.$.test(t)||n.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):n.J.test(t)?n.J.parse(t):i.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.m.transform(t):n.J.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},230:function(t,e,r){"use strict";r.d(e,{m:function(){return u}});var i=r(1865),n=r(1799),s=r(1224),o=r(8017);let a=t=>(0,i.u)(0,255,t),l={...n.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:i=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(r)+", "+(0,s.N)(n.Fq.transform(i))+")"}},8017:function(t,e,r){"use strict";r.d(e,{i:function(){return s},d:function(){return o}});var i=r(3855);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>r=>!!("string"==typeof r&&n.test(r)&&r.startsWith(t)||e&&null!=r&&Object.prototype.hasOwnProperty.call(r,e)),o=(t,e,r)=>n=>{if("string"!=typeof n)return n;let[s,o,a,l]=n.match(i.K);return{[t]:parseFloat(s),[e]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},5050:function(t,e,r){"use strict";r.d(e,{V:function(){return h},P:function(){return d}});var i=r(7537);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=r(3855),o=r(1224);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),r=[],n={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(i.$.test(t)?(n.color.push(o),s.push(l),r.push(i.$.parse(t))):t.startsWith("var(")?(n.var.push(o),s.push("var"),r.push(t)):(n.number.push(o),s.push(a),r.push(parseFloat(t))),++o,"${}")).split("${}");return{values:r,split:h,indexes:n,types:s}}function c(t){return h(t).values}function f(t){let{split:e,types:r}=h(t),n=e.length;return t=>{let s="";for(let u=0;u<n;u++)if(s+=e[u],void 0!==t[u]){let e=r[u];e===a?s+=(0,o.N)(t[u]):e===l?s+=i.$.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:i.$.test(t)?i.$.getAnimatableNone(t):t,d={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.K)?.length||0)+(t.match(n)?.length||0)>0},parse:c,createTransformer:f,getAnimatableNone:function(t){let e=c(t);return f(t)(e.map(p))}}},1799:function(t,e,r){"use strict";r.d(e,{Fq:function(){return s},Rx:function(){return n},bA:function(){return o}});var i=r(1865);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...n,transform:t=>(0,i.u)(0,1,t)},o={...n,default:1}},2854:function(t,e,r){"use strict";r.d(e,{$C:function(){return u},RW:function(){return n},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return l}});let i=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=i("deg"),s=i("%"),o=i("px"),a=i("vh"),l=i("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},3855:function(t,e,r){"use strict";r.d(e,{K:function(){return i}});let i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},1224:function(t,e,r){"use strict";r.d(e,{N:function(){return i}});let i=t=>Math.round(1e5*t)/1e5},8425:function(t,e,r){"use strict";function i(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}r.d(e,{cl:function(){return n},y4:function(){return i}})},1865:function(t,e,r){"use strict";r.d(e,{u:function(){return i}});let i=(t,e,r)=>r>e?e:r<t?t:r},2035:function(t,e,r){"use strict";r.d(e,{K:function(){return i},k:function(){return n}});let i=()=>{},n=()=>{}},1457:function(t,e,r){"use strict";r.d(e,{c:function(){return i}});let i={}}
1,1464:function(t,e,r){"use strict";function i(t){return"object"==typeof t&&null!==t}r.d(e,{K:function(){return i}})},107:function(t,e,r){"use strict";function i(t){let e;return()=>(void 0===e&&(e=t()),e)}r.d(e,{X:function(){return i}})},6277:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=t=>t},4750:function(t,e,r){"use strict";r.d(e,{z:function(){return n}});let i=(t,e)=>r=>e(t(r)),n=(...t)=>t.reduce(i)},1645:function(t,e,r){"use strict";r.d(e,{Y:function(){return i}});let i=(t,e,r)=>{let i=e-t;return 0===i?1:(r-t)/i}},4513:function(t,e,r){"use strict";r.d(e,{L:function(){return n}});var i=r(8425);class n{constructor(){this.subscriptions=[]}add(t){return(0,i.y4)(this.subscriptions,t),()=>(0,i.cl)(this.subscriptions,t)}notify(t,e,r){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(t,e,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},8294:function(t,e,r){"use strict";function i(t,e){return e?1e3/e*t:0}r.d(e,{R:function(){return i}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.