vendor: 4,113 bytes, line 1
1import{a as t,i as e,n,r as i,t as r}from"./rolldown-runtime-z4PIMsjO.js";var s=r(t=>{var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(t,e,n){this.props=t,this.context=e,this.refs=g,this.updater=n||f}function v(){}function _(t,e,n){this.props=t,this.context=e,this.refs=g,this.updater=n||f}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},v.prototype=y.prototype;var x=_.prototype=new v;x.constructor=_,m(x,y.prototype),x.isPureReactComponent=!0;var w=Array.isArray;function b(){}var T={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function P(t,n,i){var r=i.ref;return{$$typeof:e,type:t,key:n,ref:void 0!==r?r:null,props:i}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var A=/\/+/g;function k(t,e){return"object"==typeof t&&null!==t&&null!=t.key?(n=""+t.key,i={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(t){return i[t]})):e.toString(36);var n,i}function C(t,i,r,s,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l,u,c=!1;if(null===t)c=!0;else switch(a){case"bigint":case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case e:case n:c=!0;break;case h:return C((c=t._init)(t._payload),i,r,s,o)}}if(c)return o=o(t),c=""===s?"."+k(t,0):s,w(o)?(r="",null!=c&&(r=c.replace(A,"$&/")+"/"),C(o,i,r,"",function(t){return t})):null!=o&&(E(o)&&(l=o,u=r+(null==o.key||t&&t.key===o.key?"":(""+o.key).replace(A,"$&/")+"/")+c,o=P(l.type,u,l.props)),i.push(o)),1;c=0;var d,f=""===s?".":s+":";if(w(t))for(var m=0;m<t.length;m++)c+=C(s=t[m],i,r,a=f+k(s,m),o);else if("function"==typeof(m=null===(d=t)||"object"!=typeof d?null:"function"==typeof(d=p&&d[p]||d["@@iterator"])?d:null))for(t=m.call(t),m=0;!(s=t.next()).done;)c+=C(s=s.value,i,r,a=f+k(s,m++),o);else if("object"===a){if("function"==typeof t.then)return C(function(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(b,b):(t.status="pending",t.then(function(e){"pending"===t.status&&(t.status="fulfilled",t.value=e)},function(e){"pending"===t.status&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}(t),i,r,s,o);throw i=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===i?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}return c}function M(t,e,n){if(null==t)return t;var i=[],r=0;return C(t,i,"","",function(t){return e.call(n,t,r++)}),i}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var D="function"==typeof reportError?reportError:function(t){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof t&&null!==t&&"string"==typeof t.message?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",t)}
vendor: 1,347 bytes, line 1
1,O={map:M,forEach:function(t,e,n){M(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return M(t,function(){e++}),e},toArray:function(t){return M(t,function(t){return t})||[]},only:function(t){if(!E(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};t.Activity=d,t.Children=O,t.Component=y,t.Fragment=i,t.Profiler=s,t.PureComponent=_,t.StrictMode=r,t.Suspense=u,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,t.__COMPILER_RUNTIME={__proto__:null,c:function(t){return T.H.useMemoCache(t)}},t.cache=function(t){return function(){return t.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(t,e,n){if(null==t)throw Error("The argument must be a React element, but you passed "+t+".");var i=m({},t.props),r=t.key;if(null!=e)for(s in void 0!==e.key&&(r=""+e.key),e)!S.call(e,s)||"key"===s||"__self"===s||"__source"===s||"ref"===s&&void 0===e.ref||(i[s]=e[s]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var o=Array(s),a=0;a<s;a++)o[a]=arguments[a+2];i.children=o}return P(t.type,r,i)},t.createContext=function(t){return(t={$$typeof:a,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider=t,t.Consumer={$$typeof:o,_context:t},t},t.createElement=function(t,e,n){var i,r={},s=null;
1if(null!=e)for(i in void 0!==e.key&&(s=""+e.key),e)S.call(e,i)&&"key"!==i&&"__self"!==i&&"__source"!==i&&(r[i]=e[i]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var a=Array(o),l=0;l<o;l++)a[l]=arguments[l+2];r.children=a}if(t&&t.defaultProps)for(i in o=t.defaultProps)void 0===r[i]&&(r[i]=o[i]);return P(t,s,r)},t.createRef=function(){return{current:null}},t.forwardRef=function(t){return{$$typeof:l,render:t}},t.isValidElement=E,t.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:R}},t.memo=function(t,e){return{$$typeof:c,type:t,compare:void 0===e?null:e}},t.startTransition=function(t){var e=T.T,n={};T.T=n;try{var i=t(),r=T.S;null!==r&&r(n,i),"object"==typeof i&&null!==i&&"function"==typeof i.then&&i.then(b,D)}catch(s){D(s)}finally{null!==e&&null!==n.types&&(e.types=n.types),T.T=e}},t.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},t.use=function(t){return T.H.use(t)},t.useActionState=function(t,e,n){return T.H.useActionState(t,e,n)},t.useCallback=function(t,e){return T.H.useCallback(t,e)},t.useContext=function(t){return T.H.useContext(t)},t.useDebugValue=function(){},t.useDeferredValue=function(t,e){return T.H.useDeferredValue(t,e)},t.useEffect=function(t,e){return T.H.useEffect(t,e)},t.useEffectEvent=function(t){return T.H.useEffectEvent(t)},t.useId=function(){return T.H.useId()},t.useImperativeHandle=function(t,e,n){return T.H.useImperativeHandle(t,e,n)},t.useInsertionEffect=function(t,e){return T.H.useInsertionEffect(t,e)},t.useLayoutEffect=function(t,e){return T.H.useLayoutEffect(t,e)},t.useMemo=function(t,e){return T.H.useMemo(t,e)},t.useOptimistic=function(t,e){return T.H.useOptimistic(t,e)},t.useReducer=function(t,e,n){return T.H.useReducer(t,e,n)},t.useRef=function(t){return T.H.useRef(t)},t.useState=function(t){return T.H.useState(t)},t.useSyncExternalStore=function(t,e,n){return T.H.useSyncExternalStore(t,e,n)},t.useTransition=function(){return T.H.useTransition()},t.version="19.2.7"}),o=r((t,e)=>{e.exports=s()}),a=r(t=>{var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(t,n,i){var r=null;if(void 0!==i&&(r=""+i),void 0!==n.key&&(r=""+n.key),"key"in n)for(var s in i={},n)"key"!==s&&(i[s]=n[s]);else i=n;return n=i.ref,{$$typeof:e,type:t,key:r,ref:void 0!==n?n:null,props:i}}t.Fragment=n,t.jsx=i,t.jsxs=i}),l=r((t,e)=>{e.exports=a()});function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var h,d,p,f,m,g,y,v,_,x,w,b={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},T={duration:.5,overwrite:!1,delay:0},S=1e8,P=1e-8,E=2*Math.PI,A=E/4,k=0,C=Math.sqrt,M=Math.cos,R=Math.sin,D=function(t){return"string"==typeof t},O=function(t){return"function"==typeof t},V=function(t){return"number"==typeof t},L=function(t){return void 0===t},j=function(t){return"object"==typeof t},B=function(t){return!1!==t},F=function(){return"undefined"!=typeof window},I=function(t){return O(t)||D(t)},z="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},U=Array.isArray,W=/random\([^)]+\)/g,N=/,\s*/g,$=/(?:-?\.?\d|\.)+/gi,H=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Y=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,X=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,q=/[+-]=-?[.\d]+/,K=/[^,'"\[\]\s]+/gi,G=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Z={},Q={},J=function(t){return(Q=Ct(t,Z))&&Cn},tt=function(t,e){},et=function(t,e){return!e&&void 0},nt=function(t,e){return t&&(Z[t]=e)&&Q&&(Q[t]=e)||Z},it=function(){return 0},rt={suppressEvents:!0,isStart:!0,kill:!1},st={suppressEvents:!0,kill:!1},ot={suppressEvents:!0},at={},lt=[],ut={}
vendor: 68,723 bytes, line 1
1,ct={},ht={},dt=30,pt=[],ft="",mt=function(t){var e,n,i=t[0];if(j(i)||O(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(n=pt.length;n--&&!pt[n].targetTest(i););e=pt[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new We(t[n],e)))||t.splice(n,1);return t},gt=function(t){return t._gsap||mt(oe(t))[0]._gsap},yt=function(t,e,n){return(n=t[e])&&O(n)?t[e]():L(n)&&t.getAttribute&&t.getAttribute(e)||n},vt=function(t,e){return(t=t.split(",")).forEach(e)||t},_t=function(t){return Math.round(1e5*t)/1e5||0},xt=function(t){return Math.round(1e7*t)/1e7||0},wt=function(t,e){var n=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===n?t+i:"-"===n?t-i:"*"===n?t*i:t/i},bt=function(t,e){for(var n=e.length,i=0;t.indexOf(e[i])<0&&++i<n;);return i<n},Tt=function(){var t,e,n=lt.length,i=lt.slice(0);for(ut={},lt.length=0,t=0;t<n;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},St=function(t){return!!(t._initted||t._startAt||t.add)},Pt=function(t,e,n,i){lt.length&&!d&&Tt(),t.render(e,n,i||!!(d&&e<0&&St(t))),lt.length&&!d&&Tt()},Et=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(K).length<2?e:D(t)?t.trim():t},At=function(t){return t},kt=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},Ct=function(t,e){for(var n in e)t[n]=e[n];return t},Mt=function t(e,n){for(var i in n)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=j(n[i])?t(e[i]||(e[i]={}),n[i]):n[i]);return e},Rt=function(t,e){var n,i={};for(n in t)n in e||(i[n]=t[n]);return i},Dt=function(t){var e,n=t.parent||f,i=t.keyframes?(e=U(t.keyframes),function(t,n){for(var i in n)i in t||"duration"===i&&e||"ease"===i||(t[i]=n[i])}):kt;if(B(t.inherit))for(;n;)i(t,n.vars.defaults),n=n.parent||n._dp;return t},Ot=function(t,e,n,i,r){void 0===n&&(n="_first"),void 0===i&&(i="_last");var s,o=t[i];if(r)for(s=e[r];o&&o[r]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[i]=e,e._prev=o,e.parent=e._dp=t,e},Vt=function(t,e,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var r=e._prev,s=e._next;r?r._next=s:t[n]===e&&(t[n]=s),s?s._prev=r:t[i]===e&&(t[i]=r),e._next=e._prev=e.parent=null},Lt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},jt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Bt=function(t,e,n,i){return t._startAt&&(d?t._startAt.revert(st):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Ft=function t(e){return!e||e._ts&&t(e.parent)},It=function(t){return t._repeat?zt(t._tTime,t=t.duration()+t._rDelay)*t:0},zt=function(t,e){var n=Math.floor(t=xt(t/e));return t&&n===t?n-1:n},Ut=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Wt=function(t){return t._end=xt(t._start+(t._tDur/Math.abs(t._ts||t._rts||P)||0))},Nt=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=xt(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Wt(t),n._dirty||jt(n,t)),t},$t=function(t,e){var n;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(n=Ut(t.rawTime(),e),(!e._dur||ne(0,e.totalDuration(),n)-e._tTime>P)&&e.render(n,!0)),jt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},Ht=function(t,e,n,i){return e.parent&&Lt(e),e._start=xt((V(n)?n:n||t!==f?Jt(t,n,e):t._time)+e._delay),e._end=xt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ot(t,e,"_first","_last",t._sort?"_start":0),Kt(e)||(t._recent=e),i||$t(t,e),t._ts<0&&Nt(t,t._tTime),t},Yt=function(t,e){return Z.ScrollTrigger?Z.ScrollTrigger.create(e,t):void 0},Xt=function(t,e,n,i,r){return Ge(t,e,r),t._initted?!n&&t._pt&&!d&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&_!==Me.frame?(lt.push(t),t._lazy=[r,i],1):void 0:1},qt=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Kt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Gt=function(t,e,n,i){var r=t._repeat,s=xt(e)||0,o=t._tTime/t._tDur;return o&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=r?r<0?1e10:xt(s*(r+1)+t._rDelay*r):s,o>0&&!i&&Nt(t,t._tTime=t._tDur*o),t.parent&&Wt(t),n||jt(t.parent,t),t},Zt=function(t){return t instanceof $e?jt(t):Gt(t,t._dur)},Qt={_start:0,endTime:it,totalDuration:it},Jt=function t(e,n,i){var r,s,o,a=e.labels,l=e._recent||Qt,u=e.duration()>=S?l.endTime(!1):e._dur;return D(n)&&(isNaN(n)||n in a)?(s=n.charAt(0),o="%"===n.substr(-1),r=n.indexOf("="),"<"===s||">"===s?(r>=0&&(n=n.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(o?(r<0?l:i).totalDuration()/100:1)):r<0?(n in a||(a[n]=u),a[n]):(s=parseFloat(n.charAt(r-1)+n.substr(r+1)),o&&i&&(s=s/100*(U(i)?i[0]:i).totalDuration()),r>1?t(e,n.substr(0,r-1),i)+s:u+s)):null==n?u:+n},te=function(t,e,n){var i,r,s=V(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=n,t){for(i=a,r=n;r&&!("immediateRender"in i);)i=r.vars.defaults||{},r=B(r.vars.inherit)&&r.parent;a.immediateRender=B(i.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new en(e[0],a,e[o+1])},ee=function(t,e){return t||0===t?e(t):e},ne=function(t,e,n){return n<t?t:n>e?e:n},ie=function(t,e){return D(t)&&(e=G.exec(t))?e[1]:""},re=[].slice,se=function(t,e){return t&&j(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&j(t[0]))&&!t.nodeType&&t!==m},oe=function(t,e,n){return p&&!e&&p.selector?p.selector(t):!D(t)||n||!g&&Re()?U(t)?function(t,e,n){return void 0===n&&(n=[]),t.forEach(function(t){var i;return D(t)&&!e||se(t,1)?(i=n).push.apply(i,oe(t)):n.push(t)})||n}(t,n):se(t)?re.call(t,0):t?[t]:[]:re.call((e||y).querySelectorAll(t),0)},ae=function(t){return t=oe(t)[0]||et()||{},function(e){var n=t.current||t.nativeElement||t;return oe(e,n.querySelectorAll?n:n===t?et()||y.createElement("div"):t)}},le=function(t){return t.sort(function(){return.5-Math.random()})},ue=function(t){if(O(t))return t;var e=j(t)?t:{each:t},n=Be(e.ease),i=e.from||0,r=parseFloat(e.base)||0,s={},o=i>0&&i<1,a=isNaN(i)||o,l=e.axis,u=i,c=i;return D(i)?u=c={center:.5,edges:.5,end:1}[i]||0:!o&&a&&(u=i[0],c=i[1]),function(t,o,h){var d,p,f,m,g,y,v,_,x,w=(h||e).length,b=s[w];if(!b){if(!(x="auto"===e.grid?0:(e.grid||[1,S])[1])){for(v=-1e8;v<(v=h[x++].getBoundingClientRect().left)&&x<w;);x<w&&x--}for(b=s[w]=[],d=a?Math.min(x,w)*u-.5:i%x,p=x===S?0:a?w*c/x-.5:i/x|0,v=0,_=S,y=0;y<w;y++)f=y%x-d,m=p-(y/x|0),b[y]=g=l?Math.abs("y"===l?m:f):C(f*f+m*m),g>v&&(v=g),g<_&&(_=g);"random"===i&&le(b),b.max=v-_,b.min=_,b.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(x>w?w-1:l?"y"===l?w/x:x:Math.max(x,w/x))||0)*("edges"===i?-1:1),b.b=w<0?r-w:r,b.u=ie(e.amount||e.each)||0,n=n&&w<0?je(n):n}return w=(b[t]-b.min)/b.max||0,xt(b.b+(n?n(w):w)*b.v)+b.u}},ce=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var i=xt(Math.round(parseFloat(n)/t)*t*e);return(i-i%1)/e+(V(n)?0:ie(n))}},he=function(t,e){var n,i,r=U(t);return!r&&j(t)&&(n=r=t.radius||S,t.values?(t=oe(t.values),(i=!V(t[0]))&&(n*=n)):t=ce(t.increment)),ee(e,r?O(t)?function(e){return i=t(e),Math.abs(i-e)<=n?i:e}:function(e){for(var r,s,o=parseFloat(i?e.x:e),a=parseFloat(i?e.y:0),l=S,u=0,c=t.length;c--;)(r=i?(r=t[c].x-o)*r+(s=t[c].y-a)*s:Math.abs(t[c]-o))<l&&(l=r,u=c);return u=!n||l<=n?t[u]:e,i||u===e||V(e)?u:u+ie(e)}:ce(t))},de=function(t,e,n,i){return ee(U(t)?!e:!0===n?!!(n=0):!i,function(){return U(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*i)/i})},pe=function(t,e,n){return ee(n,function(n){return t[~~e(n)]})},fe=function(t){return t.replace(W,function(t){var e=t.indexOf("[")+1,n=t.substring(e||7,e?t.indexOf("]"):t.length-1).split(N);return de(e?n:+n[0],e?0:+n[1],+n[2]||1e-5)})},me=function(t,e,n,i,r){var s=e-t,o=i-n;return ee(r,function(e){return n+((e-t)/s*o||0)})},ge=function(t,e,n){var i,r,s,o=t.labels,a=S;for(i in o)(r=o[i]-e)<0==!!n&&r&&a>(r=Math.abs(r))&&(s=i,a=r);return s},ye=function(t,e,n){var i,r,s,o=t.vars,a=o[e],l=p,u=t._ctx;if(a)return i=o[e+"Params"],r=o.callbackScope||t,n&<.length&&Tt(),u&&(p=u),s=i?a.apply(r,i):a.call(r),p=l,s},ve=function(t){return Lt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!d),t.progress()<1&&ye(t,"onInterrupt"),t},_e=[],xe=function(t){if(t)if(t=!t.name&&t.default||t,F()||t.headless){var e=t.name,n=O(t),i=e&&!n&&t.init?function(){this._props=[]}:t,r={init:it,render:hn,add:qe,kill:pn,modifier:dn,rawVars:0},s={targetTest:0,get:0,getSetter:an,aliases:{},register:0};if(Re(),t!==i){if(ct[e])return;kt(i,kt(Rt(t,r),s)),Ct(i.prototype,Ct(r,Rt(t,s))),ct[i.prop=e]=i,t.targetTest&&(pt.push(i),at[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}nt(e,i),t.register&&t.register(Cn,i,gn)}else _e.push(t)},we=255,be={aqua:[0,we,we],lime:[0,we,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,we],navy:[0,0,128],white:[we,we,we],olive:[128,128,0],yellow:[we,we,0],orange:[we,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[we,0,0],pink:[we,192,203],cyan:[0,we,we],transparent:[we,we,we,0]},Te=function(t,e,n){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)*we+.5|0},Se=function(t,e,n){var i,r,s,o,a,l,u,c,h,d,p=t?V(t)?[t>>16,t>>8&we,t&we]:0:be.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),be[t])p=be[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),r=t.charAt(2),s=t.charAt(3),t="#"+i+i+r+r+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&we,p&we,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&we,t&we]}else if("hsl"===t.substr(0,3))if(p=d=t.match($),e){if(~t.indexOf("="))return p=t.match(H),n&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,a=+p[1]/100,i=2*(l=+p[2]/100)-(r=l<=.5?l*(a+1):l+a-l*a),p.length>3&&(p[3]*=1),p[0]=Te(o+1/3,i,r),p[1]=Te(o,i,r),p[2]=Te(o-1/3,i,r);else p=t.match($)||be.transparent;p=p.map(Number)}return e&&!d&&(i=p[0]/we,r=p[1]/we,s=p[2]/we,l=((u=Math.max(i,r,s))+(c=Math.min(i,r,s)))/2,u===c?o=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),o=u===i?(r-s)/h+(r<s?6:0):u===r?(s-i)/h+2:(i-r)/h+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*a+.5),p[2]=~~(100*l+.5)),n&&p.length<4&&(p[3]=1),p},Pe=function(t){var e=[],n=[],i=-1;return t.split(Ae).forEach(function(t){var r=t.match(Y)||[];e.push.apply(e,r),n.push(i+=r.length+1)}),e.c=n,e},Ee=function(t,e,n){var i,r,s,o,a="",l=(t+a).match(Ae),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map(function(t){return(t=Se(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),n&&(s=Pe(t),(i=n.c).join(a)!==s.c.join(a)))for(o=(r=t.replace(Ae,"1").split(Y)).length-1;c<o;c++)a+=r[c]+(~i.indexOf(c)?l.shift()||u+"0,0,0,0)":(s.length?s:l.length?l:n).shift());if(!r)for(o=(r=t.split(Ae)).length-1;c<o;c++)a+=r[c]+l[c];return a+r[o]},Ae=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in be)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ke=/hsl[a]?\(/,Ce=function(t){var e,n=t.join(" ");if(Ae.lastIndex=0,Ae.test(n))return e=ke.test(n),t[1]=Ee(t[1],e),t[0]=Ee(t[0],e,Pe(t[1])),!0},Me=function(){var t,e,n,i,r,s,o=Date.now,a=500,l=33,u=o(),c=u,h=1e3/240,d=h,p=[],f=function n(f){var m,g,y,v,_=o()-c,x=!0===f;if((_>a||_<0)&&(u+=_-l),((m=(y=(c+=_)-u)-d)>0||x)&&(v=++i.frame,r=y-1e3*i.time,i.time=y/=1e3,d+=m+(m>=h?4:h-m),g=1),x||(t=e(n)),g)for(s=0;s<p.length;s++)p[s](y,r,v,f)};return i={time:0,frame:0,tick:function(){f(!0)},deltaRatio:function(t){return r/(1e3/(t||60))},wake:function(){v&&(!g&&F()&&(m=g=window,y=m.document||{},Z.gsap=Cn,(m.gsapVersions||(m.gsapVersions=[])).push(Cn.version),J(Q||m.GreenSockGlobals||!m.gsap&&m||{}),_e.forEach(xe)),n="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&i.sleep(),e=n||function(t){return setTimeout(t,d-1e3*i.time+1|0)},w=1,f(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(t),w=0,e=it},lagSmoothing:function(t,e){a=t||1/0,l=Math.min(e||33,a)},fps:function(t){h=1e3/(t||240),d=1e3*i.time+h},add:function(t,e,n){var r=e?function(e,n,s,o){t(e,n,s,o),i.remove(r)}:t;return i.remove(t),p[n?"unshift":"push"](r),Re(),r},remove:function(t,e){~(e=p.indexOf(t))&&p.splice(e,1)&&s>=e&&s--},_listeners:p}}(),Re=function(){return!w&&Me.wake()},De={},Oe=/^[\d.\-M][\d.\-,\s]/,Ve=/["']/g,Le=function(t){for(var e,n,i,r={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a<l;a++)n=s[a],e=a!==l-1?n.lastIndexOf(","):n.length,i=n.substr(0,e),r[o]=isNaN(i)?i.replace(Ve,"").trim():+i,o=n.substr(e+1).trim();return r},je=function(t){return function(e){return 1-t(1-e)}},Be=function(t,e){return t&&(O(t)?t:De[t]||function(t){var e,n,i,r,s=(t+"").split("("),o=De[s[0]];return o&&s.length>1&&o.config?o.config.apply(null,~t.indexOf("{")?[Le(s[1])]:(e=t,n=e.indexOf("(")+1,i=e.indexOf(")"),r=e.indexOf("(",n),e.substring(n,~r&&r<i?e.indexOf(")",i+1):i)).split(",").map(Et)):De._CE&&Oe.test(t)?De._CE("",t):o}(t))||e},Fe=function(t,e,n,i){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===i&&(i=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var r,s={easeIn:e,easeOut:n,easeInOut:i};return vt(t,function(t){for(var e in De[t]=Z[t]=s,De[r=t.toLowerCase()]=n,s)De[r+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=De[t+"."+e]=s[e]}),s},Ie=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},ze=function t(e,n,i){var r=n>=1?n:1,s=(i||(e?.3:.45))/(n<1?n:1),o=s/E*(Math.asin(1/r)||0),a=function(t){return 1===t?1:r*Math.pow(2,-10*t)*R((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Ie(a);return s=E/s,l.config=function(n,i){return t(e,n,i)},l},Ue=function t(e,n){void 0===n&&(n=1.70158);var i=function(t){return t?--t*t*((n+1)*t+n)+1:0},r="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:Ie(i);return r.config=function(n){return t(e,n)},r};vt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Fe(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},function(t){return 1-Math.pow(1-t,n)},function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2})}),De.Linear.easeNone=De.none=De.Linear.easeIn,Fe("Elastic",ze("in"),ze("out"),ze()),function(t,e){var n=1/e,i=2*n,r=2.5*n,s=function(s){return s<n?t*s*s:s<i?t*Math.pow(s-1.5/e,2)+.75:s<r?t*(s-=2.25/e)*s+.9375:t*Math.pow(s-2.625/e,2)+.984375};Fe("Bounce",function(t){return 1-s(1-t)},s)}(7.5625,2.75),Fe("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Fe("Circ",function(t){return-(C(1-t*t)-1)}),Fe("Sine",function(t){return 1===t?1:1-M(t*A)}),Fe("Back",Ue("in"),Ue("out"),Ue()),De.SteppedEase=De.steps=Z.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,i=t+(e?0:1),r=e?1:0;return function(t){return((i*ne(0,.99999999,t)|0)+r)*n}}},T.ease=De["quad.out"],vt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ft+=t+","+t+"Params,"});var We=function(t,e){this.id=k++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:yt,this.set=e?e.getSetter:an},Ne=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Gt(this,+t.duration,1,1),this.data=t.data,p&&(this._ctx=p,p.data.push(this)),w||Me.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Gt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Re(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Nt(this,t),!n._dp||n.parent||$t(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Ht(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===P||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Pt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+It(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+It(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?zt(this._tTime,n)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?Ut(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(ne(-Math.abs(this._delay),this.totalDuration(),n),!1!==e),Wt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Re(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==P&&(this._tTime-=P)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=xt(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Ht(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(B(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ut(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=ot);var e=d;return d=t,St(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),d=e,this},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Zt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Zt(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Jt(this,t),B(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,B(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-P))},e.eventCallback=function(t,e,n){var i=this.vars;return arguments.length>1?(e?(i[t]=e,n&&(i[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this,n=e._prom;return new Promise(function(i){var r=O(t)?t:At,s=function(){var t=e.then;e.then=null,n&&n(),O(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),i(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})},e.kill=function(){ve(this)},t}();kt(Ne.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var $e=function(t){function e(e,n){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=B(e.sortChildren),f&&Ht(e.parent||f,u(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Yt(u(i),e.scrollTrigger),i}c(e,t);var n=e.prototype;return n.to=function(t,e,n){return te(0,arguments,this),this},n.from=function(t,e,n){return te(1,arguments,this),this},n.fromTo=function(t,e,n,i){return te(2,arguments,this),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,Dt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new en(t,e,Jt(this,n),1),this},n.call=function(t,e,n){return Ht(this,en.delayedCall(0,t,e),n)},n.staggerTo=function(t,e,n,i,r,s,o){return n.duration=e,n.stagger=n.stagger||i,n.onComplete=s,n.onCompleteParams=o,n.parent=this,new en(t,n,Jt(this,r)),this},n.staggerFrom=function(t,e,n,i,r,s,o){return n.runBackwards=1,Dt(n).immediateRender=B(n.immediateRender),this.staggerTo(t,e,n,i,r,s,o)},n.staggerFromTo=function(t,e,n,i,r,s,o,a){return i.startAt=n,Dt(i).immediateRender=B(i.immediateRender),this.staggerTo(t,e,i,r,s,o,a)},n.render=function(t,e,n){var i,r,s,o,a,l,u,c,h,p,m,g,y=this._time,v=this._dirty?this.totalDuration():this._tDur,_=this._dur,x=t<=0?0:xt(t),w=this._zTime<0!=t<0&&(this._initted||!_);if(this!==f&&x>v&&t>=0&&(x=v),x!==this._tTime||n||w){if(y!==this._time&&_&&(x+=this._time-y,t+=this._time-y),i=x,h=this._start,l=!(c=this._ts),w&&(_||(y=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(m=this._yoyo,a=_+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,n);if(i=xt(x%a),x===v?(o=this._repeat,i=_):((o=~~(p=xt(x/a)))&&o===p&&(i=_,o--),i>_&&(i=_)),p=zt(this._tTime,a),!y&&this._tTime&&p!==o&&this._tTime-p*a-this._dur<=0&&(p=o),m&&1&o&&(i=_-i,g=1),o!==p&&!this._lock){var b=m&&1&p,T=b===(m&&1&o);if(o<p&&(b=!b),y=b?0:x%_?_:x,this._lock=1,this.render(y||(g?0:xt(o*a)),e,!_)._lock=0,this._tTime=x,!e&&this.parent&&ye(this,"onRepeat"),this.vars.repeatRefresh&&!g&&(this.invalidate()._lock=1,p=o),y&&y!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(_=this._dur,v=this._tDur,T&&(this._lock=2,y=b?_:-1e-4,this.render(y,!0),this.vars.repeatRefresh&&!g&&this.invalidate()),this._lock=0,!this._ts&&!l)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,n){var i;if(n>e)for(i=t._first;i&&i._start<=n;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=n;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,xt(y),xt(i)),u&&(x-=i-(i=u._start))),this._tTime=x,this._time=i,this._act=!!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,y=0),!y&&x&&_&&!e&&!p&&(ye(this,"onStart"),this._tTime!==x))return this;if(i>=y&&t>=0)for(r=this._first;r;){if(s=r._next,(r._act||i>=r._start)&&r._ts&&u!==r){if(r.parent!==this)return this.render(t,e,n);if(r.render(r._ts>0?(i-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(i-r._start)*r._ts,e,n),i!==this._time||!this._ts&&!l){u=0,s&&(x+=this._zTime=-1e-8);break}}r=s}else{r=this._last;for(var S=t<0?t:i;r;){if(s=r._prev,(r._act||S<=r._end)&&r._ts&&u!==r){if(r.parent!==this)return this.render(t,e,n);if(r.render(r._ts>0?(S-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(S-r._start)*r._ts,e,n||d&&St(r)),i!==this._time||!this._ts&&!l){u=0,s&&(x+=this._zTime=S?-1e-8:P);break}}r=s}}if(u&&!e&&(this.pause(),u.render(i>=y?0:-1e-8)._zTime=i>=y?1:-1,this._ts))return this._start=h,Wt(this),this.render(t,e,n);this._onUpdate&&!e&&ye(this,"onUpdate",!0),(x===v&&this._tTime>=this.totalDuration()||!x&&y)&&(h!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!_)&&(x===v&&this._ts>0||!x&&this._ts<0)&&Lt(this,1),e||t<0&&!y||!x&&!y&&v||(ye(this,x===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x<v&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(V(e)||(e=Jt(this,e,t)),!(t instanceof Ne)){if(U(t))return t.forEach(function(t){return n.add(t,e)}),this;if(D(t))return this.addLabel(t,e);if(!O(t))return this;t=en.delayedCall(0,t)}return this!==t?Ht(this,t,e):this},n.getChildren=function(t,e,n,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===i&&(i=-1e8);for(var r=[],s=this._first;s;)s._start>=i&&(s instanceof en?e&&r.push(s):(n&&r.push(s),t&&r.push.apply(r,s.getChildren(!0,e,n)))),s=s._next;return r},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return D(t)?this.removeLabel(t):O(t)?this.killTweensOf(t):(t.parent===this&&Vt(this,t),t===this._recent&&(this._recent=this._last),jt(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=xt(Me.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=Jt(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var i=en.delayedCall(0,e||it,n);return i.data="isPause",this._hasPause=1,Ht(this,i,Jt(this,t))},n.removePause=function(t){var e=this._first;for(t=Jt(this,t);e;)e._start===t&&"isPause"===e.data&&Lt(e),e=e._next},n.killTweensOf=function(t,e,n){for(var i=this.getTweensOf(t,n),r=i.length;r--;)He!==i[r]&&i[r].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,i=[],r=oe(t),s=this._first,o=V(e);s;)s instanceof en?bt(s._targets,r)&&(o?(!He||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(n=s.getTweensOf(r,e)).length&&i.push.apply(i,n),s=s._next;return i},n.tweenTo=function(t,e){e=e||{};var n,i=this,r=Jt(i,t),s=e,o=s.startAt,a=s.onStart,l=s.onStartParams,u=s.immediateRender,c=en.to(i,kt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:e.duration||Math.abs((r-(o&&"time"in o?o.time:i._time))/i.timeScale())||P,onStart:function(){if(i.pause(),!n){var t=e.duration||Math.abs((r-(o&&"time"in o?o.time:i._time))/i.timeScale());c._dur!==t&&Gt(c,t,0,1).render(c._time,!0,!0),n=1}a&&a.apply(c,l||[])}},e));return u?c.render(0):c},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,kt({startAt:{time:Jt(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),ge(this,Jt(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),ge(this,Jt(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+P)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);var i,r=this._first,s=this.labels;for(t=xt(t);r;)r._start>=n&&(r._start+=t,r._end+=t),r=r._next;if(e)for(i in s)s[i]>=n&&(s[i]+=t);return jt(this)},n.invalidate=function(e){var n=this._first;for(this._lock=0;n;)n.invalidate(e),n=n._next;return t.prototype.invalidate.call(this,e)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),jt(this)},n.totalDuration=function(t){var e,n,i,r=0,s=this,o=s._last,a=S;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(n=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,Ht(s,o,n-o._delay,1)._lock=0):a=n,n<0&&o._ts&&(r-=n,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=xt(n/s._ts),s._time-=n,s._tTime-=n),s.shiftChildren(-n,!1,-1/0),a=0),o._end>r&&o._ts&&(r=o._end),o=e;Gt(s,s===f&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(f._ts&&(Pt(f,Ut(t,f)),_=Me.frame),Me.frame>=dt){dt+=b.autoSleep||120;var e=f._first;if((!e||!e._ts)&&b.autoSleep&&Me._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Me.sleep()}}},e}(Ne);kt($e.prototype,{_lock:0,_hasPause:0,_forcing:0});var He,Ye,Xe=function(t,e,n,i,r,s,o){var a,l,u,c,h,d,p,f,m=new gn(this._pt,t,e,0,1,cn,null,r),g=0,y=0;for(m.b=n,m.e=i,n+="",(p=~(i+="").indexOf("random("))&&(i=fe(i)),s&&(s(f=[n,i],t,e),n=f[0],i=f[1]),l=n.match(X)||[];a=X.exec(i);)c=a[0],h=i.substring(g,a.index),u?u=(u+1)%5:"rgba("===h.substr(-5)&&(u=1),c!==l[y++]&&(d=parseFloat(l[y-1])||0,m._pt={_next:m._pt,p:h||1===y?h:",",s:d,c:"="===c.charAt(1)?wt(d,c)-d:parseFloat(c)-d,m:u&&u<4?Math.round:0},g=X.lastIndex);return m.c=g<i.length?i.substring(g,i.length):"",m.fp=o,(q.test(i)||p)&&(m.e=0),this._pt=m,m},qe=function(t,e,n,i,r,s,o,a,l,u){O(i)&&(i=i(r||0,t,s));var c,h=t[e],d="get"!==n?n:O(h)?l?t[e.indexOf("set")||!O(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():h,p=O(h)?l?sn:rn:nn;if(D(i)&&(~i.indexOf("random(")&&(i=fe(i)),"="===i.charAt(1)&&((c=wt(d,i)+(ie(d)||0))||0===c)&&(i=c)),!u||d!==i||Ye)return isNaN(d*i)||""===i?Xe.call(this,t,e,d,i,p,a||b.stringFilter,l):(c=new gn(this._pt,t,e,+d||0,i-(d||0),"boolean"==typeof h?un:ln,0,p),l&&(c.fp=l),o&&c.modifier(o,this,t),this._pt=c)},Ke=function(t,e,n,i,r,s){var o,a,l,u;if(ct[t]&&!1!==(o=new ct[t]).init(r,o.rawVars?e[t]:function(t,e,n,i,r){if(O(t)&&(t=Qe(t,r,e,n,i)),!j(t)||t.style&&t.nodeType||U(t)||z(t))return D(t)?Qe(t,r,e,n,i):t;var s,o={};for(s in t)o[s]=Qe(t[s],r,e,n,i);return o}(e[t],i,r,s,n),n,i,s)&&(n._pt=a=new gn(n._pt,r,t,0,1,o.render,o,0,o.priority),n!==x))for(l=n._ptLookup[n._targets.indexOf(r)],u=o._props.length;u--;)l[o._props[u]]=a;return o},Ge=function t(e,n,i){var r,s,o,a,l,u,c,p,m,g,y,v,_,x=e.vars,w=x.ease,b=x.startAt,E=x.immediateRender,A=x.lazy,k=x.onUpdate,C=x.runBackwards,M=x.yoyoEase,R=x.keyframes,D=x.autoRevert,O=e._dur,V=e._startAt,L=e._targets,j=e.parent,F=j&&"nested"===j.data?j.vars.targets:L,I="auto"===e._overwrite&&!h,z=e.timeline,U=x.easeReverse||M;if(z&&(!R||!w)&&(w="none"),e._ease=Be(w,T.ease),e._rEase=U&&(Be(U)||e._ease),e._from=!z&&!!x.runBackwards,e._from&&(e.ratio=1),!z||R&&!x.stagger){if(v=(p=L[0]?gt(L[0]).harness:0)&&x[p.prop],r=Rt(x,at),V&&(V._zTime<0&&V.progress(1),n<0&&C&&E&&!D?V.render(-1,!0):V.revert(C&&O?st:rt),V._lazy=0),b){if(Lt(e._startAt=en.set(L,kt({data:"isStart",overwrite:!1,parent:j,immediateRender:!0,lazy:!V&&B(A),startAt:null,delay:0,onUpdate:k&&function(){return ye(e,"onUpdate")},stagger:0},b))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(d||!E&&!D)&&e._startAt.revert(st),E&&O&&n<=0&&i<=0)return void(n&&(e._zTime=n))}else if(C&&O&&!V)if(n&&(E=!1),o=kt({overwrite:!1,data:"isFromStart",lazy:E&&!V&&B(A),immediateRender:E,stagger:0,parent:j},r),v&&(o[p.prop]=v),Lt(e._startAt=en.set(L,o)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(d?e._startAt.revert(st):e._startAt.render(-1,!0)),e._zTime=n,E){if(!n)return}else t(e._startAt,P,P);for(e._pt=e._ptCache=0,A=O&&B(A)||A&&!O,s=0;s<L.length;s++){if(c=(l=L[s])._gsap||mt(L)[s]._gsap,e._ptLookup[s]=g={},ut[c.id]&<.length&&Tt(),y=F===L?s:F.indexOf(l),p&&!1!==(m=new p).init(l,v||r,e,y,F)&&(e._pt=a=new gn(e._pt,l,m.name,0,1,m.render,m,0,m.priority),m._props.forEach(function(t){g[t]=a}),m.priority&&(u=1)),!p||v)for(o in r)ct[o]&&(m=Ke(o,r,e,y,l,F))?m.priority&&(u=1):g[o]=a=qe.call(e,l,o,"get",r[o],y,F,0,x.stringFilter);e._op&&e._op[s]&&e.kill(l,e._op[s]),I&&e._pt&&(He=e,f.killTweensOf(l,g,e.globalTime(n)),_=!e.parent,He=0),e._pt&&A&&(ut[c.id]=1)}u&&mn(e),e._onInit&&e._onInit(e)}e._onUpdate=k,e._initted=(!e._op||e._pt)&&!_,R&&n<=0&&z.render(S,!0,!0)},Ze=function(t,e,n,i){var r,s,o=e.ease||i||"power1.inOut";if(U(e))s=n[t]||(n[t]=[]),e.forEach(function(t,n){return s.push({t:n/(e.length-1)*100,v:t,e:o})});else for(r in e)s=n[r]||(n[r]=[]),"ease"===r||s.push({t:parseFloat(t),v:e[r],e:o})},Qe=function(t,e,n,i,r){return O(t)?t.call(e,n,i,r):D(t)&&~t.indexOf("random(")?fe(t):t},Je=ft+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",tn={};vt(Je+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return tn[t]=1});var en=function(t){function e(e,n,i,r){var s;"number"==typeof n&&(i.duration=n,n=i,i=null);var o,a,l,c,d,p,m,g,y=(s=t.call(this,r?n:Dt(n))||this).vars,v=y.duration,_=y.delay,x=y.immediateRender,w=y.stagger,T=y.overwrite,S=y.keyframes,P=y.defaults,E=y.scrollTrigger,A=n.parent||f,k=(U(e)||z(e)?V(e[0]):"length"in n)?[e]:oe(e);if(s._targets=k.length?mt(k):et(0,!b.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=T,S||w||I(v)||I(_)){var C=(n=s.vars).easeReverse||n.yoyoEase;if((o=s.timeline=new $e({data:"nested",defaults:P||{},targets:A&&"nested"===A.data?A.vars.targets:k})).kill(),o.parent=o._dp=u(s),o._start=0,w||I(v)||I(_)){if(c=k.length,m=w&&ue(w),j(w))for(d in w)~Je.indexOf(d)&&(g||(g={}),g[d]=w[d]);for(a=0;a<c;a++)(l=Rt(n,tn)).stagger=0,C&&(l.easeReverse=C),g&&Ct(l,g),p=k[a],l.duration=+Qe(v,u(s),a,p,k),l.delay=(+Qe(_,u(s),a,p,k)||0)-s._delay,!w&&1===c&&l.delay&&(s._delay=_=l.delay,s._start+=_,l.delay=0),o.to(p,l,m?m(a,p,k):0),o._ease=De.none;o.duration()?v=_=0:s.timeline=0}else if(S){Dt(kt(o.vars.defaults,{ease:"none"})),o._ease=Be(S.ease||n.ease||"none");var M,R,D,O=0;if(U(S))S.forEach(function(t){return o.to(k,t,">")}),o.duration();else{for(d in l={},S)"ease"===d||"easeEach"===d||Ze(d,S[d],l,S.easeEach);for(d in l)for(M=l[d].sort(function(t,e){return t.t-e.t}),O=0,a=0;a<M.length;a++)(D={ease:(R=M[a]).e,duration:(R.t-(a?M[a-1].t:0))/100*v})[d]=R.v,o.to(k,D,O),O+=D.duration;o.duration()<v&&o.to({},{duration:v-o.duration()})}}v||s.duration(v=o.duration())}else s.timeline=0;return!0!==T||h||(He=u(s),f.killTweensOf(k),He=0),Ht(A,u(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(x||!v&&!S&&s._start===xt(A._time)&&B(x)&&Ft(u(s))&&"nested"!==A.data)&&(s._tTime=-1e-8,s.render(Math.max(0,-_)||0)),E&&Yt(u(s),E),s}c(e,t);var n=e.prototype;return n.render=function(t,e,n){var i,r,s,o,a,l,u,c,h=this._time,p=this._tDur,f=this._dur,m=t<0,g=t>p-P&&!m?p:t<P?0:t;if(f){if(g!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(i=g,c=this.timeline,this._repeat){if(o=f+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,n);if(i=xt(g%o),g===p?(s=this._repeat,i=f):(s=~~(a=xt(g/o)))&&s===a?(i=f,s--):i>f&&(i=f),(l=this._yoyo&&1&s)&&(i=f-i),a=zt(this._tTime,o),i===h&&!n&&this._initted&&s===a)return this._tTime=g,this;s!==a&&this.vars.repeatRefresh&&!l&&!this._lock&&i!==o&&this._initted&&(this._lock=n=1,this.render(xt(o*s),!0).invalidate()._lock=0)}if(!this._initted){if(Xt(this,m?t:i,n,e,g))return this._tTime=0,this;if(!(h===this._time||n&&this.vars.repeatRefresh&&s!==a))return this;if(f!==this._dur)return this.render(t,e,n)}if(this._rEase){var y=i<h;if(y!==this._inv){var v=y?h:f-h;this._inv=y,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=h,this._invRecip=v?(y?-1:1)/v:0,this._invScale=y?-this.ratio:1-this.ratio,this._invEase=y?this._rEase:this._ease}this.ratio=u=this._invRatio+this._invScale*this._invEase((i-this._invTime)*this._invRecip)}else this.ratio=u=this._ease(i/f);if(this._from&&(this.ratio=u=1-u),this._tTime=g,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),!h&&g&&!e&&!a&&(ye(this,"onStart"),this._tTime!==g))return this;for(r=this._pt;r;)r.r(u,r.d),r=r._next;c&&c.render(t<0?t:c._dur*c._ease(i/this._dur),e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Bt(this,t,0,n),ye(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&ye(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(m&&!this._onUpdate&&Bt(this,t,0,!0),(t||!f)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&Lt(this,1),e||m&&!h||!(g||h||l)||(ye(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,i){var r,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&qt(t)&&(t._initted||!Kt(t))||(t._ts<0||t._dp._ts<0)&&!Kt(t))?0:1,u=t._rDelay,c=0;if(u&&t._repeat&&(c=ne(0,t._tDur,e),s=zt(c,u),t._yoyo&&1&s&&(l=1-l),s!==zt(t._tTime,u)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||d||i||t._zTime===P||!e&&t._zTime){if(!t._initted&&Xt(t,e,i,n,c))return;for(o=t._zTime,t._zTime=e||(n?P:0),n||(n=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,r=t._pt;r;)r.r(l,r.d),r=r._next;e<0&&Bt(t,e,0,!0),t._onUpdate&&!n&&ye(t,"onUpdate"),c&&t._repeat&&!n&&t.parent&&ye(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Lt(t,1),n||d||(ye(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},n.resetTo=function(t,e,n,i,r){w||Me.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ge(this,s),function(t,e,n,i,r,s,o,a){var l,u,c,h,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],c=t._ptLookup,h=t._targets.length;h--;){if((l=c[h][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return Ye=1,t.vars[e]="+=0",Ge(t,o),Ye=0,a?et():1;d.push(l)}for(h=d.length;h--;)(l=(u=d[h])._pt||u).s=!i&&0!==i||r?l.s+(i||0)+s*l.c:i,l.c=n-l.s,u.e&&(u.e=_t(n)+ie(u.e)),u.b&&(u.b=l.s+ie(u.b))}(this,t,e,n,i,this._ease(s/this._dur),s,r)?this.resetTo(t,e,n,i,1):(Nt(this,0),this.parent||Ot(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ve(this):this.scrollTrigger&&this.scrollTrigger.kill(!!d),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,He&&!0!==He.vars.overwrite)._first||ve(this),this.parent&&n!==this.timeline.totalDuration()&&Gt(this,this._dur*this.timeline._tDur/n,0,1),this}var i,r,s,o,a,l,u,c=this._targets,h=t?oe(t):c,p=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,i=n===e.length;i&&n--&&t[n]===e[n];);return n<0}(c,h))return"all"===e&&(this._pt=0),ve(this);for(i=this._op=this._op||[],"all"!==e&&(D(e)&&(a={},vt(e,function(t){return a[t]=1}),e=a),e=function(t,e){var n,i,r,s,o=t[0]?gt(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(i in n=Ct({},e),a)if(i in n)for(r=(s=a[i].split(",")).length;r--;)n[s[r]]=n[i];return n}(c,e)),u=c.length;u--;)if(~h.indexOf(c[u]))for(a in r=p[u],"all"===e?(i[u]=e,o=r,s={}):(s=i[u]=i[u]||{},o=e),o)(l=r&&r[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Vt(this,l,"_pt"),delete r[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&f&&ve(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,e){return te(1,arguments)},e.delayedCall=function(t,n,i,r){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:r})},e.fromTo=function(t,e,n){return te(2,arguments)},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return f.killTweensOf(t,e,n)},e}(Ne);kt(en.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),vt("staggerTo,staggerFrom,staggerFromTo",function(t){en[t]=function(){var e=new $e,n=re.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}});var nn=function(t,e,n){return t[e]=n},rn=function(t,e,n){return t[e](n)},sn=function(t,e,n,i){return t[e](i.fp,n)},on=function(t,e,n){return t.setAttribute(e,n)},an=function(t,e){return O(t[e])?rn:L(t[e])&&t.setAttribute?on:nn},ln=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},un=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},cn=function(t,e){var n=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+i,n=n._next;i+=e.c}e.set(e.t,e.p,i,e)},hn=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},dn=function(t,e,n,i){for(var r,s=this._pt;s;)r=s._next,s.p===i&&s.modifier(t,e,n),s=r},pn=function(t){for(var e,n,i=this._pt;i;)n=i._next,i.p===t&&!i.op||i.op===t?Vt(this,i,"_pt"):i.dep||(e=1),i=n;return!e},fn=function(t,e,n,i){i.mSet(t,e,i.m.call(i.tween,n,i.mt),i)},mn=function(t){for(var e,n,i,r,s=t._pt;s;){for(e=s._next,n=i;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:r)?s._prev._next=s:i=s,(s._next=n)?n._prev=s:r=s,s=e}t._pt=i},gn=function(){function t(t,e,n,i,r,s,o,a,l){this.t=e,this.s=i,this.c=r,this.p=n,this.r=s||ln,this.d=o||this,this.set=a||nn,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=fn,this.m=t,this.mt=n,this.tween=e},t}();vt(ft+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(t){return at[t]=1}),Z.TweenMax=Z.TweenLite=en,Z.TimelineLite=Z.TimelineMax=$e,f=new $e({sortChildren:!1,defaults:T,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),b.stringFilter=Ce;var yn=[],vn={},_n=[],xn=0,wn=0,bn=function(t){return(vn[t]||_n).map(function(t){return t()})},Tn=function(){var t=Date.now(),e=[];t-xn>2&&(bn("matchMediaInit"),yn.forEach(function(t){var n,i,r,s,o=t.queries,a=t.conditions;for(i in o)(n=m.matchMedia(o[i]).matches)&&(r=1),n!==a[i]&&(a[i]=n,s=1);s&&(t.revert(),r&&e.push(t))}),bn("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),xn=t,bn("matchMedia"))},Sn=function(){function t(t,e){this.selector=e&&ae(e),this.data=[],this._r=[],this.isReverted=!1,this.id=wn++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,n){O(t)&&(n=e,e=t,t=O);var i=this,r=function(){var t,r=p,s=i.selector;return r&&r!==i&&r.data.push(i),n&&(i.selector=ae(n)),p=i,t=e.apply(i,arguments),O(t)&&i._r.push(t),p=r,i.selector=s,i.isReverted=!1,t};return i.last=r,t===O?r(i,function(t){return i.add(null,t)}):t?i[t]=r:r},e.ignore=function(t){var e=p;p=null,t(this),p=e},e.getTweens=function(){var e=[];return this.data.forEach(function(n){return n instanceof t?e.push.apply(e,n.getTweens()):n instanceof en&&!(n.parent&&"nested"===n.parent.data)&&e.push(n)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var n=this;if(t?function(){for(var e,i=n.getTweens(),r=n.data.length;r--;)"isFlip"===(e=n.data[r]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(function(t){return i.splice(i.indexOf(t),1)}));for(i.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),r=n.data.length;r--;)(e=n.data[r])instanceof $e?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof en)&&e.revert&&e.revert(t);n._r.forEach(function(e){return e(t,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),e)for(var i=yn.length;i--;)yn[i].id===this.id&&yn.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),Pn=function(){function t(t){this.contexts=[],this.scope=t,p&&p.data.push(this)}var e=t.prototype;return e.add=function(t,e,n){j(t)||(t={matches:t});var i,r,s,o=new Sn(0,n||this.scope),a=o.conditions={};for(r in p&&!o.selector&&(o.selector=p.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===r?s=1:(i=m.matchMedia(t[r]))&&(yn.indexOf(o)<0&&yn.push(o),(a[r]=i.matches)&&(s=1),i.addListener?i.addListener(Tn):i.addEventListener("change",Tn));return s&&e(o,function(t){return o.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),En={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach(function(t){return xe(t)})},timeline:function(t){return new $e(t)},getTweensOf:function(t,e){return f.getTweensOf(t,e)},getProperty:function(t,e,n,i){D(t)&&(t=oe(t)[0]);var r=gt(t||{}).get,s=n?At:Et;return"native"===n&&(n=""),t?e?s((ct[e]&&ct[e].get||r)(t,e,n,i)):function(e,n,i){return s((ct[e]&&ct[e].get||r)(t,e,n,i))}:t},quickSetter:function(t,e,n){if((t=oe(t)).length>1){var i=t.map(function(t){return Cn.quickSetter(t,e,n)}),r=i.length;return function(t){for(var e=r;e--;)i[e](t)}}t=t[0]||{};var s=ct[e],o=gt(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var i=new s;x._pt=0,i.init(t,n?e+n:e,x,0,[t]),i.render(1,i),x._pt&&hn(1,x)}:o.set(t,a);return s?l:function(e){return l(t,a,n?e+n:e,o,1)}},quickTo:function(t,e,n){var i,r=Cn.to(t,kt(((i={})[e]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),s=function(t,n,i){return r.resetTo(e,t,n,i)};return s.tween=r,s},isTweening:function(t){return f.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Be(t.ease,T.ease)),Mt(T,t||{})},config:function(t){return Mt(b,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,i=t.plugins,r=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach(function(t){return t&&!ct[t]&&!Z[t]&&et()}),ht[e]=function(t,e,i){return n(oe(t),kt(e||{},r),i)},s&&($e.prototype[e]=function(t,n,i){return this.add(ht[e](t,j(n)?n:(i=n)&&{},this),i)})},registerEase:function(t,e){De[t]=Be(e)},parseEase:function(t,e){return arguments.length?Be(t,e):De},getById:function(t){return f.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,i,r=new $e(t);for(r.smoothChildTiming=B(t.smoothChildTiming),f.remove(r),r._dp=0,r._time=r._tTime=f._time,n=f._first;n;)i=n._next,!e&&!n._dur&&n instanceof en&&n.vars.onComplete===n._targets[0]||Ht(r,n,n._start-n._delay),n=i;return Ht(f,r,0),r},context:function(t,e){return t?new Sn(t,e):p},matchMedia:function(t){return new Pn(t)},matchMediaRefresh:function(){return yn.forEach(function(t){var e,n,i=t.conditions;for(n in i)i[n]&&(i[n]=!1,e=1);e&&t.revert()})||Tn()},addEventListener:function(t,e){var n=vn[t]||(vn[t]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function(t,e){var n=vn[t],i=n&&n.indexOf(e);i>=0&&n.splice(i,1)},utils:{wrap:function t(e,n,i){var r=n-e;return U(e)?pe(e,t(0,e.length),n):ee(i,function(t){return(r+(t-e)%r)%r+e})},wrapYoyo:function t(e,n,i){var r=n-e,s=2*r;return U(e)?pe(e,t(0,e.length-1),n):ee(i,function(t){return e+((t=(s+(t-e)%s)%s||0)>r?s-t:t)})},distribute:ue,random:de,snap:he,normalize:function(t,e,n){return me(t,e,0,1,n)},getUnit:ie,clamp:function(t,e,n){return ee(n,function(n){return ne(t,e,n)})},splitColor:Se,toArray:oe,selector:ae,mapRange:me,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(t,e){return function(n){return t(parseFloat(n))+(e||ie(n))}},interpolate:function t(e,n,i,r){var s=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!s){var o,a,l,u,c,h=D(e),d={};if(!0===i&&(r=1)&&(i=null),h)e={p:e},n={p:n};else if(U(e)&&!U(n)){for(l=[],u=e.length,c=u-2,a=1;a<u;a++)l.push(t(e[a-1],e[a]));u--,s=function(t){t*=u;var e=Math.min(c,~~t);return l[e](t-e)},i=n}else r||(e=Ct(U(e)?[]:{},e));if(!l){for(o in n)qe.call(d,e,o,"get",n[o]);s=function(t){return hn(t,d)||(h?e.p:e)}}}return ee(i,s)},shuffle:le},install:J,effects:ht,ticker:Me,updateRoot:$e.updateRoot,plugins:ct,globalTimeline:f,core:{PropTween:gn,globals:nt,Tween:en,Timeline:$e,Animation:Ne,getCache:gt,_removeLinkedListItem:Vt,reverting:function(){return d},context:function(t){return t&&p&&(p.data.push(t),t._ctx=p),p},suppressOverwrites:function(t){return h=t}}};vt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return En[t]=en[t]}),Me.add($e.updateRoot),x=En.to({},{duration:0});var An=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},kn=function(t,e){return{name:t,headless:1,rawVars:1,init:function(t,n,i){i._onInit=function(t){var i,r;if(D(n)&&(i={},vt(n,function(t){return i[t]=1}),n=i),e){for(r in i={},n)i[r]=e(n[r]);n=i}!function(t,e){var n,i,r,s=t._targets;for(n in e)for(i=s.length;i--;)(r=t._ptLookup[i][n])&&(r=r.d)&&(r._pt&&(r=An(r,n)),r&&r.modifier&&r.modifier(e[n],t,s[i],n))}(t,n)}}}},Cn=En.registerPlugin({name:"attr",init:function(t,e,n,i,r){var s,o,a;for(s in this.tween=n,e)a=t.getAttribute(s)||"",(o=this.add(t,"setAttribute",(a||0)+"",e[s],i,r,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var n=e._pt;n;)d?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",headless:1,init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n],0,0,0,0,0,1)}},kn("roundProps",ce),kn("modifiers"),kn("snap",he))||En;en.version=$e.version=Cn.version="3.15.0",v=1,F()&&Re();De.Power0,De.Power1,De.Power2,De.Power3,De.Power4,De.Linear,De.Quad,De.Cubic,De.Quart,De.Quint,De.Strong,De.Elastic,De.Back,De.SteppedEase,De.Bounce,De.Sine,De.Expo,De.Circ;var Mn,Rn,Dn,On,Vn,Ln,jn,Bn,Fn={},In=180/Math.PI,zn=Math.PI/180,Un=Math.atan2,Wn=/([A-Z])/g,Nn=/(left|right|width|margin|padding|x)/i,$n=/[\s,\(]\S/,Hn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yn=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Xn=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},qn=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Kn=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Gn=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},Zn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Qn=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Jn=function(t,e,n){return t.style[e]=n},ti=function(t,e,n){return t.style.setProperty(e,n)},ei=function(t,e,n){return t._gsap[e]=n},ni=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},ii=function(t,e,n,i,r){var s=t._gsap;s.scaleX=s.scaleY=n,s.renderTransform(r,s)},ri=function(t,e,n,i,r){var s=t._gsap;s[e]=n,s.renderTransform(r,s)},si="transform",oi=si+"Origin",ai=function t(e,n){var i=this,r=this.target,s=r.style,o=r._gsap;if(e in Fn&&s){if(this.tfm=this.tfm||{},"transform"===e)return Hn.transform.split(",").forEach(function(e){return t.call(i,e,n)});if(~(e=Hn[e]||e).indexOf(",")?e.split(",").forEach(function(t){return i.tfm[t]=Pi(r,t)}):this.tfm[e]=o.x?o[e]:Pi(r,e),e===oi&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(si)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(oi,n,"")),e=si}(s||n)&&this.props.push(e,n,s[e])},li=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ui=function(){var t,e,n=this.props,i=this.target,r=i.style,s=i._gsap;for(t=0;t<n.length;t+=3)n[t+1]?2===n[t+1]?i[n[t]](n[t+2]):i[n[t]]=n[t+2]:n[t+2]?r[n[t]]=n[t+2]:r.removeProperty("--"===n[t].substr(0,2)?n[t]:n[t].replace(Wn,"-$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=jn())&&t.isStart||r[si]||(li(r),s.zOrigin&&r[oi]&&(r[oi]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},ci=function(t,e){var n={target:t,props:[],revert:ui,save:ai};return t._gsap||Cn.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return n.save(t)}),n},hi=function(t,e){var n=Rn.createElementNS?Rn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Rn.createElement(t);return n&&n.style?n:Rn.createElement(t)},di=function t(e,n,i){var r=getComputedStyle(e);return r[n]||r.getPropertyValue(n.replace(Wn,"-$1").toLowerCase())||r.getPropertyValue(n)||!i&&t(e,fi(n)||n,1)||""},pi="O,Moz,ms,Ms,Webkit".split(","),fi=function(t,e,n){var i=(e||Vn).style,r=5;if(t in i&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);r--&&!(pi[r]+t in i););return r<0?null:(3===r?"ms":r>=0?pi[r]:"")+t},mi=function(){"undefined"!=typeof window&&window.document&&(Mn=window,Rn=Mn.document,Dn=Rn.documentElement,Vn=hi("div")||{style:{}},hi("div"),si=fi(si),oi=si+"Origin",Vn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Bn=!!fi("perspective"),jn=Cn.core.reverting,On=1)},gi=function(t){var e,n=t.ownerSVGElement,i=hi("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0);r.style.display="block",i.appendChild(r),Dn.appendChild(i);try{e=r.getBBox()}catch(s){}return i.removeChild(r),Dn.removeChild(i),e},yi=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},vi=function(t){var e,n;try{e=t.getBBox()}catch(i){e=gi(t),n=1}return e&&(e.width||e.height)||n||(e=gi(t)),!e||e.width||e.x||e.y?e:{x:+yi(t,["x","cx","x1"])||0,y:+yi(t,["y","cy","y1"])||0,width:0,height:0}},_i=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!vi(t))},xi=function(t,e){if(e){var n,i=t.style;e in Fn&&e!==oi&&(e=si),i.removeProperty?("ms"!==(n=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty("--"===n?e:e.replace(Wn,"-$1").toLowerCase())):i.removeAttribute(e)}},wi=function(t,e,n,i,r,s){var o=new gn(t._pt,e,n,0,1,s?Qn:Zn);return t._pt=o,o.b=i,o.e=r,t._props.push(n),o},bi={deg:1,rad:1,turn:1},Ti={grid:1,flex:1},Si=function t(e,n,i,r){var s,o,a,l,u=parseFloat(i)||0,c=(i+"").trim().substr((u+"").length)||"px",h=Vn.style,d=Nn.test(n),p="svg"===e.tagName.toLowerCase(),f=(p?"client":"offset")+(d?"Width":"Height"),m=100,g="px"===r,y="%"===r;if(r===c||!u||bi[r]||bi[c])return u;if("px"!==c&&!g&&(u=t(e,n,i,"px")),l=e.getCTM&&_i(e),(y||"%"===c)&&(Fn[n]||~n.indexOf("adius")))return s=l?e.getBBox()[d?"width":"height"]:e[f],_t(y?u/s*m:u/100*s);if(h[d?"width":"height"]=m+(g?c:r),o="rem"!==r&&~n.indexOf("adius")||"em"===r&&e.appendChild&&!p?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==Rn&&o.appendChild||(o=Rn.body),(a=o._gsap)&&y&&a.width&&d&&a.time===Me.time&&!a.uncache)return _t(u/a.width*m);if(!y||"height"!==n&&"width"!==n)(y||"%"===c)&&!Ti[di(o,"display")]&&(h.position=di(e,"position")),o===e&&(h.position="static"),o.appendChild(Vn),s=Vn[f],o.removeChild(Vn),h.position="absolute";else{var v=e.style[n];e.style[n]=m+r,s=e[f],v?e.style[n]=v:xi(e,n)}return d&&y&&((a=gt(o)).time=Me.time,a.width=o[f]),_t(g?s*u/m:s&&u?m/s*u:0)},Pi=function(t,e,n,i){var r;return On||mi(),e in Hn&&"transform"!==e&&~(e=Hn[e]).indexOf(",")&&(e=e.split(",")[0]),Fn[e]&&"transform"!==e?(r=Bi(t,i),r="transformOrigin"!==e?r[e]:r.svg?r.origin:Fi(di(t,oi))+" "+r.zOrigin+"px"):(!(r=t.style[e])||"auto"===r||i||~(r+"").indexOf("calc("))&&(r=Mi[e]&&Mi[e](t,e,n)||di(t,e)||yt(t,e)||("opacity"===e?1:0)),n&&!~(r+"").trim().indexOf(" ")?Si(t,e,r,n)+n:r},Ei=function(t,e,n,i){if(!n||"none"===n){var r=fi(e,t,1),s=r&&di(t,r,1);s&&s!==n?(e=r,n=s):"borderColor"===e&&(n=di(t,"borderTopColor"))}var o,a,l,u,c,h,d,p,f,m,g,y=new gn(this._pt,t.style,e,0,1,cn),v=0,_=0;if(y.b=n,y.e=i,n+="","var(--"===(i+="").substring(0,6)&&(i=di(t,i.substring(4,i.indexOf(")")))),"auto"===i&&(h=t.style[e],t.style[e]=i,i=di(t,e)||i,h?t.style[e]=h:xi(t,e)),Ce(o=[n,i]),i=o[1],l=(n=o[0]).match(Y)||[],(i.match(Y)||[]).length){for(;a=Y.exec(i);)d=a[0],f=i.substring(v,a.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),d!==(h=l[_++]||"")&&(u=parseFloat(h)||0,g=h.substr((u+"").length),"="===d.charAt(1)&&(d=wt(u,d)+g),p=parseFloat(d),m=d.substr((p+"").length),v=Y.lastIndex-m.length,m||(m=m||b.units[e]||g,v===i.length&&(i+=m,y.e+=m)),g!==m&&(u=Si(t,e,h,m)||0),y._pt={_next:y._pt,p:f||1===_?f:",",s:u,c:p-u,m:c&&c<4||"zIndex"===e?Math.round:0});y.c=v<i.length?i.substring(v,i.length):""}else y.r="display"===e&&"none"===i?Qn:Zn;return q.test(i)&&(y.e=0),this._pt=y,y},Ai={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ki=function(t){var e=t.split(" "),n=e[0],i=e[1]||"50%";return"top"!==n&&"bottom"!==n&&"left"!==i&&"right"!==i||(t=n,n=i,i=t),e[0]=Ai[n]||n,e[1]=Ai[i]||i,e.join(" ")},Ci=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,i,r,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",i=1;else for(r=(a=a.split(",")).length;--r>-1;)n=a[r],Fn[n]&&(i=1,n="transformOrigin"===n?oi:si),xi(s,n);i&&(xi(s,si),l&&(l.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",Bi(s,1),l.uncache=1,li(o)))}},Mi={clearProps:function(t,e,n,i,r){if("isFromStart"!==r.data){var s=t._pt=new gn(t._pt,e,n,0,0,Ci);return s.u=i,s.pr=-10,s.tween=r,t._props.push(n),1}}},Ri=[1,0,0,1,0,0],Di={},Oi=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Vi=function(t){var e=di(t,si);return Oi(e)?Ri:e.substr(7).match(H).map(_t)},Li=function(t,e){var n,i,r,s,o=t._gsap||gt(t),a=t.style,l=Vi(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(r=t.transform.baseVal.consolidate().matrix).a,r.b,r.c,r.d,r.e,r.f]).join(",")?Ri:l:(l!==Ri||t.offsetParent||t===Dn||o.svg||(r=a.display,a.display="block",(n=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,i=t.nextElementSibling,Dn.appendChild(t)),l=Vi(t),r?a.display=r:xi(t,"display"),s&&(i?n.insertBefore(t,i):n?n.appendChild(t):Dn.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},ji=function(t,e,n,i,r,s){var o,a,l,u=t._gsap,c=r||Li(t,!0),h=u.xOrigin||0,d=u.yOrigin||0,p=u.xOffset||0,f=u.yOffset||0,m=c[0],g=c[1],y=c[2],v=c[3],_=c[4],x=c[5],w=e.split(" "),b=parseFloat(w[0])||0,T=parseFloat(w[1])||0;n?c!==Ri&&(a=m*v-g*y)&&(l=b*(-g/a)+T*(m/a)-(m*x-g*_)/a,b=b*(v/a)+T*(-y/a)+(y*x-v*_)/a,T=l):(b=(o=vi(t)).x+(~w[0].indexOf("%")?b/100*o.width:b),T=o.y+(~(w[1]||w[0]).indexOf("%")?T/100*o.height:T)),i||!1!==i&&u.smooth?(_=b-h,x=T-d,u.xOffset=p+(_*m+x*y)-_,u.yOffset=f+(_*g+x*v)-x):u.xOffset=u.yOffset=0,u.xOrigin=b,u.yOrigin=T,u.smooth=!!i,u.origin=e,u.originIsAbsolute=!!n,t.style[oi]="0px 0px",s&&(wi(s,u,"xOrigin",h,b),wi(s,u,"yOrigin",d,T),wi(s,u,"xOffset",p,u.xOffset),wi(s,u,"yOffset",f,u.yOffset)),t.setAttribute("data-svg-origin",b+" "+T)},Bi=function(t,e){var n=t._gsap||new We(t);if("x"in n&&!e&&!n.uncache)return n;var i,r,s,o,a,l,u,c,h,d,p,f,m,g,y,v,_,x,w,T,S,P,E,A,k,C,M,R,D,O,V=t.style,L=n.scaleX<0,j="px",B="deg",F=getComputedStyle(t),I=di(t,oi)||"0",z=i=r=o=a=l=u=c=h=0,U=s=1;return n.svg=!(!t.getCTM||!_i(t)),F.translate&&("none"===F.translate&&"none"===F.scale&&"none"===F.rotate||(V[si]=("none"!==F.translate?"translate3d("+(F.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==F.rotate?"rotate("+F.rotate+") ":"")+("none"!==F.scale?"scale("+F.scale.split(" ").join(",")+") ":"")+("none"!==F[si]?F[si]:"")),V.scale=V.rotate=V.translate="none"),f=Li(t,n.svg),n.svg&&(n.uncache?(E=t.getBBox(),I=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",P=""):P=!e&&t.getAttribute("data-svg-origin"),ji(t,P||I,!!P||n.originIsAbsolute,!1!==n.smooth,f)),d=n.xOrigin||0,p=n.yOrigin||0,f!==Ri&&(v=f[0],_=f[1],x=f[2],w=f[3],z=T=f[4],i=S=f[5],6===f.length?(U=Math.sqrt(v*v+_*_),s=Math.sqrt(w*w+x*x),o=v||_?Un(_,v)*In:0,(u=x||w?Un(x,w)*In+o:0)&&(s*=Math.abs(Math.cos(u*zn))),n.svg&&(z-=d-(d*v+p*x),i-=p-(d*_+p*w))):(O=f[6],R=f[7],k=f[8],C=f[9],M=f[10],D=f[11],z=f[12],i=f[13],r=f[14],a=(m=Un(O,M))*In,m&&(P=T*(g=Math.cos(-m))+k*(y=Math.sin(-m)),E=S*g+C*y,A=O*g+M*y,k=T*-y+k*g,C=S*-y+C*g,M=O*-y+M*g,D=R*-y+D*g,T=P,S=E,O=A),l=(m=Un(-x,M))*In,m&&(g=Math.cos(-m),D=w*(y=Math.sin(-m))+D*g,v=P=v*g-k*y,_=E=_*g-C*y,x=A=x*g-M*y),o=(m=Un(_,v))*In,m&&(P=v*(g=Math.cos(m))+_*(y=Math.sin(m)),E=T*g+S*y,_=_*g-v*y,S=S*g-T*y,v=P,T=E),a&&Math.abs(a)+Math.abs(o)>359.9&&(a=o=0,l=180-l),U=_t(Math.sqrt(v*v+_*_+x*x)),s=_t(Math.sqrt(S*S+O*O)),m=Un(T,S),u=Math.abs(m)>2e-4?m*In:0,h=D?1/(D<0?-D:D):0),n.svg&&(P=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!Oi(di(t,si)),P&&t.setAttribute("transform",P))),Math.abs(u)>90&&Math.abs(u)<270&&(L?(U*=-1,u+=o<=0?180:-180,o+=o<=0?180:-180):(s*=-1,u+=u<=0?180:-180)),e=e||n.uncache,n.x=z-((n.xPercent=z&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-z)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+j,n.y=i-((n.yPercent=i&&(!e&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+j,n.z=r+j,n.scaleX=_t(U),n.scaleY=_t(s),n.rotation=_t(o)+B,n.rotationX=_t(a)+B,n.rotationY=_t(l)+B,n.skewX=u+B,n.skewY=c+B,n.transformPerspective=h+j,(n.zOrigin=parseFloat(I.split(" ")[2])||!e&&n.zOrigin||0)&&(V[oi]=Fi(I)),n.xOffset=n.yOffset=0,n.force3D=b.force3D,n.renderTransform=n.svg?Hi:Bn?$i:zi,n.uncache=0,n},Fi=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ii=function(t,e,n){var i=ie(e);return _t(parseFloat(e)+parseFloat(Si(t,"x",n+"px",i)))+i},zi=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,$i(t,e)},Ui="0deg",Wi="0px",Ni=") ",$i=function(t,e){var n=e||this,i=n.xPercent,r=n.yPercent,s=n.x,o=n.y,a=n.z,l=n.rotation,u=n.rotationY,c=n.rotationX,h=n.skewX,d=n.skewY,p=n.scaleX,f=n.scaleY,m=n.transformPerspective,g=n.force3D,y=n.target,v=n.zOrigin,_="",x="auto"===g&&t&&1!==t||!0===g;if(v&&(c!==Ui||u!==Ui)){var w,b=parseFloat(u)*zn,T=Math.sin(b),S=Math.cos(b);b=parseFloat(c)*zn,w=Math.cos(b),s=Ii(y,s,T*w*-v),o=Ii(y,o,-Math.sin(b)*-v),a=Ii(y,a,S*w*-v+v)}m!==Wi&&(_+="perspective("+m+Ni),(i||r)&&(_+="translate("+i+"%, "+r+"%) "),(x||s!==Wi||o!==Wi||a!==Wi)&&(_+=a!==Wi||x?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Ni),l!==Ui&&(_+="rotate("+l+Ni),u!==Ui&&(_+="rotateY("+u+Ni),c!==Ui&&(_+="rotateX("+c+Ni),h===Ui&&d===Ui||(_+="skew("+h+", "+d+Ni),1===p&&1===f||(_+="scale("+p+", "+f+Ni),y.style[si]=_||"translate(0, 0)"},Hi=function(t,e){var n,i,r,s,o,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,h=a.y,d=a.rotation,p=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,y=a.target,v=a.xOrigin,_=a.yOrigin,x=a.xOffset,w=a.yOffset,b=a.forceCSS,T=parseFloat(c),S=parseFloat(h);d=parseFloat(d),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),d+=f),d||p?(d*=zn,p*=zn,n=Math.cos(d)*m,i=Math.sin(d)*m,r=Math.sin(d-p)*-g,s=Math.cos(d-p)*g,p&&(f*=zn,o=Math.tan(p-f),r*=o=Math.sqrt(1+o*o),s*=o,f&&(o=Math.tan(f),n*=o=Math.sqrt(1+o*o),i*=o)),n=_t(n),i=_t(i),r=_t(r),s=_t(s)):(n=m,s=g,i=r=0),(T&&!~(c+"").indexOf("px")||S&&!~(h+"").indexOf("px"))&&(T=Si(y,"x",c,"px"),S=Si(y,"y",h,"px")),(v||_||x||w)&&(T=_t(T+v-(v*n+_*r)+x),S=_t(S+_-(v*i+_*s)+w)),(l||u)&&(o=y.getBBox(),T=_t(T+l/100*o.width),S=_t(S+u/100*o.height)),o="matrix("+n+","+i+","+r+","+s+","+T+","+S+")",y.setAttribute("transform",o),b&&(y.style[si]=o)},Yi=function(t,e,n,i,r){var s,o,a=360,l=D(r),u=parseFloat(r)*(l&&~r.indexOf("rad")?In:1)-i,c=i+u+"deg";return l&&("short"===(s=r.split("_")[1])&&(u%=a)!==u%180&&(u+=u<0?a:-360),"cw"===s&&u<0?u=(u+36e9)%a-~~(u/a)*a:"ccw"===s&&u>0&&(u=(u-36e9)%a-~~(u/a)*a)),t._pt=o=new gn(t._pt,e,n,i,u,Xn),o.e=c,o.u="deg",t._props.push(n),o},Xi=function(t,e){for(var n in e)t[n]=e[n];return t},qi=function(t,e,n){var i,r,s,o,a,l,u,c=Xi({},n._gsap),h=n.style;for(r in c.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),h[si]=e,i=Bi(n,1),xi(n,si),n.setAttribute("transform",s)):(s=getComputedStyle(n)[si],h[si]=e,i=Bi(n,1),h[si]=s),Fn)(s=c[r])!==(o=i[r])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)<0&&(a=ie(s)!==(u=ie(o))?Si(n,r,s,u):parseFloat(s),l=parseFloat(o),t._pt=new gn(t._pt,i,r,a,l-a,Yn),t._pt.u=u||0,t._props.push(r));Xi(i,c)};vt("padding,margin,Width,Radius",function(t,e){var n="Top",i="Right",r="Bottom",s="Left",o=(e<3?[n,i,r,s]:[n+s,n+i,r+i,r+s]).map(function(n){return e<2?t+n:"border"+n+t});Mi[e>1?"border"+t:t]=function(t,e,n,i,r){var s,a;if(arguments.length<4)return s=o.map(function(e){return Pi(t,e,n)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(i+"").split(" "),a={},o.forEach(function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,a,r)}});var Ki,Gi,Zi,Qi={name:"css",register:mi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,i,r){var s,o,a,l,u,c,h,d,p,f,m,g,y,v,_,x,w,T=this._props,S=t.style,P=n.vars.startAt;for(h in On||mi(),this.styles=this.styles||ci(t),x=this.styles.props,this.tween=n,e)if("autoRound"!==h&&(o=e[h],!ct[h]||!Ke(h,e,n,i,t,r)))if(u=typeof o,c=Mi[h],"function"===u&&(u=typeof(o=o.call(n,i,t,r))),"string"===u&&~o.indexOf("random(")&&(o=fe(o)),c)c(this,t,h,o,n)&&(_=1);else if("--"===h.substr(0,2))s=(getComputedStyle(t).getPropertyValue(h)+"").trim(),o+="",Ae.lastIndex=0,Ae.test(s)||(d=ie(s),(p=ie(o))?d!==p&&(s=Si(t,h,s,p)+p):d&&(o+=d)),this.add(S,"setProperty",s,o,i,r,0,0,h),T.push(h),x.push(h,0,S[h]);else if("undefined"!==u){if(P&&h in P?(s="function"==typeof P[h]?P[h].call(n,i,t,r):P[h],D(s)&&~s.indexOf("random(")&&(s=fe(s)),ie(s+"")||"auto"===s||(s+=b.units[h]||ie(Pi(t,h))||""),"="===(s+"").charAt(1)&&(s=Pi(t,h))):s=Pi(t,h),l=parseFloat(s),(f="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),h in Hn&&("autoAlpha"===h&&(1===l&&"hidden"===Pi(t,"visibility")&&a&&(l=0),x.push("visibility",0,S.visibility),wi(this,S,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==h&&"transform"!==h&&~(h=Hn[h]).indexOf(",")&&(h=h.split(",")[0])),m=h in Fn){if(this.styles.save(h),w=o,"string"===u&&"var(--"===o.substring(0,6)){if("calc("===(o=di(t,o.substring(4,o.indexOf(")")))).substring(0,5)){var E=t.style.perspective;t.style.perspective=o,o=di(t,"perspective"),E?t.style.perspective=E:xi(t,"perspective")}a=parseFloat(o)}if(g||((y=t._gsap).renderTransform&&!e.parseTransform||Bi(t,e.parseTransform),v=!1!==e.smoothOrigin&&y.smooth,(g=this._pt=new gn(this._pt,S,si,0,1,y.renderTransform,y,0,-1)).dep=1),"scale"===h)this._pt=new gn(this._pt,y,"scaleY",y.scaleY,(f?wt(y.scaleY,f+a):a)-y.scaleY||0,Yn),this._pt.u=0,T.push("scaleY",h),h+="X";else{if("transformOrigin"===h){x.push(oi,0,S[oi]),o=ki(o),y.svg?ji(t,o,0,v,0,this):((p=parseFloat(o.split(" ")[2])||0)!==y.zOrigin&&wi(this,y,"zOrigin",y.zOrigin,p),wi(this,S,h,Fi(s),Fi(o)));continue}if("svgOrigin"===h){ji(t,o,1,v,0,this);continue}if(h in Di){Yi(this,y,h,l,f?wt(l,f+o):o);continue}if("smoothOrigin"===h){wi(this,y,"smooth",y.smooth,o);continue}if("force3D"===h){y[h]=o;continue}if("transform"===h){qi(this,o,t);continue}}}else h in S||(h=fi(h)||h);if(m||(a||0===a)&&(l||0===l)&&!$n.test(o)&&h in S)a||(a=0),(d=(s+"").substr((l+"").length))!==(p=ie(o)||(h in b.units?b.units[h]:d))&&(l=Si(t,h,s,p)),this._pt=new gn(this._pt,m?y:S,h,l,(f?wt(l,f+a):a)-l,m||"px"!==p&&"zIndex"!==h||!1===e.autoRound?Yn:Gn),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Kn):d!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=qn);else if(h in S)Ei.call(this,t,h,s,f?f+o:o);else if(h in t)this.add(t,h,s||t[h],f?f+o:o,i,r);else if("parseTransform"!==h){tt();continue}m||(h in S?x.push(h,0,S[h]):"function"==typeof t[h]?x.push(h,2,t[h]()):x.push(h,1,s||t[h])),T.push(h)}_&&mn(this)},render:function(t,e){if(e.tween._time||!jn())for(var n=e._pt;n;)n.r(t,n.d),n=n._next;else e.styles.revert()},get:Pi,aliases:Hn,getSetter:function(t,e,n){var i=Hn[e];return i&&i.indexOf(",")<0&&(e=i),e in Fn&&e!==oi&&(t._gsap.x||Pi(t,"x"))?n&&Ln===n?"scale"===e?ni:ei:(Ln=n||{})&&("scale"===e?ii:ri):t.style&&!L(t.style[e])?Jn:~e.indexOf("-")?ti:an(t,e)},core:{_removeProperty:xi,_getMatrix:Li}};Cn.utils.checkPrefix=fi,Cn.core.getStyleSaver=ci,Zi=vt((Ki="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Gi="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){Fn[t]=1}),vt(Gi,function(t){b.units[t]="deg",Di[t]=1}),Hn[Zi[13]]=Ki+","+Gi,vt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");Hn[e[1]]=Zi[e[0]]}),vt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){b.units[t]="px"}),Cn.registerPlugin(Qi);var Ji=Cn.registerPlugin(Qi)||Cn;Ji.core.Tween;function tr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function er(t,e,n){return e&&tr(t.prototype,e),n&&tr(t,n),t}function nr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ir(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function rr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
vendor: 9,999 bytes, line 1
1e%2?ir(Object(n),!0).forEach(function(e){nr(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function sr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,r=!1,s=void 0;try{for(var o,a=t[Symbol.iterator]();!(i=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(l){r=!0,s=l}finally{try{i||null==a.return||a.return()}finally{if(r)throw s}}return n}(t,e)||ar(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function or(t){return function(t){if(Array.isArray(t))return lr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||ar(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ar(t,e){if(t){if("string"==typeof t)return lr(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lr(t,e):void 0}}function lr(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ur(t,e){return Object.getOwnPropertyNames(Object(t)).reduce(function(n,i){return Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(Object(e),i)||Object.getOwnPropertyDescriptor(Object(t),i))},{})}function cr(t){return"string"==typeof t}function hr(t){return Array.isArray(t)}function dr(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=ur(e);return void 0!==n.types?t=n.types:void 0!==n.split&&(t=n.split),void 0!==t&&(n.types=(cr(t)||hr(t)?String(t):"").split(",").map(function(t){return String(t).trim()}).filter(function(t){return/((line)|(word)|(char))/i.test(t)})),(n.absolute||n.position)&&(n.absolute=n.absolute||/absolute/.test(e.position)),n}function pr(t){var e=cr(t)||hr(t)?String(t):"";return{none:!e,lines:/line/i.test(e),words:/word/i.test(e),chars:/char/i.test(e)}}function fr(t){return null!==t&&"object"==typeof t}function mr(t){return fr(t)&&/^(1|3|11)$/.test(t.nodeType)}function gr(t){return hr(t)?t:null==t?[]:function(t){return fr(t)&&function(t){return"number"==typeof t&&t>-1&&t%1==0}(t.length)}(t)?Array.prototype.slice.call(t):[t]}function yr(t){var e=t;return cr(t)&&(e=/^(#[a-z]\w+)$/.test(t.trim())?document.getElementById(t.trim().slice(1)):document.querySelectorAll(t)),gr(e).reduce(function(t,e){return[].concat(or(t),or(gr(e).filter(mr)))},[])}!function(){function t(){for(var t=arguments.length,e=0;e<t;e++){var n=e<0||arguments.length<=e?void 0:arguments[e];1===n.nodeType||11===n.nodeType?this.appendChild(n):this.appendChild(document.createTextNode(String(n)))}}function e(){for(;this.lastChild;)this.removeChild(this.lastChild);arguments.length&&this.append.apply(this,arguments)}function n(){for(var t=this.parentNode,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.length;if(t)for(r||t.removeChild(this);r--;){var s=n[r];"object"!=typeof s?s=this.ownerDocument.createTextNode(s):s.parentNode&&s.parentNode.removeChild(s),r?t.insertBefore(this.previousSibling,s):t.replaceChild(s,this)}}"undefined"!=typeof Element&&(Element.prototype.append||(Element.prototype.append=t,DocumentFragment.prototype.append=t),Element.prototype.replaceChildren||(Element.prototype.replaceChildren=e,DocumentFragment.prototype.replaceChildren=e),Element.prototype.replaceWith||(Element.prototype.replaceWith=n,DocumentFragment.prototype.replaceWith=n))}();var vr=Object.entries,_r="_splittype",xr={},wr=0;function br(t,e,n){if(!fr(t))return null;var i=t[_r]||(t[_r]=++wr),r=xr[i]||(xr[i]={});return void 0===n?e&&Object.getPrototypeOf(e)===Object.prototype&&(xr[i]=rr(rr({},r),e)):void 0!==e&&(r[e]=n),n}function Tr(t,e){var n=fr(t)?t[_r]:null,i=n&&xr[n]||{};return void 0===e?i:i[e]}function Sr(t){var e=t&&t[_r];e&&(delete t[e],delete xr[e])}var Pr="\\ud800-\\udfff",Er="\\u0300-\\u036f\\ufe20-\\ufe23",Ar="\\u20d0-\\u20f0",kr="\\ufe0e\\ufe0f",Cr="[".concat(Pr,"]"),Mr="[".concat(Er).concat(Ar,"]"),Rr="\\ud83c[\\udffb-\\udfff]",Dr="(?:".concat(Mr,"|").concat(Rr,")"),Or="[^".concat(Pr,"]"),Vr="(?:\\ud83c[\\udde6-\\uddff]){2}",Lr="[\\ud800-\\udbff][\\udc00-\\udfff]",jr="\\u200d",Br="".concat(Dr,"?"),Fr="[".concat(kr,"]?"),Ir=Fr+Br+("(?:"+jr+"(?:"+[Or,Vr,Lr].join("|")+")"+Fr+Br+")*"),zr="(?:".concat(["".concat(Or).concat(Mr,"?"),Mr,Vr,Lr,Cr].join("|"),"\n)"),Ur=RegExp("".concat(Rr,"(?=").concat(Rr,")|").concat(zr).concat(Ir),"g"),Wr=RegExp("[".concat([jr,Pr,Er,Ar,kr].join(""),"]"));function Nr(t){return Wr.test(t)}function $r(t){return Nr(t)?function(t){return t.match(Ur)||[]}(t):function(t){return t.split("")}(t)}function Hr(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(t=null==(e=t)?"":String(e))&&cr(t)&&!n&&Nr(t)?$r(t):t.split(n)}function Yr(t,e){var n=document.createElement(t);return e?(Object.keys(e).forEach(function(t){var i=e[t],r=cr(i)?i.trim():i;null!==r&&""!==r&&("children"===t?n.append.apply(n,or(gr(r))):n.setAttribute(t,r))}),n):n}var Xr={splitClass:"",lineClass:"line",wordClass:"word",charClass:"char",types:["lines","words","chars"],absolute:!1,tagName:"div"};function qr(t,e){var n,i=pr((e=ur(Xr,e)).types),r=e.tagName,s=t.nodeValue,o=document.createDocumentFragment(),a=[];return/^\s/.test(s)&&o.append(" "),n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return(t?String(t):"").trim().replace(/\s+/g," ").split(e)}(s).reduce(function(t,n,s,l){var u,c;return i.chars&&(c=Hr(n).map(function(t){var n=Yr(r,{class:"".concat(e.splitClass," ").concat(e.charClass),style:"display: inline-block;",children:t});return br(n,"isChar",!0),a=[].concat(or(a),[n]),n})),i.words||i.lines?(br(u=Yr(r,{class:"".concat(e.wordClass," ").concat(e.splitClass),style:"display: inline-block; ".concat(i.words&&e.absolute?"position: relative;":""),children:i.chars?c:n}),{isWord:!0,isWordStart:!0,isWordEnd:!0}),o.appendChild(u)):c.forEach(function(t){o.appendChild(t)}),s<l.length-1&&o.append(" "),i.words?t.concat(u):t},[]),/\s$/.test(s)&&o.append(" "),t.replaceWith(o),{words:n,chars:a}}function Kr(t,e){var n=t.nodeType,i={words:[],chars:[]};if(!/(1|3|11)/.test(n))return i;if(3===n&&/\S/.test(t.nodeValue))return qr(t,e);var r=gr(t.childNodes);if(r.length&&(br(t,"isSplit",!0),!Tr(t).isRoot)){t.style.display="inline-block",t.style.position="relative";var s=t.nextSibling,o=t.previousSibling,a=t.textContent||"",l=s?s.textContent:" ",u=o?o.textContent:" ";br(t,{isWordEnd:/\s$/.test(a)||/^\s/.test(l),isWordStart:/^\s/.test(a)||/\s$/.test(u)})}return r.reduce(function(t,n){var i=Kr(n,e),r=i.words,s=i.chars;return{words:[].concat(or(t.words),or(r)),chars:[].concat(or(t.chars),or(s))}},i)}function Gr(t){Tr(t).isWord?(Sr(t),t.replaceWith.apply(t,or(t.childNodes))):gr(t.children).forEach(function(t){return Gr(t)})}function Zr(t,e,n){var i,r,s,o=pr(e.types),a=e.tagName,l=t.getElementsByTagName("*"),u=[],c=[],h=null,d=[],p=t.parentElement,f=t.nextElementSibling,m=document.createDocumentFragment(),g=window.getComputedStyle(t),y=g.textAlign,v=.2*parseFloat(g.fontSize);return e.absolute&&(s={left:t.offsetLeft,top:t.offsetTop,width:t.offsetWidth},r=t.offsetWidth,i=t.offsetHeight,br(t,{cssWidth:t.style.width,cssHeight:t.style.height})),gr(l).forEach(function(i){var r=i.parentElement===t,s=function(t,e,n,i){if(!n.absolute)return{top:e?t.offsetTop:null};var r=t.offsetParent,s=sr(i,2),o=s[0],a=s[1],l=0,u=0;if(r&&r!==document.body){var c=r.getBoundingClientRect();l=c.x+o,u=c.y+a}var h=t.getBoundingClientRect(),d=h.width,p=h.height,f=h.x;return{width:d,height:p,top:h.y+a-u,left:f+o-l}}(i,r,e,n),a=s.width,l=s.height,d=s.top,p=s.left;/^br$/i.test(i.nodeName)||(o.lines&&r&&((null===h||d-h>=v)&&(h=d,u.push(c=[])),c.push(i)),e.absolute&&br(i,{top:d,left:p,width:a,height:l}))}),p&&p.removeChild(t),o.lines&&(d=u.map(function(t){var n=Yr(a,{class:"".concat(e.splitClass," ").concat(e.lineClass),style:"display: block; text-align: ".concat(y,"; width: 100%;")});br(n,"isLine",!0);var i={height:0,top:1e4};return m.appendChild(n),t.forEach(function(t,e,r){var s=Tr(t),o=s.isWordEnd,a=s.top,l=s.height,u=r[e+1];i.height=Math.max(i.height,l),i.top=Math.min(i.top,a),n.appendChild(t),o&&Tr(u).isWordStart&&n.append(" ")}),e.absolute&&br(n,{height:i.height,top:i.top}),n}),o.words||Gr(m),t.replaceChildren(m)),e.absolute&&(t.style.width="".concat(t.style.width||r,"px"),t.style.height="".concat(i,"px"),gr(l).forEach(function(t){var e=Tr(t),n=e.isLine,i=e.top,r=e.left,o=e.width,a=e.height,l=Tr(t.parentElement),u=!n&&l.isLine;t.style.top="".concat(u?i-l.top:i,"px"),t.style.left="".concat(n?s.left:r-(u?s.left:0),"px"),t.style.height="".concat(a,"px"),t.style.width="".concat(n?s.width:o,"px"),t.style.position="absolute"})),p&&(f?p.insertBefore(t,f):p.appendChild(t)),d}var Qr=ur(Xr,{}),Jr=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.isSplit=!1,this.settings=ur(Qr,dr(n)),this.elements=yr(e),this.split()}return er(t,null,[{key:"clearData",value:function(){Object.keys(xr).forEach(function(t){delete xr[t]})}},{key:"setDefaults",value:function(t){return Qr=ur(Qr,dr(t)),Xr}},{key:"revert",value:function(t){yr(t).forEach(function(t){var e=Tr(t),n=e.isSplit,i=e.html,r=e.cssWidth,s=e.cssHeight;n&&(t.innerHTML=i,t.style.width=r||"",t.style.height=s||"",Sr(t))})}},{key:"create",value:function(e,n){return new t(e,n)}},{key:"data",get:function(){return xr}},{key:"defaults",get:function(){return Qr},set:function(t){Qr=ur(Qr,dr(t))}}]),er(t,[{key:"split",value:function(t){var e=this;
1this.revert(),this.elements.forEach(function(t){br(t,"html",t.innerHTML)}),this.lines=[],this.words=[],this.chars=[];var n=[window.pageXOffset,window.pageYOffset];void 0!==t&&(this.settings=ur(this.settings,dr(t)));var i=pr(this.settings.types);i.none||(this.elements.forEach(function(t){br(t,"isRoot",!0);var n=Kr(t,e.settings),i=n.words,r=n.chars;e.words=[].concat(or(e.words),or(i)),e.chars=[].concat(or(e.chars),or(r))}),this.elements.forEach(function(t){if(i.lines||e.settings.absolute){var r=Zr(t,e.settings,n);e.lines=[].concat(or(e.lines),or(r))}}),this.isSplit=!0,window.scrollTo(n[0],n[1]),vr(xr).forEach(function(t){var e=sr(t,2),n=e[0],i=e[1],r=i.isRoot,s=i.isSplit;r&&s||(xr[n]=null,delete xr[n])}))}},{key:"revert",value:function(){this.isSplit&&(this.lines=null,this.words=null,this.chars=null,this.isSplit=!1),t.revert(this.elements)}}]),t}(),ts=l(),es=t(o(),1),ns=(0,es.createContext)({});function is(t){const e=(0,es.useRef)(null);return null===e.current&&(e.current=t()),e.current}var rs="undefined"!=typeof window?es.useLayoutEffect:es.useEffect,ss=(0,es.createContext)(null);function os(t,e){-1===t.indexOf(e)&&t.push(e)}function as(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}var ls=(t,e,n)=>n>e?e:n<t?t:n,us={},cs=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),hs=t=>"object"==typeof t&&null!==t,ds=t=>/^0[^.\s]+$/u.test(t);function ps(t){let e;return()=>(void 0===e&&(e=t()),e)}var fs=t=>t,ms=(...t)=>t.reduce((t,e)=>n=>e(t(n))),gs=(t,e,n)=>{const i=e-t;return i?(n-t)/i:1},ys=class{constructor(){this.subscriptions=[]}add(t){return os(this.subscriptions,t),()=>as(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let r=0;r<i;r++){const i=this.subscriptions[r];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},vs=t=>1e3*t,_s=t=>t/1e3,xs=(t,e)=>e?t*(1e3/e):0,ws=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function bs(t,e,n,i){if(t===e&&n===i)return fs;const r=e=>function(t,e,n,i,r){let s,o,a=0;do{o=e+(n-e)/2,s=ws(o,i,r)-t,s>0?n=o:e=o}while(Math.abs(s)>1e-7&&++a<12);return o}(e,0,1,t,n);return t=>0===t||1===t?t:ws(r(t),e,i)}var Ts=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ss=t=>e=>1-t(1-e),Ps=bs(.33,1.53,.69,.99),Es=Ss(Ps),As=Ts(Es),ks=t=>t>=1?1:(t*=2)<1?.5*Es(t):.5*(2-Math.pow(2,-10*(t-1))),Cs=t=>1-Math.sin(Math.acos(t)),Ms=Ss(Cs),Rs=Ts(Cs),Ds=bs(.42,0,1,1),Os=bs(0,0,.58,1),Vs=bs(.42,0,.58,1),Ls=t=>Array.isArray(t)&&"number"==typeof t[0],js={linear:fs,easeIn:Ds,easeInOut:Vs,easeOut:Os,circIn:Cs,circInOut:Rs,circOut:Ms,backIn:Es,backInOut:As,backOut:Ps,anticipate:ks},Bs=t=>{if(Ls(t)){t.length;const[e,n,i,r]=t;return bs(e,n,i,r)}return"string"==typeof t?js[t]:t},Fs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Is={value:null,addProjectionMetrics:null};function zs(t,e){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Fs.reduce((t,n)=>(t[n]=function(t,e){let n=new Set,i=new Set,r=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(c.schedule(e),t()),l++,e(a)}const c={schedule:(t,e=!1,s=!1)=>{const a=s&&r?n:i;return e&&o.add(t),a.add(t),t},cancel:t=>{i.delete(t),o.delete(t)},process:t=>{if(a=t,r)return void(s=!0);r=!0;const o=n;n=i,i=o,n.forEach(u),e&&Is.value&&Is.value.frameloop[e].push(l),l=0,n.clear(),r=!1,s&&(s=!1,c.process(t))}};return c}(s,e?n:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:d,render:p,postRender:f}=o,m=()=>{const s=us.useManualTiming,o=s?r.timestamp:performance.now();n=!1,s||(r.delta=i?1e3/60:Math.max(Math.min(o-r.timestamp,40),1)),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),c.process(r),h.process(r),d.process(r),p.process(r),f.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(m))};return{schedule:Fs.reduce((e,s)=>{const a=o[s];return e[s]=(e,s=!1,o=!1)=>(n||(n=!0,i=!0,r.isProcessing||t(m)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<Fs.length;e++)o[Fs[e]].cancel(t)},state:r,steps:o}}var Us,{schedule:Ws,cancel:Ns,state:$s,steps:Hs}=zs("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:fs,!0);function Ys(){Us=void 0}var Xs={now:()=>(void 0===Us&&Xs.set($s.isProcessing||us.useManualTiming?$s.timestamp:performance.now()),Us),set:t=>{Us=t,queueMicrotask(Ys)}},qs={layout:0,mainThread:0,waapi:0},Ks=t=>e=>"string"==typeof e&&e.startsWith(t),Gs=Ks("--"),Zs=Ks("var(--"),Qs=t=>!!Zs(t)&&Js.test(t.split("/*")[0].trim()),Js=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function to(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}var eo={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},no={...eo,transform:t=>ls(0,1,t)},io={...eo,default:1},ro=t=>Math.round(1e5*t)/1e5,so=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;var oo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ao=(t,e)=>n=>Boolean("string"==typeof n&&oo.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),lo=(t,e,n)=>i=>{if("string"!=typeof i)return i;const[r,s,o,a]=i.match(so);return{[t]:parseFloat(r),[e]:parseFloat(s),[n]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},uo={...eo,transform:t=>Math.round((t=>ls(0,255,t))(t))},co={test:ao("rgb","red"),parse:lo("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+uo.transform(t)+", "+uo.transform(e)+", "+uo.transform(n)+", "+ro(no.transform(i))+")"};var ho={test:ao("#"),parse:function(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alph
vendor: 12,975 bytes, line 1
1a:r?parseInt(r,16)/255:1}},transform:co.transform},po=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),fo=po("deg"),mo=po("%"),go=po("px"),yo=po("vh"),vo=po("vw"),_o=(()=>({...mo,parse:t=>mo.parse(t)/100,transform:t=>mo.transform(100*t)}))(),xo={test:ao("hsl","hue"),parse:lo("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+mo.transform(ro(e))+", "+mo.transform(ro(n))+", "+ro(no.transform(i))+")"},wo={test:t=>co.test(t)||ho.test(t)||xo.test(t),parse:t=>co.test(t)?co.parse(t):xo.test(t)?xo.parse(t):ho.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?co.transform(t):xo.transform(t),getAnimatableNone:t=>{const e=wo.parse(t);return e.alpha=0,wo.transform(e)}},bo=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var To="number",So="color",Po=/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 Eo(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;return{values:n,split:e.replace(Po,t=>(wo.test(t)?(i.color.push(s),r.push(So),n.push(wo.parse(t))):t.startsWith("var(")?(i.var.push(s),r.push("var"),n.push(t)):(i.number.push(s),r.push(To),n.push(parseFloat(t))),++s,"${}")).split("${}"),indexes:i,types:r}}function Ao({split:t,types:e}){const n=t.length;return i=>{let r="";for(let s=0;s<n;s++)if(r+=t[s],void 0!==i[s]){const t=e[s];r+=t===To?ro(i[s]):t===So?wo.transform(i[s]):i[s]}return r}}var ko=(t,e)=>{return"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof(n=t)?0:wo.test(n)?wo.getAnimatableNone(n):n;var n};var Co={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(so)?.length||0)+(t.match(bo)?.length||0)>0},parse:function(t){return Eo(t).values},createTransformer:function(t){return Ao(Eo(t))},getAnimatableNone:function(t){const e=Eo(t);return Ao(e)(e.values.map((t,n)=>ko(t,e.split[n])))}};function Mo(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Ro(t,e){return n=>n>0?e:t}var Do=(t,e,n)=>t+(e-t)*n,Oo=(t,e,n)=>{const i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},Vo=[ho,co,xo];function Lo(t){const e=(n=t,Vo.find(t=>t.test(n)));var n;if(Boolean(e),!Boolean(e))return!1;let i=e.parse(t);return e===xo&&(i=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let r=0,s=0,o=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;r=Mo(a,i,t+1/3),s=Mo(a,i,t),o=Mo(a,i,t-1/3)}else r=s=o=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(i)),i}var jo=(t,e)=>{const n=Lo(t),i=Lo(e);if(!n||!i)return Ro(t,e);const r={...n};return t=>(r.red=Oo(n.red,i.red,t),r.green=Oo(n.green,i.green,t),r.blue=Oo(n.blue,i.blue,t),r.alpha=Do(n.alpha,i.alpha,t),co.transform(r))},Bo=new Set(["none","hidden"]);function Fo(t,e){return n=>Do(t,e,n)}function Io(t){return"number"==typeof t?Fo:"string"==typeof t?Qs(t)?Ro:wo.test(t)?jo:Wo:Array.isArray(t)?zo:"object"==typeof t?wo.test(t)?jo:Uo:Ro}function zo(t,e){const n=[...t],i=n.length,r=t.map((t,n)=>Io(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=r[e](t);return n}}function Uo(t,e){const n={...t,...e},i={};for(const r in n)void 0!==t[r]&&void 0!==e[r]&&(i[r]=Io(t[r])(t[r],e[r]));return t=>{for(const e in i)n[e]=i[e](t);return n}}var Wo=(t,e)=>{const n=Co.createTransformer(e),i=Eo(t),r=Eo(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?Bo.has(t)&&!r.values.length||Bo.has(e)&&!i.values.length?function(t,e){return Bo.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):ms(zo(function(t,e){const n=[],i={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){const s=e.types[r],o=t.indexes[s][i[s]];n[r]=t.values[o]??0,i[s]++}return n}(i,r),r.values),n):Ro(t,e)};function No(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?Do(t,e,n):Io(t)(t,e)}var $o=t=>{const e=({timestamp:e})=>t(e);return{start:(t=!0)=>Ws.update(e,t),stop:()=>Ns(e),now:()=>$s.isProcessing?$s.timestamp:Xs.now()}},Ho=(t,e,n=10)=>{let i="";const r=Math.max(Math.round(e/n),2);for(let s=0;s<r;s++)i+=Math.round(1e4*t(s/(r-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`};function Yo(t){let e=0;let n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}var Xo=100,qo=10,Ko=1,Go=0,Zo=800,Qo=.3,Jo=.3,ta={granular:.01,default:2},ea={granular:.005,default:.5},na=.01,ia=10,ra=.05,sa=1;function oa(t,e){return t*Math.sqrt(1-e*e)}var aa=["duration","bounce"],la=["stiffness","damping","mass"];function ua(t,e){return e.some(e=>void 0!==t[e])}function ca(t){let e={velocity:Go,stiffness:Xo,damping:qo,mass:Ko,isResolvedFromDuration:!1,...t};if(!ua(t,la)&&ua(t,aa))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),r=i*i,s=2*ls(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:Ko,stiffness:r,damping:s}}else{const n=function({duration:t=Zo,bounce:e=Qo,velocity:n=Go,mass:i=Ko}){let r,s;vs(ia);let o=1-e;o=ls(ra,sa,o),t=ls(na,ia,_s(t)),o<1?(r=e=>{const i=e*o,r=i*t;return.001-(i-n)/oa(e,o)*Math.exp(-r)},s=e=>{const i=e*o*t,s=i*n+n,a=Math.pow(o,2)*Math.pow(e,2)*t,l=Math.exp(-i),u=oa(Math.pow(e,2),o);return(.001-r(e)>0?-1:1)*((s-a)*l)/u}):(r=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,s=e=>Math.exp(-e*t)*(t*t*(n-e)));const a=function(t,e,n){let i=n;for(let r=1;r<12;r++)i-=t(i)/e(i);return i}(r,s,5/t);if(t=vs(t),isNaN(a))return{stiffness:Xo,damping:qo,duration:t};{const e=Math.pow(a,2)*i;return{stiffness:e,damping:2*o*Math.sqrt(i*e),duration:t}}}({...t,velocity:0});e={...e,...n,mass:Ko},e.isResolvedFromDuration=!0}return e}function ha(t=Jo,e=Qo){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:r}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:p}=ca({...n,velocity:-_s(n.velocity||0)}),f=d||0,m=u/(2*Math.sqrt(l*c)),g=o-s,y=_s(Math.sqrt(l/c)),v=Math.abs(g)<5;let _,x,w,b,T,S;if(i||(i=v?ta.granular:ta.default),r||(r=v?ea.granular:ea.default),m<1)w=oa(y,m),b=(f+m*y*g)/w,_=t=>o-Math.exp(-m*y*t)*(b*Math.sin(w*t)+g*Math.cos(w*t)),T=m*y*b+g*w,S=m*y*g-b*w,x=t=>Math.exp(-m*y*t)*(T*Math.sin(w*t)+S*Math.cos(w*t));else if(1===m){_=t=>o-Math.exp(-y*t)*(g+(f+y*g)*t);const t=f+y*g;x=e=>Math.exp(-y*e)*(y*t*e-f)}else{const t=y*Math.sqrt(m*m-1);_=e=>{const n=Math.exp(-m*y*e),i=Math.min(t*e,300);return o-n*((f+m*y*g)*Math.sinh(i)+t*g*Math.cosh(i))/t};const e=(f+m*y*g)/t,n=m*y*e-g*t,i=m*y*g-e*t;x=e=>{const r=Math.exp(-m*y*e),s=Math.min(t*e,300);return r*(n*Math.sinh(s)+i*Math.cosh(s))}}const P={calculatedDuration:p&&h||null,velocity:t=>vs(x(t)),next:t=>{if(!p&&m<1){const e=Math.exp(-m*y*t),n=Math.sin(w*t),s=Math.cos(w*t),l=o-e*(b*n+g*s),u=vs(e*(T*n+S*s));return a.done=Math.abs(u)<=i&&Math.abs(o-l)<=r,a.value=a.done?o:l,a}const e=_(t);if(p)a.done=t>=h;else{const n=vs(x(t));a.done=Math.abs(n)<=i&&Math.abs(o-e)<=r}return a.value=a.done?o:e,a},toString:()=>{const t=Math.min(Yo(P),2e4),e=Ho(e=>P.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return P}ha.applyToOptions=t=>{const e=function(t,e=100,n){const i=n({...t,keyframes:[0,e]}),r=Math.min(Yo(i),2e4);return{type:"keyframes",ease:t=>i.next(r*t).value/e,duration:_s(r)}}(t,100,ha);return t.ease=e.ease,t.duration=vs(e.duration),t.type="keyframes",t};function da(t,e,n){const i=Math.max(e-5,0);return xs(n-t(i),e-i)}function pa({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],d={done:!1,value:h},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let f=n*e;const m=h+f,g=void 0===o?m:o(m);g!==m&&(f=g-h);const y=t=>-f*Math.exp(-t/i),v=t=>g+y(t),_=t=>{const e=y(t),n=v(t);d.done=Math.abs(e)<=u,d.value=d.done?g:n};let x,w;const b=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(x=t,w=ha({keyframes:[d.value,p(d.value)],velocity:da(v,t,d.value),damping:r,stiffness:s,restDelta:u,restSpeed:c}))};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return w||void 0!==x||(e=!0,_(t),b(t)),void 0!==x&&t>=x?w.next(t-x):(!e&&_(t),d)}}}function fa(t,e,{clamp:n=!0,ease:i,mixer:r}={}){const s=t.length;if(e.length,1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];const o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,n){const i=[],r=n||us.mix||No,s=t.length-1;for(let o=0;o<s;o++){let n=r(t[o],t[o+1]);e&&(n=ms(Array.isArray(e)?e[o]||fs:e,n)),i.push(n)}return i}(e,i,r),l=a.length,u=n=>{if(o&&n<t[0])return e[0];let i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const r=gs(t[i],t[i+1],n);return a[i](r)};return n?e=>u(ls(t[0],t[s-1],e)):u}function ma(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const r=gs(0,e,i);t.push(Do(n,1,r))}}(e,t.length-1),e}function ga({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const r=(t=>Array.isArray(t)&&"number"!=typeof t[0])(i)?i.map(Bs):Bs(i),s={done:!1,value:e[0]},o=fa(function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:ma(e),t),e,{ease:Array.isArray(r)?r:(a=e,l=r,a.map(()=>l||Vs).splice(0,a.length-1))});var a,l;return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}var ya=t=>null!==t;function va(t,{repeat:e,repeatType:n="loop"},i,r=1){const s=t.filter(ya),o=r<0||e&&"loop"!==n&&e%2==1?0:s.length-1;return o&&void 0!==i?i:s[o]}var _a={decay:pa,inertia:pa,tween:ga,keyframes:ga,spring:ha};function xa(t){"string"==typeof t.type&&(t.type=_a[t.type])}var wa=class{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)}},ba=t=>t/100,Ta=class extends wa{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==Xs.now()&&this.tick(Xs.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},qs.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;xa(t);const{type:e=ga,repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:o}=t;const a=e||ga;a!==ga&&"number"!=typeof o[0]&&(this.mixKeyframes=ms(ba,No(o[0],o[1])),o=[0,100]);const l=a({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=Yo(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=l}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:d,type:p,onUpdate:f,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);const 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,x=n;if(c){const t=Math.min(this.currentTime,i)/o;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,c+1),Boolean(e%2)&&("reverse"===h?(n=1-n,d&&(n-=d/o)):"mirror"===h&&(x=s)),_=ls(0,1,n)*o}y?(this.delayState.value=u[0],v=this.delayState):v=x.next(_),r&&!y&&(v.value=r(v.value));let{done:w}=v;y||null===a||(w=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return b&&p!==pa&&(v.value=va(u,this.options,m,this.speed)),f&&f(v.value),b&&this.finish(),v}then(t,e){return this.finished.then(t,e)}get duration(){return _s(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+_s(t)}get time(){return _s(this.currentTime)}set time(t){t=vs(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;
vendor: 5,576 bytes, line 1
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);return da(t=>this.generator.next(t).value,t,this.generator.next(t).value)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(Xs.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=_s(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=$o,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"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(Xs.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,qs.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)}};var Sa=t=>180*t/Math.PI,Pa=t=>Aa(Sa(Math.atan2(t[1],t[0]))),Ea={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Pa,rotateZ:Pa,skewX:t=>Sa(Math.atan(t[1])),skewY:t=>Sa(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Aa=t=>((t%=360)<0&&(t+=360),t),ka=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Ca=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Ma={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ka,scaleY:Ca,scale:t=>(ka(t)+Ca(t))/2,rotateX:t=>Aa(Sa(Math.atan2(t[6],t[5]))),rotateY:t=>Aa(Sa(Math.atan2(-t[2],t[0]))),rotateZ:Pa,rotate:Pa,skewX:t=>Sa(Math.atan(t[4])),skewY:t=>Sa(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Ra(t){return t.includes("scale")?1:0}function Da(t,e){if(!t||"none"===t)return Ra(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,r;if(n)i=Ma,r=n;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=Ea,r=e}if(!r)return Ra(e);const s=i[e],o=r[1].split(",").map(Oa);return"function"==typeof s?s(o):o[s]}function Oa(t){return parseFloat(t.trim())}var Va=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],La=(()=>new Set([...Va,"pathRotation"]))(),ja=t=>t===eo||t===go,Ba=new Set(["x","y","z"]),Fa=Va.filter(t=>!Ba.has(t));var Ia={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:i})=>{const r=t.max-t.min;return"border-box"===i?r:r-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:i})=>{const r=t.max-t.min;return"border-box"===i?r:r-parseFloat(e)-parseFloat(n)},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})=>Da(e,"x"),y:(t,{transform:e})=>Da(e,"y")};Ia.translateX=Ia.x,Ia.translateY=Ia.y;var za=new Set,Ua=!1,Wa=!1,Na=!1;function $a(){if(Wa){const t=Array.from(za).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];return Fa.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}Wa=!1,Ua=!1,za.forEach(t=>t.complete(Na)),za.clear()}function Ha(){za.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Wa=!0)})}var Ya=class{constructor(t,e,n,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(za.add(this),Ua||(Ua=!0,Ws.read(Ha),Ws.resolveKeyframes($a))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){const r=i?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(n&&e){const i=n.readValue(e,s);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=s),i&&void 0===r&&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),za.delete(this)}cancel(){"scheduled"===this.state&&(za.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}};function Xa(t,e,n){(t=>t.startsWith("--"))(e)?t.style.setProperty(e,n):t.style[e]=n}var qa={};function Ka(t,e){const n=ps(t);return()=>qa[e]??n()}var Ga=Ka(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),Za=Ka(()=>void 0!==window.ViewTimeline,"viewTimeline"),Qa=Ka(()=>{try{document.createElement("div").animate({opacity:0}
vendor: 5,697 bytes, line 1
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),Ja=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,tl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ja([0,.65,.55,1]),circOut:Ja([.55,0,1,.45]),backIn:Ja([.31,.01,.66,-.59]),backOut:Ja([.33,1.53,.69,.99])};function el(t,e){return t?"function"==typeof t?Qa()?Ho(t,e):"ease-out":Ls(t)?Ja(t):Array.isArray(t)?t.map(t=>el(t,e)||tl.easeOut):tl[t]:void 0}function nl(t,e,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:n};l&&(c.offset=l);const h=el(a,r);Array.isArray(h)&&(c.easing=h),Is.value&&qs.waapi++;const d={delay:i,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);const p=t.animate(c,d);return Is.value&&p.finished.finally(()=>{qs.waapi--}),p}function il(t){return"function"==typeof t&&"applyToOptions"in t}var rl=class extends wa{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:n,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=Boolean(r),this.allowFlatten=s,this.options=t,t.type;const l=function({type:t,...e}){return il(t)&&Qa()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=nl(e,n,i,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const t=va(i,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),Xa(e,n,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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;const{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return _s(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+_s(t)}get time(){return _s(Number(this.animation.currentTime)||0)}set time(t){const e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=vs(t),e&&this.animation.pause()}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 this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Ga()?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),n&&(this.animation.rangeEnd=n),fs):i(this)}},sl={anticipate:ks,backInOut:As,circInOut:Rs};function ol(t){"string"==typeof t.ease&&t.ease in sl&&(t.ease=sl[t.ease])}var al=class extends rl{constructor(t){ol(t),xa(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:e,onUpdate:n,onComplete:i,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);const o=new Ta({...s,autoplay:!1}),a=Math.max(10,Xs.now()-this.startTime),l=ls(0,10,a-10),u=o.sample(a).value,{name:c}=this.options;r&&c&&Xa(r,c,u),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,u,l),o.stop()}},ll=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Co.test(t)&&"0"!==t||t.startsWith("url(")));function ul(t){t.duration=0,t.type="keyframes"}var cl=new Set(["opacity","clipPath","filter","transform"]),hl=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;var dl=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),pl=ps(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function fl(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:s,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return pl()&&n&&(cl.has(n)||dl.has(n)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&hl.test(t[e]))return!0;return!1}(a))&&("transform"!==n||!u)&&!l&&!i&&"mirror"!==r&&0!==s&&"inertia"!==o}var ml=class extends wa{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Xs.now();const h={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...c},d=u?.KeyframeResolver||Ya;this.keyframeResolver=new d(o,(t,e,n)=>this.onKeyframesResolved(t,e,h,!n),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=n;this.resolvedAt=Xs.now();let c=!0;(function(t,e,n,i){const r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;
vendor: 6,242 bytes, line 1
1const s=t[t.length-1],o=ll(r,e),a=ll(s,e);return!(!o||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||il(n))&&i)})(t,r,s,o)||(c=!1,!us.instantAnimations&&a||u?.(va(t,n,e)),t[0]=t[t.length-1],ul(n),n.repeat=0);const h={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},d=c&&!l&&fl(h),p=h.motionValue?.owner?.current;let f;if(d)try{f=new al({...h,element:p})}catch{f=new Ta(h)}else f=new Ta(h);f.finished.then(()=>{this.notifyFinished()}).catch(fs),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}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(),Na=!0,Ha(),$a(),Na=!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()}};function gl(t,e,n,i=0,r=1){const s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*i;return"function"==typeof n?n(s,o):1===r?s*i:a-s*i}var yl={current:void 0},vl=class{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=Xs.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(const n of this.dependents)n.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=Xs.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}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 ys);const n=this.events[t].add(e);return"change"===t?()=>{n(),Ws.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const 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,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}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 yl.current&&yl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Xs.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return xs(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 _l(t,e){return new vl(t,e)}function xl(t,e){if(t?.inherit&&e){const{inherit:n,...i}=t;return{...e,...i}}return t}function wl(t,e){const n=t?.[e]??t?.default??t;return n!==t?xl(n,t):n}var bl={type:"spring",stiffness:500,damping:25,restSpeed:10},Tl={type:"keyframes",duration:.8},Sl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Pl=(t,{keyframes:e})=>e.length>2?Tl:La.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:bl:Sl,El=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var Al=(t,e,n,i={},r,s)=>o=>{const a=wl(i,t)||{},l=a.delay||i.delay||0;let{elapsed:u=0}=i;u-=vs(l);const c={keyframes:Array.isArray(n)?n:[null,n],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:r};(function(t){for(const e in t)if(!El.has(e))return!0;return!1})(a)||Object.assign(c,Pl(t,c)),c.duration&&(c.duration=vs(c.duration)),c.repeatDelay&&(c.repeatDelay=vs(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(ul(c),0===c.delay&&(h=!0)),(us.instantAnimations||us.skipAnimations||r?.shouldSkipAnimations||a.skipAnimations)&&(h=!0,ul(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,h&&!s&&void 0!==e.get()){const t=va(c.keyframes,a);if(void 0!==t)return void Ws.update(()=>{c.onUpdate(t),c.onComplete()})}return a.isSync?new Ta(c):new ml(c)},kl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Cl(t,e,n=1){const[i,r]=function(t){const e=kl.exec(t);if(!e)return[,];const[,n,i,r]=e;return[`--${n??i}`,r]}(t);if(!i)return;const s=window.getComputedStyle(e).getPropertyValue(i);if(s){const t=s.trim();return cs(t)?parseFloat(t):t}return Qs(r)?Cl(r,e,n+1):r}function Ml(t){const e=[{},{}];
vendor: 5,190 bytes, line 1
1return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function Rl(t,e,n,i){if("function"==typeof e){const[r,s]=Ml(i);e=e(void 0!==n?n:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[r,s]=Ml(i);e=e(void 0!==n?n:t.custom,r,s)}return e}function Dl(t,e,n){const i=t.getProps();return Rl(i,e,void 0!==n?n:i.custom,t)}var Ol=new Set(["width","height","top","left","right","bottom",...Va]),Vl=t=>Array.isArray(t);function Ll(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,_l(n))}function jl(t){return Vl(t)?t[t.length-1]||0:t}var Bl=t=>Boolean(t&&t.getVelocity);function Fl(t,e){const n=t.getValue("willChange");if(i=n,Boolean(Bl(i)&&i.add))return n.add(e);if(!n&&us.WillChange){const n=new us.WillChange("auto");t.addValue("willChange",n),n.add(e)}var i}function Il(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}var zl="data-"+Il("framerAppearId");function Ul(t){return t.props[zl]}function Wl({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}function Nl(t,e,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:s,transitionEnd:o,...a}=e;const l=t.getDefaultTransition();s=s?xl(s,l):l;const u=s?.reduceMotion,c=s?.skipAnimations;i&&(s=i);const h=[],d=r&&t.animationState&&t.animationState.getState()[r],p=s?.path;p&&p.animateVisualElement(t,a,s,n,h);for(const f in a){const e=t.getValue(f,t.latestValues[f]??null),i=a[f];if(void 0===i||d&&Wl(d,f))continue;const r={delay:n,...wl(s||{},f)};c&&(r.skipAnimations=!0);const o=e.get();if(void 0!==o&&!e.isAnimating()&&!Array.isArray(i)&&i===o&&!r.velocity){Ws.update(()=>e.set(i));continue}let l=!1;if(window.MotionHandoffAnimation){const e=Ul(t);if(e){const t=window.MotionHandoffAnimation(e,f,Ws);null!==t&&(r.startTime=t,l=!0)}}Fl(t,f);const p=u??t.shouldReduceMotion;e.start(Al(f,e,i,p&&Ol.has(f)?{type:!1}:r,t,l));const m=e.animation;m&&h.push(m)}if(o){const e=()=>Ws.update(()=>{o&&function(t,e){let{transitionEnd:n={},transition:i={},...r}=Dl(t,e)||{};r={...r,...n};for(const s in r)Ll(t,s,jl(r[s]))}(t,o)});h.length?Promise.all(h).then(e):e()}return h}function $l(t,e,n={}){const i=Dl(t,e,"exit"===n.type?t.presenceContext?.custom:void 0);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const s=i?()=>Promise.all(Nl(t,i,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,n=0,i=0,r=0,s=1,o){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push($l(l,e,{...o,delay:n+("function"==typeof i?0:i)+gl(t.variantChildren,l,i,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,i,s,o,a,n)}:()=>Promise.resolve(),{when:a}=r;if(a){const[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}return Promise.all([s(),o(n.delay)])}var Hl=t=>e=>e.test(t),Yl=[eo,go,mo,fo,vo,yo,{test:t=>"auto"===t,parse:t=>t}],Xl=t=>Yl.find(Hl(t));function ql(t){return"number"==typeof t?0===t:null===t||("none"===t||"0"===t||ds(t))}var Kl=new Set(["brightness","contrast","saturate","opacity"]);function Gl(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(so)||[];if(!i)return t;const r=n.replace(i,"");let s=Kl.has(e)?1:0;return i!==n&&(s*=100),e+"("+s+r+")"}var Zl=/\b([a-z-]*)\(.*?\)/gu,Ql={...Co,getAnimatableNone:t=>{const e=t.match(Zl);return e?e.map(Gl).join(" "):t}},Jl={...Co,getAnimatableNone:t=>{const e=Co.parse(t);return Co.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},tu={...eo,transform:Math.round},eu={borderWidth:go,borderTopWidth:go,borderRightWidth:go,borderBottomWidth:go,borderLeftWidth:go,borderRadius:go,borderTopLeftRadius:go,borderTopRightRadius:go,borderBottomRightRadius:go,borderBottomLeftRadius:go,width:go,maxWidth:go,height:go,maxHeight:go,top:go,right:go,bottom:go,left:go,inset:go,insetBlock:go,insetBlockStart:go,insetBlockEnd:go,insetInline:go,insetInlineStart:go,insetInlineEnd:go,padding:go,paddingTop:go,paddingRight:go,paddingBottom:go,paddingLeft:go,paddingBlock:go,paddingBlockStart:go,paddingBlockEnd:go,paddingInline:go,paddingInlineStart:go,paddingInlineEnd:go,margin:go,marginTop:go,marginRight:go,marginBottom:go,marginLeft:go,marginBlock:go,marginBlockStart:go,marginBlockEnd:go,marginInline:go,marginInlineStart:go,marginInlineEnd:go,fontSize:go,backgroundPositionX:go,backgroundPositionY:go,...{rotate:fo,pathRotation:fo,rotateX:fo,rotateY:fo,rotateZ:fo,scale:io,scaleX:io,scaleY:io,scaleZ:io,skew:fo,skewX:fo,skewY:fo,distance:go,translateX:go,translateY:go,translateZ:go,x:go,y:go,z:go,perspective:go,transformPerspective:go,opacity:no,originX:_o,originY:_o,originZ:go},zIndex:tu,fillOpacity:no,strokeOpacity:no,numOctaves:tu},nu={...eu,color:wo,backgroundColor:wo,outlineColor:wo,fill:wo,stroke:wo,borderColor:wo,borderTopColor:wo,borderRightColor:wo,borderBottomColor:wo,borderLeftColor:wo,filter:Ql,WebkitFilter:Ql,mask:Jl,WebkitMask:Jl},iu=t=>nu[t],ru=new Set([Ql,Jl]);function su(t,e){let n=iu(t);return ru.has(n)||(n=Co),n.getAnimatableNone?n.getAnimatableNone(e):void 0}
vendor: 1,685 bytes, line 1
1var ou=new Set(["auto","none","0"]);var au=class extends Ya{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let n=t[a];if("string"==typeof n&&(n=n.trim(),Qs(n))){const i=Cl(n,e.current);void 0!==i&&(t[a]=i),a===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Ol.has(n)||2!==t.length)return;const[i,r]=t,s=Xl(i),o=Xl(r);if(to(i)!==to(r)&&Ia[n])this.needsMeasurement=!0;else if(s!==o)if(ja(s)&&ja(o))for(let a=0;a<t.length;a++){const e=t[a];"string"==typeof e&&(t[a]=parseFloat(e))}else Ia[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let i=0;i<t.length;i++)(null===t[i]||ql(t[i]))&&n.push(i);n.length&&function(t,e,n){let i,r=0;for(;r<t.length&&!i;){const e=t[r];"string"==typeof e&&!ou.has(e)&&Eo(e).values.length&&(i=t[r]),r++}if(i&&n)for(const s of e)t[s]=su(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ia[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){const{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);const r=n.length-1,s=n[r];n[r]=Ia[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
vendor: 6,483 bytes, line 1
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}};function lu(t,e,n){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);const r=n?.[t]??i.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}var uu=(t,e)=>e&&"number"==typeof t?e.transform(t):t;function cu(t){return hs(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}var{schedule:hu,cancel:du}=zs(queueMicrotask,!1),pu={x:!1,y:!1};function fu(){return pu.x||pu.y}function mu(t,e){const n=lu(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function gu(t,e,n={}){const[i,r,s]=mu(t,n);return i.forEach(t=>{let n,i=!1,s=!1;const o=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",l)},a=t=>{i=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{"touch"!==t.pointerType&&(i?s=!0:o(t))};t.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||fu())return;s=!1;const o=e(t,i);"function"==typeof o&&(n=o,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}var yu=(t,e)=>!!e&&(t===e||yu(t,e.parentElement)),vu=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,_u=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);var xu=new Set(["INPUT","SELECT","TEXTAREA"]);var wu=new WeakSet;function bu(t){return e=>{"Enter"===e.key&&t(e)}}function Tu(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Su(t){return vu(t)&&!fu()}var Pu=new WeakSet;function Eu(t,e,n={}){const[i,r,s]=mu(t,n),o=t=>{const i=t.currentTarget;if(!Su(t))return;if(Pu.has(t))return;wu.add(i),n.stopPropagation&&Pu.add(t);const s=e(i,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),wu.has(i)&&wu.delete(i),Su(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,i===window||i===document||n.useGlobalTarget||yu(i,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return i.forEach(t=>{var e;(n.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),cu(t)&&(t.addEventListener("focus",t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const i=bu(()=>{if(wu.has(n))return;Tu(n,"down");const t=bu(()=>{Tu(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>Tu(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,r)),e=t,_u.has(e.tagName)||!0===e.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}function Au(t){return hs(t)&&"ownerSVGElement"in t}var ku,Cu=new WeakMap,Mu=(t,e,n)=>(i,r)=>r&&r[0]?r[0][t+"Size"]:Au(i)&&"getBBox"in i?i.getBBox()[e]:i[n],Ru=Mu("inline","width","offsetWidth"),Du=Mu("block","height","offsetHeight");function Ou({target:t,borderBoxSize:e}){Cu.get(t)?.forEach(n=>{n(t,{get width(){return Ru(t,e)},get height(){return Du(t,e)}})})}function Vu(t){t.forEach(Ou)}function Lu(t,e){ku||"undefined"!=typeof ResizeObserver&&(ku=new ResizeObserver(Vu));const n=lu(t);return n.forEach(t=>{let n=Cu.get(t);n||(n=new Set,Cu.set(t,n)),n.add(e),ku?.observe(t)}),()=>{n.forEach(t=>{const n=Cu.get(t);n?.delete(e),n?.size||ku?.unobserve(t)})}}var ju,Bu=new Set;function Fu(t){return Bu.add(t),ju||(ju=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Bu.forEach(e=>e(t))},window.addEventListener("resize",ju)),()=>{Bu.delete(t),Bu.size||"function"!=typeof ju||(window.removeEventListener("resize",ju),ju=void 0)}}function Iu(t,e){return"function"==typeof t?Fu(t):Lu(t,e)}function zu(t,e){let n;const i=()=>{const{currentTime:i}=e,r=(null===i?0:i.value)/100;n!==r&&t(r),n=r};return Ws.preUpdate(i,!0),()=>Ns(i)}var Uu=[...Yl,wo,Co],Wu=()=>({x:{min:0,max:0},y:{min:0,max:0}}),Nu=new WeakMap;function $u(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function Hu(t){return"string"==typeof t||Array.isArray(t)}var Yu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Xu=["initial",...Yu];function qu(t){return $u(t.animate)||Xu.some(e=>Hu(t[e]))}function Ku(t){return Boolean(qu(t)||t.variants)}var Gu={current:null},Zu={current:!1},Qu="undefined"!=typeof window;var Ju=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tc={};function ec(t){tc=t}var nc=class{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,skipAnimations:r,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ya,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{const t=Xs.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,Ws.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=Boolean(s),this.isControllingVariants=qu(e),this.isVariantNode=Ku(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:c,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const d in h){const t=h[d];void 0!==l[d]&&Bl(t)&&t.set(l[d])}}mount(t){if(this.hasBeenMounted)for(const e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=t,Nu.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.forEac
vendor: 4,574 bytes, line 1
1h((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(Zu.current||function(){if(Zu.current=!0,Qu)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Gu.current=t.matches;t.addEventListener("change",e),e()}else Gu.current=!1}(),this.shouldReduceMotion=Gu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Ns(this.notifyUpdate),Ns(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const 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){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&cl.has(t)&&this.current instanceof HTMLElement){const{factory:n,keyframes:i,times:r,ease:s,duration:o}=e.accelerate,a=new rl({element:this.current,name:t,keyframes:i,times:r,ease:s,duration:vs(o)}),l=n(a);return void this.valueSubscriptions.set(t,()=>{l(),a.cancel()})}const n=La.has(t);n&&this.onBindTransform&&this.onBindTransform();const i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&Ws.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),r&&r()})}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 tc){const e=tc[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];e.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):{x:{min:0,max:0},y:{min:0,max:0}}}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 n=0;n<Ju.length;n++){const e=Ju[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const i=t["on"+e];i&&(this.propEventSubscriptions[e]=this.on(e,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const r=e[i],s=n[i];if(Bl(r))t.addValue(i,r);else if(Bl(s))t.addValue(i,_l(r,{owner:t}));else if(s!==r)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{const e=t.getStaticValue(i);t.addValue(i,_l(void 0!==e?e:r,{owner:t}))}}for(const i in n)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){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const 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 n=this.values.get(t);
vendor: 5,793 bytes, line 1
1return void 0===n&&void 0!==e&&(n=_l(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var i;return null!=n&&("string"==typeof n&&(cs(n)||ds(n))?n=parseFloat(n):(i=n,!Uu.find(Hl(i))&&Co.test(e)&&(n=su(t,e))),this.setBaseTarget(t,Bl(n)?n.get():n)),Bl(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let n;if("string"==typeof e||"object"==typeof e){const i=Rl(this.props,e,this.presenceContext?.custom);i&&(n=i[t])}if(e&&void 0!==n)return n;const i=this.getBaseTargetFromProps(this.props,t);return void 0===i||Bl(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new ys),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){hu.render(this.render)}},ic=class extends nc{constructor(){super(...arguments),this.KeyframeResolver=au}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){const n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Bl(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},rc=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function sc({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function oc(t){return void 0===t||1===t}function ac({scale:t,scaleX:e,scaleY:n}){return!oc(t)||!oc(e)||!oc(n)}function lc(t){return ac(t)||uc(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function uc(t){return cc(t.x)||cc(t.y)}function cc(t){return t&&"0%"!==t}function hc(t,e,n){return n+e*(t-n)}function dc(t,e,n,i,r){return void 0!==r&&(t=hc(t,r,i)),hc(t,n,i)+e}function pc(t,e=0,n=1,i,r){t.min=dc(t.min,e,n,i,r),t.max=dc(t.max,e,n,i,r)}function fc(t,{x:e,y:n}){pc(t.x,e.translate,e.scale,e.originPoint),pc(t.y,n.translate,n.scale,n.originPoint)}var mc=.999999999999,gc=1.0000000000001;function yc(t,e){t.min+=e,t.max+=e}function vc(t,e,n,i,r=.5){pc(t,e,n,Do(t.min,t.max,r),i)}function _c(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function xc(t,e,n){const i=n??t;vc(t.x,_c(e.x,i.x),e.scaleX,e.scale,e.originX),vc(t.y,_c(e.y,i.y),e.scaleY,e.scale,e.originY)}function wc(t,e){return sc(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}var bc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Tc=Va.length;function Sc(t,e,n){const{style:i,vars:r,transformOrigin:s}=t;let o=!1,a=!1;for(const l in e){const t=e[l];if(La.has(l))o=!0;else if(Gs(l))r[l]=t;else{const e=uu(t,eu[l]);l.startsWith("origin")?(a=!0,s[l]=e):i[l]=e}}if(e.transform||(o||n?i.transform=function(t,e,n){let i="",r=!0;for(let o=0;o<Tc;o++){const s=Va[o],a=t[s];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===(s.startsWith("scale")?1:0);else{const t=parseFloat(a);l=s.startsWith("scale")?1===t:0===t}if(!l||n){const t=uu(a,eu[s]);l||(r=!1,i+=`${bc[s]||s}(${t}) `),n&&(e[s]=t)}}const s=t.pathRotation;return s&&(r=!1,i+=`rotate(${uu(s,eu.pathRotation)}) `),i=i.trim(),n?i=n(e,r?"":i):r&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),a){const{originX:t="50%",originY:e="50%",originZ:n=0}=s;i.transformOrigin=`${t} ${e} ${n}`}}function Pc(t,{style:e,vars:n},i,r){const s=t.style;let o;for(o in e)s[o]=e[o];for(o in r?.applyProjectionStyles(s,i),n)s.setProperty(o,n[o])}function Ec(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var Ac={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!go.test(t))return t;t=parseFloat(t)}return`${Ec(t,e.target.x)}% ${Ec(t,e.target.y)}%`}},kc={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,r=Co.parse(t);if(r.length>5)return i;const s=Co.createTransformer(t),o="number"!=typeof r[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;r[0+o]/=a,r[1+o]/=l;const u=Do(a,l,.5);return"number"==typeof r[2+o]&&(r[2+o]/=u),"number"==typeof r[3+o]&&(r[3+o]/=u),s(r)}},Cc={borderRadius:{...Ac,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ac,borderTopRightRadius:Ac,borderBottomLeftRadius:Ac,borderBottomRightRadius:Ac,boxShadow:kc};function Mc(t,{layout:e,layoutId:n}){return La.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!Cc[t]||"opacity"===t)}function Rc(t,e,n){const i=t.style,r=e?.style,s={};if(!i)return s;for(const o in i)(Bl(i[o])||r&&Bl(r[o])||Mc(o,t)||void 0!==n?.getValue(o)?.liveStyle)&&(s[o]=i[o]);return s}var Dc=class extends ic{constructor(){super(...arguments),this.type="html",this.renderInstance=Pc}readValueFromInstance(t,e){if(La.has(e))return this.projection?.isProjecting?Ra(e):((t,e)=>{const{transform:n="none"}=getComputedStyle(t);return Da(n,e)})(t,e);{const i=(n=t,window.getComputedStyle(n)),r=(Gs(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return wc(t,e)}build(t,e,n){Sc(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return Rc(t,e,n)}},Oc={offset:"stroke-dashoffset",array:"stroke-dasharray"},Vc={offset:"strokeDashoffset",array:"strokeDasharray"};var Lc=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function jc(t,{attrX:e,attrY:n,attrScale:i,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(Sc(t,a,u),l)return void(t.style.viewBox&&(t.attrs.viewB
1ox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:h,style:d}=t;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox);for(const p of Lc)void 0!==h[p]&&(d[p]=h[p],delete h[p]);void 0!==e&&(h.x=e),void 0!==n&&(h.y=n),void 0!==i&&(h.scale=i),void 0!==r&&function(t,e,n=1,i=0,r=!0){t.pathLength=1;const s=r?Oc:Vc;t[s.offset]=""+-i,t[s.array]=`${e} ${n}`}(h,r,s,o,!1)}var Bc=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"]),Fc=t=>"string"==typeof t&&"svg"===t.toLowerCase();function Ic(t,e,n){const i=Rc(t,e,n);for(const r in t)if(Bl(t[r])||Bl(e[r])){i[-1!==Va.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]}return i}var zc=class extends ic{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Wu}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(La.has(e)){const t=iu(e);return t&&t.default||0}return e=Bc.has(e)?e:Il(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return Ic(t,e,n)}
vendor: 6,146 bytes, line 1
1build(t,e,n){jc(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){!function(t,e,n,i){Pc(t,e,void 0,i);for(const r in e.attrs)t.setAttribute(Bc.has(r)?r:Il(r),e.attrs[r])}(t,e,0,i)}mount(t){this.isSVGTag=Fc(t.tagName),super.mount(t)}},Uc=Xu.length;function Wc(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&Wc(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<Uc;n++){const i=Xu[n],r=t.props[i];(Hu(r)||!1===r)&&(e[i]=r)}return e}function Nc(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var $c=[...Yu].reverse(),Hc=Yu.length;function Yc(t){return e=>Promise.all(e.map(({animation:e,options:n})=>function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const r=e.map(e=>$l(t,e,n));i=Promise.all(r)}else if("string"==typeof e)i=$l(t,e,n);else{const r="function"==typeof e?Dl(t,e,n.custom):e;i=Promise.all(Nl(t,r,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,e,n)))}function Xc(t){let e=Yc(t),n=Gc(),i=!0,r=!1;const s=e=>(n,i)=>{const r=Dl(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(r){const{transition:t,transitionEnd:e,...i}=r;n={...n,...i,...e}}return n};function o(o){const{props:a}=t,l=Wc(t.parent)||{},u=[],c=new Set;let h={},d=1/0;for(let e=0;e<Hc;e++){const p=$c[e],f=n[p],m=void 0!==a[p]?a[p]:l[p],g=Hu(m),y=p===o?f.isActive:null;!1===y&&(d=e);let v=m===l[p]&&m!==a[p]&&g;if(v&&(i||r)&&t.manuallyAnimateOnMount&&(v=!1),f.protectedKeys={...h},!f.isActive&&null===y||!m&&!f.prevProp||$u(m)||"boolean"==typeof m)continue;if("exit"===p&&f.isActive&&!0!==y){f.prevResolvedValues&&(h={...h,...f.prevResolvedValues});continue}const _=qc(f.prevProp,m);let x=_||p===o&&f.isActive&&!v&&g||e>d&&g,w=!1;const b=Array.isArray(m)?m:[m];let T=b.reduce(s(p),{});!1===y&&(T={});const{prevResolvedValues:S={}}=f,P={...S,...T},E=e=>{x=!0,c.has(e)&&(w=!0,c.delete(e)),f.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in P){const e=T[t],n=S[t];if(h.hasOwnProperty(t))continue;let i=!1;i=Vl(e)&&Vl(n)?!Nc(e,n)||_:e!==n,i?null!=e?E(t):c.add(t):void 0!==e&&c.has(t)?E(t):f.protectedKeys[t]=!0}f.prevProp=m,f.prevResolvedValues=T,f.isActive&&(h={...h,...T}),(i||r)&&t.blockInitialAnimation&&(x=!1);const A=v&&_;!x||A&&!w||u.push(...b.map(e=>{const n={type:p};if("string"==typeof e&&(i||r)&&!A&&t.manuallyAnimateOnMount&&t.parent){const{parent:i}=t,r=Dl(i,e);if(i.enteringChildren&&r){const{delayChildren:e}=r.transition||{};n.delay=gl(i.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(c.size){const e={};if("boolean"!=typeof a.initial){const n=Dl(t,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(e.transition=n.transition)}c.forEach(n=>{const i=t.getBaseTarget(n),r=t.getValue(n);r&&(r.liveStyle=!0),e[n]=i??null}),u.push({animation:e})}let p=Boolean(u.length);return!i||!1!==a.initial&&a.initial!==a.animate||t.manuallyAnimateOnMount||(p=!1),i=!1,r=!1,p?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),n[e].isActive=i;const r=o(e);for(const t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=Gc(),r=!0}}}function qc(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!Nc(e,t)}function Kc(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gc(){return{animate:Kc(!0),whileInView:Kc(),whileHover:Kc(),whileTap:Kc(),whileDrag:Kc(),whileFocus:Kc(),exit:Kc()}}function Zc(t,e){t.min=e.min,t.max=e.max}function Qc(t,e){Zc(t.x,e.x),Zc(t.y,e.y)}function Jc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function th(t){return t.max-t.min}function eh(t,e,n,i=.5){t.origin=i,t.originPoint=Do(e.min,e.max,t.origin),t.scale=th(n)/th(e),t.translate=Do(n.min,n.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 nh(t,e,n,i){eh(t.x,e.x,n.x,i?i.originX:void 0),eh(t.y,e.y,n.y,i?i.originY:void 0)}function ih(t,e,n,i=0){t.min=(i?Do(n.min,n.max,i):n.min)+e.min,t.max=t.min+th(e)}function rh(t,e,n,i=0){const r=i?Do(n.min,n.max,i):n.min;t.min=e.min-r,t.max=t.min+th(e)}function sh(t,e,n,i){rh(t.x,e.x,n.x,i?.x),rh(t.y,e.y,n.y,i?.y)}function oh(t,e,n,i,r){return t=hc(t-=e,1/n,i),void 0!==r&&(t=hc(t,1/r,i)),t}function ah(t,e,[n,i,r],s,o){!function(t,e=0,n=1,i=.5,r,s=t,o=t){if(mo.test(e)&&(e=parseFloat(e),e=Do(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=Do(s.min,s.max,i);t===s&&(a-=e),t.min=oh(t.min,e,n,a,r),t.max=oh(t.max,e,n,a,r)}(t,e[n],e[i],e[r],e.scale,s,o)}var lh=["x","scaleX","originX"],uh=["y","scaleY","originY"];function ch(t,e,n,i){ah(t.x,e,lh,n?n.x:void 0,i?i.x:void 0),ah(t.y,e,uh,n?n.y:void 0,i?i.y:void 0)}function hh(t){return 0===t.translate&&1===t.scale}function dh(t){return hh(t.x)&&hh(t.y)}function ph(t,e){return t.min===e.min&&t.max===e.max}function fh(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function mh(t,e){return fh(t.x,e.x)&&fh(t.y,e.y)}function gh(t){return th(t.x)/th(t.y)}function yh(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function vh(t){return[t("x"),t("y")]}var _h=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],xh=_h.length,wh=t=>"string"==typeof t?parseFloat(t):t,bh=t=>"number"==typeof t||go.test(t);function Th(t,e){return void 0!==t[e]?t[e]:t.borderRadius}var Sh=Eh(0,.5,Ms),Ph=Eh(.5,.95,fs);function Eh(t,e,n){return i=>i<t?0:i>e?1:n(gs(t,e,i))}function Ah(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}var kh=(t,e)=>t.depth-e.depth,Ch=class{constructor(){this.children=[],this.isDirty=!1}add(t){os(this.children,t),this.isDirty=!0}remove(t){as(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(kh),this.isDirty=!1,this.children.forEac
vendor: 26,810 bytes, line 1
1h(t)}};function Mh(t){return Bl(t)?t.get():t}var Rh=class{constructor(){this.members=[]}add(t){os(this.members,t);for(let e=this.members.length-1;e>=0;e--){const n=this.members[e];if(n===t||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&!1!==i.isConnected||n.snapshot||(as(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if(as(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent&&!1!==t.instance?.isConnected)return this.promote(t),!0}return!1}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:r}=t.options;void 0!==i&&i===r||(t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Dh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Oh={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Vh=["","X","Y","Z"],Lh=0;function jh(t,e,n,i){const{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Bh(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Ul(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Ws,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Bh(i)}function Fh({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(t={},n=e?.()){this.id=Lh++,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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Is.value&&(Oh.nodes=Oh.calculatedTargetDeltas=Oh.calculatedProjections=0),this.nodes.forEach(Uh),this.nodes.forEach(Gh),this.nodes.forEach(Zh),this.nodes.forEach(Wh),Is.addProjectionMetrics&&Is.addProjectionMetrics(Oh)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ch)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ys),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;var n;this.isSVG=Au(e)&&!(Au(n=e)&&"svg"===n.tagName),this.instance=e;const{layoutId:i,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let n,i=0;const r=()=>this.root.updateBlockedByResize=!1;Ws.read(()=>{i=window.innerWidth}),t(e,()=>{const t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=Xs.now(),i=({timestamp:r})=>{const s=r-n;s>=e&&(Ns(i),t(s-e))};return Ws.setup(i,!0),()=>Ns(i)}(r,250),Dh.hasAnimatedSinceResize&&(Dh.hasAnimatedSinceResize=!1,this.nodes.forEach(Kh)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||id,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!mh(this.targetLayout,i),u=!e&&n;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const e={...wl(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||Kh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ns(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(Qh),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Bh(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let r=0;r<this.path.length;r++){const t=this.path[r];t.shouldResetTransform=!0,"string"!=typeof t.latestValues.x&&"string"!=typeof t.latestValues.y||(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const t=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(Hh),void this.nodes.forEach($h)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(Yh);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Xh),this.nodes.forEach(qh),this.nodes.forEach(Ih),this.nodes.forEach(zh)):this.nodes.forEach(Yh),this.clearAllSnapshots();const t=Xs.now();$s.delta=ls(0,1e3/60,t-$s.timestamp),$s.timestamp=t,$s.isProcessing=!0,Hs.update.process($s),Hs.preRender.process($s),Hs.render.process($s),$s.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,hu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Nh),this.sharedNodes.forEach(Jh)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ws.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ws.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||th(this.snapshot.measuredBox.x)||th(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++)this.path[n].updateScroll();const t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}}),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!dh(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||lc(this.latestValues)||s)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),od((i=n).x),od(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox();if(!this.scroll?.wasRoot&&!this.path.some(ld)){const{scroll:t}=this.root;t&&(yc(e.x,t.offset.x),yc(e.y,t.offset.y))}return e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};if(Qc(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:r,options:s}=i;i!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&Qc(e,t),yc(e.x,r.offset.x),yc(e.y,r.offset.y))}return e}applyTransform(t,e=!1,n){const i=n||{x:{min:0,max:0},y:{min:0,max:0}};Qc(i,t);for(let r=0;r<this.path.length;r++){const t=this.path[r];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&(yc(i.x,-t.scroll.offset.x),yc(i.y,-t.scroll.offset.y)),lc(t.latestValues)&&xc(i,t.latestValues,t.layout?.layoutBox)}return lc(this.latestValues)&&xc(i,this.latestValues,this.layout?.layoutBox),i}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};Qc(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!lc(t.latestValues))continue;let i;t.instance&&(ac(t.latestValues)&&t.updateSnapshot(),i=Wu(),Qc(i,t.measurePageBox())),ch(e,t.latestValues,t.snapshot?.layoutBox,i)}return lc(this.latestValues)&&ch(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!==$s.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:i,layoutId:r}=this.options;if(!this.layout||!i&&!r)return;this.resolvedRelativeTargetAt=$s.timestamp;const s=this.getClosestProjectingParent();var o,a,l,u;(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,ih(o.x,a.x,l.x,u?.x),ih(o.y,a.y,l.y,u?.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):Qc(this.target,this.layout.layoutBox),fc(this.target,this.targetDelta)):Qc(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&Boolean(s.resumingFrom)===Boolean(this.resumingFrom)&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),Is.value&&Oh.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!ac(this.parent.latestValues)&&!uc(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},sh(this.relativeTargetOrigin,e,n,this.options.layoutAnchor||void 0),Qc(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===$s.timestamp&&(n=!1),n)return;const{layout:i,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!r)return;Qc(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,o=this.treeScale.y;!function(t,e,n,i=!1){const r=n.length;if(!r)return;let s,o;e.x=e.y=1;for(let a=0;a<r;a++){s=n[a],o=s.projectionDelta;const{visualElement:r}=s.options;r&&r.props.style&&"contents"===r.props.style.display||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(yc(t.x,-s.scroll.offset.x),yc(t.y,-s.scroll.offset.y)),o&&(e.x*=o.x.scale,e.y*=o.y.scale,fc(t,o)),i&&lc(s.latestValues)&&xc(t,s.latestValues,s.layout?.layoutBox))}e.x<gc&&e.x>mc&&(e.x=1),e.y<gc&&e.y>mc&&(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={x:{min:0,max:0},y:{min:0,max:0}});const{target:a}=t;a?(this.projectionDelta&&this.prevProjectionDelta?(Jc(this.prevProjectionDelta.x,this.projectionDelta.x),Jc(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nh(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&yh(this.projectionDelta.x,this.prevProjectionDelta.x)&&yh(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),Is.value&&Oh.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t,e=!1,n){const i=this.snapshot,r=i?i.latestValues:{},s={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const a={x:{min:0,max:0},y:{min:0,max:0}},l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(nd));let d;this.animationProgress=0;const p=n?.interpolateProjection(t);this.mixTargetDelta=e=>{const n=e/1e3,i=p?.(n);var u,f,m,g,y,v;i?(o.x.translate=i.x,o.x.scale=Do(t.x.scale,1,n),o.x.origin=t.x.origin,o.x.originPoint=t.x.originPoint,o.y.translate=i.y,o.y.scale=Do(t.y.scale,1,n),o.y.origin=t.y.origin,o.y.originPoint=t.y.originPoint):(td(o.x,t.x,n),td(o.y,t.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sh(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,g=this.relativeTargetOrigin,y=a,v=n,ed(m.x,g.x,y.x,v),ed(m.y,g.y,y.y,v),d&&(u=this.relativeTarget,f=d,ph(u.x,f.x)&&ph(u.y,f.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Qc(d,this.relativeTarget)),l&&(this.animationValues=s,function(t,e,n,i,r,s){r?(t.opacity=Do(0,n.opacity??1,Sh(i)),t.opacityExit=Do(e.opacity??1,0,Ph(i))):s&&(t.opacity=Do(e.opacity??1,n.opacity??1,i));for(let o=0;o<xh;o++){const r=_h[o];let s=Th(e,r),a=Th(n,r);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||bh(s)===bh(a)?(t[r]=Math.max(Do(wh(s),wh(a),i),0),(mo.test(a)||mo.test(s))&&(t[r]+="%")):t[r]=a)}(e.rotate||n.rotate)&&(t.rotate=Do(e.rotate||0,n.rotate||0,i))}(s,r,this.latestValues,n,h,c)),i&&void 0!==i.rotate&&(this.animationValues||(this.animationValues=s),this.animationValues.pathRotation=i.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ns(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ws.update(()=>{Dh.hasAnimatedSinceResize=!0,qs.layout++,this.motionValue||(this.motionValue=_l(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,n){const i=Bl(t)?t:_l(t);return i.start(Al("",i,e,n)),i.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{qs.layout--},onComplete:()=>{qs.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);const 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(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:r}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&ad(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=th(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=th(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}Qc(e,n),xc(e,r),nh(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Rh),this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&jh("z",t,i,this.animationValues);for(let r=0;r<Vh.length;r++)jh(`rotate${Vh[r]}`,t,i,this.animationValues),jh(`skew${Vh[r]}`,t,i,this.animationValues);t.render();for(const r in i)t.setStaticValue(r,i[r]),this.animationValues&&(this.animationValues[r]=i[r]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=Mh(e?.pointerEvents)||"",void(t.transform=n?n(this.latestValues,""):"none");const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Mh(e?.pointerEvents)||""),void(this.hasProjected&&!lc(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1));t.visibility="";const r=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(t,e,n){let i="";const r=t.x.translate/e.x,s=t.y.translate/e.y,o=n?.z||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,pathRotation:r,rotateX:s,rotateY:o,skewX:a,skewY:l}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),r&&(i+=`rotate(${r}deg) `),s&&(i+=`rotateX(${s}deg) `),o&&(i+=`rotateY(${o}deg) `),a&&(i+=`skewX(${a}deg) `),l&&(i+=`skewY(${l}deg) `)}const 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,r);n&&(s=n(r,s)),t.transform=s;const{x:o,y:a}=this.projectionDelta;t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,i.animationValues?t.opacity=i===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=i===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const l in Cc){if(void 0===r[l])continue;const{correct:e,applyTo:n,isCSSVariable:o}=Cc[l],a="none"===s?r[l]:e(r[l],i);if(n){const e=n.length;for(let i=0;i<e;i++)t[n[i]]=a}else o?this.options.visualElement.renderState.vars[l]=a:t[l]=a}this.options.layoutId&&(t.pointerEvents=i===this?Mh(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach($h),this.root.sharedNodes.clear()}}}function Ih(t){t.updateLayout()}function zh(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;if("size"===r)vh(t=>{const i=s?e.measuredBox[t]:e.layoutBox[t],r=th(i);i.min=n[t].min,i.max=i.min+r});else if("x"===r||"y"===r){const t="x"===r?"y":"x";Zc(s?e.measuredBox[t]:e.layoutBox[t],n[t])}else ad(r,e.layoutBox,n)&&vh(i=>{const r=s?e.measuredBox[i]:e.layoutBox[i],o=th(n[i]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});const o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};nh(o,n,e.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};s?nh(a,t.applyTransform(i,!0),e.measuredBox):nh(a,n,e.layoutBox);const l=!dh(o);let u=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:r,layout:s}=i;if(r&&s){const o=t.options.layoutAnchor||void 0,a={x:{min:0,max:0},y:{min:0,max:0}};sh(a,e.layoutBox,r.layoutBox,o);const l={x:{min:0,max:0},y:{min:0,max:0}};sh(l,n,s.layoutBox,o),mh(a,l)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function Uh(t){Is.value&&Oh.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Wh(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Nh(t){t.clearSnapshot()}function $h(t){t.clearMeasurements()}function Hh(t){t.isLayoutDirty=!0,t.updateLayout()}function Yh(t){t.isLayoutDirty=!1}function Xh(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function qh(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Kh(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Gh(t){t.resolveTargetDelta()}function Zh(t){t.calcProjection()}
1function Qh(t){t.resetSkewAndRotation()}function Jh(t){t.removeLeadSnapshot()}function td(t,e,n){t.translate=Do(e.translate,0,n),t.scale=Do(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ed(t,e,n,i){t.min=Do(e.min,n.min,i),t.max=Do(e.max,n.max,i)}function nd(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var id={duration:.45,ease:[.4,0,.1,1]},rd=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sd=rd("applewebkit/")&&!rd("chrome/")?Math.round:fs;function od(t){t.min=sd(t.min),t.max=sd(t.max)}function ad(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=gh(e),r=gh(n),s=.2,!(Math.abs(i-r)<=s));var i,r,s}function ld(t){return t!==t.root&&t.scroll?.wasRoot}var ud=Fh({attachResizeListener:(t,e)=>Ah(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),cd={current:void 0},hd=Fh({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!cd.current){const t=new ud({});t.mount(window),t.setOptions({layoutScroll:!0}),cd.current=t}return cd.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),dd=(0,es.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function pd(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}function fd(...t){return es.useCallback(function(...t){return e=>{let n=!1;const i=t.map(t=>{const i=pd(t,e);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let e=0;e<i.length;e++){const n=i[e];"function"==typeof n?n():pd(t[e],null)}}}}(...t),t)}var md=class extends es.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(cu(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const t=e.offsetParent,n=cu(t)&&t.offsetWidth||0,i=cu(t)&&t.offsetHeight||0,r=getComputedStyle(e),s=this.props.sizeRef.current;s.height=parseFloat(r.height),s.width=parseFloat(r.width),s.top=e.offsetTop,s.left=e.offsetLeft,s.right=n-s.width-s.left,s.bottom=i-s.height-s.top,s.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function gd({children:t,isPresent:e,anchorX:n,anchorY:i,root:r,pop:s}){const o=(0,es.useId)(),a=(0,es.useRef)(null),l=(0,es.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=(0,es.useContext)(dd),c=fd(a,t.props?.ref??t?.ref);return(0,es.useInsertionEffect)(()=>{const{width:t,height:c,top:h,left:d,right:p,bottom:f,direction:m}=l.current;if(e||!1===s||!a.current||!t||!c)return;const g="rtl"===m,y="left"===n?g?`right: ${p}`:`left: ${d}`:g?`left: ${d}`:`right: ${p}`,v="bottom"===i?`bottom: ${f}`:`top: ${h}`;a.current.dataset.motionPopId=o;const _=document.createElement("style");u&&(_.nonce=u);const x=r??document.head;return x.appendChild(_),_.sheet&&_.sheet.insertRule(`\n [data-motion-pop-id="${o}"] {\n position: absolute !important;\n width: ${t}px !important;\n height: ${c}px !important;\n ${y}px !important;\n ${v}px !important;\n }\n `),()=>{a.current?.removeAttribute("data-motion-pop-id"),x.contains(_)&&x.removeChild(_)}},[e]),(0,ts.jsx)(md,{isPresent:e,childRef:a,sizeRef:l,pop:s,children:!1===s?t:es.cloneElement(t,{ref:c})})}var yd=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:u})=>{const c=is(vd),h=(0,es.useId)();let d=!0,p=(0,es.useMemo)(()=>(d=!1,{id:h,initial:e,isPresent:n,custom:r,onExitComplete:t=>{c.set(t,!0);for(const e of c.values())if(!e)return;i&&i()},register:t=>(c.set(t,!1),()=>c.delete(t))}),[n,c,i]);return s&&d&&(p={...p}),(0,es.useMemo)(()=>{c.forEach((t,e)=>c.set(e,!1))},[n]),es.useEffect(()=>{!n&&!c.size&&i&&i()},[n]),t=(0,ts.jsx)(gd,{pop:"popLayout"===o,isPresent:n,anchorX:a,anchorY:l,root:u,children:t}),(0,ts.jsx)(ss.Provider,{value:p,children:t})};function vd(){return new Map}function _d(t=!0){const e=(0,es.useContext)(ss);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=e,s=(0,es.useId)();(0,es.useEffect)(()=>
1{if(t)return r(s)},[t]);const o=(0,es.useCallback)(()=>t&&i&&i(s),[s,i,t]);return!n&&i?[!1,o]:[!0]}var xd=t=>t.key||"";function wd(t){const e=[];return es.Children.forEach(t,t=>{(0,es.isValidElement)(t)&&e.push(t)}),e}var bd=({children:t,custom:e,initial:n=!0,onExitComplete:i,presenceAffectsLayout:r=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,h]=_d(o),d=(0,es.useMemo)(()=>wd(t),[t]),p=o&&!c?[]:d.map(xd),f=(0,es.useRef)(!0),m=(0,es.useRef)(d),g=is(()=>new Map),y=(0,es.useRef)(new Set),[v,_]=(0,es.useState)(d),[x,w]=(0,es.useState)(d);rs(()=>{f.current=!1,m.current=d;for(let t=0;t<x.length;t++){const e=xd(x[t]);p.includes(e)?(g.delete(e),y.current.delete(e)):!0!==g.get(e)&&g.set(e,!1)}},[x,p.length,p.join("-")]);const b=[];if(d!==v){let t=[...d];for(let e=0;e<x.length;e++){const n=x[e],i=xd(n);p.includes(i)||(t.splice(e,0,n),b.push(n))}return"wait"===s&&b.length&&(t=b),w(wd(t)),_(d),null}const{forceRender:T}=(0,es.useContext)(ns);return(0,ts.jsx)(ts.Fragment,{children:x.map(t=>{const v=xd(t),_=!(o&&!c)&&(d===x||p.includes(v));return(0,ts.jsx)(yd,{isPresent:_,initial:!(f.current&&!n)&&void 0,custom:e,presenceAffectsLayout:r,mode:s,root:u,onExitComplete:_?void 0:()=>{if(y.current.has(v))return;if(!g.has(v))return;y.current.add(v),g.set(v,!0);let t=!0;g.forEach(e=>{e||(t=!1)}),t&&(T?.(),w(m.current),o&&h?.(),i&&i())},anchorX:a,anchorY:l,children:t},v)})})},Td=(0,es.createContext)({strict:!1}),Sd={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"]},Pd=!1;function Ed(){return function(){if(Pd)return;const t={};for(const e in Sd)t[e]={isEnabled:t=>Sd[e].some(e=>!!t[e])};ec(t),Pd=!0}(),tc}var Ad=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","propagate","ignoreStrict","viewport"]);function kd(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Ad.has(t)}function Cd(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}var Md,Rd,Dd,Od=n(()=>{}),Vd=i({default:()=>Rd}),Ld=n(()=>{Od(),Md=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRen
1dering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Rd=Cd(function(t){return Md.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})}),jd=t=>!kd(t);try{"function"==typeof(Dd=(Ld(),e(Vd)).default)&&(jd=t=>t.startsWith("on")?!kd(t):Dd(t))}catch{}var Bd=(0,es.createContext)({});function Fd(t){const{initial:e,animate:n}=function(t,e){if(qu(t)){const{initial:e,animate:n}=t;return{initial:!1===e||Hu(e)?e:void 0,animate:Hu(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,es.useContext)(Bd));return(0,es.useMemo)(()=>({initial:e,animate:n}),[Id(e),Id(n)])}function Id(t){return Array.isArray(t)?t.join(" "):t}var zd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ud(t,e,n){for(const i in e)Bl(e[i])||Mc(i,n)||(t[i]=e[i])}function Wd(t,e){const n={};return Ud(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,es.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Sc(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),n}function Nd(t,e){const n={},i=Wd(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}var $d=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function Hd(t,e,n,i){const r=(0,es.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return jc(n,e,Fc(i),t.transformTemplate,t.style),{...n.attrs,style:{...n.style}}},[e]);if(t.style){const e={};Ud(e,t.style,t),r.style={...e,...r.style}}return r}var Yd=["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 Xd(t){return"string"==typeof t&&!t.includes("-")&&!!(Yd.indexOf(t)>-1||/[A-Z]/u.test(t))}function qd(t,e,n,{latestValues:i},r,s=!1,o){const a=(o??Xd(t)?Hd:Nd)(e,i,r,t),l=function(t,e,n){const i={};for(const r in t)"values"===r&&"object"==typeof t.values||Bl(t[r])||(jd(r)||!0===n&&kd(r)||!e&&!kd(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(e,"string"==typeof t,s),u=t!==es.Fragment?{...l,...a,ref:n}:{},{children:c}=e,h=(0,es.useMemo)(()=>Bl(c)?c.get():c,[c]);return(0,es.createElement)(t,{...u,children:h})}function Kd(t,e,n,i){const r={},s=i(t,{});for(const d in s)r[d]=Mh(s[d]);let{initial:o,animate:a}=t;const l=qu(t),u=Ku(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let c=!!n&&!1===n.initial;c=c||!1===o;const h=c?a:o;if(h&&"boolean"!=typeof h&&!$u(h)){const e=Array.isArray(h)?h:[h];for(let n=0;n<e.length;n++){const i=Rl(t,e[n]);if(i){const{transitionEnd:t,transition:e,...n}=i;for(const i in n){let t=n[i];if(Array.isArray(t)){t=t[c?t.length-1:0]}null!==t&&(r[i]=t)}for(const i in t)r[i]=t[i]}}}return r}var Gd=t=>(e,n)=>{const i=(0,es.useContext)(Bd),r=(0,es.useContext)(ss),s=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,r){return{latestValues:Kd(n,i,r,t),renderState:e()}}(t,e,i,r);return n?s():is(s)},Zd=Gd({scrapeMotionValuesFromProps:Rc,createRenderState:zd}),Qd=Gd({scrapeMotionValuesFromProps:Ic,createRenderState:$d}),Jd=Symbol.for("motionComponentSymbol");function tp(t,e,n){const i=(0,es.useRef)(n);(0,es.useInsertionEffect)(()=>{i.current=n});const r=(0,es.useRef)(null);return(0,es.useCallback)(n=>{n&&t.onMount?.(n),e&&(n?e.mount(n):e.unmount());
1const s=i.current;if("function"==typeof s)if(n){const t=s(n);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):s(n);else s&&(s.current=n)},[e])}var ep=(0,es.createContext)({});function np(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function ip(t,e,n,i,r,s){const{visualElement:o}=(0,es.useContext)(Bd),a=(0,es.useContext)(Td),l=(0,es.useContext)(ss),u=(0,es.useContext)(dd),c=u.reducedMotion,h=u.skipAnimations,d=(0,es.useRef)(null),p=(0,es.useRef)(!1);i=i||a.renderer,!d.current&&i&&(d.current=i(t,{visualState:e,parent:o,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:h,isSVG:s}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));const f=d.current,m=(0,es.useContext)(ep);!f||f.projection||!r||"html"!==f.type&&"svg"!==f.type||function(t,e,n,i){const{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:h}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:rp(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:Boolean(o)||a&&np(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:h,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(d.current,n,r,m);const g=(0,es.useRef)(!1);(0,es.useInsertionEffect)(()=>{f&&g.current&&f.update(n,l)});const y=n[zl],v=(0,es.useRef)(Boolean(y)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return rs(()=>{p.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,es.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),f.enteringChildren=void 0)}),f}function rp(t){if(t)return!1!==t.options.allowProjection?t.projection:rp(t.parent)}function sp(t,{forwardMotionProps:e=!1,type:n}={},i,r){i&&function(t){const e=Ed();for(const n in t)e[n]={...e[n],...t[n]};ec(e)}(i);const s=n?"svg"===n:Xd(t),o=s?Qd:Zd;function a(n,i){let a;const l={...(0,es.useContext)(dd),...n,layoutId:op(n)},{isStatic:u}=l,c=Fd(n),h=o(n,u);if(!u&&"undefined"!=typeof window){(0,es.useContext)(Td).strict;const e=function(t){const{drag:e,layout:n}=Ed();if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(l);a=e.MeasureLayout,c.visualElement=ip(t,h,l,r,e.ProjectionNode,s)}return(0,ts.jsxs)(Bd.Provider,{value:c,children:[a&&c.visualElement?(0,ts.jsx)(a,{visualElement:c.visualElement,...l}):null,qd(t,n,tp(h,c.visualElement,i),h,u,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;const l=(0,es.forwardRef)(a);return l[Jd]=t,l}function op({layoutId:t}){const e=(0,es.useContext)(ns).id;return e&&void 0!==t?e+"-"+t:t}function ap(t,e){if("undefined"==typeof Proxy)return sp;const n=new Map,i=(n,i)=>sp(n,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(r,s)=>"create"===s?i:(n.has(s)||n.set(s,sp(s,void 0,t,e)),n.get(s))})}var lp=(t,e)=>e.isSVG??Xd(t)?new zc(e):new Dc(e,{allowProjection:t!==es.Fragment}),up=0,cp={animation:{Feature:class extends rc{constructor(t){super(t),t.animationState||(t.animationState=Xc(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();$u(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends rc{constructor(){super(...arguments),this.id=up++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&!1===n){if(this.isExitComplete){const{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){const n=Dl(this.node,t,e);if(n){const{transition:t,transitionEnd:e,...i}=n;for(const n in i)this.node.getValue(n)?.jump(i[n])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>
vendor: 14,831 bytes, line 1
1{this.isExitComplete=!0,e(this.id)})}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}};function hp(t){return{point:{x:t.pageX,y:t.pageY}}}function dp(t,e,n,i){return Ah(t,e,(t=>e=>vu(e)&&t(e,hp(e)))(n),i)}var pp=({current:t})=>t?t.ownerDocument.defaultView:null,fp=(t,e)=>Math.abs(t-e);var mp=new Set(["auto","scroll"]),gp=class{constructor(t,e,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=yp(this.lastRawMoveEventInfo,this.transformPagePoint));const t=_p(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=fp(t.x,e.x),i=fp(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;const{point:i}=t,{timestamp:r}=$s;this.history.push({...i,timestamp:r});const{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=yp(e,this.transformPagePoint),Ws.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||r&&r(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const s=_p("pointercancel"===t.type?this.lastMoveEventInfo:yp(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),i&&i(t,s)},!vu(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=s,this.contextWindow=i||window;const a=yp(hp(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=$s;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=e;c&&c(t,_p(a,this.history)),this.removeListeners=ms(dp(this.contextWindow,"pointermove",this.handlePointerMove),dp(this.contextWindow,"pointerup",this.handlePointerUp),dp(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){const t=getComputedStyle(e);(mp.has(t.overflowX)||mp.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r=i.x-e.x,s=i.y-e.y;0===r&&0===s||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r,this.lastMoveEventInfo.point.y+=s):this.history.length>0&&(this.history[0].x-=r,this.history[0].y-=s),this.scrollPositions.set(t,i),Ws.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ns(this.updatePoint)}};function yp(t,e){return e?{point:e(t.point)}:t}function vp(t,e){return{x:t.x-e.x,y:t.y-e.y}}function _p({point:t},e){return{point:t,delta:vp(t,wp(e)),offset:vp(t,xp(e)),velocity:bp(e,.1)}}function xp(t){return t[0]}function wp(t){return t[t.length-1]}function bp(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const r=wp(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>vs(e)));)n--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>2*vs(e)&&(i=t[1]);const s=_s(r.timestamp-i.timestamp);if(0===s)return{x:0,y:0};const o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Tp(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Sp(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}var Pp=.35;function Ep(t,e,n){return{min:Ap(t,e),max:Ap(t,n)}}function Ap(t,e){return"number"==typeof t?t:t[e]||0}var kp=new WeakMap,Cp=class{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={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){const{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new gp(t,{onSessionStart:t=>{e&&this.snapToCursor(hp(t).point),this.stopAnimation()},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(s=n)||"y"===s?pu[s]?null:(pu[s]=!0,()=>{pu[s]=!1}):pu.x||pu.y?null:(pu.x=pu.y=!0,()=>{pu.x=pu.y=!1}),!this.openDragLock))return;var s;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),vh(t=>{let e=this.getAxisMotionValue(t).get()||0;if(mo.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];i&&(e=th(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&Ws.update(()=>r(t,e),!1,!0),Fl(this.visualElement,"transform");const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:s}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:o}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(o),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&Ws.update(()=>s(t,e),!1,!0)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:n,contextWindow:pp(this.visualElement),element:this.visualElement.current})}stop(t,e){const n=t||this.latestPointerEvent,i=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!n)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&Ws.postRender(()=>o(n,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!Rp(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?Do(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?Do(n,t,i.max):Math.min(t,n)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&np(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:i,right:r}){return{x:Tp(t.x,n,r),y:Tp(t.y,e,i)}}(n.layoutBox,t),this.elastic=function(t=Pp){return!1===t?t=0:!0===t&&(t=Pp),{x:Ep(t,"left","right"),y:Ep(t,"top","bottom")}}(e),i!==this.constraints&&!np(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&vh(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!np(t))return!1;const n=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());const r=function(t,e,n){const i=wc(t,n),{scroll:r}=e;return r&&(yc(i.x,r.offset.x),yc(i.y,r.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let s=function(t,e){return{x:Sp(t.x,e.x),y:Sp(t.y,e.y)}}(i.layout.layoutBox,r);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=sc(t))}return s}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{},l=vh(o=>{if(!Rp(o,e,this.currentDirection))return;let l=a&&a[o]||{};!0!==s&&s!==o||(l={min:0,max:0});const u=i?200:1e6,c=i?40:1e7,h={type:"inertia",velocity:n?t[o]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,h)});return Promise.all(l).then(o)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return Fl(this.visualElement,t),n.start(Al(t,n,0,e,this.visualElement,!1))}stopAnimation(){vh(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps()[e];return n||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){vh(e=>{const{drag:n}=this.getProps();if(!Rp(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:s}=i.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-Do(n,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!np(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};vh(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=th(t),r=th(e);return r>i?n=gs(e.min,e.max-i,t.min):i>r&&(n=gs(t.min,t.max-r,e.min)),ls(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),vh(e=>{if(!Rp(e,t,null))return;const n=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];n.set(Do(r,s,i[e]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;kp.set(this.visualElement,this);const t=this.visualElement.current,e=dp(t,"pointerdown",e=>{const{drag:n,dragListener:i=!0}=this.getProps(),r=e.target,s=r!==t&&function(t){return xu.has(t.tagName)||!0===t.isContentEditable}(r);n&&i&&!s&&this.start(e)});let n;const i=()=>{const{dragConstraints:e}=this.getProps();np(e)&&e.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(t,e,n){const i=Iu(t,Mp(n)),r=Iu(e,Mp(n));return()=>{i(),r()}}(t,e.current,()=>this.scalePositionWithinConstraints())))},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),Ws.read(i);const o=Ah(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(vh(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),e(),s(),a&&a(),n&&n()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=Pp,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:o}}};function Mp(t){let e=!0;return()=>{e?e=!1:t()}}function Rp(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}var Dp=t=>(e,n)=>{t&&Ws.update(()=>t(e,n),!1,!0)},Op=!1,Vp=class extends es.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),n&&n.register&&i&&n.register(r),Op&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Dh.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:r}=this.props,{projection:s}=n;return s?(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),Op=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||Ws.postRender(()=>{const t=s.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:t,layoutAnchor:e}=this.props,{projection:n}=t;n&&(n.options.layoutAnchor=e,n.root.didUpdate(),hu.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;Op=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}};function Lp(t){const[e,n]=_d(),i=(0,es.useContext)(ns);return(0,ts.jsx)(Vp,{...t,layoutGroup:i,switchLayoutGroup:(0,es.useContext)(ep),isPresent:e,safeToRemove:n})}var jp={pan:{Feature:class extends rc{constructor(){super(...arguments),this.removePointerDownListener=fs}onPointerDown(t){this.session=new gp(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pp(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();
vendor: 12,901 bytes, line 1
1return{onSessionStart:Dp(t),onStart:Dp(e),onMove:Dp(n),onEnd:(t,e)=>{delete this.session,i&&Ws.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=dp(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends rc{constructor(t){super(t),this.removeGroupControls=fs,this.removeListeners=fs,this.controls=new Cp(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||fs}update(){const{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:hd,MeasureLayout:Lp}};function Bp(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const r=i["onHover"+n];r&&Ws.postRender(()=>r(e,hp(e)))}function Fp(t,e,n){const{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const r=i["onTap"+("End"===n?"":n)];r&&Ws.postRender(()=>r(e,hp(e)))}var Ip=new WeakMap,zp=new WeakMap,Up=t=>{const e=Ip.get(t.target);e&&e(t)},Wp=t=>{t.forEach(Up)};function Np(t,e,n){const i=function({root:t,...e}){const n=t||document;zp.has(n)||zp.set(n,{});const i=zp.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(Wp,{root:t,...e})),i[r]}(e);return Ip.set(t,n),i.observe(t),()=>{Ip.delete(t),i.unobserve(t)}}var $p={some:0,all:1};var Hp=ap({...cp,...{inView:{Feature:class extends rc{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:$p[i]};this.stopObserver=Np(this.node.current,s,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,r&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),s=e?n:i;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends rc{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=Eu(t,(t,e)=>(Fp(this.node,e,"Start"),(t,{success:e})=>Fp(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends rc{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=ms(Ah(this.node.current,"focus",()=>this.onFocus()),Ah(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends rc{mount(){const{current:t}=this.node;t&&(this.unmount=gu(t,(t,e)=>(Bp(this.node,e,"Start"),t=>Bp(this.node,t,"End"))))}unmount(){}}}},...jp,...{layout:{ProjectionNode:hd,MeasureLayout:Lp}}},lp);function Yp(t){return"undefined"!=typeof window&&(t?Za():Ga())}var Xp={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function qp(t,e,n,i){const r=n[e],{length:s,position:o}=Xp[e],a=r.current,l=n.time;r.current=Math.abs(t[`scroll${o}`]),r.scrollLength=t[`scroll${s}`]-t[`client${s}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=gs(0,r.scrollLength,r.current);const u=i-l;r.velocity=u>50?0:xs(r.current-a,u)}var Kp={start:0,center:.5,end:1};function Gp(t,e,n=0){let i=0;if(t in Kp&&(t=Kp[t]),"string"==typeof t){const e=parseFloat(t);t.endsWith("px")?i=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?i=e/100*document.documentElement.clientWidth:t.endsWith("vh")?i=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(i=e*t),n+i}var Zp=[0,0];function Qp(t,e,n,i){let r=Array.isArray(t)?t:Zp,s=0,o=0;return"number"==typeof t?r=[t,t]:"string"==typeof t&&(r=(t=t.trim()).includes(" ")?t.split(" "):[t,Kp[t]?t:"0"]),s=Gp(r[0],n,i),o=Gp(r[1],e),s-o}var Jp={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},tf={x:0,y:0};function ef(t,e,n){const{offset:i=Jp.All}=n,{target:r=t,axis:s="y"}=n,o="y"===s?"height":"width",a=r!==t?function(t,e){const n={x:0,y:0};let i=t;for(;i&&i!==e;)if(cu(i))n.x+=i.offsetLeft,n.y+=i.offsetTop,i=i.offsetParent;else if("svg"===i.tagName){const t=i.getBoundingClientRect();i=i.parentElement;const e=i.getBoundingClientRect();n.x+=t.left-e.left,n.y+=t.top-e.top}else{if(!(i instanceof SVGGraphicsElement))break;{const{x:t,y:e}=i.getBBox();n.x+=t,n.y+=e;let r=null,s=i.parentNode;for(;!r;)"svg"===s.tagName&&(r=s),s=i.parentNode;i=r}}return n}(r,t):tf,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:function(t){return"getBBox"in t&&"svg"!==t.tagName?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}(r),u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let c=!e[s].interpolate;const h=i.length;for(let d=0;d<h;d++){const t=Qp(i[d],u[o],l[o],a[s]);c||t===e[s].interpolatorOffsets[d]||(c=!0),e[s].offset[d]=t}c&&(e[s].interpolate=fa(e[s].offset,ma(i),{clamp:!1}),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=ls(0,1,e[s].interpolate(e[s].current))}function nf(t,e,n,i={}){return{measure:e=>{!function(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let i=e;for(;i&&i!==t;)n.x.targetOffset+=i.offsetLeft,n.y.targetOffset+=i.offsetTop,i=i.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}(t,i.target,n),function(t,e,n){qp(t,"x",e,n),qp(t,"y",e,n),e.time=n}(t,n,e),(i.offset||i.target)&&ef(t,n,i)},notify:()=>e(n)}}var rf=new WeakMap,sf=new WeakMap,of=new WeakMap,af=new WeakMap,lf=new WeakMap,uf=t=>t===document.scrollingElement?window:t;function cf(t,{container:e=document.scrollingElement,trackContentSize:n=!1,...i}={}){if(!e)return fs;let r=of.get(e);r||(r=new Set,of.set(e,r));const s=nf(e,t,{time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}},i);if(r.add(s),!rf.has(e)){const t=()=>{for(const t of r)t.measure($s.timestamp);Ws.preUpdate(n)},n=()=>{for(const t of r)t.notify()},i=()=>Ws.read(t);rf.set(e,i);const s=uf(e);window.addEventListener("resize",i),e!==document.documentElement&&sf.set(e,Iu(e,i)),s.addEventListener("scroll",i),i()}if(n&&!lf.has(e)){const t=rf.get(e),n={width:e.scrollWidth,height:e.scrollHeight};af.set(e,n);const i=()=>{const i=e.scrollWidth,r=e.scrollHeight;n.width===i&&n.height===r||(t(),n.width=i,n.height=r)},r=Ws.read(i,!0);lf.set(e,r)}const o=rf.get(e);return Ws.read(o,!1,!0),()=>{Ns(o);const t=of.get(e);if(!t)return;if(t.delete(s),t.size)return;const n=rf.get(e);rf.delete(e),n&&(uf(e).removeEventListener("scroll",n),sf.get(e)?.(),window.removeEventListener("resize",n));const i=lf.get(e);i&&(Ns(i),lf.delete(e)),af.delete(e)}}var hf=[[Jp.Enter,"entry"],[Jp.Exit,"exit"],[Jp.Any,"cover"],[Jp.All,"contain"]],df={start:0,end:1};function pf(t){const e=t.trim().split(/\s+/);if(2!==e.length)return;const n=df[e[0]],i=df[e[1]];return void 0!==n&&void 0!==i?[n,i]:void 0}function ff(t,e){const n=function(t){if(2!==t.length)return;const e=[];for(const n of t)if(Array.isArray(n))e.push(n);else{if("string"!=typeof n)return;{const t=pf(n);if(!t)return;e.push(t)}}return e}(t);if(!n)return!1;for(let i=0;i<2;i++){const t=n[i],r=e[i];if(t[0]!==r[0]||t[1]!==r[1])return!1}return!0}function mf(t){if(!t)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[e,n]of hf)if(ff(t,e))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}var gf=new Map;function yf(t){const e={value:0};return{currentTime:e,cancel:cf(n=>{e.value=100*n[t.axis].progress},t)}}function vf({source:t,container:e,...n}){const{axis:i}=n;t&&(e=t);let r=gf.get(e);r||(r=new Map,gf.set(e,r));const s=n.target??"self";let o=r.get(s);o||(o={},r.set(s,o));const a=i+(n.offset??[]).join(",");return o[a]||(n.target&&Yp(n.target)?mf(n.offset)?o[a]=new ViewTimeline({subject:n.target,axis:i}):o[a]=yf({container:e,...n}):Yp()?o[a]=new ScrollTimeline({source:e,axis:i}):o[a]=yf({container:e,...n})),o[a]}function _f(t,{axis:e="y",container:n=document.scrollingElement,...i}={}){if(!n)return fs;const r={axis:e,container:n,...i};return"function"==typeof t?function(t,e){return function(t){return 2===t.length}(t)||function(t){return t&&(t.target||t.offset)}(e)?cf(n=>{t(n[e.axis].progress,n)},e):zu(t,vf(e))}(t,r):function(t,e){const n=vf(e),i=e.target?mf(e.offset):void 0,r=e.target?Yp(e.target)&&!!i:Yp();return t.attachTimeline({timeline:r?n:void 0,...i&&r&&{rangeStart:i.rangeStart,rangeEnd:i.rangeEnd},observe:t=>(t.pause(),zu(e=>{t.time=t.iterationDuration*e},n))})}(t,r)}var xf=()=>({scrollX:_l(0),scrollY:_l(0),scrollXProgress:_l(0),scrollYProgress:_l(0)}),wf=t=>!!t&&!t.current;function bf(t,e,n,i){return{factory:r=>{let s;const o=()=>{wf(n)||wf(i)?hu.read(o):s=_f(r,{...e,axis:t,container:n?.current||void 0,target:i?.current||void 0})};return hu.read(o),()=>{du(o),s?.()}},times:[0,1],keyframes:[0,1],ease:t=>t,duration:1}}function Tf({container:t,target:e,...n}={}){const i=is(xf);(function(t,e){return"undefined"!=typeof window&&(t?Za()&&!!mf(e):Ga())})(e,n.offset)&&(i.scrollXProgress.accelerate=bf("x",n,t,e),i.scrollYProgress.accelerate=bf("y",n,t,e));const r=(0,es.useRef)(null),s=(0,es.useRef)(!1),o=(0,es.useCallback)(()=>(r.current=_f((t,{x:e,y:n})=>{i.scrollX.set(e.current),i.scrollXProgress.set(e.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)},{...n,container:t?.current||void 0,target:e?.current||void 0}),()=>{r.current?.()}),[t,e,JSON.stringify(n.offset)]);return rs(()=>(s.current=!1,wf(t)||wf(e)?void(s.current=!0):o()),[o]),(0,es.useEffect)(()=>{if(!s.current)return;let n;const i=()=>{const i=wf(t),r=wf(e);i||r||(n=o())};return hu.read(i),()=>{du(i),n?.()}},[o]),i}function Sf(t,e){const n=function(t){const e=is(()=>_l(t)),{isStatic:n}=(0,es.useContext)(dd);if(n){const[,n]=(0,es.useState)(t);(0,es.useEffect)(()=>e.on("change",n),[])}return e}(e()),i=()=>n.set(e());return i(),rs(()=>{const e=()=>Ws.preRender(i,!1,!0),n=t.map(t=>t.on("change",e));return()=>{n.forEach(t=>t()),Ns(i)}}),n}function Pf(t,e,n,i){if("function"==typeof t)return function(t){yl.current=[],t();const e=Sf(yl.current,t);return yl.current=void 0,e}(t);if(void 0!==n&&!Array.isArray(n)&&"function"!=typeof e)return function(t,e,n,i){const r=is(()=>Object.keys(n)),s=is(()=>({}));for(const o of r)s[o]=Pf(t,e,n[o],i);return s}(t,e,n,i);const r="function"==typeof e?e:function(...t){const e=!Array.isArray(t[0]),n=e?0:-1,i=t[0+n],r=fa(t[1+n],t[2+n],t[3+n]);return e?r(i):r}(e,n,i),s=Array.isArray(t)?Ef(t,r):Ef([t],([t])=>r(t)),o=Array.isArray(t)?void 0:t.accelerate;return o&&!o.isTransformed&&"function"!=typeof e&&Array.isArray(n)&&!1!==i?.clamp&&(s.accelerate={...o,times:e,keyframes:n,isTransformed:!0,...i?.ease?{ease:i.ease}:{}}),s}function Ef(t,e){const n=is(()=>[]);return Sf(t,()=>{n.length=0;const i=t.length;for(let e=0;e<i;e++)n[e]=t[e].get();return e(n)})}var Af={some:0,all:1};function kf(t,{root:e,margin:n,amount:i,once:r=!1,initial:s=!1}={}){const[o,a]=(0,es.useState)(s);return(0,es.useEffect)(()=>{if(!t.current||r&&o)return;const s={root:e&&e.current||void 0,margin:n,amount:i};return function(t,e,{root:n,margin:i,amount:r="some"}={}){const s=lu(t),o=new WeakMap,a=new IntersectionObserver(t=>{t.forEach(t=>{const n=o.get(t.target);if(t.isIntersecting!==Boolean(n))if(t.isIntersecting){const n=e(t.target,t);"function"==typeof n?o.set(t.target,n):a.unobserve(t.target)}else"function"==typeof n&&(n(t),o.delete(t.target))})},{root:n,rootMargin:i,threshold:"number"==typeof r?r:Af[r]});return s.forEach(t=>a.observe(t)),()=>a.disconnect()}(t.current,()=>(a(!0),r?void 0:()=>a(!1)),s)},[e,t,n,r,i]),o}export{Ld as a,Cd as c,Ji as d,l as f,Hp as i,bd as l,Pf as n,Rd as o,o as p,Tf as r,Od as s,kf as t,Jr as u};
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.