1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1905],{55005:function(t,e,n){"use strict";n.d(e,{E:function(){return s}});var i=n(75466),r=function(t){return t};function s(t){void 0===t&&(t=r);var e=new i.x;return[e.pipe(t),function(t){return e.next(t)}]}},87622:function(t,e,n){"use strict";let i,r,s;var o,a,u=Object.create,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,f=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=(t,e,n,i)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let r of h(e))d.call(t,r)||r===n||l(t,r,{get:()=>e[r],enumerable:!(i=c(e,r))||i.enumerable});return t},m={};((t,e)=>{for(var n in e)l(t,n,{get:e[n],enumerable:!0})})(m,{$dispatcherGuard:()=>A,$makeReadOnly:()=>D,$reset:()=>M,$structuralCheck:()=>L,c:()=>P,clearRenderCounterRegistry:()=>V,renderCounterRegistry:()=>R,useRenderCounter:()=>k}),t.exports=p(l({},"__esModule",{value:!0}),m);var v=(s=null!=(i=n(4341))?u(f(i)):{},p(!r&&i&&i.__esModule?s:l(s,"default",{value:i,enumerable:!0}),i)),{useRef:y,useEffect:g,isValidElement:b}=v,x=null!=(o=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?o:v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.memo_cache_sentinel"),P="function"==typeof(null==(a=v.__COMPILER_RUNTIME)?void 0:a.c)?v.__COMPILER_RUNTIME.c:function(t){return v.useMemo(()=>{let e=Array(t);for(let n=0;n<t;n++)e[n]=w;return e[w]=!0,e},[])},T={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(t=>{T[t]=()=>{throw Error(`[React] Unexpected React hook call (${t}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var S=null;function E(t){return x.ReactCurrentDispatcher.current=t,x.ReactCurrentDispatcher.current}T.useMemoCache=t=>{if(null!=S)return S.useMemoCache(t);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var C=[];function A(t){let e=x.ReactCurrentDispatcher.current;if(0===t){if(C.push(e),1===C.length&&(S=e),e===T)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");E(T)}else if(1===t){let t=C.pop();if(null==t)throw Error("React Compiler internal error: unexpected null in guard stack");0===C.length&&(S=null),E(t)}else if(2===t)C.push(e),E(S);else if(3===t){let t=C.pop();if(null==t)throw Error("React Compiler internal error: unexpected null in guard stack");E(t)}else throw Error("React Compiler internal error: unreachable block"+t)}function M(t){for(let e=0;e<t.length;e++)t[e]=w}function D(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var R=new Map;function V(){for(let t of R.values())t.forEach(t=>{t.count=0})}function k(t){let e=y(null);null!=e.current&&(e.current.count+=1),g(()=>{if(null==e.current){let n;let i={count:0};null==(n=R.get(t))&&(n=new Set,R.set(t,n)),n.add(i),e.current=i}return()=>{null!==e.current&&function(t,e){let n=R.get(t);null!=n&&n.delete(e)}(t,e.current)}})}var O=new Set;function L(t,e,n,i,r,s){function o(t,e,o,a){let u=`${i}:${s} [${r}] ${n}${o} changed from ${t} to ${e} at depth ${a}`;O.has(u)||(O.add(u),console.error(u))}!function t(e,n,i,r){if(!(r>2)&&e!==n){if(typeof e!=typeof n)o(`type ${typeof e}`,`type ${typeof n}`,i,r);else if("object"==typeof e){let s=Array.isArray(e),a=Array.isArray(n);if(null===e&&null!==n)o("null",`type ${typeof n}`,i,r);else if(null===n)o(`type ${typeof e}`,"null",i,r);else if(e instanceof Map){if(n instanceof Map){if(e.size!==n.size)o(`Map instance with size ${e.size}`,`Map instance with size ${n.size}`,i,r);else for(let[s,a]of e)n.has(s)?t(a,n.get(s),`${i}.get(${s})`,r+1):o(`Map instance with key ${s}`,`Map instance without key ${s}`,i,r)}else o("Map instance","other value",i,r)}else if(n instanceof Map)o("other value","Map instance",i,r);else if(e instanceof Set){if(n instanceof Set){if(e.size!==n.size)o(`Set instance with size ${e.size}`,`Set instance with size ${n.size}`,i,r);else for(let t of n)e.has(t)||o(`Set instance without element ${t}`,`Set instance with element ${t}`,i,r)}else o("Set instance","other value",i,r)}else if(n instanceof Set)o("other value","Set instance",i,r);else if(s||a){if(s!==a)o(`type ${s?"array":"object"}`,`type ${a?"array":"object"}`,i,r);else if(e.length!==n.length)o(`array with length ${e.length}`,`array with length ${n.length}`,i,r);else for(let s=0;s<e.length;s++)t(e[s],n[s],`${i}[${s}]`,r+1)}else if(b(e)||b(n))b(e)!==b(n)?o(`type ${b(e)?"React element":"object"}`,`type ${b(n)?"React element":"object"}`,i,r):e.type!==n.type?o(`React element of type ${e.type}`,`React element of type ${n.type}`,i,r):t(e.props,n.props,`[props of ${i}]`,r+1);else{for(let t in n)t in e||o(`object without key ${t}`,`object with key ${t}`,i,r);for(let s in e)s in n?t(e[s],n[s],`${i}.${s}`,r+1):o(`object with key ${s}`,`object without key ${s}`,i,r)}}else{if("function"==typeof e)return;isNaN(e)||isNaN(n)?isNaN(e)!==isNaN(n)&&o(`${isNaN(e)?"NaN":"non-NaN value"}`,`${isNaN(n)?"NaN":"non-NaN value"}`,i,r):e!==n&&o(e,n,i,r)}}}(t,e,"",0)}},90697:function(t,e,n){"use strict";n.d(e,{y:function(){return c}});var i=n(47743),r=n(66888),s=n(74380),o=n(42348),a=n(84940),u=n(67101),l=n(43961),c=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var s,o=this,a=(s=t)&&s instanceof i.Lv||s&&(0,u.m)(s.next)&&(0,u.m)(s.error)&&(0,u.m)(s.
vendor: 5,627 bytes, line 1
1complete)&&(0,r.Nn)(s)?t:new i.Hp(t,e,n);return(0,l.x)(function(){var t=o.operator,e=o.source;a.add(t?t.call(a,e):e?o._subscribe(a):o._trySubscribe(a))}),a},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=h(e))(function(e,r){var s=new i.Hp({next:function(e){try{t(e)}catch(t){r(t),s.unsubscribe()}},error:r,complete:e});n.subscribe(s)})},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[s.L]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(0,o.U)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=h(t))(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})},t.create=function(e){return new t(e)},t}();function h(t){var e;return null!==(e=null!=t?t:a.v.Promise)&&void 0!==e?e:Promise}},75466:function(t,e,n){"use strict";n.d(e,{x:function(){return l}});var i=n(98089),r=n(90697),s=n(66888),o=(0,n(87930).d)(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),a=n(64014),u=n(43961),l=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return(0,i.ZT)(e,t),e.prototype.lift=function(t){var e=new c(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new o},e.prototype.next=function(t){var e=this;(0,u.x)(function(){var n,r;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var s=(0,i.XA)(e.currentObservers),o=s.next();!o.done;o=s.next())o.value.next(t)}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}}})},e.prototype.error=function(t){var e=this;(0,u.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var n=e.observers;n.length;)n.shift().error(t)}})},e.prototype.complete=function(){var t=this;(0,u.x)(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this.hasError,i=this.isStopped,r=this.observers;return n||i?s.Lc:(this.currentObservers=null,r.push(t),new s.w0(function(){e.currentObservers=null,(0,a.P)(r,t)}))},e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,i=this.isStopped;e?t.error(n):i&&t.complete()},e.prototype.asObservable=function(){var t=new r.y;return t.source=this,t},e.create=function(t,e){return new c(t,e)},e}(r.y),c=function(t){function e(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return(0,i.ZT)(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:s.Lc},e}(l)},47743:function(t,e,n){"use strict";n.d(e,{Hp:function(){return y},Lv:function(){return d}});var i=n(98089),r=n(67101),s=n(66888),o=n(84940),a=n(82590),u=n(73910),l=c("C",void 0,void 0);function c(t,e,n){return{kind:t,value:e,error:n}}var h=n(54172),f=n(43961),d=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,(0,s.Nn)(e)&&e.add(n)):n.destination=x,n}return(0,i.ZT)(e,t),e.create=function(t,e,n){return new y(t,e,n)},e.prototype.next=function(t){this.isStopped?b(c("N",t,void 0),this):this._next(t)},e.prototype.error=function(t){this.isStopped?b(c("E",void 0,t),this):(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped?b(l,this):(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(s.w0),p=Function.prototype.bind;function m(t,e){return p.call(t,e)}var v=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){g(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){g(t)}else g(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){g(t)}},t}(),y=function(t){function e(e,n,i){var s,a,u=t.call(this)||this;return(0,r.m)(e)||!e?s={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=i?i:void 0}
1:u&&o.v.useDeprecatedNextContext?((a=Object.create(e)).unsubscribe=function(){return u.unsubscribe()},s={next:e.next&&m(e.next,a),error:e.error&&m(e.error,a),complete:e.complete&&m(e.complete,a)}):s=e,u.destination=new v(s),u}return(0,i.ZT)(e,t),e}(d);function g(t){o.v.useDeprecatedSynchronousErrorHandling?(0,f.O)(t):(0,a.h)(t)}function b(t,e){var n=o.v.onStoppedNotification;n&&h.z.setTimeout(function(){return n(t,e)})}var x={closed:!0,next:u.Z,error:function(t){throw t},complete:u.Z}},66888:function(t,e,n){"use strict";n.d(e,{Lc:function(){return u},w0:function(){return a},Nn:function(){return l}});var i=n(98089),r=n(67101),s=(0,n(87930).d)(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}),o=n(64014),a=function(){var t;function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t,e,n,o,a,u=this._parentage;if(u){if(this._parentage=null,Array.isArray(u))try{for(var l=(0,i.XA)(u),h=l.next();!h.done;h=l.next())h.value.remove(this)}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}else u.remove(this)}var f=this.initialTeardown;if((0,r.m)(f))try{f()}catch(t){a=t instanceof s?t.errors:[t]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=(0,i.XA)(d),m=p.next();!m.done;m=p.next()){var v=m.value;try{c(v)}catch(t){a=null!=a?a:[],t instanceof s?a=(0,i.ev)((0,i.ev)([],(0,i.CR)(a)),(0,i.CR)(t.errors)):a.push(t)}}}catch(t){n={error:t}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}}if(a)throw new s(a)}},e.prototype.add=function(t){var n;if(t&&t!==this){if(this.closed)c(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}},e.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},e.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},e.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&(0,o.P)(e,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&(0,o.P)(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),u=a.EMPTY;function l(t){return t instanceof a||t&&"closed"in t&&(0,r.m)(t.remove)&&(0,r.m)(t.add)&&(0,r.m)(t.unsubscribe)}function c(t){(0,r.m)(t)?t():t.unsubscribe()}},84940:function(t,e,n){"use strict";n.d(e,{v:function(){return i}});var i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},1028:function(t,e,n){"use strict";n.d(e,{D:function(){return s}});var i=n(36387),r=n(51920);function s(t,e){return e?(0,i.x)(t,e):(0,r.Xf)(t)}},51920:function(t,e,n){"use strict";n.d(e,{Xf:function(){return m}});var i=n(98089),r=n(9742),s=n(45320),o=n(90697),a=n(18026),u=n(98687),l=n(9106),c=n(61572),h=n(87788),f=n(67101),d=n(82590),p=n(74380);function m(t){if(t instanceof o.y)return t;if(null!=t){if((0,a.c)(t))return new o.y(function(e){var n=t[p.L]();if((0,f.m)(n.subscribe))return n.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")});if((0,r.z)(t))return new o.y(function(e){for(var n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()});if((0,s.t)(t))return new o.y(function(e){t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,d.h)});if((0,u.D)(t))return v(t);if((0,c.T)(t))return new o.y(function(e){var n,r;try{for(var s=(0,i.XA)(t),o=s.next();!o.done;o=s.next()){var a=o.value;if(e.next(a),e.closed)return}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}e.complete()});if((0,h.L)(t))return v((0,h.Q)(t))}throw(0,l.z)(t)}function v(t){return new o.y(function(e){(function(t,e){var n,r,s,o;return(0,i.mG)(this,void 0,void 0,function(){var a;return(0,i.Jh)(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),n=(0,i.KL)(t),u.label=1;case 1:return[4,n.next()];case 2:if((r=u.sent()).done)return[3,4];if(a=r.value,e.next(a),e.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s={error:u.sent()},[3,11];case 6:if(u.trys.push([6,,9,10]),!(r&&!r.done&&(o=n.return)))return[3,8];return[4,o.call(n)];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];
1case 10:return[7];case 11:return e.complete(),[2]}})})})(t,e).catch(function(t){return e.error(t)})})}},5329:function(t,e,n){"use strict";n.d(e,{of:function(){return s}});var i=n(96711),r=n(1028);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,i.yG)(t);return(0,r.D)(t,n)}},90491:function(t,e,n){"use strict";n.d(e,{H:function(){return a}});var i=n(90697),r=n(86594),s=n(24483),o=n(4556);function a(t,e,n){void 0===t&&(t=0),void 0===n&&(n=r.P);var a=-1;return null!=e&&((0,s.K)(e)?n=e:a=e),new i.y(function(e){var i=(0,o.q)(t)?+t-n.now():t;i<0&&(i=0);var r=0;return n.schedule(function(){e.closed||(e.next(r++),0<=a?this.schedule(void 0,a):e.complete())},i)})}},21646:function(t,e,n){"use strict";n.d(e,{Q:function(){return s},x:function(){return r}});var i=n(98089);function r(t,e,n,i,r){return new s(t,e,n,i,r)}var s=function(t){function e(e,n,i,r,s,o){var a=t.call(this,e)||this;return a.onFinalize=s,a.shouldUnsubscribe=o,a._next=n?function(t){try{n(t)}catch(t){e.error(t)}}:t.prototype._next,a._error=r?function(t){try{r(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=i?function(){try{i()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,a}return(0,i.ZT)(e,t),e.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),n||null===(e=this.onFinalize)||void 0===e||e.call(this)}},e}(n(47743).Lv)},3556:function(t,e,n){"use strict";n.d(e,{K:function(){return function t(e){return(0,s.e)(function(n,s){var o,a=null,u=!1;a=n.subscribe((0,r.x)(s,void 0,void 0,function(r){o=(0,i.Xf)(e(r,t(e)(n))),a?(a.unsubscribe(),a=null,o.subscribe(s)):u=!0})),u&&(a.unsubscribe(),a=null,o.subscribe(s))})}}});var i=n(51920),r=n(21646),s=n(91720)},37106:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(91720);function r(t){return(0,i.e)(function(e,n){try{e.subscribe(n)}finally{n.add(t)}})}},10727:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(91720),r=n(21646);function s(t,e){return(0,i.e)(function(n,i){var s=0;n.subscribe((0,r.x)(i,function(n){i.next(t.call(e,n,s++))}))})}},9799:function(t,e,n){"use strict";n.d(e,{B:function(){return u}});var i=n(98089),r=n(51920),s=n(75466),o=n(47743),a=n(91720);function u(t){void 0===t&&(t={});var e=t.connector,n=void 0===e?function(){return new s.x}:e,i=t.resetOnError,u=void 0===i||i,c=t.resetOnComplete,h=void 0===c||c,f=t.resetOnRefCountZero,d=void 0===f||f;return function(t){var e,i,s,c=0,f=!1,p=!1,m=function(){null==i||i.unsubscribe(),i=void 0},v=function(){m(),e=s=void 0,f=p=!1},y=function(){var t=e;v(),null==t||t.unsubscribe()};return(0,a.e)(function(t,a){c++,p||f||m();var g=s=null!=s?s:n();a.add(function(){0!=--c||p||f||(i=l(y,d))}),g.subscribe(a),!e&&c>0&&(e=new o.Hp({next:function(t){return g.next(t)},error:function(t){p=!0,m(),i=l(v,u,t),g.error(t)},complete:function(){f=!0,m(),i=l(v,h),g.complete()}}),(0,r.Xf)(t).subscribe(e))})(t)}}function l(t,e){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];if(!0===e){t();return}if(!1!==e){var a=new o.Hp({next:function(){a.unsubscribe(),t()}});return(0,r.Xf)(e.apply(void 0,(0,i.ev)([],(0,i.CR)(n)))).subscribe(a)}}},9622:function(t,e,n){"use strict";n.d(e,{b:function(){return a}});var i=n(67101),r=n(91720),s=n(21646),o=n(89627);function a(t,e,n){var a=(0,i.m)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,r.e)(function(t,e){null===(n=a.subscribe)||void 0===n||n.call(a);var n,i=!0;t.subscribe((0,s.x)(e,function(t){var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)},function(){var t;i=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()},function(t){var n;i=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)},function(){var t,e;i&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)}))}):o.y}},36387:function(t,e,n){"use strict";n.d(e,{x:function(){return x}});var i=n(51920),r=n(54273),s=n(91720),o=n(21646);function a(t,e){return void 0===e&&(e=0),(0,s.e)(function(n,i){n.subscribe((0,o.x)(i,function(n){return(0,r.f)(i,t,function(){return i.next(n)},e)},function(){return(0,r.f)(i,t,function(){return i.complete()},e)},function(n){return(0,r.f)(i,t,function(){return i.error(n)},e)}))})}function u(t,e){return void 0===e&&(e=0),(0,s.e)(function(n,i){i.add(t.schedule(function(){return n.subscribe(i)},e))})}var l=n(90697),c=n(30866),h=n(67101);function f(t,e){if(!t)throw Error("Iterable cannot be null");return new l.y(function(n){(0,r.f)(n,e,function(){var i=t[Symbol.asyncIterator]();(0,r.f)(n,e,function(){i.next().then(function(t){t.done?n.complete():n.next(t.value)})},0,!0)})})}var d=n(18026),p=n(45320),m=n(9742),v=n(61572),y=n(98687),g=n(9106),b=n(87788);function x(t,e){if(null!=t){if((0,d.c)(t))return(0,i.Xf)(t).pipe(u(e),a(e));if((0,m.z)(t))return new l.y(function(n){var i=0;return e.schedule(function(){i===t.length?n.complete():(n.next(t[i++]),n.closed||this.schedule())})});if((0,p.t)(t))return(0,i.Xf)(t).pipe(u(e),a(e));if((0,y.D)(t))return f(t,e);if((0,v.T)(t))return new l.y(function(n){var i;return(0,r.f)(n,e,function(){i=t[c.h](),(0,r.f)(n,e,function(){var t,e,r;try{e=(t=i.next()).value,r=t.done}catch(t){n.error(t);return}r?n.complete():n.next(e)},0,!0)}),function(){return(0,h.m)(null==i?void 0:i.return)&&i.return()}});if((0,b.L)(t))return f((0,b.Q)(t),e)}throw(0,g.z)(t)}},59770:function(t,e,n){"use strict";n.d(e,{o:function(){return a}});var i=n(98089),r=function(t){function e(e,n){return t.call(this)||this}return(0,i.ZT)(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(66888).w0),s={setInterval:function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=s.delegate;return(null==o?void 0:o.setInterval)?o.setInterval.apply(o,(0,i.ev)([t,e],(0,i.CR)(n))):setInterval.apply(void 0,(0,i.ev)([t,e],(0,i.CR)(n)))},clearInterval:function(t){var e=s.delegate;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0},o=n(64014),a=function(t){function e(e,n){var i=t.call(this,e,n)||this;
1return i.scheduler=e,i.work=n,i.pending=!1,i}return(0,i.ZT)(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n,i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),s.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&s.clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n,i=!1;try{this.work(t)}catch(t){i=!0,n=t||Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n},e.prototype.unsubscribe=function(){if(!this.closed){var e=this.id,n=this.scheduler,i=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.P)(i,this),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(r)},47916:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var i=n(98089),r=n(28807),s=function(){function t(e,n){void 0===n&&(n=t.now),this.schedulerActionCtor=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.schedulerActionCtor(this,t).schedule(n,e)},t.now=r.l.now,t}(),o=function(t){function e(e,n){void 0===n&&(n=s.now);var i=t.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return(0,i.ZT)(e,t),e.prototype.flush=function(t){var e,n=this.actions;if(this._active){n.push(t);return}this._active=!0;do if(e=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}},e}(s)},40090:function(t,e,n){"use strict";n.d(e,{E:function(){return d}});var i,r=n(98089),s=n(59770),o=1,a={};function u(t){return t in a&&(delete a[t],!0)}var l=function(t){var e=o++;return a[e]=!0,i||(i=Promise.resolve()),i.then(function(){return u(e)&&t()}),e},c=function(t){u(t)},h={setImmediate:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=h.delegate;return((null==n?void 0:n.setImmediate)||l).apply(void 0,(0,r.ev)([],(0,r.CR)(t)))},clearImmediate:function(t){var e=h.delegate;return((null==e?void 0:e.clearImmediate)||c)(t)},delegate:void 0},f=function(t){function e(e,n){var i=t.call(this,e,n)||this;
1return i.scheduler=e,i.work=n,i}return(0,r.ZT)(e,t),e.prototype.requestAsyncId=function(e,n,i){return(void 0===i&&(i=0),null!==i&&i>0)?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e._scheduled||(e._scheduled=h.setImmediate(e.flush.bind(e,void 0))))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);var r,s=e.actions;null!=n&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==n&&(h.clearImmediate(n),e._scheduled===n&&(e._scheduled=void 0))},e}(s.o),d=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.flush=function(t){this._active=!0;var e,n=this._scheduled;this._scheduled=void 0;var i=this.actions;t=t||i.shift();do if(e=t.execute(t.state,t.delay))break;while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,e){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw e}},e}(n(47916).v))(f)},86594:function(t,e,n){"use strict";n.d(e,{P:function(){return s},z:function(){return r}});var i=n(59770),r=new(n(47916)).v(i.o),s=r},28807:function(t,e,n){"use strict";n.d(e,{l:function(){return i}});var i={now:function(){return(i.delegate||Date).now()},delegate:void 0}},54172:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var i=n(98089),r={setTimeout:function(t,e){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];var o=r.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,(0,i.ev)([t,e],(0,i.CR)(n))):setTimeout.apply(void 0,(0,i.ev)([t,e],(0,i.CR)(n)))},clearTimeout:function(t){var e=r.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},30866:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},74380:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},96711:function(t,e,n){"use strict";n.d(e,{_6:function(){return u},jO:function(){return o},yG:function(){return a}});var i=n(67101),r=n(24483);function s(t){return t[t.length-1]}function o(t){return(0,i.m)(s(t))?t.pop():void 0}function a(t){return(0,r.K)(s(t))?t.pop():void 0}function u(t,e){return"number"==typeof s(t)?t.pop():e}},64014:function(t,e,n){"use strict";function i(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{P:function(){return i}})},87930:function(t,e,n){"use strict";function i(t){var e=t(function(t){Error.call(t),t.stack=Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{d:function(){return i}})},43961:function(t,e,n){"use strict";n.d(e,{O:function(){return o},x:function(){return s}});var i=n(84940),r=null;function s(t){if(i.v.useDeprecatedSynchronousErrorHandling){var e=!r;if(e&&(r={errorThrown:!1,error:null}),t(),e){var n=r,s=n.errorThrown,o=n.error;if(r=null,s)throw o}}else t()}function o(t){i.v.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=t)}},54273:function(t,e,n){"use strict";function i(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=!1);var s=e.schedule(function(){n(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(s),!r)return s}n.d(e,{f:function(){return i}})},89627:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},9742:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var i=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},98687:function(t,e,n){"use strict";n.d(e,{D:function(){return r}});var i=n(67101);function r(t){return Symbol.asyncIterator&&(0,i.m)(null==t?void 0:t[Symbol.asyncIterator])}},4556:function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(t)}n.d(e,{q:function(){return i}})},67101:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},18026:function(t,e,n){"use strict";n.d(e,{c:function(){return s}});var i=n(74380),r=n(67101);function s(t){return(0,r.m)(t[i.L])}},61572:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(30866),r=n(67101);function s(t){return(0,r.m)(null==t?void 0:t[i.h])}},45320:function(t,e,n){"use strict";n.d(e,{t:function(){return r}});var i=n(67101);function r(t){return(0,i.m)(null==t?void 0:t.then)}},87788:function(t,e,n){"use strict";n.d(e,{L:function(){return o},Q:function(){return s}});var i=n(98089),r=n(67101);function s(t){return(0,i.FC)(this,arguments,function(){var e,n,r;return(0,i.Jh)(this,function(s){switch(s.label){case 0:e=t.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,(0,i.qq)(e.read())];case 3:if(r=(n=s.sent()).value,!n.done)return[3,5];return[4,(0,i.qq)(void 0)];case 4:return[2,s.sent()];case 5:return[4,(0,i.qq)(r)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function o(t){return(0,r.m)(null==t?void 0:t.getReader)}},24483:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var i=n(67101);function r(t){return t&&(0,i.m)(t.schedule)}},91720:function(t,e,n){"use strict";n.d(e,{A:function(){return r},e:function(){return s}});var i=n(67101);function r(t){return(0,i.m)(null==t?void 0:t.lift)}function s(t){return function(e){if(r(e))return e.lift(function(e){try{return t(e,this)}catch(t){this.error(t)}});throw TypeError("Unable to lift unknown Observable type")}}},73910:function(t,e,n){"use strict";function i(){}n.d(e,{Z:function(){return i}})},42348:function(t,e,n){"use strict";n.d(e,{U:function(){return s},z:function(){return r}});var i=n(89627);function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return s(t)}
1function s(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}}},82590:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var i=n(84940),r=n(54172);function s(t){r.z.setTimeout(function(){var e=i.v.onUnhandledError;if(e)e(t);else throw t})}},9106:function(t,e,n){"use strict";function i(t){return TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}n.d(e,{z:function(){return i}})},31811:function(t,e,n){"use strict";n.d(e,{D:function(){return o}});var i=n(85432),r=n(53346),s=n(64370);function o(t,e,n){let o=(0,i.i)(t)?t:(0,r.BX)(t);return o.start((0,s.v)("",o,e,n)),o.animation}},64370:function(t,e,n){"use strict";n.d(e,{v:function(){return I}});var i=n(14601);function r(t){t.duration=0,t.type="keyframes"}var s=n(18157),o=n(32352),a=n(27503),u=n(81720),l=n(55973),c=n(4121),h=n(48724),f=n(10326),d=n(97728),p=n(57402),m=n(80951),v=n(2082),y=n(67351);let g={anticipate:m.L,backInOut:v.XL,circInOut:y.X7};class b extends d._{constructor(t){"string"==typeof t.ease&&t.ease in g&&(t.ease=g[t.ease]),(0,p.f)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:n,onComplete:i,element:r,...s}=this.options;if(!e)return;if(void 0!==t){e.set(t);return}let a=new o.L({...s,autoplay:!1}),u=(0,f.w)(this.finishedTime??this.time);e.setWithVelocity(a.sample(u-10).value,a.sample(u).value,10),a.stop()}}var x=n(13359),w=n(20840),P=n(71492);let T=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(P.P.test(t)||"0"===t)&&!t.startsWith("url("));var S=n(65505),E=n(97698);let C=new Set(["opacity","clipPath","filter","transform"]),A=(0,E.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class M extends S.T{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:u,element:c,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=l.X.now();let d={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:r,repeatType:s,name:a,motionValue:u,element:c,...f},p=c?.KeyframeResolver||h.e;this.keyframeResolver=new p(o,(t,e,n)=>this.onKeyframesResolved(t,e,d,!n),a,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;let{name:s,type:h,velocity:f,delay:d,isHandoff:p,onUpdate:m}=n;this.resolvedAt=l.X.now(),!function(t,e,n,i){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=T(r,e),a=T(s,e);return(0,x.K)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let 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||(0,w.x)(n))&&i)}(t,s,h,f)&&((a.c.instantAnimations||!d)&&m?.(c.$(t,n,e)),t[0]=t[t.length-1],r(n),n.repeat=0);let v={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},y=!p&&function(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:u}=e.owner.getProps();return A()&&n&&C.has(n)&&("transform"!==n||!u)&&!a&&!i&&"mirror"!==r&&0!==s&&"inertia"!==o}(v)?new b({...v,element:v.motionValue.owner.current}):new o.L(v);y.finished.then(()=>this.notifyFinished()).catch(u.Z),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}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(),(0,h.m)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let D=t=>null!==t;var R=n(3494);let V={type:"spring",stiffness:500,damping:25,restSpeed:10},k=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),O={type:"keyframes",duration:.8},L={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},j=(t,{keyframes:e})=>e.length>2?O:R.G.has(t)?t.startsWith("scale")?k(e[1]):V:L,I=(t,e,n,u={},l,c)=>h=>{let d=(0,i.e)(u,t)||{},p=d.delay||u.delay||0,{elapsed:m=0}=u;m-=(0,f.w)(p);let v={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-m,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{h(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:c?void 0:l};!function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:
1o,repeatDelay:a,from:u,elapsed:l,...c}){return!!Object.keys(c).length}(d)&&Object.assign(v,j(t,v)),v.duration&&(v.duration=(0,f.w)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,f.w)(v.repeatDelay)),void 0!==v.from&&(v.keyframes[0]=v.from);let y=!1;if(!1!==v.type&&(0!==v.duration||v.repeatDelay)||(r(v),0!==v.delay||(y=!0)),(a.c.instantAnimations||a.c.skipAnimations)&&(y=!0,r(v),v.delay=0),v.allowFlatten=!d.type&&!d.ease,y&&!c&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:n="loop"},i){let r=t.filter(D),s=e&&"loop"!==n&&e%2==1?0:r.length-1;return r[s]}(v.keyframes,d);if(void 0!==t){s.Wi.update(()=>{v.onUpdate(t),v.onComplete()});return}}return d.isSync?new o.L(v):new M(v)}},57214:function(t,e,n){"use strict";n.d(e,{w:function(){return c}});var i=n(14601),r=n(18157),s=n(82642),o=n(54147),a=n(56227),u=n(45262),l=n(64370);function c(t,e,{delay:n=0,transitionOverride:c,type:h}={}){let{transition:f=t.getDefaultTransition(),transitionEnd:d,...p}=e;c&&(f=c);let m=[],v=h&&t.animationState&&t.animationState.getState()[h];for(let e in p){let o=t.getValue(e,t.latestValues[e]??null),c=p[e];if(void 0===c||v&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(v,e))continue;let h={delay:n,...(0,i.e)(f||{},e)},d=o.get();if(void 0!==d&&!o.isAnimating&&!Array.isArray(c)&&c===d&&!h.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){let n=(0,u.s)(t);if(n){let t=window.MotionHandoffAnimation(n,e,r.Wi);null!==t&&(h.startTime=t,y=!0)}}(0,a.K)(t,e),o.start((0,l.v)(e,o,c,t.shouldReduceMotion&&s.z.has(e)?{type:!1}:h,t,y));let g=o.animation;g&&m.push(g)}return d&&Promise.all(m).then(()=>{r.Wi.update(()=>{d&&(0,o.C)(t,d)})}),m}},50549:function(t,e,n){"use strict";n.d(e,{d:function(){return a}});var i=n(80629),r=n(57214),s=n(76682);function o(t,e,n={}){let a=(0,i.x)(t,e,"exit"===n.type?t.presenceContext?.custom:void 0),{transition:u=t.getDefaultTransition()||{}}=a||{};n.transitionOverride&&(u=n.transitionOverride);let l=a?()=>Promise.all((0,r.w)(t,a,n)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:l}=u;return function(t,e,n=0,i=0,r=0,a=1,u){let l=[];for(let c of t.variantChildren)c.notify("AnimationStart",e),l.push(o(c,e,{...u,delay:n+("function"==typeof i?0:i)+(0,s._)(t.variantChildren,c,i,r,a)}).then(()=>c.notify("AnimationComplete",e)));return Promise.all(l)}(t,e,i,r,a,l,n)}:()=>Promise.resolve(),{when:h}=u;if(!h)return Promise.all([l(),c(n.delay)]);{let[t,e]="beforeChildren"===h?[l,c]:[c,l];return t().then(()=>e())}}function a(t,e,n={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>o(t,e,n)));else if("string"==typeof e)s=o(t,e,n);else{let o="function"==typeof e?(0,i.x)(t,e,n.custom):e;s=Promise.all((0,r.w)(t,o,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}},40693:function(t,e,n){"use strict";n.d(e,{M:function(){return i}});let i="data-"+(0,n(31529).D)("framerAppearId")},45262:function(t,e,n){"use strict";n.d(e,{s:function(){return r}});var i=n(40693);function r(t){return t.props[i.M]}},76682:function(t,e,n){"use strict";function i(t,e,n,i=0,r=1){let 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}n.d(e,{_:function(){return i}})},37382:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(e,{H:function(){return i}})},64786:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});let i=t=>Array.isArray(t)},65787:function(t,e,n){"use strict";n.d(e,{PopChild:function(){return l}});var i=n(24535),r=n(38575),s=n(4341),o=n(26192);function a(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class u extends s.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,n=(0,r.R)(t)&&t.offsetWidth||0,i=this.props.sizeRef.current;i.height=e.offsetHeight||0,i.width=e.offsetWidth||0,i.top=e.offsetTop,i.left=e.offsetLeft,i.right=n-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function l(t){let{children:e,isPresent:n,anchorX:r,root:l}=t,c=(0,s.useId)(),h=(0,s.useRef)(null),f=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,s.useContext)(o.MotionConfigContext),p=function(...t){return s.useCallback(function(...t){return e=>{let n=!1,i=t.map(t=>{let i=a(t,e);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let e=0;e<i.length;e++){let n=i[e];"function"==typeof n?n():a(t[e],null)}}}}(...t),t)}(h,null==e?void 0:e.ref);return(0,s.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:s,right:o}=f.current;if(n||!h.current||!t||!e)return;h.current.dataset.motionPopId=c;let a=document.createElement("style");d&&(a.nonce=d);let u=null!=l?l:document.head;return u.appendChild(a),a.sheet&&a.sheet.insertRule('\n [data-motion-pop-id="'.concat(c,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n ").concat("left"===r?"left: ".concat(s):"right: ".concat(o),"px !important;\n top: ").concat(i,"px !important;\n }\n ")),()=>{u.contains(a)&&u.removeChild(a)}},[n]),(0,i.jsx)(u,{isPresent:n,childRef:h,sizeRef:f,children:s.cloneElement(e,{ref:p})})}},831:function(t,e,n){"use strict";n.d(e,{PresenceChild:function(){return u}});var i=n(24535),r=n(4341),s=n(98245),o=n(68565),a=n(65787);let u=t=>{let{children:e,initial:n,isPresent:u,onExitComplete:c,custom:h,presenceAffectsLayout:f,mode:d,anchorX:p,root:m}=t,v=(0,o.useConstant)(l),y=(0,r.useId)(),g=!0,b=(0,r.useMemo)(()=>(g=!1,{id:y,initial:n,isPresent:u,custom:h,onExitComplete:t=>
1{for(let e of(v.set(t,!0),v.values()))if(!e)return;c&&c()},register:t=>(v.set(t,!1),()=>v.delete(t))}),[u,v,c]);return f&&g&&(b={...b}),(0,r.useMemo)(()=>{v.forEach((t,e)=>v.set(e,!1))},[u]),r.useEffect(()=>{u||v.size||!c||c()},[u]),"popLayout"===d&&(e=(0,i.jsx)(a.PopChild,{isPresent:u,anchorX:p,root:m,children:e})),(0,i.jsx)(s.PresenceContext.Provider,{value:b,children:e})};function l(){return new Map}},11128:function(t,e,n){"use strict";n.d(e,{AnimatePresence:function(){return f}});var i=n(24535),r=n(4341),s=n(74469),o=n(68565),a=n(8090),u=n(831),l=n(17749);let c=t=>t.key||"";function h(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}let f=t=>{let{children:e,custom:n,initial:f=!0,onExitComplete:d,presenceAffectsLayout:p=!0,mode:m="sync",propagate:v=!1,anchorX:y="left",root:g}=t,[b,x]=(0,l.usePresence)(v),w=(0,r.useMemo)(()=>h(e),[e]),P=v&&!b?[]:w.map(c),T=(0,r.useRef)(!0),S=(0,r.useRef)(w),E=(0,o.useConstant)(()=>new Map),[C,A]=(0,r.useState)(w),[M,D]=(0,r.useState)(w);(0,a.useIsomorphicLayoutEffect)(()=>{T.current=!1,S.current=w;for(let t=0;t<M.length;t++){let e=c(M[t]);P.includes(e)?E.delete(e):!0!==E.get(e)&&E.set(e,!1)}},[M,P.length,P.join("-")]);let R=[];if(w!==C){let t=[...w];for(let e=0;e<M.length;e++){let n=M[e],i=c(n);P.includes(i)||(t.splice(e,0,n),R.push(n))}return"wait"===m&&R.length&&(t=R),D(h(t)),A(w),null}let{forceRender:V}=(0,r.useContext)(s.LayoutGroupContext);return(0,i.jsx)(i.Fragment,{children:M.map(t=>{let e=c(t),r=(!v||!!b)&&(w===M||P.includes(e));return(0,i.jsx)(u.PresenceChild,{isPresent:r,initial:(!T.current||!!f)&&void 0,custom:n,presenceAffectsLayout:p,mode:m,root:g,onExitComplete:r?void 0:()=>{if(!E.has(e))return;E.set(e,!0);let t=!0;E.forEach(e=>{e||(t=!1)}),t&&(null==V||V(),D(S.current),v&&(null==x||x()),d&&d())},anchorX:y,children:t},e)})})}},17749:function(t,e,n){"use strict";n.d(e,{useIsPresent:function(){return o},usePresence:function(){return s}});var i=n(4341),r=n(98245);function s(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,i.useContext)(r.PresenceContext);if(null===e)return[!0,null];let{isPresent:n,onExitComplete:s,register:o}=e,a=(0,i.useId)();(0,i.useEffect)(()=>{if(t)return o(a)},[t]);let u=(0,i.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!n&&s?[!1,u]:[!0]}function o(){var t;return null===(t=(0,i.useContext)(r.PresenceContext))||t.isPresent}},74469:function(t,e,n){"use strict";n.d(e,{LayoutGroupContext:function(){return i}});let i=(0,n(4341).createContext)({})},84829:function(t,e,n){"use strict";n.d(e,{u:function(){return i}});let i=(0,n(4341).createContext)({strict:!1})},26192:function(t,e,n){"use strict";n.d(e,{MotionConfigContext:function(){return i}});let i=(0,n(4341).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},83822:function(t,e,n){"use strict";n.d(e,{MotionContext:function(){return i}});let i=(0,n(4341).createContext)({})},98245:function(t,e,n){"use strict";n.d(e,{PresenceContext:function(){return i}});let i=(0,n(4341).createContext)(null)},84886:function(t,e,n){"use strict";n.d(e,{SwitchLayoutGroupContext:function(){return i}});let i=(0,n(4341).createContext)({})},85716:function(t,e,n){"use strict";function i(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}n.d(e,{E:function(){return i}})},62235:function(t,e,n){"use strict";n.d(e,{Q:function(){return r},s:function(){return s}});var i=n(2505);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,i.D)(e)&&t(e,r(e))},4034:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});class i{constructor(t){this.isMounted=!1,this.node=t}update(){}}},68138:function(t,e,n){"use strict";n.d(e,{s:function(){return x}});var i=n(37382),r=n(50549),s=n(76682),o=n(64786);function a(t,e){if(!Array.isArray(e))return!1;let 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 u=n(74470),l=n(64805);let c=l.V.length;var h=n(80629);let f=[...l.e].reverse(),d=l.e.length;function p(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function m(){return{animate:p(!0),whileInView:p(),whileHover:p(),whileTap:p(),whileDrag:p(),whileFocus:p(),exit:p()}}var v=n(4034);class y extends v.L{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(0,r.d)(t,e,n))),n=m(),p=!0,v=e=>(n,i)=>{let r=(0,h.x)(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...i}=r;n={...n,...i,...e}}return n};function y(r){let{props:m}=t,y=function t(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}let n={};for(let t=0;t<c;t++){let i=l.V[t],r=e.props[i];((0,u.$)(r)||!1===r)&&(n[i]=r)}return n}(t.parent)||{},g=[],b=new Set,x={},w=1/0;for(let e=0;e<d;e++){var P;let l=f[e],c=n[l],d=void 0!==m[l]?m[l]:y[l],T=(0,u.$)(d),S=l===r?c.isActive:null;!1===S&&(w=e);let E=d===y[l]&&d!==m[l]&&T;if(E&&p&&t.manuallyAnimateOnMount&&(E=!1),c.protectedKeys={...x}
1,!c.isActive&&null===S||!d&&!c.prevProp||(0,i.H)(d)||"boolean"==typeof d)continue;let C=(P=c.prevProp,"string"==typeof d?d!==P:!!Array.isArray(d)&&!a(d,P)),A=C||l===r&&c.isActive&&!E&&T||e>w&&T,M=!1,D=Array.isArray(d)?d:[d],R=D.reduce(v(l),{});!1===S&&(R={});let{prevResolvedValues:V={}}=c,k={...V,...R},O=e=>{A=!0,b.has(e)&&(M=!0,b.delete(e)),c.needsAnimating[e]=!0;let n=t.getValue(e);n&&(n.liveStyle=!1)};for(let t in k){let e=R[t],n=V[t];if(!x.hasOwnProperty(t))((0,o.C)(e)&&(0,o.C)(n)?a(e,n):e===n)?void 0!==e&&b.has(t)?O(t):c.protectedKeys[t]=!0:null!=e?O(t):b.add(t)}c.prevProp=d,c.prevResolvedValues=R,c.isActive&&(x={...x,...R}),p&&t.blockInitialAnimation&&(A=!1);let L=E&&C,j=!L||M;A&&j&&g.push(...D.map(e=>{let n={type:l};if("string"==typeof e&&p&&!L&&t.manuallyAnimateOnMount&&t.parent){let{parent:i}=t,r=(0,h.x)(i,e);if(i.enteringChildren&&r){let{delayChildren:e}=r.transition||{};n.delay=(0,s._)(i.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(b.size){let e={};if("boolean"!=typeof m.initial){let n=(0,h.x)(t,Array.isArray(m.initial)?m.initial[0]:m.initial);n&&n.transition&&(e.transition=n.transition)}b.forEach(n=>{let i=t.getBaseTarget(n),r=t.getValue(n);r&&(r.liveStyle=!0),e[n]=i??null}),g.push({animation:e})}let T=!!g.length;return p&&(!1===m.initial||m.initial===m.animate)&&!t.manuallyAnimateOnMount&&(T=!1),p=!1,T?e(g):Promise.resolve()}return{animateChanges:y,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;let r=y(e);for(let t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=m()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,i.H)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let g=0;class b extends v.L{constructor(){super(...arguments),this.id=g++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let x={animation:{Feature:y},exit:{Feature:b}}},34438:function(t,e,n){"use strict";n.d(e,{featureDefinitions:function(){return r}});let i={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"]},r={};for(let t in i)r[t]={isEnabled:e=>i[t].some(t=>!!e[t])}},49626:function(t,e,n){"use strict";n.d(e,{o:function(){return X}});var i=n(4034),r=n(81720),s=n(96872),o=n(44133),a=n(18157),u=n(75866),l=n(13359),c=n(64370),h=n(85716),f=n(62235);function d(t,e,n,i){return(0,h.E)(t,e,(0,f.s)(n),i)}var p=n(10994),m=n(54103),v=n(44727),y=n(93216),g=n(53998);let b=({current:t})=>t?t.ownerDocument.defaultView:null;var x=n(99267),w=n(56227),P=n(2505),T=n(90713),S=n(10326);let E=(t,e)=>Math.abs(t-e);class C{constructor(t,e,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=D(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,r=(t=n.offset,e={x:0,y:0},Math.sqrt(E(t.x,e.x)**2+E(t.y,e.y)**2)>=this.distanceThreshold);if(!i&&!r)return;let{point:s}=n,{timestamp:o}=a.frameData;this.history.push({...s,timestamp:o});let{onStart:u,onMove:l}=this.handlers;
1i||(u&&u(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=A(e,this.transformPagePoint),a.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=D("pointercancel"===t.type?this.lastMoveEventInfo:A(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),i&&i(t,s)},!(0,P.D)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=s,this.contextWindow=i||window;let o=A((0,f.Q)(t),this.transformPagePoint),{point:u}=o,{timestamp:l}=a.frameData;this.history=[{...u,timestamp:l}];let{onSessionStart:c}=e;c&&c(t,D(o,this.history)),this.removeListeners=(0,T.z)(d(this.contextWindow,"pointermove",this.handlePointerMove),d(this.contextWindow,"pointerup",this.handlePointerUp),d(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,a.Pn)(this.updatePoint)}}function A(t,e){return e?{point:e(t.point)}:t}function M(t,e){return{x:t.x-e.x,y:t.y-e.y}}function D({point:t},e){return{point:t,delta:M(t,R(e)),offset:M(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,r=R(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>(0,S.w)(.1)));)n--;if(!i)return{x:0,y:0};let s=(0,S.X)(r.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let 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}(e,0)}}function R(t){return t[t.length-1]}var V=n(40979),k=n(70444);function O(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 L(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}}function j(t,e,n){return{min:I(t,e),max:I(t,n)}}function I(t,e){return"number"==typeof t?t:t[e]||0}let F=new WeakMap;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=(0,v.dO)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new C(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,f.Q)(t).point)},onStart:(t,e)=>{let{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===n||"y"===n?s.r[n]?null:(s.r[n]=!0,()=>{s.r[n]=!1}):s.r.x||s.r.y?null:(s.r.x=s.r.y=!0,()=>{s.r.x=s.r.y=!1}),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,y.U)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(o.aQ.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];if(i){let t=(0,m.JO)(i);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&a.Wi.postRender(()=>r(t,e)),(0,w.K)(this.visualElement,"transform");let{animationState:u}=this.visualElement;u&&u.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:s}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>(0,y.U)(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:n,contextWindow:b(this.visualElement)})}stop(t,e){let n=t||this.latestPointerEvent,i=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!n)return;let{velocity:s}=i;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&a.Wi.postRender(()=>o(n,i))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!_(t,i,this.currentDirection))return;let r=this.getAxisMotionValue(t),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?(0,u.t)(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?(0,u.t)(n,t,i.max):Math.min(t,n)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{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&&(0,x.I)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(t,{top:e,left:n,bottom:i,right:r}){return{x:O(t.x,n,r),y:O(t.y,e,i)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:j(t,"left","right"),y:j(t,"top","bottom")}}(e),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&(0,y.U)(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let 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(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!(0,x.I)(e))return!1;let i=e.current;(0,l.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,g.z)(i,r.root,this.visualElement.getTransformPagePoint()),o={x:L((t=r.layout.layoutBox).x,s.x),y:L(t.y,s.y)};if(n){let t=n((0,p.z2)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,p.i8)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all((0,y.U)(o=>{if(!_(o,e,this.currentDirection))return;let u=a&&a[o]||{};s&&(u={min:0,max:0});let l={type:"inertia",velocity:n?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...u};return this.startAxisValueAnimation(o,l)})).then(o)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return(0,w.K)(this.visualElement,t),n.start((0,c.v)(t,n,0,e,this.visualElement,!1))}stopAnimation(){(0,y.U)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,y.U)(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){(0,y.U)(e=>{let{drag:n}=this.getProps();if(!_(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){let{min:n,max:s}=i.layout.layoutBox[e];r.set(t[e]-(0,u.t)(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!(0,x.I)(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};(0,y.U)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let n=e.get();i[t]=function(t,e){let n=.5,i=(0,m.JO)(t),r=(0,m.JO)(e);return r>i?n=(0,V.Y)(e.min,e.max-i,t.min):i>r&&(n=(0,V.Y)(t.min,t.max-r,e.min)),(0,k.u)(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,y.U)(e=>{if(!_(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];n.set((0,u.t)(r,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;F.set(this.visualElement,this);let t=d(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:n=!0}
1=this.getProps();e&&n&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,x.I)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),a.Wi.read(e);let r=(0,h.E)(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,y.U)(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function _(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}class B extends i.L{constructor(t){super(t),this.removeGroupControls=r.Z,this.removeListeners=r.Z,this.controls=new $(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||r.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let U=t=>(e,n)=>{t&&a.Wi.postRender(()=>t(e,n))};class N extends i.L{constructor(){super(...arguments),this.removePointerDownListener=r.Z}onPointerDown(t){this.session=new C(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:b(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:U(t),onStart:U(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&a.Wi.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=d(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var W=n(53673);let X={pan:{Feature:N},drag:{Feature:B,ProjectionNode:n(49272).u,MeasureLayout:W.MeasureLayout}}},75081:function(t,e,n){"use strict";n.d(e,{E:function(){return k}});var i=n(18157),r=n(96872),s=n(10790);function o(t,e){let n=(0,s.I)(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function a(t){return!("touch"===t.pointerType||(0,r.g)())}var u=n(62235),l=n(4034);function c(t,e,n){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===n);let s=r["onHover"+n];s&&i.Wi.postRender(()=>s(e,(0,u.Q)(e)))}class h extends l.L{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,s]=o(t,n),u=t=>{if(!a(t))return;let{target:n}=t,i=e(n,t);if("function"!=typeof i||!n)return;let s=t=>{a(t)&&(i(t),n.removeEventListener("pointerleave",s))};n.addEventListener("pointerleave",s,r)};return i.forEach(t=>{t.addEventListener("pointerenter",u,r)}),s}(t,(t,e)=>(c(this.node,e,"Start"),t=>c(this.node,t,"End"))))}unmount(){}}var f=n(90713),d=n(85716);class p extends l.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,f.z)((0,d.E)(this.node.current,"focus",()=>this.onFocus()),(0,d.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var m=n(38575);let v=(t,e)=>!!e&&(t===e||v(t,e.parentElement));var y=n(2505);let g=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),b=new WeakSet;function x(t){return e=>{"Enter"===e.key&&t(e)}}function w(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let P=(t,e)=>{let n=t.currentTarget;if(!n)return;let i=x(()=>{if(b.has(n))return;w(n,"down");let t=x(()=>{w(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>w(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)};function T(t){return(0,y.D)(t)&&!(0,r.g)()}function S(t,e,n){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===n);let s=r["onTap"+("End"===n?"":n)];s&&i.Wi.postRender(()=>s(e,(0,u.Q)(e)))}class E extends l.L{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,s]=o(t,n),a=t=>{let i=t.currentTarget;if(!T(t))return;b.add(i);let s=e(i,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",u),b.has(i)&&b.delete(i),T(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,i===window||i===document||n.useGlobalTarget||v(i,t.target))},u=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",u,r)};
1return i.forEach(t=>{(n.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),(0,m.R)(t)&&(t.addEventListener("focus",t=>P(t,r)),g.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(S(this.node,e,"Start"),(t,{success:e})=>S(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let C=new WeakMap,A=new WeakMap,M=t=>{let e=C.get(t.target);e&&e(t)},D=t=>{t.forEach(M)},R={some:0,all:1};class V extends l.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{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:R[i]};return function(t,e,n){let i=function({root:t,...e}){let n=t||document;A.has(n)||A.set(n,{});let i=A.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(D,{root:t,...e})),i[r]}(e);return C.set(t,n),i.observe(t),()=>{C.delete(t),i.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),s=e?n:i;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}let k={inView:{Feature:V},tap:{Feature:E},focus:{Feature:p},hover:{Feature:h}}},83002:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(49272),r=n(53673);let s={layout:{ProjectionNode:i.u,MeasureLayout:r.MeasureLayout}}},53673:function(t,e,n){"use strict";n.r(e),n.d(e,{MeasureLayout:function(){return b}});var i=n(24535),r=n(18157),s=n(71466),o=n(4341),a=n(17749),u=n(74469),l=n(84886),c=n(51259),h=n(44133);function f(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let d={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!h.px.test(t))return t;t=parseFloat(t)}let n=f(t,e.target.x),i=f(t,e.target.y);return`${n}% ${i}%`}};var p=n(71492),m=n(75866),v=n(93789);let y=!1;class g extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=t;(0,v.B)(x),r&&(e.group&&e.group.add(r),n&&n.register&&i&&n.register(r),y&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),c.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,{projection:o}=n;return o&&(o.isPresent=s,y=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent===s||(s?o.promote():o.relegate()||r.Wi.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),s.g.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;y=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function b(t){let[e,n]=(0,a.usePresence)(),r=(0,o.useContext)(u.LayoutGroupContext);return(0,i.jsx)(g,{...t,layoutGroup:r,switchLayoutGroup:(0,o.useContext)(l.SwitchLayoutGroupContext),isPresent:e,safeToRemove:n})}let x={borderRadius:{...d,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:d,borderTopRightRadius:d,borderBottomLeftRadius:d,borderBottomRightRadius:d,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let i=p.P.parse(t);if(i.length>5)return t;let r=p.P.createTransformer(t),s="number"!=typeof i[0]?1:0,o=n.x.scale*e.x,a=n.y.scale*e.y;i[0+s]/=o,i[1+s]/=a;let u=(0,m.t)(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=u),"number"==typeof i[3+s]&&(i[3+s]/=u),r(i)}}}},18095:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var i=n(34438);function r(t){for(let e in t)i.featureDefinitions[e]={...i.featureDefinitions[e],...t[e]}}},58614:function(t,e,n){"use strict";n.d(e,{createMotionComponent:function(){return I}});var i=n(24535),r=n(4341),s=n(74469),o=n(84829),a=n(26192),u=n(83822),l=n(17526),c=n(74470);function h(t){return Array.isArray(t)?t.join(" "):t}var f=n(85432),d=n(17347),p=n(72839);let m=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function v(t,e,n){for(let i in e)(0,f.i)(e[i])||(0,d.j)(i,n)||(t[i]=e[i])}var y=n(90552);let g=()=>({...m(),attrs:{}});var b=n(72803),x=n(57012),w=n(66051),P=n(37198),T=n(57474);let S=(0,P.makeUseVisualState)({scrapeMotionValuesFromProps:T.U,createRenderState:m});var E=n(33001);let C=(0,P.makeUseVisualState)({scrapeMotionValuesFromProps:E.U,createRenderState:g});var A=n(82044),M=n(34438),D=n(18095);let R=Symbol.for("motionComponentSymbol");var V=n(99267),k=n(40693),O=n(98245),L=n(84886),j=n(8090);function I(t){var e,n;let{forwardMotionProps:d=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},P=arguments.length>2?arguments[2]:void 0,T=arguments.length>3?arguments[3]:void 0;P&&(0,D.K)(P);let E=(0,w.q)(t)?C:S;function I(e,n){var P;let S;let C={...(0,r.useContext)(a.MotionConfigContext),...e,layoutId:function(t){let{layoutId:e}
1=t,n=(0,r.useContext)(s.LayoutGroupContext).id;return n&&void 0!==e?n+"-"+e:e}(e)},{isStatic:D}=C,R=function(t){let{initial:e,animate:n}=function(t,e){if((0,l.G)(t)){let{initial:e,animate:n}=t;return{initial:!1===e||(0,c.$)(e)?e:void 0,animate:(0,c.$)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(u.MotionContext));return(0,r.useMemo)(()=>({initial:e,animate:n}),[h(e),h(n)])}(e),I=E(e,D);if(!D&&A.j){(0,r.useContext)(o.u).strict;let e=function(t){let{drag:e,layout:n}=M.featureDefinitions;if(!e&&!n)return{};let i={...e,...n};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(C);S=e.MeasureLayout,R.visualElement=function(t,e,n,i,s){var l,c,h,f;let{visualElement:d}=(0,r.useContext)(u.MotionContext),p=(0,r.useContext)(o.u),m=(0,r.useContext)(O.PresenceContext),v=(0,r.useContext)(a.MotionConfigContext).reducedMotion,y=(0,r.useRef)(null);i=i||p.renderer,!y.current&&i&&(y.current=i(t,{visualState:e,parent:d,props:n,presenceContext:m,blockInitialAnimation:!!m&&!1===m.initial,reducedMotionConfig:v}));let g=y.current,b=(0,r.useContext)(L.SwitchLayoutGroupContext);g&&!g.projection&&s&&("html"===g.type||"svg"===g.type)&&function(t,e,n,i){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:u,layoutRoot:l,layoutCrossfade:c}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&(0,V.I)(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:c,layoutScroll:u,layoutRoot:l})}(y.current,n,s,b);let x=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{g&&x.current&&g.update(n,m)});let w=n[k.M],P=(0,r.useRef)(!!w&&!(null===(l=(c=window).MotionHandoffIsComplete)||void 0===l?void 0:l.call(c,w))&&(null===(h=(f=window).MotionHasOptimisedAnimation)||void 0===h?void 0:h.call(f,w)));return(0,j.useIsomorphicLayoutEffect)(()=>{g&&(x.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),P.current&&g.animationState&&g.animationState.animateChanges())}),(0,r.useEffect)(()=>{g&&(!P.current&&g.animationState&&g.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var t,e;null===(t=(e=window).MotionHandoffMarkAsComplete)||void 0===t||t.call(e,w)}),P.current=!1),g.enteringChildren=void 0)}),g}(t,I,C,T,e.ProjectionNode)}return(0,i.jsxs)(u.MotionContext.Provider,{value:R,children:[S&&R.visualElement?(0,i.jsx)(S,{visualElement:R.visualElement,...C}):null,function(t,e,n,i,s){let{latestValues:o}=i,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=((0,w.q)(t)?function(t,e,n,i){let s=(0,r.useMemo)(()=>{let n=g();return(0,y.i)(n,e,(0,b.a)(i),t.transformTemplate,t.style),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};v(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let n={},i=function(t,e){let n=t.style||{},i={};return v(i,n,t),Object.assign(i,function(t,e){let{transformTemplate:n}=t;return(0,r.useMemo)(()=>{let t=m();return(0,p.r)(t,e,n),Object.assign({},t.vars,t.style)},[e])}(t,e)),i}(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-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n})(e,o,s,t),l=(0,x.L)(e,"string"==typeof t,a),c=t!==r.Fragment?{...l,...u,ref:n}:{},{children:h}=e,d=(0,r.useMemo)(()=>(0,f.i)(h)?h.get():h,[h]);return(0,r.createElement)(t,{...c,children:d})}(t,e,(P=R.visualElement,(0,r.useCallback)(t=>{t&&I.onMount&&I.onMount(t),P&&(t?P.mount(t):P.unmount()),n&&("function"==typeof n?n(t):(0,V.I)(n)&&(n.current=t))},[P])),I,D,d)]})}I.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!==(n=null!==(e=t.displayName)&&void 0!==e?e:t.name)&&void 0!==n?n:"",")"));let F=(0,r.forwardRef)(I);return F[R]=t,F}},17347:function(t,e,n){"use strict";n.d(e,{j:function(){return s}});var i=n(3494),r=n(93789);function s(t,{layout:e,layoutId:n}){return i.G.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!r.P[t]||"opacity"===t)}},37198:function(t,e,n){"use strict";n.d(e,{makeUseVisualState:function(){return h}});var i=n(4341),r=n(37382),s=n(83822),o=n(98245),a=n(17526),u=n(55373),l=n(68565),c=n(63681);let h=t=>(e,n)=>{let h=(0,i.useContext)(s.MotionContext),f=(0,i.useContext)(o.PresenceContext),d=()=>(function(t,e,n,i){let{scrapeMotionValuesFromProps:s,createRenderState:o}=t;return{latestValues:function(t,e,n,i){let s={},o=i(t,{});for(let t in o)s[t]=(0,c.b)(o[t]);let{initial:l,animate:h}=t,f=(0,a.G)(t),d=(0,a.M)(t);e&&d&&!f&&!1!==t.inherit&&(void 0===l&&(l=e.initial),void 0===h&&(h=e.animate));let p=!!n&&!1===n.initial,m=(p=p||!1===l)?h:l;if(m&&"boolean"!=typeof m&&!(0,r.H)(m)){let e=Array.isArray(m)?m:[m];for(let n=0;n<e.length;n++){let i=(0,u.o)(t,e[n]);if(i){let{transitionEnd:t,transition:e,...n}=i;for(let t in n){let e=n[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(e,n,i,s),renderState:o()}})(t,e,h,f);return n?d():(0,l.useConstant)(d)}},10994:function(t,e,n){"use strict";function i({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let 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}}n.d(e,{d7:function(){return s},i8:function(){return i},z2:function(){return r}})},73615:function(t,e,n){"use strict";n.d(e,{D2:function(){return f},YY:function(){return l}
1,am:function(){return c},o2:function(){return u},q2:function(){return s}});var i=n(75866),r=n(45564);function s(t,e,n){return n+e*(t-n)}function o(t,e,n,i,r){return void 0!==r&&(t=i+r*(t-i)),i+n*(t-i)+e}function a(t,e=0,n=1,i,r){t.min=o(t.min,e,n,i,r),t.max=o(t.max,e,n,i,r)}function u(t,{x:e,y:n}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,n.translate,n.scale,n.originPoint)}function l(t,e,n,i=!1){let s,o;let a=n.length;if(a){e.x=e.y=1;for(let l=0;l<a;l++){o=(s=n[l]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&f(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,u(t,o)),i&&(0,r.ud)(s.latestValues)&&f(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function c(t,e){t.min=t.min+e,t.max=t.max+e}function h(t,e,n,r,s=.5){let o=(0,i.t)(t.min,t.max,s);a(t,e,n,o,r)}function f(t,e){h(t.x,e.x,e.scaleX,e.scale,e.originX),h(t.y,e.y,e.scaleY,e.scale,e.originY)}},54103:function(t,e,n){"use strict";n.d(e,{JO:function(){return r},b3:function(){return h},tf:function(){return l},wS:function(){return s},y$:function(){return a}});var i=n(75866);function r(t){return t.max-t.min}function s(t,e,n){return Math.abs(t-e)<=n}function o(t,e,n,s=.5){t.origin=s,t.originPoint=(0,i.t)(e.min,e.max,t.origin),t.scale=r(n)/r(e),t.translate=(0,i.t)(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 a(t,e,n,i){o(t.x,e.x,n.x,i?i.originX:void 0),o(t.y,e.y,n.y,i?i.originY:void 0)}function u(t,e,n){t.min=n.min+e.min,t.max=t.min+r(e)}function l(t,e,n){u(t.x,e.x,n.x),u(t.y,e.y,n.y)}function c(t,e,n){t.min=e.min-n.min,t.max=t.min+r(e)}function h(t,e,n){c(t.x,e.x,n.x),c(t.y,e.y,n.y)}},44727:function(t,e,n){"use strict";n.d(e,{dO:function(){return o},wc:function(){return r}});let i=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:i(),y:i()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},49272:function(t,e,n){"use strict";n.d(e,{u:function(){return tk},J:function(){return tV}});var i=n(18157),r=n(54246),s=n(13598),o=n(80022),a=n(14601),u=n(55973),l=n(71466),c=n(38869),h=n(53346),f=n(75866),d=n(27686),p=n(70444),m=n(81720),v=n(31811),y=n(45262),g=n(90877);let b=(t,e)=>t.depth-e.depth;class x{constructor(){this.children=[],this.isDirty=!1}add(t){(0,g.y4)(this.children,t),this.isDirty=!0}remove(t){(0,g.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(b),this.isDirty=!1,this.children.forEach(t)}}var w=n(63681),P=n(44133),T=n(67351),S=n(40979);let E=["TopLeft","TopRight","BottomLeft","BottomRight"],C=E.length,A=t=>"string"==typeof t?parseFloat(t):t,M=t=>"number"==typeof t||P.px.test(t);function D(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let R=k(0,.5,T.Bn),V=k(.5,.95,m.Z);function k(t,e,n){return i=>i<t?0:i>e?1:n((0,S.Y)(t,e,i))}function O(t,e){t.min=e.min,t.max=e.max}function L(t,e){O(t.x,e.x),O(t.y,e.y)}function j(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var I=n(73615),F=n(54103);function $(t,e,n,i,r){return t-=e,t=(0,I.q2)(t,1/n,i),void 0!==r&&(t=(0,I.q2)(t,1/r,i)),t}function _(t,e,[n,i,r],s,o){!function(t,e=0,n=1,i=.5,r,s=t,o=t){if(P.aQ.test(e)&&(e=parseFloat(e),e=(0,f.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,f.t)(s.min,s.max,i);t===s&&(a-=e),t.min=$(t.min,e,n,a,r),t.max=$(t.max,e,n,a,r)}(t,e[n],e[i],e[r],e.scale,s,o)}let B=["x","scaleX","originX"],U=["y","scaleY","originY"];function N(t,e,n,i){_(t.x,e,B,n?n.x:void 0,i?i.x:void 0),_(t.y,e,U,n?n.y:void 0,i?i.y:void 0)}var W=n(44727);function X(t){return 0===t.translate&&1===t.scale}function z(t){return X(t.x)&&X(t.y)}function K(t,e){return t.min===e.min&&t.max===e.max}function Y(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function H(t,e){return Y(t.x,e.x)&&Y(t.y,e.y)}function q(t){return(0,F.JO)(t.x)/(0,F.JO)(t.y)}function Z(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class G{constructor(){this.members=[]}add(t){(0,g.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,g.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){let e;let n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var J=n(93789),Q=n(93216),tt=n(45564),te=n(51259);let tn={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ti=["","X","Y","Z"],tr=0;function ts(t,e,n,i){let{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function to({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:m,resetTransform:g}){return class{constructor(t={},n=e?.()){this.id=tr++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,r.f.value&&(tn.nodes=tn.calculatedTargetDeltas=tn.calculatedProjections=0),this.nodes.forEach(tl),this.nodes.forEach(tv),this.nodes.forEach(ty),this.nodes.forEach(tc),r.f.addProjectionMetrics&&r.f.addProjectionMetrics(tn)},this.resolvedRelativeTargetAt=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 t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new x)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new d.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,s.v)(e)&&!(0,o.r)(e),this.instance=e;let{layoutId:n,layout:r,visualElement:l}=this.options;if(l&&!l.current&&l.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),t){let n;let r=0,s=()=>this.root.updateBlockedByResize=!1;i.Wi.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==r&&(r=t,this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=u.X.now(),r=({timestamp:e})=>{let s=e-n;s>=250&&((0,i.Pn)(r),t(s-250))};return i.Wi.setup(r,!0),()=>(0,i.Pn)(r)}(s,0),te.V.hasAnimatedSinceResize&&(te.V.hasAnimatedSinceResize=!1,this.nodes.forEach(tm)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&l&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||l.getDefaultTransition()||tT,{onLayoutAnimationStart:s,onLayoutAnimationComplete:o}=l.getProps(),u=!this.targetLayout||!H(this.targetLayout,i),c=!e&&n;if(this.options.layoutRoot||this.resumeFrom||c||e&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,a.e)(r,"layout"),onPlay:s,onComplete:o};(l.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,c)}else e||tm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,i.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(tg),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:n}=e.options;if(!n)return;let r=(0,y.s)(n);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",i.Wi,!(t||n))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tf);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(td);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tp),this.nodes.forEach(ta),this.nodes.forEach(tu)):this.nodes.forEach(td),this.clearAllSnapshots();let t=u.X.now();i.frameData.delta=(0,p.u)(0,1e3/60,t-i.frameData.timestamp),i.frameData.timestamp=t,i.frameData.isProcessing=!0,i.yL.update.process(i.frameData),i.yL.preRender.process(i.frameData),i.yL.render.process(i.frameData),i.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,l.g.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(th),this.sharedNodes.forEach(tb)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,i.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){i.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||(0,F.JO)(this.snapshot.measuredBox.x)||(0,F.JO)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,W.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=m(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(!g)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!z(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tt.ud)(this.latestValues)||r)&&(g(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),i=this.removeElementScroll(n);return t&&(i=this.removeTransform(i)),tC((e=i).x),tC(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,W.dO)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tM))){let{scroll:t}=this.root;t&&((0,I.am)(e.x,t.offset.x),(0,I.am)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,W.dO)();if(L(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){let i=this.path[n],{scroll:r,options:s}=i;i!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&L(e,t),(0,I.am)(e.x,r.offset.x),(0,I.am)(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let n=(0,W.dO)();L(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(0,I.D2)(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),(0,tt.ud)(i.latestValues)&&(0,I.D2)(n,i.latestValues)}return(0,tt.ud)(this.latestValues)&&(0,I.D2)(n,this.latestValues),n}removeTransform(t){let e=(0,W.dO)();L(e,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!(0,tt.ud)(n.latestValues))continue;(0,tt.Lj)(n.latestValues)&&n.updateSnapshot();let i=(0,W.dO)();L(i,n.measurePageBox()),N(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return(0,tt.ud)(this.latestValues)&&N(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!==i.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:o}=this.options;
1if(this.layout&&(s||o)){if(this.resolvedRelativeTargetAt=i.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,W.dO)(),this.relativeTargetOrigin=(0,W.dO)(),(0,F.b3)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),L(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,W.dO)(),this.targetWithTransforms=(0,W.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,F.tf)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):L(this.target,this.layout.layoutBox),(0,I.o2)(this.target,this.targetDelta)):L(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,W.dO)(),this.relativeTargetOrigin=(0,W.dO)(),(0,F.b3)(this.relativeTargetOrigin,this.target,t.target),L(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}r.f.value&&tn.calculatedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,tt.Lj)(this.parent.latestValues)||(0,tt.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===i.frameData.timestamp&&(n=!1),n)return;let{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||o))return;L(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,u=this.treeScale.y;(0,I.YY)(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=(0,W.dO)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(j(this.prevProjectionDelta.x,this.projectionDelta.x),j(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,F.y$)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===u&&Z(this.projectionDelta.x,this.prevProjectionDelta.x)&&Z(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),r.f.value&&tn.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,W.wc)(),this.projectionDelta=(0,W.wc)(),this.projectionDeltaWithTransform=(0,W.wc)()}setAnimationOrigin(t,e=!1){let n;let i=this.snapshot,r=i?i.latestValues:{},s={...this.latestValues},o=(0,W.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,W.dO)(),u=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,h=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(tP));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(tx(o.x,t.x,i),tx(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var l,d,p,m;(0,F.b3)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,tw(p.x,m.x,a.x,i),tw(p.y,m.y,a.y,i),n&&(l=this.relativeTarget,d=n,K(l.x,d.x)&&K(l.y,d.y))&&(this.isProjectionDirty=!1),n||(n=(0,W.dO)()),L(n,this.relativeTarget)}u&&(this.animationValues=s,function(t,e,n,i,r,s){r?(t.opacity=(0,f.t)(0,n.opacity??1,R(i)),t.opacityExit=(0,f.t)(e.opacity??1,0,V(i))):s&&(t.opacity=(0,f.t)(e.opacity??1,n.opacity??1,i));for(let r=0;r<C;r++){let s=`border${E[r]}Radius`,o=D(e,s),a=D(n,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||M(o)===M(a)?(t[s]=Math.max((0,f.t)(A(o),A(a),i),0),(P.aQ.test(a)||P.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,f.t)(e.rotate||0,n.rotate||0,i))}(s,r,this.latestValues,i,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,i.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=i.Wi.update(()=>
1{te.V.hasAnimatedSinceResize=!0,c.P.layout++,this.motionValue||(this.motionValue=(0,h.BX)(0)),this.currentAnimation=(0,v.D)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{c.P.layout--},onComplete:()=>{c.P.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:n,layout:i,latestValues:r}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&tA(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,W.dO)();let e=(0,F.JO)(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let i=(0,F.JO)(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}L(e,n),(0,I.D2)(e,r),(0,F.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new G),this.sharedNodes.get(t).add(e);let n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){let i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;let i={};n.z&&ts("z",t,i,this.animationValues);for(let e=0;e<ti.length;e++)ts(`rotate${ti[e]}`,t,i,this.animationValues),ts(`skew${ti[e]}`,t,i,this.animationValues);for(let e in t.render(),i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,w.b)(e?.pointerEvents)||"",t.transform=n?n(this.latestValues,""):"none";return}let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,w.b)(e?.pointerEvents)||""),this.hasProjected&&!(0,tt.ud)(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(t,e,n){let i="",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){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),r&&(i+=`rotateX(${r}deg) `),s&&(i+=`rotateY(${s}deg) `),o&&(i+=`skewX(${o}deg) `),a&&(i+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,u=t.y.scale*e.y;return(1!==a||1!==u)&&(i+=`scale(${a}, ${u})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);n&&(s=n(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,i.animationValues?t.opacity=i===this?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,J.P){if(void 0===r[e])continue;let{correct:n,applyTo:o,isCSSVariable:a}=J.P[e],u="none"===s?r[e]:n(r[e],i);if(o){let e=o.length;for(let n=0;n<e;n++)t[o[n]]=u}else a?this.options.visualElement.renderState.vars[e]=u:t[e]=u}this.options.layoutId&&(t.pointerEvents=i===this?(0,w.b)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tf),this.root.sharedNodes.clear()}}}function ta(t){t.updateLayout()}function tu(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?(0,Q.U)(t=>{let i=s?e.measuredBox[t]:e.layoutBox[t],r=(0,F.JO)(i);i.min=n[t].min,i.max=i.min+r}):tA(r,e.layoutBox,n)&&(0,Q.U)(i=>{let r=s?e.measuredBox[i]:e.layoutBox[i],o=(0,F.JO)(n[i]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=(0,W.wc)();(0,F.y$)(o,n,e.layoutBox);let a=(0,W.wc)();s?(0,F.y$)(a,t.applyTransform(i,!0),e.measuredBox):(0,F.y$)(a,n,e.layoutBox);let u=!z(o),l=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:s}=i;if(r&&s){let o=(0,W.dO)();(0,F.b3)(o,e.layoutBox,r.layoutBox);let a=(0,W.dO)();(0,F.b3)(a,n,s.layoutBox),H(o,a)||(l=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:u,hasRelativeLayoutChanged:l})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tl(t){r.f.value&&tn.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function th(t){t.clearSnapshot()}function tf(t){t.clearMeasurements()}function td(t){t.isLayoutDirty=!1}function tp(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tm(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tv(t){t.resolveTargetDelta()}function ty(t){t.calcProjection()}function tg(t){t.resetSkewAndRotation()}function tb(t){t.removeLeadSnapshot()}function tx(t,e,n){t.translate=(0,f.t)(e.translate,0,n),t.scale=(0,f.t)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function tw(t,e,n,i){t.min=(0,f.t)(e.min,n.min,i),t.max=(0,f.t)(e.max,n.max,i)}function tP(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tT={duration:.45,ease:[.4,0,.1,1]},tS=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tE=tS("applewebkit/")&&!tS("chrome/")?Math.round:m.Z;function tC(t){t.min=tE(t.min),t.max=tE(t.max)}function tA(t,e,n){return"position"===t||"preserve-aspect"===t&&!(0,F.wS)(q(e),q(n),.2)}function tM(t){return t!==t.root&&t.scroll?.wasRoot}var tD=n(85716);let tR=to({attachResizeListener:(t,e)=>(0,tD.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tV={current:void 0},tk=to({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tV.current){let t=new tR({});t.mount(window),t.setOptions({layoutScroll:!0}),tV.current=t}return tV.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position})},51259:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});let i={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},93789:function(t,e,n){"use strict";n.d(e,{B:function(){return s},P:function(){return r}});var i=n(6279);let r={};function s(t){for(let e in t)r[e]=t[e],(0,i.f)(e)&&(r[e].isCSSVariable=!0)}},93216:function(t,e,n){"use strict";function i(t){return[t("x"),t("y")]}n.d(e,{U:function(){return i}})},45564:function(t,e,n){"use strict";function i(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:n}){return!i(t)||!i(e)||!i(n)}function s(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}n.d(e,{D_:function(){return o},Lj:function(){return r},ud:function(){return s}})},53998:function(t,e,n){"use strict";n.d(e,{J:function(){return s},z:function(){return o}});var i=n(10994),r=n(73615);function s(t,e){return(0,i.i8)((0,i.d7)(t.getBoundingClientRect(),e))}function o(t,e,n){let i=s(t,n),{scroll:o}=e;return o&&((0,r.am)(i.x,o.offset.x),(0,r.am)(i.y,o.offset.y)),i}},38222:function(t,e,n){"use strict";n.d(e,{l:function(){return M}});var i=n(48724),r=n(55973),s=n(18157),o=n(85432),a=n(3494),u=n(53346),l=n(86856),c=n(71492),h=n(55871),f=n(93039);let d=[...h.$,l.$,c.P],p=t=>d.find((0,f.l)(t));var m=n(40685),v=n(71466),y=n(45815),g=n(11098),b=n(27686),x=n(34438),w=n(44727),P=n(44747),T=n(36329),S=n(40502),E=n(17526),C=n(55373);let A=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class M{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:a,blockInitialAnimation:u,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=i.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=r.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,s.Wi.render(this.render,!1,!0))};let{latestValues:h,renderState:f}=l;this.latestValues=h,this.baseTarget={...h},this.initialValues=e.initial?{...h}:{},this.renderState=f,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=c,this.blockInitialAnimation=!!u,this.isControllingVariants=(0,E.G)(e),this.isVariantNode=(0,E.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:d,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in p){let e=p[t];void 0!==h[t]&&(0,o.i)(e)&&e.set(h[t])}}mount(t){this.current=t,S.R.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
1h((t,e)=>this.bindToMotionValue(e,t)),T.O.current||(0,P.A)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||T.n.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,s.Pn)(this.notifyUpdate),(0,s.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let n;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=a.G.has(t);i&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&s.Wi.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),n&&n(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in x.featureDefinitions){let e=x.featureDefinitions[t];if(!e)continue;let{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){let 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):(0,w.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<A.length;e++){let n=A[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,e,n){for(let i in e){let r=e[i],s=n[i];if((0,o.i)(r))t.addValue(i,r);else if((0,o.i)(s))t.addValue(i,(0,u.BX)(r,{owner:t}));else if(s!==r){if(t.hasValue(i)){let e=t.getValue(i);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(i);t.addValue(i,(0,u.BX)(void 0!==e?e:r,{owner:t}))}}}for(let 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){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let 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);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,u.BX)(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];return null!=n&&("string"==typeof n&&((0,y.P)(n)||(0,g.W)(n))?n=p
1arseFloat(n):!p(n)&&c.P.test(e)&&(n=(0,m.T)(t,e)),this.setBaseTarget(t,(0,o.i)(n)?n.get():n)),(0,o.i)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=(0,C.o)(this.props,n,this.presenceContext?.custom);i&&(e=i[t])}if(n&&void 0!==e)return e;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,o.i)(i)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new b.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){v.g.render(this.render)}}},58092:function(t,e,n){"use strict";n.d(e,{E:function(){return l}});var i=n(78287),r=n(58614),s=n(68138),o=n(49626),a=n(75081),u=n(83002);let l=function(t,e){if("undefined"==typeof Proxy)return r.createMotionComponent;let n=new Map,i=(n,i)=>(0,r.createMotionComponent)(n,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(s,o)=>"create"===o?i:(n.has(o)||n.set(o,(0,r.createMotionComponent)(o,void 0,t,e)),n.get(o))})}({...s.s,...a.E,...o.o,...u.b},i.b)},41532:function(t,e,n){"use strict";n.d(e,{J:function(){return g}});var i=n(82642),r=n(55871),s=n(13359),o=n(45815),a=n(6279);let u=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var l=n(48724),c=n(11098),h=n(71492),f=n(40685);let d=new Set(["auto","none","0"]);var p=n(86809);class m extends l.e{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i&&(i=i.trim(),(0,a.t)(i))){let r=function t(e,n,i=1){(0,s.k)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,l]=function(t){let e=u.exec(t);if(!e)return[,];let[,n,i,r]=e;return[`--${n??i}`,r]}(e);if(!r)return;let c=window.getComputedStyle(n).getPropertyValue(r);if(c){let t=c.trim();return(0,o.P)(t)?parseFloat(t):t}return(0,a.t)(l)?t(l,n,i+1):l}(i,e.current);void 0!==r&&(t[n]=r),n===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!i.z.has(n)||2!==t.length)return;let[l,c]=t,h=(0,r.C)(l),f=(0,r.C)(c);if(h!==f){if((0,p.mP)(h)&&(0,p.mP)(f))for(let e=0;e<t.length;e++){let n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else p.lw[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++){var i;(null===t[e]||("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||(0,c.W)(i)))&&n.push(e)}n.length&&function(t,e,n){let i,r=0;for(;r<t.length&&!i;){let e=t[r];"string"==typeof e&&!d.has(e)&&(0,h.V)(e).values.length&&(i=t[r]),r++}if(i&&n)for(let r of e)t[r]=(0,f.T)(n,i)}(t,n,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=p.lw[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);let r=n.length-1,s=n[r];n[r]=p.lw[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}var v=n(85432),y=n(38222);class g extends y.l{constructor(){super(...arguments),this.KeyframeResolver=m}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,v.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},78287:function(t,e,n){"use strict";n.d(e,{b:function(){return a}});var i=n(4341),r=n(19741),s=n(53537),o=n(66051);let a=(t,e)=>(0,o.q)(t)?new s.e(e):new r.W(e,{allowProjection:t!==i.Fragment})},31529:function(t,e,n){"use strict";n.d(e,{D:function(){return i}});let i=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},57012:function(t,e,n){"use strict";n.d(e,{L:function(){return a},K:function(){return o}});let i=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function r(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||i.has(t)}let s=t=>!r(t);function o(t){"function"==typeof t&&(s=e=>e.startsWith("on")?!r(e):t(e))}try{o(require("@emotion/is-prop-valid").default)}catch{}function a(t,e,n){let i={};for(let o in t)("values"!==o||"object"!=typeof t.values)&&(s(o)||!0===n&&r(o)||!e&&!r(o)||t.draggable&&o.startsWith("onDrag"))&&(i[o]=t[o]);return i}},66051:function(t,e,n){"use strict";n.d(e,{q:function(){return r}});let i=["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 r(t){if("string"!=typeof t||t.includes("-"));else if(i.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},19741:function(t,e,n){"use strict";n.d(e,{W:function(){return h}});var i=n(3494),r=n(56749),s=n(6279),o=n(53998),a=n(41532),u=n(72839),l=n(74780),c=n(57474);class h extends a.J{constructor(){super(...arguments),this.type="html",this.renderInstance=l.N}readValueFromInstance(t,e){if(i.G.has(e))return this.projection?.isProjecting?(0,r.E$)(e):(0,r.RT)(t,e);{let n=window.getComputedStyle(t),i=((0,s.f)(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,o.J)(t,e)}build(t,e,n){(0,u.r)(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return(0,c.U)(t,e,n)}}},72839:function(t,e,n){"use strict";n.d(e,{r:function(){return l}});var i=n(3494),r=n(6279);let s=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var o=n(49557);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},u=i._.length;function l(t,e,n){let{style:l,vars:c,transformOrigin:h}=t,f=!1,d=!1;for(let t in e){let n=e[t];if(i.G.has(t)){f=!0;continue}if((0,r.f)(t)){c[t]=n;continue}{let e=s(n,o.j[t]);t.startsWith("origin")?(d=!0,h[t]=e):l[t]=e}}if(!e.transform&&(f||n?l.transform=function(t,e,n){let r="",l=!0;for(let c=0;c<u;c++){let u=i._[c],h=t[u];if(void 0===h)continue;let f=!0;if(!(f="number"==typeof h?h===(u.startsWith("scale")?1:0):0===parseFloat(h))||n){let t=s(h,o.j[u]);if(!f){l=!1;let e=a[u]||u;r+=`${e}(${t}) `}n&&(e[u]=t)}}return r=r.trim(),n?r=n(e,l?"":r):l&&(r="none"),r}(e,t.transform,n):l.transform&&(l.transform="none")),d){let{originX:t="50%",originY:e="50%",originZ:n=0}=h;l.transformOrigin=`${t} ${e} ${n}`}}},74780:function(t,e,n){"use strict";function i(t,{style:e,vars:n},i,r){let s;let o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,i),n)o.setProperty(s,n[s])}n.d(e,{N:function(){return i}})},57474:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(85432),r=n(17347);function s(t,e,n){let{style:s}=t,o={};for(let a in s)((0,i.i)(s[a])||e.style&&(0,i.i)(e.style[a])||(0,r.j)(a,t)||n?.getValue(a)?.liveStyle!==void 0)&&(o[a]=s[a]);return o}},40502:function(t,e,n){"use strict";n.d(e,{R:function(){return i}});let i=new WeakMap},53537:function(t,e,n){"use strict";n.d(e,{e:function(){return d}});var i=n(3494),r=n(50321),s=n(44727),o=n(41532),a=n(31529),u=n(90552);let l=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"]);var c=n(72803),h=n(74780),f=n(33001);class d extends o.J{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.dO}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(i.G.has(e)){let t=(0,r.A)(e);return t&&t.default||0}return e=l.has(e)?e:(0,a.D)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return(0,f.U)(t,e,n)}
1build(t,e,n){(0,u.i)(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){!function(t,e,n,i){for(let n in(0,h.N)(t,e,void 0,i),e.attrs)t.setAttribute(l.has(n)?n:(0,a.D)(n),e.attrs[n])}(t,e,0,i)}mount(t){this.isSVGTag=(0,c.a)(t.tagName),super.mount(t)}}},90552:function(t,e,n){"use strict";n.d(e,{i:function(){return a}});var i=n(72839),r=n(44133);let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,{attrX:e,attrY:n,attrScale:a,pathLength:u,pathSpacing:l=1,pathOffset:c=0,...h},f,d,p){if((0,i.r)(t,h,d),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:v}=t;m.transform&&(v.transform=m.transform,delete m.transform),(v.transform||m.transformOrigin)&&(v.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),v.transform&&(v.transformBox=p?.transformBox??"fill-box",delete m.transformBox),void 0!==e&&(m.x=e),void 0!==n&&(m.y=n),void 0!==a&&(m.scale=a),void 0!==u&&function(t,e,n=1,i=0,a=!0){t.pathLength=1;let u=a?s:o;t[u.offset]=r.px.transform(-i);let l=r.px.transform(e),c=r.px.transform(n);t[u.array]=`${l} ${c}`}(m,u,l,c,!1)}},72803:function(t,e,n){"use strict";n.d(e,{a:function(){return i}});let i=t=>"string"==typeof t&&"svg"===t.toLowerCase()},33001:function(t,e,n){"use strict";n.d(e,{U:function(){return o}});var i=n(85432),r=n(3494),s=n(57474);function o(t,e,n){let o=(0,s.U)(t,e,n);for(let n in t)((0,i.i)(t[n])||(0,i.i)(e[n]))&&(o[-1!==r._.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return o}},17526:function(t,e,n){"use strict";n.d(e,{G:function(){return o},M:function(){return a}});var i=n(37382),r=n(74470),s=n(64805);function o(t){return(0,i.H)(t.animate)||s.V.some(e=>(0,r.$)(t[e]))}function a(t){return!!(o(t)||t.variants)}},74470:function(t,e,n){"use strict";function i(t){return"string"==typeof t||Array.isArray(t)}n.d(e,{$:function(){return i}})},80629:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(55373);function r(t,e,n){let r=t.getProps();return(0,i.o)(r,e,void 0!==n?n:r.custom,t)}},55373:function(t,e,n){"use strict";function i(t){let e=[{},{}];return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function r(t,e,n,r){if("function"==typeof e){let[s,o]=i(r);e=e(void 0!==n?n:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=i(r);e=e(void 0!==n?n:t.custom,s,o)}return e}n.d(e,{o:function(){return r}})},54147:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var i=n(53346),r=n(64786),s=n(80629);function o(t,e){let{transitionEnd:n={},transition:o={},...a}=(0,s.x)(t,e)||{};for(let e in a={...a,...n}){var u;let n=(u=a[e],(0,r.C)(u)?u[u.length-1]||0:u);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,i.BX)(n))}}},64805:function(t,e,n){"use strict";n.d(e,{V:function(){return r},e:function(){return i}});let i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...i]},82044:function(t,e,n){"use strict";n.d(e,{j:function(){return i}});let i="undefined"!=typeof window},99267:function(t,e,n){"use strict";function i(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}n.d(e,{I:function(){return i}})},44747:function(t,e,n){"use strict";n.d(e,{A:function(){return s}});var i=n(82044),r=n(36329);function s(){if(r.O.current=!0,i.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r.n.current=t.matches;t.addEventListener("change",e),e()}else r.n.current=!1}}},36329:function(t,e,n){"use strict";n.d(e,{O:function(){return r},n:function(){return i}});let i={current:null},r={current:!1}},68565:function(t,e,n){"use strict";n.d(e,{useConstant:function(){return r}});var i=n(4341);function r(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8090:function(t,e,n){"use strict";n.d(e,{useIsomorphicLayoutEffect:function(){return r}});var i=n(4341);let r=n(82044).j?i.useLayoutEffect:i.useEffect},56227:function(t,e,n){"use strict";n.d(e,{K:function(){return s}});var i=n(27503),r=n(85432);function s(t,e){let n=t.getValue("willChange");if((0,r.i)(n)&&n.add)return n.add(e);if(!n&&i.c.WillChange){let n=new i.c.WillChange("auto");t.addValue("willChange",n),n.add(e)}}},63681:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(85432);function r(t){return(0,i.i)(t)?t.get():t}},32352:function(t,e,n){"use strict";n.d(e,{L:function(){return g}});var i=n(90713),r=n(70444),s=n(10326),o=n(55973),a=n(38869),u=n(88758),l=n(18157);let c=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>l.Wi.update(e,t),stop:()=>(0,l.Pn)(e),now:()=>l.frameData.isProcessing?l.frameData.timestamp:o.X.now()}};var h=n(21279),f=n(79489),d=n(19546),p=n(4121),m=n(57402),v=n(65505);let y=t=>t/100;class g extends v.T{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==o.X.now()&&this.tick(o.X.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},a.P.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,m.f)(t);let{type:e=f.F,repeat:n=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=t,{keyframes:a}=t,l=e||f.F;l!==f.F&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,i.z)(y,(0,u.C)(a[0],a[1])),a=[0,100]);let c=l({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),null===c.calculatedDuration&&(c.calculatedDuration=(0,d.i)(c));let{calculatedDuration:h}=c;this.calculatedDuration=h,this.resolvedDuration=h+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:n,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:l=0,keyframes:c,repeat:f,repeatType:d,repeatDelay:m,type:v,onUpdate:y,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let b=this.currentTime-l*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?b<0:b>i;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let w=this.currentTime,P=n;if(f){let t=Math.min(this.currentTime,i)/a,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,f+1))%2&&("reverse"===d?(n=1-n,m&&(n-=m/a)):"mirror"===d&&(P=o)),w=(0,r.u)(0,1,n)*a}let T=x?{done:!1,value:c[0]}:P.next(w);s&&(T.value=s(T.value));let{done:S}=T;x||null===u||(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return E&&v!==h.I&&(T.value=(0,p.$)(c,this.options,g,this.speed)),y&&y(T.value),E&&this.finish(),T}
1then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.w)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(o.X.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=c,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let 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(o.X.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,a.P.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)}}},97728:function(t,e,n){"use strict";n.d(e,{_:function(){return x}});var i=n(13359),r=n(10326),s=n(81720),o=n(52493),a=n(12821),u=n(4121),l=n(65505),c=n(38869),h=n(54246),f=n(16162),d=n(97698);let p={},m=function(t,e){let n=(0,d.X)(t);return()=>p[e]??n()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var v=n(48155);let y=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,g={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])};var b=n(20840);class x extends l.T{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:n,keyframes:r,pseudoElement:s,allowFlatten:a=!1,finalKeyframe:l,onComplete:d}=t;this.isPseudoElement=!!s,this.allowFlatten=a,this.options=t,(0,i.k)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let p=function({type:t,...e}){return(0,b.x)(t)&&m()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:u}={},l){let d={[e]:n};u&&(d.offset=u);let p=function t(e,n){if(e)return"function"==typeof e?m()?(0,v.w)(e,n):"ease-out":(0,f.q)(e)?y(e):Array.isArray(e)?e.map(e=>t(e,n)||g.easeOut):g[e]}(a,r);Array.isArray(p)&&(d.easing=p),h.f.value&&c.P.waapi++;let b={delay:i,duration:r,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};l&&(b.pseudoElement=l);let x=t.animate(d,b);return h.f.value&&x.finished.finally(()=>{c.P.waapi--}),x}(e,n,r,p,s),!1===p.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,u.$)(r,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(t):(0,o.S)(n)?e.style.setProperty(n,t):e.style[n]=t,this.animation.cancel()}d?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,r.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,r.X)(t)}get time(){return(0,r.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,r.w)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,a.t)())?(this.animation.timeline=t,s.Z):e(this)}}},21279:function(t,e,n){"use strict";n.d(e,{I:function(){return s}});var i=n(76547),r=n(94876);function s({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:u,min:l,max:c,restDelta:h=.5,restSpeed:f}){let d,p;let m=t[0],v={done:!1,value:m},y=t=>void 0!==l&&t<l||void 0!==c&&t>c,g=t=>void 0===l?c:void 0===c?l:Math.abs(l-t)<Math.abs(c-t)?l:c,b=n*e,x=m+b,w=void 0===u?x:u(x);w!==x&&(b=w-m);let P=t=>-b*Math.exp(-t/s),T=t=>w+P(t),S=t=>{let e=P(t),n=T(t);v.done=Math.abs(e)<=h,v.value=v.done?w:n},E=t=>{y(v.value)&&(d=t,p=(0,i.S)({keyframes:[v.value,g(v.value)],velocity:(0,r.P)(T,t,v.value),damping:o,stiffness:a,restDelta:h,restSpeed:f}))};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==d||(e=!0,S(t),E(t)),void 0!==d&&t>=d)?p.next(t-d):(e||S(t),v)}}}},79489:function(t,e,n){"use strict";n.d(e,{F:function(){return b}});var i=n(25851);let r=(0,i._)(.42,0,1,1),s=(0,i._)(0,0,.58,1),o=(0,i._)(.42,0,.58,1);var a=n(86449),u=n(13359),l=n(81720),c=n(80951),h=n(2082),f=n(67351),d=n(16162);let p={linear:l.Z,easeIn:r,easeInOut:o,easeOut:s,circIn:f.Z7,circInOut:f.X7,circOut:f.Bn,backIn:h.G2,backInOut:h.XL,backOut:h.CG,anticipate:c.L},m=t=>"string"==typeof t,v=t=>{if((0,d.q)(t)){(0,u.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,n,r,s]=t;
1return(0,i._)(e,n,r,s)}return m(t)?((0,u.k)(void 0!==p[t],`Invalid easing type '${t}'`,"invalid-easing-type"),p[t]):t};var y=n(78615),g=n(51083);function b({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){let r=(0,a.N)(i)?i.map(v):v(i),s={done:!1,value:e[0]},u=(n&&n.length===e.length?n:(0,g.Y)(e)).map(e=>e*t),l=(0,y.s)(u,e,{ease:Array.isArray(r)?r:e.map(()=>r||o).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=l(e),s.done=e>=t,s)}}},76547:function(t,e,n){"use strict";n.d(e,{S:function(){return m}});var i=n(70444),r=n(10326),s=n(48155),o=n(19546),a=n(62569),u=n(94876);let l={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var c=n(13359);function h(t,e){return t*Math.sqrt(1-e*e)}let f=["duration","bounce"],d=["stiffness","damping","mass"];function p(t,e){return e.some(e=>void 0!==t[e])}function m(t=l.visualDuration,e=l.bounce){let n;let a="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:m,restDelta:v}=a,y=a.keyframes[0],g=a.keyframes[a.keyframes.length-1],b={done:!1,value:y},{stiffness:x,damping:w,mass:P,duration:T,velocity:S,isResolvedFromDuration:E}=function(t){let e={velocity:l.velocity,stiffness:l.stiffness,damping:l.damping,mass:l.mass,isResolvedFromDuration:!1,...t};if(!p(t,d)&&p(t,f)){if(t.visualDuration){let n=2*Math.PI/(1.2*t.visualDuration),r=n*n,s=2*(0,i.u)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:l.mass,stiffness:r,damping:s}}else{let n=function({duration:t=l.duration,bounce:e=l.bounce,velocity:n=l.velocity,mass:s=l.mass}){let o,a;(0,c.K)(t<=(0,r.w)(l.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let u=1-e;u=(0,i.u)(l.minDamping,l.maxDamping,u),t=(0,i.u)(l.minDuration,l.maxDuration,(0,r.X)(t)),u<1?(o=e=>{let i=e*u,r=i*t;return .001-(i-n)/h(e,u)*Math.exp(-r)},a=e=>{let i=e*u*t,r=Math.pow(u,2)*Math.pow(e,2)*t,s=h(Math.pow(e,2),u);return(i*n+n-r)*Math.exp(-i)*(-o(e)+.001>0?-1:1)/s}):(o=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),a=e=>t*t*(n-e)*Math.exp(-e*t));let f=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(o,a,5/t);if(t=(0,r.w)(t),isNaN(f))return{stiffness:l.stiffness,damping:l.damping,duration:t};{let e=Math.pow(f,2)*s;return{stiffness:e,damping:2*u*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...n,mass:l.mass}).isResolvedFromDuration=!0}}return e}({...a,velocity:-(0,r.X)(a.velocity||0)}),C=S||0,A=w/(2*Math.sqrt(x*P)),M=g-y,D=(0,r.X)(Math.sqrt(x/P)),R=5>Math.abs(M);if(m||(m=R?l.restSpeed.granular:l.restSpeed.default),v||(v=R?l.restDelta.granular:l.restDelta.default),A<1){let t=h(D,A);n=e=>g-Math.exp(-A*D*e)*((C+A*D*M)/t*Math.sin(t*e)+M*Math.cos(t*e))}else if(1===A)n=t=>g-Math.exp(-D*t)*(M+(C+D*M)*t);else{let t=D*Math.sqrt(A*A-1);n=e=>{let n=Math.exp(-A*D*e),i=Math.min(t*e,300);return g-n*((C+A*D*M)*Math.sinh(i)+t*M*Math.cosh(i))/t}}let V={calculatedDuration:E&&T||null,next:t=>{let e=n(t);if(E)b.done=t>=T;else{let i=0===t?C:0;A<1&&(i=0===t?(0,r.w)(C):(0,u.P)(n,t,e));let s=Math.abs(i)<=m,o=Math.abs(g-e)<=v;b.done=s&&o}return b.value=b.done?g:e,b},toString:()=>{let t=Math.min((0,o.i)(V),o.E),e=(0,s.w)(e=>V.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return V}m.applyToOptions=t=>{let e=(0,a.S)(t,100,m);return t.ease=e.ease,t.duration=(0,r.w)(e.duration),t.type="keyframes",t}},19546:function(t,e,n){"use strict";n.d(e,{E:function(){return i},i:function(){return r}});let i=2e4;function r(t){let e=0,n=t.next(e);for(;!n.done&&e<i;)e+=50,n=t.next(e);return e>=i?1/0:e}},62569:function(t,e,n){"use strict";n.d(e,{S:function(){return s}});var i=n(10326),r=n(19546);function s(t,e=100,n){let s=n({...t,keyframes:[0,e]}),o=Math.min((0,r.i)(s),r.E);return{type:"keyframes",ease:t=>s.next(o*t).value/e,duration:(0,i.X)(o)}}},20840:function(t,e,n){"use strict";function i(t){return"function"==typeof t&&"applyToOptions"in t}n.d(e,{x:function(){return i}})},94876:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var i=n(86311);function r(t,e,n){let r=Math.max(e-5,0);return(0,i.R)(n-t(r),e-r)}},48724:function(t,e,n){"use strict";n.d(e,{e:function(){return d},m:function(){return f}});var i=n(53504),r=n(86809),s=n(18157);let o=new Set,a=!1,u=!1,l=!1;function c(){if(u){let t=Array.from(o).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{let e=(0,r.Ei)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let 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)})}u=!1,a=!1,o.forEach(t=>t.complete(l)),o.clear()}function h(){o.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(u=!0)})}function f(){l=!0,h(),c(),l=!1}class d{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?(o.add(this),a||(a=!0,s.Wi.read(h),s.Wi.resolveKeyframes(c))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:r}=this;if(null===t[0]){let i=r?.get(),s=t[t.length-1];if(void 0!==i)t[0]=i;else if(n&&e){let i=n.readValue(e,s);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=s),r&&void 0===i&&r.set(t[0])}(0,i.q)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),o.delete(this)}cancel(){"scheduled"===this.state&&(o.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},4121:function(t,e,n){"use strict";n.d(e,{$:function(){return r}});let i=t=>null!==t;function r(t,{repeat:e,repeatType:n="loop"},r,s=1){let o=t.filter(i),a=s<0||e&&"loop"!==n&&e%2==1?0:o.length-1;return a&&void 0!==r?r:o[a]}},51083:function(t,e,n){"use strict";n.d(e,{Y:function(){return r}});var i=n(15747);function r(t){let e=[0];return(0,i.c)(e,t.length-1),e}},15747:function(t,e,n){"use strict";n.d(e,{c:function(){return s}});var i=n(40979),r=n(75866);function s(t,e){let n=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,i.Y)(0,e,s);t.push((0,r.t)(n,1,o))}}},53504:function(t,e,n){"use strict";function i(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}n.d(e,{q:function(){return i}})},86809:function(t,e,n){"use strict";n.d(e,{Ei:function(){return c},lw:function(){return h},mP:function(){return a}});var i=n(56749),r=n(3494),s=n(53096),o=n(44133);let a=t=>t===s.Rx||t===o.px,u=new Set(["x","y","z"]),l=r._.filter(t=>!u.has(t));function c(t){let e=[];return l.forEach(n=>{let i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}let h={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-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})=>(0,i.WK)(e,"x"),y:(t,{transform:e})=>(0,i.WK)(e,"y")};h.translateX=h.x,h.translateY=h.y},65505:function(t,e,n){"use strict";n.d(e,{T:function(){return i}});class i{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)}}},14601:function(t,e,n){"use strict";function i(t,e){return t?.[e]??t?.default??t}n.d(e,{e:function(){return i}})},6279:function(t,e,n){"use strict";n.d(e,{f:function(){return r},t:function(){return o}});let i=t=>e=>"string"==typeof e&&e.startsWith(t),r=i("--"),s=i("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},57402:function(t,e,n){"use strict";n.d(e,{f:function(){return a}});var i=n(21279),r=n(79489),s=n(76547);let o={decay:i.I,inertia:i.I,tween:r.F,keyframes:r.F,spring:s.S};function a(t){"string"==typeof t.type&&(t.type=o[t.type])}},48155:function(t,e,n){"use strict";n.d(e,{w:function(){return i}});let i=(t,e,n=10)=>{let i="",r=Math.max(Math.round(e/n),2);for(let e=0;e<r;e++)i+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`}},17753:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(27503);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=n(54246);function o(t,e){let n=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},u=()=>n=!0,l=r.reduce((t,n)=>(t[n]=function(t,e){let n=new Set,i=new Set,r=!1,o=!1,a=new WeakSet,u={delta:0,timestamp:0,isProcessing:!1},l=0;function c(e){a.has(e)&&(h.schedule(e),t()),l++,e(u)}let h={schedule:(t,e=!1,s=!1)=>{let o=s&&r?n:i;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{i.delete(t),a.delete(t)},process:t=>{if(u=t,r){o=!0;return}
1r=!0,[n,i]=[i,n],n.forEach(c),e&&s.f.value&&s.f.value.frameloop[e].push(l),l=0,n.clear(),r=!1,o&&(o=!1,h.process(t))}};return h}(u,e?n:void 0),t),{}),{setup:c,read:h,resolveKeyframes:f,preUpdate:d,update:p,preRender:m,render:v,postRender:y}=l,g=()=>{let r=i.c.useManualTiming?a.timestamp:performance.now();n=!1,i.c.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,c.process(a),h.process(a),f.process(a),d.process(a),p.process(a),m.process(a),v.process(a),y.process(a),a.isProcessing=!1,n&&e&&(o=!1,t(g))},b=()=>{n=!0,o=!0,a.isProcessing||t(g)};return{schedule:r.reduce((t,e)=>{let i=l[e];return t[e]=(t,e=!1,r=!1)=>(n||b(),i.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:a,steps:l}}},18157:function(t,e,n){"use strict";n.d(e,{Pn:function(){return s},Wi:function(){return r},frameData:function(){return o},yL:function(){return a}});var i=n(81720);let{schedule:r,cancel:s,state:o,steps:a}=(0,n(17753).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.Z,!0)},71466:function(t,e,n){"use strict";n.d(e,{g:function(){return i}});let{schedule:i,cancel:r}=(0,n(17753).Z)(queueMicrotask,!1)},55973:function(t,e,n){"use strict";let i;n.d(e,{X:function(){return a}});var r=n(27503),s=n(18157);function o(){i=void 0}let a={now:()=>(void 0===i&&a.set(s.frameData.isProcessing||r.c.useManualTiming?s.frameData.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(o)}}},96872:function(t,e,n){"use strict";n.d(e,{g:function(){return r},r:function(){return i}});let i={x:!1,y:!1};function r(){return i.x||i.y}},2505:function(t,e,n){"use strict";n.d(e,{D:function(){return i}});let i=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},52493:function(t,e,n){"use strict";n.d(e,{S:function(){return i}});let i=t=>t.startsWith("--")},56749:function(t,e,n){"use strict";n.d(e,{E$:function(){return c},RT:function(){return f},WK:function(){return h}});let i=t=>180*t/Math.PI,r=t=>o(i(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>i(Math.atan(t[1])),skewY:t=>i(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),u=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),l={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:u,scale:t=>(a(t)+u(t))/2,rotateX:t=>o(i(Math.atan2(t[6],t[5]))),rotateY:t=>o(i(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>i(Math.atan(t[4])),skewY:t=>i(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function c(t){return t.includes("scale")?1:0}function h(t,e){let n,i;if(!t||"none"===t)return c(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)n=l,i=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=s,i=e}if(!i)return c(e);let o=n[e],a=i[1].split(",").map(d);return"function"==typeof o?o(a):a[o]}let f=(t,e)=>{let{transform:n="none"}=getComputedStyle(t);return h(n,e)};function d(t){return parseFloat(t.trim())}},82642:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});let i=new Set(["width","height","top","left","right","bottom",...n(3494)._])},3494:function(t,e,n){"use strict";n.d(e,{G:function(){return r},_:function(){return i}});let i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(i)},38869:function(t,e,n){"use strict";n.d(e,{P:function(){return i}});let i={layout:0,mainThread:0,waapi:0}},54246:function(t,e,n){"use strict";n.d(e,{f:function(){return i}});let i={value:null,addProjectionMetrics:null}},78615:function(t,e,n){"use strict";n.d(e,{s:function(){return c}});var i=n(27503),r=n(81720),s=n(90713),o=n(13359),a=n(40979),u=n(70444),l=n(88758);function c(t,e,{clamp:n=!0,ease:c,mixer:h}={}){let f=t.length;if((0,o.k)(f===e.length,"Both input and output ranges must be the same length","range-length"),1===f)return()=>e[0];if(2===f&&e[0]===e[1])return()=>e[1];let d=t[0]===t[1];t[0]>t[f-1]&&(t=[...t].reverse(),e=[...e].reverse());let p=function(t,e,n){let o=[],a=n||i.c.mix||l.C,u=t.length-1;for(let n=0;n<u;n++){let i=a(t[n],t[n+1]);if(e){let t=Array.isArray(e)?e[n]||r.Z:e;i=(0,s.z)(t,i)}o.push(i)}return o}(e,c,h),m=p.length,v=n=>{if(d&&n<t[0])return e[0];let i=0;if(m>1)for(;i<t.length-2&&!(n<t[i+1]);i++);let r=(0,a.Y)(t[i],t[i+1],n);return p[i](r)};return n?e=>v((0,u.u)(t[0],t[f-1],e)):v}},38575:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var i=n(50288);function r(t){return(0,i.K)(t)&&"offsetHeight"in t}},13598:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});var i=n(50288);function r(t){return(0,i.K)(t)&&"ownerSVGElement"in t}},80022:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var i=n(13598);function r(t){return(0,i.v)(t)&&"svg"===t.tagName}},88758:function(t,e,n){"use strict";n.d(e,{C:function(){return E}});var i=n(90713),r=n(13359),s=n(6279),o=n(86856),a=n(71492),u=n(53834),l=n(7314);function c(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var h=n(4849);function f(t,e){return n=>n>0?e:t}var d=n(75866);let p=(t,e,n)=>{let i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},m=[u.$,h.m,l.J],v=t=>m.find(e=>e.test(t));function y(t){let e=v(t);if((0,r.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let n=e.parse(t);return e===l.J&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}
1){t/=360,n/=100;let r=0,s=0,o=0;if(e/=100){let i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;r=c(a,i,t+1/3),s=c(a,i,t),o=c(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}}(n)),n}let g=(t,e)=>{let n=y(t),i=y(e);if(!n||!i)return f(t,e);let r={...n};return t=>(r.red=p(n.red,i.red,t),r.green=p(n.green,i.green,t),r.blue=p(n.blue,i.blue,t),r.alpha=(0,d.t)(n.alpha,i.alpha,t),h.m.transform(r))},b=new Set(["none","hidden"]);function x(t,e){return n=>(0,d.t)(t,e,n)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,s.t)(t)?f:o.$.test(t)?g:S:Array.isArray(t)?P:"object"==typeof t?o.$.test(t)?g:T:f}function P(t,e){let n=[...t],i=n.length,r=t.map((t,n)=>w(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=r[e](t);return n}}function T(t,e){let n={...t,...e},i={};for(let r in n)void 0!==t[r]&&void 0!==e[r]&&(i[r]=w(t[r])(t[r],e[r]));return t=>{for(let e in i)n[e]=i[e](t);return n}}let S=(t,e)=>{let n=a.P.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?b.has(t)&&!o.values.length||b.has(e)&&!s.values.length?b.has(t)?n=>n<=0?t:e:n=>n>=1?e:t:(0,i.z)(P(function(t,e){let n=[],i={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][i[s]],a=t.values[o]??0;n[r]=a,i[s]++}return n}(s,o),o.values),n):((0,r.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),f(t,e))};function E(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?(0,d.t)(t,e,n):w(t)(t,e)}},75866:function(t,e,n){"use strict";n.d(e,{t:function(){return i}});let i=(t,e,n)=>t+(e-t)*n},10790:function(t,e,n){"use strict";function i(t,e,n){if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);let r=n?.[t]??i.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}n.d(e,{I:function(){return i}})},12821:function(t,e,n){"use strict";n.d(e,{t:function(){return i}});let i=(0,n(97698).X)(()=>void 0!==window.ScrollTimeline)},53346:function(t,e,n){"use strict";n.d(e,{BX:function(){return c},Hg:function(){return l},S1:function(){return u}});var i=n(27686),r=n(86311),s=n(55973),o=n(18157);let a=t=>!isNaN(parseFloat(t)),u={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.X.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.L);let n=this.events[t].add(e);return"change"===t?()=>{n(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,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 u.current&&u.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(t,e){return new l(t,e)}},53834:function(t,e,n){"use strict";n.d(e,{$:function(){return r}});var i=n(4849);let r={test:(0,n(99266).i)("#"),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
1a:r?parseInt(r,16)/255:1}},transform:i.m.transform}},7314:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var i=n(53096),r=n(44133),s=n(75133),o=n(99266);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.N)(e))+", "+r.aQ.transform((0,s.N)(n))+", "+(0,s.N)(i.Fq.transform(o))+")"}},86856:function(t,e,n){"use strict";n.d(e,{$:function(){return o}});var i=n(53834),r=n(7314),s=n(4849);let o={test:t=>s.m.test(t)||i.$.test(t)||r.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):r.J.test(t)?r.J.parse(t):i.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.m.transform(t):r.J.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},4849:function(t,e,n){"use strict";n.d(e,{m:function(){return l}});var i=n(70444),r=n(53096),s=n(75133),o=n(99266);let a=t=>(0,i.u)(0,255,t),u={...r.Rx,transform:t=>Math.round(a(t))},l={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+u.transform(t)+", "+u.transform(e)+", "+u.transform(n)+", "+(0,s.N)(r.Fq.transform(i))+")"}},99266:function(t,e,n){"use strict";n.d(e,{i:function(){return s},d:function(){return o}});var i=n(56575);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>n=>!!("string"==typeof n&&r.test(n)&&n.startsWith(t)||e&&null!=n&&Object.prototype.hasOwnProperty.call(n,e)),o=(t,e,n)=>r=>{if("string"!=typeof r)return r;let[s,o,a,u]=r.match(i.K);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==u?parseFloat(u):1}}},77798:function(t,e,n){"use strict";n.d(e,{h:function(){return u}});var i=n(71492),r=n(56575);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=n.match(r.K)||[];if(!i)return t;let o=n.replace(i,""),a=s.has(e)?1:0;return i!==n&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,u={...i.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},71492:function(t,e,n){"use strict";n.d(e,{V:function(){return c},P:function(){return p}});var i=n(86856);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=n(56575),o=n(75133);let a="number",u="color",l=/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 c(t){let e=t.toString(),n=[],r={color:[],number:[],var:[]},s=[],o=0,c=e.replace(l,t=>(i.$.test(t)?(r.color.push(o),s.push(u),n.push(i.$.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),n.push(t)):(r.number.push(o),s.push(a),n.push(parseFloat(t))),++o,"${}")).split("${}");return{values:n,split:c,indexes:r,types:s}}function h(t){return c(t).values}function f(t){let{split:e,types:n}=c(t),r=e.length;return t=>{let s="";for(let l=0;l<r;l++)if(s+=e[l],void 0!==t[l]){let e=n[l];e===a?s+=(0,o.N)(t[l]):e===u?s+=i.$.transform(t[l]):s+=t[l]}return s}}let d=t=>"number"==typeof t?0:i.$.test(t)?i.$.getAnimatableNone(t):t,p={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.K)?.length||0)+(t.match(r)?.length||0)>0},parse:h,createTransformer:f,getAnimatableNone:function(t){let e=h(t);return f(t)(e.map(d))}}},55871:function(t,e,n){"use strict";n.d(e,{$:function(){return o},C:function(){return a}});var i=n(53096),r=n(44133),s=n(93039);let o=[i.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.l)(t))},50321:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var i=n(86856),r=n(77798);let s={...n(49557).j,color:i.$,backgroundColor:i.$,outlineColor:i.$,fill:i.$,stroke:i.$,borderColor:i.$,borderTopColor:i.$,borderRightColor:i.$,borderBottomColor:i.$,borderLeftColor:i.$,filter:r.h,WebkitFilter:r.h},o=t=>s[t]},49557:function(t,e,n){"use strict";n.d(e,{j:function(){return a}});var i=n(53096);let r={...i.Rx,transform:Math.round};var s=n(44133);let o={rotate:s.RW,rotateX:s.RW,rotateY:s.RW,rotateZ:s.RW,scale:i.bA,scaleX:i.bA,scaleY:i.bA,scaleZ:i.bA,skew:s.RW,skewX:s.RW,skewY:s.RW,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:i.Fq,originX:s.$C,originY:s.$C,originZ:s.px},a={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...o,zIndex:r,fillOpacity:i.Fq,strokeOpacity:i.Fq,numOctaves:r}},53096:function(t,e,n){"use strict";n.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var i=n(70444);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,i.u)(0,1,t)},o={...r,default:1}},44133:function(t,e,n){"use strict";n.d(e,{$C:function(){return l},RW:function(){return r},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return u}});let i=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=i("deg"),s=i("%"),o=i("px"),a=i("vh"),u=i("vw"),l={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},93039:function(t,e,n){"use strict";n.d(e,{l:function(){return i}});let i=t=>e=>e.test(t)},40685:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var i=n(71492),r=n(77798),s=n(50321);function o(t,e){let n=(0,s.A)(t);return n!==r.h&&(n=i.P),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},56575:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});let i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},75133:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});let i=t=>Math.round(1e5*t)/1e5},85432:function(t,e,n){"use strict";n.d(e,{i:function(){return i}});let i=t=>!!(t&&t.getVelocity)},90877:function(t,e,n){"use strict";function i(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}
1function s([...t],e,n){let i=e<0?t.length+e:e;if(i>=0&&i<t.length){let i=n<0?t.length+n:n,[r]=t.splice(e,1);t.splice(i,0,r)}return t}n.d(e,{cl:function(){return r},uo:function(){return s},y4:function(){return i}})},70444:function(t,e,n){"use strict";n.d(e,{u:function(){return i}});let i=(t,e,n)=>n>e?e:n<t?t:n},80951:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var i=n(2082);let r=t=>(t*=2)<1?.5*(0,i.G2)(t):.5*(2-Math.pow(2,-10*(t-1)))},2082:function(t,e,n){"use strict";n.d(e,{CG:function(){return o},G2:function(){return a},XL:function(){return u}});var i=n(25851),r=n(71448),s=n(48091);let o=(0,i._)(.33,1.53,.69,.99),a=(0,s.M)(o),u=(0,r.o)(a)},67351:function(t,e,n){"use strict";n.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var i=n(71448),r=n(48091);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,i.o)(s)},25851:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var i=n(81720);let r=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function s(t,e,n,s){if(t===e&&n===s)return i.Z;let o=e=>(function(t,e,n,i,s){let o,a;let u=0;do(o=r(a=e+(n-e)/2,i,s)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++u<12);return a})(e,0,1,t,n);return t=>0===t||1===t?t:r(o(t),e,s)}},71448:function(t,e,n){"use strict";n.d(e,{o:function(){return i}});let i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},48091:function(t,e,n){"use strict";n.d(e,{M:function(){return i}});let i=t=>e=>1-t(1-e)},16162:function(t,e,n){"use strict";n.d(e,{q:function(){return i}});let i=t=>Array.isArray(t)&&"number"==typeof t[0]},86449:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});let i=t=>Array.isArray(t)&&"number"!=typeof t[0]},13359:function(t,e,n){"use strict";n.d(e,{K:function(){return i},k:function(){return r}});let i=()=>{},r=()=>{}},27503:function(t,e,n){"use strict";n.d(e,{c:function(){return i}});let i={}},45815:function(t,e,n){"use strict";n.d(e,{P:function(){return i}});let i=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},50288:function(t,e,n){"use strict";function i(t){return"object"==typeof t&&null!==t}n.d(e,{K:function(){return i}})},11098:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});let i=t=>/^0[^.\s]+$/u.test(t)},97698:function(t,e,n){"use strict";function i(t){let e;return()=>(void 0===e&&(e=t()),e)}n.d(e,{X:function(){return i}})},81720:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let i=t=>t},90713:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});let i=(t,e)=>n=>e(t(n)),r=(...t)=>t.reduce(i)},40979:function(t,e,n){"use strict";n.d(e,{Y:function(){return i}});let i=(t,e,n)=>{let i=e-t;return 0===i?1:(n-t)/i}},27686:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var i=n(90877);class r{constructor(){this.subscriptions=[]}add(t){return(0,i.y4)(this.subscriptions,t),()=>(0,i.cl)(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,n);else for(let r=0;r<i;r++){let i=this.subscriptions[r];i&&i(t,e,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},10326:function(t,e,n){"use strict";n.d(e,{X:function(){return r},w:function(){return i}});let i=t=>1e3*t,r=t=>t/1e3},86311:function(t,e,n){"use strict";function i(t,e){return e?1e3/e*t:0}n.d(e,{R:function(){return i}})},89927:function(t,e,n){"use strict";n.d(e,{useObservable:function(){return g},useObservableEvent:function(){return S}});var i=n(87622),r=n(4341),s=n(3556),o=n(37106),a=n(9799),u=n(90491),l=n(40090),c=n(5329),h=n(10727),f=n(9622),d=n(55005),p=n(19320);function m(t){return"function"==typeof t?t():t}let v=new WeakMap,y={};function g(t,e,n){let u,l,c,d;let p=(0,i.c)(10),{disabled:g}=void 0===n?y:n,S=void 0!==g&&g;if(!v.has(t)){let e={didEmit:!1},n={state:e,observable:t.pipe((0,h.U)(T),(0,s.K)(P),(0,f.b)(t=>{let{snapshot:n,error:i}=t;e.didEmit=!0,e.snapshot=n,e.error=i}),(0,h.U)(w),(0,o.x)(()=>v.delete(t)),(0,a.B)({resetOnRefCountZero:x})),getSnapshot:t=>{if(e.error)throw e.error;return e.didEmit?e.snapshot:m(t)}};n.observable.subscribe().unsubscribe(),v.set(t,n)}p[0]!==t?(u=v.get(t),p[0]=t,p[1]=u):u=p[1];let E=u;p[2]!==S||p[3]!==E.observable?(l=t=>
1{if(S)return b;let e=E.observable.subscribe(t);return()=>{e.unsubscribe()}},p[2]=S,p[3]=E.observable,p[4]=l):l=p[4];let C=l;return p[5]!==e||p[6]!==E?(c=()=>E.getSnapshot(e),p[5]=e,p[6]=E,p[7]=c):c=p[7],p[8]!==e?(d=typeof e>"u"?void 0:()=>m(e),p[8]=e,p[9]=d):d=p[9],(0,r.useSyncExternalStore)(C,c,d)}function b(){}function x(){return(0,u.H)(0,l.E)}function w(t){}function P(t){return(0,c.of)({snapshot:void 0,error:t})}function T(t){return{snapshot:t,error:void 0}}function S(t){let e,n,s;let o=(0,i.c)(7),[a]=(0,r.useState)(E),[u,l]=a;o[0]!==t?(e=e=>t(e),o[0]=t,o[1]=e):e=o[1];let c=(0,p.i)(e);return o[2]!==u||o[3]!==c?(n=()=>{let t=u.pipe(t=>c(t)).subscribe();return()=>t.unsubscribe()},o[2]=u,o[3]=c,o[4]=n):n=o[4],o[5]!==u?(s=[u],o[5]=u,o[6]=s):s=o[6],(0,r.useEffect)(n,s),l}function E(){return(0,d.E)()}},98089:function(t,e,n){"use strict";n.d(e,{CR:function(){return c},FC:function(){return d},Jh:function(){return u},KL:function(){return p},XA:function(){return l},ZT:function(){return r},_T:function(){return o},ev:function(){return h},mG:function(){return a},pi:function(){return s},qq:function(){return f}});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var s=function(){return(s=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function o(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>e.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)0>e.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n}function a(t,e,n,i){return new(n||(n=Promise))(function(r,s){function o(t){try{u(i.next(t))}catch(t){s(t)}}function a(t){try{u(i.throw(t))}catch(t){s(t)}}function u(t){var e;t.done?r(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,a)}u((i=i.apply(t,e||[])).next())})}function u(t,e){var n,i,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(u){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function l(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function h(t,e,n){if(n||2==arguments.length)for(var i,r=0,s=e.length;r<s;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function f(t){return this instanceof f?(this.v=t,this):new f(t)}function d(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),s=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(t){return function(e){return Promise.resolve(e).then(t,l)}}),i[Symbol.asyncIterator]=function(){return this},i;function o(t,e){r[t]&&(i[t]=function(e){return new Promise(function(n,i){s.push([t,e,n,i])>1||a(t,e)})},e&&(i[t]=e(i[t])))}function a(t,e){try{var n;(n=r[t](e)).value instanceof f?Promise.resolve(n.value.v).then(u,l):c(s[0][2],n)}catch(t){c(s[0][3],t)}}function u(t){a("next",t)}function l(t){a("throw",t)}function c(t,e){t(e),s.shift(),s.length&&a(s[0][0],s[0][1])}}function p(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=l(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise(function(i,r){!function(t,e,n,i){Promise.resolve(i).then(function(e){t({value:e,done:n})},e)}(i,r,(e=t[n](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError},19320:function(t,e,n){"use strict";n.d(e,{i:function(){return a}});var i=n(4341);let r=i.createContext(!0);function s(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}let o=()=>{try{return i.use(r)}catch{return!1}};function a(t){let e=i.useRef(s);return i.useInsertionEffect(()=>{e.current=t},[t]),(...t)=>(o()&&s(),(0,e.current)(...t))}}}]);
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.