scope360-core 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* Subject to the terms at https://gsap.com/standard-license or for
|
|
15
15
|
* Club GSAP members, the agreement issued with that membership.
|
|
16
16
|
* @author: Jack Doyle, jack@greensock.com
|
|
17
|
-
*/var ml,cn,Qn,Lo,Bn,_l,No,uf=function(){return typeof window<"u"},qt={},Pn=180/Math.PI,Jn=Math.PI/180,er=Math.atan2,gl=1e8,Ro=/([A-Z])/g,hf=/(left|right|width|margin|padding|x)/i,ff=/[\s,\(]\S/,At={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},pf=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},mf=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},_f=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},yl=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},wl=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},gf=function(e,t,r){return e.style[t]=r},yf=function(e,t,r){return e.style.setProperty(t,r)},wf=function(e,t,r){return e._gsap[t]=r},bf=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Cf=function(e,t,r,a,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},kf=function(e,t,r,a,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},Pe="transform",nt=Pe+"Origin",vf=function n(e,t){var r=this,a=this.target,i=a.style,s=a._gsap;if(e in qt&&i){if(this.tfm=this.tfm||{},e!=="transform")e=At[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=Zt(a,l)}):this.tfm[e]=s.x?s[e]:Zt(a,e),e===nt&&(this.tfm.zOrigin=s.zOrigin);else return At.transform.split(",").forEach(function(l){return n.call(r,l,t)});if(this.props.indexOf(Pe)>=0)return;s.svg&&(this.svgo=a.getAttribute("data-svg-origin"),this.props.push(nt,t,"")),e=Pe}(i||t)&&this.props.push(e,t,i[e])},bl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},xf=function(){var e=this.props,t=this.target,r=t.style,a=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Ro,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)a[s]=this.tfm[s];a.svg&&(a.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=No(),(!i||!i.isStart)&&!r[Pe]&&(bl(r),a.zOrigin&&r[nt]&&(r[nt]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1)}},Cl=function(e,t){var r={target:e,props:[],revert:xf,save:vf};return e._gsap||tt.core.getCache(e),t&&t.split(",").forEach(function(a){return r.save(a)}),r},kl,Io=function(e,t){var r=cn.createElementNS?cn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):cn.createElement(e);return r&&r.style?r:cn.createElement(e)},Lt=function n(e,t,r){var a=getComputedStyle(e);return a[t]||a.getPropertyValue(t.replace(Ro,"-$1").toLowerCase())||a.getPropertyValue(t)||!r&&n(e,tr(t)||t,1)||""},vl="O,Moz,ms,Ms,Webkit".split(","),tr=function(e,t,r){var a=t||Bn,i=a.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(vl[s]+e in i););return s<0?null:(s===3?"ms":s>=0?vl[s]:"")+e},Ho=function(){uf()&&window.document&&(ml=window,cn=ml.document,Qn=cn.documentElement,Bn=Io("div")||{style:{}},Io("div"),Pe=tr(Pe),nt=Pe+"Origin",Bn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",kl=!!tr("perspective"),No=tt.core.reverting,Lo=1)},zo=function n(e){var t=Io("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,a=this.nextSibling,i=this.style.cssText,s;if(Qn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=n}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(a?r.insertBefore(this,a):r.appendChild(this)),Qn.removeChild(t),this.style.cssText=i,s},xl=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ml=function(e){var t;try{t=e.getBBox()}catch{t=zo.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===zo||(t=zo.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+xl(e,["x","cx","x1"])||0,y:+xl(e,["y","cy","y1"])||0,width:0,height:0}:t},Sl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ml(e))},En=function(e,t){if(t){var r=e.style,a;t in qt&&t!==nt&&(t=Pe),r.removeProperty?(a=t.substr(0,2),(a==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(a==="--"?t:t.replace(Ro,"-$1").toLowerCase())):r.removeAttribute(t)}},dn=function(e,t,r,a,i,s){var l=new et(e._pt,t,r,0,1,s?wl:yl);return e._pt=l,l.b=a,l.e=i,e._props.push(r),l},Tl={deg:1,rad:1,turn:1},Mf={grid:1,flex:1},un=function n(e,t,r,a){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",l=Bn.style,c=hf.test(t),u=e.tagName.toLowerCase()==="svg",d=(u?"client":"offset")+(c?"Width":"Height"),h=100,p=a==="px",_=a==="%",m,f,C,S;if(a===s||!i||Tl[a]||Tl[s])return i;if(s!=="px"&&!p&&(i=n(e,t,r,"px")),S=e.getCTM&&Sl(e),(_||s==="%")&&(qt[t]||~t.indexOf("adius")))return m=S?e.getBBox()[c?"width":"height"]:e[d],Re(_?i/m*h:i/100*m);if(l[c?"width":"height"]=h+(p?s:a),f=~t.indexOf("adius")||a==="em"&&e.appendChild&&!u?e:e.parentNode,S&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===cn||!f.appendChild)&&(f=cn.body),C=f._gsap,C&&_&&C.width&&c&&C.time===ct.time&&!C.uncache)return Re(i/C.width*h);if(_&&(t==="height"||t==="width")){var M=e.style[t];e.style[t]=h+a,m=e[d],M?e.style[t]=M:En(e,t)}else(_||s==="%")&&!Mf[Lt(f,"display")]&&(l.position=Lt(e,"position")),f===e&&(l.position="static"),f.appendChild(Bn),m=Bn[d],f.removeChild(Bn),l.position="absolute";return c&&_&&(C=kn(f),C.time=ct.time,C.width=f[d]),Re(p?m*i/h:m&&i?h/m*i:0)},Zt=function(e,t,r,a){var i;return Lo||Ho(),t in At&&t!=="transform"&&(t=At[t],~t.indexOf(",")&&(t=t.split(",")[0])),qt[t]&&t!=="transform"?(i=Br(e,a),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:oa(Lt(e,nt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||a||~(i+"").indexOf("calc("))&&(i=aa[t]&&aa[t](e,t,r)||Lt(e,t)||$s(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?un(e,t,i,r)+r:i},Sf=function(e,t,r,a){if(!r||r==="none"){var i=tr(t,e,1),s=i&&Lt(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=Lt(e,"borderTopColor"))}var l=new et(this._pt,e.style,t,0,1,ul),c=0,u=0,d,h,p,_,m,f,C,S,M,b,x,T;if(l.b=r,l.e=a,r+="",a+="",a==="auto"&&(f=e.style[t],e.style[t]=a,a=Lt(e,t)||a,f?e.style[t]=f:En(e,t)),d=[r,a],tl(d),r=d[0],a=d[1],p=r.match(Zn)||[],T=a.match(Zn)||[],T.length){for(;h=Zn.exec(a);)C=h[0],M=a.substring(c,h.index),m?m=(m+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(m=1),C!==(f=p[u++]||"")&&(_=parseFloat(f)||0,x=f.substr((_+"").length),C.charAt(1)==="="&&(C=Un(_,C)+x),S=parseFloat(C),b=C.substr((S+"").length),c=Zn.lastIndex-b.length,b||(b=b||ot.units[t]||x,c===a.length&&(a+=b,l.e+=b)),x!==b&&(_=un(e,t,f,b)||0),l._pt={_next:l._pt,p:M||u===1?M:",",s:_,c:S-_,m:m&&m<4||t==="zIndex"?Math.round:0});l.c=c<a.length?a.substring(c,a.length):""}else l.r=t==="display"&&a==="none"?wl:yl;return xs.test(a)&&(l.e=0),this._pt=l,l},Bl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Tf=function(e){var t=e.split(" "),r=t[0],a=t[1]||"50%";return(r==="top"||r==="bottom"||a==="left"||a==="right")&&(e=r,r=a,a=e),t[0]=Bl[r]||r,t[1]=Bl[a]||a,t.join(" ")},Bf=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,a=r.style,i=t.u,s=r._gsap,l,c,u;if(i==="all"||i===!0)a.cssText="",c=1;else for(i=i.split(","),u=i.length;--u>-1;)l=i[u],qt[l]&&(c=1,l=l==="transformOrigin"?nt:Pe),En(r,l);c&&(En(r,Pe),s&&(s.svg&&r.removeAttribute("transform"),Br(r,1),s.uncache=1,bl(a)))}},aa={clearProps:function(e,t,r,a,i){if(i.data!=="isFromStart"){var s=e._pt=new et(e._pt,t,r,0,0,Bf);return s.u=a,s.pr=-10,s.tween=i,e._props.push(r),1}}},Tr=[1,0,0,1,0,0],Pl={},El=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},$l=function(e){var t=Lt(e,Pe);return El(t)?Tr:t.substr(7).match(vs).map(Re)},Yo=function(e,t){var r=e._gsap||kn(e),a=e.style,i=$l(e),s,l,c,u;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?Tr:i):(i===Tr&&!e.offsetParent&&e!==Qn&&!r.svg&&(c=a.display,a.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(u=1,l=e.nextElementSibling,Qn.appendChild(e)),i=$l(e),c?a.display=c:En(e,"display"),u&&(l?s.insertBefore(e,l):s?s.appendChild(e):Qn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},jo=function(e,t,r,a,i,s){var l=e._gsap,c=i||Yo(e,!0),u=l.xOrigin||0,d=l.yOrigin||0,h=l.xOffset||0,p=l.yOffset||0,_=c[0],m=c[1],f=c[2],C=c[3],S=c[4],M=c[5],b=t.split(" "),x=parseFloat(b[0])||0,T=parseFloat(b[1])||0,B,k,P,E;r?c!==Tr&&(k=_*C-m*f)&&(P=x*(C/k)+T*(-f/k)+(f*M-C*S)/k,E=x*(-m/k)+T*(_/k)-(_*M-m*S)/k,x=P,T=E):(B=Ml(e),x=B.x+(~b[0].indexOf("%")?x/100*B.width:x),T=B.y+(~(b[1]||b[0]).indexOf("%")?T/100*B.height:T)),a||a!==!1&&l.smooth?(S=x-u,M=T-d,l.xOffset=h+(S*_+M*f)-S,l.yOffset=p+(S*m+M*C)-M):l.xOffset=l.yOffset=0,l.xOrigin=x,l.yOrigin=T,l.smooth=!!a,l.origin=t,l.originIsAbsolute=!!r,e.style[nt]="0px 0px",s&&(dn(s,l,"xOrigin",u,x),dn(s,l,"yOrigin",d,T),dn(s,l,"xOffset",h,l.xOffset),dn(s,l,"yOffset",p,l.yOffset)),e.setAttribute("data-svg-origin",x+" "+T)},Br=function(e,t){var r=e._gsap||new ol(e);if("x"in r&&!t&&!r.uncache)return r;var a=e.style,i=r.scaleX<0,s="px",l="deg",c=getComputedStyle(e),u=Lt(e,nt)||"0",d,h,p,_,m,f,C,S,M,b,x,T,B,k,P,E,Y,X,D,F,G,v,w,L,q,J,U,O,N,y,g,R;return d=h=p=f=C=S=M=b=x=0,_=m=1,r.svg=!!(e.getCTM&&Sl(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(a[Pe]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[Pe]!=="none"?c[Pe]:"")),a.scale=a.rotate=a.translate="none"),k=Yo(e,r.svg),r.svg&&(r.uncache?(q=e.getBBox(),u=r.xOrigin-q.x+"px "+(r.yOrigin-q.y)+"px",L=""):L=!t&&e.getAttribute("data-svg-origin"),jo(e,L||u,!!L||r.originIsAbsolute,r.smooth!==!1,k)),T=r.xOrigin||0,B=r.yOrigin||0,k!==Tr&&(X=k[0],D=k[1],F=k[2],G=k[3],d=v=k[4],h=w=k[5],k.length===6?(_=Math.sqrt(X*X+D*D),m=Math.sqrt(G*G+F*F),f=X||D?er(D,X)*Pn:0,M=F||G?er(F,G)*Pn+f:0,M&&(m*=Math.abs(Math.cos(M*Jn))),r.svg&&(d-=T-(T*X+B*F),h-=B-(T*D+B*G))):(R=k[6],y=k[7],U=k[8],O=k[9],N=k[10],g=k[11],d=k[12],h=k[13],p=k[14],P=er(R,N),C=P*Pn,P&&(E=Math.cos(-P),Y=Math.sin(-P),L=v*E+U*Y,q=w*E+O*Y,J=R*E+N*Y,U=v*-Y+U*E,O=w*-Y+O*E,N=R*-Y+N*E,g=y*-Y+g*E,v=L,w=q,R=J),P=er(-F,N),S=P*Pn,P&&(E=Math.cos(-P),Y=Math.sin(-P),L=X*E-U*Y,q=D*E-O*Y,J=F*E-N*Y,g=G*Y+g*E,X=L,D=q,F=J),P=er(D,X),f=P*Pn,P&&(E=Math.cos(P),Y=Math.sin(P),L=X*E+D*Y,q=v*E+w*Y,D=D*E-X*Y,w=w*E-v*Y,X=L,v=q),C&&Math.abs(C)+Math.abs(f)>359.9&&(C=f=0,S=180-S),_=Re(Math.sqrt(X*X+D*D+F*F)),m=Re(Math.sqrt(w*w+R*R)),P=er(v,w),M=Math.abs(P)>2e-4?P*Pn:0,x=g?1/(g<0?-g:g):0),r.svg&&(L=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!El(Lt(e,Pe)),L&&e.setAttribute("transform",L))),Math.abs(M)>90&&Math.abs(M)<270&&(i?(_*=-1,M+=f<=0?180:-180,f+=f<=0?180:-180):(m*=-1,M+=M<=0?180:-180)),t=t||r.uncache,r.x=d-((r.xPercent=d&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=h-((r.yPercent=h&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Re(_),r.scaleY=Re(m),r.rotation=Re(f)+l,r.rotationX=Re(C)+l,r.rotationY=Re(S)+l,r.skewX=M+l,r.skewY=b+l,r.transformPerspective=x+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(a[nt]=oa(u)),r.xOffset=r.yOffset=0,r.force3D=ot.force3D,r.renderTransform=r.svg?Ef:kl?Ol:Pf,r.uncache=0,r},oa=function(e){return(e=e.split(" "))[0]+" "+e[1]},qo=function(e,t,r){var a=Ge(t);return Re(parseFloat(t)+parseFloat(un(e,"x",r+"px",a)))+a},Pf=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ol(e,t)},$n="0deg",Pr="0px",On=") ",Ol=function(e,t){var r=t||this,a=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.z,u=r.rotation,d=r.rotationY,h=r.rotationX,p=r.skewX,_=r.skewY,m=r.scaleX,f=r.scaleY,C=r.transformPerspective,S=r.force3D,M=r.target,b=r.zOrigin,x="",T=S==="auto"&&e&&e!==1||S===!0;if(b&&(h!==$n||d!==$n)){var B=parseFloat(d)*Jn,k=Math.sin(B),P=Math.cos(B),E;B=parseFloat(h)*Jn,E=Math.cos(B),s=qo(M,s,k*E*-b),l=qo(M,l,-Math.sin(B)*-b),c=qo(M,c,P*E*-b+b)}C!==Pr&&(x+="perspective("+C+On),(a||i)&&(x+="translate("+a+"%, "+i+"%) "),(T||s!==Pr||l!==Pr||c!==Pr)&&(x+=c!==Pr||T?"translate3d("+s+", "+l+", "+c+") ":"translate("+s+", "+l+On),u!==$n&&(x+="rotate("+u+On),d!==$n&&(x+="rotateY("+d+On),h!==$n&&(x+="rotateX("+h+On),(p!==$n||_!==$n)&&(x+="skew("+p+", "+_+On),(m!==1||f!==1)&&(x+="scale("+m+", "+f+On),M.style[Pe]=x||"translate(0, 0)"},Ef=function(e,t){var r=t||this,a=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.rotation,u=r.skewX,d=r.skewY,h=r.scaleX,p=r.scaleY,_=r.target,m=r.xOrigin,f=r.yOrigin,C=r.xOffset,S=r.yOffset,M=r.forceCSS,b=parseFloat(s),x=parseFloat(l),T,B,k,P,E;c=parseFloat(c),u=parseFloat(u),d=parseFloat(d),d&&(d=parseFloat(d),u+=d,c+=d),c||u?(c*=Jn,u*=Jn,T=Math.cos(c)*h,B=Math.sin(c)*h,k=Math.sin(c-u)*-p,P=Math.cos(c-u)*p,u&&(d*=Jn,E=Math.tan(u-d),E=Math.sqrt(1+E*E),k*=E,P*=E,d&&(E=Math.tan(d),E=Math.sqrt(1+E*E),T*=E,B*=E)),T=Re(T),B=Re(B),k=Re(k),P=Re(P)):(T=h,P=p,B=k=0),(b&&!~(s+"").indexOf("px")||x&&!~(l+"").indexOf("px"))&&(b=un(_,"x",s,"px"),x=un(_,"y",l,"px")),(m||f||C||S)&&(b=Re(b+m-(m*T+f*k)+C),x=Re(x+f-(m*B+f*P)+S)),(a||i)&&(E=_.getBBox(),b=Re(b+a/100*E.width),x=Re(x+i/100*E.height)),E="matrix("+T+","+B+","+k+","+P+","+b+","+x+")",_.setAttribute("transform",E),M&&(_.style[Pe]=E)},$f=function(e,t,r,a,i){var s=360,l=Ye(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Pn:1),u=c-a,d=a+u+"deg",h,p;return l&&(h=i.split("_")[1],h==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),h==="cw"&&u<0?u=(u+s*gl)%s-~~(u/s)*s:h==="ccw"&&u>0&&(u=(u-s*gl)%s-~~(u/s)*s)),e._pt=p=new et(e._pt,t,r,a,u,pf),p.e=d,p.u="deg",e._props.push(r),p},Dl=function(e,t){for(var r in t)e[r]=t[r];return e},Of=function(e,t,r){var a=Dl({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,l,c,u,d,h,p,_,m;a.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[Pe]=t,l=Br(r,1),En(r,Pe),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Pe],s[Pe]=t,l=Br(r,1),s[Pe]=u);for(c in qt)u=a[c],d=l[c],u!==d&&i.indexOf(c)<0&&(_=Ge(u),m=Ge(d),h=_!==m?un(r,c,u,m):parseFloat(u),p=parseFloat(d),e._pt=new et(e._pt,l,c,h,p-h,Fo),e._pt.u=m||0,e._props.push(c));Dl(l,a)};Je("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",a="Bottom",i="Left",s=(e<3?[t,r,a,i]:[t+i,t+r,a+r,a+i]).map(function(l){return e<2?n+l:"border"+l+n});aa[e>1?"border"+n:n]=function(l,c,u,d,h){var p,_;if(arguments.length<4)return p=s.map(function(m){return Zt(l,m,u)}),_=p.join(" "),_.split(p[0]).length===5?p[0]:_;p=(d+"").split(" "),_={},s.forEach(function(m,f){return _[m]=p[f]=p[f]||p[(f-1)/2|0]}),l.init(c,_,h)}});var Vl={name:"css",register:Ho,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,a,i){var s=this._props,l=e.style,c=r.vars.startAt,u,d,h,p,_,m,f,C,S,M,b,x,T,B,k,P;Lo||Ho(),this.styles=this.styles||Cl(e),P=this.styles.props,this.tween=r;for(f in t)if(f!=="autoRound"&&(d=t[f],!(st[f]&&il(f,t,r,a,e,i)))){if(_=typeof d,m=aa[f],_==="function"&&(d=d.call(r,a,e,i),_=typeof d),_==="string"&&~d.indexOf("random(")&&(d=Cr(d)),m)m(this,e,f,d,r)&&(k=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(f)+"").trim(),d+="",sn.lastIndex=0,sn.test(u)||(C=Ge(u),S=Ge(d)),S?C!==S&&(u=un(e,f,u,S)+S):C&&(d+=C),this.add(l,"setProperty",u,d,a,i,0,0,f),s.push(f),P.push(f,0,l[f]);else if(_!=="undefined"){if(c&&f in c?(u=typeof c[f]=="function"?c[f].call(r,a,e,i):c[f],Ye(u)&&~u.indexOf("random(")&&(u=Cr(u)),Ge(u+"")||u==="auto"||(u+=ot.units[f]||Ge(Zt(e,f))||""),(u+"").charAt(1)==="="&&(u=Zt(e,f))):u=Zt(e,f),p=parseFloat(u),M=_==="string"&&d.charAt(1)==="="&&d.substr(0,2),M&&(d=d.substr(2)),h=parseFloat(d),f in At&&(f==="autoAlpha"&&(p===1&&Zt(e,"visibility")==="hidden"&&h&&(p=0),P.push("visibility",0,l.visibility),dn(this,l,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=At[f],~f.indexOf(",")&&(f=f.split(",")[0]))),b=f in qt,b){if(this.styles.save(f),x||(T=e._gsap,T.renderTransform&&!t.parseTransform||Br(e,t.parseTransform),B=t.smoothOrigin!==!1&&T.smooth,x=this._pt=new et(this._pt,l,Pe,0,1,T.renderTransform,T,0,-1),x.dep=1),f==="scale")this._pt=new et(this._pt,T,"scaleY",T.scaleY,(M?Un(T.scaleY,M+h):h)-T.scaleY||0,Fo),this._pt.u=0,s.push("scaleY",f),f+="X";else if(f==="transformOrigin"){P.push(nt,0,l[nt]),d=Tf(d),T.svg?jo(e,d,0,B,0,this):(S=parseFloat(d.split(" ")[2])||0,S!==T.zOrigin&&dn(this,T,"zOrigin",T.zOrigin,S),dn(this,l,f,oa(u),oa(d)));continue}else if(f==="svgOrigin"){jo(e,d,1,B,0,this);continue}else if(f in Pl){$f(this,T,f,p,M?Un(p,M+d):d);continue}else if(f==="smoothOrigin"){dn(this,T,"smooth",T.smooth,d);continue}else if(f==="force3D"){T[f]=d;continue}else if(f==="transform"){Of(this,d,e);continue}}else f in l||(f=tr(f)||f);if(b||(h||h===0)&&(p||p===0)&&!ff.test(d)&&f in l)C=(u+"").substr((p+"").length),h||(h=0),S=Ge(d)||(f in ot.units?ot.units[f]:C),C!==S&&(p=un(e,f,u,S)),this._pt=new et(this._pt,b?T:l,f,p,(M?Un(p,M+h):h)-p,!b&&(S==="px"||f==="zIndex")&&t.autoRound!==!1?_f:Fo),this._pt.u=S||0,C!==S&&S!=="%"&&(this._pt.b=u,this._pt.r=mf);else if(f in l)Sf.call(this,e,f,u,M?M+d:d);else if(f in e)this.add(e,f,u||e[f],M?M+d:d,a,i);else if(f!=="parseTransform"){ho(f,d);continue}b||(f in l?P.push(f,0,l[f]):P.push(f,1,u||e[f])),s.push(f)}}k&&hl(this)},render:function(e,t){if(t.tween._time||!No())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Zt,aliases:At,getSetter:function(e,t,r){var a=At[t];return a&&a.indexOf(",")<0&&(t=a),t in qt&&t!==nt&&(e._gsap.x||Zt(e,"x"))?r&&_l===r?t==="scale"?bf:wf:(_l=r||{})&&(t==="scale"?Cf:kf):e.style&&!oo(e.style[t])?gf:~t.indexOf("-")?yf:Eo(e,t)},core:{_removeProperty:En,_getMatrix:Yo}};tt.utils.checkPrefix=tr,tt.core.getStyleSaver=Cl,function(n,e,t,r){var a=Je(n+","+e+","+t,function(i){qt[i]=1});Je(e,function(i){ot.units[i]="deg",Pl[i]=1}),At[a[13]]=n+","+e,Je(r,function(i){var s=i.split(":");At[s[1]]=a[s[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Je("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){ot.units[n]="px"}),tt.registerPlugin(Vl);var hn=tt.registerPlugin(Vl)||tt;hn.core.Tween;const Df={__name:"Confetti",setup(n){function e(r){let a=100,i=r.offsetWidth,s=r.offsetHeight;for(let d=0;d<a;d++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),hn.set(h,{x:c(i),y:u(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+u(170,360)+",50%,50%)"}),l(h)}function l(d){hn.set(r,{display:"block"}),hn.to(r,{autoAlpha:1,duration:2,delay:1}),hn.to(d,c(5)+4,{y:s,ease:df.easeNone,repeat:-1,delay:-5}),hn.to(d,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Ao.easeInOut}),hn.to(d,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Ao.easeInOut}),hn.to(d,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Ao.easeInOut})}function c(d){return Math.random()*d}function u(d,h){return d+Math.floor(Math.random()*(h-d))}}const t=o.ref(null);return o.onMounted(()=>{t.value&&e(t.value)}),(r,a)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"confetti",ref:t,class:"confetti"},null,512))}},Al=n=>(o.pushScopeId("data-v-c0a90d49"),n=n(),o.popScopeId(),n),Vf={class:"sidebar-popup-container"},Af={class:"sidebar-popup__profile-info"},Lf=["src"],Nf={class:"sidebar-popup__profile-info__wrapper"},Rf={class:"sidebar-popup__profile-info__name"},Ff={class:"sidebar-popup__profile-info__e-mail"},If=Al(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Hf={class:"sidebar-popup__tabs"},zf=["onClick"],Yf={class:"sidebar-popup__tab__icon-wrapper"},jf={class:"sidebar-popup__tab__name"},qf=Al(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Zf={class:"sidebar-popup__actions-buttons"},Uf=ut({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(n,{emit:e}){const t=e,r=o.ref(!1),a=o.ref(null),i=o.reactive([{name:"futures",isActive:!0},{name:"charts",isActive:!0},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),s=()=>{if(window!==void 0){const d=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${d}/settings/profile`,"_self")}},l=d=>{d.isActive&&window.open(`https://${d.name}.scope360.io/`)},c=()=>{r.value=!r.value},u=d=>{a.value&&!a.value.contains(d.target)&&c()};return o.onMounted(()=>{document.addEventListener("click",u)}),o.onUnmounted(()=>{document.removeEventListener("click",u)}),(d,h)=>(o.openBlock(),o.createElementBlock("div",Vf,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":r.value}]),onClick:o.withModifiers(c,["stop"]),name:"popup-icon-wrapper"},[o.createVNode(yt,{icon:"pop-up_opener"})],2),r.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:a},[o.createElementVNode("div",Af,[o.createElementVNode("img",{src:n.user.image||"https://static.wixstatic.com/media/38bd8f_7eabf2bc8f4a452eb20de68e514f64ff~mv2.jpg/v1/fill/w_759,h_498,al_c/38bd8f_7eabf2bc8f4a452eb20de68e514f64ff~mv2.jpg",class:"sidebar-popup__profile-info__photo"},null,8,Lf),o.createElementVNode("div",Nf,[o.createElementVNode("div",Rf,o.toDisplayString(n.user.name),1),o.createElementVNode("div",Ff,o.toDisplayString(n.user.email),1)])]),If,o.createElementVNode("div",Hf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i,p=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["sidebar-popup__tab",{"-is-active":p.name===n.activeSection},{"-is-disable":!p.isActive}]),onClick:_=>l(p)},[o.createElementVNode("div",Yf,[o.createVNode(yt,{icon:p.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",jf,o.toDisplayString(p.name),1)],10,zf))),256))]),qf,o.createElementVNode("div",Zf,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup__settings",{"-is-active":n.activeSection==="settings"}]),onClick:s}," Settings ",2),o.createElementVNode("div",{class:"sidebar-popup__logout",onClick:h[0]||(h[0]=p=>t("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c0a90d49"]]);/*! js-cookie v3.0.5 | MIT */function ia(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)n[r]=t[r]}return n}var Wf={read:function(n){return n[0]==='"'&&(n=n.slice(1,-1)),n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(n){return encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Zo(n,e){function t(a,i,s){if(!(typeof document>"u")){s=ia({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in s)s[c]&&(l+="; "+c,s[c]!==!0&&(l+="="+s[c].split(";")[0]));return document.cookie=a+"="+n.write(i,a)+l}}function r(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],s={},l=0;l<i.length;l++){var c=i[l].split("="),u=c.slice(1).join("=");try{var d=decodeURIComponent(c[0]);if(s[d]=n.read(u,d),a===d)break}catch{}}return a?s[a]:s}}return Object.create({set:t,get:r,remove:function(a,i){t(a,"",ia({},i,{expires:-1}))},withAttributes:function(a){return Zo(this.converter,ia({},this.attributes,a))},withConverter:function(a){return Zo(ia({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(n)}})}var nr=Zo(Wf,{path:"/"});class dt{static setItem(e,t,r=Date.now()+31449600){nr.set(e,t,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return nr.get(e)}static removeItem(e){nr.remove(e)}static clear(){const e=Object.keys(nr.get());for(const t of e)nr.remove(t)}static getAll(){return nr.get()}}function Ll(n,e){return function(){return n.apply(e,arguments)}}const{toString:Gf}=Object.prototype,{getPrototypeOf:Uo}=Object,sa=(n=>e=>{const t=Gf.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=n=>(n=n.toLowerCase(),e=>sa(e)===n),la=n=>e=>typeof e===n,{isArray:rr}=Array,Er=la("undefined");function Kf(n){return n!==null&&!Er(n)&&n.constructor!==null&&!Er(n.constructor)&&_t(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const Nl=Nt("ArrayBuffer");function Xf(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&Nl(n.buffer),e}const Qf=la("string"),_t=la("function"),Rl=la("number"),ca=n=>n!==null&&typeof n=="object",Jf=n=>n===!0||n===!1,da=n=>{if(sa(n)!=="object")return!1;const e=Uo(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},e3=Nt("Date"),t3=Nt("File"),n3=Nt("Blob"),r3=Nt("FileList"),a3=n=>ca(n)&&_t(n.pipe),o3=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||_t(n.append)&&((e=sa(n))==="formdata"||e==="object"&&_t(n.toString)&&n.toString()==="[object FormData]"))},i3=Nt("URLSearchParams"),s3=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $r(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let r,a;if(typeof n!="object"&&(n=[n]),rr(n))for(r=0,a=n.length;r<a;r++)e.call(null,n[r],r,n);else{const i=t?Object.getOwnPropertyNames(n):Object.keys(n),s=i.length;let l;for(r=0;r<s;r++)l=i[r],e.call(null,n[l],l,n)}}function Fl(n,e){e=e.toLowerCase();const t=Object.keys(n);let r=t.length,a;for(;r-- >0;)if(a=t[r],e===a.toLowerCase())return a;return null}const Il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hl=n=>!Er(n)&&n!==Il;function Wo(){const{caseless:n}=Hl(this)&&this||{},e={},t=(r,a)=>{const i=n&&Fl(e,a)||a;da(e[i])&&da(r)?e[i]=Wo(e[i],r):da(r)?e[i]=Wo({},r):rr(r)?e[i]=r.slice():e[i]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&$r(arguments[r],t);return e}const l3=(n,e,t,{allOwnKeys:r}={})=>($r(e,(a,i)=>{t&&_t(a)?n[i]=Ll(a,t):n[i]=a},{allOwnKeys:r}),n),c3=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),d3=(n,e,t,r)=>{n.prototype=Object.create(e.prototype,r),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),t&&Object.assign(n.prototype,t)},u3=(n,e,t,r)=>{let a,i,s;const l={};if(e=e||{},n==null)return e;do{for(a=Object.getOwnPropertyNames(n),i=a.length;i-- >0;)s=a[i],(!r||r(s,n,e))&&!l[s]&&(e[s]=n[s],l[s]=!0);n=t!==!1&&Uo(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},h3=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;const r=n.indexOf(e,t);return r!==-1&&r===t},f3=n=>{if(!n)return null;if(rr(n))return n;let e=n.length;if(!Rl(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},p3=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&Uo(Uint8Array)),m3=(n,e)=>{const r=(n&&n[Symbol.iterator]).call(n);let a;for(;(a=r.next())&&!a.done;){const i=a.value;e.call(n,i[0],i[1])}},_3=(n,e)=>{let t;const r=[];for(;(t=n.exec(e))!==null;)r.push(t);return r},g3=Nt("HTMLFormElement"),y3=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,a){return r.toUpperCase()+a}),zl=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),w3=Nt("RegExp"),Yl=(n,e)=>{const t=Object.getOwnPropertyDescriptors(n),r={};$r(t,(a,i)=>{let s;(s=e(a,i,n))!==!1&&(r[i]=s||a)}),Object.defineProperties(n,r)},b3=n=>{Yl(n,(e,t)=>{if(_t(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const r=n[t];if(_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 '"+t+"'")})}})},C3=(n,e)=>{const t={},r=a=>{a.forEach(i=>{t[i]=!0})};return rr(n)?r(n):r(String(n).split(e)),t},k3=()=>{},v3=(n,e)=>(n=+n,Number.isFinite(n)?n:e),Go="abcdefghijklmnopqrstuvwxyz",jl="0123456789",ql={DIGIT:jl,ALPHA:Go,ALPHA_DIGIT:Go+Go.toUpperCase()+jl},x3=(n=16,e=ql.ALPHA_DIGIT)=>{let t="";const{length:r}=e;for(;n--;)t+=e[Math.random()*r|0];return t};function M3(n){return!!(n&&_t(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const S3=n=>{const e=new Array(10),t=(r,a)=>{if(ca(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[a]=r;const i=rr(r)?[]:{};return $r(r,(s,l)=>{const c=t(s,a+1);!Er(c)&&(i[l]=c)}),e[a]=void 0,i}}return r};return t(n,0)},T3=Nt("AsyncFunction"),z={isArray:rr,isArrayBuffer:Nl,isBuffer:Kf,isFormData:o3,isArrayBufferView:Xf,isString:Qf,isNumber:Rl,isBoolean:Jf,isObject:ca,isPlainObject:da,isUndefined:Er,isDate:e3,isFile:t3,isBlob:n3,isRegExp:w3,isFunction:_t,isStream:a3,isURLSearchParams:i3,isTypedArray:p3,isFileList:r3,forEach:$r,merge:Wo,extend:l3,trim:s3,stripBOM:c3,inherits:d3,toFlatObject:u3,kindOf:sa,kindOfTest:Nt,endsWith:h3,toArray:f3,forEachEntry:m3,matchAll:_3,isHTMLForm:g3,hasOwnProperty:zl,hasOwnProp:zl,reduceDescriptors:Yl,freezeMethods:b3,toObjectSet:C3,toCamelCase:y3,noop:k3,toFiniteNumber:v3,findKey:Fl,global:Il,isContextDefined:Hl,ALPHABET:ql,generateString:x3,isSpecCompliantForm:M3,toJSONObject:S3,isAsyncFn:T3,isThenable:n=>n&&(ca(n)||_t(n))&&_t(n.then)&&_t(n.catch)};function me(n,e,t,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),r&&(this.request=r),a&&(this.response=a)}z.inherits(me,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:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Zl=me.prototype,Ul={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{Ul[n]={value:n}}),Object.defineProperties(me,Ul),Object.defineProperty(Zl,"isAxiosError",{value:!0}),me.from=(n,e,t,r,a,i)=>{const s=Object.create(Zl);return z.toFlatObject(n,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),me.call(s,n.message,e,t,r,a),s.cause=n,s.name=n.name,i&&Object.assign(s,i),s};const B3=null;function Ko(n){return z.isPlainObject(n)||z.isArray(n)}function Wl(n){return z.endsWith(n,"[]")?n.slice(0,-2):n}function Gl(n,e,t){return n?n.concat(e).map(function(a,i){return a=Wl(a),!t&&i?"["+a+"]":a}).join(t?".":""):e}function P3(n){return z.isArray(n)&&!n.some(Ko)}const E3=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function ua(n,e,t){if(!z.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,t=z.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,C){return!z.isUndefined(C[f])});const r=t.metaTokens,a=t.visitor||d,i=t.dots,s=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(e);if(!z.isFunction(a))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(z.isDate(m))return m.toISOString();if(!c&&z.isBlob(m))throw new me("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(m)||z.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,f,C){let S=m;if(m&&!C&&typeof m=="object"){if(z.endsWith(f,"{}"))f=r?f:f.slice(0,-2),m=JSON.stringify(m);else if(z.isArray(m)&&P3(m)||(z.isFileList(m)||z.endsWith(f,"[]"))&&(S=z.toArray(m)))return f=Wl(f),S.forEach(function(b,x){!(z.isUndefined(b)||b===null)&&e.append(s===!0?Gl([f],x,i):s===null?f:f+"[]",u(b))}),!1}return Ko(m)?!0:(e.append(Gl(C,f,i),u(m)),!1)}const h=[],p=Object.assign(E3,{defaultVisitor:d,convertValue:u,isVisitable:Ko});function _(m,f){if(!z.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+f.join("."));h.push(m),z.forEach(m,function(S,M){(!(z.isUndefined(S)||S===null)&&a.call(e,S,z.isString(M)?M.trim():M,f,p))===!0&&_(S,f?f.concat(M):[M])}),h.pop()}}if(!z.isObject(n))throw new TypeError("data must be an object");return _(n),e}function Kl(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Xo(n,e){this._pairs=[],n&&ua(n,this,e)}const Xl=Xo.prototype;Xl.append=function(e,t){this._pairs.push([e,t])},Xl.toString=function(e){const t=e?function(r){return e.call(this,r,Kl)}:Kl;return this._pairs.map(function(a){return t(a[0])+"="+t(a[1])},"").join("&")};function $3(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ql(n,e,t){if(!e)return n;const r=t&&t.encode||$3,a=t&&t.serialize;let i;if(a?i=a(e,t):i=z.isURLSearchParams(e)?e.toString():new Xo(e,t).toString(r),i){const s=n.indexOf("#");s!==-1&&(n=n.slice(0,s)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n}class Jl{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,function(r){r!==null&&e(r)})}}const e1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},O3={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Xo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},t1=typeof window<"u"&&typeof document<"u",D3=(n=>t1&&["ReactNative","NativeScript","NS"].indexOf(n)<0)(typeof navigator<"u"&&navigator.product),V3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Rt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:t1,hasStandardBrowserEnv:D3,hasStandardBrowserWebWorkerEnv:V3},Symbol.toStringTag,{value:"Module"})),...O3};function A3(n,e){return ua(n,new Rt.classes.URLSearchParams,Object.assign({visitor:function(t,r,a,i){return Rt.isNode&&z.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function L3(n){return z.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function N3(n){const e={},t=Object.keys(n);let r;const a=t.length;let i;for(r=0;r<a;r++)i=t[r],e[i]=n[i];return e}function n1(n){function e(t,r,a,i){let s=t[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=i>=t.length;return s=!s&&z.isArray(a)?a.length:s,c?(z.hasOwnProp(a,s)?a[s]=[a[s],r]:a[s]=r,!l):((!a[s]||!z.isObject(a[s]))&&(a[s]=[]),e(t,r,a[s],i)&&z.isArray(a[s])&&(a[s]=N3(a[s])),!l)}if(z.isFormData(n)&&z.isFunction(n.entries)){const t={};return z.forEachEntry(n,(r,a)=>{e(L3(r),a,t,0)}),t}return null}function R3(n,e,t){if(z.isString(n))try{return(e||JSON.parse)(n),z.trim(n)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(n)}const Qo={transitional:e1,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",a=r.indexOf("application/json")>-1,i=z.isObject(e);if(i&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return a?JSON.stringify(n1(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return A3(e,this.formSerializer).toString();if((l=z.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ua(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||a?(t.setContentType("application/json",!1),R3(e)):e}],transformResponse:[function(e){const t=this.transitional||Qo.transitional,r=t&&t.forcedJSONParsing,a=this.responseType==="json";if(e&&z.isString(e)&&(r&&!this.responseType||a)){const s=!(t&&t.silentJSONParsing)&&a;try{return JSON.parse(e)}catch(l){if(s)throw l.name==="SyntaxError"?me.from(l,me.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Rt.classes.FormData,Blob:Rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],n=>{Qo.headers[n]={}});const Jo=Qo,F3=z.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"]),I3=n=>{const e={};let t,r,a;return n&&n.split(`
|
|
17
|
+
*/var ml,cn,Qn,Lo,Bn,_l,No,uf=function(){return typeof window<"u"},qt={},Pn=180/Math.PI,Jn=Math.PI/180,er=Math.atan2,gl=1e8,Ro=/([A-Z])/g,hf=/(left|right|width|margin|padding|x)/i,ff=/[\s,\(]\S/,At={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},pf=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},mf=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},_f=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},yl=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},wl=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},gf=function(e,t,r){return e.style[t]=r},yf=function(e,t,r){return e.style.setProperty(t,r)},wf=function(e,t,r){return e._gsap[t]=r},bf=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Cf=function(e,t,r,a,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},kf=function(e,t,r,a,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},Pe="transform",nt=Pe+"Origin",vf=function n(e,t){var r=this,a=this.target,i=a.style,s=a._gsap;if(e in qt&&i){if(this.tfm=this.tfm||{},e!=="transform")e=At[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=Zt(a,l)}):this.tfm[e]=s.x?s[e]:Zt(a,e),e===nt&&(this.tfm.zOrigin=s.zOrigin);else return At.transform.split(",").forEach(function(l){return n.call(r,l,t)});if(this.props.indexOf(Pe)>=0)return;s.svg&&(this.svgo=a.getAttribute("data-svg-origin"),this.props.push(nt,t,"")),e=Pe}(i||t)&&this.props.push(e,t,i[e])},bl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},xf=function(){var e=this.props,t=this.target,r=t.style,a=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Ro,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)a[s]=this.tfm[s];a.svg&&(a.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=No(),(!i||!i.isStart)&&!r[Pe]&&(bl(r),a.zOrigin&&r[nt]&&(r[nt]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1)}},Cl=function(e,t){var r={target:e,props:[],revert:xf,save:vf};return e._gsap||tt.core.getCache(e),t&&t.split(",").forEach(function(a){return r.save(a)}),r},kl,Io=function(e,t){var r=cn.createElementNS?cn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):cn.createElement(e);return r&&r.style?r:cn.createElement(e)},Lt=function n(e,t,r){var a=getComputedStyle(e);return a[t]||a.getPropertyValue(t.replace(Ro,"-$1").toLowerCase())||a.getPropertyValue(t)||!r&&n(e,tr(t)||t,1)||""},vl="O,Moz,ms,Ms,Webkit".split(","),tr=function(e,t,r){var a=t||Bn,i=a.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(vl[s]+e in i););return s<0?null:(s===3?"ms":s>=0?vl[s]:"")+e},Ho=function(){uf()&&window.document&&(ml=window,cn=ml.document,Qn=cn.documentElement,Bn=Io("div")||{style:{}},Io("div"),Pe=tr(Pe),nt=Pe+"Origin",Bn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",kl=!!tr("perspective"),No=tt.core.reverting,Lo=1)},zo=function n(e){var t=Io("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,a=this.nextSibling,i=this.style.cssText,s;if(Qn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=n}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(a?r.insertBefore(this,a):r.appendChild(this)),Qn.removeChild(t),this.style.cssText=i,s},xl=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ml=function(e){var t;try{t=e.getBBox()}catch{t=zo.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===zo||(t=zo.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+xl(e,["x","cx","x1"])||0,y:+xl(e,["y","cy","y1"])||0,width:0,height:0}:t},Sl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ml(e))},En=function(e,t){if(t){var r=e.style,a;t in qt&&t!==nt&&(t=Pe),r.removeProperty?(a=t.substr(0,2),(a==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(a==="--"?t:t.replace(Ro,"-$1").toLowerCase())):r.removeAttribute(t)}},dn=function(e,t,r,a,i,s){var l=new et(e._pt,t,r,0,1,s?wl:yl);return e._pt=l,l.b=a,l.e=i,e._props.push(r),l},Tl={deg:1,rad:1,turn:1},Mf={grid:1,flex:1},un=function n(e,t,r,a){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",l=Bn.style,c=hf.test(t),u=e.tagName.toLowerCase()==="svg",d=(u?"client":"offset")+(c?"Width":"Height"),h=100,p=a==="px",_=a==="%",m,f,C,S;if(a===s||!i||Tl[a]||Tl[s])return i;if(s!=="px"&&!p&&(i=n(e,t,r,"px")),S=e.getCTM&&Sl(e),(_||s==="%")&&(qt[t]||~t.indexOf("adius")))return m=S?e.getBBox()[c?"width":"height"]:e[d],Re(_?i/m*h:i/100*m);if(l[c?"width":"height"]=h+(p?s:a),f=~t.indexOf("adius")||a==="em"&&e.appendChild&&!u?e:e.parentNode,S&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===cn||!f.appendChild)&&(f=cn.body),C=f._gsap,C&&_&&C.width&&c&&C.time===ct.time&&!C.uncache)return Re(i/C.width*h);if(_&&(t==="height"||t==="width")){var M=e.style[t];e.style[t]=h+a,m=e[d],M?e.style[t]=M:En(e,t)}else(_||s==="%")&&!Mf[Lt(f,"display")]&&(l.position=Lt(e,"position")),f===e&&(l.position="static"),f.appendChild(Bn),m=Bn[d],f.removeChild(Bn),l.position="absolute";return c&&_&&(C=kn(f),C.time=ct.time,C.width=f[d]),Re(p?m*i/h:m&&i?h/m*i:0)},Zt=function(e,t,r,a){var i;return Lo||Ho(),t in At&&t!=="transform"&&(t=At[t],~t.indexOf(",")&&(t=t.split(",")[0])),qt[t]&&t!=="transform"?(i=Br(e,a),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:oa(Lt(e,nt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||a||~(i+"").indexOf("calc("))&&(i=aa[t]&&aa[t](e,t,r)||Lt(e,t)||$s(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?un(e,t,i,r)+r:i},Sf=function(e,t,r,a){if(!r||r==="none"){var i=tr(t,e,1),s=i&&Lt(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=Lt(e,"borderTopColor"))}var l=new et(this._pt,e.style,t,0,1,ul),c=0,u=0,d,h,p,_,m,f,C,S,M,b,x,T;if(l.b=r,l.e=a,r+="",a+="",a==="auto"&&(f=e.style[t],e.style[t]=a,a=Lt(e,t)||a,f?e.style[t]=f:En(e,t)),d=[r,a],tl(d),r=d[0],a=d[1],p=r.match(Zn)||[],T=a.match(Zn)||[],T.length){for(;h=Zn.exec(a);)C=h[0],M=a.substring(c,h.index),m?m=(m+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(m=1),C!==(f=p[u++]||"")&&(_=parseFloat(f)||0,x=f.substr((_+"").length),C.charAt(1)==="="&&(C=Un(_,C)+x),S=parseFloat(C),b=C.substr((S+"").length),c=Zn.lastIndex-b.length,b||(b=b||ot.units[t]||x,c===a.length&&(a+=b,l.e+=b)),x!==b&&(_=un(e,t,f,b)||0),l._pt={_next:l._pt,p:M||u===1?M:",",s:_,c:S-_,m:m&&m<4||t==="zIndex"?Math.round:0});l.c=c<a.length?a.substring(c,a.length):""}else l.r=t==="display"&&a==="none"?wl:yl;return xs.test(a)&&(l.e=0),this._pt=l,l},Bl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Tf=function(e){var t=e.split(" "),r=t[0],a=t[1]||"50%";return(r==="top"||r==="bottom"||a==="left"||a==="right")&&(e=r,r=a,a=e),t[0]=Bl[r]||r,t[1]=Bl[a]||a,t.join(" ")},Bf=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,a=r.style,i=t.u,s=r._gsap,l,c,u;if(i==="all"||i===!0)a.cssText="",c=1;else for(i=i.split(","),u=i.length;--u>-1;)l=i[u],qt[l]&&(c=1,l=l==="transformOrigin"?nt:Pe),En(r,l);c&&(En(r,Pe),s&&(s.svg&&r.removeAttribute("transform"),Br(r,1),s.uncache=1,bl(a)))}},aa={clearProps:function(e,t,r,a,i){if(i.data!=="isFromStart"){var s=e._pt=new et(e._pt,t,r,0,0,Bf);return s.u=a,s.pr=-10,s.tween=i,e._props.push(r),1}}},Tr=[1,0,0,1,0,0],Pl={},El=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},$l=function(e){var t=Lt(e,Pe);return El(t)?Tr:t.substr(7).match(vs).map(Re)},Yo=function(e,t){var r=e._gsap||kn(e),a=e.style,i=$l(e),s,l,c,u;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?Tr:i):(i===Tr&&!e.offsetParent&&e!==Qn&&!r.svg&&(c=a.display,a.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(u=1,l=e.nextElementSibling,Qn.appendChild(e)),i=$l(e),c?a.display=c:En(e,"display"),u&&(l?s.insertBefore(e,l):s?s.appendChild(e):Qn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},jo=function(e,t,r,a,i,s){var l=e._gsap,c=i||Yo(e,!0),u=l.xOrigin||0,d=l.yOrigin||0,h=l.xOffset||0,p=l.yOffset||0,_=c[0],m=c[1],f=c[2],C=c[3],S=c[4],M=c[5],b=t.split(" "),x=parseFloat(b[0])||0,T=parseFloat(b[1])||0,B,k,P,E;r?c!==Tr&&(k=_*C-m*f)&&(P=x*(C/k)+T*(-f/k)+(f*M-C*S)/k,E=x*(-m/k)+T*(_/k)-(_*M-m*S)/k,x=P,T=E):(B=Ml(e),x=B.x+(~b[0].indexOf("%")?x/100*B.width:x),T=B.y+(~(b[1]||b[0]).indexOf("%")?T/100*B.height:T)),a||a!==!1&&l.smooth?(S=x-u,M=T-d,l.xOffset=h+(S*_+M*f)-S,l.yOffset=p+(S*m+M*C)-M):l.xOffset=l.yOffset=0,l.xOrigin=x,l.yOrigin=T,l.smooth=!!a,l.origin=t,l.originIsAbsolute=!!r,e.style[nt]="0px 0px",s&&(dn(s,l,"xOrigin",u,x),dn(s,l,"yOrigin",d,T),dn(s,l,"xOffset",h,l.xOffset),dn(s,l,"yOffset",p,l.yOffset)),e.setAttribute("data-svg-origin",x+" "+T)},Br=function(e,t){var r=e._gsap||new ol(e);if("x"in r&&!t&&!r.uncache)return r;var a=e.style,i=r.scaleX<0,s="px",l="deg",c=getComputedStyle(e),u=Lt(e,nt)||"0",d,h,p,_,m,f,C,S,M,b,x,T,B,k,P,E,Y,X,D,F,G,v,w,L,q,J,U,O,N,y,g,R;return d=h=p=f=C=S=M=b=x=0,_=m=1,r.svg=!!(e.getCTM&&Sl(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(a[Pe]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[Pe]!=="none"?c[Pe]:"")),a.scale=a.rotate=a.translate="none"),k=Yo(e,r.svg),r.svg&&(r.uncache?(q=e.getBBox(),u=r.xOrigin-q.x+"px "+(r.yOrigin-q.y)+"px",L=""):L=!t&&e.getAttribute("data-svg-origin"),jo(e,L||u,!!L||r.originIsAbsolute,r.smooth!==!1,k)),T=r.xOrigin||0,B=r.yOrigin||0,k!==Tr&&(X=k[0],D=k[1],F=k[2],G=k[3],d=v=k[4],h=w=k[5],k.length===6?(_=Math.sqrt(X*X+D*D),m=Math.sqrt(G*G+F*F),f=X||D?er(D,X)*Pn:0,M=F||G?er(F,G)*Pn+f:0,M&&(m*=Math.abs(Math.cos(M*Jn))),r.svg&&(d-=T-(T*X+B*F),h-=B-(T*D+B*G))):(R=k[6],y=k[7],U=k[8],O=k[9],N=k[10],g=k[11],d=k[12],h=k[13],p=k[14],P=er(R,N),C=P*Pn,P&&(E=Math.cos(-P),Y=Math.sin(-P),L=v*E+U*Y,q=w*E+O*Y,J=R*E+N*Y,U=v*-Y+U*E,O=w*-Y+O*E,N=R*-Y+N*E,g=y*-Y+g*E,v=L,w=q,R=J),P=er(-F,N),S=P*Pn,P&&(E=Math.cos(-P),Y=Math.sin(-P),L=X*E-U*Y,q=D*E-O*Y,J=F*E-N*Y,g=G*Y+g*E,X=L,D=q,F=J),P=er(D,X),f=P*Pn,P&&(E=Math.cos(P),Y=Math.sin(P),L=X*E+D*Y,q=v*E+w*Y,D=D*E-X*Y,w=w*E-v*Y,X=L,v=q),C&&Math.abs(C)+Math.abs(f)>359.9&&(C=f=0,S=180-S),_=Re(Math.sqrt(X*X+D*D+F*F)),m=Re(Math.sqrt(w*w+R*R)),P=er(v,w),M=Math.abs(P)>2e-4?P*Pn:0,x=g?1/(g<0?-g:g):0),r.svg&&(L=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!El(Lt(e,Pe)),L&&e.setAttribute("transform",L))),Math.abs(M)>90&&Math.abs(M)<270&&(i?(_*=-1,M+=f<=0?180:-180,f+=f<=0?180:-180):(m*=-1,M+=M<=0?180:-180)),t=t||r.uncache,r.x=d-((r.xPercent=d&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=h-((r.yPercent=h&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Re(_),r.scaleY=Re(m),r.rotation=Re(f)+l,r.rotationX=Re(C)+l,r.rotationY=Re(S)+l,r.skewX=M+l,r.skewY=b+l,r.transformPerspective=x+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(a[nt]=oa(u)),r.xOffset=r.yOffset=0,r.force3D=ot.force3D,r.renderTransform=r.svg?Ef:kl?Ol:Pf,r.uncache=0,r},oa=function(e){return(e=e.split(" "))[0]+" "+e[1]},qo=function(e,t,r){var a=Ge(t);return Re(parseFloat(t)+parseFloat(un(e,"x",r+"px",a)))+a},Pf=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ol(e,t)},$n="0deg",Pr="0px",On=") ",Ol=function(e,t){var r=t||this,a=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.z,u=r.rotation,d=r.rotationY,h=r.rotationX,p=r.skewX,_=r.skewY,m=r.scaleX,f=r.scaleY,C=r.transformPerspective,S=r.force3D,M=r.target,b=r.zOrigin,x="",T=S==="auto"&&e&&e!==1||S===!0;if(b&&(h!==$n||d!==$n)){var B=parseFloat(d)*Jn,k=Math.sin(B),P=Math.cos(B),E;B=parseFloat(h)*Jn,E=Math.cos(B),s=qo(M,s,k*E*-b),l=qo(M,l,-Math.sin(B)*-b),c=qo(M,c,P*E*-b+b)}C!==Pr&&(x+="perspective("+C+On),(a||i)&&(x+="translate("+a+"%, "+i+"%) "),(T||s!==Pr||l!==Pr||c!==Pr)&&(x+=c!==Pr||T?"translate3d("+s+", "+l+", "+c+") ":"translate("+s+", "+l+On),u!==$n&&(x+="rotate("+u+On),d!==$n&&(x+="rotateY("+d+On),h!==$n&&(x+="rotateX("+h+On),(p!==$n||_!==$n)&&(x+="skew("+p+", "+_+On),(m!==1||f!==1)&&(x+="scale("+m+", "+f+On),M.style[Pe]=x||"translate(0, 0)"},Ef=function(e,t){var r=t||this,a=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.rotation,u=r.skewX,d=r.skewY,h=r.scaleX,p=r.scaleY,_=r.target,m=r.xOrigin,f=r.yOrigin,C=r.xOffset,S=r.yOffset,M=r.forceCSS,b=parseFloat(s),x=parseFloat(l),T,B,k,P,E;c=parseFloat(c),u=parseFloat(u),d=parseFloat(d),d&&(d=parseFloat(d),u+=d,c+=d),c||u?(c*=Jn,u*=Jn,T=Math.cos(c)*h,B=Math.sin(c)*h,k=Math.sin(c-u)*-p,P=Math.cos(c-u)*p,u&&(d*=Jn,E=Math.tan(u-d),E=Math.sqrt(1+E*E),k*=E,P*=E,d&&(E=Math.tan(d),E=Math.sqrt(1+E*E),T*=E,B*=E)),T=Re(T),B=Re(B),k=Re(k),P=Re(P)):(T=h,P=p,B=k=0),(b&&!~(s+"").indexOf("px")||x&&!~(l+"").indexOf("px"))&&(b=un(_,"x",s,"px"),x=un(_,"y",l,"px")),(m||f||C||S)&&(b=Re(b+m-(m*T+f*k)+C),x=Re(x+f-(m*B+f*P)+S)),(a||i)&&(E=_.getBBox(),b=Re(b+a/100*E.width),x=Re(x+i/100*E.height)),E="matrix("+T+","+B+","+k+","+P+","+b+","+x+")",_.setAttribute("transform",E),M&&(_.style[Pe]=E)},$f=function(e,t,r,a,i){var s=360,l=Ye(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Pn:1),u=c-a,d=a+u+"deg",h,p;return l&&(h=i.split("_")[1],h==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),h==="cw"&&u<0?u=(u+s*gl)%s-~~(u/s)*s:h==="ccw"&&u>0&&(u=(u-s*gl)%s-~~(u/s)*s)),e._pt=p=new et(e._pt,t,r,a,u,pf),p.e=d,p.u="deg",e._props.push(r),p},Dl=function(e,t){for(var r in t)e[r]=t[r];return e},Of=function(e,t,r){var a=Dl({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,l,c,u,d,h,p,_,m;a.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[Pe]=t,l=Br(r,1),En(r,Pe),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Pe],s[Pe]=t,l=Br(r,1),s[Pe]=u);for(c in qt)u=a[c],d=l[c],u!==d&&i.indexOf(c)<0&&(_=Ge(u),m=Ge(d),h=_!==m?un(r,c,u,m):parseFloat(u),p=parseFloat(d),e._pt=new et(e._pt,l,c,h,p-h,Fo),e._pt.u=m||0,e._props.push(c));Dl(l,a)};Je("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",a="Bottom",i="Left",s=(e<3?[t,r,a,i]:[t+i,t+r,a+r,a+i]).map(function(l){return e<2?n+l:"border"+l+n});aa[e>1?"border"+n:n]=function(l,c,u,d,h){var p,_;if(arguments.length<4)return p=s.map(function(m){return Zt(l,m,u)}),_=p.join(" "),_.split(p[0]).length===5?p[0]:_;p=(d+"").split(" "),_={},s.forEach(function(m,f){return _[m]=p[f]=p[f]||p[(f-1)/2|0]}),l.init(c,_,h)}});var Vl={name:"css",register:Ho,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,a,i){var s=this._props,l=e.style,c=r.vars.startAt,u,d,h,p,_,m,f,C,S,M,b,x,T,B,k,P;Lo||Ho(),this.styles=this.styles||Cl(e),P=this.styles.props,this.tween=r;for(f in t)if(f!=="autoRound"&&(d=t[f],!(st[f]&&il(f,t,r,a,e,i)))){if(_=typeof d,m=aa[f],_==="function"&&(d=d.call(r,a,e,i),_=typeof d),_==="string"&&~d.indexOf("random(")&&(d=Cr(d)),m)m(this,e,f,d,r)&&(k=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(f)+"").trim(),d+="",sn.lastIndex=0,sn.test(u)||(C=Ge(u),S=Ge(d)),S?C!==S&&(u=un(e,f,u,S)+S):C&&(d+=C),this.add(l,"setProperty",u,d,a,i,0,0,f),s.push(f),P.push(f,0,l[f]);else if(_!=="undefined"){if(c&&f in c?(u=typeof c[f]=="function"?c[f].call(r,a,e,i):c[f],Ye(u)&&~u.indexOf("random(")&&(u=Cr(u)),Ge(u+"")||u==="auto"||(u+=ot.units[f]||Ge(Zt(e,f))||""),(u+"").charAt(1)==="="&&(u=Zt(e,f))):u=Zt(e,f),p=parseFloat(u),M=_==="string"&&d.charAt(1)==="="&&d.substr(0,2),M&&(d=d.substr(2)),h=parseFloat(d),f in At&&(f==="autoAlpha"&&(p===1&&Zt(e,"visibility")==="hidden"&&h&&(p=0),P.push("visibility",0,l.visibility),dn(this,l,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=At[f],~f.indexOf(",")&&(f=f.split(",")[0]))),b=f in qt,b){if(this.styles.save(f),x||(T=e._gsap,T.renderTransform&&!t.parseTransform||Br(e,t.parseTransform),B=t.smoothOrigin!==!1&&T.smooth,x=this._pt=new et(this._pt,l,Pe,0,1,T.renderTransform,T,0,-1),x.dep=1),f==="scale")this._pt=new et(this._pt,T,"scaleY",T.scaleY,(M?Un(T.scaleY,M+h):h)-T.scaleY||0,Fo),this._pt.u=0,s.push("scaleY",f),f+="X";else if(f==="transformOrigin"){P.push(nt,0,l[nt]),d=Tf(d),T.svg?jo(e,d,0,B,0,this):(S=parseFloat(d.split(" ")[2])||0,S!==T.zOrigin&&dn(this,T,"zOrigin",T.zOrigin,S),dn(this,l,f,oa(u),oa(d)));continue}else if(f==="svgOrigin"){jo(e,d,1,B,0,this);continue}else if(f in Pl){$f(this,T,f,p,M?Un(p,M+d):d);continue}else if(f==="smoothOrigin"){dn(this,T,"smooth",T.smooth,d);continue}else if(f==="force3D"){T[f]=d;continue}else if(f==="transform"){Of(this,d,e);continue}}else f in l||(f=tr(f)||f);if(b||(h||h===0)&&(p||p===0)&&!ff.test(d)&&f in l)C=(u+"").substr((p+"").length),h||(h=0),S=Ge(d)||(f in ot.units?ot.units[f]:C),C!==S&&(p=un(e,f,u,S)),this._pt=new et(this._pt,b?T:l,f,p,(M?Un(p,M+h):h)-p,!b&&(S==="px"||f==="zIndex")&&t.autoRound!==!1?_f:Fo),this._pt.u=S||0,C!==S&&S!=="%"&&(this._pt.b=u,this._pt.r=mf);else if(f in l)Sf.call(this,e,f,u,M?M+d:d);else if(f in e)this.add(e,f,u||e[f],M?M+d:d,a,i);else if(f!=="parseTransform"){ho(f,d);continue}b||(f in l?P.push(f,0,l[f]):P.push(f,1,u||e[f])),s.push(f)}}k&&hl(this)},render:function(e,t){if(t.tween._time||!No())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Zt,aliases:At,getSetter:function(e,t,r){var a=At[t];return a&&a.indexOf(",")<0&&(t=a),t in qt&&t!==nt&&(e._gsap.x||Zt(e,"x"))?r&&_l===r?t==="scale"?bf:wf:(_l=r||{})&&(t==="scale"?Cf:kf):e.style&&!oo(e.style[t])?gf:~t.indexOf("-")?yf:Eo(e,t)},core:{_removeProperty:En,_getMatrix:Yo}};tt.utils.checkPrefix=tr,tt.core.getStyleSaver=Cl,function(n,e,t,r){var a=Je(n+","+e+","+t,function(i){qt[i]=1});Je(e,function(i){ot.units[i]="deg",Pl[i]=1}),At[a[13]]=n+","+e,Je(r,function(i){var s=i.split(":");At[s[1]]=a[s[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Je("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){ot.units[n]="px"}),tt.registerPlugin(Vl);var hn=tt.registerPlugin(Vl)||tt;hn.core.Tween;const Df={__name:"Confetti",setup(n){function e(r){let a=100,i=r.offsetWidth,s=r.offsetHeight;for(let d=0;d<a;d++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),hn.set(h,{x:c(i),y:u(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+u(170,360)+",50%,50%)"}),l(h)}function l(d){hn.set(r,{display:"block"}),hn.to(r,{autoAlpha:1,duration:2,delay:1}),hn.to(d,c(5)+4,{y:s,ease:df.easeNone,repeat:-1,delay:-5}),hn.to(d,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Ao.easeInOut}),hn.to(d,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Ao.easeInOut}),hn.to(d,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Ao.easeInOut})}function c(d){return Math.random()*d}function u(d,h){return d+Math.floor(Math.random()*(h-d))}}const t=o.ref(null);return o.onMounted(()=>{t.value&&e(t.value)}),(r,a)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"confetti",ref:t,class:"confetti"},null,512))}},Al=n=>(o.pushScopeId("data-v-c0a90d49"),n=n(),o.popScopeId(),n),Vf={class:"sidebar-popup-container"},Af={class:"sidebar-popup__profile-info"},Lf=["src"],Nf={class:"sidebar-popup__profile-info__wrapper"},Rf={class:"sidebar-popup__profile-info__name"},Ff={class:"sidebar-popup__profile-info__e-mail"},If=Al(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Hf={class:"sidebar-popup__tabs"},zf=["onClick"],Yf={class:"sidebar-popup__tab__icon-wrapper"},jf={class:"sidebar-popup__tab__name"},qf=Al(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Zf={class:"sidebar-popup__actions-buttons"},Uf=ut({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(n,{emit:e}){const t=e,r=o.ref(!1),a=o.ref(null),i=o.reactive([{name:"futures",isActive:!0},{name:"charts",isActive:!0},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),s=()=>{if(window!==void 0){const d=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${d}/settings/profile`,"_self")}},l=d=>{d.isActive&&window.open(`https://${d.name}.scope360.io/`)},c=()=>{r.value=!r.value},u=d=>{a.value&&!a.value.contains(d.target)&&c()};return o.onMounted(()=>{document.addEventListener("click",u)}),o.onUnmounted(()=>{document.removeEventListener("click",u)}),(d,h)=>(o.openBlock(),o.createElementBlock("div",Vf,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":r.value}]),onClick:o.withModifiers(c,["stop"]),name:"popup-icon-wrapper"},[o.createVNode(yt,{icon:"pop-up_opener"})],2),r.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:a},[o.createElementVNode("div",Af,[o.createElementVNode("img",{src:n.user.image||"https://static.wixstatic.com/media/38bd8f_7eabf2bc8f4a452eb20de68e514f64ff~mv2.jpg/v1/fill/w_759,h_498,al_c/38bd8f_7eabf2bc8f4a452eb20de68e514f64ff~mv2.jpg",class:"sidebar-popup__profile-info__photo"},null,8,Lf),o.createElementVNode("div",Nf,[o.createElementVNode("div",Rf,o.toDisplayString(n.user.name),1),o.createElementVNode("div",Ff,o.toDisplayString(n.user.email),1)])]),If,o.createElementVNode("div",Hf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i,p=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["sidebar-popup__tab",{"-is-active":p.name===n.activeSection},{"-is-disable":!p.isActive}]),onClick:_=>l(p)},[o.createElementVNode("div",Yf,[o.createVNode(yt,{icon:p.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",jf,o.toDisplayString(p.name),1)],10,zf))),256))]),qf,o.createElementVNode("div",Zf,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup__settings",{"-is-active":n.activeSection==="settings"}]),onClick:s}," Settings ",2),o.createElementVNode("div",{class:"sidebar-popup__logout",onClick:h[0]||(h[0]=p=>t("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c0a90d49"]]);/*! js-cookie v3.0.5 | MIT */function ia(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)n[r]=t[r]}return n}var Wf={read:function(n){return n[0]==='"'&&(n=n.slice(1,-1)),n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(n){return encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Zo(n,e){function t(a,i,s){if(!(typeof document>"u")){s=ia({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in s)s[c]&&(l+="; "+c,s[c]!==!0&&(l+="="+s[c].split(";")[0]));return document.cookie=a+"="+n.write(i,a)+l}}function r(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],s={},l=0;l<i.length;l++){var c=i[l].split("="),u=c.slice(1).join("=");try{var d=decodeURIComponent(c[0]);if(s[d]=n.read(u,d),a===d)break}catch{}}return a?s[a]:s}}return Object.create({set:t,get:r,remove:function(a,i){t(a,"",ia({},i,{expires:-1}))},withAttributes:function(a){return Zo(this.converter,ia({},this.attributes,a))},withConverter:function(a){return Zo(ia({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(n)}})}var nr=Zo(Wf,{path:"/"});class dt{static setItem(e,t,r=Date.now()+31449600){nr.set(e,t,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return nr.get(e)}static removeItem(e){nr.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(nr.get());for(const t of e)nr.remove(t,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return nr.get()}}function Ll(n,e){return function(){return n.apply(e,arguments)}}const{toString:Gf}=Object.prototype,{getPrototypeOf:Uo}=Object,sa=(n=>e=>{const t=Gf.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=n=>(n=n.toLowerCase(),e=>sa(e)===n),la=n=>e=>typeof e===n,{isArray:rr}=Array,Er=la("undefined");function Kf(n){return n!==null&&!Er(n)&&n.constructor!==null&&!Er(n.constructor)&&_t(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const Nl=Nt("ArrayBuffer");function Xf(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&Nl(n.buffer),e}const Qf=la("string"),_t=la("function"),Rl=la("number"),ca=n=>n!==null&&typeof n=="object",Jf=n=>n===!0||n===!1,da=n=>{if(sa(n)!=="object")return!1;const e=Uo(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},e3=Nt("Date"),t3=Nt("File"),n3=Nt("Blob"),r3=Nt("FileList"),a3=n=>ca(n)&&_t(n.pipe),o3=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||_t(n.append)&&((e=sa(n))==="formdata"||e==="object"&&_t(n.toString)&&n.toString()==="[object FormData]"))},i3=Nt("URLSearchParams"),s3=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $r(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let r,a;if(typeof n!="object"&&(n=[n]),rr(n))for(r=0,a=n.length;r<a;r++)e.call(null,n[r],r,n);else{const i=t?Object.getOwnPropertyNames(n):Object.keys(n),s=i.length;let l;for(r=0;r<s;r++)l=i[r],e.call(null,n[l],l,n)}}function Fl(n,e){e=e.toLowerCase();const t=Object.keys(n);let r=t.length,a;for(;r-- >0;)if(a=t[r],e===a.toLowerCase())return a;return null}const Il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hl=n=>!Er(n)&&n!==Il;function Wo(){const{caseless:n}=Hl(this)&&this||{},e={},t=(r,a)=>{const i=n&&Fl(e,a)||a;da(e[i])&&da(r)?e[i]=Wo(e[i],r):da(r)?e[i]=Wo({},r):rr(r)?e[i]=r.slice():e[i]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&$r(arguments[r],t);return e}const l3=(n,e,t,{allOwnKeys:r}={})=>($r(e,(a,i)=>{t&&_t(a)?n[i]=Ll(a,t):n[i]=a},{allOwnKeys:r}),n),c3=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),d3=(n,e,t,r)=>{n.prototype=Object.create(e.prototype,r),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),t&&Object.assign(n.prototype,t)},u3=(n,e,t,r)=>{let a,i,s;const l={};if(e=e||{},n==null)return e;do{for(a=Object.getOwnPropertyNames(n),i=a.length;i-- >0;)s=a[i],(!r||r(s,n,e))&&!l[s]&&(e[s]=n[s],l[s]=!0);n=t!==!1&&Uo(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},h3=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;const r=n.indexOf(e,t);return r!==-1&&r===t},f3=n=>{if(!n)return null;if(rr(n))return n;let e=n.length;if(!Rl(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},p3=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&Uo(Uint8Array)),m3=(n,e)=>{const r=(n&&n[Symbol.iterator]).call(n);let a;for(;(a=r.next())&&!a.done;){const i=a.value;e.call(n,i[0],i[1])}},_3=(n,e)=>{let t;const r=[];for(;(t=n.exec(e))!==null;)r.push(t);return r},g3=Nt("HTMLFormElement"),y3=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,a){return r.toUpperCase()+a}),zl=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),w3=Nt("RegExp"),Yl=(n,e)=>{const t=Object.getOwnPropertyDescriptors(n),r={};$r(t,(a,i)=>{let s;(s=e(a,i,n))!==!1&&(r[i]=s||a)}),Object.defineProperties(n,r)},b3=n=>{Yl(n,(e,t)=>{if(_t(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const r=n[t];if(_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 '"+t+"'")})}})},C3=(n,e)=>{const t={},r=a=>{a.forEach(i=>{t[i]=!0})};return rr(n)?r(n):r(String(n).split(e)),t},k3=()=>{},v3=(n,e)=>(n=+n,Number.isFinite(n)?n:e),Go="abcdefghijklmnopqrstuvwxyz",jl="0123456789",ql={DIGIT:jl,ALPHA:Go,ALPHA_DIGIT:Go+Go.toUpperCase()+jl},x3=(n=16,e=ql.ALPHA_DIGIT)=>{let t="";const{length:r}=e;for(;n--;)t+=e[Math.random()*r|0];return t};function M3(n){return!!(n&&_t(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const S3=n=>{const e=new Array(10),t=(r,a)=>{if(ca(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[a]=r;const i=rr(r)?[]:{};return $r(r,(s,l)=>{const c=t(s,a+1);!Er(c)&&(i[l]=c)}),e[a]=void 0,i}}return r};return t(n,0)},T3=Nt("AsyncFunction"),z={isArray:rr,isArrayBuffer:Nl,isBuffer:Kf,isFormData:o3,isArrayBufferView:Xf,isString:Qf,isNumber:Rl,isBoolean:Jf,isObject:ca,isPlainObject:da,isUndefined:Er,isDate:e3,isFile:t3,isBlob:n3,isRegExp:w3,isFunction:_t,isStream:a3,isURLSearchParams:i3,isTypedArray:p3,isFileList:r3,forEach:$r,merge:Wo,extend:l3,trim:s3,stripBOM:c3,inherits:d3,toFlatObject:u3,kindOf:sa,kindOfTest:Nt,endsWith:h3,toArray:f3,forEachEntry:m3,matchAll:_3,isHTMLForm:g3,hasOwnProperty:zl,hasOwnProp:zl,reduceDescriptors:Yl,freezeMethods:b3,toObjectSet:C3,toCamelCase:y3,noop:k3,toFiniteNumber:v3,findKey:Fl,global:Il,isContextDefined:Hl,ALPHABET:ql,generateString:x3,isSpecCompliantForm:M3,toJSONObject:S3,isAsyncFn:T3,isThenable:n=>n&&(ca(n)||_t(n))&&_t(n.then)&&_t(n.catch)};function me(n,e,t,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),r&&(this.request=r),a&&(this.response=a)}z.inherits(me,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:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Zl=me.prototype,Ul={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{Ul[n]={value:n}}),Object.defineProperties(me,Ul),Object.defineProperty(Zl,"isAxiosError",{value:!0}),me.from=(n,e,t,r,a,i)=>{const s=Object.create(Zl);return z.toFlatObject(n,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),me.call(s,n.message,e,t,r,a),s.cause=n,s.name=n.name,i&&Object.assign(s,i),s};const B3=null;function Ko(n){return z.isPlainObject(n)||z.isArray(n)}function Wl(n){return z.endsWith(n,"[]")?n.slice(0,-2):n}function Gl(n,e,t){return n?n.concat(e).map(function(a,i){return a=Wl(a),!t&&i?"["+a+"]":a}).join(t?".":""):e}function P3(n){return z.isArray(n)&&!n.some(Ko)}const E3=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function ua(n,e,t){if(!z.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,t=z.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,C){return!z.isUndefined(C[f])});const r=t.metaTokens,a=t.visitor||d,i=t.dots,s=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(e);if(!z.isFunction(a))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(z.isDate(m))return m.toISOString();if(!c&&z.isBlob(m))throw new me("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(m)||z.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,f,C){let S=m;if(m&&!C&&typeof m=="object"){if(z.endsWith(f,"{}"))f=r?f:f.slice(0,-2),m=JSON.stringify(m);else if(z.isArray(m)&&P3(m)||(z.isFileList(m)||z.endsWith(f,"[]"))&&(S=z.toArray(m)))return f=Wl(f),S.forEach(function(b,x){!(z.isUndefined(b)||b===null)&&e.append(s===!0?Gl([f],x,i):s===null?f:f+"[]",u(b))}),!1}return Ko(m)?!0:(e.append(Gl(C,f,i),u(m)),!1)}const h=[],p=Object.assign(E3,{defaultVisitor:d,convertValue:u,isVisitable:Ko});function _(m,f){if(!z.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+f.join("."));h.push(m),z.forEach(m,function(S,M){(!(z.isUndefined(S)||S===null)&&a.call(e,S,z.isString(M)?M.trim():M,f,p))===!0&&_(S,f?f.concat(M):[M])}),h.pop()}}if(!z.isObject(n))throw new TypeError("data must be an object");return _(n),e}function Kl(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Xo(n,e){this._pairs=[],n&&ua(n,this,e)}const Xl=Xo.prototype;Xl.append=function(e,t){this._pairs.push([e,t])},Xl.toString=function(e){const t=e?function(r){return e.call(this,r,Kl)}:Kl;return this._pairs.map(function(a){return t(a[0])+"="+t(a[1])},"").join("&")};function $3(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ql(n,e,t){if(!e)return n;const r=t&&t.encode||$3,a=t&&t.serialize;let i;if(a?i=a(e,t):i=z.isURLSearchParams(e)?e.toString():new Xo(e,t).toString(r),i){const s=n.indexOf("#");s!==-1&&(n=n.slice(0,s)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n}class Jl{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,function(r){r!==null&&e(r)})}}const e1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},O3={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Xo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},t1=typeof window<"u"&&typeof document<"u",D3=(n=>t1&&["ReactNative","NativeScript","NS"].indexOf(n)<0)(typeof navigator<"u"&&navigator.product),V3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Rt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:t1,hasStandardBrowserEnv:D3,hasStandardBrowserWebWorkerEnv:V3},Symbol.toStringTag,{value:"Module"})),...O3};function A3(n,e){return ua(n,new Rt.classes.URLSearchParams,Object.assign({visitor:function(t,r,a,i){return Rt.isNode&&z.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function L3(n){return z.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function N3(n){const e={},t=Object.keys(n);let r;const a=t.length;let i;for(r=0;r<a;r++)i=t[r],e[i]=n[i];return e}function n1(n){function e(t,r,a,i){let s=t[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=i>=t.length;return s=!s&&z.isArray(a)?a.length:s,c?(z.hasOwnProp(a,s)?a[s]=[a[s],r]:a[s]=r,!l):((!a[s]||!z.isObject(a[s]))&&(a[s]=[]),e(t,r,a[s],i)&&z.isArray(a[s])&&(a[s]=N3(a[s])),!l)}if(z.isFormData(n)&&z.isFunction(n.entries)){const t={};return z.forEachEntry(n,(r,a)=>{e(L3(r),a,t,0)}),t}return null}function R3(n,e,t){if(z.isString(n))try{return(e||JSON.parse)(n),z.trim(n)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(n)}const Qo={transitional:e1,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",a=r.indexOf("application/json")>-1,i=z.isObject(e);if(i&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return a?JSON.stringify(n1(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return A3(e,this.formSerializer).toString();if((l=z.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ua(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||a?(t.setContentType("application/json",!1),R3(e)):e}],transformResponse:[function(e){const t=this.transitional||Qo.transitional,r=t&&t.forcedJSONParsing,a=this.responseType==="json";if(e&&z.isString(e)&&(r&&!this.responseType||a)){const s=!(t&&t.silentJSONParsing)&&a;try{return JSON.parse(e)}catch(l){if(s)throw l.name==="SyntaxError"?me.from(l,me.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Rt.classes.FormData,Blob:Rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],n=>{Qo.headers[n]={}});const Jo=Qo,F3=z.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"]),I3=n=>{const e={};let t,r,a;return n&&n.split(`
|
|
18
18
|
`).forEach(function(s){a=s.indexOf(":"),t=s.substring(0,a).trim().toLowerCase(),r=s.substring(a+1).trim(),!(!t||e[t]&&F3[t])&&(t==="set-cookie"?e[t]?e[t].push(r):e[t]=[r]:e[t]=e[t]?e[t]+", "+r:r)}),e},r1=Symbol("internals");function Or(n){return n&&String(n).trim().toLowerCase()}function ha(n){return n===!1||n==null?n:z.isArray(n)?n.map(ha):String(n)}function H3(n){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=t.exec(n);)e[r[1]]=r[2];return e}const z3=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function ei(n,e,t,r,a){if(z.isFunction(r))return r.call(this,e,t);if(a&&(e=t),!!z.isString(e)){if(z.isString(r))return e.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(e)}}function Y3(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function j3(n,e){const t=z.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(n,r+t,{value:function(a,i,s){return this[r].call(this,e,a,i,s)},configurable:!0})})}class fa{constructor(e){e&&this.set(e)}set(e,t,r){const a=this;function i(l,c,u){const d=Or(c);if(!d)throw new Error("header name must be a non-empty string");const h=z.findKey(a,d);(!h||a[h]===void 0||u===!0||u===void 0&&a[h]!==!1)&&(a[h||c]=ha(l))}const s=(l,c)=>z.forEach(l,(u,d)=>i(u,d,c));return z.isPlainObject(e)||e instanceof this.constructor?s(e,t):z.isString(e)&&(e=e.trim())&&!z3(e)?s(I3(e),t):e!=null&&i(t,e,r),this}get(e,t){if(e=Or(e),e){const r=z.findKey(this,e);if(r){const a=this[r];if(!t)return a;if(t===!0)return H3(a);if(z.isFunction(t))return t.call(this,a,r);if(z.isRegExp(t))return t.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Or(e),e){const r=z.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||ei(this,this[r],r,t)))}return!1}delete(e,t){const r=this;let a=!1;function i(s){if(s=Or(s),s){const l=z.findKey(r,s);l&&(!t||ei(r,r[l],l,t))&&(delete r[l],a=!0)}}return z.isArray(e)?e.forEach(i):i(e),a}clear(e){const t=Object.keys(this);let r=t.length,a=!1;for(;r--;){const i=t[r];(!e||ei(this,this[i],i,e,!0))&&(delete this[i],a=!0)}return a}normalize(e){const t=this,r={};return z.forEach(this,(a,i)=>{const s=z.findKey(r,i);if(s){t[s]=ha(a),delete t[i];return}const l=e?Y3(i):String(i).trim();l!==i&&delete t[i],t[l]=ha(a),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,(r,a)=>{r!=null&&r!==!1&&(t[a]=e&&z.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
|
|
19
19
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(a=>r.set(a)),r}static accessor(e){const r=(this[r1]=this[r1]={accessors:{}}).accessors,a=this.prototype;function i(s){const l=Or(s);r[l]||(j3(a,s),r[l]=!0)}return z.isArray(e)?e.forEach(i):i(e),this}}fa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.reduceDescriptors(fa.prototype,({value:n},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(r){this[t]=r}}}),z.freezeMethods(fa);const Ut=fa;function ti(n,e){const t=this||Jo,r=e||t,a=Ut.from(r.headers);let i=r.data;return z.forEach(n,function(l){i=l.call(t,i,a.normalize(),e?e.status:void 0)}),a.normalize(),i}function a1(n){return!!(n&&n.__CANCEL__)}function Dr(n,e,t){me.call(this,n??"canceled",me.ERR_CANCELED,e,t),this.name="CanceledError"}z.inherits(Dr,me,{__CANCEL__:!0});function q3(n,e,t){const r=t.config.validateStatus;!t.status||!r||r(t.status)?n(t):e(new me("Request failed with status code "+t.status,[me.ERR_BAD_REQUEST,me.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}const Z3=Rt.hasStandardBrowserEnv?{write(n,e,t,r,a,i){const s=[n+"="+encodeURIComponent(e)];z.isNumber(t)&&s.push("expires="+new Date(t).toGMTString()),z.isString(r)&&s.push("path="+r),z.isString(a)&&s.push("domain="+a),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(n){const e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function U3(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function W3(n,e){return e?n.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):n}function o1(n,e){return n&&!U3(e)?W3(n,e):e}const G3=Rt.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function a(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return r=a(window.location.href),function(s){const l=z.isString(s)?a(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function K3(n){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return e&&e[1]||""}function X3(n,e){n=n||10;const t=new Array(n),r=new Array(n);let a=0,i=0,s;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),d=r[i];s||(s=u),t[a]=c,r[a]=u;let h=i,p=0;for(;h!==a;)p+=t[h++],h=h%n;if(a=(a+1)%n,a===i&&(i=(i+1)%n),u-s<e)return;const _=d&&u-d;return _?Math.round(p*1e3/_):void 0}}function i1(n,e){let t=0;const r=X3(50,250);return a=>{const i=a.loaded,s=a.lengthComputable?a.total:void 0,l=i-t,c=r(l),u=i<=s;t=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-i)/c:void 0,event:a};d[e?"download":"upload"]=!0,n(d)}}const ni={http:B3,xhr:typeof XMLHttpRequest<"u"&&function(n){return new Promise(function(t,r){let a=n.data;const i=Ut.from(n.headers).normalize();let{responseType:s,withXSRFToken:l}=n,c;function u(){n.cancelToken&&n.cancelToken.unsubscribe(c),n.signal&&n.signal.removeEventListener("abort",c)}let d;if(z.isFormData(a)){if(Rt.hasStandardBrowserEnv||Rt.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((d=i.getContentType())!==!1){const[f,...C]=d?d.split(";").map(S=>S.trim()).filter(Boolean):[];i.setContentType([f||"multipart/form-data",...C].join("; "))}}let h=new XMLHttpRequest;if(n.auth){const f=n.auth.username||"",C=n.auth.password?unescape(encodeURIComponent(n.auth.password)):"";i.set("Authorization","Basic "+btoa(f+":"+C))}const p=o1(n.baseURL,n.url);h.open(n.method.toUpperCase(),Ql(p,n.params,n.paramsSerializer),!0),h.timeout=n.timeout;function _(){if(!h)return;const f=Ut.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:f,config:n,request:h};q3(function(b){t(b),u()},function(b){r(b),u()},S),h=null}if("onloadend"in h?h.onloadend=_:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(_)},h.onabort=function(){h&&(r(new me("Request aborted",me.ECONNABORTED,n,h)),h=null)},h.onerror=function(){r(new me("Network Error",me.ERR_NETWORK,n,h)),h=null},h.ontimeout=function(){let C=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const S=n.transitional||e1;n.timeoutErrorMessage&&(C=n.timeoutErrorMessage),r(new me(C,S.clarifyTimeoutError?me.ETIMEDOUT:me.ECONNABORTED,n,h)),h=null},Rt.hasStandardBrowserEnv&&(l&&z.isFunction(l)&&(l=l(n)),l||l!==!1&&G3(p))){const f=n.xsrfHeaderName&&n.xsrfCookieName&&Z3.read(n.xsrfCookieName);f&&i.set(n.xsrfHeaderName,f)}a===void 0&&i.setContentType(null),"setRequestHeader"in h&&z.forEach(i.toJSON(),function(C,S){h.setRequestHeader(S,C)}),z.isUndefined(n.withCredentials)||(h.withCredentials=!!n.withCredentials),s&&s!=="json"&&(h.responseType=n.responseType),typeof n.onDownloadProgress=="function"&&h.addEventListener("progress",i1(n.onDownloadProgress,!0)),typeof n.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",i1(n.onUploadProgress)),(n.cancelToken||n.signal)&&(c=f=>{h&&(r(!f||f.type?new Dr(null,n,h):f),h.abort(),h=null)},n.cancelToken&&n.cancelToken.subscribe(c),n.signal&&(n.signal.aborted?c():n.signal.addEventListener("abort",c)));const m=K3(p);if(m&&Rt.protocols.indexOf(m)===-1){r(new me("Unsupported protocol "+m+":",me.ERR_BAD_REQUEST,n));return}h.send(a||null)})}};z.forEach(ni,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{value:e})}catch{}Object.defineProperty(n,"adapterName",{value:e})}});const s1=n=>`- ${n}`,Q3=n=>z.isFunction(n)||n===null||n===!1,l1={getAdapter:n=>{n=z.isArray(n)?n:[n];const{length:e}=n;let t,r;const a={};for(let i=0;i<e;i++){t=n[i];let s;if(r=t,!Q3(t)&&(r=ni[(s=String(t)).toLowerCase()],r===void 0))throw new me(`Unknown adapter '${s}'`);if(r)break;a[s||"#"+i]=r}if(!r){const i=Object.entries(a).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=e?i.length>1?`since :
|
|
20
20
|
`+i.map(s1).join(`
|