1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33002],{70282:function(t,e,r){let i;var n,s,o,a,l,u,h,c,d,p,f,m,y,v,g,b,x,w,S,P,T,k,A,j,R,C,E,D,M,V,O,_,F,L,B,$,I,U,z,N,W=r(57437),Y=r(2265),q=r(31425);function K(){return tp?td:(tp=1,td=function(t,e){return t===e||t!=t&&e!=e})}function X(){return tm?tf:(tm=1,tf="object"==typeof q.c&&q.c&&q.c.Object===Object&&q.c)}function H(){if(tv)return ty;tv=1;var t=X(),e="object"==typeof self&&self&&self.Object===Object&&self;return ty=t||e||Function("return this")()}function G(){return tb?tg:(tb=1,tg=H().Symbol)}function Z(){if(tk)return tT;tk=1;var t=G(),e=function(){if(tw)return tx;tw=1;var t=G(),e=Object.prototype,r=e.hasOwnProperty,i=e.toString,n=t?t.toStringTag:void 0;return tx=function(t){var e=r.call(t,n),s=t[n];try{t[n]=void 0;var o=!0}catch{}var a=i.call(t);return o&&(e?t[n]=s:delete t[n]),a}}(),r=function(){if(tP)return tS;tP=1;var t=Object.prototype.toString;return tS=function(e){return t.call(e)}}(),i=t?t.toStringTag:void 0;return tT=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?e(t):r(t)}}function J(){return tj?tA:(tj=1,tA=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)})}function Q(){if(tC)return tR;tC=1;var t=Z(),e=J();return tR=function(r){if(!e(r))return!1;var i=t(r);return"[object Function]"==i||"[object GeneratorFunction]"==i||"[object AsyncFunction]"==i||"[object Proxy]"==i}}function tt(){return tD?tE:(tD=1,tE=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991})}function te(){if(tV)return tM;tV=1;var t=Q(),e=tt();return tM=function(r){return null!=r&&e(r.length)&&!t(r)}}function tr(){if(t_)return tO;t_=1;var t=/^(?:0|[1-9]\d*)$/;return tO=function(e,r){var i=typeof e;return!!(r=r??9007199254740991)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<r}}function ti(){return tN?tz:(tN=1,tz=function(t){return null!=t&&"object"==typeof t})}function tn(){if(tY)return tW;tY=1;var t=Z(),e=ti();return tW=function(r){return"symbol"==typeof r||e(r)&&"[object Symbol]"==t(r)}}function ts(){if(tK)return tq;tK=1;var t=function(){if(tU)return tI;tU=1;var t=function(){if(t$)return tB;t$=1;var t=/\s/;return tB=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}}(),e=/^\s+/;return tI=function(r){return r&&r.slice(0,t(r)+1).replace(e,"")}}(),e=J(),r=tn(),i=NaN,n=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt;return tq=function(l){if("number"==typeof l)return l;if(r(l))return i;if(e(l)){var u="function"==typeof l.valueOf?l.valueOf():l;l=e(u)?u+"":u}if("string"!=typeof l)return 0===l?l:+l;l=t(l);var h=s.test(l);return h||o.test(l)?a(l.slice(2),h?2:8):n.test(l)?i:+l}}function to(){if(tH)return tX;tH=1;var t=ts(),e=1/0;return tX=function(r){return r?(r=t(r))===e||r===-1/0?(r<0?-1:1)*17976931348623157e292:r==r?r:0:0===r?r:0}}function ta(){return(ta=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)({}).hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(null,arguments)}r(53320),r(41929),tJ||(tJ=1,(function(){if(tZ)return tG;tZ=1;var t=function(){if(tc)return th;tc=1;var t=Math.ceil,e=Math.max;return th=function(r,i,n,s){for(var o=-1,a=e(t((i-r)/(n||1)),0),l=Array(a);a--;)l[s?a:++o]=r,r+=n;return l}}(),e=function(){if(tL)return tF;tL=1;var t=K(),e=te(),r=tr(),i=J();return tF=function(n,s,o){if(!i(o))return!1;var a=typeof s;return("number"==a?!!(e(o)&&r(s,o.length)):"string"==a&&s in o)&&t(o[s],n)}}(),r=to();return tG=function(i){return function(n,s,o){return o&&"number"!=typeof o&&e(n,s,o)&&(s=o=void 0),n=r(n),void 0===s?(s=n,n=0):s=r(s),o=void 0===o?n<s?1:-1:r(o),t(n,s,o,i)}}})()());var tl={exports:{}},tu={};(function(){if(!t2){t2=1;var t=(t0||(t0=1,tl.exports=function(){if(tQ)return tu;tQ=1;var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,a=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,c=t?Symbol.for("react.suspense"):60113,d=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,f=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,y=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var d=t.$$typeof;switch(d){case e:switch(t=t.type){case l:case u:case i:case s:case n:case c:return t;default:switch(t=t&&t.$$typeof){case a:case h:case f:case p:case o:return t;default:return d}}case r:return d}}}function x(t){return b(t)===u}return tu.AsyncMode=l,tu.ConcurrentMode=u,tu.ContextConsumer=a,tu.ContextProvider=o,tu.Element=e,tu.ForwardRef=h,tu.Fragment=i,tu.Lazy=f,tu.Memo=p,tu.Portal=r,tu.Profiler=s,tu.StrictMode=n,tu.Suspense=c,tu.isAsyncMode=function(t){return x(t)||b(t)===l},tu.isConcurrentMode=x,tu.isContextConsumer=function(t){return b(t)===a},tu.isContextProvider=function(t){return b(t)===o},tu.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},tu.isForwardRef=function(t){return b(t)===h},tu.isFragment=function(t){return b(t)===i},tu.isLazy=function(t){return b(t)===f},tu.isMemo=function(t){return b(t)===p},tu.isPortal=function(t){return b(t)===r},tu.isProfiler=function(t){return b(t)===s},tu.isStrictMode=function(t){return b(t)===n},tu.isSuspense=function(t){return b(t)===c},tu.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===u||t===s||t===n||t===c||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===o||t.$$typeof===a||t.$$typeof===h||t.$$typeof===y||t.$$typeof===v||t.$$typeof===g||t.$$typeof===m)},tu.typeOf=b,tu}()),tl.exports),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0}
1,r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n={};n[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n[t.Memo]=i;var s=Object.defineProperty,o=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,h=Object.prototype;t1=function t(e,i,n){if("string"!=typeof i){if(h){var d=u(i);d&&d!==h&&t(e,d,n)}var p=o(i);a&&(p=p.concat(a(i)));for(var f=c(e),m=c(i),y=0;y<p.length;++y){var v=p[y];if(!r[v]&&!(n&&n[v])&&!(m&&m[v])&&!(f&&f[v])){var g=l(i,v);try{s(e,v,g)}catch{}}}}return e}}function c(r){return t.isMemo(r)?i:n[r.$$typeof]||e}})();var th,tc,td,tp,tf,tm,ty,tv,tg,tb,tx,tw,tS,tP,tT,tk,tA,tj,tR,tC,tE,tD,tM,tV,tO,t_,tF,tL,tB,t$,tI,tU,tz,tN,tW,tY,tq,tK,tX,tH,tG,tZ,tJ,tQ,t0,t1,t2,t5,t3={};t5||(t5=1,Object.defineProperty(t3,"__esModule",{value:!0}),t3.default=function(t){return t.displayName||t.name||("string"==typeof t&&t.length>0?t:"Unknown")}),(0,Y.createContext)(),Y.Component;var t9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t6=(typeof window>"u"?"undefined":t9(window))==="object"&&(typeof document>"u"?"undefined":t9(document))==="object"&&9===document.nodeType;function t4(t){return(t4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t8(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=t4(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e);if("object"!=t4(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==t4(e)?e:e+""}(i.key),i)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function t7(t,e){return(t7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function et(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t7(t,e)}function ee(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var er={}.constructor;function ei(t,e,r){void 0===t&&(t="unnamed");var i=r.jss,n=function t(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(t);if(e.constructor!==er)return e;var r={};for(var i in e)r[i]=t(e[i]);return r}(e);return i.plugins.onCreateRule(t,n,r)||(t[0],null)}var en=function(t,e){for(var r="",i=0;i<t.length&&"!important"!==t[i];i++)r&&(r+=e),r+=t[i];return r},es=function(t){if(!Array.isArray(t))return t;var e="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&"!important"!==t[r];r++)e&&(e+=", "),e+=en(t[r]," ");else e=en(t,", ");return"!important"===t[t.length-1]&&(e+=" !important"),e};function eo(t){return t&&!1===t.format?{linebreak:"",space:""}:{linebreak:` 2`,space:" "}}function ea(t,e){for(var r="",i=0;i<e;i++)r+=" ";return r+t}function el(t,e,r){void 0===r&&(r={});var i="";if(!e)return i;var n=r.indent,s=void 0===n?0:n,o=e.fallbacks;!1===r.format&&(s=-1/0);var a=eo(r),l=a.linebreak,u=a.space;if(t&&s++,o){if(Array.isArray(o))for(var h=0;h<o.length;h++){var c=o[h];for(var d in c){var p=c[d];null!=p&&(i&&(i+=l),i+=ea(d+":"+u+es(p)+";",s))}}else for(var f in o){var m=o[f];null!=m&&(i&&(i+=l),i+=ea(f+":"+u+es(m)+";",s))}}for(var y in e){var v=e[y];null!=v&&"fallbacks"!==y&&(i&&(i+=l),i+=ea(y+":"+u+es(v)+";",s))}return(i||r.allowEmpty)&&t?(s--,i&&(i=""+l+i+l),ea(""+t+u+"{"+i,s)+ea("}",s)):i}var eu=/([[\].#*$><+~=|^:(),"'`\s])/g,eh="u">typeof CSS&&CSS.escape,ec=function(t){return eh?eh(t):t.replace(eu,"\\$1")},ed=function(){function t(t,e,r){this.type="style",this.isProcessed=!1;var i=r.sheet,n=r.Renderer;this.key=t,this.options=r,this.style=e,i?this.renderer=i.renderer:n&&(this.renderer=new n)}return t.prototype.prop=function(t,e,r){if(void 0===e)return this.style[t];var i=!!r&&r.force;if(!i&&this.style[t]===e)return this;var n=e;r&&!1===r.process||(n=this.options.jss.plugins.onChangeValue(e,t,this));var s=null==n||!1===n,o=t in this.style;if(s&&!o&&!i)return this;var a=s&&o;if(a?delete this.style[t]:this.style[t]=n,this.renderable&&this.renderer)return a?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,n),this;var l=this.options.sheet;return l&&l.attached,this},t}(),ep=function(t){function e(e,r,i){n=t.call(this,e,r,i)||this;var n,s=i.selector,o=i.scoped,a=i.sheet,l=i.generateId;return s?n.selectorText=s:!1!==o&&(n.id=l(ee(ee(n)),a),n.selectorText="."+ec(n.id)),n}et(e,t);var r=e.prototype;return r.applyTo=function(t){var e=this.renderer;if(e){var r=this.toJSON();for(var i in r)e.setProperty(t,i,r[i])}return this},r.toJSON=function(){var t={};for(var e in this.style){var r=this.style[e];"object"!=typeof r?t[e]=r:Array.isArray(r)&&(t[e]=es(r))}return t},r.toString=function(t){var e=this.options.sheet,r=e&&e.options.link?ta({},t,{allowEmpty:!0}):t;return el(this.selectorText,this.style,r)},t8(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,r=this.renderable;!(!r||!e)&&(e.setSelector(r,t)||e.replaceRule(r,this))}},get:function(){return this.selectorText}}]),e}(ed),ef={indent:1,children:!0},em=/@([\w-]+)/,ey=function(){function t(t,e,r){this.type="conditional",this.isProcessed=!1,this.key=t;var i=t.match(em);for(var n in this.at=i?i[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new eO(ta({},r,{parent:this})),e)this.rules.add(n,e[n]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,r){var i=this.rules.add(t,e,r);return i?(this.options.jss.plugins.onProcessRule(i),i):null},e.replaceRule=function(t,e,r){var i=this.rules.replace(t,e,r);return i&&this.options.jss.plugins.onProcessRule(i),i},e.toString=function(t){void 0===t&&(t=ef);var e=eo(t).linebreak;if(null==t.indent&&(t.indent=ef.indent),null==t.children&&(t.children=ef.children),!1===t.children)return this.query+" {}";var r=this.rules.toString(t);return r?this.query+" {"+e+r+e+"}":""},t}(),ev=/@container|@media|@supports\s+/,eg={indent:1,children:!0},eb=/@keyframes\s+([\w-]+)/,ex=function(){function t(t,e,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=t.match(eb);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var n=r.scoped,s=r.sheet,o=r.generateId;for(var a in this.id=!1===n?this.name:ec(o(this,s)),this.rules=new eO(ta({},r,{parent:this})),e)this.rules.add(a,e[a],ta({},r,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=eg);var e=eo(t).linebreak;if(null==t.indent&&(t.indent=eg.indent),null==t.children&&(t.children=eg.children),!1===t.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(t);return r&&(r=""+e+r+e),this.at+" "+this.id+" {"+r+"}"},t}(),ew=/@keyframes\s+/,eS=/\$([\w-]+)/g,eP=function(t,e){return"string"==typeof t?t.replace(eS,function(t,r){return r in e?e[r]:t}):t},eT=function(t,e,r){var i=t[e],n=eP(i,r);n!==i&&(t[e]=n)},ek=function(t){function e(){return t.apply(this,arguments)||this}return et(e,t),e.prototype.toString=function(t){var e=this.options.sheet,r=e&&e.options.link?ta({},t,{allowEmpty:!0}):t;return el(this.key,this.style,r)},e}(ed),eA=function(){function t(t,e,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=r}return t.prototype.toString=function(t){var e=eo(t).linebreak;if(Array.isArray(this.style)){for(var r="",i=0;i<this.style.length;i++)r+=el(this.at,this.style[i]),this.style[i+1]&&(r+=e);return r}return el(this.at,this.style,t)},t}(),ej=/@font-face/,eR=function(){function t(t,e,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=t,this.style=e,this.options=r}return t.prototype.toString=function(t){return el(this.key,this.style,t)},t}(),eC=function(){function t(t,e,r){this.type="simple",this.isProcessed=!1,this.key=t,this.value=e,this.options=r}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",r=0;r<this.value.length;r++)e+=this.key+" "+this.value[r]+";",this.value[r+1]&&(e+=` 3`);return e}return this.key+" "+this.value+";"},t}(),eE={"@charset":!0,"@import":!0,"@namespace":!0},eD=[{onCreateRule:function(t,e,r){return"@"===t[0]||r.parent&&"keyframes"===r.parent.type?null:new ep(t,e,r)}},{onCreateRule:function(t,e,r){return ev.test(t)?new ey(t,e,r):null}},{onCreateRule:function(t,e,r){return"string"==typeof t&&ew.test(t)?new ex(t,e,r):null},onProcessStyle:function(t,e,r){return"style"!==e.type||!r||("animation-name"in t&&eT(t,"animation-name",r.keyframes),"animation"in t&&eT(t,"animation",r.keyframes)),t},onChangeValue:function(t,e,r){var i=r.options.sheet;if(!i)return t;switch(e){case"animation":case"animation-name":return eP(t,i.keyframes);default:return t}}},{onCreateRule:function(t,e,r){return r.parent&&"keyframes"===r.parent.type?new ek(t,e,r):null}},{onCreateRule:function(t,e,r){return ej.test(t)?new eA(t,e,r):null}}
3,{onCreateRule:function(t,e,r){return"@viewport"===t||"@-ms-viewport"===t?new eR(t,e,r):null}},{onCreateRule:function(t,e,r){return t in eE?new eC(t,e,r):null}}],eM={process:!0},eV={force:!0,process:!0},eO=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,r){var i=this.options,n=i.parent,s=i.sheet,o=i.jss,a=i.Renderer,l=i.generateId,u=i.scoped,h=ta({classes:this.classes,parent:n,sheet:s,jss:o,Renderer:a,generateId:l,scoped:u,name:t,keyframes:this.keyframes,selector:void 0},r),c=t;t in this.raw&&(c=t+"-d"+this.counter++),this.raw[c]=e,c in this.classes&&(h.selector="."+ec(this.classes[c]));var d=ei(c,e,h);if(!d)return null;this.register(d);var p=void 0===h.index?this.index.length:h.index;return this.index.splice(p,0,d),d},e.replace=function(t,e,r){var i=this.get(t),n=this.index.indexOf(i);i&&this.remove(i);var s=r;return -1!==n&&(s=ta({},r,{index:n})),this.add(t,e,s)},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof ep?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof ex&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof ep?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof ex&&delete this.keyframes[t.name]},e.update=function(){var t,e,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.get(t),e,r);else for(var i=0;i<this.index.length;i++)this.updateOne(this.index[i],e,r)},e.updateOne=function(e,r,i){void 0===i&&(i=eM);var n=this.options,s=n.jss.plugins,o=n.sheet;if(e.rules instanceof t){e.rules.update(r,i);return}var a=e.style;if(s.onUpdate(r,e,o,i),i.process&&a&&a!==e.style){for(var l in s.onProcessStyle(e.style,e,o),e.style){var u=e.style[l];u!==a[l]&&e.prop(l,u,eV)}for(var h in a){var c=e.style[h],d=a[h];null==c&&c!==d&&e.prop(h,null,eV)}}},e.toString=function(t){for(var e="",r=this.options.sheet,i=!!r&&r.options.link,n=eo(t),s=n.linebreak,o=0;o<this.index.length;o++){var a=this.index[o].toString(t);(a||i)&&(e&&(e+=s),e+=a)}return e},t}(),e_=function(){function t(t,e){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=ta({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new eO(this.options),t)this.rules.add(r,t[r]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached&&(this.renderer&&this.renderer.detach(),this.attached=!1),this},e.addRule=function(t,e,r){var i=this.queue;this.attached&&!i&&(this.queue=[]);var n=this.rules.add(t,e,r);return n?(this.options.jss.plugins.onProcessRule(n),this.attached?this.deployed&&(i?i.push(n):(this.insertRule(n),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))):this.deployed=!1,n):null},e.replaceRule=function(t,e,r){var i=this.rules.get(t);if(!i)return this.addRule(t,e,r);var n=this.rules.replace(t,e,r);return n&&this.options.jss.plugins.onProcessRule(n),this.attached?this.deployed&&this.renderer&&(n?i.renderable&&this.renderer.replaceRule(i.renderable,n):this.renderer.deleteRule(i)):this.deployed=!1,n},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var r=[];for(var i in t){var n=this.addRule(i,t[i],e);n&&r.push(n)}return r},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"==typeof t?t:this.rules.get(t);return!!e&&(!this.attached||!!e.renderable)&&(this.rules.remove(e),!this.attached||!e.renderable||!this.renderer||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,r){return this.rules.updateOne(t,e,r),this},e.toString=function(t){return this.rules.toString(t)},t}(),eF=function(){function t(){this.plugins={internal:[],external:[]},this.registry={}}var e=t.prototype;return e.onCreateRule=function(t,e,r){for(var i=0;i<this.registry.onCreateRule.length;i++){var n=this.registry.onCreateRule[i](t,e,r);
3if(n)return n}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,r){for(var i=0;i<this.registry.onProcessStyle.length;i++)e.style=this.registry.onProcessStyle[i](e.style,e,r)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,r,i){for(var n=0;n<this.registry.onUpdate.length;n++)this.registry.onUpdate[n](t,e,r,i)},e.onChangeValue=function(t,e,r){for(var i=t,n=0;n<this.registry.onChangeValue.length;n++)i=this.registry.onChangeValue[n](i,e,r);return i},e.use=function(t,e){void 0===e&&(e={queue:"external"});var r=this.plugins[e.queue];-1===r.indexOf(t)&&(r.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(t,e){for(var r in e)r in t&&t[r].push(e[r]);return t},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),eL=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,r=t.options.index;if(-1===e.indexOf(t)){if(0===e.length||r>=this.index){e.push(t);return}for(var i=0;i<e.length;i++)if(e[i].options.index>r){e.splice(i,0,t);return}}},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,r=e.attached,i=function(t,e){if(null==t)return{};var r={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(e.includes(i))continue;r[i]=t[i]}return r}(e,["attached"]),n=eo(i),s=n.linebreak,o="",a=0;a<this.registry.length;a++){var l=this.registry[a];null!=r&&l.attached!==r||(o&&(o+=s),o+=l.toString(i))}return o},t8(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),eB="u">typeof globalThis?globalThis:"u">typeof window&&window.Math===Math?window:"u">typeof self&&self.Math===Math?self:Function("return this")(),e$="2f1acc6c3a606b082e5eef5e54414ffb";null==eB[e$]&&(eB[e$]=0);var eI=eB[e$]++,eU=function(t){void 0===t&&(t={});var e=0;return function(r,i){e+=1;var n="",s="";return i&&(i.options.classNamePrefix&&(s=i.options.classNamePrefix),null!=i.options.jss.id&&(n=String(i.options.jss.id))),t.minify?""+(s||"c")+eI+n+e:s+r.key+"-"+eI+(n?"-"+n:"")+"-"+e}},ez=function(t){var e;return function(){return e||(e=t()),e}},eN=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch{return""}},eW=function(t,e,r){try{var i=r;if(Array.isArray(r)&&(i=es(r)),t.attributeStyleMap)t.attributeStyleMap.set(e,i);else{var n=i?i.indexOf("!important"):-1,s=n>-1?i.substr(0,n-1):i;t.style.setProperty(e,s,n>-1?"important":"")}}catch{return!1}return!0},eY=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(t){}},eq=function(t,e){return t.selectorText=e,t.selectorText===e},eK=ez(function(){return document.querySelector("head")}),eX=ez(function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null}),eH=function(t,e,r){try{"insertRule"in t?t.insertRule(e,r):"appendRule"in t&&t.appendRule(e)}catch(t){return!1}return t.cssRules[r]},eG=function(t,e){var r=t.cssRules.length;return void 0===e||e>r?r:e},eZ=function(){var t=document.createElement("style");return t.textContent=` 4`,t},eJ=function(){function t(t){this.getPropertyValue=eN,this.setProperty=eW,this.removeProperty=eY,this.setSelector=eq,this.hasInsertedRules=!1,this.cssRules=[],t&&eL.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},r=e.media,i=e.meta,n=e.element;this.element=n||eZ(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),i&&this.element.setAttribute("data-meta",i);var s=eX();s&&this.element.setAttribute("nonce",s)}var e=t.prototype;return e.attach=function(){if(!(this.element.parentNode||!this.sheet)){(function(t,e){var r=e.insertionPoint,i=function(t){var e=eL.registry;if(e.length>0){var r=function(t,e){for(var r=0;r<t.length;r++){var i=t[r];
4if(i.attached&&i.options.index>e.index&&i.options.insertionPoint===e.insertionPoint)return i}return null}(e,t);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if((r=function(t,e){for(var r=t.length-1;r>=0;r--){var i=t[r];if(i.attached&&i.options.insertionPoint===e.insertionPoint)return i}return null}(e,t))&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var i=t.insertionPoint;if(i&&"string"==typeof i){var n=function(t){for(var e=eK(),r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];if(8===i.nodeType&&i.nodeValue.trim()===t)return i}return null}(i);if(n)return{parent:n.parentNode,node:n.nextSibling}}return!1}(e);if(!1!==i&&i.parent){i.parent.insertBefore(t,i.node);return}if(r&&"number"==typeof r.nodeType){var n=r.parentNode;n&&n.insertBefore(t,r.nextSibling);return}eK().appendChild(t)})(this.element,this.sheet.options);var t=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=` 5`)}},e.deploy=function(){var t=this.sheet;if(t){if(t.options.link){this.insertRules(t.rules);return}this.element.textContent=` 6`+t.toString()+` 7`}},e.insertRules=function(t,e){for(var r=0;r<t.index.length;r++)this.insertRule(t.index[r],r,e)},e.insertRule=function(t,e,r){if(void 0===r&&(r=this.element.sheet),t.rules){var i=r;if("conditional"===t.type||"keyframes"===t.type){var n=eG(r,e);if(!1===(i=eH(r,t.toString({children:!1}),n)))return!1;this.refCssRule(t,n,i)}return this.insertRules(t.rules,i),i}var s=t.toString();if(!s)return!1;var o=eG(r,e),a=eH(r,s,o);return!1!==a&&(this.hasInsertedRules=!0,this.refCssRule(t,o,a),a)},e.refCssRule=function(t,e,r){t.renderable=r,t.options.parent instanceof e_&&this.cssRules.splice(e,0,r)},e.deleteRule=function(t){var e=this.element.sheet,r=this.indexOf(t);return -1!==r&&(e.deleteRule(r),this.cssRules.splice(r,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var r=this.indexOf(t);return -1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(e,r))},e.getRules=function(){return this.element.sheet.cssRules},t}(),eQ=0,e0=function(){function t(t){this.id=eQ++,this.version="10.10.0",this.plugins=new eF,this.options={id:{minify:!1},createGenerateId:eU,Renderer:t6?eJ:null,plugins:[]},this.generateId=eU({minify:!1});for(var e=0;e<eD.length;e++)this.plugins.use(eD[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=ta({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var r=e.index;"number"!=typeof r&&(r=0===eL.index?0:eL.index+1);var i=new e_(t,ta({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(i),i},e.removeStyleSheet=function(t){return t.detach(),eL.remove(t),this},e.createRule=function(t,e,r){if(void 0===e&&(e={}),void 0===r&&(r={}),"object"==typeof t)return this.createRule(void 0,t,e);var i=ta({},r,{name:t,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var n=ei(t,e,i);return n&&this.plugins.onProcessRule(n),n},e.use=function(){for(var t=this,e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return r.forEach(function(e){t.plugins.use(e)}),this},t}(),e1=function(t){return new e0(t)},e2="object"==typeof CSS&&null!=CSS&&"number"in CSS;e1();var e5=Date.now(),e3="fnValues"+e5,e9="fnStyle"+ ++e5;"u">typeof self?rq=self:"u">typeof window?rq=window:"u">typeof global?rq=global:"u">typeof module?rq=module:rq=Function("return this")();var e6=("function"==typeof(rY=rq.Symbol)?rY.observable?rW=rY.observable:(rW=rY
7("observable"),rY.observable=rW):rW="@@observable",rW),e4=function(t){return t&&t[e6]&&t===t[e6]()},e8=/;\n/,e7=function(t){for(var e={},r=t.split(e8),i=0;i<r.length;i++){var n=(r[i]||"").trim();if(n){var s=n.indexOf(":");if(-1===s)continue;var o=n.substr(0,s).trim(),a=n.substr(s+1).trim();e[o]=a}}return e},rt="@global",re="@global ",rr=function(){function t(t,e,r){for(var i in this.type="global",this.at=rt,this.isProcessed=!1,this.key=t,this.options=r,this.rules=new eO(ta({},r,{parent:this})),e)this.rules.add(i,e[i]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,r){var i=this.rules.add(t,e,r);return i&&this.options.jss.plugins.onProcessRule(i),i},e.replaceRule=function(t,e,r){var i=this.rules.replace(t,e,r);return i&&this.options.jss.plugins.onProcessRule(i),i},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(t){return this.rules.toString(t)},t}(),ri=function(){function t(t,e,r){this.type="global",this.at=rt,this.isProcessed=!1,this.key=t,this.options=r;var i=t.substr(re.length);this.rule=r.jss.createRule(i,e,ta({},r,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),rn=/\s*,\s*/g;function rs(t,e){for(var r=t.split(rn),i="",n=0;n<r.length;n++)i+=e+" "+r[n].trim(),r[n+1]&&(i+=", ");return i}var ro=function(t){return t&&"object"==typeof t&&!Array.isArray(t)},ra="extendCurrValue"+Date.now(),rl=/\s*,\s*/g,ru=/&/g,rh=/\$([\w-]+)/g,rc=/[A-Z]/g,rd=/^ms-/,rp={};function rf(t){return"-"+t.toLowerCase()}function rm(t){if(rp.hasOwnProperty(t))return rp[t];var e=t.replace(rc,rf);return rp[t]=rd.test(e)?"-"+e:e}function ry(t){var e={};for(var r in t)e[0===r.indexOf("--")?r:rm(r)]=t[r];return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(ry):e.fallbacks=ry(t.fallbacks)),e}var rv=e2&&CSS?CSS.px:"px",rg=e2&&CSS?CSS.ms:"ms",rb=e2&&CSS?CSS.percent:"%";function rx(t){var e=/(-[a-z])/g,r=function(t){return t[1].toUpperCase()},i={};for(var n in t)i[n]=t[n],i[n.replace(e,r)]=t[n];return i}var rw=rx({"animation-delay":rg,"animation-duration":rg,"background-position":rv,"background-position-x":rv,"background-position-y":rv,"background-size":rv,border:rv,"border-bottom":rv,"border-bottom-left-radius":rv,"border-bottom-right-radius":rv,"border-bottom-width":rv,"border-left":rv,"border-left-width":rv,"border-radius":rv,"border-right":rv,"border-right-width":rv,"border-top":rv,"border-top-left-radius":rv,"border-top-right-radius":rv,"border-top-width":rv,"border-width":rv,"border-block":rv,"border-block-end":rv,"border-block-end-width":rv,"border-block-start":rv,"border-block-start-width":rv,"border-block-width":rv,"border-inline":rv,"border-inline-end":rv,"border-inline-end-width":rv,"border-inline-start":rv,"border-inline-start-width":rv,"border-inline-width":rv,"border-start-start-radius":rv,"border-start-end-radius":rv,"border-end-start-radius":rv,"border-end-end-radius":rv,margin:rv,"margin-bottom":rv,"margin-left":rv,"margin-right":rv,"margin-top":rv,"margin-block":rv,"margin-block-end":rv,"margin-block-start":rv,"margin-inline":rv,"margin-inline-end":rv,"margin-inline-start":rv,padding:rv,"padding-bottom":rv,"padding-left":rv,"padding-right":rv,"padding-top":rv,"padding-block":rv,"padding-block-end":rv,"padding-block-start":rv,"padding-inline":rv,"padding-inline-end":rv,"padding-inline-start":rv,"mask-position-x":rv,"mask-position-y":rv,"mask-size":rv,height:rv,width:rv,"min-height":rv,"max-height":rv,"min-width":rv,"max-width":rv,bottom:rv,left:rv,top:rv,right:rv,inset:rv,"inset-block":rv,"inset-block-end":rv,"inset-block-start":rv,"inset-inline":rv,"inset-inline-end":rv,"inset-inline-start":rv,"box-shadow":rv,"text-shadow":rv,"column-gap":rv,"column-rule":rv,"column-rule-width":rv,"column-width":rv,"font-size":rv,"font-size-delta":rv,"letter-spacing":rv,"text-decoration-thickness":rv,"text-indent":rv,"text-stroke":rv,"text-stroke-width":rv,"word-spacing":rv,motion:rv,"motion-offset":rv,outline:rv,"outline-offset":rv,"outline-width":rv,perspective:rv,"perspective-origin-x":rb,"perspective-origin-y":rb,"transform-origin":rb,"transform-origin-x":rb,"transform-origin-y":rb,"transform-origin-z":rb,"transition-delay":rg,"transition-duration":rg,"vertical-align":rv,"flex-basis":rv,"shape-margin":rv,size:rv,gap:rv,grid:rv,"grid-gap":rv,"row-gap":rv,"grid-row-gap":rv,"grid-column-gap":rv,"grid-template-rows":rv,"grid-template-columns":rv,"grid-auto-rows":rv,"grid-auto-columns":rv,"box-shadow-x":rv,"box-shadow-y":rv,"box-shadow-blur":rv,"box-shadow-spread":rv,"font-line-height":rv,"text-shadow-x":rv,"text-shadow-y":rv,"text-shadow-blur":rv});function rS(t,e,r){if(null==e)return e;if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]=rS(t,e[i],r);else if("object"==typeof e){if("fallbacks"===t)for(var n in e)e[n]=rS(n,e[n],r);else for(var s in e)e[s]=rS(t+"-"+s,e[s],r)}else if("number"==typeof e&&!1===isNaN(e)){var o=r[t]||rw[t];return o&&!(0===e&&o===rv)?"function"==typeof o?o(e).toString():""+e+o:e.toString()}return e}var rP={"background-size":!0,"background-position":!0,border:!0,"border-bottom":!0,"border-left":!0,"border-top":!0,"border-right":!0,"border-radius":!0,"border-image":!0,"border-width":!0,"border-style":!0,"border-color":!0,"box-shadow":!0,flex:!0,margin:!0,padding:!0,outline:!0,"transform-origin":!0,transform:!0,transition:!0},rT={position:!0,size:!0},rk={padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},background:{attachment:null,color:null,image:null,position:null,repeat:null},border:{width:null,style:null,color:null},"border-top":{width:null,style:null,color:null},"border-right":{width:null,style:null,color:null},"border-bottom":{width:null,style:null,color:null},"border-left":{width:null,style:null,color:null},outline:{width:null,style:null,color:null},"list-style":{type:null,position:null,image:null},transition:{property:null,duration:null,"timing-function":null,timingFunction:null,delay:null},animation:{name:null,duration:null,"timing-function":null,timingFunction:null,delay:null,"iteration-count":null,iterationCount:null,direction:null,"fill-mode":null,fillMode:null,"play-state":null,playState:null},"box-shadow":{x:0,y:0,blur:0,spread:0,color:null,inset:null},"text-shadow":{x:0,y:0,blur:null,color:null}},rA={border:{radius:"border-radius",image:"border-image",width:"border-width",style:"border-style",color:"border-color"},"border-bottom":{width:"border-bottom-width",style:"border-bottom-style",color:"border-bottom-color"},"border-top":{width:"border-top-width",style:"border-top-style",color:"border-top-color"},"border-left":{width:"border-left-width",style:"border-left-style",color:"border-left-color"},"border-right":{width:"border-right-width",style:"border-right-style",color:"border-right-color"},background:{size:"background-size",image:"background-image"},font:{style:"font-style",variant:"font-variant",weight:"font-weight",stretch:"font-stretch",size:"font-size",family:"font-family",lineHeight:"line-height","line-height":"line-height"},flex:{grow:"flex-grow",basis:"flex-basis",direction:"flex-direction",wrap:"flex-wrap",flow:"flex-flow",shrink:"flex-shrink"},align:{self:"align-self",items:"align-items",content:"align-content"},grid:{"template-columns":"grid-template-columns",templateColumns:"grid-template-columns","template-rows":"grid-template-rows",templateRows:"grid-template-rows","template-areas":"grid-template-areas",templateAreas:"grid-template-areas",template:"grid-template","auto-columns":"grid-auto-columns",autoColumns:"grid-auto-columns","auto-rows":"grid-auto-rows",autoRows:"grid-auto-rows","auto-flow":"grid-auto-flow",autoFlow:"grid-auto-flow",row:"grid-row",column:"grid-column","row-start":"grid-row-start",rowStart:"grid-row-start","row-end":"grid-row-end",rowEnd:"grid-row-end","column-start":"grid-column-start",columnStart:"grid-column-start","column-end":"grid-column-end",columnEnd:"grid-column-end",area:"grid-area",gap:"grid-gap","row-gap":"grid-row-gap",rowGap:"grid-row-gap","column-gap":"grid-column-gap",columnGap:"grid-column-gap"}};function rj(t,e,r,i,n){if(!(rk[e]||rA[e]))return[];var s=[];if(rA[e]&&(t=function(t,e,r,i){for(var n in r){var s=r[n];if("u">typeof t[n]&&(i||!e.prop(s))){var o,a=rR(((o={})[s]=t[n],o),e)[s];i?e.style.fallbacks[s]=a:e.style[s]=a}delete t[n]}return t}(t,r,rA[e],i)),Object.keys(t).length)for(var o in rk[e]){if(t[o]){Array.isArray(t[o])?s.push(null===rT[o]?t[o]:t[o].join(" ")):s.push(t[o]);continue}null!=rk[e][o]&&s.push(rk[e][o])}return!s.length||n?s:[s]}function rR(t,e,r){for(var i in t){var n=t[i];if(Array.isArray(n)){if(!Array.isArray(n[0])){if("fallbacks"===i){for(var s=0;s<t.fallbacks.length;s++)t.fallbacks[s]=rR(t.fallbacks[s],e,!0);continue}t[i]=function t(e,r,i,n){return null==i[r]?e:0===e.length?[]:Array.isArray(e[0])?t(e[0],r,i,n):"object"==typeof e[0]?e.map(function(t){return rj(t,r,n,!1,!0)}):[e]}(n,i,rP,e),t[i].length||delete t[i]}}else if("object"==typeof n){if("fallbacks"===i){t.fallbacks=rR(t.fallbacks,e,!0);continue}t[i]=rj(n,i,e,r),t[i].length||delete t[i]}else""===t[i]&&delete t[i]}return t}function rC(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i}var rE="",rD="",rM="",rV="",rO=t6&&"ontouchstart"in document.documentElement;if(t6){var r_={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},rF=document.createElement("p").style;
7for(var rL in r_)if(rL+"Transform" in rF){rE=rL,rD=r_[rL];break}"Webkit"===rE&&"msHyphens"in rF&&(rE="ms",rD=r_.ms,rV="edge"),"Webkit"===rE&&"-apple-trailing-word"in rF&&(rM="apple")}var rB={js:rE,css:rD,vendor:rM,browser:rV,isTouch:rO},r$=/[-\s]+(.)?/g;function rI(t,e){return e?e.toUpperCase():""}function rU(t){return t.replace(r$,rI)}function rz(t){return rU("-"+t)}var rN,rW,rY,rq,rK,rX={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},rH={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},rG=Object.keys(rH),rZ=function(t){return rB.css+t},rJ=[{noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===rB.js?"-webkit-"+t:rB.css+t)}},{noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===rB.js?rB.css+"print-"+t:t)}},{noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===rB.js){var r="mask-image";if(rU(r) in e)return t;if(rB.js+rz(r) in e)return rB.css+t}return t}},{noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==rB.vendor||rB.isTouch?t:rB.css+t)}},{noPrefill:["transform"],supportedProperty:function(t,e,r){return"transform"===t&&(r.transform?t:rB.css+t)}},{noPrefill:["transition"],supportedProperty:function(t,e,r){return"transition"===t&&(r.transition?t:rB.css+t)}},{noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===rB.js||"ms"===rB.js&&"edge"!==rB.browser?rB.css+t:t)}},{noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===rB.js||"ms"===rB.js||"apple"===rB.vendor?rB.css+t:t)}},{supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===rB.js?"WebkitColumn"+rz(t) in e&&rB.css+"column-"+t:"Moz"===rB.js&&"page"+rz(t) in e&&"page-"+t)}},{supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===rB.js)return t;var r=t.replace("-inline","");return rB.js+rz(r) in e&&rB.css+r}},{supportedProperty:function(t,e){return rU(t) in e&&t}},{supportedProperty:function(t,e){var r=rz(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:rB.js+r in e?rB.css+t:"Webkit"!==rB.js&&"Webkit"+r in e&&"-webkit-"+t}},{supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===rB.js?""+rB.css+t:t)}},{supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===rB.js?rB.css+"scroll-chaining":t)}},{supportedProperty:function(t,e){var r=rX[t];return!!(r&&rB.js+rz(r) in e)&&rB.css+r}},{supportedProperty:function(t,e,r){var i=r.multiple;if(rG.indexOf(t)>-1){var n=rH[t];if(!Array.isArray(n))return rB.js+rz(n) in e&&rB.css+n;if(!i)return!1;for(var s=0;s<n.length;s++)if(!(rB.js+rz(n[0]) in e))return!1;return n.map(rZ)}return!1}}],rQ=rJ.filter(function(t){return t.supportedProperty}).map(function(t){return t.supportedProperty}),r0=rJ.filter(function(t){return t.noPrefill}).reduce(function(t,e){var r;return t.push.apply(t,function(t){if(Array.isArray(t))return rC(t)}(r=e.noPrefill)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||function(t,e){if(t){if("string"==typeof t)return rC(t,void 0);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rC(t,void 0):void 0}}(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance. 8In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()),t},[]),r1={};if(t6){rK=document.createElement("p");var r2=window.getComputedStyle(document.documentElement,"");for(var r5 in r2)isNaN(r5)||(r1[r2[r5]]=r2[r5]);r0.forEach(function(t){return delete r1[t]})}function r3(t,e){if(void 0===e&&(e={}),!rK)return t;if(null!=r1[t])return r1[t];("transition"===t||"transform"===t)&&(e[t]=t in rK.style);for(var r=0;r<rQ.length&&(r1[t]=rQ[r](t,rK.style,e),!r1[t]);r++);try{rK.style[t]=""}catch{return!1}return r1[t]}var r9,r6={},r4={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1}
8,r8=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function r7(t,e,r){return"var"===e?"var":"all"===e?"all":"all"===r?", all":(e?r3(e):", "+r3(r))||e||r}function it(t,e){var r=e;if(!r9||"content"===t)return e;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var i=t+r;if(null!=r6[i])return r6[i];try{r9.style[t]=r}catch{return r6[i]=!1,!1}if(r4[t])r=r.replace(r8,r7);else if(""===r9.style[t]&&("-ms-flex"===(r=rB.css+r)&&(r9.style[t]="-ms-flexbox"),r9.style[t]=r,""===r9.style[t]))return r6[i]=!1,!1;return r9.style[t]="",r6[i]=r,r6[i]}function ie(){return iP?iS:(iP=1,iS=Array.isArray)}function ir(){if(iO)return iV;iO=1;var t=K();return iV=function(e,r){for(var i=e.length;i--;)if(t(e[i][0],r))return i;return -1}}function ii(){if(iW)return iN;iW=1;var t=iM?iD:(iM=1,iD=function(){this.__data__=[],this.size=0}),e=function(){if(iF)return i_;iF=1;var t=ir(),e=Array.prototype.splice;return i_=function(r){var i=this.__data__,n=t(i,r);return!(n<0)&&(n==i.length-1?i.pop():e.call(i,n,1),--this.size,!0)}}(),r=function(){if(iB)return iL;iB=1;var t=ir();return iL=function(e){var r=this.__data__,i=t(r,e);return i<0?void 0:r[i][1]}}(),i=function(){if(iI)return i$;iI=1;var t=ir();return i$=function(e){return t(this.__data__,e)>-1}}(),n=function(){if(iz)return iU;iz=1;var t=ir();return iU=function(e,r){var i=this.__data__,n=t(i,e);return n<0?(++this.size,i.push([e,r])):i[n][1]=r,this}}();function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}return s.prototype.clear=t,s.prototype.delete=e,s.prototype.get=r,s.prototype.has=i,s.prototype.set=n,iN=s}function is(){if(i3)return i5;i3=1;var t=Function.prototype.toString;return i5=function(e){if(null!=e){try{return t.call(e)}catch{}try{return e+""}catch{}}return""}}function io(){if(nt)return i7;nt=1;var t=function(){if(i6)return i9;i6=1;var t=Q(),e=function(){if(i2)return i1;i2=1;var t,e=i0?iQ:(i0=1,iQ=H()["__core-js_shared__"]),r=(t=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";return i1=function(t){return!!r&&r in t}}(),r=J(),i=is(),n=/^\[object .+?Constructor\]$/,s=Object.prototype,o=Function.prototype.toString,a=s.hasOwnProperty,l=RegExp("^"+o.call(a).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return i9=function(s){return!(!r(s)||e(s))&&(t(s)?l:n).test(i(s))}}(),e=i8?i4:(i8=1,i4=function(t,e){return null==t?void 0:t[e]});return i7=function(r,i){var n=e(r,i);return t(n)?n:void 0}}function ia(){return nr?ne:(nr=1,ne=io()(H(),"Map"))}function il(){return nn?ni:(nn=1,ni=io()(Object,"create"))}function iu(){if(nS)return nw;nS=1;var t=nx?nb:(nx=1,nb=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t});return nw=function(e,r){var i=e.__data__;return t(r)?i["string"==typeof r?"string":"hash"]:i.map}}function ih(){if(nM)return nD;nM=1;var t=function(){if(ng)return nv;ng=1;var t=function(){if(ny)return nm;ny=1;var t=function(){if(no)return ns;no=1;var t=il();return ns=function(){this.__data__=t?t(null):{},this.size=0}}(),e=nl?na:(nl=1,na=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}),r=function(){if(nh)return nu;nh=1;var t=il(),e=Object.prototype.hasOwnProperty;return nu=function(r){var i=this.__data__;if(t){var n=i[r];return"__lodash_hash_undefined__"===n?void 0:n}return e.call(i,r)?i[r]:void 0}}(),i=function(){if(nd)return nc;nd=1;var t=il(),e=Object.prototype.hasOwnProperty;return nc=function(r){var i=this.__data__;return t?void 0!==i[r]:e.call(i,r)}}(),n=function(){if(nf)return np;nf=1;var t=il();return np=function(e,r){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=t&&void 0===r?"__lodash_hash_undefined__":r,this}}();function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}return s.prototype.clear=t,s.prototype.delete=e,s.prototype.get=r,s.prototype.has=i,s.prototype.set=n,nm=s}(),e=ii(),r=ia();return nv=function(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}}(),e=function(){if(nT)return nP;nT=1;var t=iu();return nP=function(e){var r=t(this,e).delete(e);return this.size-=r?1:0,r}}(),r=function(){if(nA)return nk;nA=1;var t=iu();return nk=function(e){return t(this,e).get(e)}}(),i=function(){if(nR)return nj;nR=1;var t=iu();return nj=function(e){return t(this,e).has(e)}}(),n=function(){if(nE)return nC;nE=1;var t=iu();return nC=function(e,r){var i=t(this,e),n=i.size;return i.set(e,r),this.size+=i.size==n?0:1,this}}();function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}return s.prototype.clear=t,s.prototype.delete=e,s.prototype.get=r,s.prototype.has=i,s.prototype.set=n,nD=s}function ic(){if(nX)return nK;nX=1;var t=function(){if(nz)return nU;nz=1;var t=ih(),e=nB?nL:(nB=1,nL=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}),r=nI?n$:(nI=1,n$=function(t){return this.__data__.has(t)});function i(e){var r=-1,i=null==e?0:e.length;for(this.__data__=new t;++r<i;)this.add(e[r])}return i.prototype.add=i.prototype.push=e,i.prototype.has=r,nU=i}(),e=nW?nN:(nW=1,nN=function(t,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(t[r],r,t))return!0;return!1}),r=nq?nY:(nq=1,nY=function(t,e){return t.has(e)});return nK=function(i,n,s,o,a,l){var u=1&s,h=i.length,c=n.length;if(h!=c&&!(u&&c>h))return!1;var d=l.get(i),p=l.get(n);if(d&&p)return d==n&&p==i;var f=-1,m=!0,y=2&s?new t:void 0;for(l.set(i,n),l.set(n,i);++f<h;){var v=i[f],g=n[f];
8if(o)var b=u?o(g,v,f,n,i,l):o(v,g,f,i,n,l);if(void 0!==b){if(b)continue;m=!1;break}if(y){if(!e(n,function(t,e){if(!r(y,e)&&(v===t||a(v,t,s,o,l)))return y.push(e)})){m=!1;break}}else if(!(v===g||a(v,g,s,o,l))){m=!1;break}}return l.delete(i),l.delete(n),m}}t6&&(r9=document.createElement("p")),(0,Y.createContext)({classNamePrefix:"",disableStylesGeneration:!1,isSSR:!t6}),e1((void 0===id&&(id={}),{plugins:[{onCreateRule:function(t,e,r){if("function"!=typeof e)return null;var i=ei(t,{},r);return i[e9]=e,i},onProcessStyle:function(t,e){if(e3 in e||e9 in e)return t;var r={};for(var i in t){var n=t[i];"function"==typeof n&&(delete t[i],r[i]=n)}return e[e3]=r,t},onUpdate:function(t,e,r,i){var n=e[e9];n&&(e.style=n(t)||{});var s=e[e3];if(s)for(var o in s)e.prop(o,s[o](t),i)}},(ip=id.observable,{onCreateRule:function(t,e,r){if(!e4(e))return null;var i=ei(t,{},r);return e.subscribe(function(t){for(var e in t)i.prop(e,t[e],ip)}),i},onProcessRule:function(t){if(!(t&&"style"!==t.type)){var e=t.style,r=function(r){var i=e[r];if(!e4(i))return"continue";delete e[r],i.subscribe({next:function(e){t.prop(r,e,ip)}})};for(var i in e)r(i)}}}),{onProcessRule:function(t){"string"==typeof t.style&&(t.style=e7(t.style))}},{onCreateRule:function(t,e,r){if(!t)return null;if(t===rt)return new rr(t,e,r);if("@"===t[0]&&t.substr(0,re.length)===re)return new ri(t,e,r);var i=r.parent;return i&&("global"===i.type||i.options.parent&&"global"===i.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var r=t.options,i=t.style,n=i?i[rt]:null;if(n){for(var s in n)e.addRule(s,n[s],ta({},r,{selector:rs(s,t.selector)}));delete i[rt]}}(t,e),function(t,e){var r=t.options,i=t.style;for(var n in i)if(!("@"!==n[0]||n.substr(0,rt.length)!==rt)){var s=rs(n.substr(rt.length),t.selector);e.addRule(s,i[n],ta({},r,{selector:s})),delete i[n]}}(t,e))}},{onProcessStyle:function(t,e,r){return"extend"in t?function t(e,r,i,n){return void 0===n&&(n={}),function(e,r,i,n){if("string"==typeof e.extend){if(!i)return;var s=i.getRule(e.extend);if(!s||s===r)return;var o=s.options.parent;o&&t(o.rules.raw[e.extend],r,i,n);return}if(Array.isArray(e.extend)){for(var a=0;a<e.extend.length;a++){var l=e.extend[a];t("string"==typeof l?ta({},e,{extend:l}):e.extend[a],r,i,n)}return}for(var u in e.extend){if("extend"===u){t(e.extend.extend,r,i,n);continue}if(ro(e.extend[u])){u in n||(n[u]={}),t(e.extend[u],r,i,n[u]);continue}n[u]=e.extend[u]}}(e,r,i,n),function(e,r,i,n){for(var s in e)if("extend"!==s){if(ro(n[s])&&ro(e[s])){t(e[s],r,i,n[s]);continue}if(ro(e[s])){n[s]=t(e[s],r,i);continue}n[s]=e[s]}}(e,r,i,n),n}(t,e,r):t},onChangeValue:function(t,e,r){if("extend"!==e)return t;if(null==t||!1===t){for(var i in r[ra])r.prop(i,null);return r[ra]=null,null}if("object"==typeof t){for(var n in t)r.prop(n,t[n]);r[ra]=t}return null}},{onProcessStyle:function(t,e,r){if("style"!==e.type)return t;var i,n,s=e.options.parent;for(var o in t){var a=-1!==o.indexOf("&"),l="@"===o[0];if(!(!a&&!l)){if(i=function(t,e,r){if(r)return ta({},r,{index:r.index+1});var i=t.options.nestingLevel;i=void 0===i?1:i+1;var n=ta({},t.options,{nestingLevel:i,index:e.indexOf(t)+1});return delete n.name,n}(e,s,i),a){var u=function(t,e){for(var r=e.split(rl),i=t.split(rl),n="",s=0;s<r.length;s++)for(var o=r[s],a=0;a<i.length;a++){var l=i[a];n&&(n+=", "),n+=-1!==l.indexOf("&")?l.replace(ru,o):o+" "+l}return n}(o,e.selector);n||(n=function(t,e){return function(r,i){var n=t.getRule(i)||e&&e.getRule(i);return n?n.selector:i}}(s,r)),u=u.replace(rh,n);var h=e.key+"-"+o;"replaceRule"in s?s.replaceRule(h,t[o],ta({},i,{selector:u})):s.addRule(h,t[o],ta({},i,{selector:u}))}else l&&s.addRule(o,{},i).addRule(e.key,t[o],{selector:e.selector});delete t[o]}}return t}},{onProcessStyle:function(t,e){return"composes"in t&&(function t(e,r){if(!r)return!0;if(Array.isArray(r)){for(var i=0;i<r.length;i++)if(!t(e,r[i]))return!1;return!0}if(r.indexOf(" ")>-1)return t(e,r.split(" "));var n=e.options.parent;if("$"===r[0]){var s=n.getRule(r.substr(1));return!!s&&s!==e&&(n.classes[e.key]+=" "+n.classes[s.key],!0)}return n.classes[e.key]+=" "+r,!0}(e,t.composes),delete t.composes),t}},{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=ry(t[e]);return t}return ry(t)},onChangeValue:function(t,e,r){if(0===e.indexOf("--"))return t;var i=rm(e);return e===i?t:(r.prop(i,t),null)}}
8,(void 0===(im=id.defaultUnit)&&(im={}),iy=rx(im),{onProcessStyle:function(t,e){if("style"!==e.type)return t;for(var r in t)t[r]=rS(r,t[r],iy);return t},onChangeValue:function(t,e){return rS(e,t,iy)}}),{onProcessStyle:function(t,e){if(!t||"style"!==e.type)return t;if(Array.isArray(t)){for(var r=0;r<t.length;r++)t[r]=rR(t[r],e);return t}return rR(t,e)}},{onProcessRule:function(t){if("keyframes"===t.type){var e;t.at="-"===(e=t.at)[1]||"ms"===rB.js?e:"@"+rB.css+"keyframes"+e.substr(10)}},onProcessStyle:function(t,e){return"style"!==e.type?t:function t(e){for(var r in e){var i=e[r];if("fallbacks"===r&&Array.isArray(i)){e[r]=i.map(t);continue}var n=!1,s=r3(r);s&&s!==r&&(n=!0);var o=!1,a=it(s,es(i));a&&a!==i&&(o=!0),(n||o)&&(n&&delete e[r],e[s||r]=a||i)}return e}(t)},onChangeValue:function(t,e){return it(e,es(t))||t}},(iv=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length},{onProcessStyle:function(t,e){if("style"!==e.type)return t;for(var r={},i=Object.keys(t).sort(iv),n=0;n<i.length;n++)r[i[n]]=t[i[n]];return r}})]})),iE||(iE=1,(function(){if(iC)return iR;iC=1;var t=H(),e=function(){if(ib)return ig;ib=1;var t=to();return ig=function(e){var r=t(e),i=r%1;return r==r?i?r-i:r:0}}(),r=ts(),i=function(){if(ij)return iA;ij=1;var t=function(){if(ik)return iT;ik=1;var t=G(),e=iw?ix:(iw=1,ix=function(t,e){for(var r=-1,i=null==t?0:t.length,n=Array(i);++r<i;)n[r]=e(t[r],r,t);return n}),r=ie(),i=tn(),n=t?t.prototype:void 0,s=n?n.toString:void 0;return iT=function t(n){if("string"==typeof n)return n;if(r(n))return e(n,t)+"";if(i(n))return s?s.call(n):"";var o=n+"";return"0"==o&&1/n==-1/0?"-0":o}}();return iA=function(e){return null==e?"":t(e)}}(),n=t.isFinite,s=Math.min;return iR=function(t){var o=Math[t];return function(t,a){if(t=r(t),(a=null==a?0:s(e(a),292))&&n(t)){var l=(i(t)+"e").split("e");return+((l=(i(o(l[0]+"e"+(+l[1]+a)))+"e").split("e"))[0]+"e"+(+l[1]-a))}return o(t)}}})()("round"));var id,ip,im,iy,iv,ig,ib,ix,iw,iS,iP,iT,ik,iA,ij,iR,iC,iE,iD,iM,iV,iO,i_,iF,iL,iB,i$,iI,iU,iz,iN,iW,iY,iq,iK,iX,iH,iG,iZ,iJ,iQ,i0,i1,i2,i5,i3,i9,i6,i4,i8,i7,nt,ne,nr,ni,nn,ns,no,na,nl,nu,nh,nc,nd,np,nf,nm,ny,nv,ng,nb,nx,nw,nS,nP,nT,nk,nA,nj,nR,nC,nE,nD,nM,nV,nO,n_,nF,nL,nB,n$,nI,nU,nz,nN,nW,nY,nq,nK,nX,nH,nG,nZ,nJ,nQ,n0,n1,n2,n5,n3,n9,n6,n4,n8,n7,st,se,sr,si,sn,ss,so,sa,sl,su,sh,sc={exports:{}};function sd(){var t,e,r,i,n,o,a;return s||(s=1,t=sc.exports,e=H(),r=sh?su:(sh=1,su=function(){return!1}),a=(o=(n=(i=t&&!t.nodeType&&t)&&sc&&!sc.nodeType&&sc)&&n.exports===i?e.Buffer:void 0)?o.isBuffer:void 0,sc.exports=a||r),sc.exports}sc.exports;var sp={exports:{}};function sf(){if(d)return c;d=1;var t,e,r,i,n,s,p=function(){if(a)return o;a=1;var t=Z(),e=tt(),r=ti(),i={};return i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,o=function(n){return r(n)&&e(n.length)&&!!i[t(n)]}}(),f=u?l:(u=1,l=function(t){return function(e){return t(e)}}),m=(h||(h=1,t=sp.exports,e=X(),n=(i=(r=t&&!t.nodeType&&t)&&sp&&!sp.nodeType&&sp)&&i.exports===r&&e.process,s=function(){try{return i&&i.require&&i.require("util").types||n&&n.binding&&n.binding("util")}catch{}}(),sp.exports=s),sp.exports),y=m&&m.isTypedArray;return c=y?f(y):p}sp.exports,N||(N=1,function(){if(!z){z=1;var t=function(){if(I)return $;I=1;var t=function(){if(nF)return n_;nF=1;var t=ii(),e=function(){if(iq)return iY;iq=1;var t=ii();return iY=function(){this.__data__=new t,this.size=0}}(),r=iX?iK:(iX=1,iK=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}),i=iG?iH:(iG=1,iH=function(t){return this.__data__.get(t)}),n=iJ?iZ:(iJ=1,iZ=function(t){return this.__data__.has(t)}),s=function(){if(nO)return nV;nO=1;var t=ii(),e=ia(),r=ih();return nV=function(i,n){var s=this.__data__;if(s instanceof t){var o=s.__data__;if(!e||o.length<199)return o.push([i,n]),this.size=++s.size,this;s=this.__data__=new r(o)}return s.set(i,n),this.size=s.size,this}}();function o(e){var r=this.__data__=new t(e);this.size=r.size}return o.prototype.clear=e,o.prototype.delete=r,o.prototype.get=i,o.prototype.has=n,o.prototype.set=s,n_=o}(),e=ic(),r=function(){if(n2)return n1;n2=1;var t=G(),e=nG?nH:(nG=1,nH=H().Uint8Array),r=K(),i=ic(),n=nJ?nZ:(nJ=1,nZ=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,i){r[++e]=[i,t]}),r}),s=n0?nQ:(n0=1,nQ=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}
8),o=t?t.prototype:void 0,a=o?o.valueOf:void 0;return n1=function(t,o,l,u,h,c,d){switch(l){case"[object DataView]":if(t.byteLength!=o.byteLength||t.byteOffset!=o.byteOffset)break;t=t.buffer,o=o.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=o.byteLength||!c(new e(t),new e(o)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+o);case"[object Error]":return t.name==o.name&&t.message==o.message;case"[object RegExp]":case"[object String]":return t==o+"";case"[object Map]":var p=n;case"[object Set]":var f=1&u;if(p||(p=s),t.size!=o.size&&!f)break;var m=d.get(t);if(m)return m==o;u|=2,d.set(t,o);var y=i(p(t),p(o),u,h,c,d);return d.delete(t),y;case"[object Symbol]":if(a)return a.call(t)==a.call(o)}return!1}}(),i=function(){if(R)return j;R=1;var t=function(){if(A)return k;A=1;var t=function(){if(n6)return n9;n6=1;var t=n3?n5:(n3=1,n5=function(t,e){for(var r=-1,i=e.length,n=t.length;++r<i;)t[n+r]=e[r];return t}),e=ie();return n9=function(r,i,n){var s=i(r);return e(r)?s:t(s,n(r))}}(),e=function(){if(sr)return se;sr=1;var t=n8?n4:(n8=1,n4=function(t,e){for(var r=-1,i=null==t?0:t.length,n=0,s=[];++r<i;){var o=t[r];e(o,r,t)&&(s[n++]=o)}return s}),e=st?n7:(st=1,n7=function(){return[]}),r=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols;return se=i?function(e){return null==e?[]:t(i(e=Object(e)),function(t){return r.call(e,t)})}:e}(),r=function(){if(T)return P;T=1;var t=function(){if(f)return p;f=1;var t=sn?si:(sn=1,si=function(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}),e=function(){if(sl)return sa;sl=1;var t=function(){if(so)return ss;so=1;var t=Z(),e=ti();return ss=function(r){return e(r)&&"[object Arguments]"==t(r)}}(),e=ti(),r=Object.prototype,i=r.hasOwnProperty,n=r.propertyIsEnumerable;return sa=t(function(){return arguments}())?t:function(t){return e(t)&&i.call(t,"callee")&&!n.call(t,"callee")}}(),r=ie(),i=sd(),n=tr(),s=sf(),o=Object.prototype.hasOwnProperty;return p=function(a,l){var u=r(a),h=!u&&e(a),c=!u&&!h&&i(a),d=!u&&!h&&!c&&s(a),p=u||h||c||d,f=p?t(a.length,String):[],m=f.length;for(var y in a)(l||o.call(a,y))&&!(p&&("length"==y||c&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||n(y,m)))&&f.push(y);return f}}(),e=function(){if(S)return w;S=1;var t=function(){if(y)return m;y=1;var t=Object.prototype;return m=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}}(),e=x?b:(x=1,b=(g?v:(g=1,v=function(t,e){return function(r){return t(e(r))}}))(Object.keys,Object)),r=Object.prototype.hasOwnProperty;return w=function(i){if(!t(i))return e(i);var n=[];for(var s in Object(i))r.call(i,s)&&"constructor"!=s&&n.push(s);return n}}(),r=te();return P=function(i){return r(i)?t(i):e(i)}}();return k=function(i){return t(i,r,e)}}(),e=Object.prototype.hasOwnProperty;return j=function(r,i,n,s,o,a){var l=1&n,u=t(r),h=u.length;if(h!=t(i).length&&!l)return!1;for(var c=h;c--;){var d=u[c];if(!(l?d in i:e.call(i,d)))return!1}var p=a.get(r),f=a.get(i);if(p&&f)return p==i&&f==r;var m=!0;a.set(r,i),a.set(i,r);for(var y=l;++c<h;){var v=r[d=u[c]],g=i[d];if(s)var b=l?s(g,v,d,i,r,a):s(v,g,d,r,i,a);if(!(void 0===b?v===g||o(v,g,n,s,a):b)){m=!1;break}y||(y="constructor"==d)}if(m&&!y){var x=r.constructor,w=i.constructor;x!=w&&"constructor"in r&&"constructor"in i&&!("function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w)&&(m=!1)}return a.delete(r),a.delete(i),m}}(),n=function(){if(B)return L;B=1;var t=E?C:(E=1,C=io()(H(),"DataView")),e=ia(),r=M?D:(M=1,D=io()(H(),"Promise")),i=O?V:(O=1,V=io()(H(),"Set")),n=F?_:(F=1,_=io()(H(),"WeakMap")),s=Z(),o=is(),a="[object Map]",l="[object Promise]",u="[object Set]",h="[object WeakMap]",c="[object DataView]",d=o(t),p=o(e),f=o(r),m=o(i),y=o(n),v=s;return(t&&v(new t(new ArrayBuffer(1)))!=c||e&&v(new e)!=a||r&&v(r.resolve())!=l||i&&v(new i)!=u||n&&v(new n)!=h)&&(v=function(t){var e=s(t),r="[object Object]"==e?t.constructor:void 0,i=r?o(r):"";if(i)switch(i){case d:return c;case p:return a;case f:return l;case m:return u;case y:return h}return e}),L=v}(),s=ie(),o=sd(),a=sf(),l="[object Arguments]",u="[object Array]",h="[object Object]",c=Object.prototype.hasOwnProperty;return $=function(d,p,f,m,y,v){var g=s(d),b=s(p),x=g?u:n(d),w=b?u:n(p);x=x==l?h:x,w=w==l?h:w;var S=x==h,P=w==h,T=x==w;if(T&&o(d)){if(!o(p))return!1;g=!0,S=!1}if(T&&!S)return v||(v=new t),g||a(d)?e(d,p,f,m,y,v):r(d,p,x,f,m,y,v);if(!(1&f)){var k=S&&c.call(d,"__wrapped__"),A=P&&c.call(p,"__wrapped__");
8if(k||A){var j=k?d.value():d,R=A?p.value():p;return v||(v=new t),y(j,R,f,m,v)}}return!!T&&(v||(v=new t),i(d,p,f,m,y,v))}}(),e=ti();U=function r(i,n,s,o,a){return i===n||(null!=i&&null!=n&&(e(i)||e(n))?t(i,n,s,o,r,a):i!=i&&n!=n)}}}());var sm=function(){return(sm=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};[[1,1,0],[1,0,1],[0,1,1],[1,0,0],[0,1,0],[0,0,1]].reduce(function(t,e,r){var i;return sm(sm({},t),((i={})["@keyframes rotation-".concat(r)]={"50%":{transform:"rotate3d(".concat(e.map(function(t){return t/2}).join(),", 180deg)")},"100%":{transform:"rotate3d(".concat(e.join(),", 360deg)")}},i))},{});let sy=(0,Y.createContext)({}),sv=(0,Y.createContext)(null),sg=((0,Y.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),"u">typeof window),sb=(sg?Y.useLayoutEffect:Y.useEffect,t=>t);function sx(t){let e;return()=>(void 0===e&&(e=t()),e)}let sw=(t,e,r)=>{let i=e-t;return 0===i?1:(r-t)/i},sS=t=>1e3*t,sP=t=>t/1e3,sT={useManualTiming:!1},sk=["read","resolveKeyframes","update","preRender","render","postRender"];function sA(t,e){let r=!1,i=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,o=sk.reduce((t,e)=>(t[e]=function(t){let e=new Set,r=new Set,i=!1,n=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,n=!1,o=!1)=>{let a=o&&i?e:r;return n&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),s.delete(t)},process:t=>{if(o=t,i){n=!0;return}i=!0,[e,r]=[r,e],e.forEach(a),e.clear(),i=!1,n&&(n=!1,l.process(t))}};return l}(s),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:c,postRender:d}=o,p=()=>{let s=performance.now();r=!1,n.delta=i?1e3/60:Math.max(Math.min(s-n.timestamp,40),1),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),h.process(n),c.process(n),d.process(n),n.isProcessing=!1,r&&e&&(i=!1,t(p))},f=()=>{r=!0,i=!0,n.isProcessing||t(p)};return{schedule:sk.reduce((t,e)=>{let i=o[e];return t[e]=(t,e=!1,n=!1)=>(r||f(),i.schedule(t,e,n)),t},{}),cancel:t=>{for(let e=0;e<sk.length;e++)o[sk[e]].cancel(t)},state:n,steps:o}}let{schedule:sj,cancel:sR,state:sC,steps:sE}=sA("u">typeof requestAnimationFrame?requestAnimationFrame:sb,!0),sD=((0,Y.createContext)({strict:!1}),{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"]}),sM={};for(let t in sD)sM[t]={isEnabled:e=>sD[t].some(t=>!!e[t])};let sV=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 sO(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||sV.has(t)}try{(n=require("@emotion/is-prop-valid").default)&&(t=>t.startsWith("on")?!sO(t):n(t))}catch{}let s_=(0,Y.createContext)({});function sF(t){return"string"==typeof t||Array.isArray(t)}function sL(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}let sB=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s$=["initial",...sB];function sI(t){return sL(t.animate)||s$.some(e=>sF(t[e]))}function sU(t){return!!(sI(t)||t.variants)}function sz(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}Symbol.for("motionComponentSymbol");let sN=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),sW="data-"+sN("framerAppearId"),{schedule:sY,cancel:sq}=sA(queueMicrotask,!1),sK=(0,Y.createContext)({});function sX(t){let e=[{},{}];
8return null==t||t.values.forEach((t,r)=>{e[0][r]=t.get(),e[1][r]=t.getVelocity()}),e}function sH(t,e,r,i){if("function"==typeof e){let[n,s]=sX(i);e=e(void 0!==r?r:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=sX(i);e=e(void 0!==r?r:t.custom,n,s)}return e}let sG=t=>Array.isArray(t),sZ=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),sJ=t=>sG(t)?t[t.length-1]||0:t,sQ=t=>!!(t&&t.getVelocity);function s0(t){let e=sQ(t)?t.get():t;return sZ(e)?e.toValue():e}let s1=t=>(e,r)=>{let i=(0,Y.useContext)(s_),n=(0,Y.useContext)(sv),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:r},i,n,s){let o={latestValues:function(t,e,r,i){let n={},s=i(t,{});for(let t in s)n[t]=s0(s[t]);let{initial:o,animate:a}=t,l=sI(t),u=sU(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!r&&!1===r.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!sL(c)){let e=Array.isArray(c)?c:[c];for(let r=0;r<e.length;r++){let i=sH(t,e[r]);if(i){let{transitionEnd:t,transition:e,...r}=i;for(let t in r){let e=r[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,n,s,t),renderState:e()};return r&&(o.onMount=t=>r({props:i,current:t,...o}),o.onUpdate=t=>r(t)),o})(t,e,i,n);return r?s():function(t){let e=(0,Y.useRef)(null);return null===e.current&&(e.current=t()),e.current}(s)},s2=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s5=new Set(s2),s3=t=>e=>"string"==typeof e&&e.startsWith(t),s9=s3("--"),s6=s3("var(--"),s4=t=>!!s6(t)&&s8.test(t.split("/*")[0].trim()),s8=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,s7=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ot=(t,e,r)=>r>e?e:r<t?t:r,oe={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},or={...oe,transform:t=>ot(0,1,t)},oi={...oe,default:1},on=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),os=on("deg"),oo=on("%"),oa=on("px"),ol=on("vh"),ou=on("vw"),oh={...oo,parse:t=>oo.parse(t)/100,transform:t=>oo.transform(100*t)},oc={...oe,transform:Math.round},od={borderWidth:oa,borderTopWidth:oa,borderRightWidth:oa,borderBottomWidth:oa,borderLeftWidth:oa,borderRadius:oa,radius:oa,borderTopLeftRadius:oa,borderTopRightRadius:oa,borderBottomRightRadius:oa,borderBottomLeftRadius:oa,width:oa,maxWidth:oa,height:oa,maxHeight:oa,top:oa,right:oa,bottom:oa,left:oa,padding:oa,paddingTop:oa,paddingRight:oa,paddingBottom:oa,paddingLeft:oa,margin:oa,marginTop:oa,marginRight:oa,marginBottom:oa,marginLeft:oa,backgroundPositionX:oa,backgroundPositionY:oa,rotate:os,rotateX:os,rotateY:os,rotateZ:os,scale:oi,scaleX:oi,scaleY:oi,scaleZ:oi,skew:os,skewX:os,skewY:os,distance:oa,translateX:oa,translateY:oa,translateZ:oa,x:oa,y:oa,z:oa,perspective:oa,transformPerspective:oa,opacity:or,originX:oh,originY:oh,originZ:oa,zIndex:oc,size:oa,fillOpacity:or,strokeOpacity:or,numOctaves:oc},op={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},of=s2.length;function om(t,e,r){let{style:i,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let r=e[t];if(s5.has(t)){o=!0;continue}if(s9(t)){n[t]=r;continue}{let e=s7(r,od[t]);t.startsWith("origin")?(a=!0,s[t]=e):i[t]=e}}if(e.transform||(o||r?i.transform=function(t,e,r){let i="",n=!0;for(let s=0;s<of;s++){let o=s2[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||r){let t=s7(a,od[o]);if(!l){n=!1;let e=op[o]||o;i+=`${e}(${t}) `}r&&(e[o]=t)}}return i=i.trim(),r?i=r(e,n?"":i):n&&(i="none"),i}(e,t.transform,r):i.transform&&(i.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:r=0}=s;i.transformOrigin=`${t} ${e} ${r}`}}function oy(t,e,r){return"string"==typeof t?t:oa.transform(e+r*t)}let ov={offset:"stroke-dashoffset",array:"stroke-dasharray"},og={offset:"strokeDashoffset",array:"strokeDasharray"};function ob(t,{attrX:e,attrY:r,attrScale:i,originX:n,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u}
8,h,c){if(om(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p,dimensions:f}=t;d.transform&&(f&&(p.transform=d.transform),delete d.transform),f&&(void 0!==n||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,r){let i=oy(e,t.x,t.width),n=oy(r,t.y,t.height);return`${i} ${n}`}(f,void 0!==n?n:.5,void 0!==s?s:.5)),void 0!==e&&(d.x=e),void 0!==r&&(d.y=r),void 0!==i&&(d.scale=i),void 0!==o&&function(t,e,r=1,i=0,n=!0){t.pathLength=1;let s=n?ov:og;t[s.offset]=oa.transform(-i);let o=oa.transform(e),a=oa.transform(r);t[s.array]=`${o} ${a}`}(d,o,a,l,!1)}let ox=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),ow=t=>"string"==typeof t&&"svg"===t.toLowerCase();function oS(t,{style:e,vars:r},i,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(i)),r)t.style.setProperty(s,r[s])}let oP=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"]);function oT(t,e,r,i){for(let r in oS(t,e,void 0,i),e.attrs)t.setAttribute(oP.has(r)?r:sN(r),e.attrs[r])}let ok={};function oA(t,e,r){var i;let{style:n}=t,s={};for(let o in n)(sQ(n[o])||e.style&&sQ(e.style[o])||function(t,{layout:e,layoutId:r}){return s5.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!ok[t]||"opacity"===t)}(o,t)||(null===(i=null==r?void 0:r.getValue(o))||void 0===i?void 0:i.liveStyle)!==void 0)&&(s[o]=n[o]);return s}function oj(t,e,r){let i=oA(t,e,r);for(let r in t)(sQ(t[r])||sQ(e[r]))&&(i[-1!==s2.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}let oR=["x","y","width","height","cx","cy","r"];function oC(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}function oE(t,e,r){let i=t.getProps();return sH(i,e,void 0!==r?r:i.custom,t)}s1({scrapeMotionValuesFromProps:oj,createRenderState:()=>({...ox(),attrs:{}}),onUpdate:({props:t,prevProps:e,current:r,renderState:i,latestValues:n})=>{if(!r)return;let s=!!t.drag;if(!s){for(let t in n)if(s5.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let r=0;r<oR.length;r++){let i=oR[r];t[i]!==e[i]&&(o=!0)}o&&(sj.read(()=>(function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}})(r,i)),sj.render(()=>{ob(i,n,ow(r.tagName),t.transformTemplate),oT(r,i)}))}}),s1({scrapeMotionValuesFromProps:oA,createRenderState:ox});let oD=sx(()=>void 0!==window.ScrollTimeline);class oM{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=e}attachTimeline(t,e){let r=this.animations.map(r=>oD()&&r.attachTimeline?r.attachTimeline(t):"function"==typeof e?e(r):void 0);return()=>{r.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class oV extends oM{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function oO(t,e){return t?t[e]||t.default||t:void 0}function o_(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}function oF(t){return"function"==typeof t}function oL(t,e){t.timeline=e,t.onfinish=null}let oB=t=>Array.isArray(t)&&"number"==typeof t[0],o$={linearEasing:void 0},oI=function(t,e){let r=sx(t);return()=>{var t;return null!==(t=o$[e])&&void 0!==t?t:r()}}(()=>{try{document.createElement("div").animate({opacity:0}
8,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),oU=(t,e,r=10)=>{let i="",n=Math.max(Math.round(e/r),2);for(let e=0;e<n;e++)i+=t(sw(0,n-1,e))+", ";return`linear(${i.substring(0,i.length-2)})`},oz=([t,e,r,i])=>`cubic-bezier(${t}, ${e}, ${r}, ${i})`,oN={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:oz([0,.65,.55,1]),circOut:oz([.55,0,1,.45]),backIn:oz([.31,.01,.66,-.59]),backOut:oz([.33,1.53,.69,.99])},oW={x:!1,y:!1};function oY(t,e){let r=function(t,e,r){if(t instanceof Element)return[t];if("string"==typeof t){let e=document.querySelectorAll(t);return e?Array.from(e):[]}return Array.from(t)}(t),i=new AbortController;return[r,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function oq(t){return e=>{"touch"===e.pointerType||oW.x||oW.y||t(e)}}let oK=(t,e)=>!!e&&(t===e||oK(t,e.parentElement)),oX=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,oH=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),oG=new WeakSet;function oZ(t){return e=>{"Enter"===e.key&&t(e)}}function oJ(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let oQ=(t,e)=>{let r=t.currentTarget;if(!r)return;let i=oZ(()=>{if(oG.has(r))return;oJ(r,"down");let t=oZ(()=>{oJ(r,"up")});r.addEventListener("keyup",t,e),r.addEventListener("blur",()=>oJ(r,"cancel"),e)});r.addEventListener("keydown",i,e),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),e)};function o0(t){return oX(t)&&!(oW.x||oW.y)}let o1=new Set(["width","height","top","left","right","bottom",...s2]);function o2(){i=void 0}let o5={now:()=>(void 0===i&&o5.set(sC.isProcessing||sT.useManualTiming?sC.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(o2)}};function o3(t,e){-1===t.indexOf(e)&&t.push(e)}function o9(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}class o6{constructor(){this.subscriptions=[]}add(t){return o3(this.subscriptions,t),()=>o9(this.subscriptions,t)}notify(t,e,r){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(t,e,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let o4=t=>!isNaN(parseFloat(t));class o8{constructor(t,e={}){this.version="11.17.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let r=o5.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=o5.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=o4(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 o6);let r=this.events[t].add(e);return"change"===t?()=>{r(),sj.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,r){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=o5.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*t:0}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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function o7(t,e){return new o8(t,e)}function at(t,e){let r=t.getValue("willChange");if(sQ(r)&&r.add)return r.add(e)}let ae=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function ar(t,e,r,i){if(t===e&&r===i)return sb;let n=e=>(function(t,e,r,i,n){let s,o,a=0;do(s=ae(o=e+(r-e)/2,i,n)-t)>0?r=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}
8)(e,0,1,t,r);return t=>0===t||1===t?t:ae(n(t),e,i)}let ai=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,an=t=>e=>1-t(1-e),as=ar(.33,1.53,.69,.99),ao=an(as),aa=ai(ao),al=t=>(t*=2)<1?.5*ao(t):.5*(2-Math.pow(2,-10*(t-1))),au=t=>1-Math.sin(Math.acos(t)),ah=an(au),ac=ai(au),ad=t=>/^0[^.\s]+$/u.test(t),ap=t=>Math.round(1e5*t)/1e5,af=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,am=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ay=(t,e)=>r=>!!("string"==typeof r&&am.test(r)&&r.startsWith(t)||e&&null!=r&&Object.prototype.hasOwnProperty.call(r,e)),av=(t,e,r)=>i=>{if("string"!=typeof i)return i;let[n,s,o,a]=i.match(af);return{[t]:parseFloat(n),[e]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},ag=t=>ot(0,255,t),ab={...oe,transform:t=>Math.round(ag(t))},ax={test:ay("rgb","red"),parse:av("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:i=1})=>"rgba("+ab.transform(t)+", "+ab.transform(e)+", "+ab.transform(r)+", "+ap(or.transform(i))+")"},aw={test:ay("#"),parse:function(t){let e="",r="",i="",n="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),i=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),i=t.substring(3,4),n=t.substring(4,5),e+=e,r+=r,i+=i,n+=n),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}},transform:ax.transform},aS={test:ay("hsl","hue"),parse:av("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:i=1})=>"hsla("+Math.round(t)+", "+oo.transform(ap(e))+", "+oo.transform(ap(r))+", "+ap(or.transform(i))+")"},aP={test:t=>ax.test(t)||aw.test(t)||aS.test(t),parse:t=>ax.test(t)?ax.parse(t):aS.test(t)?aS.parse(t):aw.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?ax.transform(t):aS.transform(t)},aT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ak="number",aA="color",aj=/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 aR(t){let e=t.toString(),r=[],i={color:[],number:[],var:[]},n=[],s=0,o=e.replace(aj,t=>(aP.test(t)?(i.color.push(s),n.push(aA),r.push(aP.parse(t))):t.startsWith("var(")?(i.var.push(s),n.push("var"),r.push(t)):(i.number.push(s),n.push(ak),r.push(parseFloat(t))),++s,"${}")).split("${}");return{values:r,split:o,indexes:i,types:n}}function aC(t){return aR(t).values}function aE(t){let{split:e,types:r}=aR(t),i=e.length;return t=>{let n="";for(let s=0;s<i;s++)if(n+=e[s],void 0!==t[s]){let e=r[s];e===ak?n+=ap(t[s]):e===aA?n+=aP.transform(t[s]):n+=t[s]}return n}}let aD=t=>"number"==typeof t?0:t,aM={test:function(t){var e,r;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(af))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(aT))||void 0===r?void 0:r.length)||0)>0},parse:aC,createTransformer:aE,getAnimatableNone:function(t){let e=aC(t);return aE(t)(e.map(aD))}},aV=new Set(["brightness","contrast","saturate","opacity"]);function aO(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=r.match(af)||[];if(!i)return t;let n=r.replace(i,""),s=aV.has(e)?1:0;return i!==r&&(s*=100),e+"("+s+n+")"}let a_=/\b([a-z-]*)\(.*?\)/gu,aF={...aM,getAnimatableNone:t=>{let e=t.match(a_);return e?e.map(aO).join(" "):t}},aL={...od,color:aP,backgroundColor:aP,outlineColor:aP,fill:aP,stroke:aP,borderColor:aP,borderTopColor:aP,borderRightColor:aP,borderBottomColor:aP,borderLeftColor:aP,filter:aF,WebkitFilter:aF},aB=t=>aL[t];function a$(t,e){let r=aB(t);return r!==aF&&(r=aM),r.getAnimatableNone?r.getAnimatableNone(e):void 0}let aI=new Set(["auto","none","0"]),aU=t=>t===oe||t===oa,az=(t,e)=>parseFloat(t.split(", ")[e]),aN=(t,e)=>(r,{transform:i})=>{if("none"===i||!i)return 0;let n=i.match(/^matrix3d\((.+)\)$/u);if(n)return az(n[1],e);{let e=i.match(/^matrix\((.+)\)$/u);return e?az(e[1],t):0}},aW=new Set(["x","y","z"]),aY=s2.filter(t=>!aW.has(t)),aq={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:aN(4,13),y:aN(5,14)};aq.translateX=aq.x,aq.translateY=aq.y;let aK=new Set,aX=!1,aH=!1;function aG(){if(aH){let t=Array.from(aK).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),r=new Map;e.forEach(t=>{let e=function(t){let e=[];return aY.forEach(r=>{let i=t.getValue(r);void 0!==i&&(e.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),e}(t);e.length&&(r.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=r.get(t);e&&e.forEach(([e,r])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}aH=!1,aX=!1,aK.forEach(t=>t.complete()),aK.clear()}function aZ(){aK.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(aH=!0)})}class aJ{constructor(t,e,r,i,n,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(aK.add(this),aX||(aX=!0,sj.read(aZ),sj.resolveKeyframes(aG))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:r,motionValue:i}=this;for(let n=0;n<t.length;n++)if(null===t[n]){if(0===n){let n=null==i?void 0:i.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(r&&e){let i=r.readValue(e,s);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=s),i&&void 0===n&&i.set(t[0])}else t[n]=t[n-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),aK.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,aK.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let aQ=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),a0=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,a1=t=>e=>e.test(t),a2=[oe,oa,oo,os,ou,ol,{test:t=>"auto"===t,parse:t=>t}],a5=t=>a2.find(a1(t));class a3 extends aJ{constructor(t,e,r,i,n){super(t,e,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:r}=this;if(!e||!e.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let i=t[r];
8if("string"==typeof i&&s4(i=i.trim())){let n=function t(e,r,i=1){sb(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=a0.exec(t);if(!e)return[,];let[,r,i,n]=e;return[`--${r??i}`,n]}(e);if(!n)return;let o=window.getComputedStyle(r).getPropertyValue(n);if(o){let t=o.trim();return aQ(t)?parseFloat(t):t}return s4(s)?t(s,r,i+1):s}(i,e.current);void 0!==n&&(t[r]=n),r===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!o1.has(r)||2!==t.length)return;let[i,n]=t,s=a5(i),o=a5(n);if(s!==o){if(aU(s)&&aU(o))for(let e=0;e<t.length;e++){let r=t[e];"string"==typeof r&&(t[e]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,r=[];for(let e=0;e<t.length;e++){var i;("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||ad(i))&&r.push(e)}r.length&&function(t,e,r){let i=0,n;for(;i<t.length&&!n;){let e=t[i];"string"==typeof e&&!aI.has(e)&&aR(e).values.length&&(n=t[i]),i++}if(n&&r)for(let i of e)t[i]=a$(r,n)}(t,r,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:r}=this;if(!t||!t.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=aq[r](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];void 0!==i&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;let{element:e,name:r,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let n=e.getValue(r);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,o=i[s];i[s]=aq[r](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),!(null===(t=this.removedTransforms)||void 0===t)&&t.length&&this.removedTransforms.forEac
8h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let a9=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(aM.test(t)||"0"===t)&&!t.startsWith("url(")),a6=t=>null!==t;function a4(t,{repeat:e,repeatType:r="loop"},i){let n=t.filter(a6),s=e&&"loop"!==r&&e%2==1?0:n.length-1;return s&&void 0!==i?i:n[s]}class a8{constructor({autoplay:t=!0,delay:e=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=o5.now(),this.options={autoplay:t,delay:e,type:r,repeat:i,repeatDelay:n,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(aZ(),aG()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=o5.now(),this.hasAttemptedResolve=!0;let{name:r,type:i,velocity:n,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,r,i){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=a9(n,e),a=a9(s,e);return sb(o===a,`You are trying to animate ${e} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let r=0;r<t.length;r++)if(t[r]!==e)return!0}(t)||("spring"===r||oF(r))&&i)}(t,r,i,n)){if(s)this.options.duration=0;else{null==a||a(a4(t,this.options,e)),null==o||o(),this.resolveFinishedPromise();return}}let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}let a7=(t,e,r)=>t+(e-t)*r;function lt(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function le(t,e){return r=>r>0?e:t}let lr=(t,e,r)=>{let i=t*t,n=r*(e*e-i)+i;return n<0?0:Math.sqrt(n)},li=[aw,ax,aS],ln=t=>li.find(e=>e.test(t));function ls(t){let e=ln(t);if(sb(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let r=e.parse(t);return e===aS&&(r=function({hue:t,saturation:e,lightness:r,alpha:i}){t/=360,e/=100,r/=100;let n=0,s=0,o=0;if(e){let i=r<.5?r*(1+e):r+e-r*e,a=2*r-i;n=lt(a,i,t+1/3),s=lt(a,i,t),o=lt(a,i,t-1/3)}else n=s=o=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(r)),r}let lo=(t,e)=>{let r=ls(t),i=ls(e);if(!r||!i)return le(t,e);let n={...r};return t=>(n.red=lr(r.red,i.red,t),n.green=lr(r.green,i.green,t),n.blue=lr(r.blue,i.blue,t),n.alpha=a7(r.alpha,i.alpha,t),ax.transform(n))},la=(t,e)=>r=>e(t(r)),ll=(...t)=>t.reduce(la),lu=new Set(["none","hidden"]);function lh(t,e){return r=>a7(t,e,r)}function lc(t){return"number"==typeof t?lh:"string"==typeof t?s4(t)?le:aP.test(t)?lo:lf:Array.isArray(t)?ld:"object"==typeof t?aP.test(t)?lo:lp:le}function ld(t,e){let r=[...t],i=r.length,n=t.map((t,r)=>lc(t)(t,e[r]));return t=>{for(let e=0;e<i;e++)r[e]=n[e](t);return r}}function lp(t,e){let r={...t,...e},i={};for(let n in r)void 0!==t[n]&&void 0!==e[n]&&(i[n]=lc(t[n])(t[n],e[n]));return t=>{for(let e in i)r[e]=i[e](t);return r}}let lf=(t,e)=>{let r=aM.createTransformer(e),i=aR(t),n=aR(e);return i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length?lu.has(t)&&!n.values.length||lu.has(e)&&!i.values.length?lu.has(t)?r=>r<=0?t:e:r=>r>=1?e:t:ll(ld(function(t,e){var r;let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][n[o]],l=null!==(r=t.values[a])&&void 0!==r?r:0;i[s]=l,n[o]++}return i}(i,n),n.values),r):(sb(!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.`),le(t,e))};function lm(t,e,r){return"number"==typeof t&&"number"==typeof e&&"number"==typeof r?a7(t,e,r):lc(t)(t,e)}function ly(t,e,r){var i,n;let s=Math.max(e-5,0);return i=r-t(s),(n=e-s)?1e3/n*i:0}let lv={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function lg(t,e){return t*Math.sqrt(1-e*e)}let lb=["duration","bounce"],lx=["stiffness","damping","mass"];function lw(t,e){return e.some(e=>void 0!==t[e])}function lS(t=lv.visualDuration,e=lv.bounce){let r;let i="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=i,o=i.keyframes[0],a=i.keyframes[i.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:p,isResolvedFromDuration:f}=function(t){let e={velocity:lv.velocity,stiffness:lv.stiffness,damping:lv.damping,mass:lv.mass,isResolvedFromDuration:!1,...t};if(!lw(t,lx)&&lw(t,lb)){if(t.visualDuration){let r=2*Math.PI/(1.2*t.visualDuration),i=r*r,n=2*ot(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:lv.mass,stiffness:i,damping:n}}else{let r=function({duration:t=lv.duration,bounce:e=lv.bounce,velocity:r=lv.velocity,mass:i=lv.mass}){let n,s;sb(t<=sS(lv.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;o=ot(lv.minDamping,lv.maxDamping,o),t=ot(lv.minDuration,lv.maxDuration,sP(t)),o<1?(n=e=>{let i=e*o,n=i*t;return .001-(i-r)/lg(e,o)*Math.exp(-n)},s=e=>{let i=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=lg(Math.pow(e,2),o);return(-n(e)+.001>0?-1:1)*((i*r+r-s)*Math.exp(-i))/a}):(n=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),s=e=>t*t*(r-e)*Math.exp(-e*t));let a=function(t,e,r){let i=r;for(let r=1;r<12;r++)i-=t(i)/e(i);return i}(n,s,5/t);if(t=sS(t),isNaN(a))return{stiffness:lv.stiffness,damping:lv.damping,duration:t};{let e=Math.pow(a,2)*i;return{stiffness:e,damping:2*o*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...r,mass:lv.mass}).isResolvedFromDuration=!0}}return e}({...i,velocity:-sP(i.velocity||0)}),m=p||0,y=h/(2*Math.sqrt(u*c)),v=a-o,g=sP(Math.sqrt(u/c)),b=5>Math.abs(v);if(n||(n=b?lv.restSpeed.granular:lv.restSpeed.default),s||(s=b?lv.restDelta.granular:lv.restDelta.default),y<1){let t=lg(g,y);r=e=>a-Math.exp(-y*g*e)*((m+y*g*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===y)r=t=>a-Math.exp(-g*t)*(v+(m+g*v)*t);else{let t=g*Math.sqrt(y*y-1);r=e=>{let r=Math.exp(-y*g*e),i=Math.min(t*e,300);return a-r*((m+y*g*v)*Math.sinh(i)+t*v*Math.cosh(i))/t}}
8let x={calculatedDuration:f&&d||null,next:t=>{let e=r(t);if(f)l.done=t>=d;else{let i=0;y<1&&(i=0===t?sS(m):ly(r,t,e));let o=Math.abs(i)<=n,u=Math.abs(a-e)<=s;l.done=o&&u}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(o_(x),2e4),e=oU(e=>x.next(t*e).value,t,30);return t+"ms "+e}};return x}function lP({keyframes:t,velocity:e=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,y=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l,v=r*e,g=p+v,b=void 0===o?g:o(g);b!==g&&(v=b-p);let x=t=>-v*Math.exp(-t/i),w=t=>b+x(t),S=t=>{let e=x(t),r=w(t);f.done=Math.abs(e)<=u,f.value=f.done?b:r},P=t=>{m(f.value)&&(c=t,d=lS({keyframes:[f.value,y(f.value)],velocity:ly(w,t,f.value),damping:n,stiffness:s,restDelta:u,restSpeed:h}))};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return d||void 0!==c||(e=!0,S(t),P(t)),void 0!==c&&t>=c?d.next(t-c):(e||S(t),f)}}}let lT=ar(.42,0,1,1),lk=ar(0,0,.58,1),lA=ar(.42,0,.58,1),lj=t=>Array.isArray(t)&&"number"!=typeof t[0],lR={linear:sb,easeIn:lT,easeInOut:lA,easeOut:lk,circIn:au,circInOut:ac,circOut:ah,backIn:ao,backInOut:aa,backOut:as,anticipate:al}
8,lC=t=>{if(oB(t)){sb(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,i,n]=t;return ar(e,r,i,n)}return"string"==typeof t?(sb(void 0!==lR[t],`Invalid easing type '${t}'`),lR[t]):t};function lE({duration:t=300,keyframes:e,times:r,ease:i="easeInOut"}){let n=lj(i)?i.map(lC):lC(i),s={done:!1,value:e[0]},o=function(t,e,{clamp:r=!0,ease:i,mixer:n}={}){let s=t.length;if(sb(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,r){let i=[],n=r||lm,s=t.length-1;for(let r=0;r<s;r++){let s=n(t[r],t[r+1]);e&&(s=ll(Array.isArray(e)?e[r]||sb:e,s)),i.push(s)}return i}(e,i,n),l=a.length,u=r=>{if(o&&r<t[0])return e[0];let i=0;if(l>1)for(;i<t.length-2&&!(r<t[i+1]);i++);let n=sw(t[i],t[i+1],r);return a[i](n)};return r?e=>u(ot(t[0],t[s-1],e)):u}((r&&r.length===e.length?r:function(t){let e=[0];return function(t,e){let r=t[t.length-1];for(let i=1;i<=e;i++){let n=sw(0,e,i);t.push(a7(r,1,n))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(n)?n:e.map(()=>n||lA).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}let lD=t=>{let e=({timestamp:e})=>t(e);return{start:()=>sj.update(e,!0),stop:()=>sR(e),now:()=>sC.isProcessing?sC.timestamp:o5.now()}},lM={decay:lP,inertia:lP,tween:lE,keyframes:lE,spring:lS},lV=t=>t/100;class lO extends a8{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:r,element:i,keyframes:n}=this.options,s=(null==i?void 0:i.KeyframeResolver)||aJ;this.resolver=new s(n,(t,e)=>this.onKeyframesResolved(t,e),e,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,r;let{type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=oF(i)?i:lM[i]||lE;l!==lE&&"number"!=typeof t[0]&&(e=ll(lV,lm(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(r=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=o_(u));let{calculatedDuration:h}=u,c=h+s;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(n+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:r}=this;if(!r){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:i,generator:n,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=r;if(null===this.startTime)return n.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let y=this.currentTime-c*(this.speed>=0?1:-1),v=this.speed>=0?y<0:y>u;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let g=this.currentTime,b=n;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(r=1-r,f&&(r-=f/h)):"mirror"===p&&(b=s)),g=ot(0,1,r)*h}let x=v?{done:!1,value:a[0]}:b.next(g);o&&(x.value=o(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&void 0!==i&&(x.value=a4(a,this.options,i)),m&&m(x.value),S&&this.finish(),x}get duration(){let{resolved:t}=this;return t?sP(t.calculatedDuration):0}
8get time(){return sP(this.currentTime)}set time(t){t=sS(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=sP(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=lD,onPlay:e,startTime:r}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=r??this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let l_=new Set(["opacity","clipPath","filter","transform"]),lF=sx(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),lL={anticipate:al,backInOut:aa,circInOut:ac};class lB extends a8{constructor(t){super(t);let{name:e,motionValue:r,element:i,keyframes:n}=this.options;this.resolver=new a3(n,(t,e)=>this.onKeyframesResolved(t,e),e,r,i),this.resolver.scheduleResolve()}initPlayback(t,e){var r,i;let{duration:n=300,times:s,ease:o,type:a,motionValue:l,name:u,startTime:h}=this.options;if(!(!(null===(r=l.owner)||void 0===r)&&r.current))return!1;if("string"==typeof o&&oI()&&o in lL&&(o=lL[o]),oF((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&oI()||!e||"string"==typeof e&&(e in oN||oI())||oB(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:r,motionValue:i,element:l,...u}=this.options,h=function(t,e){let r=new lO({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:t[0]},n=[],s=0;for(;!i.done&&s<2e4;)n.push((i=r.sample(s)).value),s+=10;return{times:void 0,keyframes:n,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),n=h.duration,s=h.times,o=h.ease,a="keyframes"}let c=function(t,e,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:r};l&&(u.offset=l);let h=function t(e,r){if(e)return"function"==typeof e&&oI()?oU(e,r):oB(e)?oz(e):Array.isArray(e)?e.map(e=>t(e,r)||oN.easeOut):oN[e]}(a,n);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:i,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:n,times:s,ease:o});return c.startTime=h??this.calcStartTime(),this.pendingTimeline?(oL(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:r}=this.options;l.set(a4(t,this.options,e)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:s,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return sP(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return sP(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:r}=e;r.currentTime=sS(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:r}=e;r.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return sb;let{animation:r}=e;oL(r,t)}else this.pendingTimeline=t;return sb}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;
8"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:r,duration:i,type:n,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new lO({...u,keyframes:r,duration:i,type:n,ease:s,times:o,isGenerator:!0}),c=sS(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:r,repeatDelay:i,repeatType:n,damping:s,type:o}=t;return lF()&&r&&l_.has(r)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!i&&"mirror"!==n&&0!==s&&"inertia"!==o}}let l$={type:"spring",stiffness:500,damping:25,restSpeed:10},lI=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),lU={type:"keyframes",duration:.8},lz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lN=(t,{keyframes:e})=>e.length>2?lU:s5.has(t)?t.startsWith("scale")?lI(e[1]):l$:lz,lW=(t,e,r,i={},n,s)=>o=>{let a=oO(i,t)||{},l=a.delay||i.delay||0,{elapsed:u=0}=i;u-=sS(l);let h={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};(function({when:t,delay:e,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length})(a)||(h={...h,...lN(t,h)}),h.duration&&(h.duration=sS(h.duration)),h.repeatDelay&&(h.repeatDelay=sS(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0!==h.delay||(c=!0)),c&&!s&&void 0!==e.get()){let t=a4(h.keyframes,a);if(void 0!==t)return sj.update(()=>{h.onUpdate(t),h.onComplete()}),new oV([])}return!s&&lB.supports(h)?new lB(h):new lO(h)};function lY(t,e,{delay:r=0,transitionOverride:i,type:n}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;i&&(o=i);let u=[],h=n&&t.animationState&&t.animationState.getState()[n];for(let e in l){let i=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),n=l[e];if(void 0===n||h&&function({protectedKeys:t,needsAnimating:e},r){let i=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,i}(h,e))continue;let a={delay:r,...oO(o||{},e)},c=!1;if(window.MotionHandoffAnimation){let r=t.props[sW];if(r){let t=window.MotionHandoffAnimation(r,e,sj);null!==t&&(a.startTime=t,c=!0)}}at(t,e),i.start(lW(e,i,n,t.shouldReduceMotion&&o1.has(e)?{type:!1}:a,t,c));let d=i.animation;d&&u.push(d)}return a&&Promise.all(u).then(()=>{sj.update(()=>{a&&function(t,e){let{transitionEnd:r={},transition:i={},...n}=oE(t,e)||{};for(let e in n={...n,...r}){let r=sJ(n[e]);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,o7(r))}}(t,a)})}),u}function lq(t,e,r={}){var i;let n=oE(t,e,"exit"===r.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(s=r.transitionOverride);let o=n?()=>Promise.all(lY(t,n,r)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,r=0,i=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*i,l=1===n?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(lK).forEach((t,i)=>{t.notify("AnimationStart",e),o.push(lq(t,e,{...s,delay:r+l(i)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,n+i,o,a,r)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(r.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function lK(t,e){return t.sortNodePosition(e)}let lX=s$.length,lH=[...sB].reverse(),lG=sB.length;function lZ(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lJ(){return{animate:lZ(!0),whileInView:lZ(),whileHover:lZ(),whileTap:lZ(),whileDrag:lZ(),whileFocus:lZ(),exit:lZ()}}class lQ{constructor(t){this.isMounted=!1,this.node=t}update(){}}let l0=0;function l1(t,e,r,i={passive:!0}){return t.addEventListener(e,r,i),()=>t.removeEventListener(e,r)}function l2(t){return{point:{x:t.pageX,y:t.pageY}}}let l5=t=>e=>oX(e)&&t(e,l2(e));function l3(t,e,r,i){return l1(t,e,l5(r),i)}let l9=(t,e)=>Math.abs(t-e);class l6{constructor(t,e,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=l7(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,n=(t=r.offset,e={x:0,y:0},Math.sqrt(l9(t.x,e.x)**2+l9(t.y,e.y)**2)>=3);if(!i&&!n)return;let{point:s}=r,{timestamp:o}=sC;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;
8i||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=l4(e,this.transformPagePoint),sj.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=l7("pointercancel"===t.type?this.lastMoveEventInfo:l4(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,s),i&&i(t,s)},!oX(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=r,this.contextWindow=i||window;let s=l4(l2(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=sC;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,l7(s,this.history)),this.removeListeners=ll(l3(this.contextWindow,"pointermove",this.handlePointerMove),l3(this.contextWindow,"pointerup",this.handlePointerUp),l3(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),sR(this.updatePoint)}}function l4(t,e){return e?{point:e(t.point)}:t}function l8(t,e){return{x:t.x-e.x,y:t.y-e.y}}function l7({point:t},e){return{point:t,delta:l8(t,ut(e)),offset:l8(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,i=null,n=ut(t);for(;r>=0&&(i=t[r],!(n.timestamp-i.timestamp>sS(.1)));)r--;if(!i)return{x:0,y:0};let s=sP(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function ut(t){return t[t.length-1]}function ue(t){return t.max-t.min}function ur(t,e,r,i=.5){t.origin=i,t.originPoint=a7(e.min,e.max,t.origin),t.scale=ue(r)/ue(e),t.translate=a7(r.min,r.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ui(t,e,r,i){ur(t.x,e.x,r.x,i?i.originX:void 0),ur(t.y,e.y,r.y,i?i.originY:void 0)}function un(t,e,r){t.min=r.min+e.min,t.max=t.min+ue(e)}function us(t,e,r){t.min=e.min-r.min,t.max=t.min+ue(e)}function uo(t,e,r){us(t.x,e.x,r.x),us(t.y,e.y,r.y)}function ua(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function ul(t,e){let r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,i]=[i,r]),{min:r,max:i}}function uu(t,e,r){return{min:uh(t,e),max:uh(t,r)}}function uh(t,e){return"number"==typeof t?t:t[e]||0}let uc=()=>({translate:0,scale:1,origin:0,originPoint:0}),ud=()=>({x:uc(),y:uc()}),up=()=>({min:0,max:0}),uf=()=>({x:up(),y:up()});function um(t){return[t("x"),t("y")]}function uy({top:t,left:e,right:r,bottom:i}){return{x:{min:e,max:r},y:{min:t,max:i}}}function uv(t){return void 0===t||1===t}function ug({scale:t,scaleX:e,scaleY:r}){return!uv(t)||!uv(e)||!uv(r)}function ub(t){return ug(t)||ux(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ux(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function uw(t,e,r,i,n){return void 0!==n&&(t=i+n*(t-i)),i+r*(t-i)+e}function uS(t,e=0,r=1,i,n){t.min=uw(t.min,e,r,i,n),t.max=uw(t.max,e,r,i,n)}function uP(t,{x:e,y:r}){uS(t.x,e.translate,e.scale,e.originPoint),uS(t.y,r.translate,r.scale,r.originPoint)}function uT(t,e){t.min=t.min+e,t.max=t.max+e}function uk(t,e,r,i,n=.5){let s=a7(t.min,t.max,n);uS(t,e,r,s,i)}function uA(t,e){uk(t.x,e.x,e.scaleX,e.scale,e.originX),uk(t.y,e.y,e.scaleY,e.scale,e.originY)}function uj(t,e){return uy(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}let uR=({current:t})=>t?t.ownerDocument.defaultView:null,uC=new WeakMap;class uE{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=uf(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new l6(t,{onSessionStart:t=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(l2(t).point)},onStart:(t,e)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===r||"y"===r?oW[r]?null:(oW[r]=!0,()=>{oW[r]=!1}):oW.x||oW.y?null:(oW.x=oW.y=!0,()=>{oW.x=oW.y=!1}),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),um(t=>{let e=this.getAxisMotionValue(t).get()||0;if(oo.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[t];i&&(e=ue(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&sj.postRender(()=>n(t,e)),at(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>um(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:uR(this.visualElement)})}stop(t,e){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=e;this.startAnimation(i);let{onDragEnd:n}=this.getProps();n&&sj.postRender(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:i}=this.getProps();if(!r||!uD(t,i,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:r},i){return void 0!==e&&t<e?t=i?a7(e,t,i.min):Math.max(t,e):void 0!==r&&t>r&&(t=i?a7(r,t,i.max):Math.min(t,r)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,n=this.constraints;e&&sz(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(t,{top:e,left:r,bottom:i,right:n}){return{x:ua(t.x,r,n),y:ua(t.y,e,i)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:uu(t,"left","right"),y:uu(t,"top","bottom")}}(r),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&um(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!sz(e))return!1;let i=e.current;sb(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,r){let i=uj(t,r),{scroll:n}=e;return n&&(uT(i.x,n.offset.x),uT(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),o={x:ul((t=n.layout.layoutBox).x,s.x),y:ul(t.y,s.y)};if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=uy(t))}return o}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(um(o=>{if(!uD(o,e,this.currentDirection))return;let l=a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return at(this.visualElement,t),r.start(lW(t,r,0,e,this.visualElement,!1))}stopAnimation(){um(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){um(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){um(e=>{let{drag:r}=this.getProps();if(!uD(e,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(e);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[e];n.set(t[e]-a7(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!sz(e)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};um(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let r=e.get();i[t]=function(t,e){let r=.5,i=ue(t),n=ue(e);return n>i?r=sw(e.min,e.max-i,t.min):i>n&&(r=sw(t.min,t.max-n,e.min)),ot(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),um(e=>{if(!uD(e,t,null))return;let r=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];r.set(a7(n,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;uC.set(this.visualElement,this);let t=l3(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();sz(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",e);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),sj.read(e);let n=l1(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(um(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function uD(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}let uM=t=>(e,r)=>{t&&sj.postRender(()=>t(e,r))},uV={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function uO(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let u_={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!oa.test(t))return t;t=parseFloat(t)}let r=uO(t,e.target.x),i=uO(t,e.target.y);return`${r}% ${i}%`}};class uF extends Y.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=t;Object.assign(ok,uL),n&&(e.group&&e.group.add(n),r&&r.register&&i&&r.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),uV.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:i,isPresent:n}=this.props,s=r.projection;return s&&(s.isPresent=n,i||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||sj.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),sY.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}let uL={borderRadius:{...u_,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:u_,borderTopRightRadius:u_,borderBottomLeftRadius:u_,borderBottomRightRadius:u_,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let i=aM.parse(t);if(i.length>5)return t;let n=aM.createTransformer(t),s="number"!=typeof i[0]?1:0,o=r.x.scale*e.x,a=r.y.scale*e.y;i[0+s]/=o,i[1+s]/=a;let l=a7(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),n(i)}}},uB=(t,e)=>t.depth-e.depth;class u${constructor(){this.children=[],this.isDirty=!1}add(t){o3(this.children,t),this.isDirty=!0}remove(t){o9(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(uB),this.isDirty=!1,this.children.forEac
8h(t)}}let uI=["TopLeft","TopRight","BottomLeft","BottomRight"],uU=uI.length,uz=t=>"string"==typeof t?parseFloat(t):t,uN=t=>"number"==typeof t||oa.test(t);function uW(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let uY=uK(0,.5,ah),uq=uK(.5,.95,sb);function uK(t,e,r){return i=>i<t?0:i>e?1:r(sw(t,e,i))}function uX(t,e){t.min=e.min,t.max=e.max}function uH(t,e){uX(t.x,e.x),uX(t.y,e.y)}function uG(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function uZ(t,e,r,i,n){return t-=e,t=i+1/r*(t-i),void 0!==n&&(t=i+1/n*(t-i)),t}function uJ(t,e,[r,i,n],s,o){!function(t,e=0,r=1,i=.5,n,s=t,o=t){if(oo.test(e)&&(e=parseFloat(e),e=a7(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=a7(s.min,s.max,i);t===s&&(a-=e),t.min=uZ(t.min,e,r,a,n),t.max=uZ(t.max,e,r,a,n)}(t,e[r],e[i],e[n],e.scale,s,o)}let uQ=["x","scaleX","originX"],u0=["y","scaleY","originY"];function u1(t,e,r,i){uJ(t.x,e,uQ,r?r.x:void 0,i?i.x:void 0),uJ(t.y,e,u0,r?r.y:void 0,i?i.y:void 0)}function u2(t){return 0===t.translate&&1===t.scale}function u5(t){return u2(t.x)&&u2(t.y)}function u3(t,e){return t.min===e.min&&t.max===e.max}function u9(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function u6(t,e){return u9(t.x,e.x)&&u9(t.y,e.y)}function u4(t){return ue(t.x)/ue(t.y)}function u8(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class u7{constructor(){this.members=[]}add(t){o3(this.members,t),t.scheduleRender()}remove(t){if(o9(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let ht={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},he="u">typeof window&&void 0!==window.MotionDebug,hr=["","X","Y","Z"],hi={visibility:"hidden"},hn=0;function hs(t,e,r,i){let{latestValues:n}=e;n[t]&&(r[t]=n[t],e.setStaticValue(t,0),i&&(i[t]=0))}function ho({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(t={},r=null==e?void 0:e()){this.id=hn++,this.animationId=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,he&&(ht.totalNodes=ht.resolvedTargetDeltas=ht.recalculatedProjection=0),this.nodes.forEach(hu),this.nodes.forEach(hy),this.nodes.forEach(hv),this.nodes.forEach(hh),he&&window.MotionDebug.record(ht)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new u$)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new o6),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(n||i)&&(this.isLayoutDirty=!0),t){let r;let i=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=o5.now(),i=({timestamp:e})=>{let n=e-r;n>=250&&(sR(i),t(n-250))};return sj.read(i,!0),()=>sR(i)}(i,0),uV.hasAnimatedSinceResize&&(uV.hasAnimatedSinceResize=!1,this.nodes.forEac
8h(hm))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||hP,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!u6(this.targetLayout,i)||r,u=!e&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...oO(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||hm(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,sR(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(hg),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:r}=e.options;if(!r)return;let i=r.props[sW];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",sj,!(t||r))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:r}=this.options;if(void 0===e&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(hd);return}this.isUpdating||this.nodes.forEach(hp),this.isUpdating=!1,this.nodes.forEach(hf),this.nodes.forEach(ha),this.nodes.forEach(hl),this.clearAllSnapshots();let t=o5.now();sC.delta=ot(0,1e3/60,t-sC.timestamp),sC.timestamp=t,sC.isProcessing=!0,sE.update.process(sC),sE.preRender.process(sC),sE.render.process(sC),sC.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sY.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(hc),this.sharedNodes.forEach(hb)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,sj.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){sj.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}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=uf(),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){let e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!u5(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;t&&(e||ub(this.latestValues)||s)&&(n(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),i=this.removeElementScroll(r);return t&&(i=this.removeTransform(i)),hA((e=i).x),hA(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return uf();let r=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(hR))){let{scroll:t}=this.root;t&&(uT(r.x,t.offset.x),uT(r.y,t.offset.y))}return r}removeElementScroll(t){var e;let r=uf();if(uH(r,t),!(null===(e=this.scroll)||void 0===e)&&e.wasRoot)return r;for(let e=0;e<this.path.length;e++){let i=this.path[e],{scroll:n,options:s}=i;i!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&uH(r,t),uT(r.x,n.offset.x),uT(r.y,n.offset.y))}return r}applyTransform(t,e=!1){let r=uf();uH(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&uA(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),ub(i.latestValues)&&uA(r,i.latestValues)}return ub(this.latestValues)&&uA(r,this.latestValues),r}removeTransform(t){let e=uf();uH(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!ub(r.latestValues))continue;ug(r.latestValues)&&r.updateSnapshot();let i=uf();uH(i,r.measurePageBox()),u1(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}return ub(this.latestValues)&&u1(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!==sC.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,r,i,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
8haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||!(null===(e=this.parent)||void 0===e)&&e.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(!(!this.layout||!(a||l))){if(this.resolvedRelativeTargetAt=sC.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=uf(),this.relativeTargetOrigin=uf(),uo(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),uH(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=uf(),this.targetWithTransforms=uf()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,i=this.relativeTarget,n=this.relativeParent.target,un(r.x,i.x,n.x),un(r.y,i.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):uH(this.target,this.layout.layoutBox),uP(this.target,this.targetDelta)):uH(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=uf(),this.relativeTargetOrigin=uf(),uo(this.relativeTargetOrigin,this.target,t.target),uH(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}he&&ht.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ug(this.parent.latestValues)||ux(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),r=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||!(null===(t=this.parent)||void 0===t)&&t.isProjectionDirty)&&(i=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===sC.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;uH(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(function(t,e,r,i=!1){let n,s;let o=r.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=r[a]).projectionDelta;let{visualElement:o}=n.options;o&&o.props.style&&"contents"===o.props.style.display||(i&&n.options.layoutScroll&&n.scroll&&n!==n.root&&uA(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,uP(t,s)),i&&ub(n.latestValues)&&uA(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}})(this.layoutCorrected,this.treeScale,this.path,r),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=uf());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(uG(this.prevProjectionDelta.x,this.projectionDelta.x),uG(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ui(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&u8(this.projectionDelta.x,this.prevProjectionDelta.x)&&u8(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),he&&ht.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ud(),this.projectionDelta=ud(),this.projectionDeltaWithTransform=ud()}setAnimationOrigin(t,e=!1){let r;let i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},o=ud();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=uf(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
8!0===this.options.crossfade&&!this.path.some(hS));this.animationProgress=0,this.mixTargetDelta=e=>{var i,u,d,p;let f=e/1e3;hx(o.x,t.x,f),hx(o.y,t.y,f),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(uo(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d=this.relativeTarget,p=this.relativeTargetOrigin,hw(d.x,p.x,a.x,f),hw(d.y,p.y,a.y,f),r&&(i=this.relativeTarget,u=r,u3(i.x,u.x)&&u3(i.y,u.y))&&(this.isProjectionDirty=!1),r||(r=uf()),uH(r,this.relativeTarget)),l&&(this.animationValues=s,function(t,e,r,i,n,s){n?(t.opacity=a7(0,void 0!==r.opacity?r.opacity:1,uY(i)),t.opacityExit=a7(void 0!==e.opacity?e.opacity:1,0,uq(i))):s&&(t.opacity=a7(void 0!==e.opacity?e.opacity:1,void 0!==r.opacity?r.opacity:1,i));for(let n=0;n<uU;n++){let s=`border${uI[n]}Radius`,o=uW(e,s),a=uW(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||uN(o)===uN(a)?(t[s]=Math.max(a7(uz(o),uz(a),i),0),(oo.test(a)||oo.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||r.rotate)&&(t.rotate=a7(e.rotate||0,r.rotate||0,i))}(s,n,this.latestValues,f,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=f},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(sR(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=sj.update(()=>{uV.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,r){let i=sQ(0)?0:o7(0);return i.start(lW("",i,1e3,r)),i.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:r,layout:i,latestValues:n}=t;if(!(!e||!r||!i)){if(this!==t&&this.layout&&i&&hj(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||uf();let e=ue(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let i=ue(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+i}uH(e,r),uA(e,n),ui(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new u7),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(e=!0),!e)return;let i={};r.z&&hs("z",t,i,this.animationValues);for(let e=0;e<hr.length;e++)hs(`rotate${hr[e]}`,t,i,this.animationValues),hs(`skew${hr[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()}getProjectionStyles(t){var e,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return hi;let i={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=s0(null==t?void 0:t.pointerEvents)||"",i.transform=n?n(this.latestValues,""):"none",i;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=s0(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!ub(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),i.transform=function(t,e,r){let i="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==r?void 0:r.z)||0;if((n||s||o)&&(i=`translate3d(${n}px, ${s}px, ${o}
8px) `),(1!==e.x||1!==e.y)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),r){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=r;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),n&&(i+=`rotateX(${n}deg) `),s&&(i+=`rotateY(${s}deg) `),o&&(i+=`skewX(${o}deg) `),a&&(i+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),n&&(i.transform=n(o,i.transform));let{x:a,y:l}=this.projectionDelta;for(let t in i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?i.opacity=s===this?null!==(r=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:i.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,ok){if(void 0===o[t])continue;let{correct:e,applyTo:r}=ok[t],n="none"===i.transform?o[t]:e(o[t],s);if(r){let t=r.length;for(let e=0;e<t;e++)i[r[e]]=n}else i[t]=n}return this.options.layoutId&&(i.pointerEvents=s===this?s0(null==t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(hd),this.root.sharedNodes.clear()}}}function ha(t){t.updateLayout()}function hl(t){var e;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:i}=t.layout,{animationType:n}=t.options,s=r.source!==t.layout.source;"size"===n?um(t=>{let i=s?r.measuredBox[t]:r.layoutBox[t],n=ue(i);i.min=e[t].min,i.max=i.min+n}):hj(n,r.layoutBox,e)&&um(i=>{let n=s?r.measuredBox[i]:r.layoutBox[i],o=ue(e[i]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=ud();ui(o,e,r.layoutBox);let a=ud();s?ui(a,t.applyTransform(i,!0),r.measuredBox):ui(a,e,r.layoutBox);let l=!u5(o),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let o=uf();uo(o,r.layoutBox,n.layoutBox);let a=uf();uo(a,e,s.layoutBox),u6(o,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function hu(t){he&&ht.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function hh(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function hc(t){t.clearSnapshot()}function hd(t){t.clearMeasurements()}function hp(t){t.isLayoutDirty=!1}function hf(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function hm(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function hy(t){t.resolveTargetDelta()}function hv(t){t.calcProjection()}function hg(t){t.resetSkewAndRotation()}function hb(t){t.removeLeadSnapshot()}function hx(t,e,r){t.translate=a7(e.translate,0,r),t.scale=a7(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function hw(t,e,r,i){t.min=a7(e.min,r.min,i),t.max=a7(e.max,r.max,i)}function hS(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let hP={duration:.45,ease:[.4,0,.1,1]},hT=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),hk=hT("applewebkit/")&&!hT("chrome/")?Math.round:sb;function hA(t){t.min=hk(t.min),t.max=hk(t.max)}function hj(t,e,r){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(u4(e)-u4(r)))}function hR(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let hC=ho({attachResizeListener:(t,e)=>l1(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),hE={current:void 0};function hD(t,e,r){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===r);let n=i["onHover"+r];n&&sj.postRender(()=>n(e,l2(e)))}ho({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!hE.current){let t=new hC({});t.mount(window),t.setOptions({layoutScroll:!0}),hE.current=t}return hE.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function hM(t,e,r){let{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===r);let n=i["onTap"+("End"===r?"":r)];n&&sj.postRender(()=>n(e,l2(e)))}let hV=new WeakMap,hO=new WeakMap,h_=t=>{let e=hV.get(t.target);e&&e(t)}
8,hF=t=>{t.forEach(h_)},hL={some:0,all:1},hB={current:null},h$={current:!1},hI=[...a2,aP,aM],hU=t=>hI.find(a1(t)),hz=new WeakMap,hN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class hW{scrapeMotionValuesFromProps(t,e,r){return{}}constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=aJ,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=o5.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,sj.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=sI(e),this.isVariantNode=sU(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==a[t]&&sQ(e)&&e.set(a[t],!1)}}mount(t){this.current=t,hz.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),h$.current||function(){if(h$.current=!0,sg){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>hB.current=t.matches;t.addListener(e),e()}else hB.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||hB.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in hz.delete(this.current),this.projection&&this.projection.unmount(),sR(this.notifyUpdate),sR(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(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}bindToMotionValue(t,e){let r;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=s5.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&sj.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),s(),r&&r(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in sM){let e=sM[t];if(!e)continue;let{isEnabled:r,Feature:i}=e;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){let e=this.features[t];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):uf()}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<hN.length;e++){let r=hN[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=t["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(t,e,r){for(let i in e){let n=e[i],s=r[i];if(sQ(n))t.addValue(i,n);else if(sQ(s))t.addValue(i,o7(n,{owner:t}));else if(s!==n){if(t.hasValue(i)){let e=t.getValue(i);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(i);t.addValue(i,o7(void 0!==e?e:n,{owner:t}))}}}for(let i in r)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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}
8addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let r=this.values.get(t);e!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=o7(null===e?void 0:e,{owner:this}),this.addValue(t,r)),r}readValue(t,e){var r;let i=void 0===this.latestValues[t]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,t))&&void 0!==r?r:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(aQ(i)||ad(i))?i=parseFloat(i):!hU(i)&&aM.test(e)&&(i=a$(t,e)),this.setBaseTarget(t,sQ(i)?i.get():i)),sQ(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let r;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=sH(this.props,i,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);n&&(r=n[t])}if(i&&void 0!==r)return r;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||sQ(n)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new o6),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class hY extends hW{constructor(){super(...arguments),this.KeyframeResolver=a3}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;sQ(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${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.