Files
commit-it/dist/assets/index-BvR3E7A9.js
2026-03-30 17:54:37 +09:00

46 lines
481 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var te=/\/+/g;function k(e,t){return typeof e==`object`&&e&&e.key!=null?ee(``+e.key):t.toString(36)}function ne(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function re(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,re(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+k(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(te,`$&/`)+`/`),re(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(te,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+k(a,u),c+=re(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+k(a,u++),c+=re(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return re(ne(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ie(e,t,n){if(e==null)return e;var r=[],i=0;return re(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ae(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var A=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},j={map:ie,forEach:function(e,t,n){ie(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ie(e,function(){t++}),t},toArray:function(e){return ie(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=j,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ae}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,A)}catch(e){A(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.4`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&k(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&k(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var ee=new MessageChannel,te=ee.port2;ee.port1.onmessage=D,O=function(){te.postMessage(null)}}else O=function(){_(D,0)};function k(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,k(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.4`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=h(),n=p(),r=_();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),ee=Symbol.for(`react.activity`),te=Symbol.for(`react.memo_cache_sentinel`),k=Symbol.iterator;function ne(e){return typeof e!=`object`||!e?null:(e=k&&e[k]||e[`@@iterator`],typeof e==`function`?e:null)}var re=Symbol.for(`react.client.reference`);function ie(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===re?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case T:return`Suspense`;case E:return`SuspenseList`;case ee:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case D:return t=e.displayName||null,t===null?ie(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return ie(e(t))}catch{}}return null}var ae=Array.isArray,A=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},se=[],ce=-1;function le(e){return{current:e}}function M(e){0>ce||(e.current=se[ce],se[ce]=null,ce--)}function N(e,t){ce++,se[ce]=e.current,e.current=t}var ue=le(null),de=le(null),fe=le(null),pe=le(null);function me(e,t){switch(N(fe,t),N(de,e),N(ue,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ud(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ud(t),e=Wd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}M(ue),N(ue,e)}function he(){M(ue),M(de),M(fe)}function ge(e){e.memoizedState!==null&&N(pe,e);var t=ue.current,n=Wd(t,e.type);t!==n&&(N(de,e),N(ue,n))}function _e(e){de.current===e&&(M(ue),M(de)),pe.current===e&&(M(pe),ep._currentValue=oe)}var ve,ye;function be(e){if(ve===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ve=t&&t[1]||``,ye=-1<e.stack.indexOf(`
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
`+ve+e+ye}var xe=!1;function Se(e,t){if(!e||xe)return``;xe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
`),l=s.split(`
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{xe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?be(n):``}function Ce(e,t){switch(e.tag){case 26:case 27:case 5:return be(e.type);case 16:return be(`Lazy`);case 13:return e.child!==t&&t!==null?be(`Suspense Fallback`):be(`Suspense`);case 19:return be(`SuspenseList`);case 0:case 15:return Se(e.type,!1);case 11:return Se(e.type.render,!1);case 1:return Se(e.type,!0);case 31:return be(`Activity`);default:return``}}function we(e){try{var t=``,n=null;do t+=Ce(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
Error generating stack: `+e.message+`
`+e.stack}}var Te=Object.prototype.hasOwnProperty,Ee=t.unstable_scheduleCallback,De=t.unstable_cancelCallback,Oe=t.unstable_shouldYield,ke=t.unstable_requestPaint,Ae=t.unstable_now,je=t.unstable_getCurrentPriorityLevel,Me=t.unstable_ImmediatePriority,Ne=t.unstable_UserBlockingPriority,Pe=t.unstable_NormalPriority,Fe=t.unstable_LowPriority,Ie=t.unstable_IdlePriority,Le=t.log,P=t.unstable_setDisableYieldValue,Re=null,F=null;function ze(e){if(typeof Le==`function`&&P(e),F&&typeof F.setStrictMode==`function`)try{F.setStrictMode(Re,e)}catch{}}var Be=Math.clz32?Math.clz32:Ue,Ve=Math.log,He=Math.LN2;function Ue(e){return e>>>=0,e===0?32:31-(Ve(e)/He|0)|0}var We=256,Ge=262144,Ke=4194304;function qe(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Je(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=qe(n))):i=qe(o):i=qe(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=qe(n))):i=qe(o)):i=qe(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ye(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Xe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ze(){var e=Ke;return Ke<<=1,!(Ke&62914560)&&(Ke=4194304),e}function Qe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $e(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function et(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Be(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&tt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function tt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Be(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function nt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Be(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function rt(e,t){var n=t&-t;return n=n&42?1:it(n),(n&(e.suspendedLanes|t))===0?n:0}function it(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function at(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ot(){var e=j.p;return e===0?(e=window.event,e===void 0?32:gp(e.type)):e}function st(e,t){var n=j.p;try{return j.p=e,t()}finally{j.p=n}}var ct=Math.random().toString(36).slice(2),lt=`__reactFiber$`+ct,ut=`__reactProps$`+ct,dt=`__reactContainer$`+ct,ft=`__reactEvents$`+ct,I=`__reactListeners$`+ct,pt=`__reactHandles$`+ct,mt=`__reactResources$`+ct,ht=`__reactMarker$`+ct;function gt(e){delete e[lt],delete e[ut],delete e[ft],delete e[I],delete e[pt]}function _t(e){var t=e[lt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[dt]||n[lt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=pf(e);e!==null;){if(n=e[lt])return n;e=pf(e)}return t}e=n,n=e.parentNode}return null}function vt(e){if(e=e[lt]||e[dt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function yt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function bt(e){var t=e[mt];return t||=e[mt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function xt(e){e[ht]=!0}var St=new Set,Ct={};function wt(e,t){Tt(e,t),Tt(e+`Capture`,t)}function Tt(e,t){for(Ct[e]=t,e=0;e<t.length;e++)St.add(t[e])}var Et=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Dt={},Ot={};function kt(e){return Te.call(Ot,e)?!0:Te.call(Dt,e)?!1:Et.test(e)?Ot[e]=!0:(Dt[e]=!0,!1)}function At(e,t,n){if(kt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function jt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Mt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Nt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Pt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Ft(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function It(e){if(!e._valueTracker){var t=Pt(e)?`checked`:`value`;e._valueTracker=Ft(e,t,``+e[t])}}function Lt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Pt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Rt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var zt=/[\n"\\]/g;function Bt(e){return e.replace(zt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Vt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Nt(t)):e.value!==``+Nt(t)&&(e.value=``+Nt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Ut(e,o,Nt(n)):Ut(e,o,Nt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Nt(s):e.removeAttribute(`name`)}function Ht(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){It(e);return}n=n==null?``:``+Nt(n),t=t==null?n:``+Nt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),It(e)}function Ut(e,t,n){t===`number`&&Rt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Wt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Nt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Gt(e,t,n){if(t!=null&&(t=``+Nt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Nt(n)}function Kt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ae(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Nt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),It(e)}function qt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Jt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function Yt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Jt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Xt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Yt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Yt(e,o,t[o])}function Zt(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Qt=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),$t=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function en(e){return $t.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function tn(){}var nn=null;function rn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var an=null,on=null;function sn(e){var t=vt(e);if(t&&(e=t.stateNode)){var n=e[ut]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Vt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Bt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ut]||null;if(!a)throw Error(i(90));Vt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Lt(r)}break a;case`textarea`:Gt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Wt(e,!!n.multiple,t,!1)}}}var cn=!1;function ln(e,t,n){if(cn)return e(t,n);cn=!0;try{return e(t)}finally{if(cn=!1,(an!==null||on!==null)&&(Su(),an&&(t=an,e=on,on=an=null,sn(t),e)))for(t=0;t<e.length;t++)sn(e[t])}}function un(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ut]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var dn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),fn=!1;if(dn)try{var pn={};Object.defineProperty(pn,`passive`,{get:function(){fn=!0}}),window.addEventListener(`test`,pn,pn),window.removeEventListener(`test`,pn,pn)}catch{fn=!1}var mn=null,hn=null,gn=null;function _n(){if(gn)return gn;var e,t=hn,n=t.length,r,i=`value`in mn?mn.value:mn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return gn=i.slice(e,1<r?1-r:void 0)}function vn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function yn(){return!0}function bn(){return!1}function xn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?yn:bn,this.isPropagationStopped=bn,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=yn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=yn)},persist:function(){},isPersistent:yn}),t}var Sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cn=xn(Sn),wn=f({},Sn,{view:0,detail:0}),Tn=xn(wn),En,Dn,On,kn=f({},wn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==On&&(On&&e.type===`mousemove`?(En=e.screenX-On.screenX,Dn=e.screenY-On.screenY):Dn=En=0,On=e),En)},movementY:function(e){return`movementY`in e?e.movementY:Dn}}),An=xn(kn),jn=xn(f({},kn,{dataTransfer:0})),Mn=xn(f({},wn,{relatedTarget:0})),Nn=xn(f({},Sn,{animationName:0,elapsedTime:0,pseudoElement:0})),Pn=xn(f({},Sn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Fn=xn(f({},Sn,{data:0})),In={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Ln={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Rn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function zn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Rn[e])?!!t[e]:!1}function Bn(){return zn}var Vn=xn(f({},wn,{key:function(e){if(e.key){var t=In[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=vn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Ln[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bn,charCode:function(e){return e.type===`keypress`?vn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?vn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Hn=xn(f({},kn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Un=xn(f({},wn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bn})),Wn=xn(f({},Sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Gn=xn(f({},kn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Kn=xn(f({},Sn,{newState:0,oldState:0})),qn=[9,13,27,32],Jn=dn&&`CompositionEvent`in window,Yn=null;dn&&`documentMode`in document&&(Yn=document.documentMode);var Xn=dn&&`TextEvent`in window&&!Yn,Zn=dn&&(!Jn||Yn&&8<Yn&&11>=Yn),Qn=` `,$n=!1;function er(e,t){switch(e){case`keyup`:return qn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function tr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var nr=!1;function rr(e,t){switch(e){case`compositionend`:return tr(t);case`keypress`:return t.which===32?($n=!0,Qn):null;case`textInput`:return e=t.data,e===Qn&&$n?null:e;default:return null}}function ir(e,t){if(nr)return e===`compositionend`||!Jn&&er(e,t)?(e=_n(),gn=hn=mn=null,nr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Zn&&t.locale!==`ko`?null:t.data;default:return null}}var ar={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function or(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!ar[e.type]:t===`textarea`}function sr(e,t,n,r){an?on?on.push(r):on=[r]:an=r,t=Od(t,`onChange`),0<t.length&&(n=new Cn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var cr=null,lr=null;function ur(e){xd(e,0)}function dr(e){if(Lt(yt(e)))return e}function fr(e,t){if(e===`change`)return t}var pr=!1;if(dn){var mr;if(dn){var hr=`oninput`in document;if(!hr){var gr=document.createElement(`div`);gr.setAttribute(`oninput`,`return;`),hr=typeof gr.oninput==`function`}mr=hr}else mr=!1;pr=mr&&(!document.documentMode||9<document.documentMode)}function _r(){cr&&(cr.detachEvent(`onpropertychange`,vr),lr=cr=null)}function vr(e){if(e.propertyName===`value`&&dr(lr)){var t=[];sr(t,lr,e,rn(e)),ln(ur,t)}}function yr(e,t,n){e===`focusin`?(_r(),cr=t,lr=n,cr.attachEvent(`onpropertychange`,vr)):e===`focusout`&&_r()}function br(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return dr(lr)}function xr(e,t){if(e===`click`)return dr(t)}function Sr(e,t){if(e===`input`||e===`change`)return dr(t)}function Cr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var wr=typeof Object.is==`function`?Object.is:Cr;function Tr(e,t){if(wr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Te.call(t,i)||!wr(e[i],t[i]))return!1}return!0}function Er(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Dr(e,t){var n=Er(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Er(n)}}function Or(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Or(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Rt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Rt(e.document)}return t}function Ar(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var jr=dn&&`documentMode`in document&&11>=document.documentMode,Mr=null,Nr=null,Pr=null,Fr=!1;function Ir(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Fr||Mr==null||Mr!==Rt(r)||(r=Mr,`selectionStart`in r&&Ar(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Pr&&Tr(Pr,r)||(Pr=r,r=Od(Nr,`onSelect`),0<r.length&&(t=new Cn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Mr)))}function Lr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Rr={animationend:Lr(`Animation`,`AnimationEnd`),animationiteration:Lr(`Animation`,`AnimationIteration`),animationstart:Lr(`Animation`,`AnimationStart`),transitionrun:Lr(`Transition`,`TransitionRun`),transitionstart:Lr(`Transition`,`TransitionStart`),transitioncancel:Lr(`Transition`,`TransitionCancel`),transitionend:Lr(`Transition`,`TransitionEnd`)},zr={},Br={};dn&&(Br=document.createElement(`div`).style,`AnimationEvent`in window||(delete Rr.animationend.animation,delete Rr.animationiteration.animation,delete Rr.animationstart.animation),`TransitionEvent`in window||delete Rr.transitionend.transition);function Vr(e){if(zr[e])return zr[e];if(!Rr[e])return e;var t=Rr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Br)return zr[e]=t[n];return e}var Hr=Vr(`animationend`),Ur=Vr(`animationiteration`),Wr=Vr(`animationstart`),Gr=Vr(`transitionrun`),Kr=Vr(`transitionstart`),qr=Vr(`transitioncancel`),Jr=Vr(`transitionend`),Yr=new Map,Xr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Xr.push(`scrollEnd`);function Zr(e,t){Yr.set(e,t),wt(t,[e])}var Qr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},$r=[],ei=0,ti=0;function ni(){for(var e=ei,t=ti=ei=0;t<e;){var n=$r[t];$r[t++]=null;var r=$r[t];$r[t++]=null;var i=$r[t];$r[t++]=null;var a=$r[t];if($r[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&oi(n,i,a)}}function ri(e,t,n,r){$r[ei++]=e,$r[ei++]=t,$r[ei++]=n,$r[ei++]=r,ti|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ii(e,t,n,r){return ri(e,t,n,r),si(e)}function ai(e,t){return ri(e,null,null,t),si(e)}function oi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Be(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function si(e){if(50<pu)throw pu=0,mu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ci={};function li(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function L(e,t,n,r){return new li(e,t,n,r)}function ui(e){return e=e.prototype,!(!e||!e.isReactComponent)}function di(e,t){var n=e.alternate;return n===null?(n=L(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function fi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function pi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)ui(e)&&(s=1);else if(typeof e==`string`)s=Gf(e,n,ue.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ee:return e=L(31,n,t,a),e.elementType=ee,e.lanes=o,e;case y:return mi(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=L(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=L(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=L(19,n,t,a),e.elementType=E,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case D:s=14;break a;case O:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=L(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function mi(e,t,n,r){return e=L(7,e,r,t),e.lanes=n,e}function hi(e,t,n){return e=L(6,e,null,t),e.lanes=n,e}function gi(e){var t=L(18,null,null,0);return t.stateNode=e,t}function _i(e,t,n){return t=L(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var vi=new WeakMap;function yi(e,t){if(typeof e==`object`&&e){var n=vi.get(e);return n===void 0?(t={value:e,source:t,stack:we(t)},vi.set(e,t),t):n}return{value:e,source:t,stack:we(t)}}var bi=[],xi=0,Si=null,Ci=0,wi=[],Ti=0,Ei=null,Di=1,Oi=``;function ki(e,t){bi[xi++]=Ci,bi[xi++]=Si,Si=e,Ci=t}function Ai(e,t,n){wi[Ti++]=Di,wi[Ti++]=Oi,wi[Ti++]=Ei,Ei=e;var r=Di;e=Oi;var i=32-Be(r)-1;r&=~(1<<i),n+=1;var a=32-Be(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Di=1<<32-Be(t)+i|n<<i|r,Oi=a+e}else Di=1<<a|n<<i|r,Oi=e}function ji(e){e.return!==null&&(ki(e,1),Ai(e,1,0))}function Mi(e){for(;e===Si;)Si=bi[--xi],bi[xi]=null,Ci=bi[--xi],bi[xi]=null;for(;e===Ei;)Ei=wi[--Ti],wi[Ti]=null,Oi=wi[--Ti],wi[Ti]=null,Di=wi[--Ti],wi[Ti]=null}function Ni(e,t){wi[Ti++]=Di,wi[Ti++]=Oi,wi[Ti++]=Ei,Di=t.id,Oi=t.overflow,Ei=e}var Pi=null,Fi=null,R=!1,Ii=null,Li=!1,Ri=Error(i(519));function zi(e){throw Gi(yi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ri}function Bi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[lt]=e,t[ut]=r,n){case`dialog`:X(`cancel`,t),X(`close`,t);break;case`iframe`:case`object`:case`embed`:X(`load`,t);break;case`video`:case`audio`:for(n=0;n<yd.length;n++)X(yd[n],t);break;case`source`:X(`error`,t);break;case`img`:case`image`:case`link`:X(`error`,t),X(`load`,t);break;case`details`:X(`toggle`,t);break;case`input`:X(`invalid`,t),Ht(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:X(`invalid`,t);break;case`textarea`:X(`invalid`,t),Kt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Pd(t.textContent,n)?(r.popover!=null&&(X(`beforetoggle`,t),X(`toggle`,t)),r.onScroll!=null&&X(`scroll`,t),r.onScrollEnd!=null&&X(`scrollend`,t),r.onClick!=null&&(t.onclick=tn),t=!0):t=!1,t||zi(e,!0)}function Vi(e){for(Pi=e.return;Pi;)switch(Pi.tag){case 5:case 31:case 13:Li=!1;return;case 27:case 3:Li=!0;return;default:Pi=Pi.return}}function Hi(e){if(e!==Pi)return!1;if(!R)return Vi(e),R=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Gd(e.type,e.memoizedProps)),n=!n),n&&Fi&&zi(e),Vi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Fi=ff(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Fi=ff(e)}else t===27?(t=Fi,$d(e.type)?(e=df,df=null,Fi=e):Fi=t):Fi=Pi?uf(e.stateNode.nextSibling):null;return!0}function Ui(){Fi=Pi=null,R=!1}function Wi(){var e=Ii;return e!==null&&($l===null?$l=e:$l.push.apply($l,e),Ii=null),e}function Gi(e){Ii===null?Ii=[e]:Ii.push(e)}var Ki=le(null),qi=null,Ji=null;function Yi(e,t,n){N(Ki,t._currentValue),t._currentValue=n}function Xi(e){e._currentValue=Ki.current,M(Ki)}function Zi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Qi(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Zi(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Zi(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function $i(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;wr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===pe.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ep]:e.push(ep))}a=a.return}e!==null&&Qi(t,e,n,r),t.flags|=262144}function ea(e){for(e=e.firstContext;e!==null;){if(!wr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ta(e){qi=e,Ji=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function na(e){return ia(qi,e)}function ra(e,t){return qi===null&&ta(e),ia(e,t)}function ia(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ji===null){if(e===null)throw Error(i(308));Ji=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ji=Ji.next=t;return n}var aa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},oa=t.unstable_scheduleCallback,sa=t.unstable_NormalPriority,ca={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function la(){return{controller:new aa,data:new Map,refCount:0}}function ua(e){e.refCount--,e.refCount===0&&oa(sa,function(){e.controller.abort()})}var da=null,fa=0,pa=0,ma=null;function ha(e,t){if(da===null){var n=da=[];fa=0,pa=pd(),ma={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return fa++,t.then(ga,ga),t}function ga(){if(--fa===0&&da!==null){ma!==null&&(ma.status=`fulfilled`);var e=da;da=null,pa=0,ma=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function _a(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var va=A.S;A.S=function(e,t){nu=Ae(),typeof t==`object`&&t&&typeof t.then==`function`&&ha(e,t),va!==null&&va(e,t)};var ya=le(null);function ba(){var e=ya.current;return e===null?G.pooledCache:e}function xa(e,t){t===null?N(ya,ya.current):N(ya,t.pool)}function Sa(){var e=ba();return e===null?null:{parent:ca._currentValue,pool:e}}var Ca=Error(i(460)),wa=Error(i(474)),Ta=Error(i(542)),Ea={then:function(){}};function Da(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Oa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(tn,tn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ma(e),e;default:if(typeof t.status==`string`)t.then(tn,tn);else{if(e=G,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ma(e),e}throw Aa=t,Ca}}function ka(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Aa=e,Ca):e}}var Aa=null;function ja(){if(Aa===null)throw Error(i(459));var e=Aa;return Aa=null,e}function Ma(e){if(e===Ca||e===Ta)throw Error(i(483))}var Na=null,Pa=0;function Fa(e){var t=Pa;return Pa+=1,Na===null&&(Na=[]),Oa(Na,e,t)}function Ia(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function La(e,t){throw t.$$typeof===m?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ra(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=di(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=hi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===O&&ka(i)===t.type)?(t=a(t,n.props),Ia(t,n),t.return=e,t):(t=pi(n.type,n.key,n.props,null,e.mode,r),Ia(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=_i(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=mi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=hi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=pi(t.type,t.key,t.props,null,e.mode,n),Ia(n,t),n.return=e,n;case v:return t=_i(t,e.mode,n),t.return=e,t;case O:return t=ka(t),f(e,t,n)}if(ae(t)||ne(t))return t=mi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Fa(t),n);if(t.$$typeof===C)return f(e,ra(e,t),n);La(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case O:return n=ka(n),p(e,t,n,r)}if(ae(n)||ne(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Fa(n),r);if(n.$$typeof===C)return p(e,t,ra(e,n),r);La(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case O:return r=ka(r),m(e,t,n,r,i)}if(ae(r)||ne(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Fa(r),i);if(r.$$typeof===C)return m(e,t,n,ra(t,r),i);La(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),R&&ki(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return R&&ki(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),R&&ki(i,h),l}function _(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),R&&ki(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return R&&ki(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),R&&ki(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&ka(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ia(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=mi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=pi(o.type,o.key,o.props,null,e.mode,c),Ia(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=_i(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=ka(o),b(e,r,o,c)}if(ae(o))return h(e,r,o,c);if(ne(o)){if(l=ne(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),_(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Fa(o),c);if(o.$$typeof===C)return b(e,r,ra(e,o),c);La(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=hi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Pa=0;var i=b(e,t,n,r);return Na=null,i}catch(t){if(t===Ca||t===Ta)throw t;var a=L(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var za=Ra(!0),Ba=Ra(!1),Va=!1;function Ha(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ua(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Wa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ga(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,W&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=si(e),oi(e,null,n),t}return ri(e,r,t,n),si(e)}function Ka(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nt(e,n)}}function qa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ja=!1;function Ya(){if(Ja){var e=ma;if(e!==null)throw e}}function Xa(e,t,n,r){Ja=!1;var i=e.updateQueue;Va=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(q&p)===p:(r&p)===p){p!==0&&p===pa&&(Ja=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Va=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),ql|=o,e.lanes=o,e.memoizedState=d}}function Za(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Qa(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Za(n[e],t)}var $a=le(null),eo=le(0);function to(e,t){e=Gl,N(eo,e),N($a,t),Gl=e|t.baseLanes}function no(){N(eo,Gl),N($a,$a.current)}function ro(){Gl=eo.current,M($a),M(eo)}var io=le(null),ao=null;function oo(e){var t=e.alternate;N(fo,fo.current&1),N(io,e),ao===null&&(t===null||$a.current!==null||t.memoizedState!==null)&&(ao=e)}function so(e){N(fo,fo.current),N(io,e),ao===null&&(ao=e)}function co(e){e.tag===22?(N(fo,fo.current),N(io,e),ao===null&&(ao=e)):lo(e)}function lo(){N(fo,fo.current),N(io,io.current)}function uo(e){M(io),ao===e&&(ao=null),M(fo)}var fo=le(0);function po(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||sf(n)||cf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var mo=0,z=null,B=null,ho=null,go=!1,_o=!1,vo=!1,yo=0,bo=0,xo=null,So=0;function V(){throw Error(i(321))}function Co(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wr(e[n],t[n]))return!1;return!0}function wo(e,t,n,r,i,a){return mo=a,z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A.H=e===null||e.memoizedState===null?Vs:Hs,vo=!1,a=n(r,i),vo=!1,_o&&(a=Eo(t,n,r,i)),To(e),a}function To(e){A.H=Bs;var t=B!==null&&B.next!==null;if(mo=0,ho=B=z=null,go=!1,bo=0,xo=null,t)throw Error(i(300));e===null||ac||(e=e.dependencies,e!==null&&ea(e)&&(ac=!0))}function Eo(e,t,n,r){z=e;var a=0;do{if(_o&&(xo=null),bo=0,_o=!1,25<=a)throw Error(i(301));if(a+=1,ho=B=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}A.H=Us,o=t(n,r)}while(_o);return o}function Do(){var e=A.H,t=e.useState()[0];return t=typeof t.then==`function`?Po(t):t,e=e.useState()[0],(B===null?null:B.memoizedState)!==e&&(z.flags|=1024),t}function Oo(){var e=yo!==0;return yo=0,e}function ko(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ao(e){if(go){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}go=!1}mo=0,ho=B=z=null,_o=!1,bo=yo=0,xo=null}function jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ho===null?z.memoizedState=ho=e:ho=ho.next=e,ho}function Mo(){if(B===null){var e=z.alternate;e=e===null?null:e.memoizedState}else e=B.next;var t=ho===null?z.memoizedState:ho.next;if(t!==null)ho=t,B=e;else{if(e===null)throw z.alternate===null?Error(i(467)):Error(i(310));B=e,e={memoizedState:B.memoizedState,baseState:B.baseState,baseQueue:B.baseQueue,queue:B.queue,next:null},ho===null?z.memoizedState=ho=e:ho=ho.next=e}return ho}function No(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Po(e){var t=bo;return bo+=1,xo===null&&(xo=[]),e=Oa(xo,e,t),t=z,(ho===null?t.memoizedState:ho.next)===null&&(t=t.alternate,A.H=t===null||t.memoizedState===null?Vs:Hs),e}function Fo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Po(e);if(e.$$typeof===C)return na(e)}throw Error(i(438,String(e)))}function Io(e){var t=null,n=z.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=z.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=No(),z.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=te;return t.index++,n}function Lo(e,t){return typeof t==`function`?t(e):t}function Ro(e){return zo(Mo(),B,e)}function zo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(mo&f)===f:(q&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===pa&&(d=!0);else if((mo&p)===p){u=u.next,p===pa&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,z.lanes|=p,ql|=p;f=u.action,vo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,z.lanes|=f,ql|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!wr(o,e.memoizedState)&&(ac=!0,d&&(n=ma,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Bo(e){var t=Mo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);wr(o,t.memoizedState)||(ac=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Vo(e,t,n){var r=z,a=Mo(),o=R;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!wr((B||a).memoizedState,n);if(s&&(a.memoizedState=n,ac=!0),a=a.queue,fs(Wo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||ho!==null&&ho.memoizedState.tag&1){if(r.flags|=2048,ss(9,{destroy:void 0},Uo.bind(null,r,a,n,t),null),G===null)throw Error(i(349));o||mo&127||Ho(r,t,n)}return n}function Ho(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=z.updateQueue,t===null?(t=No(),z.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Uo(e,t,n,r){t.value=n,t.getSnapshot=r,Go(t)&&Ko(e)}function Wo(e,t,n){return n(function(){Go(t)&&Ko(e)})}function Go(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wr(e,n)}catch{return!0}}function Ko(e){var t=ai(e,2);t!==null&&_u(t,e,2)}function qo(e){var t=jo();if(typeof e==`function`){var n=e;if(e=n(),vo){ze(!0);try{n()}finally{ze(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:e},t}function Jo(e,t,n,r){return e.baseState=n,zo(e,B,typeof r==`function`?r:Lo)}function Yo(e,t,n,r,a){if(Ls(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};A.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Xo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Xo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=A.T,o={};A.T=o;try{var s=n(i,r),c=A.S;c!==null&&c(o,s),Zo(e,t,s)}catch(n){$o(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),A.T=a}}else try{a=n(i,r),Zo(e,t,a)}catch(n){$o(e,t,n)}}function Zo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Qo(e,t,n)},function(n){return $o(e,t,n)}):Qo(e,t,n)}function Qo(e,t,n){t.status=`fulfilled`,t.value=n,es(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Xo(e,n)))}function $o(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,es(t),t=t.next;while(t!==r)}e.action=null}function es(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ts(e,t){return t}function ns(e,t){if(R){var n=G.formState;if(n!==null){a:{var r=z;if(R){if(Fi){b:{for(var i=Fi,a=Li;i.nodeType!==8;){if(!a){i=null;break b}if(i=uf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Fi=uf(i.nextSibling),r=i.data===`F!`;break a}}zi(r)}r=!1}r&&(t=n[0])}}return n=jo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ts,lastRenderedState:t},n.queue=r,n=Ps.bind(null,z,r),r.dispatch=n,r=qo(!1),a=Is.bind(null,z,!1,r.queue),r=jo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Yo.bind(null,z,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function rs(e){return is(Mo(),B,e)}function is(e,t,n){if(t=zo(e,t,ts)[0],e=Ro(Lo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Po(t)}catch(e){throw e===Ca?Ta:e}else r=t;t=Mo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(z.flags|=2048,ss(9,{destroy:void 0},as.bind(null,i,n),null)),[r,a,e]}function as(e,t){e.action=t}function os(e){var t=Mo(),n=B;if(n!==null)return is(t,n,e);Mo(),t=t.memoizedState,n=Mo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ss(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=z.updateQueue,t===null&&(t=No(),z.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function cs(){return Mo().memoizedState}function ls(e,t,n,r){var i=jo();z.flags|=e,i.memoizedState=ss(1|t,{destroy:void 0},n,r===void 0?null:r)}function us(e,t,n,r){var i=Mo();r=r===void 0?null:r;var a=i.memoizedState.inst;B!==null&&r!==null&&Co(r,B.memoizedState.deps)?i.memoizedState=ss(t,a,n,r):(z.flags|=e,i.memoizedState=ss(1|t,a,n,r))}function ds(e,t){ls(8390656,8,e,t)}function fs(e,t){us(2048,8,e,t)}function ps(e){z.flags|=4;var t=z.updateQueue;if(t===null)t=No(),z.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ms(e){var t=Mo().memoizedState;return ps({ref:t,nextImpl:e}),function(){if(W&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function hs(e,t){return us(4,2,e,t)}function gs(e,t){return us(4,4,e,t)}function _s(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function vs(e,t,n){n=n==null?null:n.concat([e]),us(4,4,_s.bind(null,t,e),n)}function ys(){}function bs(e,t){var n=Mo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Co(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function xs(e,t){var n=Mo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Co(t,r[1]))return r[0];if(r=e(),vo){ze(!0);try{e()}finally{ze(!1)}}return n.memoizedState=[r,t],r}function Ss(e,t,n){return n===void 0||mo&1073741824&&!(q&261930)?e.memoizedState=t:(e.memoizedState=n,e=gu(),z.lanes|=e,ql|=e,n)}function Cs(e,t,n,r){return wr(n,t)?n:$a.current===null?!(mo&42)||mo&1073741824&&!(q&261930)?(ac=!0,e.memoizedState=n):(e=gu(),z.lanes|=e,ql|=e,t):(e=Ss(e,n,r),wr(e,t)||(ac=!0),e)}function ws(e,t,n,r,i){var a=j.p;j.p=a!==0&&8>a?a:8;var o=A.T,s={};A.T=s,Is(e,!1,t,n);try{var c=i(),l=A.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Fs(e,t,_a(c,r),hu(e)):Fs(e,t,r,hu(e))}catch(n){Fs(e,t,{then:function(){},status:`rejected`,reason:n},hu())}finally{j.p=a,o!==null&&s.types!==null&&(o.types=s.types),A.T=o}}function Ts(){}function Es(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Ds(e).queue;ws(e,a,t,oe,n===null?Ts:function(){return Os(e),n(r)})}function Ds(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Os(e){var t=Ds(e);t.next===null&&(t=e.alternate.memoizedState),Fs(e,t.next.queue,{},hu())}function ks(){return na(ep)}function As(){return Mo().memoizedState}function js(){return Mo().memoizedState}function Ms(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=hu();e=Wa(n);var r=Ga(t,e,n);r!==null&&(_u(r,t,n),Ka(r,t,n)),t={cache:la()},e.payload=t;return}t=t.return}}function Ns(e,t,n){var r=hu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ls(e)?Rs(t,n):(n=ii(e,t,n,r),n!==null&&(_u(n,e,r),zs(n,t,r)))}function Ps(e,t,n){Fs(e,t,n,hu())}function Fs(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ls(e))Rs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,wr(s,o))return ri(e,t,i,0),G===null&&ni(),!1}catch{}if(n=ii(e,t,i,r),n!==null)return _u(n,e,r),zs(n,t,r),!0}return!1}function Is(e,t,n,r){if(r={lane:2,revertLane:pd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ls(e)){if(t)throw Error(i(479))}else t=ii(e,n,r,2),t!==null&&_u(t,e,2)}function Ls(e){var t=e.alternate;return e===z||t!==null&&t===z}function Rs(e,t){_o=go=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nt(e,n)}}var Bs={readContext:na,use:Fo,useCallback:V,useContext:V,useEffect:V,useImperativeHandle:V,useLayoutEffect:V,useInsertionEffect:V,useMemo:V,useReducer:V,useRef:V,useState:V,useDebugValue:V,useDeferredValue:V,useTransition:V,useSyncExternalStore:V,useId:V,useHostTransitionStatus:V,useFormState:V,useActionState:V,useOptimistic:V,useMemoCache:V,useCacheRefresh:V};Bs.useEffectEvent=V;var Vs={readContext:na,use:Fo,useCallback:function(e,t){return jo().memoizedState=[e,t===void 0?null:t],e},useContext:na,useEffect:ds,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ls(4194308,4,_s.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ls(4194308,4,e,t)},useInsertionEffect:function(e,t){ls(4,2,e,t)},useMemo:function(e,t){var n=jo();t=t===void 0?null:t;var r=e();if(vo){ze(!0);try{e()}finally{ze(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=jo();if(n!==void 0){var i=n(t);if(vo){ze(!0);try{n(t)}finally{ze(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ns.bind(null,z,e),[r.memoizedState,e]},useRef:function(e){var t=jo();return e={current:e},t.memoizedState=e},useState:function(e){e=qo(e);var t=e.queue,n=Ps.bind(null,z,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ys,useDeferredValue:function(e,t){return Ss(jo(),e,t)},useTransition:function(){var e=qo(!1);return e=ws.bind(null,z,e.queue,!0,!1),jo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=z,a=jo();if(R){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),G===null)throw Error(i(349));q&127||Ho(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ds(Wo.bind(null,r,o,e),[e]),r.flags|=2048,ss(9,{destroy:void 0},Uo.bind(null,r,o,n,t),null),n},useId:function(){var e=jo(),t=G.identifierPrefix;if(R){var n=Oi,r=Di;n=(r&~(1<<32-Be(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=yo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=So++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:ks,useFormState:ns,useActionState:ns,useOptimistic:function(e){var t=jo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Is.bind(null,z,!0,n),n.dispatch=t,[e,t]},useMemoCache:Io,useCacheRefresh:function(){return jo().memoizedState=Ms.bind(null,z)},useEffectEvent:function(e){var t=jo(),n={impl:e};return t.memoizedState=n,function(){if(W&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Hs={readContext:na,use:Fo,useCallback:bs,useContext:na,useEffect:fs,useImperativeHandle:vs,useInsertionEffect:hs,useLayoutEffect:gs,useMemo:xs,useReducer:Ro,useRef:cs,useState:function(){return Ro(Lo)},useDebugValue:ys,useDeferredValue:function(e,t){return Cs(Mo(),B.memoizedState,e,t)},useTransition:function(){var e=Ro(Lo)[0],t=Mo().memoizedState;return[typeof e==`boolean`?e:Po(e),t]},useSyncExternalStore:Vo,useId:As,useHostTransitionStatus:ks,useFormState:rs,useActionState:rs,useOptimistic:function(e,t){return Jo(Mo(),B,e,t)},useMemoCache:Io,useCacheRefresh:js};Hs.useEffectEvent=ms;var Us={readContext:na,use:Fo,useCallback:bs,useContext:na,useEffect:fs,useImperativeHandle:vs,useInsertionEffect:hs,useLayoutEffect:gs,useMemo:xs,useReducer:Bo,useRef:cs,useState:function(){return Bo(Lo)},useDebugValue:ys,useDeferredValue:function(e,t){var n=Mo();return B===null?Ss(n,e,t):Cs(n,B.memoizedState,e,t)},useTransition:function(){var e=Bo(Lo)[0],t=Mo().memoizedState;return[typeof e==`boolean`?e:Po(e),t]},useSyncExternalStore:Vo,useId:As,useHostTransitionStatus:ks,useFormState:os,useActionState:os,useOptimistic:function(e,t){var n=Mo();return B===null?(n.baseState=e,[e,n.queue.dispatch]):Jo(n,B,e,t)},useMemoCache:Io,useCacheRefresh:js};Us.useEffectEvent=ms;function Ws(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Gs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=hu(),i=Wa(r);i.payload=t,n!=null&&(i.callback=n),t=Ga(e,i,r),t!==null&&(_u(t,e,r),Ka(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=hu(),i=Wa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ga(e,i,r),t!==null&&(_u(t,e,r),Ka(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=hu(),r=Wa(n);r.tag=2,t!=null&&(r.callback=t),t=Ga(e,r,n),t!==null&&(_u(t,e,n),Ka(t,e,n))}};function Ks(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Tr(n,r)||!Tr(i,a):!0}function qs(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Gs.enqueueReplaceState(t,t.state,null)}function Js(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Ys(e){Qr(e)}function Xs(e){console.error(e)}function Zs(e){Qr(e)}function Qs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function $s(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function ec(e,t,n){return n=Wa(n),n.tag=3,n.payload={element:null},n.callback=function(){Qs(e,t)},n}function tc(e){return e=Wa(e),e.tag=3,e}function nc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){$s(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){$s(t,n,r),typeof i!=`function`&&(au===null?au=new Set([this]):au.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function rc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&$i(t,n,a,!0),n=io.current,n!==null){switch(n.tag){case 31:case 13:return ao===null?ku():n.alternate===null&&Kl===0&&(Kl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Ea?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),qu(e,r,a)),!1;case 22:return n.flags|=65536,r===Ea?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),qu(e,r,a)),!1}throw Error(i(435,n.tag))}return qu(e,r,a),ku(),!1}if(R)return t=io.current,t===null?(r!==Ri&&(t=Error(i(423),{cause:r}),Gi(yi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=yi(r,n),a=ec(e.stateNode,r,a),qa(e,a),Kl!==4&&(Kl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ri&&(e=Error(i(422),{cause:r}),Gi(yi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=yi(o,n),Ql===null?Ql=[o]:Ql.push(o),Kl!==4&&(Kl=2),t===null)return!0;r=yi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=ec(n.stateNode,r,e),qa(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(au===null||!au.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=tc(a),nc(a,e,n,r),qa(n,a),!1}n=n.return}while(n!==null);return!1}var ic=Error(i(461)),ac=!1;function oc(e,t,n,r){t.child=e===null?Ba(t,null,n,r):za(t,e.child,n,r)}function sc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return ta(t),r=wo(e,t,n,o,a,i),s=Oo(),e!==null&&!ac?(ko(e,t,i),jc(e,t,i)):(R&&s&&ji(t),t.flags|=1,oc(e,t,r,i),t.child)}function cc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ui(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,lc(e,t,a,r,i)):(e=pi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Mc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Tr:n,n(o,r)&&e.ref===t.ref)return jc(e,t,i)}return t.flags|=1,e=di(a,r),e.ref=t.ref,e.return=t,t.child=e}function lc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Tr(a,r)&&e.ref===t.ref)if(ac=!1,t.pendingProps=r=a,Mc(e,i))e.flags&131072&&(ac=!0);else return t.lanes=e.lanes,jc(e,t,i)}return _c(e,t,n,r,i)}function uc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return fc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&xa(t,a===null?null:a.cachePool),a===null?no():to(t,a),co(t);else return r=t.lanes=536870912,fc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&xa(t,null),no(),lo(t)):(xa(t,a.cachePool),to(t,a),lo(t),t.memoizedState=null);return oc(e,t,i,n),t.child}function dc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function fc(e,t,n,r,i){var a=ba();return a=a===null?null:{parent:ca._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&xa(t,null),no(),co(t),e!==null&&$i(e,t,r,!0),t.childLanes=i,null}function pc(e,t){return t=Ec({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function mc(e,t,n){return za(t,e.child,null,n),e=pc(t,t.pendingProps),e.flags|=2,uo(t),t.memoizedState=null,e}function hc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(R){if(r.mode===`hidden`)return e=pc(t,r),t.lanes=536870912,dc(null,e);if(so(t),(e=Fi)?(e=of(e,Li),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ei===null?null:{id:Di,overflow:Oi},retryLane:536870912,hydrationErrors:null},n=gi(e),n.return=t,t.child=n,Pi=t,Fi=null)):e=null,e===null)throw zi(t);return t.lanes=536870912,null}return pc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(so(t),a)if(t.flags&256)t.flags&=-257,t=mc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(ac||$i(e,t,n,!1),a=(n&e.childLanes)!==0,ac||a){if(r=G,r!==null&&(s=rt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,ai(e,s),_u(r,e,s),ic;ku(),t=mc(e,t,n)}else e=o.treeContext,Fi=uf(s.nextSibling),Pi=t,R=!0,Ii=null,Li=!1,e!==null&&Ni(t,e),t=pc(t,r),t.flags|=4096;return t}return e=di(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function gc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function _c(e,t,n,r,i){return ta(t),n=wo(e,t,n,r,void 0,i),r=Oo(),e!==null&&!ac?(ko(e,t,i),jc(e,t,i)):(R&&r&&ji(t),t.flags|=1,oc(e,t,n,i),t.child)}function vc(e,t,n,r,i,a){return ta(t),t.updateQueue=null,n=Eo(t,r,n,i),To(e),r=Oo(),e!==null&&!ac?(ko(e,t,a),jc(e,t,a)):(R&&r&&ji(t),t.flags|=1,oc(e,t,n,a),t.child)}function yc(e,t,n,r,i){if(ta(t),t.stateNode===null){var a=ci,o=n.contextType;typeof o==`object`&&o&&(a=na(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Gs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ha(t),o=n.contextType,a.context=typeof o==`object`&&o?na(o):ci,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ws(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Gs.enqueueReplaceState(a,a.state,null),Xa(t,r,a,i),Ya(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Js(n,s);a.props=c;var l=a.context,u=n.contextType;o=ci,typeof u==`object`&&u&&(o=na(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&qs(t,a,r,o),Va=!1;var f=t.memoizedState;a.state=f,Xa(t,r,a,i),Ya(),l=t.memoizedState,s||f!==l||Va?(typeof d==`function`&&(Ws(t,n,d,r),l=t.memoizedState),(c=Va||Ks(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ua(e,t),o=t.memoizedProps,u=Js(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ci,typeof l==`object`&&l&&(c=na(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&qs(t,a,r,c),Va=!1,f=t.memoizedState,a.state=f,Xa(t,r,a,i),Ya();var p=t.memoizedState;o!==d||f!==p||Va||e!==null&&e.dependencies!==null&&ea(e.dependencies)?(typeof s==`function`&&(Ws(t,n,s,r),p=t.memoizedState),(u=Va||Ks(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ea(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,gc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=za(t,e.child,null,i),t.child=za(t,null,n,i)):oc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=jc(e,t,i),e}function bc(e,t,n,r){return Ui(),t.flags|=256,oc(e,t,n,r),t.child}var xc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sc(e){return{baseLanes:e,cachePool:Sa()}}function Cc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Xl),e}function wc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(fo.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(R){if(a?oo(t):lo(t),(e=Fi)?(e=of(e,Li),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ei===null?null:{id:Di,overflow:Oi},retryLane:536870912,hydrationErrors:null},n=gi(e),n.return=t,t.child=n,Pi=t,Fi=null)):e=null,e===null)throw zi(t);return cf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(lo(t),a=t.mode,c=Ec({mode:`hidden`,children:c},a),r=mi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=Sc(n),r.childLanes=Cc(e,s,n),t.memoizedState=xc,dc(null,r)):(oo(t),Tc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(oo(t),t.flags&=-257,t=Dc(e,t,n)):t.memoizedState===null?(lo(t),c=r.fallback,a=t.mode,r=Ec({mode:`visible`,children:r.children},a),c=mi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,za(t,e.child,null,n),r=t.child,r.memoizedState=Sc(n),r.childLanes=Cc(e,s,n),t.memoizedState=xc,t=dc(null,r)):(lo(t),t.child=e.child,t.flags|=128,t=null);else if(oo(t),cf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Gi({value:r,source:null,stack:null}),t=Dc(e,t,n)}else if(ac||$i(e,t,n,!1),s=(n&e.childLanes)!==0,ac||s){if(s=G,s!==null&&(r=rt(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,ai(e,r),_u(s,e,r),ic;sf(c)||ku(),t=Dc(e,t,n)}else sf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Fi=uf(c.nextSibling),Pi=t,R=!0,Ii=null,Li=!1,e!==null&&Ni(t,e),t=Tc(t,r.children),t.flags|=4096);return t}return a?(lo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=di(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=mi(c,a,n,null),c.flags|=2):c=di(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,dc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=Sc(n):(a=c.cachePool,a===null?a=Sa():(l=ca._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Cc(e,s,n),t.memoizedState=xc,dc(e.child,r)):(oo(t),n=e.child,e=n.sibling,n=di(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Tc(e,t){return t=Ec({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Ec(e,t){return e=L(22,e,null,t),e.lanes=0,e}function Dc(e,t,n){return za(t,e.child,null,n),e=Tc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Oc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zi(e.return,t,n)}function kc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Ac(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=fo.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,N(fo,o),oc(e,t,r,n),r=R?Ci:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Oc(e,n,t);else if(e.tag===19)Oc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&po(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),kc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&po(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}kc(t,!0,n,null,a,r);break;case`together`:kc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function jc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ql|=t.lanes,(n&t.childLanes)===0)if(e!==null){if($i(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=di(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=di(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Mc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ea(e))):!0}function Nc(e,t,n){switch(t.tag){case 3:me(t,t.stateNode.containerInfo),Yi(t,ca,e.memoizedState.cache),Ui();break;case 27:case 5:ge(t);break;case 4:me(t,t.stateNode.containerInfo);break;case 10:Yi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,so(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(oo(t),e=jc(e,t,n),e===null?null:e.sibling):wc(e,t,n):(oo(t),t.flags|=128,null);oo(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=($i(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Ac(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),N(fo,fo.current),r)break;return null;case 22:return t.lanes=0,uc(e,t,n,t.pendingProps);case 24:Yi(t,ca,e.memoizedState.cache)}return jc(e,t,n)}function Pc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ac=!0;else{if(!Mc(e,n)&&!(t.flags&128))return ac=!1,Nc(e,t,n);ac=!!(e.flags&131072)}else ac=!1,R&&t.flags&1048576&&Ai(t,Ci,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=ka(t.elementType),t.type=e,typeof e==`function`)ui(e)?(r=Js(e,r),t.tag=1,t=yc(null,t,e,r,n)):(t.tag=0,t=_c(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=sc(null,t,e,r,n);break a}else if(a===D){t.tag=14,t=cc(null,t,e,r,n);break a}}throw t=ie(e)||e,Error(i(306,t,``))}}return t;case 0:return _c(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Js(r,t.pendingProps),yc(e,t,r,a,n);case 3:a:{if(me(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ua(e,t),Xa(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Yi(t,ca,r),r!==o.cache&&Qi(t,[ca],n,!0),Ya(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=bc(e,t,r,n);break a}else if(r!==a){a=yi(Error(i(424)),t),Gi(a),t=bc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Fi=uf(e.firstChild),Pi=t,R=!0,Ii=null,Li=!0,n=Ba(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ui(),r===a){t=jc(e,t,n);break a}oc(e,t,r,n)}t=t.child}return t;case 26:return gc(e,t),e===null?(n=jf(t.type,null,t.pendingProps,null))?t.memoizedState=n:R||(n=t.type,e=t.pendingProps,r=Hd(fe.current).createElement(n),r[lt]=t,r[ut]=e,Id(r,n,e),xt(r),t.stateNode=r):t.memoizedState=jf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ge(t),e===null&&R&&(r=t.stateNode=mf(t.type,t.pendingProps,fe.current),Pi=t,Li=!0,a=Fi,$d(t.type)?(df=a,Fi=uf(r.firstChild)):Fi=a),oc(e,t,t.pendingProps.children,n),gc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&R&&((a=r=Fi)&&(r=rf(r,t.type,t.pendingProps,Li),r===null?a=!1:(t.stateNode=r,Pi=t,Fi=uf(r.firstChild),Li=!1,a=!0)),a||zi(t)),ge(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Gd(a,o)?r=null:s!==null&&Gd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=wo(e,t,Do,null,null,n),ep._currentValue=a),gc(e,t),oc(e,t,r,n),t.child;case 6:return e===null&&R&&((e=n=Fi)&&(n=af(n,t.pendingProps,Li),n===null?e=!1:(t.stateNode=n,Pi=t,Fi=null,e=!0)),e||zi(t)),null;case 13:return wc(e,t,n);case 4:return me(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=za(t,null,r,n):oc(e,t,r,n),t.child;case 11:return sc(e,t,t.type,t.pendingProps,n);case 7:return oc(e,t,t.pendingProps,n),t.child;case 8:return oc(e,t,t.pendingProps.children,n),t.child;case 12:return oc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Yi(t,t.type,r.value),oc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,ta(t),a=na(a),r=r(a),t.flags|=1,oc(e,t,r,n),t.child;case 14:return cc(e,t,t.type,t.pendingProps,n);case 15:return lc(e,t,t.type,t.pendingProps,n);case 19:return Ac(e,t,n);case 31:return hc(e,t,n);case 22:return uc(e,t,n,t.pendingProps);case 24:return ta(t),r=na(ca),e===null?(a=ba(),a===null&&(a=G,o=la(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ha(t),Yi(t,ca,a)):((e.lanes&n)!==0&&(Ua(e,t),Xa(t,null,null,n),Ya()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Yi(t,ca,r),r!==a.cache&&Qi(t,[ca],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Yi(t,ca,r))),oc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Fc(e){e.flags|=4}function Ic(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Eu())e.flags|=8192;else throw Aa=Ea,wa}else e.flags&=-16777217}function Lc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Kf(t))if(Eu())e.flags|=8192;else throw Aa=Ea,wa}function Rc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Ze(),e.lanes|=t,Zl|=t)}function zc(e,t){if(!R)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Bc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vc(e,t,n){var r=t.pendingProps;switch(Mi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bc(t),null;case 1:return Bc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Xi(ca),he(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Hi(t)?Fc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Wi())),Bc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Fc(t),o===null?(Bc(t),Ic(t,a,null,r,n)):(Bc(t),Lc(t,o))):o?o===e.memoizedState?(Bc(t),t.flags&=-16777217):(Fc(t),Bc(t),Lc(t,o)):(e=e.memoizedProps,e!==r&&Fc(t),Bc(t),Ic(t,a,e,r,n)),null;case 27:if(_e(t),n=fe.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Bc(t),null}e=ue.current,Hi(t)?Bi(t,e):(e=mf(a,r,n),t.stateNode=e,Fc(t))}return Bc(t),null;case 5:if(_e(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Bc(t),null}if(o=ue.current,Hi(t))Bi(t,o);else{var s=Hd(fe.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[lt]=t,o[ut]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Id(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Fc(t)}}return Bc(t),Ic(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=fe.current,Hi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Pi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[lt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Pd(e.nodeValue,n)),e||zi(t,!0)}else e=Hd(e).createTextNode(r),e[lt]=t,t.stateNode=e}return Bc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Hi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[lt]=t}else Ui(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Bc(t),e=!1}else n=Wi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(uo(t),t):(uo(t),null);if(t.flags&128)throw Error(i(558))}return Bc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Hi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[lt]=t}else Ui(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Bc(t),a=!1}else a=Wi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(uo(t),t):(uo(t),null)}return uo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Rc(t,t.updateQueue),Bc(t),null);case 4:return he(),e===null&&wd(t.stateNode.containerInfo),Bc(t),null;case 10:return Xi(t.type),Bc(t),null;case 19:if(M(fo),r=t.memoizedState,r===null)return Bc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)zc(r,!1);else{if(Kl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=po(e),o!==null){for(t.flags|=128,zc(r,!1),e=o.updateQueue,t.updateQueue=e,Rc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)fi(n,e),n=n.sibling;return N(fo,fo.current&1|2),R&&ki(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ae()>ru&&(t.flags|=128,a=!0,zc(r,!1),t.lanes=4194304)}else{if(!a)if(e=po(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Rc(t,e),zc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!R)return Bc(t),null}else 2*Ae()-r.renderingStartTime>ru&&n!==536870912&&(t.flags|=128,a=!0,zc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Bc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ae(),e.sibling=null,n=fo.current,N(fo,a?n&1|2:n&1),R&&ki(t,r.treeForkCount),e);case 22:case 23:return uo(t),ro(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Bc(t),t.subtreeFlags&6&&(t.flags|=8192)):Bc(t),n=t.updateQueue,n!==null&&Rc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&M(ya),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Xi(ca),Bc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Hc(e,t){switch(Mi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xi(ca),he(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return _e(t),null;case 31:if(t.memoizedState!==null){if(uo(t),t.alternate===null)throw Error(i(340));Ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(uo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return M(fo),null;case 4:return he(),null;case 10:return Xi(t.type),null;case 22:case 23:return uo(t),ro(),e!==null&&M(ya),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Xi(ca),null;case 25:return null;default:return null}}function Uc(e,t){switch(Mi(t),t.tag){case 3:Xi(ca),he();break;case 26:case 27:case 5:_e(t);break;case 4:he();break;case 31:t.memoizedState!==null&&uo(t);break;case 13:uo(t);break;case 19:M(fo);break;case 10:Xi(t.type);break;case 22:case 23:uo(t),ro(),e!==null&&M(ya);break;case 24:Xi(ca)}}function Wc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Y(t,t.return,e)}}function Gc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Y(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Y(t,t.return,e)}}function Kc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Qa(t,n)}catch(t){Y(e,e.return,t)}}}function qc(e,t,n){n.props=Js(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Y(e,t,n)}}function Jc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Y(e,t,n)}}function Yc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Y(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Y(e,t,n)}else n.current=null}function Xc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Y(e,e.return,t)}}function Zc(e,t,n){try{var r=e.stateNode;Ld(r,e.type,n,t),r[ut]=t}catch(t){Y(e,e.return,t)}}function Qc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&$d(e.type)||e.tag===4}function $c(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Qc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&$d(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function el(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=tn));else if(r!==4&&(r===27&&$d(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(el(e,t,n),e=e.sibling;e!==null;)el(e,t,n),e=e.sibling}function tl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&$d(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}function nl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Id(t,r,n),t[lt]=e,t[ut]=n}catch(t){Y(e,e.return,t)}}var rl=!1,il=!1,al=!1,ol=typeof WeakSet==`function`?WeakSet:Set,sl=null;function cl(e,t){if(e=e.containerInfo,Bd=lp,e=kr(e),Ar(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Vd={focusedElem:e,selectionRange:n},lp=!1,sl=t;sl!==null;)if(t=sl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,sl=e;else for(;sl!==null;){switch(t=sl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Js(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Y(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)nf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:nf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,sl=e;break}sl=t.return}}function ll(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Sl(e,n),r&4&&Wc(5,n);break;case 1:if(Sl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Y(n,n.return,e)}else{var i=Js(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Y(n,n.return,e)}}r&64&&Kc(n),r&512&&Jc(n,n.return);break;case 3:if(Sl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Qa(e,t)}catch(e){Y(n,n.return,e)}}break;case 27:t===null&&r&4&&nl(n);case 26:case 5:Sl(e,n),t===null&&r&4&&Xc(n),r&512&&Jc(n,n.return);break;case 12:Sl(e,n);break;case 31:Sl(e,n),r&4&&U(e,n);break;case 13:Sl(e,n),r&4&&ml(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Xu.bind(null,n),lf(e,n))));break;case 22:if(r=n.memoizedState!==null||rl,!r){t=t!==null&&t.memoizedState!==null||il,i=rl;var a=il;rl=r,(il=t)&&!a?wl(e,n,(n.subtreeFlags&8772)!=0):Sl(e,n),rl=i,il=a}break;case 30:break;default:Sl(e,n)}}function ul(e){var t=e.alternate;t!==null&&(e.alternate=null,ul(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&gt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var H=null,dl=!1;function fl(e,t,n){for(n=n.child;n!==null;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(F&&typeof F.onCommitFiberUnmount==`function`)try{F.onCommitFiberUnmount(Re,n)}catch{}switch(n.tag){case 26:il||Yc(n,t),fl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:il||Yc(n,t);var r=H,i=dl;$d(n.type)&&(H=n.stateNode,dl=!1),fl(e,t,n),hf(n.stateNode),H=r,dl=i;break;case 5:il||Yc(n,t);case 6:if(r=H,i=dl,H=null,fl(e,t,n),H=r,dl=i,H!==null)if(dl)try{(H.nodeType===9?H.body:H.nodeName===`HTML`?H.ownerDocument.body:H).removeChild(n.stateNode)}catch(e){Y(n,t,e)}else try{H.removeChild(n.stateNode)}catch(e){Y(n,t,e)}break;case 18:H!==null&&(dl?(e=H,ef(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Fp(e)):ef(H,n.stateNode));break;case 4:r=H,i=dl,H=n.stateNode.containerInfo,dl=!0,fl(e,t,n),H=r,dl=i;break;case 0:case 11:case 14:case 15:Gc(2,n,t),il||Gc(4,n,t),fl(e,t,n);break;case 1:il||(Yc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&qc(n,t,r)),fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:il=(r=il)||n.memoizedState!==null,fl(e,t,n),il=r;break;default:fl(e,t,n)}}function U(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Fp(e)}catch(e){Y(t,t.return,e)}}}function ml(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Fp(e)}catch(e){Y(t,t.return,e)}}function hl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ol),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ol),t;default:throw Error(i(435,e.tag))}}function gl(e,t){var n=hl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Zu.bind(null,e,t);t.then(r,r)}})}function _l(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if($d(c.type)){H=c.stateNode,dl=!1;break a}break;case 5:H=c.stateNode,dl=!1;break a;case 3:case 4:H=c.stateNode.containerInfo,dl=!0;break a}c=c.return}if(H===null)throw Error(i(160));pl(o,s,a),H=null,dl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)yl(t,e),t=t.sibling}var vl=null;function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_l(t,e),bl(e),r&4&&(Gc(3,e,e.return),Wc(3,e),Gc(5,e,e.return));break;case 1:_l(t,e),bl(e),r&512&&(il||n===null||Yc(n,n.return)),r&64&&rl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=vl;if(_l(t,e),bl(e),r&512&&(il||n===null||Yc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[ht]||o[lt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Id(o,r,n),o[lt]=e,xt(o),r=o;break a;case`link`:var s=Uf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Id(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Uf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Id(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[lt]=e,xt(o),r=o}e.stateNode=r}else Wf(a,e.type,e.stateNode);else e.stateNode=Rf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Zc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Wf(a,e.type,e.stateNode):Rf(a,r,e.memoizedProps))}break;case 27:_l(t,e),bl(e),r&512&&(il||n===null||Yc(n,n.return)),n!==null&&r&4&&Zc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(_l(t,e),bl(e),r&512&&(il||n===null||Yc(n,n.return)),e.flags&32){a=e.stateNode;try{qt(a,``)}catch(t){Y(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Zc(e,a,n===null?a:n.memoizedProps)),r&1024&&(al=!0);break;case 6:if(_l(t,e),bl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Y(e,e.return,t)}}break;case 3:if(Hf=null,a=vl,vl=vf(t.containerInfo),_l(t,e),vl=a,bl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fp(t.containerInfo)}catch(t){Y(e,e.return,t)}al&&(al=!1,xl(e));break;case 4:r=vl,vl=vf(e.stateNode.containerInfo),_l(t,e),bl(e),vl=r;break;case 12:_l(t,e),bl(e);break;case 31:_l(t,e),bl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 13:_l(t,e),bl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(tu=Ae()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=rl,d=il;if(rl=u||a,il=d||l,_l(t,e),il=d,rl=u,bl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||rl||il||Cl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Y(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Y(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?tf(m,!0):tf(l.stateNode,!1)}catch(e){Y(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,gl(e,n))));break;case 19:_l(t,e),bl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 30:break;case 21:break;default:_l(t,e),bl(e)}}function bl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Qc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;tl(e,$c(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(qt(o,``),n.flags&=-33),tl(e,$c(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;el(e,$c(e),s);break;default:throw Error(i(161))}}catch(t){Y(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;xl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Sl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ll(e,t.alternate,t),t=t.sibling}function Cl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Gc(4,t,t.return),Cl(t);break;case 1:Yc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&qc(t,t.return,n),Cl(t);break;case 27:hf(t.stateNode);case 26:case 5:Yc(t,t.return),Cl(t);break;case 22:t.memoizedState===null&&Cl(t);break;case 30:Cl(t);break;default:Cl(t)}e=e.sibling}}function wl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:wl(i,a,n),Wc(4,a);break;case 1:if(wl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Y(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Za(c[i],s)}catch(e){Y(r,r.return,e)}}n&&o&64&&Kc(a),Jc(a,a.return);break;case 27:nl(a);case 26:case 5:wl(i,a,n),n&&r===null&&o&4&&Xc(a),Jc(a,a.return);break;case 12:wl(i,a,n);break;case 31:wl(i,a,n),n&&o&4&&U(i,a);break;case 13:wl(i,a,n),n&&o&4&&ml(i,a);break;case 22:a.memoizedState===null&&wl(i,a,n),Jc(a,a.return);break;case 30:break;default:wl(i,a,n)}t=t.sibling}}function Tl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ua(n))}function El(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ua(e))}function Dl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ol(e,t,n,r),t=t.sibling}function Ol(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Dl(e,t,n,r),i&2048&&Wc(9,t);break;case 1:Dl(e,t,n,r);break;case 3:Dl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ua(e)));break;case 12:if(i&2048){Dl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Y(t,t.return,e)}}else Dl(e,t,n,r);break;case 31:Dl(e,t,n,r);break;case 13:Dl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Dl(e,t,n,r):(a._visibility|=2,kl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Dl(e,t,n,r):Al(e,t),i&2048&&Tl(o,t);break;case 24:Dl(e,t,n,r),i&2048&&El(t.alternate,t);break;default:Dl(e,t,n,r)}}function kl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:kl(a,o,s,c,i),Wc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,kl(a,o,s,c,i)):u._visibility&2?kl(a,o,s,c,i):Al(a,o),i&&l&2048&&Tl(o.alternate,o);break;case 24:kl(a,o,s,c,i),i&&l&2048&&El(o.alternate,o);break;default:kl(a,o,s,c,i)}t=t.sibling}}function Al(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Al(n,r),i&2048&&Tl(r.alternate,r);break;case 24:Al(n,r),i&2048&&El(r.alternate,r);break;default:Al(n,r)}t=t.sibling}}var jl=8192;function Ml(e,t,n){if(e.subtreeFlags&jl)for(e=e.child;e!==null;)Nl(e,t,n),e=e.sibling}function Nl(e,t,n){switch(e.tag){case 26:Ml(e,t,n),e.flags&jl&&e.memoizedState!==null&&qf(n,vl,e.memoizedState,e.memoizedProps);break;case 5:Ml(e,t,n);break;case 3:case 4:var r=vl;vl=vf(e.stateNode.containerInfo),Ml(e,t,n),vl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=jl,jl=16777216,Ml(e,t,n),jl=r):Ml(e,t,n));break;default:Ml(e,t,n)}}function Pl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Fl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];sl=r,Rl(r,e)}Pl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Il(e),e=e.sibling}function Il(e){switch(e.tag){case 0:case 11:case 15:Fl(e),e.flags&2048&&Gc(9,e,e.return);break;case 3:Fl(e);break;case 12:Fl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ll(e)):Fl(e);break;default:Fl(e)}}function Ll(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];sl=r,Rl(r,e)}Pl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gc(8,t,t.return),Ll(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Ll(t));break;default:Ll(t)}e=e.sibling}}function Rl(e,t){for(;sl!==null;){var n=sl;switch(n.tag){case 0:case 11:case 15:Gc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ua(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,sl=r;else a:for(n=e;sl!==null;){r=sl;var i=r.sibling,a=r.return;if(ul(r),r===n){sl=null;break a}if(i!==null){i.return=a,sl=i;break a}sl=a}}}var zl={getCacheForType:function(e){var t=na(ca),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return na(ca).controller.signal}},Bl=typeof WeakMap==`function`?WeakMap:Map,W=0,G=null,K=null,q=0,J=0,Vl=null,Hl=!1,Ul=!1,Wl=!1,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=null,$l=null,eu=!1,tu=0,nu=0,ru=1/0,iu=null,au=null,ou=0,su=null,cu=null,lu=0,uu=0,du=null,fu=null,pu=0,mu=null;function hu(){return W&2&&q!==0?q&-q:A.T===null?ot():pd()}function gu(){if(Xl===0)if(!(q&536870912)||R){var e=Ge;Ge<<=1,!(Ge&3932160)&&(Ge=262144),Xl=e}else Xl=536870912;return e=io.current,e!==null&&(e.flags|=32),Xl}function _u(e,t,n){(e===G&&(J===2||J===9)||e.cancelPendingCommit!==null)&&(wu(e,0),xu(e,q,Xl,!1)),$e(e,n),(!(W&2)||e!==G)&&(e===G&&(!(W&2)&&(Jl|=n),Kl===4&&xu(e,q,Xl,!1)),ad(e))}function vu(e,t,n){if(W&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ye(e,t),a=r?Mu(e,t):Au(e,t,!0),o=r;do{if(a===0){Ul&&!r&&xu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!bu(n)){a=Au(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Ql;var l=c.current.memoizedState.isDehydrated;if(l&&(wu(c,s).flags|=256),s=Au(c,s,!1),s!==2){if(Wl&&!l){c.errorRecoveryDisabledLanes|=o,Jl|=o,a=4;break a}o=$l,$l=a,o!==null&&($l===null?$l=o:$l.push.apply($l,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){wu(e,0),xu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:xu(r,t,Xl,!Hl);break a;case 2:$l=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=tu+300-Ae(),10<a)){if(xu(r,t,Xl,!Hl),Je(r,0,!0)!==0)break a;lu=t,r.timeoutHandle=Jd(yu.bind(null,r,n,$l,iu,eu,t,Xl,Jl,Zl,Hl,o,`Throttled`,-0,0),a);break a}yu(r,n,$l,iu,eu,t,Xl,Jl,Zl,Hl,o,null,-0,0)}}break}while(1);ad(e)}function yu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tn},Nl(t,a,d);var m=(a&62914560)===a?tu-Ae():(a&4194048)===a?nu-Ae():0;if(m=Yf(d,m),m!==null){lu=a,e.cancelPendingCommit=m(zu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),xu(e,a,o,!l);return}}zu(e,t,a,n,r,i,o,s,c)}function bu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!wr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function xu(e,t,n,r){t&=~Yl,t&=~Jl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Be(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&tt(e,n,t)}function Su(){return W&6?!0:(od(0,!1),!1)}function Cu(){if(K!==null){if(J===0)var e=K.return;else e=K,Ji=qi=null,Ao(e),Na=null,Pa=0,e=K;for(;e!==null;)Uc(e.alternate,e),e=e.return;K=null}}function wu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Yd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),lu=0,Cu(),G=e,K=n=di(e.current,null),q=t,J=0,Vl=null,Hl=!1,Ul=Ye(e,t),Wl=!1,Zl=Xl=Yl=Jl=ql=Kl=0,$l=Ql=null,eu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Be(r),a=1<<i;t|=e[i],r&=~a}return Gl=t,ni(),n}function Tu(e,t){z=null,A.H=Bs,t===Ca||t===Ta?(t=ja(),J=3):t===wa?(t=ja(),J=4):J=t===ic?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Vl=t,K===null&&(Kl=1,Qs(e,yi(t,e.current)))}function Eu(){var e=io.current;return e===null?!0:(q&4194048)===q?ao===null:(q&62914560)===q||q&536870912?e===ao:!1}function Du(){var e=A.H;return A.H=Bs,e===null?Bs:e}function Ou(){var e=A.A;return A.A=zl,e}function ku(){Kl=4,Hl||(q&4194048)!==q&&io.current!==null||(Ul=!0),!(ql&134217727)&&!(Jl&134217727)||G===null||xu(G,q,Xl,!1)}function Au(e,t,n){var r=W;W|=2;var i=Du(),a=Ou();(G!==e||q!==t)&&(iu=null,wu(e,t)),t=!1;var o=Kl;a:do try{if(J!==0&&K!==null){var s=K,c=Vl;switch(J){case 8:Cu(),o=6;break a;case 3:case 2:case 9:case 6:io.current===null&&(t=!0);var l=J;if(J=0,Vl=null,Iu(e,s,c,l),n&&Ul){o=0;break a}break;default:l=J,J=0,Vl=null,Iu(e,s,c,l)}}ju(),o=Kl;break}catch(t){Tu(e,t)}while(1);return t&&e.shellSuspendCounter++,Ji=qi=null,W=r,A.H=i,A.A=a,K===null&&(G=null,q=0,ni()),o}function ju(){for(;K!==null;)Pu(K)}function Mu(e,t){var n=W;W|=2;var r=Du(),a=Ou();G!==e||q!==t?(iu=null,ru=Ae()+500,wu(e,t)):Ul=Ye(e,t);a:do try{if(J!==0&&K!==null){t=K;var o=Vl;b:switch(J){case 1:J=0,Vl=null,Iu(e,t,o,1);break;case 2:case 9:if(Da(o)){J=0,Vl=null,Fu(t);break}t=function(){J!==2&&J!==9||G!==e||(J=7),ad(e)},o.then(t,t);break a;case 3:J=7;break a;case 4:J=5;break a;case 7:Da(o)?(J=0,Vl=null,Fu(t)):(J=0,Vl=null,Iu(e,t,o,7));break;case 5:var s=null;switch(K.tag){case 26:s=K.memoizedState;case 5:case 27:var c=K;if(s?Kf(s):c.stateNode.complete){J=0,Vl=null;var l=c.sibling;if(l!==null)K=l;else{var u=c.return;u===null?K=null:(K=u,Lu(u))}break b}}J=0,Vl=null,Iu(e,t,o,5);break;case 6:J=0,Vl=null,Iu(e,t,o,6);break;case 8:Cu(),Kl=6;break a;default:throw Error(i(462))}}Nu();break}catch(t){Tu(e,t)}while(1);return Ji=qi=null,A.H=r,A.A=a,W=n,K===null?(G=null,q=0,ni(),Kl):0}function Nu(){for(;K!==null&&!Oe();)Pu(K)}function Pu(e){var t=Pc(e.alternate,e,Gl);e.memoizedProps=e.pendingProps,t===null?Lu(e):K=t}function Fu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=vc(n,t,t.pendingProps,t.type,void 0,q);break;case 11:t=vc(n,t,t.pendingProps,t.type.render,t.ref,q);break;case 5:Ao(t);default:Uc(n,t),t=K=fi(t,Gl),t=Pc(n,t,Gl)}e.memoizedProps=e.pendingProps,t===null?Lu(e):K=t}function Iu(e,t,n,r){Ji=qi=null,Ao(t),Na=null,Pa=0;var i=t.return;try{if(rc(e,i,t,n,q)){Kl=1,Qs(e,yi(n,e.current)),K=null;return}}catch(t){if(i!==null)throw K=i,t;Kl=1,Qs(e,yi(n,e.current)),K=null;return}t.flags&32768?(R||r===1?e=!0:Ul||q&536870912?e=!1:(Hl=e=!0,(r===2||r===9||r===3||r===6)&&(r=io.current,r!==null&&r.tag===13&&(r.flags|=16384))),Ru(t,e)):Lu(t)}function Lu(e){var t=e;do{if(t.flags&32768){Ru(t,Hl);return}e=t.return;var n=Vc(t.alternate,t,Gl);if(n!==null){K=n;return}if(t=t.sibling,t!==null){K=t;return}K=t=e}while(t!==null);Kl===0&&(Kl=5)}function Ru(e,t){do{var n=Hc(e.alternate,e);if(n!==null){n.flags&=32767,K=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){K=e;return}K=e=n}while(e!==null);Kl=6,K=null}function zu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Wu();while(ou!==0);if(W&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ti,et(e,n,o,s,c,l),e===G&&(K=G=null,q=0),cu=t,su=e,lu=n,uu=o,du=a,fu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Qu(Pe,function(){return Gu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=A.T,A.T=null,a=j.p,j.p=2,s=W,W|=4;try{cl(e,t,n)}finally{W=s,j.p=a,A.T=r}}ou=1,Bu(),Vu(),Hu()}}function Bu(){if(ou===1){ou=0;var e=su,t=cu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=A.T,A.T=null;var r=j.p;j.p=2;var i=W;W|=4;try{yl(t,e);var a=Vd,o=kr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Or(s.ownerDocument.documentElement,s)){if(c!==null&&Ar(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Dr(s,h),v=Dr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}lp=!!Bd,Vd=Bd=null}finally{W=i,j.p=r,A.T=n}}e.current=t,ou=2}}function Vu(){if(ou===2){ou=0;var e=su,t=cu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=A.T,A.T=null;var r=j.p;j.p=2;var i=W;W|=4;try{ll(e,t.alternate,t)}finally{W=i,j.p=r,A.T=n}}ou=3}}function Hu(){if(ou===4||ou===3){ou=0,ke();var e=su,t=cu,n=lu,r=fu;t.subtreeFlags&10256||t.flags&10256?ou=5:(ou=0,cu=su=null,Uu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(au=null),at(n),t=t.stateNode,F&&typeof F.onCommitFiberRoot==`function`)try{F.onCommitFiberRoot(Re,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=A.T,i=j.p,j.p=2,A.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{A.T=t,j.p=i}}lu&3&&Wu(),ad(e),i=e.pendingLanes,n&261930&&i&42?e===mu?pu++:(pu=0,mu=e):pu=0,od(0,!1)}}function Uu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ua(t)))}function Wu(){return Bu(),Vu(),Hu(),Gu()}function Gu(){if(ou!==5)return!1;var e=su,t=uu;uu=0;var n=at(lu),r=A.T,a=j.p;try{j.p=32>n?32:n,A.T=null,n=du,du=null;var o=su,s=lu;if(ou=0,cu=su=null,lu=0,W&6)throw Error(i(331));var c=W;if(W|=4,Il(o.current),Ol(o,o.current,s,n),W=c,od(0,!1),F&&typeof F.onPostCommitFiberRoot==`function`)try{F.onPostCommitFiberRoot(Re,o)}catch{}return!0}finally{j.p=a,A.T=r,Uu(e,t)}}function Ku(e,t,n){t=yi(n,t),t=ec(e.stateNode,t,2),e=Ga(e,t,2),e!==null&&($e(e,2),ad(e))}function Y(e,t,n){if(e.tag===3)Ku(e,e,n);else for(;t!==null;){if(t.tag===3){Ku(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(au===null||!au.has(r))){e=yi(n,e),n=tc(2),r=Ga(t,n,2),r!==null&&(nc(n,r,t,e),$e(r,2),ad(r));break}}t=t.return}}function qu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Wl=!0,i.add(n),e=Ju.bind(null,e,t,n),t.then(e,e))}function Ju(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,G===e&&(q&n)===n&&(Kl===4||Kl===3&&(q&62914560)===q&&300>Ae()-tu?!(W&2)&&wu(e,0):Yl|=n,Zl===q&&(Zl=0)),ad(e)}function Yu(e,t){t===0&&(t=Ze()),e=ai(e,t),e!==null&&($e(e,t),ad(e))}function Xu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Yu(e,n)}function Zu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Yu(e,n)}function Qu(e,t){return Ee(e,t)}var $u=null,ed=null,td=!1,nd=!1,rd=!1,id=0;function ad(e){e!==ed&&e.next===null&&(ed===null?$u=ed=e:ed=ed.next=e),nd=!0,td||(td=!0,fd())}function od(e,t){if(!rd&&nd){rd=!0;do for(var n=!1,r=$u;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Be(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,dd(r,a))}else a=q,a=Je(r,r===G?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ye(r,a)||(n=!0,dd(r,a));r=r.next}while(n);rd=!1}}function sd(){cd()}function cd(){nd=td=!1;var e=0;id!==0&&qd()&&(e=id);for(var t=Ae(),n=null,r=$u;r!==null;){var i=r.next,a=ld(r,t);a===0?(r.next=null,n===null?$u=i:n.next=i,i===null&&(ed=n)):(n=r,(e!==0||a&3)&&(nd=!0)),r=i}ou!==0&&ou!==5||od(e,!1),id!==0&&(id=0)}function ld(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Be(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Xe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=G,n=q,n=Je(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(J===2||J===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&De(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ye(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&De(r),at(n)){case 2:case 8:n=Ne;break;case 32:n=Pe;break;case 268435456:n=Ie;break;default:n=Pe}return r=ud.bind(null,e),n=Ee(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&De(r),e.callbackPriority=2,e.callbackNode=null,2}function ud(e,t){if(ou!==0&&ou!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Wu()&&e.callbackNode!==n)return null;var r=q;return r=Je(e,e===G?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(vu(e,r,t),ld(e,Ae()),e.callbackNode!=null&&e.callbackNode===n?ud.bind(null,e):null)}function dd(e,t){if(Wu())return null;vu(e,t,!0)}function fd(){Zd(function(){W&6?Ee(Me,sd):cd()})}function pd(){if(id===0){var e=pa;e===0&&(e=We,We<<=1,!(We&261888)&&(We=256)),id=e}return id}function md(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:en(``+e)}function hd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function gd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=md((i[ut]||null).action),o=r.submitter;o&&(t=(t=o[ut]||null)?md(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Cn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(id!==0){var e=o?hd(i,o):new FormData(i);Es(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?hd(i,o):new FormData(i),Es(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var _d=0;_d<Xr.length;_d++){var vd=Xr[_d];Zr(vd.toLowerCase(),`on`+(vd[0].toUpperCase()+vd.slice(1)))}Zr(Hr,`onAnimationEnd`),Zr(Ur,`onAnimationIteration`),Zr(Wr,`onAnimationStart`),Zr(`dblclick`,`onDoubleClick`),Zr(`focusin`,`onFocus`),Zr(`focusout`,`onBlur`),Zr(Gr,`onTransitionRun`),Zr(Kr,`onTransitionStart`),Zr(qr,`onTransitionCancel`),Zr(Jr,`onTransitionEnd`),Tt(`onMouseEnter`,[`mouseout`,`mouseover`]),Tt(`onMouseLeave`,[`mouseout`,`mouseover`]),Tt(`onPointerEnter`,[`pointerout`,`pointerover`]),Tt(`onPointerLeave`,[`pointerout`,`pointerover`]),wt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),wt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),wt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),wt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),wt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),wt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var yd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),bd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(yd));function xd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Qr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Qr(e)}i.currentTarget=null,a=c}}}}function X(e,t){var n=t[ft];n===void 0&&(n=t[ft]=new Set);var r=e+`__bubble`;n.has(r)||(Td(t,e,2,!1),n.add(r))}function Sd(e,t,n){var r=0;t&&(r|=4),Td(n,e,r,t)}var Cd=`_reactListening`+Math.random().toString(36).slice(2);function wd(e){if(!e[Cd]){e[Cd]=!0,St.forEach(function(t){t!==`selectionchange`&&(bd.has(t)||Sd(t,!1,e),Sd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Cd]||(t[Cd]=!0,Sd(`selectionchange`,!1,t))}}function Td(e,t,n,r){switch(gp(t)){case 2:var i=up;break;case 8:i=dp;break;default:i=fp}n=i.bind(null,t,n,e),i=void 0,!fn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Ed(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=_t(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}ln(function(){var r=a,i=rn(n),s=[];a:{var c=Yr.get(e);if(c!==void 0){var l=Cn,u=e;switch(e){case`keypress`:if(vn(n)===0)break a;case`keydown`:case`keyup`:l=Vn;break;case`focusin`:u=`focus`,l=Mn;break;case`focusout`:u=`blur`,l=Mn;break;case`beforeblur`:case`afterblur`:l=Mn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=An;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=jn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Un;break;case Hr:case Ur:case Wr:l=Nn;break;case Jr:l=Wn;break;case`scroll`:case`scrollend`:l=Tn;break;case`wheel`:l=Gn;break;case`copy`:case`cut`:case`paste`:l=Pn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Hn;break;case`toggle`:case`beforetoggle`:l=Kn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=un(m,p),g!=null&&d.push(Dd(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==nn&&(u=n.relatedTarget||n.fromElement)&&(_t(u)||u[dt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?_t(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=An,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Hn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:yt(l),h=u==null?c:yt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,_t(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=kd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Ad(s,c,l,d,!1),u!==null&&f!==null&&Ad(s,f,u,d,!0)}}a:{if(c=r?yt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=fr;else if(or(c))if(pr)v=Sr;else{v=br;var y=yr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Zt(r.elementType)&&(v=fr):v=xr;if(v&&=v(e,r)){sr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Ut(c,`number`,c.value)}switch(y=r?yt(r):window,e){case`focusin`:(or(y)||y.contentEditable===`true`)&&(Mr=y,Nr=r,Pr=null);break;case`focusout`:Pr=Nr=Mr=null;break;case`mousedown`:Fr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Fr=!1,Ir(s,n,i);break;case`selectionchange`:if(jr)break;case`keydown`:case`keyup`:Ir(s,n,i)}var b;if(Jn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else nr?er(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Zn&&n.locale!==`ko`&&(nr||x!==`onCompositionStart`?x===`onCompositionEnd`&&nr&&(b=_n()):(mn=i,hn=`value`in mn?mn.value:mn.textContent,nr=!0)),y=Od(r,x),0<y.length&&(x=new Fn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=tr(n),b!==null&&(x.data=b)))),(b=Xn?rr(e,n):ir(e,n))&&(x=Od(r,`onBeforeInput`),0<x.length&&(y=new Fn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),gd(s,e,r,n,i)}xd(s,t)})}function Dd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Od(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=un(e,n),i!=null&&r.unshift(Dd(e,i,a)),i=un(e,t),i!=null&&r.push(Dd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function kd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ad(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=un(n,a),l!=null&&o.unshift(Dd(n,l,c))):i||(l=un(n,a),l!=null&&o.push(Dd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var jd=/\r\n?/g,Md=/\u0000|\uFFFD/g;function Nd(e){return(typeof e==`string`?e:``+e).replace(jd,`
`).replace(Md,``)}function Pd(e,t){return t=Nd(t),Nd(e)===t}function Z(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||qt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&qt(e,``+r);break;case`className`:jt(e,`class`,r);break;case`tabIndex`:jt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:jt(e,n,r);break;case`style`:Xt(e,r,o);break;case`data`:if(t!==`object`){jt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=en(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Z(e,t,`name`,a.name,a,null),Z(e,t,`formEncType`,a.formEncType,a,null),Z(e,t,`formMethod`,a.formMethod,a,null),Z(e,t,`formTarget`,a.formTarget,a,null)):(Z(e,t,`encType`,a.encType,a,null),Z(e,t,`method`,a.method,a,null),Z(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=en(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=tn);break;case`onScroll`:r!=null&&X(`scroll`,e);break;case`onScrollEnd`:r!=null&&X(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=en(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:X(`beforetoggle`,e),X(`toggle`,e),At(e,`popover`,r);break;case`xlinkActuate`:Mt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Mt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Mt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Mt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Mt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Mt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Mt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Mt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Mt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:At(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=Qt.get(n)||n,At(e,n,r))}}function Fd(e,t,n,r,a,o){switch(n){case`style`:Xt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?qt(e,r):(typeof r==`number`||typeof r==`bigint`)&&qt(e,``+r);break;case`onScroll`:r!=null&&X(`scroll`,e);break;case`onScrollEnd`:r!=null&&X(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=tn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Ct.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[ut]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):At(e,n,r)}}}function Id(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:X(`error`,e),X(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Z(e,t,o,s,n,null)}}a&&Z(e,t,`srcSet`,n.srcSet,n,null),r&&Z(e,t,`src`,n.src,n,null);return;case`input`:X(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Z(e,t,r,d,n,null)}}Ht(e,o,c,l,u,s,a,!1);return;case`select`:for(a in X(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Z(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Wt(e,!!r,n,!0):Wt(e,!!r,t,!1);return;case`textarea`:for(s in X(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Z(e,t,s,c,n,null)}Kt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Z(e,t,l,r,n,null)}return;case`dialog`:X(`beforetoggle`,e),X(`toggle`,e),X(`cancel`,e),X(`close`,e);break;case`iframe`:case`object`:X(`load`,e);break;case`video`:case`audio`:for(r=0;r<yd.length;r++)X(yd[r],e);break;case`image`:X(`error`,e),X(`load`,e);break;case`details`:X(`toggle`,e);break;case`embed`:case`source`:case`link`:X(`error`,e),X(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Z(e,t,u,r,n,null)}return;default:if(Zt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Fd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Z(e,t,c,r,n,null))}function Ld(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Z(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Z(e,t,p,m,r,f)}}Vt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Z(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Z(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Wt(e,!!n,n?[]:``,!1):Wt(e,!!n,t,!0)):Wt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Z(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Z(e,t,s,a,r,o)}Gt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Z(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Z(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Z(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Z(e,t,u,p,r,m)}return;default:if(Zt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Fd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Fd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Z(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Z(e,t,f,p,r,m)}function Rd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function zd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Rd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Rd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Bd=null,Vd=null;function Hd(e){return e.nodeType===9?e:e.ownerDocument}function Ud(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Wd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Gd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Kd=null;function qd(){var e=window.event;return e&&e.type===`popstate`?e===Kd?!1:(Kd=e,!0):(Kd=null,!1)}var Jd=typeof setTimeout==`function`?setTimeout:void 0,Yd=typeof clearTimeout==`function`?clearTimeout:void 0,Xd=typeof Promise==`function`?Promise:void 0,Zd=typeof queueMicrotask==`function`?queueMicrotask:Xd===void 0?Jd:function(e){return Xd.resolve(null).then(e).catch(Qd)};function Qd(e){setTimeout(function(){throw e})}function $d(e){return e===`head`}function ef(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Fp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)hf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,hf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[ht]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&hf(e.ownerDocument.body);n=i}while(n);Fp(t)}function tf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function nf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:nf(n),gt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function rf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[ht])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=uf(e.nextSibling),e===null)break}return null}function af(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=uf(e.nextSibling),e===null))return null;return e}function of(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=uf(e.nextSibling),e===null))return null;return e}function sf(e){return e.data===`$?`||e.data===`$~`}function cf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function lf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function uf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var df=null;function ff(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return uf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function pf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function mf(e,t,n){switch(t=Hd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function hf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);gt(e)}var gf=new Map,_f=new Set;function vf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var yf=j.d;j.d={f:bf,r:xf,D:wf,C:Tf,L:Ef,m:Df,X:kf,S:Of,M:Af};function bf(){var e=yf.f(),t=Su();return e||t}function xf(e){var t=vt(e);t!==null&&t.tag===5&&t.type===`form`?Os(t):yf.r(e)}var Sf=typeof document>`u`?null:document;function Cf(e,t,n){var r=Sf;if(r&&typeof t==`string`&&t){var i=Bt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),_f.has(i)||(_f.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Id(t,`link`,e),xt(t),r.head.appendChild(t)))}}function wf(e){yf.D(e),Cf(`dns-prefetch`,e,null)}function Tf(e,t){yf.C(e,t),Cf(`preconnect`,e,t)}function Ef(e,t,n){yf.L(e,t,n);var r=Sf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Bt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Bt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Bt(n.imageSizes)+`"]`)):i+=`[href="`+Bt(e)+`"]`;var a=i;switch(t){case`style`:a=Mf(e);break;case`script`:a=If(e)}gf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),gf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Nf(a))||t===`script`&&r.querySelector(Lf(a))||(t=r.createElement(`link`),Id(t,`link`,e),xt(t),r.head.appendChild(t)))}}function Df(e,t){yf.m(e,t);var n=Sf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Bt(r)+`"][href="`+Bt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=If(e)}if(!gf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),gf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Lf(a)))return}r=n.createElement(`link`),Id(r,`link`,e),xt(r),n.head.appendChild(r)}}}function Of(e,t,n){yf.S(e,t,n);var r=Sf;if(r&&e){var i=bt(r).hoistableStyles,a=Mf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Nf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=gf.get(a))&&Bf(e,n);var c=o=r.createElement(`link`);xt(c),Id(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,zf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function kf(e,t){yf.X(e,t);var n=Sf;if(n&&e){var r=bt(n).hoistableScripts,i=If(e),a=r.get(i);a||(a=n.querySelector(Lf(i)),a||(e=f({src:e,async:!0},t),(t=gf.get(i))&&Vf(e,t),a=n.createElement(`script`),xt(a),Id(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t){yf.M(e,t);var n=Sf;if(n&&e){var r=bt(n).hoistableScripts,i=If(e),a=r.get(i);a||(a=n.querySelector(Lf(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=gf.get(i))&&Vf(e,t),a=n.createElement(`script`),xt(a),Id(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function jf(e,t,n,r){var a=(a=fe.current)?vf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Mf(n.href),n=bt(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Mf(n.href);var o=bt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Nf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),gf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},gf.set(e,n),o||Ff(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=If(n),n=bt(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Mf(e){return`href="`+Bt(e)+`"`}function Nf(e){return`link[rel="stylesheet"][`+e+`]`}function Pf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Ff(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Id(t,`link`,n),xt(t),e.head.appendChild(t))}function If(e){return`[src="`+Bt(e)+`"]`}function Lf(e){return`script[async]`+e}function Rf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Bt(n.href)+`"]`);if(r)return t.instance=r,xt(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),xt(r),Id(r,`style`,a),zf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Mf(n.href);var o=e.querySelector(Nf(a));if(o)return t.state.loading|=4,t.instance=o,xt(o),o;r=Pf(n),(a=gf.get(a))&&Bf(r,a),o=(e.ownerDocument||e).createElement(`link`),xt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Id(o,`link`,r),t.state.loading|=4,zf(o,n.precedence,e),t.instance=o;case`script`:return o=If(n.src),(a=e.querySelector(Lf(o)))?(t.instance=a,xt(a),a):(r=n,(a=gf.get(o))&&(r=f({},n),Vf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),xt(a),Id(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,zf(r,n.precedence,e));return t.instance}function zf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Vf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Hf=null;function Uf(e,t,n){if(Hf===null){var r=new Map,i=Hf=new Map;i.set(n,r)}else i=Hf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[ht]||a[lt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Wf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Gf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Kf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function qf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Mf(r.href),a=t.querySelector(Nf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Xf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,xt(a);return}a=t.ownerDocument||t,r=Pf(r),(i=gf.get(i))&&Bf(r,i),a=a.createElement(`link`),xt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Id(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Xf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Jf=0;function Yf(e,t){return e.stylesheets&&e.count===0&&Qf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Jf===0&&(Jf=62500*zd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Jf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Xf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Zf=null;function Qf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zf=new Map,t.forEach($f,e),Zf=null,Xf.call(e))}function $f(e,t){if(!(t.state.loading&4)){var n=Zf.get(e);if(n)var r=n.get(null);else{n=new Map,Zf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Xf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ep={$$typeof:C,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function tp(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qe(0),this.hiddenUpdates=Qe(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function np(e,t,n,r,i,a,o,s,c,l,u,d){return e=new tp(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=L(3,null,null,t),e.current=a,a.stateNode=e,t=la(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ha(a),e}function rp(e){return e?(e=ci,e):ci}function ip(e,t,n,r,i,a){i=rp(i),r.context===null?r.context=i:r.pendingContext=i,r=Wa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ga(e,r,t),n!==null&&(_u(n,e,t),Ka(n,e,t))}function ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function op(e,t){ap(e,t),(e=e.alternate)&&ap(e,t)}function sp(e){if(e.tag===13||e.tag===31){var t=ai(e,67108864);t!==null&&_u(t,e,67108864),op(e,67108864)}}function cp(e){if(e.tag===13||e.tag===31){var t=hu();t=it(t);var n=ai(e,t);n!==null&&_u(n,e,t),op(e,t)}}var lp=!0;function up(e,t,n,r){var i=A.T;A.T=null;var a=j.p;try{j.p=2,fp(e,t,n,r)}finally{j.p=a,A.T=i}}function dp(e,t,n,r){var i=A.T;A.T=null;var a=j.p;try{j.p=8,fp(e,t,n,r)}finally{j.p=a,A.T=i}}function fp(e,t,n,r){if(lp){var i=pp(r);if(i===null)Ed(e,t,r,mp,n),Tp(e,r);else if(Dp(i,e,t,n,r))r.stopPropagation();else if(Tp(e,r),t&4&&-1<wp.indexOf(e)){for(;i!==null;){var a=vt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=qe(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Be(o);s.entanglements[1]|=c,o&=~c}ad(a),!(W&6)&&(ru=Ae()+500,od(0,!1))}}break;case 31:case 13:s=ai(a,2),s!==null&&_u(s,a,2),Su(),op(a,2)}if(a=pp(r),a===null&&Ed(e,t,r,mp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Ed(e,t,r,null,n)}}function pp(e){return e=rn(e),hp(e)}var mp=null;function hp(e){if(mp=null,e=_t(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return mp=e,null}function gp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(je()){case Me:return 2;case Ne:return 8;case Pe:case Fe:return 32;case Ie:return 268435456;default:return 32}default:return 32}}var _p=!1,vp=null,yp=null,bp=null,xp=new Map,Sp=new Map,Cp=[],wp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Tp(e,t){switch(e){case`focusin`:case`focusout`:vp=null;break;case`dragenter`:case`dragleave`:yp=null;break;case`mouseover`:case`mouseout`:bp=null;break;case`pointerover`:case`pointerout`:xp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Sp.delete(t.pointerId)}}function Ep(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=vt(t),t!==null&&sp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Dp(e,t,n,r,i){switch(t){case`focusin`:return vp=Ep(vp,e,t,n,r,i),!0;case`dragenter`:return yp=Ep(yp,e,t,n,r,i),!0;case`mouseover`:return bp=Ep(bp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return xp.set(a,Ep(xp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Sp.set(a,Ep(Sp.get(a)||null,e,t,n,r,i)),!0}return!1}function Op(e){var t=_t(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,st(e.priority,function(){cp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,st(e.priority,function(){cp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function kp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);nn=r,n.target.dispatchEvent(r),nn=null}else return t=vt(n),t!==null&&sp(t),e.blockedOn=n,!1;t.shift()}return!0}function Ap(e,t,n){kp(e)&&n.delete(t)}function jp(){_p=!1,vp!==null&&kp(vp)&&(vp=null),yp!==null&&kp(yp)&&(yp=null),bp!==null&&kp(bp)&&(bp=null),xp.forEach(Ap),Sp.forEach(Ap)}function Mp(e,n){e.blockedOn===n&&(e.blockedOn=null,_p||(_p=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,jp)))}var Np=null;function Pp(e){Np!==e&&(Np=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Np===e&&(Np=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(hp(r||n)===null)continue;break}var a=vt(n);a!==null&&(e.splice(t,3),t-=3,Es(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Fp(e){function t(t){return Mp(t,e)}vp!==null&&Mp(vp,e),yp!==null&&Mp(yp,e),bp!==null&&Mp(bp,e),xp.forEach(t),Sp.forEach(t);for(var n=0;n<Cp.length;n++){var r=Cp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Cp.length&&(n=Cp[0],n.blockedOn===null);)Op(n),n.blockedOn===null&&Cp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[ut]||null;if(typeof a==`function`)o||Pp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ut]||null)s=o.formAction;else if(hp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Pp(n)}}}function Ip(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Lp(e){this._internalRoot=e}Rp.prototype.render=Lp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;ip(n,hu(),e,t,null,null)},Rp.prototype.unmount=Lp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ip(e.current,2,null,e,null,null),Su(),t[dt]=null}};function Rp(e){this._internalRoot=e}Rp.prototype.unstable_scheduleHydration=function(e){if(e){var t=ot();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Cp.length&&t!==0&&t<Cp[n].priority;n++);Cp.splice(n,0,e),n===0&&Op(e)}};var zp=n.version;if(zp!==`19.2.4`)throw Error(i(527,zp,`19.2.4`));j.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Bp={bundleType:0,version:`19.2.4`,rendererPackageName:`react-dom`,currentDispatcherRef:A,reconcilerVersion:`19.2.4`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Vp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vp.isDisabled&&Vp.supportsFiber)try{Re=Vp.inject(Bp),F=Vp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Ys,s=Xs,c=Zs;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=np(e,1,!1,null,null,n,r,null,o,s,c,Ip),e[dt]=t.current,wd(e),new Lp(t)}})),y=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=v()})),b=s((e=>{var t=p().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;e.c=function(e){return t.H.useMemoCache(e)}})),x=s(((e,t)=>{t.exports=b()})),S=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),C=s(((e,t)=>{t.exports=S()})),w=u(p(),1),T=(0,w.createContext)({});function E(e){let t=(0,w.useRef)(null);return t.current===null&&(t.current=e()),t.current}var D=typeof window<`u`?w.useLayoutEffect:w.useEffect,O=(0,w.createContext)(null);function ee(e,t){e.indexOf(t)===-1&&e.push(t)}function te(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var k=(e,t,n)=>n>t?t:n<e?e:n,ne={},re=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ie(e){return typeof e==`object`&&!!e}var ae=e=>/^0[^.\s]+$/u.test(e);function A(e){let t;return()=>(t===void 0&&(t=e()),t)}var j=e=>e,oe=(e,t)=>n=>t(e(n)),se=(...e)=>e.reduce(oe),ce=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},le=class{constructor(){this.subscriptions=[]}add(e){return ee(this.subscriptions,e),()=>te(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},M=e=>e*1e3,N=e=>e/1e3;function ue(e,t){return t?1e3/t*e:0}var de=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,fe=1e-7,pe=12;function me(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=de(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>fe&&++s<pe);return o}function he(e,t,n,r){if(e===t&&n===r)return j;let i=t=>me(t,0,1,e,n);return e=>e===0||e===1?e:de(i(e),t,r)}var ge=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_e=e=>t=>1-e(1-t),ve=he(.33,1.53,.69,.99),ye=_e(ve),be=ge(ye),xe=e=>e>=1?1:(e*=2)<1?.5*ye(e):.5*(2-2**(-10*(e-1))),Se=e=>1-Math.sin(Math.acos(e)),Ce=_e(Se),we=ge(Se),Te=he(.42,0,1,1),Ee=he(0,0,.58,1),De=he(.42,0,.58,1),Oe=e=>Array.isArray(e)&&typeof e[0]!=`number`,ke=e=>Array.isArray(e)&&typeof e[0]==`number`,Ae={linear:j,easeIn:Te,easeInOut:De,easeOut:Ee,circIn:Se,circInOut:we,circOut:Ce,backIn:ye,backInOut:be,backOut:ve,anticipate:xe},je=e=>typeof e==`string`,Me=e=>{if(ke(e)){e.length;let[t,n,r,i]=e;return he(t,n,r,i)}else if(je(e))return Ae[e],`${e}`,Ae[e];return e},Ne=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Pe={value:null,addProjectionMetrics:null};function Fe(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&Pe.value&&Pe.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var Ie=40;function Le(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Ne.reduce((e,n)=>(e[n]=Fe(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=ne.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Ie),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Ne.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Ne.length;t++)o[Ne[t]].cancel(e)},state:i,steps:o}}var{schedule:P,cancel:Re,state:F,steps:ze}=Le(typeof requestAnimationFrame<`u`?requestAnimationFrame:j,!0),Be;function Ve(){Be=void 0}var He={now:()=>(Be===void 0&&He.set(F.isProcessing||ne.useManualTiming?F.timestamp:performance.now()),Be),set:e=>{Be=e,queueMicrotask(Ve)}},Ue={layout:0,mainThread:0,waapi:0},We=e=>t=>typeof t==`string`&&t.startsWith(e),Ge=We(`--`),Ke=We(`var(--`),qe=e=>Ke(e)?Je.test(e.split(`/*`)[0].trim()):!1,Je=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ye(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Xe={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Ze={...Xe,transform:e=>k(0,1,e)},Qe={...Xe,default:1},$e=e=>Math.round(e*1e5)/1e5,et=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function tt(e){return e==null}var nt=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rt=(e,t)=>n=>!!(typeof n==`string`&&nt.test(n)&&n.startsWith(e)||t&&!tt(n)&&Object.prototype.hasOwnProperty.call(n,t)),it=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(et);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},at=e=>k(0,255,e),ot={...Xe,transform:e=>Math.round(at(e))},st={test:rt(`rgb`,`red`),parse:it(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+ot.transform(e)+`, `+ot.transform(t)+`, `+ot.transform(n)+`, `+$e(Ze.transform(r))+`)`};function ct(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var lt={test:rt(`#`),parse:ct,transform:st.transform},ut=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),dt=ut(`deg`),ft=ut(`%`),I=ut(`px`),pt=ut(`vh`),mt=ut(`vw`),ht={...ft,parse:e=>ft.parse(e)/100,transform:e=>ft.transform(e*100)},gt={test:rt(`hsl`,`hue`),parse:it(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+ft.transform($e(t))+`, `+ft.transform($e(n))+`, `+$e(Ze.transform(r))+`)`},_t={test:e=>st.test(e)||lt.test(e)||gt.test(e),parse:e=>st.test(e)?st.parse(e):gt.test(e)?gt.parse(e):lt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?st.transform(e):gt.transform(e),getAnimatableNone:e=>{let t=_t.parse(e);return t.alpha=0,_t.transform(t)}},vt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function yt(e){return isNaN(e)&&typeof e==`string`&&(e.match(et)?.length||0)+(e.match(vt)?.length||0)>0}var bt=`number`,xt=`color`,St=`var`,Ct=`var(`,wt="${}",Tt=/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 Et(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Tt,e=>(_t.test(e)?(r.color.push(a),i.push(xt),n.push(_t.parse(e))):e.startsWith(Ct)?(r.var.push(a),i.push(St),n.push(e)):(r.number.push(a),i.push(bt),n.push(parseFloat(e))),++a,wt)).split(wt),indexes:r,types:i}}function Dt(e){return Et(e).values}function Ot({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===bt?i+=$e(r[a]):e===xt?i+=_t.transform(r[a]):i+=r[a]}return i}}function kt(e){return Ot(Et(e))}var At=e=>typeof e==`number`?0:_t.test(e)?_t.getAnimatableNone(e):e,jt=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:At(e);function Mt(e){let t=Et(e);return Ot(t)(t.values.map((e,n)=>jt(e,t.split[n])))}var Nt={test:yt,parse:Dt,createTransformer:kt,getAnimatableNone:Mt};function Pt(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ft({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Pt(s,r,e+1/3),a=Pt(s,r,e),o=Pt(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function It(e,t){return n=>n>0?t:e}var Lt=(e,t,n)=>e+(t-e)*n,Rt=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},zt=[lt,st,gt],Bt=e=>zt.find(t=>t.test(e));function Vt(e){let t=Bt(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===gt&&(n=Ft(n)),n}var Ht=(e,t)=>{let n=Vt(e),r=Vt(t);if(!n||!r)return It(e,t);let i={...n};return e=>(i.red=Rt(n.red,r.red,e),i.green=Rt(n.green,r.green,e),i.blue=Rt(n.blue,r.blue,e),i.alpha=Lt(n.alpha,r.alpha,e),st.transform(i))},Ut=new Set([`none`,`hidden`]);function Wt(e,t){return Ut.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Gt(e,t){return n=>Lt(e,t,n)}function Kt(e){return typeof e==`number`?Gt:typeof e==`string`?qe(e)?It:_t.test(e)?Ht:Xt:Array.isArray(e)?qt:typeof e==`object`?_t.test(e)?Ht:Jt:It}function qt(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Kt(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Jt(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Kt(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Yt(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Xt=(e,t)=>{let n=Nt.createTransformer(t),r=Et(e),i=Et(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Ut.has(e)&&!i.values.length||Ut.has(t)&&!r.values.length?Wt(e,t):se(qt(Yt(r,i),i.values),n):(`${e}${t}`,It(e,t))};function Zt(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?Lt(e,t,n):Kt(e)(e,t)}var Qt=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>P.update(t,e),stop:()=>Re(t),now:()=>F.isProcessing?F.timestamp:He.now()}},$t=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},en=2e4;function tn(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function nn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(tn(r),en);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:N(i)}}var rn={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 an(e,t){return e*Math.sqrt(1-t*t)}var on=12;function sn(e,t,n){let r=n;for(let n=1;n<on;n++)r-=e(r)/t(r);return r}var cn=.001;function ln({duration:e=rn.duration,bounce:t=rn.bounce,velocity:n=rn.velocity,mass:r=rn.mass}){let i,a;rn.maxDuration;let o=1-t;o=k(rn.minDamping,rn.maxDamping,o),e=k(rn.minDuration,rn.maxDuration,N(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=an(t,o),c=Math.exp(-i);return cn-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=an(t**2,o);return(-i(t)+cn>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-cn+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=sn(i,a,s);if(e=M(e),isNaN(c))return{stiffness:rn.stiffness,damping:rn.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var un=[`duration`,`bounce`],dn=[`stiffness`,`damping`,`mass`];function fn(e,t){return t.some(t=>e[t]!==void 0)}function pn(e){let t={velocity:rn.velocity,stiffness:rn.stiffness,damping:rn.damping,mass:rn.mass,isResolvedFromDuration:!1,...e};if(!fn(e,dn)&&fn(e,un))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*k(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:rn.mass,stiffness:i,damping:a}}else{let n=ln({...e,velocity:0});t={...t,...n,mass:rn.mass},t.isResolvedFromDuration=!0}return t}function mn(e=rn.visualDuration,t=rn.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=pn({...n,velocity:-N(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=N(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?rn.restSpeed.granular:rn.restSpeed.default,i||=v?rn.restDelta.granular:rn.restDelta.default;let y,b,x,S,C,w;if(h<1)x=an(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>M(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=M(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=M(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(tn(T),en),t=$t(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}mn.applyToOptions=e=>{let t=nn(e,100,mn);return e.ease=t.ease,e.duration=M(t.duration),e.type=`keyframes`,e};var hn=5;function gn(e,t,n){let r=Math.max(t-hn,0);return ue(n-e(r),t-r)}function _n({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=mn({keyframes:[f.value,m(f.value)],velocity:gn(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function vn(e,t,n){let r=[],i=n||ne.mix||Zt,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=se(Array.isArray(t)?t[n]||j:t,a)),r.push(a)}return r}function yn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=vn(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=ce(e[r],e[r+1],n);return s[r](i)};return n?t=>l(k(e[0],e[a-1],t)):l}function bn(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=ce(0,t,r);e.push(Lt(n,1,i))}}function xn(e){let t=[0];return bn(t,e.length-1),t}function Sn(e,t){return e.map(e=>e*t)}function Cn(e,t){return e.map(()=>t||De).splice(0,e.length-1)}function wn({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Oe(r)?r.map(Me):Me(r),a={done:!1,value:t[0]},o=yn(Sn(n&&n.length===t.length?n:xn(t),e),t,{ease:Array.isArray(i)?i:Cn(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Tn=e=>e!==null;function En(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Tn),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Dn={decay:_n,inertia:_n,tween:wn,keyframes:wn,spring:mn};function On(e){typeof e.type==`string`&&(e.type=Dn[e.type])}var kn=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},An=e=>e/100,jn=class extends kn{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==He.now()&&this.tick(He.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Ue.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;On(e);let{type:t=wn,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||wn;s!==wn&&typeof o[0]!=`number`&&(this.mixKeyframes=se(An,Zt(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=tn(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=k(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==_n&&(b.value=En(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return N(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+N(e)}get time(){return N(this.currentTime)}set time(e){e=M(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return gn(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(He.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=N(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Qt,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(He.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Ue.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function Mn(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Nn=e=>e*180/Math.PI,Pn=e=>In(Nn(Math.atan2(e[1],e[0]))),Fn={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Pn,rotateZ:Pn,skewX:e=>Nn(Math.atan(e[1])),skewY:e=>Nn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},In=e=>(e%=360,e<0&&(e+=360),e),Ln=Pn,Rn=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zn=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Bn={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Rn,scaleY:zn,scale:e=>(Rn(e)+zn(e))/2,rotateX:e=>In(Nn(Math.atan2(e[6],e[5]))),rotateY:e=>In(Nn(Math.atan2(-e[2],e[0]))),rotateZ:Ln,rotate:Ln,skewX:e=>Nn(Math.atan(e[4])),skewY:e=>Nn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Vn(e){return e.includes(`scale`)?1:0}function Hn(e,t){if(!e||e===`none`)return Vn(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Bn,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Fn,i=t}if(!i)return Vn(t);let a=r[t],o=i[1].split(`,`).map(Wn);return typeof a==`function`?a(o):o[a]}var Un=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Hn(n,t)};function Wn(e){return parseFloat(e.trim())}var Gn=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Kn=new Set(Gn),qn=e=>e===Xe||e===I,Jn=new Set([`x`,`y`,`z`]),Yn=Gn.filter(e=>!Jn.has(e));function Xn(e){let t=[];return Yn.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith(`scale`)?1:0))}),t}var Zn={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Hn(t,`x`),y:(e,{transform:t})=>Hn(t,`y`)};Zn.translateX=Zn.x,Zn.translateY=Zn.y;var Qn=new Set,$n=!1,er=!1,tr=!1;function nr(){if(er){let e=Array.from(Qn).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Xn(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}er=!1,$n=!1,Qn.forEach(e=>e.complete(tr)),Qn.clear()}function rr(){Qn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(er=!0)})}function ir(){tr=!0,rr(),nr(),tr=!1}var ar=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Qn.add(this),$n||($n=!0,P.read(rr),P.resolveKeyframes(nr))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Mn(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Qn.delete(this)}cancel(){this.state===`scheduled`&&(Qn.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},or=e=>e.startsWith(`--`);function sr(e,t,n){or(t)?e.style.setProperty(t,n):e.style[t]=n}var cr={};function lr(e,t){let n=A(e);return()=>cr[t]??n()}var ur=lr(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),dr=lr(()=>window.ViewTimeline!==void 0,`viewTimeline`),fr=lr(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),pr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,mr={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:pr([0,.65,.55,1]),circOut:pr([.55,0,1,.45]),backIn:pr([.31,.01,.66,-.59]),backOut:pr([.33,1.53,.69,.99])};function hr(e,t){if(e)return typeof e==`function`?fr()?$t(e,t):`ease-out`:ke(e)?pr(e):Array.isArray(e)?e.map(e=>hr(e,t)||mr.easeOut):mr[e]}function gr(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=hr(s,i);Array.isArray(d)&&(u.easing=d),Pe.value&&Ue.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return Pe.value&&p.finished.finally(()=>{Ue.waapi--}),p}function _r(e){return typeof e==`function`&&`applyToOptions`in e}function vr({type:e,...t}){return _r(e)&&fr()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var yr=class extends kn{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=vr(e);this.animation=gr(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=En(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),sr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return N(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+N(e)}get time(){return N(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=M(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ur()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),j):r(this)}},br={anticipate:xe,backInOut:be,circInOut:we};function xr(e){return e in br}function Sr(e){typeof e.ease==`string`&&xr(e.ease)&&(e.ease=br[e.ease])}var Cr=10,wr=class extends yr{constructor(e){Sr(e),On(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new jn({...a,autoplay:!1}),s=Math.max(Cr,He.now()-this.startTime),c=k(0,Cr,s-Cr),l=o.sample(s).value,{name:u}=this.options;i&&u&&sr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},Tr=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Nt.test(e)||e===`0`)&&!e.startsWith(`url(`));function Er(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Dr(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Tr(i,t),s=Tr(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Er(e)||(n===`spring`||_r(n))&&r}function Or(e){e.duration=0,e.type=`keyframes`}var kr=new Set([`opacity`,`clipPath`,`filter`,`transform`]),Ar=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function jr(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Ar.test(e[t]))return!0;return!1}var Mr=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Nr=A(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Pr(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return Nr()&&n&&(kr.has(n)||Mr.has(n)&&jr(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Fr=40,Ir=class extends kn{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=He.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||ar)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=He.now();let u=!0;Dr(e,i,a,o)||(u=!1,(ne.instantAnimations||!s)&&l?.(En(e,n,t)),e[0]=e[e.length-1],Or(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Fr?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Pr(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new wr({...d,element:p})}catch{m=new jn(d)}else m=new jn(d);m.finished.then(()=>{this.notifyFinished()}).catch(j),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ir()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Lr(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Rr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function zr(e){let t=Rr.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Br(e,t,n=1){`${e}`;let[r,i]=zr(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return re(e)?parseFloat(e):e}return qe(i)?Br(i,t,n+1):i}var Vr={type:`spring`,stiffness:500,damping:25,restSpeed:10},Hr=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ur={type:`keyframes`,duration:.8},Wr={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Gr=(e,{keyframes:t})=>t.length>2?Ur:Kn.has(e)?e.startsWith(`scale`)?Hr(t[1]):Vr:Wr;function Kr(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function qr(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Kr(n,e)}var Jr=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Yr(e){for(let t in e)if(!Jr.has(t))return!0;return!1}var Xr=(e,t,n,r={},i,a)=>o=>{let s=qr(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=M(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Yr(s)||Object.assign(u,Gr(e,u)),u.duration&&=M(u.duration),u.repeatDelay&&=M(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Or(u),u.delay===0&&(d=!0)),(ne.instantAnimations||ne.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,Or(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=En(u.keyframes,s);if(e!==void 0){P.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new jn(u):new Ir(u)};function Zr(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Qr(e,t,n,r){if(typeof t==`function`){let[i,a]=Zr(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Zr(r);t=t(n===void 0?e.custom:n,i,a)}return t}function $r(e,t,n){let r=e.getProps();return Qr(r,t,n===void 0?r.custom:n,e)}var ei=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Gn]),ti=30,ni=e=>!isNaN(parseFloat(e)),ri={current:void 0},ii=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=He.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=He.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ni(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new le);let n=this.events[e].add(t);return e===`change`?()=>{n(),P.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return ri.current&&ri.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>ti)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,ti);return ue(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function ai(e,t){return new ii(e,t)}var oi=e=>Array.isArray(e);function si(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ai(n))}function ci(e){return oi(e)?e[e.length-1]||0:e}function li(e,t){let{transitionEnd:n={},transition:r={},...i}=$r(e,t)||{};i={...i,...n};for(let t in i)si(e,t,ci(i[t]))}var L=e=>!!(e&&e.getVelocity);function ui(e){return!!(L(e)&&e.add)}function di(e,t){let n=e.getValue(`willChange`);if(ui(n))return n.add(t);if(!n&&ne.WillChange){let n=new ne.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function fi(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var pi=`data-`+fi(`framerAppearId`);function mi(e){return e.props[pi]}function hi({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function gi(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Kr(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&hi(d,t))continue;let o={delay:n,...qr(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){P.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=mi(e);if(n){let e=window.MotionHandoffAnimation(n,t,P);e!==null&&(o.startTime=e,f=!0)}}di(e,t);let p=l??e.shouldReduceMotion;r.start(Xr(t,r,i,p&&ei.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>P.update(()=>{o&&li(e,o)});u.length?Promise.all(u).then(t):t()}return u}function _i(e,t,n={}){let r=$r(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(gi(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return vi(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function vi(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(_i(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Lr(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function yi(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>_i(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=_i(e,t,n);else{let i=typeof t==`function`?$r(e,t,n.custom):t;r=Promise.all(gi(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var bi={test:e=>e===`auto`,parse:e=>e},xi=e=>t=>t.test(e),Si=[Xe,I,ft,dt,mt,pt,bi],Ci=e=>Si.find(xi(e));function wi(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||ae(e)}var Ti=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Ei(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(et)||[];if(!r)return e;let i=n.replace(r,``),a=Ti.has(t)?1:0;return r!==n&&(a*=100),t+`(`+a+i+`)`}var Di=/\b([a-z-]*)\(.*?\)/gu,Oi={...Nt,getAnimatableNone:e=>{let t=e.match(Di);return t?t.map(Ei).join(` `):e}},ki={...Nt,getAnimatableNone:e=>{let t=Nt.parse(e);return Nt.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Ai={...Xe,transform:Math.round},ji={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,top:I,right:I,bottom:I,left:I,inset:I,insetBlock:I,insetBlockStart:I,insetBlockEnd:I,insetInline:I,insetInlineStart:I,insetInlineEnd:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockStart:I,paddingBlockEnd:I,paddingInline:I,paddingInlineStart:I,paddingInlineEnd:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockStart:I,marginBlockEnd:I,marginInline:I,marginInlineStart:I,marginInlineEnd:I,fontSize:I,backgroundPositionX:I,backgroundPositionY:I,rotate:dt,rotateX:dt,rotateY:dt,rotateZ:dt,scale:Qe,scaleX:Qe,scaleY:Qe,scaleZ:Qe,skew:dt,skewX:dt,skewY:dt,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:Ze,originX:ht,originY:ht,originZ:I,zIndex:Ai,fillOpacity:Ze,strokeOpacity:Ze,numOctaves:Ai},Mi={...ji,color:_t,backgroundColor:_t,outlineColor:_t,fill:_t,stroke:_t,borderColor:_t,borderTopColor:_t,borderRightColor:_t,borderBottomColor:_t,borderLeftColor:_t,filter:Oi,WebkitFilter:Oi,mask:ki,WebkitMask:ki},Ni=e=>Mi[e],Pi=new Set([Oi,ki]);function Fi(e,t){let n=Ni(e);return Pi.has(n)||(n=Nt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var R=new Set([`auto`,`none`,`0`]);function Ii(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!R.has(t)&&Et(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Fi(n,i)}var Li=class extends ar{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),qe(r))){let i=Br(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!ei.has(n)||e.length!==2)return;let[r,i]=e,a=Ci(r),o=Ci(i);if(Ye(r)!==Ye(i)&&Zn[n]){this.needsMeasurement=!0;return}if(a!==o)if(qn(a)&&qn(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Zn[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||wi(e[t]))&&n.push(t);n.length&&Ii(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Zn[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Zn[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function Ri(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var zi=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Bi(e){return ie(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Vi,cancel:Hi}=Le(queueMicrotask,!1),Ui={x:!1,y:!1};function Wi(){return Ui.x||Ui.y}function Gi(e){return e===`x`||e===`y`?Ui[e]?null:(Ui[e]=!0,()=>{Ui[e]=!1}):Ui.x||Ui.y?null:(Ui.x=Ui.y=!0,()=>{Ui.x=Ui.y=!1})}function Ki(e,t){let n=Ri(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function qi(e){return!(e.pointerType===`touch`||Wi())}function Ji(e,t,n={}){let[r,i,a]=Ki(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!qi(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Yi=(e,t)=>t?e===t?!0:Yi(e,t.parentElement):!1,Xi=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Zi=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Qi(e){return Zi.has(e.tagName)||e.isContentEditable===!0}var $i=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function ea(e){return $i.has(e.tagName)||e.isContentEditable===!0}var ta=new WeakSet;function na(e){return t=>{t.key===`Enter`&&e(t)}}function ra(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var ia=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=na(()=>{if(ta.has(n))return;ra(n,`down`);let e=na(()=>{ra(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>ra(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function aa(e){return Xi(e)&&!Wi()}var oa=new WeakSet;function sa(e,t,n={}){let[r,i,a]=Ki(e,n),o=e=>{let r=e.currentTarget;if(!aa(e)||oa.has(e))return;ta.add(r),n.stopPropagation&&oa.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),ta.has(r)&&ta.delete(r),aa(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||Yi(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Bi(e)&&(e.addEventListener(`focus`,e=>ia(e,i)),!Qi(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function ca(e){return ie(e)&&`ownerSVGElement`in e}var la=new WeakMap,ua,da=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:ca(r)&&`getBBox`in r?r.getBBox()[t]:r[n],fa=da(`inline`,`width`,`offsetWidth`),pa=da(`block`,`height`,`offsetHeight`);function ma({target:e,borderBoxSize:t}){la.get(e)?.forEach(n=>{n(e,{get width(){return fa(e,t)},get height(){return pa(e,t)}})})}function ha(e){e.forEach(ma)}function ga(){typeof ResizeObserver>`u`||(ua=new ResizeObserver(ha))}function _a(e,t){ua||ga();let n=Ri(e);return n.forEach(e=>{let n=la.get(e);n||(n=new Set,la.set(e,n)),n.add(t),ua?.observe(e)}),()=>{n.forEach(e=>{let n=la.get(e);n?.delete(t),n?.size||ua?.unobserve(e)})}}var va=new Set,ya;function ba(){ya=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};va.forEach(t=>t(e))},window.addEventListener(`resize`,ya)}function xa(e){return va.add(e),ya||ba(),()=>{va.delete(e),!va.size&&typeof ya==`function`&&(window.removeEventListener(`resize`,ya),ya=void 0)}}function Sa(e,t){return typeof e==`function`?xa(e):_a(e,t)}function Ca(e,t){let n,r=()=>{let{currentTime:r}=t,i=(r===null?0:r.value)/100;n!==i&&e(i),n=i};return P.preUpdate(r,!0),()=>Re(r)}function wa(e){return ca(e)&&e.tagName===`svg`}function Ta(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=yn(i,a,o);return t?s(r):s}var Ea=[...Si,_t,Nt],Da=e=>Ea.find(xi(e)),Oa=()=>({translate:0,scale:1,origin:0,originPoint:0}),ka=()=>({x:Oa(),y:Oa()}),Aa=()=>({min:0,max:0}),ja=()=>({x:Aa(),y:Aa()}),Ma=new WeakMap;function Na(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Pa(e){return typeof e==`string`||Array.isArray(e)}var Fa=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Ia=[`initial`,...Fa];function La(e){return Na(e.animate)||Ia.some(t=>Pa(e[t]))}function Ra(e){return!!(La(e)||e.variants)}function za(e,t,n){for(let r in t){let i=t[r],a=n[r];if(L(i))e.addValue(r,i);else if(L(a))e.addValue(r,ai(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,ai(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Ba={current:null},Va={current:!1},Ha=typeof window<`u`;function Ua(){if(Va.current=!0,Ha)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Ba.current=e.matches;e.addEventListener(`change`,t),t()}else Ba.current=!1}var Wa=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Ga={};function Ka(e){Ga=e}function qa(){return Ga}var Ja=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ar,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=He.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,P.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=La(t),this.isVariantNode=Ra(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&L(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Ma.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Va.current||Ua(),this.shouldReduceMotion=Ba.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Re(this.notifyUpdate),Re(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&kr.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new yr({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:M(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Kn.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&P.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Ga){let t=Ga[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ja()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Wa.length;t++){let n=Wa[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=za(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=ai(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(re(n)||ae(n))?n=parseFloat(n):!Da(n)&&Nt.test(t)&&(n=Fi(e,t)),this.setBaseTarget(e,L(n)?n.get():n)),L(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Qr(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!L(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new le),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Vi.render(this.render)}},Ya=class extends Ja{constructor(){super(...arguments),this.KeyframeResolver=Li}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;L(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Xa=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Za({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Qa({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function $a(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function eo(e){return e===void 0||e===1}function to({scale:e,scaleX:t,scaleY:n}){return!eo(e)||!eo(t)||!eo(n)}function no(e){return to(e)||ro(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ro(e){return io(e.x)||io(e.y)}function io(e){return e&&e!==`0%`}function ao(e,t,n){return n+t*(e-n)}function oo(e,t,n,r,i){return i!==void 0&&(e=ao(e,i,r)),ao(e,n,r)+t}function so(e,t=0,n=1,r,i){e.min=oo(e.min,t,n,r,i),e.max=oo(e.max,t,n,r,i)}function co(e,{x:t,y:n}){so(e.x,t.translate,t.scale,t.originPoint),so(e.y,n.translate,n.scale,n.originPoint)}var lo=.999999999999,uo=1.0000000000001;function fo(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(po(e.x,-a.scroll.offset.x),po(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,co(e,o)),r&&no(a.latestValues)&&B(e,a.latestValues,a.layout?.layoutBox))}t.x<uo&&t.x>lo&&(t.x=1),t.y<uo&&t.y>lo&&(t.y=1)}function po(e,t){e.min+=t,e.max+=t}function mo(e,t,n,r,i=.5){so(e,t,n,Lt(e.min,e.max,i),r)}function z(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function B(e,t,n){let r=n??e;mo(e.x,z(t.x,r.x),t.scaleX,t.scale,t.originX),mo(e.y,z(t.y,r.y),t.scaleY,t.scale,t.originY)}function ho(e,t){return Za($a(e.getBoundingClientRect(),t))}function go(e,t,n){let r=ho(e,n),{scroll:i}=t;return i&&(po(r.x,i.offset.x),po(r.y,i.offset.y)),r}var _o={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},vo=Gn.length;function yo(e,t,n){let r=``,i=!0;for(let a=0;a<vo;a++){let o=Gn[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===(o.startsWith(`scale`)?1:0);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=zi(s,ji[o]);if(!c){i=!1;let t=_o[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function bo(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Kn.has(e)){o=!0;continue}else if(Ge(e)){i[e]=n;continue}else{let t=zi(n,ji[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=yo(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function xo(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function So(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var V={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(I.test(e))e=parseFloat(e);else return e;return`${So(e,t.target.x)}% ${So(e,t.target.y)}%`}},Co={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Nt.parse(e);if(i.length>5)return r;let a=Nt.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=Lt(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},wo={borderRadius:{...V,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomLeftRadius:V,borderBottomRightRadius:V,boxShadow:Co};function To(e,{layout:t,layoutId:n}){return Kn.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!wo[e]||e===`opacity`)}function Eo(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(L(r[t])||i&&L(i[t])||To(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Do(e){return window.getComputedStyle(e)}var Oo=class extends Ya{constructor(){super(...arguments),this.type=`html`,this.renderInstance=xo}readValueFromInstance(e,t){if(Kn.has(t))return this.projection?.isProjecting?Vn(t):Un(e,t);{let n=Do(e),r=(Ge(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ho(e,t)}build(e,t,n){bo(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Eo(e,t,n)}},ko={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Ao={offset:`strokeDashoffset`,array:`strokeDasharray`};function jo(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?ko:Ao;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Mo=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function No(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(bo(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Mo)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&jo(d,i,a,o,!1)}var Po=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`]),Fo=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Io(e,t,n,r){xo(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Po.has(n)?n:fi(n),t.attrs[n])}function Lo(e,t,n){let r=Eo(e,t,n);for(let n in e)if(L(e[n])||L(t[n])){let t=Gn.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Ro=class extends Ya{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=ja}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Kn.has(t)){let e=Ni(t);return e&&e.default||0}return t=Po.has(t)?t:fi(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Lo(e,t,n)}build(e,t,n){No(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Io(e,t,n,r)}mount(e){this.isSVGTag=Fo(e.tagName),super.mount(e)}},zo=Ia.length;function Bo(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Bo(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<zo;n++){let r=Ia[n],i=e.props[r];(Pa(i)||i===!1)&&(t[r]=i)}return t}function Vo(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Ho=[...Fa].reverse(),Uo=Fa.length;function Wo(e){return t=>Promise.all(t.map(({animation:t,options:n})=>yi(e,t,n)))}function Go(e){let t=Wo(e),n=Jo(),r=!0,i=!1,a=t=>(n,r)=>{let i=$r(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Bo(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Uo;t++){let p=Ho[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Pa(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Na(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Ko(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=oi(t)&&oi(n)?!Vo(t,n):t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=$r(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Lr(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=$r(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Jo(),i=!0}}}function Ko(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Vo(t,e):!1}function qo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Jo(){return{animate:qo(!0),whileInView:qo(),whileHover:qo(),whileTap:qo(),whileDrag:qo(),whileFocus:qo(),exit:qo()}}function Yo(e,t){e.min=t.min,e.max=t.max}function Xo(e,t){Yo(e.x,t.x),Yo(e.y,t.y)}function Zo(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Qo=1e-4,$o=1-Qo,es=1+Qo,ts=.01,ns=0-ts,rs=0+ts;function is(e){return e.max-e.min}function as(e,t,n){return Math.abs(e-t)<=n}function os(e,t,n,r=.5){e.origin=r,e.originPoint=Lt(t.min,t.max,e.origin),e.scale=is(n)/is(t),e.translate=Lt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=$o&&e.scale<=es||isNaN(e.scale))&&(e.scale=1),(e.translate>=ns&&e.translate<=rs||isNaN(e.translate))&&(e.translate=0)}function ss(e,t,n,r){os(e.x,t.x,n.x,r?r.originX:void 0),os(e.y,t.y,n.y,r?r.originY:void 0)}function cs(e,t,n,r=0){e.min=(r?Lt(n.min,n.max,r):n.min)+t.min,e.max=e.min+is(t)}function ls(e,t,n,r){cs(e.x,t.x,n.x,r?.x),cs(e.y,t.y,n.y,r?.y)}function us(e,t,n,r=0){let i=r?Lt(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+is(t)}function ds(e,t,n,r){us(e.x,t.x,n.x,r?.x),us(e.y,t.y,n.y,r?.y)}function fs(e,t,n,r,i){return e-=t,e=ao(e,1/n,r),i!==void 0&&(e=ao(e,1/i,r)),e}function ps(e,t=0,n=1,r=.5,i,a=e,o=e){if(ft.test(t)&&(t=parseFloat(t),t=Lt(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=Lt(a.min,a.max,r);e===a&&(s-=t),e.min=fs(e.min,t,n,s,i),e.max=fs(e.max,t,n,s,i)}function ms(e,t,[n,r,i],a,o){ps(e,t[n],t[r],t[i],t.scale,a,o)}var hs=[`x`,`scaleX`,`originX`],gs=[`y`,`scaleY`,`originY`];function _s(e,t,n,r){ms(e.x,t,hs,n?n.x:void 0,r?r.x:void 0),ms(e.y,t,gs,n?n.y:void 0,r?r.y:void 0)}function vs(e){return e.translate===0&&e.scale===1}function ys(e){return vs(e.x)&&vs(e.y)}function bs(e,t){return e.min===t.min&&e.max===t.max}function xs(e,t){return bs(e.x,t.x)&&bs(e.y,t.y)}function Ss(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Cs(e,t){return Ss(e.x,t.x)&&Ss(e.y,t.y)}function ws(e){return is(e.x)/is(e.y)}function Ts(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Es(e){return[e(`x`),e(`y`)]}function Ds(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Os=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],ks=Os.length,As=e=>typeof e==`string`?parseFloat(e):e,js=e=>typeof e==`number`||I.test(e);function Ms(e,t,n,r,i,a){i?(e.opacity=Lt(0,n.opacity??1,Ps(r)),e.opacityExit=Lt(t.opacity??1,0,Fs(r))):a&&(e.opacity=Lt(t.opacity??1,n.opacity??1,r));for(let i=0;i<ks;i++){let a=Os[i],o=Ns(t,a),s=Ns(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||js(o)===js(s)?(e[a]=Math.max(Lt(As(o),As(s),r),0),(ft.test(s)||ft.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=Lt(t.rotate||0,n.rotate||0,r))}function Ns(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ps=Is(0,.5,Ce),Fs=Is(.5,.95,j);function Is(e,t,n){return r=>r<e?0:r>t?1:n(ce(e,t,r))}function Ls(e,t,n){let r=L(e)?e:ai(e);return r.start(Xr(``,r,t,n)),r.animation}function Rs(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var zs=(e,t)=>e.depth-t.depth,Bs=class{constructor(){this.children=[],this.isDirty=!1}add(e){ee(this.children,e),this.isDirty=!0}remove(e){te(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(zs),this.isDirty=!1,this.children.forEach(e)}};function Vs(e,t){let n=He.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Re(r),e(a-t))};return P.setup(r,!0),()=>Re(r)}function Hs(e){return L(e)?e.get():e}var Us=class{constructor(){this.members=[]}add(e){ee(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(te(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(te(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Ws={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Gs={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Ks=[``,`X`,`Y`,`Z`],qs=1e3,Js=0;function Ys(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Xs(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=mi(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,P,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Xs(r)}function Zs({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Js++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Pe.value&&(Gs.nodes=Gs.calculatedTargetDeltas=Gs.calculatedProjections=0),this.nodes.forEach(ec),this.nodes.forEach(lc),this.nodes.forEach(uc),this.nodes.forEach(tc),Pe.addProjectionMetrics&&Pe.addProjectionMetrics(Gs)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Bs)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new le),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=ca(t)&&!wa(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;P.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Vs(i,250),Ws.hasAnimatedSinceResize&&(Ws.hasAnimatedSinceResize=!1,this.nodes.forEach(cc)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||_c,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Cs(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...qr(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||cc(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Re(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(dc),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Xs(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(ic),this.nodes.forEach(rc);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ac);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(oc),this.nodes.forEach(sc),this.nodes.forEach(Qs),this.nodes.forEach($s)):this.nodes.forEach(ac),this.clearAllSnapshots();let e=He.now();F.delta=k(0,1e3/60,e-F.timestamp),F.timestamp=e,F.isProcessing=!0,ze.update.process(F),ze.preRender.process(F),ze.render.process(F),F.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Vi.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nc),this.sharedNodes.forEach(fc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,P.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){P.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!is(this.snapshot.measuredBox.x)&&!is(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=ja(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!ys(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||no(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),xc(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return ja();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Cc))){let{scroll:e}=this.root;e&&(po(t.x,e.offset.x),po(t.y,e.offset.y))}return t}removeElementScroll(e){let t=ja();if(Xo(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Xo(t,e),po(t.x,i.offset.x),po(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||ja();Xo(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(po(r.x,-n.scroll.offset.x),po(r.y,-n.scroll.offset.y)),no(n.latestValues)&&B(r,n.latestValues,n.layout?.layoutBox)}return no(this.latestValues)&&B(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=ja();Xo(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!no(n.latestValues))continue;let r;n.instance&&(to(n.latestValues)&&n.updateSnapshot(),r=ja(),Xo(r,n.measurePageBox())),_s(t,n.latestValues,n.snapshot?.layoutBox,r)}return no(this.latestValues)&&_s(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.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!==F.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=F.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ja(),this.targetWithTransforms=ja()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ls(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Xo(this.target,this.layout.layoutBox),co(this.target,this.targetDelta)):Xo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Pe.value&&Gs.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||to(this.parent.latestValues)||ro(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ja(),this.relativeTargetOrigin=ja(),ds(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Xo(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===F.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Xo(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;fo(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=ja());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Zo(this.prevProjectionDelta.x,this.projectionDelta.x),Zo(this.prevProjectionDelta.y,this.projectionDelta.y)),ss(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Ts(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ts(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Pe.value&&Gs.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ka(),this.projectionDelta=ka(),this.projectionDeltaWithTransform=ka()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=ka();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=ja(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(gc));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;pc(a.x,e.x,n),pc(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ds(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),hc(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&xs(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=ja(),Xo(d,this.relativeTarget)),s&&(this.animationValues=i,Ms(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Re(this.pendingAnimation),void 0),this.pendingAnimation=P.update(()=>{Ws.hasAnimatedSinceResize=!0,Ue.layout++,this.motionValue||=ai(0),this.motionValue.jump(0,!1),this.currentAnimation=Ls(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Ue.layout--},onComplete:()=>{Ue.layout--,e.onComplete&&e.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 e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qs),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&Sc(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||ja();let t=is(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=is(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Xo(t,n),B(t,i),ss(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Us),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Ys(`z`,e,r,this.animationValues);for(let t=0;t<Ks.length;t++)Ys(`rotate${Ks[t]}`,e,r,this.animationValues),Ys(`skew${Ks[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Hs(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Hs(t?.pointerEvents)||``),this.hasProjected&&!no(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Ds(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in wo){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=wo[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Hs(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(rc),this.root.sharedNodes.clear()}}}function Qs(e){e.updateLayout()}function $s(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Es(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=is(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Yo(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Sc(i,t.layoutBox,n)&&Es(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=is(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=ka();ss(o,n,t.layoutBox);let s=ka();a?ss(s,e.applyTransform(r,!0),t.measuredBox):ss(s,n,t.layoutBox);let c=!ys(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=ja();ds(s,t.layoutBox,i.layoutBox,o);let c=ja();ds(c,n,a.layoutBox,o),Cs(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ec(e){Pe.value&&Gs.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function tc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nc(e){e.clearSnapshot()}function rc(e){e.clearMeasurements()}function ic(e){e.isLayoutDirty=!0,e.updateLayout()}function ac(e){e.isLayoutDirty=!1}function oc(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function sc(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function cc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function lc(e){e.resolveTargetDelta()}function uc(e){e.calcProjection()}function dc(e){e.resetSkewAndRotation()}function fc(e){e.removeLeadSnapshot()}function pc(e,t,n){e.translate=Lt(t.translate,0,n),e.scale=Lt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mc(e,t,n,r){e.min=Lt(t.min,n.min,r),e.max=Lt(t.max,n.max,r)}function hc(e,t,n,r){mc(e.x,t.x,n.x,r),mc(e.y,t.y,n.y,r)}function gc(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var _c={duration:.45,ease:[.4,0,.1,1]},vc=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),yc=vc(`applewebkit/`)&&!vc(`chrome/`)?Math.round:j;function bc(e){e.min=yc(e.min),e.max=yc(e.max)}function xc(e){bc(e.x),bc(e.y)}function Sc(e,t,n){return e===`position`||e===`preserve-aspect`&&!as(ws(t),ws(n),.2)}function Cc(e){return e!==e.root&&e.scroll?.wasRoot}var wc=Zs({attachResizeListener:(e,t)=>Rs(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Tc={current:void 0},Ec=Zs({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Tc.current){let e=new wc({});e.mount(window),e.setOptions({layoutScroll:!0}),Tc.current=e}return Tc.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),Dc=(0,w.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function Oc(e=!0){let t=(0,w.useContext)(O);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,w.useId)();(0,w.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,w.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var kc=(0,w.createContext)({strict:!1}),Ac={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`]},jc=!1;function Mc(){if(jc)return;let e={};for(let t in Ac)e[t]={isEnabled:e=>Ac[t].some(t=>!!e[t])};Ka(e),jc=!0}function Nc(){return Mc(),qa()}function Pc(e){let t=Nc();for(let n in e)t[n]={...t[n],...e[n]};Ka(t)}var Fc=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function Ic(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Fc.has(e)}var Lc=c({default:()=>Rc}),Rc,zc=o((()=>{throw Rc={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Bc=e=>!Ic(e);function Vc(e){typeof e==`function`&&(Bc=t=>t.startsWith(`on`)?!Ic(t):e(t))}try{Vc((zc(),d(Lc)).default)}catch{}function Hc(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||L(e[i])||(Bc(i)||n===!0&&Ic(i)||!t&&!Ic(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Uc=(0,w.createContext)({});function Wc(e,t){if(La(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Pa(t)?t:void 0,animate:Pa(n)?n:void 0}}return e.inherit===!1?{}:t}function Gc(e){let{initial:t,animate:n}=Wc(e,(0,w.useContext)(Uc));return(0,w.useMemo)(()=>({initial:t,animate:n}),[Kc(t),Kc(n)])}function Kc(e){return Array.isArray(e)?e.join(` `):e}var qc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Jc(e,t,n){for(let r in t)!L(t[r])&&!To(r,n)&&(e[r]=t[r])}function Yc({transformTemplate:e},t){return(0,w.useMemo)(()=>{let n=qc();return bo(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Xc(e,t){let n=e.style||{},r={};return Jc(r,n,e),Object.assign(r,Yc(e,t)),r}function Zc(e,t){let n={},r=Xc(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var Qc=()=>({...qc(),attrs:{}});function $c(e,t,n,r){let i=(0,w.useMemo)(()=>{let n=Qc();return No(n,t,Fo(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Jc(t,e.style,e),i.style={...t,...i.style}}return i}var el=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function tl(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(el.indexOf(e)>-1||/[A-Z]/u.test(e))}function nl(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??tl(e)?$c:Zc)(t,r,i,e),c=Hc(t,typeof e==`string`,a),l=e===w.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,w.useMemo)(()=>L(u)?u.get():u,[u]);return(0,w.createElement)(e,{...l,children:d})}function rl({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:il(n,r,i,e),renderState:t()}}function il(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Hs(a[e]);let{initial:o,animate:s}=e,c=La(e),l=Ra(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Na(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Qr(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var al=e=>(t,n)=>{let r=(0,w.useContext)(Uc),i=(0,w.useContext)(O),a=()=>rl(e,t,r,i);return n?a():E(a)},ol=al({scrapeMotionValuesFromProps:Eo,createRenderState:qc}),sl=al({scrapeMotionValuesFromProps:Lo,createRenderState:Qc}),cl=Symbol.for(`motionComponentSymbol`);function ll(e,t,n){let r=(0,w.useRef)(n);(0,w.useInsertionEffect)(()=>{r.current=n});let i=(0,w.useRef)(null);return(0,w.useCallback)(n=>{n&&e.onMount?.(n);let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n);t&&(n?t.mount(n):t.unmount())},[t])}var ul=(0,w.createContext)({});function H(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function dl(e,t,n,r,i,a){let{visualElement:o}=(0,w.useContext)(Uc),s=(0,w.useContext)(kc),c=(0,w.useContext)(O),l=(0,w.useContext)(Dc),u=l.reducedMotion,d=l.skipAnimations,f=(0,w.useRef)(null),p=(0,w.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,w.useContext)(ul);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&fl(f.current,n,i,h);let g=(0,w.useRef)(!1);(0,w.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[pi],v=(0,w.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return D(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,w.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function fl(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:pl(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&H(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function pl(e){if(e)return e.options.allowProjection===!1?pl(e.parent):e.projection}var U=C();function ml(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Pc(r);let a=n?n===`svg`:tl(e),o=a?sl:ol;function s(n,s){let c,l={...(0,w.useContext)(Dc),...n,layoutId:hl(n)},{isStatic:u}=l,d=Gc(n),f=o(n,u);if(!u&&typeof window<`u`){gl(l,r);let t=_l(l);c=t.MeasureLayout,d.visualElement=dl(e,f,l,i,t.ProjectionNode,a)}return(0,U.jsxs)(Uc.Provider,{value:d,children:[c&&d.visualElement?(0,U.jsx)(c,{visualElement:d.visualElement,...l}):null,nl(e,n,ll(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,w.forwardRef)(s);return c[cl]=e,c}function hl({layoutId:e}){let t=(0,w.useContext)(T).id;return t&&e!==void 0?t+`-`+e:e}function gl(e,t){(0,w.useContext)(kc).strict}function _l(e){let{drag:t,layout:n}=Nc();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function vl(e,t){if(typeof Proxy>`u`)return ml;let n=new Map,r=(n,r)=>ml(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,ml(a,void 0,e,t)),n.get(a))})}var yl=(e,t)=>t.isSVG??tl(e)?new Ro(t):new Oo(t,{allowProjection:e!==w.Fragment}),bl=class extends Xa{constructor(e){super(e),e.animationState||=Go(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Na(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},xl=0,Sl={animation:{Feature:bl},exit:{Feature:class extends Xa{constructor(){super(...arguments),this.id=xl++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`){let n=$r(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function Cl(e){return{point:{x:e.pageX,y:e.pageY}}}var wl=e=>t=>Xi(t)&&e(t,Cl(t));function Tl(e,t,n,r){return Rs(e,t,wl(n),r)}var El=({current:e})=>e?e.ownerDocument.defaultView:null,Dl=(e,t)=>Math.abs(e-t);function Ol(e,t){let n=Dl(e.x,t.x),r=Dl(e.y,t.y);return Math.sqrt(n**2+r**2)}var kl=new Set([`auto`,`scroll`]),Al=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=jl(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Nl(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Ol(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=F;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=jl(t,this.transformPagePoint),P.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Nl(e.type===`pointercancel`?this.lastMoveEventInfo:jl(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Xi(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=jl(Cl(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=F;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Nl(s,this.history)),this.removeListeners=se(Tl(this.contextWindow,`pointermove`,this.handlePointerMove),Tl(this.contextWindow,`pointerup`,this.handlePointerUp),Tl(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(kl.has(e.overflowX)||kl.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),P.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Re(this.updatePoint)}};function jl(e,t){return t?{point:t(e.point)}:e}function Ml(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Nl({point:e},t){return{point:e,delta:Ml(e,Fl(t)),offset:Ml(e,Pl(t)),velocity:Il(t,.1)}}function Pl(e){return e[0]}function Fl(e){return e[e.length-1]}function Il(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Fl(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>M(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>M(t)*2&&(r=e[1]);let a=N(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Ll(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Lt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Lt(n,e,r.max):Math.min(e,n)),e}function Rl(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function zl(e,{top:t,left:n,bottom:r,right:i}){return{x:Rl(e.x,n,i),y:Rl(e.y,t,r)}}function Bl(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function W(e,t){return{x:Bl(e.x,t.x),y:Bl(e.y,t.y)}}function G(e,t){let n=.5,r=is(e),i=is(t);return i>r?n=ce(t.min,t.max-r,e.min):r>i&&(n=ce(e.min,e.max-i,t.min)),k(0,1,n)}function K(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var q=.35;function J(e=q){return e===!1?e=0:e===!0&&(e=q),{x:Vl(e,`left`,`right`),y:Vl(e,`top`,`bottom`)}}function Vl(e,t,n){return{min:Hl(e,t),max:Hl(e,n)}}function Hl(e,t){return typeof e==`number`?e:e[t]||0}var Ul=new WeakMap,Wl=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ja(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(Cl(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Gi(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Es(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ft.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=is(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&P.update(()=>i(e,t),!1,!0),di(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=Jl(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&P.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Al(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:El(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&P.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!ql(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Ll(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&H(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=zl(n.layoutBox,e):this.constraints=!1,this.elastic=J(t),r!==this.constraints&&!H(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Es(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=K(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!H(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=go(n,r.root,this.visualElement.getTransformPagePoint()),a=W(r.layout.layoutBox,i);if(t){let e=t(Qa(a));this.hasMutatedConstraints=!!e,e&&(a=Za(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Es(o=>{if(!ql(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return di(this.visualElement,e),n.start(Xr(e,n,0,t,this.visualElement,!1))}stopAnimation(){Es(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Es(t=>{let{drag:n}=this.getProps();if(!ql(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-Lt(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!H(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Es(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=G({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Es(t=>{if(!ql(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(Lt(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Ul.set(this.visualElement,this);let e=this.visualElement.current,t=Tl(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&ea(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();H(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=Kl(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),P.read(r);let o=Rs(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Es(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=q,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Gl(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Kl(e,t,n){let r=Sa(e,Gl(n)),i=Sa(t,Gl(n));return()=>{r(),i()}}function ql(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Jl(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Yl=class extends Xa{constructor(e){super(e),this.removeGroupControls=j,this.removeListeners=j,this.controls=new Wl(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||j}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},Xl=e=>(t,n)=>{e&&P.update(()=>e(t,n),!1,!0)},Zl=class extends Xa{constructor(){super(...arguments),this.removePointerDownListener=j}onPointerDown(e){this.session=new Al(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:El(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Xl(e),onStart:Xl(t),onMove:Xl(n),onEnd:(e,t)=>{delete this.session,r&&P.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Tl(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Ql=!1,$l=class extends w.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),Ql&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ws.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),Ql=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||P.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),Vi.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Ql=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function eu(e){let[t,n]=Oc(),r=(0,w.useContext)(T);return(0,U.jsx)($l,{...e,layoutGroup:r,switchLayoutGroup:(0,w.useContext)(ul),isPresent:t,safeToRemove:n})}var tu={pan:{Feature:Zl},drag:{Feature:Yl,ProjectionNode:Ec,MeasureLayout:eu}};function nu(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&P.postRender(()=>i(t,Cl(t)))}var ru=class extends Xa{mount(){let{current:e}=this.node;e&&(this.unmount=Ji(e,(e,t)=>(nu(this.node,t,`Start`),e=>nu(this.node,e,`End`))))}unmount(){}},iu=class extends Xa{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=se(Rs(this.node.current,`focus`,()=>this.onFocus()),Rs(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function au(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&P.postRender(()=>i(t,Cl(t)))}var ou=class extends Xa{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=sa(e,(e,t)=>(au(this.node,t,`Start`),(e,{success:t})=>au(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},su=new WeakMap,cu=new WeakMap,lu=e=>{let t=su.get(e.target);t&&t(e)},uu=e=>{e.forEach(lu)};function du({root:e,...t}){let n=e||document;cu.has(n)||cu.set(n,{});let r=cu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(uu,{root:e,...t})),r[i]}function fu(e,t,n){let r=du(t);return su.set(e,n),r.observe(e),()=>{su.delete(e),r.unobserve(e)}}var pu={some:0,all:1},mu=class extends Xa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:pu[r]};this.stopObserver=fu(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(hu(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function hu({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var gu={inView:{Feature:mu},tap:{Feature:ou},focus:{Feature:iu},hover:{Feature:ru}},_u={layout:{ProjectionNode:Ec,MeasureLayout:eu}},vu=vl({...Sl,...gu,...tu,..._u},yl);function yu(e,t,n){(0,w.useInsertionEffect)(()=>e.on(t,n),[e,t,n])}function bu(e){return typeof window>`u`?!1:e?dr():ur()}var xu=50,Su=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Cu=()=>({time:0,x:Su(),y:Su()}),wu={x:{length:`Width`,position:`Left`},y:{length:`Height`,position:`Top`}};function Tu(e,t,n,r){let i=n[t],{length:a,position:o}=wu[t],s=i.current,c=n.time;i.current=Math.abs(e[`scroll${o}`]),i.scrollLength=e[`scroll${a}`]-e[`client${a}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=ce(0,i.scrollLength,i.current);let l=r-c;i.velocity=l>xu?0:ue(i.current-s,l)}function Eu(e,t,n){Tu(e,`x`,t,n),Tu(e,`y`,t,n),t.time=n}function Du(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(Bi(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName===`svg`){let e=r.getBoundingClientRect();r=r.parentElement;let t=r.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,a=r.parentNode;for(;!i;)a.tagName===`svg`&&(i=a),a=r.parentNode;r=i}else break;return n}var Ou={start:0,center:.5,end:1};function ku(e,t,n=0){let r=0;if(e in Ou&&(e=Ou[e]),typeof e==`string`){let t=parseFloat(e);e.endsWith(`px`)?r=t:e.endsWith(`%`)?e=t/100:e.endsWith(`vw`)?r=t/100*document.documentElement.clientWidth:e.endsWith(`vh`)?r=t/100*document.documentElement.clientHeight:e=t}return typeof e==`number`&&(r=t*e),n+r}var Au=[0,0];function ju(e,t,n,r){let i=Array.isArray(e)?e:Au,a=0,o=0;return typeof e==`number`?i=[e,e]:typeof e==`string`&&(e=e.trim(),i=e.includes(` `)?e.split(` `):[e,Ou[e]?e:`0`]),a=ku(i[0],n,r),o=ku(i[1],t),a-o}var Mu={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Nu={x:0,y:0};function Pu(e){return`getBBox`in e&&e.tagName!==`svg`?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function Fu(e,t,n){let{offset:r=Mu.All}=n,{target:i=e,axis:a=`y`}=n,o=a===`y`?`height`:`width`,s=i===e?Nu:Du(i,e),c=i===e?{width:e.scrollWidth,height:e.scrollHeight}:Pu(i),l={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let u=!t[a].interpolate,d=r.length;for(let e=0;e<d;e++){let n=ju(r[e],l[o],c[o],s[a]);!u&&n!==t[a].interpolatorOffsets[e]&&(u=!0),t[a].offset[e]=n}u&&(t[a].interpolate=yn(t[a].offset,xn(r),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=k(0,1,t[a].interpolate(t[a].current))}function Iu(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function Lu(e,t,n,r={}){return{measure:t=>{Iu(e,r.target,n),Eu(e,n,t),(r.offset||r.target)&&Fu(e,n,r)},notify:()=>t(n)}}var Ru=new WeakMap,zu=new WeakMap,Bu=new WeakMap,Vu=new WeakMap,Hu=new WeakMap,Uu=e=>e===document.scrollingElement?window:e;function Wu(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return j;let i=Bu.get(t);i||(i=new Set,Bu.set(t,i));let a=Lu(t,e,Cu(),r);if(i.add(a),!Ru.has(t)){let e=()=>{for(let e of i)e.measure(F.timestamp);P.preUpdate(n)},n=()=>{for(let e of i)e.notify()},r=()=>P.read(e);Ru.set(t,r);let a=Uu(t);window.addEventListener(`resize`,r),t!==document.documentElement&&zu.set(t,Sa(t,r)),a.addEventListener(`scroll`,r),r()}if(n&&!Hu.has(t)){let e=Ru.get(t),n={width:t.scrollWidth,height:t.scrollHeight};Vu.set(t,n);let r=P.read(()=>{let r=t.scrollWidth,i=t.scrollHeight;(n.width!==r||n.height!==i)&&(e(),n.width=r,n.height=i)},!0);Hu.set(t,r)}let o=Ru.get(t);return P.read(o,!1,!0),()=>{Re(o);let e=Bu.get(t);if(!e||(e.delete(a),e.size))return;let n=Ru.get(t);Ru.delete(t),n&&(Uu(t).removeEventListener(`scroll`,n),zu.get(t)?.(),window.removeEventListener(`resize`,n));let r=Hu.get(t);r&&(Re(r),Hu.delete(t)),Vu.delete(t)}}var Gu=[[Mu.Enter,`entry`],[Mu.Exit,`exit`],[Mu.Any,`cover`],[Mu.All,`contain`]],Ku={start:0,end:1};function Y(e){let t=e.trim().split(/\s+/);if(t.length!==2)return;let n=Ku[t[0]],r=Ku[t[1]];if(!(n===void 0||r===void 0))return[n,r]}function qu(e){if(e.length!==2)return;let t=[];for(let n of e)if(Array.isArray(n))t.push(n);else if(typeof n==`string`){let e=Y(n);if(!e)return;t.push(e)}else return;return t}function Ju(e,t){let n=qu(e);if(!n)return!1;for(let e=0;e<2;e++){let r=n[e],i=t[e];if(r[0]!==i[0]||r[1]!==i[1])return!1}return!0}function Yu(e){if(!e)return{rangeStart:`contain 0%`,rangeEnd:`contain 100%`};for(let[t,n]of Gu)if(Ju(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}var Xu=new Map;function Zu(e){let t={value:0};return{currentTime:t,cancel:Wu(n=>{t.value=n[e.axis].progress*100},e)}}function Qu({source:e,container:t,...n}){let{axis:r}=n;e&&(t=e);let i=Xu.get(t);i||(i=new Map,Xu.set(t,i));let a=n.target??`self`,o=i.get(a);o||(o={},i.set(a,o));let s=r+(n.offset??[]).join(`,`);return o[s]||(n.target&&bu(n.target)?Yu(n.offset)?o[s]=new ViewTimeline({subject:n.target,axis:r}):o[s]=Zu({container:t,...n}):bu()?o[s]=new ScrollTimeline({source:t,axis:r}):o[s]=Zu({container:t,...n})),o[s]}function $u(e,t){let n=Qu(t),r=t.target?Yu(t.offset):void 0,i=t.target?bu(t.target)&&!!r:bu();return e.attachTimeline({timeline:i?n:void 0,...r&&i&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:e=>(e.pause(),Ca(t=>{e.time=e.iterationDuration*t},n))})}function ed(e){return e.length===2}function td(e,t){return ed(e)?Wu(n=>{e(n[t.axis].progress,n)},t):Ca(e,Qu(t))}function nd(e,{axis:t=`y`,container:n=document.scrollingElement,...r}={}){if(!n)return j;let i={axis:t,container:n,...r};return typeof e==`function`?td(e,i):$u(e,i)}var rd=()=>({scrollX:ai(0),scrollY:ai(0),scrollXProgress:ai(0),scrollYProgress:ai(0)}),id=e=>e?!e.current:!1;function ad(e,t,n,r){return{factory:i=>nd(i,{...t,axis:e,container:n?.current||void 0,target:r?.current||void 0}),times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function od(e,t){return typeof window>`u`?!1:e?dr()&&!!Yu(t):ur()}function sd({container:e,target:t,...n}={}){let r=E(rd);od(t,n.offset)&&(r.scrollXProgress.accelerate=ad(`x`,n,e,t),r.scrollYProgress.accelerate=ad(`y`,n,e,t));let i=(0,w.useRef)(null),a=(0,w.useRef)(!1),o=(0,w.useCallback)(()=>(i.current=nd((e,{x:t,y:n})=>{r.scrollX.set(t.current),r.scrollXProgress.set(t.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{i.current?.()}),[e,t,JSON.stringify(n.offset)]);return D(()=>{if(a.current=!1,id(e)||id(t)){a.current=!0;return}else return o()},[o]),(0,w.useEffect)(()=>{if(a.current)return id(e),id(t),o()},[o]),r}function cd(e){let t=E(()=>ai(e)),{isStatic:n}=(0,w.useContext)(Dc);if(n){let[,n]=(0,w.useState)(e);(0,w.useEffect)(()=>t.on(`change`,n),[])}return t}function ld(e,t){let n=cd(t()),r=()=>n.set(t());return r(),D(()=>{let t=()=>P.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>{n.forEach(e=>e()),Re(r)}}),n}function ud(e){ri.current=[],e();let t=ld(ri.current,e);return ri.current=void 0,t}function dd(e,t,n,r){if(typeof e==`function`)return ud(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return pd(e,t,n,r);let i=typeof t==`function`?t:Ta(t,n,r),a=Array.isArray(e)?fd(e,i):fd([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;return o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1&&(a.accelerate={...o,times:t,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),a}function fd(e,t){let n=E(()=>[]);return ld(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function pd(e,t,n,r){let i=E(()=>Object.keys(n)),a=E(()=>({}));for(let o of i)a[o]=dd(e,t,n[o],r);return a}var md={some:0,all:1};function hd(e,t,{root:n,margin:r,amount:i=`some`}={}){let a=Ri(e),o=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=o.get(e.target);if(e.isIntersecting!==!!n)if(e.isIntersecting){let n=t(e.target,e);typeof n==`function`?o.set(e.target,n):s.unobserve(e.target)}else typeof n==`function`&&(n(e),o.delete(e.target))})},{root:n,rootMargin:r,threshold:typeof i==`number`?i:md[i]});return a.forEach(e=>s.observe(e)),()=>s.disconnect()}function gd(e,{root:t,margin:n,amount:r,once:i=!1,initial:a=!1}={}){let[o,s]=(0,w.useState)(a);return(0,w.useEffect)(()=>{if(!e.current||i&&o)return;let a=()=>(s(!0),i?void 0:()=>s(!1)),c={root:t&&t.current||void 0,margin:n,amount:r};return hd(e.current,a,c)},[t,e,n,i,r]),o}var _d=y(),vd=x();function yd(e){let t=(0,vd.c)(14),{text:n,speed:r}=e,i=n===void 0?`Typing Effect`:n,a=r===void 0?.05:r,o=(0,w.useRef)(null),s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s={once:!0},t[0]=s):s=t[0];let c=gd(o,s),[l,u]=(0,w.useState)(0),d=i.split(`
`),f;if(t[1]!==i){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=/\n/g,t[3]=e):e=t[3],f=i.replace(e,``),t[1]=i,t[2]=f}else f=t[2];let p=f.length,m,h;t[4]!==c||t[5]!==a||t[6]!==p?(m=()=>{if(!c)return;let e=setInterval(()=>{u(e=>e>=p?0:e+1)},a*1e3);return()=>clearInterval(e)},h=[c,p,a],t[4]=c,t[5]=a,t[6]=p,t[7]=m,t[8]=h):(m=t[7],h=t[8]),(0,w.useEffect)(m,h);let g=0,_=[];for(let e of d){let t=e.length;if(g+t<=l)_.push(e),g+=t;else{let t=l-g;t>0&&_.push(e.slice(0,t));break}}let v=d.map(xd),y,b;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,U.jsx)(`br`,{}),b=(0,U.jsx)(`br`,{}),t[9]=y,t[10]=b):(y=t[9],b=t[10]);let x=_.map(bd),S;return t[11]!==x||t[12]!==v?(S=(0,U.jsx)(`div`,{className:`relative max-h-full h-full overflow-hidden`,children:(0,U.jsxs)(`h2`,{ref:o,className:`text-sm text-left font-mono text-base-content/70 tracking-tighter absolute bottom-0`,children:[v,y,b,x]})}),t[11]=x,t[12]=v,t[13]=S):S=t[13],S}function bd(e,t){return(0,U.jsx)(`div`,{children:e},t)}function xd(e,t){return(0,U.jsx)(`div`,{children:e},t)}var X=e=>{let t=(0,vd.c)(2),{text:n}=e,r=`{ ${n} }`,i;return t[0]===r?i=t[1]:(i=(0,U.jsx)(`span`,{className:`text-blue-500 text-xs`,children:r}),t[0]=r,t[1]=i),i},Sd=[{id:1,color:`#ff0088`,label:`От идеи — до работающей концепции`,description:`Мы погружаемся в задачу, формируем понятную и реализуемую концепцию и сразу определяем дальнейшие шаги`,image:`/assets/idea-BxLjsotP.png`},{id:2,color:`#dd00ee`,label:`Цены и процессы — без сюрпризов`,description:`Заранее фиксируем стоимость, этапы и зону ответственности, чтобы вы всегда понимали, за что платите и какой результат будет получен`,image:`/assets/money-DcU00l9G.png`},{id:3,color:`#9911ff`,label:`Ориентируемся на результат`,description:`Каждое решение мы строим так, чтобы приносить измеримый результат и реальную ценность вашему бизнесу`,image:`/assets/goal-BRVwp_WA.png`},{id:4,color:`#0d63f8`,label:`Контролируем сбои и устраняем`,description:`Мы оперативно реагируем на любые сбои, быстро устраняем их и гарантируем, что ваш проект всегда остаётся под полным контролем`,image:`/assets/info-CE1fB6DT.png`}],Cd=()=>{let e=(0,vd.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsxs)(`div`,{className:`h-auto max-h-full w-full max-w-7xl`,children:[(0,U.jsx)(`div`,{className:`sticky top-24 w-full flex justify-center`,children:(0,U.jsxs)(`span`,{className:`px-4 text-3xl sm:text-4xl py-2 sm:text-center`,children:[(0,U.jsx)(`span`,{className:`text-blue-500`,children:`Преимущества`}),` работы с нами`]})}),Sd.map(wd)]}),e[0]=t):t=e[0],t};function wd(e,t){return(0,U.jsxs)(vu.div,{className:`sticky top-7.5 grid grid-rows-[min-content_min-content_min-content_1fr] gap-2 px-8 pt-4 min-w-full w-full shrink-0 overflow-visible rounded-2xl bg-base-200 outline-2 outline-base-100`,style:{top:`${(t+1)*20+160}px`},children:[(0,U.jsx)(X,{text:(t+1).toString()}),(0,U.jsx)(`span`,{className:`text-xl`,children:e.label}),(0,U.jsx)(`span`,{className:`text-base-content/70`,children:e.description}),(0,U.jsx)(`img`,{className:`mt-auto ml-auto`,src:e.image})]},e.id)}var Td=()=>{let e=(0,vd.c)(10),t=(0,w.useRef)(null),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={target:t,offset:[`start start`,`end end`]},e[0]=n):n=e[0];let{scrollYProgress:r}=sd(n),[i,a]=(0,w.useState)(100),o,s;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(o=[0,1],s=[100,0],e[1]=o,e[2]=s):(o=e[1],s=e[2]);let c=dd(r,o,s),l;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(l=e=>a(e),e[3]=l):l=e[3],yu(c,`change`,l);let u;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(u=[{id:1,color:`#ff0088`,label:`От идеи — до работающей концепции`,description:`Мы погружаемся в задачу, формируем понятную и реализуемую концепцию и сразу определяем дальнейшие шаги`,image:`/assets/idea-BxLjsotP.png`},{id:2,color:`#dd00ee`,label:`Цены и процессы — без сюрпризов`,description:`Заранее фиксируем стоимость, этапы и зону ответственности, чтобы вы всегда понимали, за что платите и какой результат будет получен`,image:`/assets/money-DcU00l9G.png`},{id:3,color:`#9911ff`,label:`Ориентируемся на результат`,description:`Каждое решение мы строим так, чтобы приносить измеримый результат и реальную ценность вашему бизнесу`,image:`/assets/goal-BRVwp_WA.png`},{id:4,color:`#0d63f8`,label:`Контролируем сбои и устраняем`,description:`Мы оперативно реагируем на любые сбои, быстро устраняем их и гарантируем, что ваш проект всегда остаётся под полным контролем`,image:`/assets/info-CE1fB6DT.png`}],e[4]=u):u=e[4];let d=u,f;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,U.jsx)(`div`,{className:`lg:hidden py-8`,children:(0,U.jsx)(Cd,{})}),e[5]=f):f=e[5];let p;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(p={position:`sticky`,top:0,height:`100vh`},e[6]=p):p=e[6];let m;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,U.jsx)(`div`,{className:`w-full flex justify-center mb-8`,children:(0,U.jsxs)(`span`,{className:`px-4 text-3xl lg:text-4xl py-2 lg:text-center`,children:[(0,U.jsx)(`span`,{className:`text-blue-500`,children:`Преимущества`}),` работы с нами`]})}),e[7]=m):m=e[7];let h;return e[8]===i?h=e[9]:(h=(0,U.jsxs)(U.Fragment,{children:[f,(0,U.jsx)(`div`,{ref:t,className:`hidden lg:flex p-2 lg:p-0 justify-center overflow-clip lg:h-[300vh]`,children:(0,U.jsxs)(`div`,{style:p,className:`min-h-screen flex flex-col py-16 lg:py-24 max-w-7xl overflow-clip`,children:[m,(0,U.jsx)(vu.div,{className:`hidden lg:grid grid-cols-4 overflow-visible h-min min-h-96`,children:d.map((e,t)=>(0,U.jsxs)(vu.div,{className:`relative grid grid-rows-[min-content_min-content_min-content_1fr] gap-2 px-8 pt-4 min-w-full w-full shrink-0 overflow-visible`,style:{marginLeft:`${i*t}px`,zIndex:t},children:[(0,U.jsx)(X,{text:(t+1).toString()}),(0,U.jsx)(`span`,{className:`text-xl`,children:e.label}),(0,U.jsx)(`span`,{className:`text-base-content/70`,children:e.description}),(0,U.jsx)(`img`,{className:`mt-auto`,src:e.image}),(0,U.jsx)(`div`,{className:`absolute left-0 top-0 bottom-0 -right-8 rounded-2xl bg-[#F6F6F9] outline-2 outline-base-100 -z-10 w-auto h-full`})]},e.id))})]})})]}),e[8]=i,e[9]=h),h};function Ed(e){let t=(0,vd.c)(29),{speed:n,items:r,from:i,to:a}=e,o=n===void 0?10:n,s=`${i}`,c;t[0]===s?c=t[1]:(c={x:s},t[0]=s,t[1]=c);let l=`${a}`,u;t[2]===l?u=t[3]:(u={x:l},t[2]=l,t[3]=u);let d;t[4]===o?d=t[5]:(d={duration:o,repeat:1/0,ease:`linear`},t[4]=o,t[5]=d);let f;t[6]===r?f=t[7]:(f=r.map(Od),t[6]=r,t[7]=f);let p;t[8]!==c||t[9]!==u||t[10]!==d||t[11]!==f?(p=(0,U.jsx)(vu.div,{initial:c,animate:u,transition:d,className:`flex shrink-0`,children:f}),t[8]=c,t[9]=u,t[10]=d,t[11]=f,t[12]=p):p=t[12];let m=`${i}`,h;t[13]===m?h=t[14]:(h={x:m},t[13]=m,t[14]=h);let g=`${a}`,_;t[15]===g?_=t[16]:(_={x:g},t[15]=g,t[16]=_);let v;t[17]===o?v=t[18]:(v={duration:o,repeat:1/0,ease:`linear`},t[17]=o,t[18]=v);let y;t[19]===r?y=t[20]:(y=r.map(Dd),t[19]=r,t[20]=y);let b;t[21]!==h||t[22]!==_||t[23]!==v||t[24]!==y?(b=(0,U.jsx)(vu.div,{initial:h,animate:_,transition:v,className:`flex shrink-0`,children:y}),t[21]=h,t[22]=_,t[23]=v,t[24]=y,t[25]=b):b=t[25];let x;return t[26]!==b||t[27]!==p?(x=(0,U.jsxs)(`div`,{className:`flex`,children:[p,b]}),t[26]=b,t[27]=p,t[28]=x):x=t[28],x}function Dd(e,t){return(0,U.jsx)(`img`,{width:300,alt:`marqueImg${t}`,className:`dark:invert object-scale-down pr-0 sm:pr-16 max-h-16`,src:e.src},t)}function Od(e,t){return(0,U.jsx)(`img`,{width:300,alt:`marqueImg${t}`,className:`dark:invert object-scale-down pr-0 sm:pr-16 max-h-16`,src:e.src},t)}var kd=()=>{let e=(0,vd.c)(3),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`div`,{className:`mr-auto`,children:(0,U.jsx)(`img`,{className:`dark:invert dark:hue-rotate-180`,width:200,src:`/assets/logo-commit.png`})}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsxs)(`nav`,{className:`p-4 hidden lg:flex items-center`,children:[(0,U.jsx)(`a`,{href:`#about`,className:`text-sm mx-4 text-base-content/70 hover:text-blue-500`,children:`О компании`}),(0,U.jsx)(`a`,{href:`#products`,className:`text-sm mx-4 text-base-content/70 hover:text-blue-500`,children:`Программные продукты`}),(0,U.jsx)(`a`,{href:`#services`,className:`text-sm mx-4 text-base-content/70 hover:text-blue-500`,children:`Услуги`}),(0,U.jsx)(`a`,{href:`#case`,className:`text-sm mx-4 text-base-content/70 hover:text-blue-500`,children:`Главный кейс`}),(0,U.jsx)(`a`,{href:`#contacts`,className:`text-sm mx-4 btn text-white rounded-full font-light not-disabled:bg-[#1C8EFF]`,children:`Контакты`})]}),e[1]=n):n=e[1];let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsxs)(`div`,{className:`flex flex-row p-4 w-full items-center max-w-7xl`,children:[t,n,(0,U.jsx)(`nav`,{className:`ml-auto lg:hidden`,children:(0,U.jsx)(`div`,{className:`btn btn-square btn-ghost`,onClick:Ad,children:(0,U.jsxs)(`svg`,{width:`800px`,height:`800px`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`path`,{d:`M4 18L20 18`,stroke:`#000000`,strokeWidth:`2`,strokeLinecap:`round`}),(0,U.jsx)(`path`,{d:`M4 12L20 12`,stroke:`#000000`,strokeWidth:`2`,strokeLinecap:`round`}),(0,U.jsx)(`path`,{d:`M4 6L20 6`,stroke:`#000000`,strokeWidth:`2`,strokeLinecap:`round`})]})})})]}),e[2]=r):r=e[2],r};function Ad(){let e=document.getElementById(`navbar_modal`);e&&e.showModal()}var jd=e=>{let t=(0,vd.c)(23),{service:n}=e,r=(0,w.useRef)(null),i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={target:r,offset:[`end end`,`center center`]},t[0]=i):i=t[0];let{scrollYProgress:a}=sd(i),o,s;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(o=[0,1],s=[0,1],t[1]=o,t[2]=s):(o=t[1],s=t[2]);let c=dd(a,o,s),l,u;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(l=[0,1],u=[.9,1],t[3]=l,t[4]=u):(l=t[3],u=t[4]);let d=dd(a,l,u),f;t[5]===d?f=t[6]:(f={scale:d},t[5]=d,t[6]=f);let p;t[7]===c?p=t[8]:(p={opacity:c},t[7]=c,t[8]=p);let m;t[9]!==n.id||t[10]!==p?(m=(0,U.jsx)(vu.span,{style:p,className:`col-span-1 text-5xl lg:text-8xl leading-12 lg:leading-20 text-blue-500 lg:text-base-content/10 lg:group-hover:text-blue-500 transition-colors`,children:n.id}),t[9]=n.id,t[10]=p,t[11]=m):m=t[11];let h;t[12]===n.title?h=t[13]:(h=(0,U.jsx)(`span`,{className:`col-span-3 lg:col-span-1 text-2xl lg:text-xl`,children:n.title}),t[12]=n.title,t[13]=h);let g;t[14]===n.descriptions?g=t[15]:(g=n.descriptions.map(Nd),t[14]=n.descriptions,t[15]=g);let _;t[16]===g?_=t[17]:(_=(0,U.jsx)(`div`,{className:`row-start-2 lg:row-start-1 col-span-4 lg:col-start-3 lg:col-span-2 flex flex-col gap-4`,children:g}),t[16]=g,t[17]=_);let v;return t[18]!==_||t[19]!==f||t[20]!==m||t[21]!==h?(v=(0,U.jsxs)(vu.div,{ref:r,style:f,className:`group p-8 bg-base-300 rounded-2xl grid grid-cols-[0.5fr_1fr_1fr_1fr] justify-start gap-8`,children:[m,h,_]}),t[18]=_,t[19]=f,t[20]=m,t[21]=h,t[22]=v):v=t[22],v},Md=()=>{let e=(0,vd.c)(11),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={id:`01`,title:`Разработка и сопровождение ПО`,descriptions:[`Адаптация и модификация систем на базе 1С, с использованием СУБД MS SQL и PostgreSQL`,`Разработка аналитических отчётов и интеграционных решений`]},e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n={id:`02`,title:`ИТ-аутсорсинг и инфраструктура`,descriptions:[`Обслуживание АРМ (ПК, моноблоки), серверов и оргтехники`,`Администрирование локальных сетей и IP-телефонии`,`Обеспечение ИТ-безопасности (антивирусная защита, резервное копирование)`]},e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r={id:`03`,title:`Импортозамещение`,descriptions:[`Поставка оборудования (серверы, периферия) из Единого реестра российской радиоэлектронной продукции (ПП РФ № 878)`,`Перевод инфраструктуры на отечественное ПО (Astra Linux, P7-Офис и др.)`]},e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=[t,n,r,{id:`04`,title:`1С: Франчайзинг`,descriptions:[`Продажа лицензий, внедрение и доработка конфигураций`,`1С: Управление холдингом, 1С: ЗУП, 1С: Бухгалтерия`]}],e[3]=i):i=e[3];let a=i,o;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsxs)(`span`,{className:`px-4 text-3xl lg:text-4xl lg:text-center my-8`,children:[(0,U.jsx)(`span`,{className:`text-blue-500`,children:`Предоставляемые услуги`}),` нашей компании`]}),e[4]=o):o=e[4];let s,c,l;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,U.jsx)(`div`,{className:`bg-base-300/50 py-2 px-4 flex w-min rounded-3xl`,children:(0,U.jsx)(`span`,{className:`text-nowrap text-xs text-white`,children:`Цифровая надёжность`})}),c=(0,U.jsx)(`span`,{className:`text-4xl text-white`,children:`ООО «КОММИТ»`}),l=(0,U.jsx)(`span`,{className:`text-white`,children:`Разработка и сопровождение программного обеспечения для сферы ЖКХ и государственных организаций`}),e[5]=s,e[6]=c,e[7]=l):(s=e[5],c=e[6],l=e[7]);let u;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,U.jsxs)(`div`,{className:`bg-blue-500 flex flex-col gap-6 p-10 col-span-1 rounded-2xl overflow-hidden`,children:[s,c,l,(0,U.jsx)(`div`,{className:`flex justify-center p-4`,children:(0,U.jsx)(`img`,{className:`max-w-48`,src:`/assets/service.svg`})})]}),e[8]=u):u=e[8];let d;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,U.jsxs)(`div`,{className:`flex flex-col gap-8`,children:[u,(0,U.jsx)(`div`,{children:(0,U.jsxs)(`span`,{className:`text-[1rem] text-base-content/70`,children:[`✳︎ Наши услуги ориентированы на долгосрочную ценность: мы не просто реализуем отдельные задачи, a `,(0,U.jsx)(`span`,{className:`text-blue-500`,children:`выстраиваем технологическую основу для роста, масштабирования и развития бизнеса.`}),` Надёжность, контроль и ответственность — ключевые принципы нашей работы.`]})})]}),e[9]=d):d=e[9];let f;return e[10]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,U.jsx)(`section`,{id:`services`,className:`max-w-7xl w-full h-auto`,children:(0,U.jsxs)(`div`,{className:`w-full h-auto flex flex-col items-center mb-8`,children:[o,(0,U.jsxs)(`div`,{className:`h-full grid grid-cols-1 lg:grid-cols-3 font-light lg:gap-4 p-2 xl:p-0`,children:[d,(0,U.jsx)(`div`,{className:`my-8 lg:my-0 flex flex-col gap-4 col-span-2 rounded-2xl overflow-hidden`,children:a.map(Pd)})]})]})}),e[10]=f):f=e[10],f};function Nd(e,t){return(0,U.jsxs)(`div`,{className:`flex flex-row gap-2`,children:[(0,U.jsx)(`svg`,{className:`shrink-0`,width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M11 2.0625C6.07191 2.0625 2.0625 6.07191 2.0625 11C2.0625 15.9281 6.07191 19.9375 11 19.9375C15.9281 19.9375 19.9375 15.9281 19.9375 11C19.9375 6.07191 15.9281 2.0625 11 2.0625ZM15.6514 8.00465L9.87637 14.8796C9.81302 14.9551 9.73419 15.0161 9.64523 15.0584C9.55627 15.1007 9.45925 15.1234 9.36074 15.125H9.34914C9.25278 15.125 9.1575 15.1047 9.06948 15.0654C8.98147 15.0262 8.90269 14.9689 8.83824 14.8973L6.36324 12.1473C6.30039 12.0806 6.25149 12.002 6.21943 11.9162C6.18737 11.8304 6.17279 11.739 6.17655 11.6474C6.1803 11.5559 6.20232 11.466 6.24131 11.3831C6.2803 11.3002 6.33547 11.2259 6.40358 11.1646C6.47169 11.1033 6.55136 11.0563 6.63791 11.0262C6.72447 10.9961 6.81616 10.9837 6.9076 10.9896C6.99904 10.9954 7.08838 11.0195 7.17037 11.0604C7.25236 11.1013 7.32534 11.1582 7.38504 11.2277L9.33109 13.3899L14.5986 7.12035C14.7168 6.98375 14.884 6.89912 15.064 6.88478C15.244 6.87043 15.4225 6.92751 15.5608 7.04368C15.6991 7.15985 15.7861 7.32578 15.8031 7.5056C15.82 7.68542 15.7655 7.86469 15.6514 8.00465Z`,fill:`#1C8EFF`})}),(0,U.jsx)(`span`,{className:`text-base-content/70`,children:e})]},t)}function Pd(e,t){return(0,U.jsx)(jd,{service:e},t)}var Z=e=>{let t=(0,vd.c)(5),{id:n,children:r}=e,i;t[0]===r?i=t[1]:(i=(0,U.jsx)(`div`,{className:`max-w-7xl w-full h-auto xl:py-4`,children:r}),t[0]=r,t[1]=i);let a;return t[2]!==n||t[3]!==i?(a=(0,U.jsx)(`section`,{id:n,className:`min-h-screen h-auto w-full flex justify-center`,children:i}),t[2]=n,t[3]=i,t[4]=a):a=t[4],a},Fd=()=>{let e=(0,vd.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(Z,{id:`products`,children:(0,U.jsxs)(`div`,{className:`w-full p-2 flex flex-col space-y-8 justify-center`,children:[(0,U.jsx)(`div`,{className:`w-full flex justify-center mb-8`,children:(0,U.jsxs)(`span`,{className:`px-4 text-3xl sm:text-4xl sm:text-center`,children:[(0,U.jsx)(`span`,{className:`text-blue-500`,children:`Ключевые программные`}),` продукты собственной разработки`]})}),(0,U.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8`,children:[{title:`ПО «Квартплата»`,img:`/assets/kvartplata.png`,descriptions:[`Автоматизация начислений и\xA0приёма платежей физических лиц`,`Ведение лицевых счётов, работа с\xA0задолженностью, интеграция с\xA0ГИС\xA0ЖКХ`]},{title:`ПО «Расчёты с юридическими лицами»`,img:`/assets/jur.png`,descriptions:[`Учёт договоров на поставку коммунальных услуг, автоматический расчёт потребления`,`Формирование счетов-фактур, учёт централизованных организаций с филиалами`]},{title:`ПО «СБЫТ»`,img:`/assets/sbyt.jpg`,descriptions:[`Консолидация данных, формирование плана реализации и бюджета продаж`,`Анализ выпадающих доходов, подготовка форм ГКЦ РС(Я) (ТХ-1, ВС-1 и др.)`]},{title:`ПО «Инженерно-картографическая система» `,img:`/assets/iks.png`,descriptions:[`Графическое отображение сетей тепло- и водоснабжения, котельных`,`Расчёт параметров объектов, паспортизация сетей на карте`]},{title:`ПО «Топливо и транспорт — FUEL»`,img:`/assets/fuel.jpg`,descriptions:[`Учёт топливных ресурсов котельных, перемещений, остатков топлива`,`Формирование отчётности, путевых листов, учёт мест накоплений ТКО, аналитика расхода ТЭР`]},{title:`ПО «АСКУУТЭ» `,img:`/assets/askuute.jpg`,descriptions:[`Сбор показаний приборов учёта тепла, контроль поверок оборудования`,`Интеграция с разнородными системами сбора данных, автоматизация расчётов`]}].map(Ld)})]})}),e[0]=t):t=e[0],t};function Id(e,t){return(0,U.jsxs)(`div`,{className:`flex flex-row gap-2`,children:[(0,U.jsx)(`svg`,{className:`shrink-0`,width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M11 2.0625C6.07191 2.0625 2.0625 6.07191 2.0625 11C2.0625 15.9281 6.07191 19.9375 11 19.9375C15.9281 19.9375 19.9375 15.9281 19.9375 11C19.9375 6.07191 15.9281 2.0625 11 2.0625ZM15.6514 8.00465L9.87637 14.8796C9.81302 14.9551 9.73419 15.0161 9.64523 15.0584C9.55627 15.1007 9.45925 15.1234 9.36074 15.125H9.34914C9.25278 15.125 9.1575 15.1047 9.06948 15.0654C8.98147 15.0262 8.90269 14.9689 8.83824 14.8973L6.36324 12.1473C6.30039 12.0806 6.25149 12.002 6.21943 11.9162C6.18737 11.8304 6.17279 11.739 6.17655 11.6474C6.1803 11.5559 6.20232 11.466 6.24131 11.3831C6.2803 11.3002 6.33547 11.2259 6.40358 11.1646C6.47169 11.1033 6.55136 11.0563 6.63791 11.0262C6.72447 10.9961 6.81616 10.9837 6.9076 10.9896C6.99904 10.9954 7.08838 11.0195 7.17037 11.0604C7.25236 11.1013 7.32534 11.1582 7.38504 11.2277L9.33109 13.3899L14.5986 7.12035C14.7168 6.98375 14.884 6.89912 15.064 6.88478C15.244 6.87043 15.4225 6.92751 15.5608 7.04368C15.6991 7.15985 15.7861 7.32578 15.8031 7.5056C15.82 7.68542 15.7655 7.86469 15.6514 8.00465Z`,fill:`#1C8EFF`})}),(0,U.jsx)(`span`,{className:`text-base-content/70`,children:e})]},t)}function Ld(e,t){return(0,U.jsxs)(vu.div,{whileHover:{scale:`1.05`,boxShadow:`0 0 10px #00000050`},initial:{scale:`1`,boxShadow:`none`},className:`p-2 bg-base-200 rounded-2xl grid grid-rows-[min-content_1fr] w-full h-full`,children:[(0,U.jsx)(`div`,{className:`rounded-2xl overflow-hidden`,children:(0,U.jsx)(`img`,{className:`aspect-video object-cover`,src:e.img})}),(0,U.jsxs)(`div`,{className:`grid grid-rows-[min-content_auto] gap-4 p-4`,children:[(0,U.jsx)(`span`,{className:`text-xl`,children:e.title}),(0,U.jsx)(`div`,{className:`flex flex-col`,children:e.descriptions.map(Id)})]})]},t)}var Rd=e=>{let t=(0,vd.c)(3),{text:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(`svg`,{className:`shrink-0`,width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M11 2.0625C6.07191 2.0625 2.0625 6.07191 2.0625 11C2.0625 15.9281 6.07191 19.9375 11 19.9375C15.9281 19.9375 19.9375 15.9281 19.9375 11C19.9375 6.07191 15.9281 2.0625 11 2.0625ZM15.6514 8.00465L9.87637 14.8796C9.81302 14.9551 9.73419 15.0161 9.64523 15.0584C9.55627 15.1007 9.45925 15.1234 9.36074 15.125H9.34914C9.25278 15.125 9.1575 15.1047 9.06948 15.0654C8.98147 15.0262 8.90269 14.9689 8.83824 14.8973L6.36324 12.1473C6.30039 12.0806 6.25149 12.002 6.21943 11.9162C6.18737 11.8304 6.17279 11.739 6.17655 11.6474C6.1803 11.5559 6.20232 11.466 6.24131 11.3831C6.2803 11.3002 6.33547 11.2259 6.40358 11.1646C6.47169 11.1033 6.55136 11.0563 6.63791 11.0262C6.72447 10.9961 6.81616 10.9837 6.9076 10.9896C6.99904 10.9954 7.08838 11.0195 7.17037 11.0604C7.25236 11.1013 7.32534 11.1582 7.38504 11.2277L9.33109 13.3899L14.5986 7.12035C14.7168 6.98375 14.884 6.89912 15.064 6.88478C15.244 6.87043 15.4225 6.92751 15.5608 7.04368C15.6991 7.15985 15.7861 7.32578 15.8031 7.5056C15.82 7.68542 15.7655 7.86469 15.6514 8.00465Z`,fill:`#1C8EFF`})}),t[0]=r):r=t[0];let i;return t[1]===n?i=t[2]:(i=(0,U.jsxs)(`div`,{className:`flex flex-row gap-2`,children:[r,(0,U.jsx)(`span`,{className:`text-base-content/70`,children:n})]}),t[1]=n,t[2]=i),i},zd=()=>{let e=(0,vd.c)(8),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=[`Модернизация биллинговых систем (физ. и юр. лица)`,`Внедрение ПО «Топливо и транспорт»`,`Запуск чат-бота и личного кабинета`,`Модернизация серверного оборудования`,`Внедрение IP-телефонии`],e[0]=t):t=e[0];let n=t,r;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsxs)(`span`,{className:`px-4 text-3xl sm:text-4xl sm:text-center my-8`,children:[`Главный `,(0,U.jsx)(`span`,{className:`text-blue-500`,children:`кейс`})]}),e[1]=r):r=e[1];let i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsxs)(`div`,{className:`flex flex-col gap-6 p-10`,children:[(0,U.jsx)(`div`,{className:`bg-base-300/50 py-2 px-4 flex w-min rounded-3xl`,children:(0,U.jsx)(`span`,{className:`text-nowrap text-xs text-white`,children:`Цифровая трансформация`})}),(0,U.jsx)(`span`,{className:`text-4xl text-white`,children:`ГУП «ЖКХ РС(Я)»`}),(0,U.jsx)(`span`,{className:`text-white`,children:`Комплексная цифровизация жилищно-коммунального хозяйства — одного из крупных предприятий Республики Саха (Якутия)`})]}),e[2]=i):i=e[2];let a;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsxs)(`div`,{className:`bg-blue-500 flex flex-col gap-6 `,children:[i,(0,U.jsx)(`div`,{className:`flex my-auto`,children:(0,U.jsxs)(`svg`,{width:`648`,height:`249`,viewBox:`0 0 648 249`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`path`,{d:`M478 232C478 236.971 482.029 241 487 241H663V249H486C477.163 249 470 241.837 470 233V202H478V232Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M171 232C171 236.971 175.029 241 180 241H356V249H179C170.163 249 163 241.837 163 233V202H171V232Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M446 232C446 236.971 441.971 241 437 241H261V249H438C446.837 249 454 241.837 454 233V202H446V232Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M496 223C496 225.209 497.791 227 500 227H681V234H499C492.925 234 488 229.075 488 223V187H496V223Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M189 223C189 225.209 190.791 227 193 227H374V235H191C185.477 235 181 230.523 181 225V188H189V223Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M428 223C428 225.209 426.209 227 424 227H243V235H426C431.523 235 436 230.523 436 225V188H428V223Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M516 212C516 213.105 516.895 214 518 214H701V222H516C511.582 222 508 218.418 508 214V175H516V212Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M209 212C209 213.105 209.895 214 211 214H394V222H209C204.582 222 201 218.418 201 214V175H209V212Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M408 212C408 213.105 407.105 214 406 214H223V222H408C412.418 222 416 218.418 416 214V175H408V212Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M526 199H393V138H526V199ZM404 154H429V145H404V154ZM433 154H458V145H433V154ZM462 154H487V145H462V154ZM491 145V154H516V145H491Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M201 155H159V61H201V155ZM164 151H168V142H164V151ZM170 151H174V142H170V151ZM164 138H168V129H164V138ZM170 138H174V129H170V138ZM164 125H168V116H164V125ZM170 125H174V116H170V125ZM176 125H180V116H176V125ZM164 112H168V103H164V112ZM170 112H174V103H170V112ZM176 112H180V103H176V112ZM164 99H168V90H164V99ZM170 99H174V90H170V99ZM176 99H180V90H176V99ZM182 99H186V90H182V99ZM164 86H168V77H164V86ZM170 86H174V77H170V86ZM176 86H180V77H176V86ZM182 77V86H186V77H182ZM164 73H168V64H164V73ZM170 73H174V64H170V73ZM176 73H180V64H176V73ZM182 73H186V64H182V73ZM188 73H192V64H188V73Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M237 199H123V157H237V199ZM129 193H154V187H129V193ZM158 193H183V187H158V193ZM187 193H212V187H187V193ZM129 181H154V175H129V181ZM158 181H183V175H158V181ZM187 181H212V175H187V181ZM129 169H154V163H129V169ZM158 169H183V163H158V169ZM187 163V169H212V163H187Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M152 155H83V86H152V155ZM89.0879 150.881H105.323V142.643H89.0879V150.881ZM109.383 150.881H125.617V142.643H109.383V150.881ZM129.677 142.643V150.881H145.912V142.643H129.677ZM89.0879 134.403H105.323V126.164H89.0879V134.403ZM109.383 134.403H125.617V126.164H109.383V134.403ZM129.677 134.403H145.912V126.164H129.677V134.403ZM89.0879 117.926H105.323V109.688H89.0879V117.926ZM109.383 117.926H125.617V109.688H109.383V117.926ZM129.677 117.926H145.912V109.688H129.677V117.926ZM89.0879 101.448H105.323V93.209H89.0879V101.448ZM109.383 101.448H125.617V93.209H109.383V101.448ZM129.677 101.448H145.912V93.209H129.677V101.448Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M121 199H83V154H121V199ZM89.1621 174V181H114.838V174H89.1621ZM89.1621 165H114.838V158H89.1621V165Z`,fill:`white`}),(0,U.jsx)(`rect`,{x:`122`,y:`67`,width:`18`,height:`17`,fill:`white`}),(0,U.jsx)(`path`,{d:`M131 53L142.258 65.75H119.742L131 53Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M108 84H81V199H72.5V134H37V11H108V84ZM41 125H49V113H41V125ZM52 125H60V113H52V125ZM41 109H49V97H41V109ZM52 109H60V97H52V109ZM63 109H71V97H63V109ZM41 93H49V81H41V93ZM52 93H60V81H52V93ZM63 93H71V81H63V93ZM41 77H49V65H41V77ZM52 77H60V65H52V77ZM63 77H71V65H63V77ZM74 77H82V65H74V77ZM41 61H49V49H41V61ZM52 61H60V49H52V61ZM63 61H71V49H63V61ZM74 61H82V49H74V61ZM41 45H49V33H41V45ZM52 45H60V33H52V45ZM63 45H71V33H63V45ZM74 45H82V33H74V45ZM85 33V45H93V33H85ZM41 29H49V17H41V29ZM52 29H60V17H52V29ZM63 29H71V17H63V29ZM74 29H82V17H74V29ZM85 29H93V17H85V29Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M40.5091 0H104.491L107 7H38L40.5091 0Z`,fill:`white`}),(0,U.jsx)(`rect`,{x:`470`,y:`37`,width:`8`,height:`98`,fill:`white`}),(0,U.jsx)(`rect`,{x:`484`,y:`37`,width:`8`,height:`98`,fill:`white`}),(0,U.jsx)(`rect`,{x:`498`,y:`37`,width:`8`,height:`98`,fill:`white`}),(0,U.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M70 199H0V136H70V199ZM5 183C3.34315 183 2 184.343 2 186V197H10V186C10 184.343 8.65685 183 7 183H5ZM19 183C17.3431 183 16 184.343 16 186V197H24V186C24 184.343 22.6569 183 21 183H19ZM33 183C31.3431 183 30 184.343 30 186V197H38V186C38 184.343 36.6569 183 35 183H33ZM47 183C45.3431 183 44 184.343 44 186V197H52V186C52 184.343 50.6569 183 49 183H47ZM61 183C59.3431 183 58 184.343 58 186V197H66V186C66 184.343 64.6569 183 63 183H61ZM5 168C3.34315 168 2 169.343 2 171V182H10V171C10 169.343 8.65685 168 7 168H5ZM19 168C17.3431 168 16 169.343 16 171V182H24V171C24 169.343 22.6569 168 21 168H19ZM33 168C31.3431 168 30 169.343 30 171V182H38V171C38 169.343 36.6569 168 35 168H33ZM47 168C45.3431 168 44 169.343 44 171V182H52V171C52 169.343 50.6569 168 49 168H47ZM61 168C59.3431 168 58 169.343 58 171V182H66V171C66 169.343 64.6569 168 63 168H61ZM5 153C3.34315 153 2 154.343 2 156V167H10V156C10 154.343 8.65685 153 7 153H5ZM19 153C17.3431 153 16 154.343 16 156V167H24V156C24 154.343 22.6569 153 21 153H19ZM33 153C31.3431 153 30 154.343 30 156V167H38V156C38 154.343 36.6569 153 35 153H33ZM47 153C45.3431 153 44 154.343 44 156V167H52V156C52 154.343 50.6569 153 49 153H47ZM61 153C59.3431 153 58 154.343 58 156V167H66V156C66 154.343 64.6569 153 63 153H61ZM5 138C3.34315 138 2 139.343 2 141V152H10V141C10 139.343 8.65685 138 7 138H5ZM19 138C17.3431 138 16 139.343 16 141V152H24V141C24 139.343 22.6569 138 21 138H19ZM33 138C31.3431 138 30 139.343 30 141V152H38V141C38 139.343 36.6569 138 35 138H33ZM47 138C45.3431 138 44 139.343 44 141V152H52V141C52 139.343 50.6569 138 49 138H47ZM61 138C59.3431 138 58 139.343 58 141V152H66V141C66 139.343 64.6569 138 63 138H61Z`,fill:`white`})]})})]}),e[3]=a):a=e[3];let o;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsxs)(`div`,{className:`p-8 bg-base-100 flex flex-col gap-4 rounded-2xl`,children:[(0,U.jsx)(`span`,{className:`text-xl`,children:`Основная задача:`}),(0,U.jsx)(`span`,{className:`text-base-content/70`,children:`Реализация стратегии цифровой трансформации`})]}),e[4]=o):o=e[4];let s;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,U.jsx)(`span`,{className:`text-xl`,children:`Выполненные работы:`}),e[5]=s):s=e[5];let c;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,U.jsxs)(`div`,{className:`p-8 bg-base-100 rounded-2xl flex flex-col gap-4`,children:[s,(0,U.jsx)(`div`,{className:`flex flex-col gap-6`,children:n.map(Bd)})]}),e[6]=c):c=e[6];let l;return e[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,U.jsx)(`section`,{id:`case`,className:`max-w-7xl w-full h-auto`,children:(0,U.jsxs)(`div`,{className:`w-full h-auto flex flex-col items-center mb-8 p-2 xl:p-0`,children:[r,(0,U.jsxs)(`div`,{className:`rounded-2xl h-full overflow-hidden grid grid-cols-1 sm:grid-cols-2 font-light`,children:[a,(0,U.jsxs)(`div`,{className:`flex flex-col gap-4 bg-base-300 p-4`,children:[o,c,(0,U.jsxs)(`div`,{className:`p-8 bg-black flex flex-col gap-4 rounded-2xl text-white`,children:[(0,U.jsx)(`span`,{className:`text-xl`,children:`Результат:`}),(0,U.jsx)(`span`,{className:``,children:`Сокращение времени обработки платежей, полное импортозамещение базового ПО, интеграция с ГИС ЖКХ`})]})]})]})]})}),e[7]=l):l=e[7],l};function Bd(e,t){return(0,U.jsx)(Rd,{text:e},t)}var Vd=()=>{let e=(0,vd.c)(9),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,U.jsx)(`div`,{children:(0,U.jsx)(`img`,{className:`dark:invert dark:hue-rotate-180`,width:200,src:`/assets/logo-commit.png`})}),(0,U.jsx)(`span`,{className:`text-base-content/70`,children:`Разработка и сопровождение программного обеспечения для сферы ЖКХ и государственных организаций`})]}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsxs)(`div`,{className:`flex flex-col text-nowrap gap-4 text-base-content/70`,children:[(0,U.jsx)(`span`,{className:`text-2xl text-base-content`,children:`Компания`}),(0,U.jsx)(`a`,{href:`#about`,className:`text-base-content/70 hover:text-blue-500`,children:`О компании`}),(0,U.jsx)(`a`,{href:`#products`,className:`text-base-content/70 hover:text-blue-500`,children:`Программные продукты`}),(0,U.jsx)(`a`,{href:`#services`,className:`text-base-content/70 hover:text-blue-500`,children:`Услуги`}),(0,U.jsx)(`a`,{href:`#license`,className:`text-base-content/70 hover:text-blue-500`,children:`Документы`})]}),e[1]=n):n=e[1];let r,i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsxs)(`div`,{className:`w-full flex flex-col md:flex-row gap-8`,children:[t,n,(0,U.jsxs)(`section`,{id:`contacts`,className:`flex flex-col text-nowrap gap-4 text-base-content/70`,children:[(0,U.jsx)(`span`,{className:`text-2xl text-base-content`,children:`Контакты`}),(0,U.jsx)(`a`,{className:`text-base-content/70 hover:text-blue-500`,href:`mailto:commit23@mail.ru`,children:`commit23@mail.ru`}),(0,U.jsx)(`a`,{className:`text-base-content/70 hover:text-blue-500`,href:`tel:+79142739020`,children:`+7 (914) 273-90-20`}),(0,U.jsx)(`span`,{className:`text-wrap`,children:`677021, Республика Саха (Якутия), г. Якутск, ул. К.Д. Уткина, д. 20, стр. 1`})]})]}),i=(0,U.jsx)(`hr`,{className:`my-4 border-gray-300`}),e[2]=r,e[3]=i):(r=e[2],i=e[3]);let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsxs)(`span`,{className:`flex flex-col text-base-content/70`,children:[(0,U.jsx)(`span`,{children:`ООО «КОММИТ»`}),(0,U.jsx)(`span`,{children:`ИНН 1400023251`}),(0,U.jsx)(`span`,{children:`ОГРН 1231400006232`})]}),e[4]=a):a=e[4];let o,s;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsxs)(`div`,{className:`grid grid-cols-2`,children:[a,(0,U.jsx)(`div`,{className:`flex flex-col text-base-content/70`,children:(0,U.jsx)(`a`,{className:`hover:text-blue-500`,target:`_blank`,href:`/assets/legal/Политика_обработки_персональныханных_КОММИТ.pdf`,children:`Политика обработки персональных данных`})})]}),s=(0,U.jsx)(`span`,{className:`text-base-content/70`,children:`Ⓒ 2026 Все права защищены. Информация на сайте имеет исключительно справочно-маркетинговую направленность и не является публичной офертой`}),e[5]=o,e[6]=s):(o=e[5],s=e[6]);let c;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,U.jsx)(`path`,{d:`M138.265 75.8371C138.265 91.9368 135.213 105.633 129.11 116.927C123.054 128.221 114.788 136.848 104.311 142.807C93.8828 148.718 82.1564 151.674 69.1325 151.674C56.0125 151.674 44.2381 148.694 33.8094 142.735C23.3806 136.776 15.1386 128.149 9.08315 116.855C3.02775 105.561 5.55553e-05 91.8887 5.55553e-05 75.8371C5.55553e-05 59.7374 3.02775 46.0407 9.08315 34.7469C15.1386 23.4531 23.3806 14.8506 33.8094 8.93937C44.2381 2.98008 56.0125 0.000438392 69.1325 0.000438392C82.1564 0.000438392 93.8828 2.98008 104.311 8.93937C114.788 14.8506 123.054 23.4531 129.11 34.7469C135.213 46.0407 138.265 59.7374 138.265 75.8371ZM106.618 75.8371C106.618 65.4083 105.056 56.6136 101.933 49.4529C98.8568 42.2921 94.5075 36.8615 88.8846 33.161C83.2618 29.4604 76.6777 27.6102 69.1325 27.6102C61.5873 27.6102 55.0033 29.4604 49.3804 33.161C43.7575 36.8615 39.3842 42.2921 36.2604 49.4529C33.1846 56.6136 31.6467 65.4083 31.6467 75.8371C31.6467 86.2658 33.1846 95.0606 36.2604 102.221C39.3842 109.382 43.7575 114.813 49.3804 118.513C55.0033 122.214 61.5873 124.064 69.1325 124.064C76.6777 124.064 83.2618 122.214 88.8846 118.513C94.5075 114.813 98.8568 109.382 101.933 102.221C105.056 95.0606 106.618 86.2658 106.618 75.8371ZM292.997 75.8371C292.997 91.9368 289.945 105.633 283.842 116.927C277.786 128.221 269.52 136.848 259.043 142.807C248.615 148.718 236.888 151.674 223.865 151.674C210.744 151.674 198.97 148.694 188.541 142.735C178.113 136.776 169.871 128.149 163.815 116.855C157.76 105.561 154.732 91.8887 154.732 75.8371C154.732 59.7374 157.76 46.0407 163.815 34.7469C169.871 23.4531 178.113 14.8506 188.541 8.93937C198.97 2.98008 210.744 0.000438392 223.865 0.000438392C236.888 0.000438392 248.615 2.98008 259.043 8.93937C269.52 14.8506 277.786 23.4531 283.842 34.7469C289.945 46.0407 292.997 59.7374 292.997 75.8371ZM261.35 75.8371C261.35 65.4083 259.788 56.6136 256.665 49.4529C253.589 42.2921 249.24 36.8615 243.617 33.161C237.994 29.4604 231.41 27.6102 223.865 27.6102C216.319 27.6102 209.735 29.4604 204.112 33.161C198.49 36.8615 194.116 42.2921 190.992 49.4529C187.917 56.6136 186.379 65.4083 186.379 75.8371C186.379 86.2658 187.917 95.0606 190.992 102.221C194.116 109.382 198.49 114.813 204.112 118.513C209.735 122.214 216.319 124.064 223.865 124.064C231.41 124.064 237.994 122.214 243.617 118.513C249.24 114.813 253.589 109.382 256.665 102.221C259.788 95.0606 261.35 86.2658 261.35 75.8371ZM447.729 75.8371C447.729 91.9368 444.677 105.633 438.574 116.927C432.518 128.221 424.252 136.848 413.775 142.807C403.347 148.718 391.62 151.674 378.597 151.674C365.476 151.674 353.702 148.694 343.273 142.735C332.845 136.776 324.603 128.149 318.547 116.855C312.492 105.561 309.464 91.8887 309.464 75.8371C309.464 59.7374 312.492 46.0407 318.547 34.7469C324.603 23.4531 332.845 14.8506 343.273 8.93937C353.702 2.98008 365.476 0.000438392 378.597 0.000438392C391.62 0.000438392 403.347 2.98008 413.775 8.93937C424.252 14.8506 432.518 23.4531 438.574 34.7469C444.677 46.0407 447.729 59.7374 447.729 75.8371ZM416.082 75.8371C416.082 65.4083 414.52 56.6136 411.397 49.4529C408.321 42.2921 403.972 36.8615 398.349 33.161C392.726 29.4604 386.142 27.6102 378.597 27.6102C371.051 27.6102 364.467 29.4604 358.844 33.161C353.222 36.8615 348.848 42.2921 345.724 49.4529C342.649 56.6136 341.111 65.4083 341.111 75.8371C341.111 86.2658 342.649 95.0606 345.724 102.221C348.848 109.382 353.222 114.813 358.844 118.513C364.467 122.214 371.051 124.064 378.597 124.064C386.142 124.064 392.726 122.214 398.349 118.513C403.972 114.813 408.321 109.382 411.397 102.221C414.52 95.0606 416.082 86.2658 416.082 75.8371ZM599.032 149.655L551.598 86.7224H540.929V149.655H509.715V2.01891H540.929V60.9869H547.2L596.22 2.01891H635.076L577.477 70.5026L637.743 149.655H599.032ZM776.724 75.8371C776.724 91.9368 773.672 105.633 767.569 116.927C761.513 128.221 753.247 136.848 742.77 142.807C732.342 148.718 720.615 151.674 707.591 151.674C694.471 151.674 682.697 148.694 672.268 142.735C661.839 136.776 653.597 128.149 647.542 116.855C641.487 105.561 638.459 91.8887 638.459 75.8371C638.459 59.7374 641.487 46.0407 647.542 34.7469C653.597 23.4531 661.839 14.8506 672.268 8.93937C682.697 2.98008 694.471 0.000438392 707.591 0.000438392C720.615 0.000438392 732.342 2.98008 742.77 8.93937C753.247 14.8506 761.513 23.4531 767.569 34.7469C773.672 46.0407 776.724 59.7374 776.724 75.8371ZM745.077 75.8371C745.077 65.4083 743.515 56.6136 740.391 49.4529C737.316 42.2921 732.966 36.8615 727.343 33.161C721.721 29.4604 715.137 27.6102 707.591 27.6102C700.046 27.6102 693.462 29.4604 687.839 33.161C682.216 36.8615 677.843 42.2921 674.719 49.4529C671.643 56.6136 670.106 65.4083 670.106 75.8371C670.106 86.2658 671.643 95.0606 674.719 102.221C677.843 109.382 682.216 114.813 687.839 118.513C693.462 122.214 700.046 124.064 707.591 124.064C715.137 124.064 721.721 122.214 727.343 118.513C732.966 114.813 737.316 109.382 740.391 102.221C743.515 95.0606 745.077 86.2658 745.077 75.8371ZM795.786 2.01891H834.281L874.939 101.212H876.669L917.327 2.01891H955.822V149.655H925.545V53.5619H924.319L886.112 148.934H865.495L827.289 53.2014H826.063V149.655H795.786V2.01891ZM977.479 2.01891H1015.97L1056.63 101.212H1058.36L1099.02 2.01891H1137.51V149.655H1107.24V53.5619H1106.01L1067.81 148.934H1047.19L1008.98 53.2014H1007.76V149.655H977.479V2.01891ZM1159.17 2.01891H1190.31V94.8683H1191.54L1255.34 2.01891H1282.66V149.655H1251.44V56.7337H1250.36L1186.2 149.655H1159.17V2.01891ZM1298.77 27.7543V2.01891H1420.02V27.7543H1374.82V149.655H1343.96V27.7543H1298.77Z`,fill:`url(#paint0_linear_639_91)`,fillOpacity:`0.05`}),e[7]=c):c=e[7];let l;return e[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,U.jsx)(`div`,{className:`bg-base-200 flex w-full justify-center`,children:(0,U.jsxs)(`div`,{className:`max-w-7xl w-full flex flex-col mt-8 gap-8 px-4 pt-4 sm:p-8`,children:[r,i,o,s,(0,U.jsx)(`div`,{className:`w-full flex justify-center`,children:(0,U.jsxs)(`svg`,{fill:`none`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1420.02 151.67`,children:[c,(0,U.jsx)(`defs`,{children:(0,U.jsxs)(`linearGradient`,{id:`paint0_linear_639_91`,x1:`708.764`,y1:`149.655`,x2:`708.764`,y2:`1.65527`,gradientUnits:`userSpaceOnUse`,children:[(0,U.jsx)(`stop`,{stopColor:`#828282`,stopOpacity:`0.3`}),(0,U.jsx)(`stop`,{offset:`1`,stopColor:`#424242`})]})})]})})]})}),e[8]=l):l=e[8],l},Hd=e=>{let t=(0,vd.c)(11),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(`img`,{src:`/assets/buttons.svg`}),t[0]=r):r=t[0];let i;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsx)(`div`,{className:`bg-base-100 shrink-0 rounded-3xl`,children:(0,U.jsx)(`img`,{src:`/assets/buttons-view.svg`})}),t[1]=i):i=t[1];let a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsxs)(`div`,{className:`flex space-x-2 overflow-hidden`,children:[r,i,(0,U.jsx)(`div`,{className:`bg-base-100 shrink-0 rounded-3xl`,children:(0,U.jsx)(`img`,{src:`/assets/buttons-nav.svg`})})]}),t[2]=a):a=t[2];let o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsx)(`div`,{className:`flex justify-center`,children:(0,U.jsx)(`div`,{className:`flex grow bg-base-100 rounded-3xl justify-center items-center`,children:(0,U.jsx)(`span`,{className:`text-xs`,children:`commit-it.ru`})})}),t[3]=o):o=t[3];let s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,U.jsxs)(`div`,{className:`w-full grid grid-cols-3 p-2`,children:[a,o,(0,U.jsx)(`div`,{className:`flex justify-end`,children:(0,U.jsx)(`div`,{className:`bg-base-100 rounded-3xl`,children:(0,U.jsx)(`img`,{src:`/assets/buttons-menu.svg`})})})]}),t[4]=s):s=t[4];let c,l,u;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,U.jsx)(`img`,{className:`bg-base-100 w-7 p-1 rounded-full`,src:`/assets/safari-tab-1.svg`}),l=(0,U.jsx)(`img`,{className:`bg-base-100 w-7 p-1 rounded-full`,src:`/assets/safari-tab-2.svg`}),u=(0,U.jsx)(`img`,{className:`bg-base-100 w-7 p-1 rounded-full`,src:`/assets/safari-tab-3.svg`}),t[5]=c,t[6]=l,t[7]=u):(c=t[5],l=t[6],u=t[7]);let d;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,U.jsxs)(`div`,{className:`hidden sm:flex flex-col w-full`,children:[s,(0,U.jsxs)(`div`,{className:`flex p-2 space-x-2`,children:[c,l,u,(0,U.jsxs)(`div`,{className:`flex grow bg-base-100 rounded-2xl justify-center items-center`,children:[(0,U.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M7.37499 14.0209L9.99999 12.4376L12.625 14.0418L11.9375 11.0418L14.25 9.04177L11.2083 8.77094L9.99999 5.93761L8.79166 8.75011L5.74999 9.02094L8.06249 11.0418L7.37499 14.0209ZM6.10416 15.7693L7.13749 11.3418L3.70166 8.36511L8.22749 7.97344L9.99999 3.79761L11.7725 7.97261L16.2975 8.36427L12.8617 11.3409L13.8958 15.7684L9.99999 13.4184L6.10416 15.7693Z`,fill:`#1E1E1E`})}),(0,U.jsx)(`span`,{className:`text-xs`,children:`КОММИТ`})]})]})]}),t[8]=d):d=t[8];let f;return t[9]===n?f=t[10]:(f=(0,U.jsxs)(`div`,{className:`bg-[#F6F6F9] w-full h-min sm:rounded-4xl sm:border-8 sm:border-black`,children:[d,(0,U.jsx)(`div`,{className:`flex h-auto`,children:n})]}),t[9]=n,t[10]=f),f},Ud=e=>{let t=(0,vd.c)(13),{info:n,showDescription:r}=e,i=r===void 0?!0:r,a;t[0]===n.icon?a=t[1]:(a=(0,U.jsx)(`div`,{className:`flex flex-col`,children:(0,U.jsx)(`span`,{className:`flex justify-center items-center`,children:n.icon})}),t[0]=n.icon,t[1]=a);let o;t[2]===n.title?o=t[3]:(o=(0,U.jsx)(`span`,{className:`text-xl font-normal leading-5`,children:n.title}),t[2]=n.title,t[3]=o);let s;t[4]!==n.description||t[5]!==i?(s=i&&(0,U.jsx)(`span`,{className:`text-sm text-gray-500 font-light`,children:n.description}),t[4]=n.description,t[5]=i,t[6]=s):s=t[6];let c;t[7]!==o||t[8]!==s?(c=(0,U.jsxs)(`div`,{className:`flex flex-col space-y-2`,children:[o,s]}),t[7]=o,t[8]=s,t[9]=c):c=t[9];let l;return t[10]!==a||t[11]!==c?(l=(0,U.jsxs)(`div`,{className:`flex flex-row space-x-3`,children:[a,c]}),t[10]=a,t[11]=c,t[12]=l):l=t[12],l},Wd=()=>{let e=(0,vd.c)(14),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M5.5 7.375C5.5 6.87772 5.69754 6.40081 6.04917 6.04917C6.40081 5.69754 6.87772 5.5 7.375 5.5H14.625C15.1223 5.5 15.5992 5.69754 15.9508 6.04917C16.3025 6.40081 16.5 6.87772 16.5 7.375V14.625C16.5 15.1223 16.3025 15.5992 15.9508 15.9508C15.5992 16.3025 15.1223 16.5 14.625 16.5H7.375C6.87772 16.5 6.40081 16.3025 6.04917 15.9508C5.69754 15.5992 5.5 15.1223 5.5 14.625V7.375ZM10.015 8.61C9.94469 8.53977 9.84938 8.50033 9.75 8.50033C9.65062 8.50033 9.55531 8.53977 9.485 8.61L7.36 10.735C7.28977 10.8053 7.25033 10.9006 7.25033 11C7.25033 11.0994 7.28977 11.1947 7.36 11.265L9.485 13.39C9.51933 13.4268 9.56073 13.4564 9.60673 13.4769C9.65273 13.4974 9.70239 13.5084 9.75274 13.5093C9.80309 13.5102 9.8531 13.5009 9.8998 13.4821C9.94649 13.4632 9.98891 13.4351 10.0245 13.3995C10.0601 13.3639 10.0882 13.3215 10.1071 13.2748C10.1259 13.2281 10.1352 13.1781 10.1343 13.1277C10.1334 13.0774 10.1224 13.0277 10.1019 12.9817C10.0814 12.9357 10.0518 12.8943 10.015 12.86L8.155 11L10.015 9.14C10.0852 9.06969 10.1247 8.97438 10.1247 8.875C10.1247 8.77562 10.0852 8.68031 10.015 8.61ZM12.515 8.61C12.4807 8.57316 12.4393 8.54361 12.3933 8.52311C12.3473 8.50261 12.2976 8.49159 12.2473 8.4907C12.1969 8.48982 12.1469 8.49908 12.1002 8.51794C12.0535 8.5368 12.0111 8.56487 11.9755 8.60048C11.9399 8.63609 11.9118 8.67851 11.8929 8.7252C11.8741 8.7719 11.8648 8.82191 11.8657 8.87226C11.8666 8.92261 11.8776 8.97227 11.8981 9.01827C11.9186 9.06427 11.9482 9.10567 11.985 9.14L13.845 11L11.985 12.86C11.9482 12.8943 11.9186 12.9357 11.8981 12.9817C11.8776 13.0277 11.8666 13.0774 11.8657 13.1277C11.8648 13.1781 11.8741 13.2281 11.8929 13.2748C11.9118 13.3215 11.9399 13.3639 11.9755 13.3995C12.0111 13.4351 12.0535 13.4632 12.1002 13.4821C12.1469 13.5009 12.1969 13.5102 12.2473 13.5093C12.2976 13.5084 12.3473 13.4974 12.3933 13.4769C12.4393 13.4564 12.4807 13.4268 12.515 13.39L14.64 11.265C14.7102 11.1947 14.7497 11.0994 14.7497 11C14.7497 10.9006 14.7102 10.8053 14.64 10.735L12.515 8.61Z`,fill:`white`})]}),title:`Разработка программного обеспечения`,description:`Веб-сервисы, корпоративные и прикладные решения под задачи бизнеса`},e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n={icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12.3294 5.25541C12.1135 5.16675 11.8394 5.16675 11.2916 5.16675C10.7439 5.16675 10.4703 5.16675 10.2539 5.25541C10.1115 5.3136 9.98197 5.39937 9.87285 5.50779C9.76373 5.61621 9.67712 5.74514 9.61802 5.88716C9.56319 6.01725 9.54219 6.1695 9.53344 6.39058C9.52928 6.55071 9.48448 6.70715 9.40326 6.84521C9.32203 6.98326 9.20705 7.09841 9.06911 7.17983C8.92837 7.25806 8.77017 7.2995 8.60916 7.30032C8.44815 7.30113 8.28954 7.2613 8.14802 7.1845C7.95086 7.08066 7.80794 7.0235 7.66677 7.00483C7.35795 6.96454 7.04568 7.04753 6.79761 7.23583C6.61211 7.377 6.47502 7.61266 6.20144 8.08342C5.92727 8.55416 5.79077 8.78925 5.75986 9.01966C5.71902 9.3265 5.80302 9.63683 5.99319 9.88241C6.07952 9.99441 6.20144 10.0883 6.38986 10.2062C6.66811 10.3794 6.84661 10.6746 6.84661 11.0001C6.84661 11.3256 6.66811 11.6207 6.39044 11.7934C6.20144 11.9118 6.07952 12.0057 5.99261 12.1177C5.89902 12.2392 5.83029 12.3779 5.79036 12.526C5.75042 12.674 5.74006 12.8285 5.75986 12.9805C5.79077 13.2103 5.92727 13.446 6.20144 13.9167C6.47561 14.3875 6.61211 14.6226 6.79761 14.7643C7.04494 14.9527 7.35761 15.0356 7.66677 14.9953C7.80794 14.9767 7.95086 14.9195 8.14802 14.8157C8.28961 14.7388 8.44833 14.6989 8.60946 14.6997C8.77058 14.7005 8.92889 14.742 9.06969 14.8203C9.35319 14.9837 9.52119 15.2841 9.53344 15.6096C9.54219 15.8312 9.56319 15.9829 9.61802 16.113C9.73702 16.3988 9.96569 16.6263 10.2539 16.7447C10.4697 16.8334 10.7439 16.8334 11.2916 16.8334C11.8394 16.8334 12.1135 16.8334 12.3294 16.7447C12.4718 16.6866 12.6012 16.6008 12.7104 16.4924C12.8195 16.384 12.9061 16.255 12.9652 16.113C13.02 15.9829 13.041 15.8312 13.0498 15.6096C13.0614 15.2841 13.23 14.9831 13.5141 14.8203C13.6548 14.7421 13.813 14.7007 13.9741 14.6998C14.1351 14.699 14.2937 14.7389 14.4352 14.8157C14.6324 14.9195 14.7753 14.9767 14.9164 14.9953C15.2256 15.0362 15.5383 14.9527 15.7856 14.7643C15.9711 14.6232 16.1082 14.3875 16.3818 13.9167C16.6559 13.446 16.7924 13.2109 16.8234 12.9805C16.8431 12.8284 16.8326 12.6739 16.7926 12.5259C16.7525 12.3779 16.6837 12.2392 16.59 12.1177C16.5037 12.0057 16.3818 11.9118 16.1934 11.794C15.9151 11.6207 15.7366 11.3256 15.7366 11.0001C15.7366 10.6746 15.9151 10.3794 16.1928 10.2067C16.3818 10.0883 16.5037 9.99441 16.5906 9.88241C16.6842 9.76096 16.7529 9.62224 16.7929 9.47421C16.8328 9.32617 16.8432 9.17171 16.8234 9.01966C16.7924 8.78983 16.6559 8.55416 16.3818 8.08342C16.1076 7.61266 15.9711 7.37758 15.7856 7.23583C15.5375 7.04753 15.2253 6.96454 14.9164 7.00483C14.7753 7.0235 14.6324 7.08066 14.4352 7.1845C14.2936 7.2614 14.1349 7.30129 13.9738 7.30048C13.8126 7.29966 13.6543 7.25816 13.5135 7.17983C13.3757 7.09834 13.2608 6.98316 13.1797 6.84511C13.0986 6.70705 13.0539 6.55065 13.0498 6.39058C13.041 6.16891 13.02 6.01725 12.9652 5.88716C12.9061 5.74514 12.8195 5.61621 12.7104 5.50779C12.6012 5.39937 12.4718 5.3136 12.3294 5.25541ZM11.2916 12.7501C12.2658 12.7501 13.055 11.9667 13.055 11.0001C13.055 10.0335 12.2652 9.25008 11.2916 9.25008C10.318 9.25008 9.52819 10.0335 9.52819 11.0001C9.52819 11.9667 10.318 12.7501 11.2916 12.7501Z`,fill:`white`})]}),title:`Техническое сопровождение`,description:`Поддержка программного обеспечения, серверов и\xA0периферийной техники`},e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r={icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M16.8333 8.95842C16.8329 8.16887 16.586 7.39915 16.127 6.75668C15.6681 6.11421 15.0201 5.63103 14.2733 5.37456C13.5266 5.11809 12.7184 5.10113 11.9616 5.32604C11.2047 5.55095 10.537 6.00652 10.0515 6.62917C11.4824 6.68554 12.8359 7.29363 13.8284 8.32597C14.8208 9.35831 15.3751 10.7347 15.375 12.1668C15.375 12.2309 15.3738 12.2951 15.3715 12.3593L15.5658 12.4106C15.6943 12.445 15.8296 12.4449 15.958 12.4105C16.0865 12.3761 16.2037 12.3084 16.2978 12.2144C16.3919 12.1204 16.4596 12.0032 16.4941 11.8748C16.5286 11.7463 16.5287 11.611 16.4944 11.4825L16.4198 11.2048C16.3597 10.9803 16.3964 10.7434 16.4927 10.5323C16.7176 10.0381 16.8338 9.50137 16.8333 8.95842Z`,fill:`white`}),(0,U.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M14.5001 12.1667C14.5003 12.9553 14.3007 13.731 13.9199 14.4215C13.5391 15.112 12.9895 15.6948 12.3225 16.1154C11.6555 16.536 10.8928 16.7807 10.1056 16.8267C9.31839 16.8727 8.53237 16.7185 7.82091 16.3784C7.61349 16.274 7.37558 16.2471 7.15008 16.3026L6.43433 16.4945C6.30581 16.5288 6.17052 16.5287 6.04205 16.4942C5.91359 16.4596 5.79646 16.3919 5.70243 16.2978C5.6084 16.2038 5.54077 16.0866 5.50634 15.9581C5.4719 15.8296 5.47187 15.6943 5.50625 15.5658L5.69758 14.8501C5.75307 14.6246 5.72618 14.3867 5.62175 14.1792C5.32015 13.5472 5.16465 12.8555 5.16677 12.1552C5.16889 11.455 5.32858 10.7641 5.634 10.134C5.93942 9.50383 6.38275 8.95049 6.93111 8.51498C7.47948 8.07947 8.11883 7.77295 8.80177 7.61815C9.48471 7.46334 10.1937 7.46421 10.8763 7.62071C11.5589 7.7772 12.1974 8.08529 12.7447 8.52216C13.292 8.95902 13.734 9.51346 14.0378 10.1444C14.3417 10.7753 14.4997 11.4665 14.5001 12.1667ZM7.79175 12.7501C7.94646 12.7501 8.09483 12.6886 8.20423 12.5792C8.31362 12.4698 8.37508 12.3214 8.37508 12.1667C8.37508 12.012 8.31362 11.8637 8.20423 11.7543C8.09483 11.6449 7.94646 11.5834 7.79175 11.5834C7.63704 11.5834 7.48866 11.6449 7.37927 11.7543C7.26987 11.8637 7.20841 12.012 7.20841 12.1667C7.20841 12.3214 7.26987 12.4698 7.37927 12.5792C7.48866 12.6886 7.63704 12.7501 7.79175 12.7501ZM9.83341 12.7501C9.98812 12.7501 10.1365 12.6886 10.2459 12.5792C10.3553 12.4698 10.4167 12.3214 10.4167 12.1667C10.4167 12.012 10.3553 11.8637 10.2459 11.7543C10.1365 11.6449 9.98812 11.5834 9.83341 11.5834C9.6787 11.5834 9.53033 11.6449 9.42094 11.7543C9.31154 11.8637 9.25008 12.012 9.25008 12.1667C9.25008 12.3214 9.31154 12.4698 9.42094 12.5792C9.53033 12.6886 9.6787 12.7501 9.83341 12.7501ZM11.8751 12.7501C12.0298 12.7501 12.1782 12.6886 12.2876 12.5792C12.397 12.4698 12.4584 12.3214 12.4584 12.1667C12.4584 12.012 12.397 11.8637 12.2876 11.7543C12.1782 11.6449 12.0298 11.5834 11.8751 11.5834C11.7204 11.5834 11.572 11.6449 11.4626 11.7543C11.3532 11.8637 11.2917 12.012 11.2917 12.1667C11.2917 12.3214 11.3532 12.4698 11.4626 12.5792C11.572 12.6886 11.7204 12.7501 11.8751 12.7501Z`,fill:`white`})]}),title:`ИТ-консалтинг`,description:`Профессиональные консультации по компьютерным системам и ИТ-решениям`},e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i={icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M11 8.66658C11.1547 8.66658 11.3031 8.72804 11.4125 8.83744C11.5219 8.94684 11.5833 9.09521 11.5833 9.24992C11.5833 9.40463 11.5219 9.553 11.4125 9.6624C11.3031 9.77179 11.1547 9.83325 11 9.83325C10.8453 9.83325 10.6969 9.77179 10.5875 9.6624C10.4781 9.553 10.4167 9.40463 10.4167 9.24992C10.4167 9.09521 10.4781 8.94684 10.5875 8.83744C10.6969 8.72804 10.8453 8.66658 11 8.66658ZM16.25 10.4166C16.25 13.6541 14.01 16.6816 11 17.4166C7.99 16.6816 5.75 13.6541 5.75 10.4166V6.91659L11 4.58325L16.25 6.91659V10.4166ZM11 7.49992C10.5359 7.49992 10.0908 7.68429 9.76256 8.01248C9.43437 8.34067 9.25 8.78579 9.25 9.24992C9.25 10.0141 9.73417 10.6616 10.4167 10.9008V14.4999H11.5833V13.3333H12.75V12.1666H11.5833V10.9008C12.2658 10.6616 12.75 10.0141 12.75 9.24992C12.75 8.78579 12.5656 8.34067 12.2374 8.01248C11.9092 7.68429 11.4641 7.49992 11 7.49992Z`,fill:`white`})]}),title:`Продажа и аренда ПО`,description:`Собственные решения и программное обеспечение по дилерской модели`},e[3]=i):i=e[3];let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=[t,n,r,i,{icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M15.5 15.5C15.5 15.7761 15.2761 16 15 16H7C6.72386 16 6.5 15.7761 6.5 15.5C6.5 15.2239 6.72386 15 7 15H15C15.2761 15 15.5 15.2239 15.5 15.5ZM16.5 12C16.5 13.1046 15.6046 14 14.5 14H7.5C6.39543 14 5.5 13.1046 5.5 12V8C5.5 6.89543 6.39543 6 7.5 6H14.5C15.6046 6 16.5 6.89543 16.5 8V12ZM13.1585 8.6345L11.7135 9.9825L10.627 8.9675L10.2855 8.6495L9.9445 8.968L8.1585 10.6345L7.7935 10.9755L8.4755 11.7065L8.8415 11.3655L10.2855 10.017L11.373 11.032L11.7145 11.3505L12.0555 11.0325L13.8415 9.3655L14.2065 9.0245L13.5245 8.2935L13.1585 8.6345Z`,fill:`white`})]}),title:`Цифровая трансформация`,description:`Разработка стратегии, концепции цифровизации и\xA0внедрение изменений`}],e[4]=a):a=e[4];let o=a,s;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(s={icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M5.75008 15.0834H6.33341V7.71011C6.33343 7.52645 6.39125 7.34744 6.49866 7.19846C6.60608 7.04947 6.75766 6.93807 6.93191 6.88003L11.5986 5.32487C11.7301 5.28106 11.8701 5.26913 12.0072 5.29006C12.1442 5.31098 12.2743 5.36417 12.3868 5.44523C12.4992 5.52629 12.5908 5.63291 12.654 5.7563C12.7171 5.87969 12.7501 6.01633 12.7501 6.15495V15.0834H13.3334V9.82761C13.3334 9.78448 13.343 9.74189 13.3615 9.70291C13.38 9.66393 13.4069 9.62953 13.4402 9.60219C13.4736 9.57485 13.5126 9.55525 13.5545 9.5448C13.5963 9.53436 13.6399 9.53333 13.6822 9.54178L14.9632 9.79845C15.1615 9.83808 15.34 9.94516 15.4682 10.1015C15.5965 10.2578 15.6666 10.4537 15.6667 10.6559V15.0834H16.2501C16.4048 15.0834 16.5532 15.1449 16.6626 15.2543C16.772 15.3637 16.8334 15.5121 16.8334 15.6668C16.8334 15.8215 16.772 15.9699 16.6626 16.0793C16.5532 16.1887 16.4048 16.2501 16.2501 16.2501H5.75008C5.59537 16.2501 5.447 16.1887 5.3376 16.0793C5.22821 15.9699 5.16675 15.8215 5.16675 15.6668C5.16675 15.5121 5.22821 15.3637 5.3376 15.2543C5.447 15.1449 5.59537 15.0834 5.75008 15.0834Z`,fill:`white`})]}),title:`Резидент ГАУ\xA0РС (Я) «Технопарк «Якутия»`,description:`Работаем в экосистеме развития, где технологическая экспертиза превращается в практические решения`},e[5]=s):s=e[5];let c;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(c={icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M10.2999 11.9532L9.11059 10.7639C9.04525 10.699 8.96859 10.6646 8.88059 10.6606C8.79259 10.6566 8.71192 10.691 8.63859 10.7639C8.56525 10.8368 8.52836 10.9161 8.52792 11.0019C8.52747 11.0877 8.56436 11.167 8.63859 11.2399L9.92325 12.5279C10.0308 12.6359 10.1564 12.6899 10.2999 12.6899C10.4435 12.6899 10.5693 12.6359 10.6773 12.5279L13.3693 9.83591C13.4341 9.77102 13.4688 9.69391 13.4733 9.60458C13.4777 9.51524 13.443 9.43391 13.3693 9.36058C13.2955 9.28724 13.2161 9.25036 13.1313 9.24991C13.0464 9.24947 12.9673 9.28636 12.8939 9.36058L10.2999 11.9532ZM10.9999 16.8952C10.9395 16.8952 10.8759 16.8897 10.8093 16.8786C10.7426 16.8675 10.6801 16.8508 10.6219 16.8286C9.30947 16.3281 8.26659 15.4799 7.49325 14.2839C6.71992 13.0879 6.33325 11.7932 6.33325 10.3999V7.54458C6.33325 7.31791 6.39881 7.1128 6.52992 6.92924C6.66103 6.74569 6.82881 6.61236 7.03325 6.52924L10.6233 5.19591C10.753 5.1488 10.8786 5.12524 10.9999 5.12524C11.1213 5.12524 11.247 5.1488 11.3773 5.19591L14.9666 6.52924C15.171 6.61236 15.3388 6.74569 15.4699 6.92924C15.601 7.1128 15.6666 7.31791 15.6666 7.54458V10.3999C15.6666 11.7932 15.2799 13.0879 14.5066 14.2839C13.7333 15.4799 12.6904 16.3279 11.3779 16.8279C11.3201 16.8501 11.2579 16.8668 11.1913 16.8779C11.1246 16.889 11.0608 16.8946 10.9999 16.8946`,fill:`white`})]}),title:`Аккредитованная ИТ-компания`,description:`Включены в реестр аккредитованных ИТ-организаций Минцифры РФ от 26.06.2024`},e[6]=c):c=e[6];let l;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(l={icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M15.9584 10.4166H15.0834V8.08325C15.0834 7.77383 14.9605 7.47709 14.7417 7.25829C14.5229 7.0395 14.2262 6.91659 13.9167 6.91659H11.5834V6.04159C11.5834 5.65481 11.4298 5.28388 11.1563 5.01039C10.8828 4.7369 10.5119 4.58325 10.1251 4.58325C9.73831 4.58325 9.36737 4.7369 9.09388 5.01039C8.82039 5.28388 8.66675 5.65481 8.66675 6.04159V6.91659H6.33341C6.024 6.91659 5.72725 7.0395 5.50846 7.25829C5.28966 7.47709 5.16675 7.77383 5.16675 8.08325V10.2999H6.04175C6.91675 10.2999 7.61675 10.9999 7.61675 11.8749C7.61675 12.7499 6.91675 13.4499 6.04175 13.4499H5.16675V15.6666C5.16675 15.976 5.28966 16.2727 5.50846 16.4915C5.72725 16.7103 6.024 16.8333 6.33341 16.8333H8.55008V15.9583C8.55008 15.0833 9.25008 14.3833 10.1251 14.3833C11.0001 14.3833 11.7001 15.0833 11.7001 15.9583V16.8333H13.9167C14.2262 16.8333 14.5229 16.7103 14.7417 16.4915C14.9605 16.2727 15.0834 15.976 15.0834 15.6666V13.3333H15.9584C16.3452 13.3333 16.7161 13.1796 16.9896 12.9061C17.2631 12.6326 17.4167 12.2617 17.4167 11.8749C17.4167 11.4881 17.2631 11.1172 16.9896 10.8437C16.7161 10.5702 16.3452 10.4166 15.9584 10.4166Z`,fill:`white`})]}),title:`Собственные программные продукты`,description:`Запатентованы и внесены в реестр отечественного программного обеспечения`},e[7]=l):l=e[7];let u;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=[s,c,l,{icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M11 11C10.6317 11 10.2634 10.9346 9.97625 10.8039L5.92937 8.95852C5.74426 8.8743 5.3125 8.62793 5.3125 8.16281C5.3125 7.6977 5.74426 7.45187 5.92992 7.36656L10.0118 5.50527C10.5743 5.24824 11.423 5.24824 11.9857 5.50527L16.0701 7.36656C16.2557 7.45105 16.6875 7.69742 16.6875 8.16281C16.6875 8.6282 16.2557 8.87375 16.0701 8.95879L12.0232 10.8039C11.7366 10.9346 11.3683 11 11 11Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M16.0684 10.2018L15.6558 10.0156L14.5957 10.5007L12.0254 11.6765C11.7383 11.8077 11.3691 11.8731 11.0016 11.8731C10.6341 11.8731 10.2653 11.8077 9.97844 11.6765L7.40621 10.5007L6.34582 10.0156L5.92965 10.2027C5.74426 10.2871 5.3125 10.5352 5.3125 11C5.3125 11.4648 5.74426 11.7131 5.92937 11.7976L9.97625 13.6469C10.2617 13.7781 10.6306 13.8438 11 13.8438C11.3694 13.8438 11.7366 13.7781 12.0238 13.6471L16.0671 11.7984C16.2533 11.7139 16.6875 11.4673 16.6875 11C16.6875 10.5327 16.2563 10.2871 16.0684 10.2018Z`,fill:`white`}),(0,U.jsx)(`path`,{d:`M16.0684 13.0453L15.6558 12.8594L14.5957 13.3442L12.0254 14.5186C11.7383 14.6493 11.3691 14.7149 11.0016 14.7149C10.6341 14.7149 10.2653 14.6496 9.97844 14.5186L7.40621 13.3428L6.34582 12.8594L5.92965 13.0464C5.74426 13.1309 5.3125 13.3789 5.3125 13.8438C5.3125 14.3086 5.74426 14.5566 5.92937 14.6408L9.97625 16.489C10.2617 16.6197 10.632 16.6875 11 16.6875C11.368 16.6875 11.735 16.6197 12.0221 16.4887L16.0668 14.6411C16.2533 14.5569 16.6875 14.3102 16.6875 13.8438C16.6875 13.3773 16.2563 13.1309 16.0684 13.0453Z`,fill:`white`})]}),title:`Проекты цифровой трансформации`,description:`Реализация стратегических программ для госпредприятий`}],e[8]=u):u=e[8];let d=u,f;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,U.jsx)(`span`,{className:`text-4xl text-center my-4 leading-normal`,children:`О компании`}),e[9]=f):f=e[9];let p;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,U.jsx)(`span`,{className:`text-2xl`,children:`Виды деятельности:`}),e[10]=p):p=e[10];let m;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,U.jsxs)(`div`,{className:`p-8 flex flex-col space-y-4 bg-base-100 rounded-2xl`,children:[p,(0,U.jsx)(`div`,{className:`flex flex-col space-y-4`,children:o.map(Gd)})]}),e[11]=m):m=e[11];let h;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,U.jsx)(`span`,{className:`text-2xl`,children:`Почему мы?`}),e[12]=h):h=e[12];let g;return e[13]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,U.jsx)(`section`,{id:`about`,className:`h-auto w-full flex justify-center`,children:(0,U.jsx)(`div`,{className:`max-w-7xl w-full h-auto xl:py-4`,children:(0,U.jsx)(Hd,{children:(0,U.jsxs)(`div`,{className:`w-full sm:px-8 sm:pb-8 flex flex-col space-y-8 justify-center`,children:[f,(0,U.jsxs)(`div`,{className:`grid grid-rows-2 sm:grid-rows-1 sm:grid-cols-2 gap-8 p-2 xl:p-0`,children:[m,(0,U.jsxs)(`div`,{className:`p-8 flex flex-col space-y-4 bg-black/90 rounded-2xl text-white`,children:[h,(0,U.jsx)(`div`,{className:`flex flex-col space-y-4`,children:d.map(Kd)})]})]})]})})})}),e[13]=g):g=e[13],g};function Gd(e,t){return(0,U.jsx)(Ud,{info:e},t)}function Kd(e,t){return(0,U.jsx)(Ud,{info:e},t)}function qd(e){return Object.prototype.toString.call(e)===`[object Object]`}function Jd(e){return qd(e)||Array.isArray(e)}function Yd(){return!!(typeof window<`u`&&window.document&&window.document.createElement)}function Xd(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||JSON.stringify(Object.keys(e.breakpoints||{}))!==JSON.stringify(Object.keys(t.breakpoints||{}))?!1:n.every(n=>{let r=e[n],i=t[n];return typeof r==`function`?`${r}`==`${i}`:!Jd(r)||!Jd(i)?r===i:Xd(r,i)})}function Zd(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function Qd(e,t){if(e.length!==t.length)return!1;let n=Zd(e),r=Zd(t);return n.every((e,t)=>{let n=r[t];return Xd(e,n)})}function $d(e){return typeof e==`number`}function ef(e){return typeof e==`string`}function tf(e){return typeof e==`boolean`}function nf(e){return Object.prototype.toString.call(e)===`[object Object]`}function rf(e){return Math.abs(e)}function af(e){return Math.sign(e)}function of(e,t){return rf(e-t)}function sf(e,t){return e===0||t===0||rf(e)<=rf(t)?0:rf(of(rf(e),rf(t))/e)}function cf(e){return Math.round(e*100)/100}function lf(e){return mf(e).map(Number)}function uf(e){return e[df(e)]}function df(e){return Math.max(0,e.length-1)}function ff(e,t){return t===df(e)}function pf(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function mf(e){return Object.keys(e)}function hf(e,t){return[e,t].reduce((e,t)=>(mf(t).forEach(n=>{let r=e[n],i=t[n];e[n]=nf(r)&&nf(i)?hf(r,i):i}),e),{})}function gf(e,t){return t.MouseEvent!==void 0&&e instanceof t.MouseEvent}function _f(e,t){let n={start:r,center:i,end:a};function r(){return 0}function i(e){return a(e)/2}function a(e){return t-e}function o(r,i){return ef(e)?n[e](r):e(t,r,i)}return{measure:o}}function vf(){let e=[];function t(t,n,i,a={passive:!0}){let o;if(`addEventListener`in t)t.addEventListener(n,i,a),o=()=>t.removeEventListener(n,i,a);else{let e=t;e.addListener(i),o=()=>e.removeListener(i)}return e.push(o),r}function n(){e=e.filter(e=>e())}let r={add:t,clear:n};return r}function yf(e,t,n,r){let i=vf(),a=1e3/60,o=null,s=0,c=0;function l(){i.add(e,`visibilitychange`,()=>{e.hidden&&m()})}function u(){p(),i.clear()}function d(e){if(!c)return;o||(o=e,n(),n());let i=e-o;for(o=e,s+=i;s>=a;)n(),s-=a;r(s/a),c&&=t.requestAnimationFrame(d)}function f(){c||=t.requestAnimationFrame(d)}function p(){t.cancelAnimationFrame(c),o=null,s=0,c=0}function m(){o=null,s=0}return{init:l,destroy:u,start:f,stop:p,update:n,render:r}}function bf(e,t){let n=t===`rtl`,r=e===`y`,i=r?`y`:`x`,a=r?`x`:`y`,o=!r&&n?-1:1,s=u(),c=d();function l(e){let{height:t,width:n}=e;return r?t:n}function u(){return r?`top`:n?`right`:`left`}function d(){return r?`bottom`:n?`left`:`right`}function f(e){return e*o}return{scroll:i,cross:a,startEdge:s,endEdge:c,measureSize:l,direction:f}}function xf(e=0,t=0){let n=rf(e-t);function r(t){return t<e}function i(e){return e>t}function a(e){return r(e)||i(e)}function o(n){return a(n)?r(n)?e:t:n}function s(e){return n?e-n*Math.ceil((e-t)/n):e}return{length:n,max:t,min:e,constrain:o,reachedAny:a,reachedMax:i,reachedMin:r,removeOffset:s}}function Sf(e,t,n){let{constrain:r}=xf(0,e),i=e+1,a=o(t);function o(e){return n?rf((i+e)%i):r(e)}function s(){return a}function c(e){return a=o(e),d}function l(e){return u().set(s()+e)}function u(){return Sf(e,s(),n)}let d={get:s,set:c,add:l,clone:u};return d}function Cf(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v){let{cross:y,direction:b}=e,x=[`INPUT`,`SELECT`,`TEXTAREA`],S={passive:!1},C=vf(),w=vf(),T=xf(50,225).constrain(p.measure(20)),E={mouse:300,touch:400},D={mouse:500,touch:600},O=m?43:25,ee=!1,te=0,k=0,ne=!1,re=!1,ie=!1,ae=!1;function A(e){if(!v)return;function n(t){(tf(v)||v(e,t))&&M(t)}let r=t;C.add(r,`dragstart`,e=>e.preventDefault(),S).add(r,`touchmove`,()=>void 0,S).add(r,`touchend`,()=>void 0).add(r,`touchstart`,n).add(r,`mousedown`,n).add(r,`touchcancel`,ue).add(r,`contextmenu`,ue).add(r,`click`,de,!0)}function j(){C.clear(),w.clear()}function oe(){let e=ae?n:t;w.add(e,`touchmove`,N,S).add(e,`touchend`,ue).add(e,`mousemove`,N,S).add(e,`mouseup`,ue)}function se(e){let t=e.nodeName||``;return x.includes(t)}function ce(){return(m?D:E)[ae?`mouse`:`touch`]}function le(e,t){let n=d.add(af(e)*-1),r=u.byDistance(e,!m).distance;return m||rf(e)<T?r:g&&t?r*.5:u.byIndex(n.get(),0).distance}function M(e){let t=gf(e,r);ae=t,ie=m&&t&&!e.buttons&&ee,ee=of(i.get(),o.get())>=2,!(t&&e.button!==0)&&(se(e.target)||(ne=!0,a.pointerDown(e),l.useFriction(0).useDuration(0),i.set(o),oe(),te=a.readPoint(e),k=a.readPoint(e,y),f.emit(`pointerDown`)))}function N(e){if(!gf(e,r)&&e.touches.length>=2)return ue(e);let t=a.readPoint(e),n=a.readPoint(e,y),o=of(t,te),c=of(n,k);if(!re&&!ae&&(!e.cancelable||(re=o>c,!re)))return ue(e);let u=a.pointerMove(e);o>h&&(ie=!0),l.useFriction(.3).useDuration(.75),s.start(),i.add(b(u)),e.preventDefault()}function ue(e){let t=u.byDistance(0,!1).index!==d.get(),n=a.pointerUp(e)*ce(),r=le(b(n),t),i=sf(n,r),o=O-10*i,s=_+i/50;re=!1,ne=!1,w.clear(),l.useDuration(o).useFriction(s),c.distance(r,!m),ae=!1,f.emit(`pointerUp`)}function de(e){ie&&=(e.stopPropagation(),e.preventDefault(),!1)}function fe(){return ne}return{init:A,destroy:j,pointerDown:fe}}function wf(e,t){let n,r;function i(e){return e.timeStamp}function a(n,r){let i=`client${(r||e.scroll)===`x`?`X`:`Y`}`;return(gf(n,t)?n:n.touches[0])[i]}function o(e){return n=e,r=e,a(e)}function s(e){let t=a(e)-a(r),o=i(e)-i(n)>170;return r=e,o&&(n=e),t}function c(e){if(!n||!r)return 0;let t=a(r)-a(n),o=i(e)-i(n),s=i(e)-i(r)>170,c=t/o;return o&&!s&&rf(c)>.1?c:0}return{pointerDown:o,pointerMove:s,pointerUp:c,readPoint:a}}function Tf(){function e(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}return{measure:e}}function Ef(e){function t(t){return t/100*e}return{measure:t}}function Df(e,t,n,r,i,a,o){let s=[e].concat(r),c,l,u=[],d=!1;function f(e){return i.measureSize(o.measure(e))}function p(i){if(!a)return;l=f(e),u=r.map(f);function o(n){for(let a of n){if(d)return;let n=a.target===e,o=r.indexOf(a.target),s=n?l:u[o];if(rf(f(n?e:r[o])-s)>=.5){i.reInit(),t.emit(`resize`);break}}}c=new ResizeObserver(e=>{(tf(a)||a(i,e))&&o(e)}),n.requestAnimationFrame(()=>{s.forEach(e=>c.observe(e))})}function m(){d=!0,c&&c.disconnect()}return{init:p,destroy:m}}function Of(e,t,n,r,i,a){let o=0,s=0,c=i,l=a,u=e.get(),d=0;function f(){let t=r.get()-e.get(),i=!c,a=0;return i?(o=0,n.set(r),e.set(r),a=t):(n.set(e),o+=t/c,o*=l,u+=o,e.add(o),a=u-d),s=af(a),d=u,x}function p(){return rf(r.get()-t.get())<.001}function m(){return c}function h(){return s}function g(){return o}function _(){return y(i)}function v(){return b(a)}function y(e){return c=e,x}function b(e){return l=e,x}let x={direction:h,duration:m,velocity:g,seek:f,settled:p,useBaseFriction:v,useBaseDuration:_,useFriction:b,useDuration:y};return x}function kf(e,t,n,r,i){let a=i.measure(10),o=i.measure(50),s=xf(.1,.99),c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(i){if(!l())return;let c=rf(e[e.reachedMin(t.get())?`min`:`max`]-t.get()),u=n.get()-t.get(),d=s.constrain(c/o);n.subtract(u*d),!i&&rf(u)<a&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function d(e){c=!e}return{shouldConstrain:l,constrain:u,toggleActive:d}}function Af(e,t,n,r,i){let a=xf(-t+e,0),o=d(),s=u(),c=f();function l(e,t){return of(e,t)<=1}function u(){let e=o[0],t=uf(o);return xf(o.lastIndexOf(e),o.indexOf(t)+1)}function d(){return n.map((e,t)=>{let{min:r,max:i}=a,o=a.constrain(e),s=!t,c=ff(n,t);return s?i:c||l(r,o)?r:l(i,o)?i:o}).map(e=>parseFloat(e.toFixed(3)))}function f(){if(t<=e+i)return[a.max];if(r===`keepSnaps`)return o;let{min:n,max:c}=s;return o.slice(n,c)}return{snapsContained:c,scrollContainLimit:s}}function jf(e,t,n){let r=t[0];return{limit:xf(n?r-e:uf(t),r)}}function Mf(e,t,n,r){let i=.1,{reachedMin:a,reachedMax:o}=xf(t.min+i,t.max+i);function s(e){return e===1?o(n.get()):e===-1?a(n.get()):!1}function c(t){if(!s(t))return;let n=t*-1*e;r.forEach(e=>e.add(n))}return{loop:c}}function Nf(e){let{max:t,length:n}=e;function r(e){let r=e-t;return n?r/-n:0}return{get:r}}function Pf(e,t,n,r,i){let{startEdge:a,endEdge:o}=e,{groupSlides:s}=i,c=d().map(t.measure),l=f(),u=p();function d(){return s(r).map(e=>uf(e)[o]-e[0][a]).map(rf)}function f(){return r.map(e=>n[a]-e[a]).map(e=>-rf(e))}function p(){return s(l).map(e=>e[0]).map((e,t)=>e+c[t])}return{snaps:l,snapsAligned:u}}function Ff(e,t,n,r,i,a){let{groupSlides:o}=i,{min:s,max:c}=r,l=u();function u(){let r=o(a),i=!e||t===`keepSnaps`;return n.length===1?[a]:i?r:r.slice(s,c).map((e,t,n)=>{let r=!t,i=ff(n,t);return r?pf(uf(n[0])+1):i?pf(df(a)-uf(n)[0]+1,uf(n)[0]):e})}return{slideRegistry:l}}function If(e,t,n,r,i){let{reachedAny:a,removeOffset:o,constrain:s}=r;function c(e){return e.concat().sort((e,t)=>rf(e)-rf(t))[0]}function l(n){let r=e?o(n):s(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>rf(e.diff)-rf(t.diff))[0];return{index:i,distance:r}}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return c(i);let a=i.filter(e=>af(e)===r);return a.length?c(a):uf(i)-n}function d(e,n){return{index:e,distance:u(t[e]-i.get(),n)}}function f(n,r){let o=i.get()+n,{index:s,distance:c}=l(o),d=!e&&a(o);return!r||d?{index:s,distance:n}:{index:s,distance:n+u(t[s]-c,0)}}return{byDistance:f,byIndex:d,shortcut:u}}function Lf(e,t,n,r,i,a,o){function s(i){let s=i.distance,c=i.index!==t.get();a.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),o.emit(`select`))}function c(e,t){s(i.byDistance(e,t))}function l(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}return{distance:c,index:l}}function Rf(e,t,n,r,i,a,o,s){let c={passive:!0,capture:!0},l=0;function u(u){if(!s)return;function f(t){if(new Date().getTime()-l>10)return;o.emit(`slideFocusStart`),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));$d(a)&&(i.useDuration(0),r.index(a,0),o.emit(`slideFocus`))}a.add(document,`keydown`,d,!1),t.forEach((e,t)=>{a.add(e,`focus`,e=>{(tf(s)||s(u,e))&&f(t)},c)})}function d(e){e.code===`Tab`&&(l=new Date().getTime())}return{init:u}}function zf(e){let t=e;function n(){return t}function r(e){t=o(e)}function i(e){t+=o(e)}function a(e){t-=o(e)}function o(e){return $d(e)?e:e.get()}return{get:n,set:r,add:i,subtract:a}}function Bf(e,t){let n=e.scroll===`x`?o:s,r=t.style,i=null,a=!1;function o(e){return`translate3d(${e}px,0px,0px)`}function s(e){return`translate3d(0px,${e}px,0px)`}function c(t){if(a)return;let o=cf(e.direction(t));o!==i&&(r.transform=n(o),i=o)}function l(e){a=!e}function u(){a||(r.transform=``,t.getAttribute(`style`)||t.removeAttribute(`style`))}return{clear:u,to:c,toggleActive:l}}function Vf(e,t,n,r,i,a,o,s,c){let l=.5,u=lf(i),d=lf(i).reverse(),f=_().concat(v());function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(e){return a.map((n,i)=>({start:n-r[i]+l+e,end:n+t-l+e}))}function g(t,r,i){let a=h(r);return t.map(t=>{let r=i?0:-n,o=i?n:0,l=i?`end`:`start`,u=a[t][l];return{index:t,loopPoint:u,slideLocation:zf(-1),translate:Bf(e,c[t]),target:()=>s.get()>u?r:o}})}function _(){let e=o[0];return g(m(d,e),n,!1)}function v(){return g(m(u,t-o[0]-1),-n,!0)}function y(){return f.every(({index:e})=>p(u.filter(t=>t!==e),t)<=.1)}function b(){f.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})}function x(){f.forEach(e=>e.translate.clear())}return{canLoop:y,clear:x,loop:b,loopPoints:f}}function Hf(e,t,n){let r,i=!1;function a(a){if(!n)return;function o(e){for(let n of e)if(n.type===`childList`){a.reInit(),t.emit(`slidesChanged`);break}}r=new MutationObserver(e=>{i||(tf(n)||n(a,e))&&o(e)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),i=!0}return{init:a,destroy:o}}function Uf(e,t,n,r){let i={},a=null,o=null,s,c=!1;function l(){s=new IntersectionObserver(e=>{c||(e.forEach(e=>{let n=t.indexOf(e.target);i[n]=e}),a=null,o=null,n.emit(`slidesInView`))},{root:e.parentElement,threshold:r}),t.forEach(e=>s.observe(e))}function u(){s&&s.disconnect(),c=!0}function d(e){return mf(i).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:a}=i[r];return(e&&a||!e&&!a)&&t.push(r),t},[])}function f(e=!0){if(e&&a)return a;if(!e&&o)return o;let t=d(e);return e&&(a=t),e||(o=t),t}return{init:l,destroy:u,get:f}}function Wf(e,t,n,r,i,a){let{measureSize:o,startEdge:s,endEdge:c}=e,l=n[0]&&i,u=m(),d=h(),f=n.map(o),p=g();function m(){if(!l)return 0;let e=n[0];return rf(t[s]-e[s])}function h(){if(!l)return 0;let e=a.getComputedStyle(uf(r));return parseFloat(e.getPropertyValue(`margin-${c}`))}function g(){return n.map((e,t,n)=>{let r=!t,i=ff(n,t);return r?f[t]+u:i?f[t]+d:n[t+1][s]-e[s]}).map(rf)}return{slideSizes:f,slideSizesWithGaps:p,startGap:u,endGap:d}}function Gf(e,t,n,r,i,a,o,s,c){let{startEdge:l,endEdge:u,direction:d}=e,f=$d(n);function p(e,t){return lf(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}function m(e){return e.length?lf(e).reduce((n,f,p)=>{let m=uf(n)||0,h=m===0,g=f===df(e),_=i[l]-a[m][l],v=i[l]-a[f][u],y=!r&&h?d(o):0,b=rf(v-(!r&&g?d(s):0)-(_+y));return p&&b>t+c&&n.push(f),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}function h(e){return f?p(e,n):m(e)}return{groupSlides:h}}function Kf(e,t,n,r,i,a,o){let{align:s,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:m,inViewThreshold:h,slidesToScroll:g,skipSnaps:_,containScroll:v,watchResize:y,watchSlides:b,watchDrag:x,watchFocus:S}=a,C=Tf(),w=C.measure(t),T=n.map(C.measure),E=bf(c,l),D=E.measureSize(w),O=Ef(D),ee=_f(s,D),te=!d&&!!v,{slideSizes:k,slideSizesWithGaps:ne,startGap:re,endGap:ie}=Wf(E,w,T,n,d||!!v,i),ae=Gf(E,D,g,d,w,T,re,ie,2),{snaps:A,snapsAligned:j}=Pf(E,ee,w,T,ae),oe=-uf(A)+uf(ne),{snapsContained:se,scrollContainLimit:ce}=Af(D,oe,j,v,2),le=te?se:j,{limit:M}=jf(oe,le,d),N=Sf(df(le),u,d),ue=N.clone(),de=lf(n),fe=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()},pe=({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:a,slideLooper:o,dragHandler:s,animation:c,eventHandler:l,scrollBounds:u,options:{loop:d}},f)=>{let p=e.settled(),m=!u.shouldConstrain(),h=d?p:p&&m,g=h&&!s.pointerDown();g&&c.stop();let _=n.get()*f+i.get()*(1-f);r.set(_),d&&(a.loop(e.direction()),o.loop()),t.to(r.get()),g&&l.emit(`settle`),h||l.emit(`scroll`)},me=yf(r,i,()=>fe(ke),e=>pe(ke,e)),he=.68,ge=le[N.get()],_e=zf(ge),ve=zf(ge),ye=zf(ge),be=zf(ge),xe=Of(_e,ye,ve,be,f,he),Se=If(d,le,oe,M,be),Ce=Lf(me,N,ue,xe,Se,be,o),we=Nf(M),Te=vf(),Ee=Uf(t,n,o,h),{slideRegistry:De}=Ff(te,v,le,ce,ae,de),Oe=Rf(e,n,De,Ce,xe,Te,o,S),ke={ownerDocument:r,ownerWindow:i,eventHandler:o,containerRect:w,slideRects:T,animation:me,axis:E,dragHandler:Cf(E,e,r,i,be,wf(E,i),_e,me,Ce,xe,Se,N,o,O,p,m,_,he,x),eventStore:Te,percentOfView:O,index:N,indexPrevious:ue,limit:M,location:_e,offsetLocation:ye,previousLocation:ve,options:a,resizeHandler:Df(t,o,i,n,E,y,C),scrollBody:xe,scrollBounds:kf(M,ye,be,xe,O),scrollLooper:Mf(oe,M,ye,[_e,ye,ve,be]),scrollProgress:we,scrollSnapList:le.map(we.get),scrollSnaps:le,scrollTarget:Se,scrollTo:Ce,slideLooper:Vf(E,D,oe,k,ne,A,le,ye,n),slideFocus:Oe,slidesHandler:Hf(t,o,b),slidesInView:Ee,slideIndexes:de,slideRegistry:De,slidesToScroll:ae,target:be,translate:Bf(E,t)};return ke}function qf(){let e={},t;function n(e){t=e}function r(t){return e[t]||[]}function i(e){return r(e).forEach(n=>n(t,e)),c}function a(t,n){return e[t]=r(t).concat([n]),c}function o(t,n){return e[t]=r(t).filter(e=>e!==n),c}function s(){e={}}let c={init:n,emit:i,off:o,on:a,clear:s};return c}var Jf={align:`center`,axis:`x`,container:null,slides:null,containScroll:`trimSnaps`,direction:`ltr`,slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Yf(e){function t(e,t){return hf(e,t||{})}function n(n){let r=n.breakpoints||{};return t(n,mf(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{}))}function r(t){return t.map(e=>mf(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function Xf(e){let t=[];function n(n,r){return t=r.filter(({options:t})=>e.optionsAtMedia(t).active!==!1),t.forEach(t=>t.init(n,e)),r.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})}function r(){t=t.filter(e=>e.destroy())}return{init:n,destroy:r}}function Zf(e,t,n){let r=e.ownerDocument,i=r.defaultView,a=Yf(i),o=Xf(a),s=vf(),c=qf(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=a,{on:f,off:p,emit:m}=c,h=D,g=!1,_,v=l(Jf,Zf.globalOptions),y=l(v),b=[],x,S,C;function w(){let{container:t,slides:n}=y;S=(ef(t)?e.querySelector(t):t)||e.children[0];let r=ef(n)?S.querySelectorAll(n):n;C=[].slice.call(r||S.children)}function T(t){let n=Kf(e,S,C,r,i,t,c);return t.loop&&!n.slideLooper.canLoop()?T(Object.assign({},t,{loop:!1})):n}function E(e,t){g||(v=l(v,e),y=u(v),b=t||b,w(),_=T(y),d([v,...b.map(({options:e})=>e)]).forEach(e=>s.add(e,`change`,D)),y.active&&(_.translate.to(_.location.get()),_.animation.init(),_.slidesInView.init(),_.slideFocus.init(fe),_.eventHandler.init(fe),_.resizeHandler.init(fe),_.slidesHandler.init(fe),_.options.loop&&_.slideLooper.loop(),S.offsetParent&&C.length&&_.dragHandler.init(fe),x=o.init(fe,b)))}function D(e,t){let n=j();O(),E(l({startIndex:n},e),t),c.emit(`reInit`)}function O(){_.dragHandler.destroy(),_.eventStore.clear(),_.translate.clear(),_.slideLooper.clear(),_.resizeHandler.destroy(),_.slidesHandler.destroy(),_.slidesInView.destroy(),_.animation.destroy(),o.destroy(),s.clear()}function ee(){g||(g=!0,s.clear(),O(),c.emit(`destroy`),c.clear())}function te(e,t,n){!y.active||g||(_.scrollBody.useBaseFriction().useDuration(t===!0?0:y.duration),_.scrollTo.index(e,n||0))}function k(e){te(_.index.add(1).get(),e,-1)}function ne(e){te(_.index.add(-1).get(),e,1)}function re(){return _.index.add(1).get()!==j()}function ie(){return _.index.add(-1).get()!==j()}function ae(){return _.scrollSnapList}function A(){return _.scrollProgress.get(_.offsetLocation.get())}function j(){return _.index.get()}function oe(){return _.indexPrevious.get()}function se(){return _.slidesInView.get()}function ce(){return _.slidesInView.get(!1)}function le(){return x}function M(){return _}function N(){return e}function ue(){return S}function de(){return C}let fe={canScrollNext:re,canScrollPrev:ie,containerNode:ue,internalEngine:M,destroy:ee,off:p,on:f,emit:m,plugins:le,previousScrollSnap:oe,reInit:h,rootNode:N,scrollNext:k,scrollPrev:ne,scrollProgress:A,scrollSnapList:ae,scrollTo:te,selectedScrollSnap:j,slideNodes:de,slidesInView:se,slidesNotInView:ce};return E(t,n),setTimeout(()=>c.emit(`init`),0),fe}Zf.globalOptions=void 0;function Qf(e={},t=[]){let n=(0,w.useRef)(e),r=(0,w.useRef)(t),[i,a]=(0,w.useState)(),[o,s]=(0,w.useState)(),c=(0,w.useCallback)(()=>{i&&i.reInit(n.current,r.current)},[i]);return(0,w.useEffect)(()=>{Xd(n.current,e)||(n.current=e,c())},[e,c]),(0,w.useEffect)(()=>{Qd(r.current,t)||(r.current=t,c())},[t,c]),(0,w.useEffect)(()=>{if(Yd()&&o){Zf.globalOptions=Qf.globalOptions;let e=Zf(o,n.current,r.current);return a(e),()=>e.destroy()}else a(void 0)},[o,a]),[s,i]}Qf.globalOptions=void 0;function $f(e){let t=(0,vd.c)(32),{images:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={loop:!0,slidesToScroll:1,align:`start`},t[0]=r):r=t[0];let[i,a]=Qf(r),[o,s]=(0,w.useState)(null),c;t[1]===a?c=t[2]:(c=()=>a?.scrollPrev(),t[1]=a,t[2]=c);let l=c,u;t[3]===a?u=t[4]:(u=()=>a?.scrollNext(),t[3]=a,t[4]=u);let d=u,f,p;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(f=()=>{let e=e=>{e.key===`Escape`&&s(null)};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},p=[],t[5]=f,t[6]=p):(f=t[5],p=t[6]),(0,w.useEffect)(f,p);let m;if(t[7]!==n){let e;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(e=(e,t)=>(0,U.jsx)(`div`,{className:`embla__slide shrink-0 grow-0 flex basis-1/2 sm:basis-1/4 cursor-pointer`,onClick:()=>s(e),children:(0,U.jsx)(`img`,{src:e,className:`w-full h-full object-cover rounded-lg`})},t),t[9]=e):e=t[9],m=n.map(e),t[7]=n,t[8]=m}else m=t[8];let h;t[10]===m?h=t[11]:(h=(0,U.jsx)(`div`,{className:`embla__container`,children:m}),t[10]=m,t[11]=h);let g;t[12]!==i||t[13]!==h?(g=(0,U.jsx)(`div`,{className:`embla__viewport`,ref:i,children:h}),t[12]=i,t[13]=h,t[14]=g):g=t[14];let _;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,U.jsxs)(`svg`,{width:`42`,height:`42`,viewBox:`0 0 42 42`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`21`,cy:`21`,r:`21`,fill:`#FBFBFB`}),(0,U.jsx)(`path`,{d:`M21 0C32.598 0 42 9.40202 42 21C42 32.598 32.598 42 21 42C9.40202 42 0 32.598 0 21C0 9.40202 9.40202 0 21 0ZM20.707 14.793C20.3165 14.4024 19.6835 14.4024 19.293 14.793L13.293 20.793C12.9024 21.1835 12.9024 21.8165 13.293 22.207L19.293 28.207C19.6835 28.5976 20.3165 28.5976 20.707 28.207C21.0976 27.8165 21.0976 27.1835 20.707 26.793L16.4141 22.5H28C28.5523 22.5 29 22.0523 29 21.5C29 20.9477 28.5523 20.5 28 20.5H16.4141L20.707 16.207C21.0976 15.8165 21.0976 15.1835 20.707 14.793Z`,fill:`#1C8EFF`})]}),t[15]=_):_=t[15];let v;t[16]===l?v=t[17]:(v=(0,U.jsx)(`button`,{onClick:l,className:`cursor-pointer`,children:_}),t[16]=l,t[17]=v);let y;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,U.jsxs)(`svg`,{width:`42`,height:`42`,viewBox:`0 0 42 42`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`21`,cy:`21`,r:`21`,fill:`#FBFBFB`}),(0,U.jsx)(`path`,{d:`M21 0C32.598 0 42 9.40202 42 21C42 32.598 32.598 42 21 42C9.40202 42 0 32.598 0 21C0 9.40202 9.40202 0 21 0ZM22.707 14.793C22.3165 14.4024 21.6835 14.4024 21.293 14.793C20.9024 15.1835 20.9024 15.8165 21.293 16.207L25.5859 20.5H14C13.4477 20.5 13 20.9477 13 21.5C13 22.0523 13.4477 22.5 14 22.5H25.5859L21.293 26.793C20.9024 27.1835 20.9024 27.8165 21.293 28.207C21.6835 28.5976 22.3165 28.5976 22.707 28.207L28.707 22.207C29.0976 21.8165 29.0976 21.1835 28.707 20.793L22.707 14.793Z`,fill:`#1C8EFF`})]}),t[18]=y):y=t[18];let b;t[19]===d?b=t[20]:(b=(0,U.jsx)(`button`,{onClick:d,className:`cursor-pointer`,children:y}),t[19]=d,t[20]=b);let x;t[21]!==v||t[22]!==b?(x=(0,U.jsxs)(`div`,{className:`flex flex-row gap-4 w-full justify-center mt-8`,children:[v,b]}),t[21]=v,t[22]=b,t[23]=x):x=t[23];let S;t[24]!==x||t[25]!==g?(S=(0,U.jsxs)(`div`,{className:`embla`,children:[g,x]}),t[24]=x,t[25]=g,t[26]=S):S=t[26];let C;t[27]===o?C=t[28]:(C=o&&(0,U.jsx)(vu.div,{className:`fixed inset-0 bg-black/50 backdrop-blur-xs z-50 flex items-center justify-center`,onClick:()=>s(null),children:(0,U.jsx)(`img`,{src:o,className:`max-h-screen max-w-screen object-contain`,onClick:ep})}),t[27]=o,t[28]=C);let T;return t[29]!==S||t[30]!==C?(T=(0,U.jsxs)(U.Fragment,{children:[S,C]}),t[29]=S,t[30]=C,t[31]=T):T=t[31],T}function ep(e){return e.stopPropagation()}var tp=()=>{let e=(0,vd.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=[`/assets/licenses/sv_fuel.png`,`/assets/licenses/sv_jur.png`,`/assets/licenses/sv_kv.png`,`/assets/licenses/sv_resident.png`,`/assets/licenses/sv_accr.png`],e[0]=t):t=e[0];let n=t,r;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(`section`,{id:`license`,className:`max-w-7xl w-full h-auto px-2 xl:px-0`,children:(0,U.jsxs)(`div`,{className:`w-full h-auto flex flex-col items-center pb-8 bg-base-200 rounded-2xl`,children:[(0,U.jsxs)(`span`,{className:`px-4 text-3xl sm:text-4xl sm:text-center my-8`,children:[(0,U.jsx)(`span`,{className:`text-blue-500`,children:`Наши`}),` лицензии и сертификаты`]}),(0,U.jsx)(`div`,{children:(0,U.jsx)($f,{images:n})})]})}),e[1]=r):r=e[1],r},np=[`без рисков`,`под ключ`,`для сложных задач`,`с доказанной надёжностью`,`с прозрачной стоимостью`,`с расчётом на рост`,`с отраслевой экспертизой`,`с защитой данных`,`с учётом вашей специфики`,`с долгосрочной поддержкой`,`готовое к внедрению`,`с полным циклом согласования`,`с фиксированными сроками`,`с возможностью доработок`,`с фокусом на результат`];function rp(e){let t=(0,vd.c)(16),{typingSpeed:n,deletingSpeed:r,pauseTime:i}=e,a=n===void 0?40:n,o=r===void 0?40:r,s=i===void 0?1200:i,[c,l]=(0,w.useState)(0),[u,d]=(0,w.useState)(``),[f,p]=(0,w.useState)(!1),m;t[0]!==o||t[1]!==f||t[2]!==s||t[3]!==c||t[4]!==u.length||t[5]!==a?(m=()=>{let e=np[c],t;return!f&&u.length<e.length?t=setTimeout(()=>{d(e.slice(0,u.length+1))},a):!f&&u.length===e.length?t=setTimeout(()=>p(!0),s):f&&u.length>0?t=setTimeout(()=>{d(e.slice(0,u.length-1))},o):f&&u.length===0&&(p(!1),l(ap)),()=>clearTimeout(t)},t[0]=o,t[1]=f,t[2]=s,t[3]=c,t[4]=u.length,t[5]=a,t[6]=m):m=t[6];let h;t[7]!==f||t[8]!==c||t[9]!==u?(h=[u,f,c],t[7]=f,t[8]=c,t[9]=u,t[10]=h):h=t[10],(0,w.useEffect)(m,h);let g;t[11]===u?g=t[12]:(g=u.split(` `).map(ip),t[11]=u,t[12]=g);let _;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,U.jsx)(vu.span,{className:`leading-none`,animate:{opacity:[0,1,0]},transition:{duration:1,repeat:1/0},children:`|`}),t[13]=_):_=t[13];let v;return t[14]===g?v=t[15]:(v=(0,U.jsxs)(U.Fragment,{children:[g,_]}),t[14]=g,t[15]=v),v}function ip(e,t){return(0,U.jsx)(`span`,{className:`mr-2 h-min leading-none`,children:e},t)}function ap(e){return(e+1)%np.length}var op=()=>{let e=(0,vd.c)(7),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`div`,{className:`sm:hidden`,children:(0,U.jsx)(X,{text:`Наша миссия`})}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsx)(`div`,{className:`col-span-1`,children:(0,U.jsx)(`img`,{src:`/assets/director.png`})}),e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(`div`,{className:`hidden sm:block`,children:(0,U.jsx)(X,{text:`Наша миссия`})}),e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsx)(`div`,{className:`w-4 sm:w-10 flex`,children:(0,U.jsx)(`svg`,{className:`h-auto w-auto`,width:`40`,height:`31`,viewBox:`0 0 40 31`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M3.55112 28.3277C1.24054 25.8481 0 23.067 0 18.5587C0 10.6257 5.51175 3.51546 13.527 0L15.5303 3.12335C8.0489 7.21225 6.58628 12.5183 6.00303 15.8638C7.20767 15.2337 8.7847 15.0138 10.3303 15.1589C14.3772 15.5374 17.5672 18.8942 17.5672 23.067C17.5672 25.1709 16.74 27.1887 15.2675 28.6765C13.7951 30.1642 11.798 31 9.71566 31C8.56407 30.99 7.42597 30.7485 6.36763 30.2897C5.30929 29.8309 4.35186 29.164 3.55112 28.3277ZM25.984 28.3277C23.6734 25.8481 22.4328 23.067 22.4328 18.5587C22.4328 10.6257 27.9446 3.51546 35.9598 0L37.9631 3.12335C30.4817 7.21225 29.0191 12.5183 28.4359 15.8638C29.6405 15.2337 31.2175 15.0138 32.7632 15.1589C36.8101 15.5374 40 18.8942 40 23.067C40 25.1709 39.1728 27.1887 37.7004 28.6765C36.2279 30.1642 34.2309 31 32.1485 31C30.9969 30.99 29.8588 30.7485 28.8005 30.2897C27.7421 29.8309 26.7847 29.164 25.984 28.3277Z`,fill:`black`})})}),e[3]=i):i=e[3];let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsxs)(`span`,{className:`text-xs sm:text-3xl text-justify`,children:[`Нашей стратегией является превращать сложные задачи сферы ЖКХ\xA0`,(0,U.jsx)(`span`,{className:`text-blue-500`,children:`в\xA0эффективные цифровые решения`}),`. Мы\xA0разрабатываем автоматизацию для\xA0жизненно важной отрасли.`]}),e[4]=a):a=e[4];let o;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsx)(`div`,{className:`flex justify-center items-center w-full`,children:(0,U.jsx)(`img`,{className:`max-w-64 w-full h-auto`,src:`/assets/sign.png`})}),e[5]=o):o=e[5];let s;return e[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,U.jsxs)(`div`,{className:`w-full max-w-7xl flex flex-col sm:grid sm:grid-cols-3 gap-4 px-10 py-4 xl:p-0`,children:[t,n,(0,U.jsxs)(`div`,{className:`col-span-2 flex flex-col gap-2 sm:gap-8`,children:[r,i,a,(0,U.jsxs)(`div`,{className:`flex flex-row gap-2 justify-end mt-auto`,children:[o,(0,U.jsxs)(`span`,{className:`flex flex-col gap-2 text-end justify-center`,children:[(0,U.jsx)(`span`,{className:`text-xs sm:text-xl text-nowrap font-medium`,children:`— Саввинов Николай Афанасьевич`}),(0,U.jsx)(`span`,{className:`text-[0.5rem] sm:text-sm text-base-content/70 text-nowrap`,children:`директор ООО «КОММИТ»`})]})]})]})]}),e[6]=s):s=e[6],s};function sp(e,t){return function(){return e.apply(t,arguments)}}var{toString:cp}=Object.prototype,{getPrototypeOf:lp}=Object,{iterator:up,toStringTag:dp}=Symbol,fp=(e=>t=>{let n=cp.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pp=e=>(e=e.toLowerCase(),t=>fp(t)===e),mp=e=>t=>typeof t===e,{isArray:hp}=Array,gp=mp(`undefined`);function _p(e){return e!==null&&!gp(e)&&e.constructor!==null&&!gp(e.constructor)&&xp(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var vp=pp(`ArrayBuffer`);function yp(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&vp(e.buffer),t}var bp=mp(`string`),xp=mp(`function`),Sp=mp(`number`),Cp=e=>typeof e==`object`&&!!e,wp=e=>e===!0||e===!1,Tp=e=>{if(fp(e)!==`object`)return!1;let t=lp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(dp in e)&&!(up in e)},Ep=e=>{if(!Cp(e)||_p(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Dp=pp(`Date`),Op=pp(`File`),kp=e=>!!(e&&e.uri!==void 0),Ap=e=>e&&e.getParts!==void 0,jp=pp(`Blob`),Mp=pp(`FileList`),Np=e=>Cp(e)&&xp(e.pipe);function Pp(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var Fp=Pp(),Ip=Fp.FormData===void 0?void 0:Fp.FormData,Lp=e=>{let t;return e&&(Ip&&e instanceof Ip||xp(e.append)&&((t=fp(e))===`formdata`||t===`object`&&xp(e.toString)&&e.toString()===`[object FormData]`))},Rp=pp(`URLSearchParams`),[zp,Bp,Vp,Hp]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(pp),Up=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function Wp(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),hp(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(_p(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function Gp(e,t){if(_p(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}var Kp=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,qp=e=>!gp(e)&&e!==Kp;function Jp(){let{caseless:e,skipUndefined:t}=qp(this)&&this||{},n={},r=(r,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=e&&Gp(n,i)||i;Tp(n[a])&&Tp(r)?n[a]=Jp(n[a],r):Tp(r)?n[a]=Jp({},r):hp(r)?n[a]=r.slice():(!t||!gp(r))&&(n[a]=r)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Wp(arguments[e],r);return n}var Yp=(e,t,n,{allOwnKeys:r}={})=>(Wp(t,(t,r)=>{n&&xp(t)?Object.defineProperty(e,r,{value:sp(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Xp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Zp=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,`constructor`,{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,`super`,{value:t.prototype}),n&&Object.assign(e.prototype,n)},Qp=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&lp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},$p=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},em=e=>{if(!e)return null;if(hp(e))return e;let t=e.length;if(!Sp(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},tm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&lp(Uint8Array)),nm=(e,t)=>{let n=(e&&e[up]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},rm=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},im=pp(`HTMLFormElement`),am=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),om=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),sm=pp(`RegExp`),cm=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};Wp(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},lm=e=>{cm(e,(t,n)=>{if(xp(e)&&[`arguments`,`caller`,`callee`].indexOf(n)!==-1)return!1;let r=e[n];if(xp(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},um=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return hp(e)?r(e):r(String(e).split(t)),n},dm=()=>{},fm=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function pm(e){return!!(e&&xp(e.append)&&e[dp]===`FormData`&&e[up])}var mm=e=>{let t=Array(10),n=(e,r)=>{if(Cp(e)){if(t.indexOf(e)>=0)return;if(_p(e))return e;if(!(`toJSON`in e)){t[r]=e;let i=hp(e)?[]:{};return Wp(e,(e,t)=>{let a=n(e,r+1);!gp(a)&&(i[t]=a)}),t[r]=void 0,i}}return e};return n(e,0)},hm=pp(`AsyncFunction`),gm=e=>e&&(Cp(e)||xp(e))&&xp(e.then)&&xp(e.catch),_m=((e,t)=>e?setImmediate:t?((e,t)=>(Kp.addEventListener(`message`,({source:n,data:r})=>{n===Kp&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),Kp.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,xp(Kp.postMessage)),Q={isArray:hp,isArrayBuffer:vp,isBuffer:_p,isFormData:Lp,isArrayBufferView:yp,isString:bp,isNumber:Sp,isBoolean:wp,isObject:Cp,isPlainObject:Tp,isEmptyObject:Ep,isReadableStream:zp,isRequest:Bp,isResponse:Vp,isHeaders:Hp,isUndefined:gp,isDate:Dp,isFile:Op,isReactNativeBlob:kp,isReactNative:Ap,isBlob:jp,isRegExp:sm,isFunction:xp,isStream:Np,isURLSearchParams:Rp,isTypedArray:tm,isFileList:Mp,forEach:Wp,merge:Jp,extend:Yp,trim:Up,stripBOM:Xp,inherits:Zp,toFlatObject:Qp,kindOf:fp,kindOfTest:pp,endsWith:$p,toArray:em,forEachEntry:nm,matchAll:rm,isHTMLForm:im,hasOwnProperty:om,hasOwnProp:om,reduceDescriptors:cm,freezeMethods:lm,toObjectSet:um,toCamelCase:am,noop:dm,toFiniteNumber:fm,findKey:Gp,global:Kp,isContextDefined:qp,isSpecCompliantForm:pm,toJSONObject:mm,isAsyncFn:hm,isThenable:gm,setImmediate:_m,asap:typeof queueMicrotask<`u`?queueMicrotask.bind(Kp):typeof process<`u`&&process.nextTick||_m,isIterable:e=>e!=null&&xp(e[up])},$=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return s.cause=t,s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,`message`,{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q.toJSONObject(this.config),code:this.code,status:this.status}}};$.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,$.ERR_BAD_OPTION=`ERR_BAD_OPTION`,$.ECONNABORTED=`ECONNABORTED`,$.ETIMEDOUT=`ETIMEDOUT`,$.ERR_NETWORK=`ERR_NETWORK`,$.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,$.ERR_DEPRECATED=`ERR_DEPRECATED`,$.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,$.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,$.ERR_CANCELED=`ERR_CANCELED`,$.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,$.ERR_INVALID_URL=`ERR_INVALID_URL`;function vm(e){return Q.isPlainObject(e)||Q.isArray(e)}function ym(e){return Q.endsWith(e,`[]`)?e.slice(0,-2):e}function bm(e,t,n){return e?e.concat(t).map(function(e,t){return e=ym(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function xm(e){return Q.isArray(e)&&!e.some(vm)}var Sm=Q.toFlatObject(Q,{},null,function(e){return/^is[A-Z]/.test(e)});function Cm(e,t,n){if(!Q.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Q.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||l,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<`u`&&Blob)&&Q.isSpecCompliantForm(t);if(!Q.isFunction(i))throw TypeError(`visitor must be a function`);function c(e){if(e===null)return``;if(Q.isDate(e))return e.toISOString();if(Q.isBoolean(e))return e.toString();if(!s&&Q.isBlob(e))throw new $(`Blob is not supported. Use a Buffer instead.`);return Q.isArrayBuffer(e)||Q.isTypedArray(e)?s&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function l(e,n,i){let s=e;if(Q.isReactNative(t)&&Q.isReactNativeBlob(e))return t.append(bm(i,n,a),c(e)),!1;if(e&&!i&&typeof e==`object`){if(Q.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Q.isArray(e)&&xm(e)||(Q.isFileList(e)||Q.endsWith(n,`[]`))&&(s=Q.toArray(e)))return n=ym(n),s.forEach(function(e,r){!(Q.isUndefined(e)||e===null)&&t.append(o===!0?bm([n],r,a):o===null?n:n+`[]`,c(e))}),!1}return vm(e)?!0:(t.append(bm(i,n,a),c(e)),!1)}let u=[],d=Object.assign(Sm,{defaultVisitor:l,convertValue:c,isVisitable:vm});function f(e,n){if(!Q.isUndefined(e)){if(u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),Q.forEach(e,function(e,r){(!(Q.isUndefined(e)||e===null)&&i.call(t,e,Q.isString(r)?r.trim():r,n,d))===!0&&f(e,n?n.concat(r):[r])}),u.pop()}}if(!Q.isObject(e))throw TypeError(`data must be an object`);return f(e),t}function wm(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`,"%00":`\0`};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Tm(e,t){this._pairs=[],e&&Cm(e,this,t)}var Em=Tm.prototype;Em.append=function(e,t){this._pairs.push([e,t])},Em.toString=function(e){let t=e?function(t){return e.call(this,t,wm)}:wm;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function Dm(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function Om(e,t,n){if(!t)return e;let r=n&&n.encode||Dm,i=Q.isFunction(n)?{serialize:n}:n,a=i&&i.serialize,o;if(o=a?a(t,i):Q.isURLSearchParams(t)?t.toString():new Tm(t,i).toString(r),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var km=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){Q.forEach(this.handlers,function(t){t!==null&&e(t)})}},Am={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},jm={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:Tm,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},Mm=c({hasBrowserEnv:()=>Nm,hasStandardBrowserEnv:()=>Fm,hasStandardBrowserWebWorkerEnv:()=>Im,navigator:()=>Pm,origin:()=>Lm}),Nm=typeof window<`u`&&typeof document<`u`,Pm=typeof navigator==`object`&&navigator||void 0,Fm=Nm&&(!Pm||[`ReactNative`,`NativeScript`,`NS`].indexOf(Pm.product)<0),Im=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,Lm=Nm&&window.location.href||`http://localhost`,Rm={...Mm,...jm};function zm(e,t){return Cm(e,new Rm.classes.URLSearchParams,{visitor:function(e,t,n,r){return Rm.isNode&&Q.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}function Bm(e){return Q.matchAll(/\w+|\[(\w*)]/g,e).map(e=>e[0]===`[]`?``:e[1]||e[0])}function Vm(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Hm(e){function t(e,n,r,i){let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&Q.isArray(r)?r.length:a,s?(Q.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o):((!r[a]||!Q.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&Q.isArray(r[a])&&(r[a]=Vm(r[a])),!o)}if(Q.isFormData(e)&&Q.isFunction(e.entries)){let n={};return Q.forEachEntry(e,(e,r)=>{t(Bm(e),r,n,0)}),n}return null}function Um(e,t,n){if(Q.isString(e))try{return(t||JSON.parse)(e),Q.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var Wm={transitional:Am,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=Q.isObject(e);if(i&&Q.isHTMLForm(e)&&(e=new FormData(e)),Q.isFormData(e))return r?JSON.stringify(Hm(e)):e;if(Q.isArrayBuffer(e)||Q.isBuffer(e)||Q.isStream(e)||Q.isFile(e)||Q.isBlob(e)||Q.isReadableStream(e))return e;if(Q.isArrayBufferView(e))return e.buffer;if(Q.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return zm(e,this.formSerializer).toString();if((a=Q.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let t=this.env&&this.env.FormData;return Cm(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType(`application/json`,!1),Um(e)):e}],transformResponse:[function(e){let t=this.transitional||Wm.transitional,n=t&&t.forcedJSONParsing,r=this.responseType===`json`;if(Q.isResponse(e)||Q.isReadableStream(e))return e;if(e&&Q.isString(e)&&(n&&!this.responseType||r)){let n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n)throw e.name===`SyntaxError`?$.from(e,$.ERR_BAD_RESPONSE,this,null,this.response):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:Rm.classes.FormData,Blob:Rm.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};Q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`],e=>{Wm.headers[e]={}});var Gm=Q.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),Km=e=>{let t={},n,r,i;return e&&e.split(`
`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&Gm[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t},qm=Symbol(`internals`);function Jm(e){return e&&String(e).trim().toLowerCase()}function Ym(e){return e===!1||e==null?e:Q.isArray(e)?e.map(Ym):String(e)}function Xm(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var Zm=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Qm(e,t,n,r,i){if(Q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),Q.isString(t)){if(Q.isString(r))return t.indexOf(r)!==-1;if(Q.isRegExp(r))return r.test(t)}}function $m(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function eh(e,t){let n=Q.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var th=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=Jm(t);if(!i)throw Error(`header name must be a non-empty string`);let a=Q.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=Ym(e))}let a=(e,t)=>Q.forEach(e,(e,n)=>i(e,n,t));if(Q.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Q.isString(e)&&(e=e.trim())&&!Zm(e))a(Km(e),t);else if(Q.isObject(e)&&Q.isIterable(e)){let n={},r,i;for(let t of e){if(!Q.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);n[i=t[0]]=(r=n[i])?Q.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=Jm(e),e){let n=Q.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return Xm(e);if(Q.isFunction(t))return t.call(this,e,n);if(Q.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=Jm(e),e){let n=Q.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||Qm(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=Jm(e),e){let i=Q.findKey(n,e);i&&(!t||Qm(n,n[i],i,t))&&(delete n[i],r=!0)}}return Q.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||Qm(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return Q.forEach(this,(r,i)=>{let a=Q.findKey(n,i);if(a){t[a]=Ym(r),delete t[i];return}let o=e?$m(i):String(i).trim();o!==i&&delete t[i],t[o]=Ym(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return Q.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&Q.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
`)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[qm]=this[qm]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=Jm(e);t[r]||(eh(n,e),t[r]=!0)}return Q.isArray(e)?e.forEach(r):r(e),this}};th.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),Q.reduceDescriptors(th.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Q.freezeMethods(th);function nh(e,t){let n=this||Wm,r=t||n,i=th.from(r.headers),a=r.data;return Q.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function rh(e){return!!(e&&e.__CANCEL__)}var ih=class extends ${constructor(e,t,n){super(e??`canceled`,$.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function ah(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new $(`Request failed with status code `+n.status,[$.ERR_BAD_REQUEST,$.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function oh(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||``}function sh(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function ch(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var lh=(e,t,n=3)=>{let r=0,i=sh(50,250);return ch(n=>{let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,c=i(s),l=a<=o;r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&l?(o-a)/c:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},uh=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},dh=e=>(...t)=>Q.asap(()=>e(...t)),fh=Rm.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Rm.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Rm.origin),Rm.navigator&&/(msie|trident)/i.test(Rm.navigator.userAgent)):()=>!0,ph=Rm.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];Q.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),Q.isString(r)&&s.push(`path=${r}`),Q.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),Q.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.match(RegExp(`(?:^|; )`+e+`=([^;]*)`));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function mh(e){return typeof e==`string`?/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e):!1}function hh(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}function gh(e,t,n){let r=!mh(t);return e&&(r||n==0)?hh(e,t):t}var _h=e=>e instanceof th?{...e}:e;function vh(e,t){t||={};let n={};function r(e,t,n,r){return Q.isPlainObject(e)&&Q.isPlainObject(t)?Q.merge.call({caseless:r},e,t):Q.isPlainObject(t)?Q.merge({},t):Q.isArray(t)?t.slice():t}function i(e,t,n,i){if(!Q.isUndefined(t))return r(e,t,n,i);if(!Q.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!Q.isUndefined(t))return r(void 0,t)}function o(e,t){if(!Q.isUndefined(t))return r(void 0,t);if(!Q.isUndefined(e))return r(void 0,e)}function s(n,i,a){if(a in t)return r(n,i);if(a in e)return r(void 0,n)}let c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>i(_h(e),_h(t),n,!0)};return Q.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=Q.hasOwnProp(c,r)?c[r]:i,o=a(e[r],t[r],r);Q.isUndefined(o)&&a!==s||(n[r]=o)}),n}var yh=e=>{let t=vh({},e),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=th.from(o),t.url=Om(gh(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set(`Authorization`,`Basic `+btoa((s.username||``)+`:`+(s.password?unescape(encodeURIComponent(s.password)):``))),Q.isFormData(n)){if(Rm.hasStandardBrowserEnv||Rm.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(Q.isFunction(n.getHeaders)){let e=n.getHeaders(),t=[`content-type`,`content-length`];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)})}}if(Rm.hasStandardBrowserEnv&&(r&&Q.isFunction(r)&&(r=r(t)),r||r!==!1&&fh(t.url))){let e=i&&a&&ph.read(a);e&&o.set(i,e)}return t},bh=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=yh(e),i=r.data,a=th.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=th.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());ah(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf(`file:`)===0)||setTimeout(g)},h.onabort=function(){h&&=(n(new $(`Request aborted`,$.ECONNABORTED,e,h)),null)},h.onerror=function(t){let r=new $(t&&t.message?t.message:`Network Error`,$.ERR_NETWORK,e,h);r.event=t||null,n(r),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||Am;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new $(t,i.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,e,h)),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&Q.forEach(a.toJSON(),function(e,t){h.setRequestHeader(t,e)}),Q.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=lh(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=lh(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new ih(null,e,h):t),h.abort(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=oh(r.url);if(_&&Rm.protocols.indexOf(_)===-1){n(new $(`Unsupported protocol `+_+`:`,$.ERR_BAD_REQUEST,e));return}h.send(i||null)})},xh=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController,r,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof $?t:new ih(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new $(`timeout of ${t}ms exceeded`,$.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i));let{signal:s}=n;return s.unsubscribe=()=>Q.asap(o),s}},Sh=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Ch=async function*(e,t){for await(let n of wh(e))yield*Sh(n,t)},wh=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Th=(e,t,n,r)=>{let i=Ch(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},Eh=64*1024,{isFunction:Dh}=Q,Oh=(({Request:e,Response:t})=>({Request:e,Response:t}))(Q.global),{ReadableStream:kh,TextEncoder:Ah}=Q.global,jh=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Mh=e=>{e=Q.merge.call({skipUndefined:!0},Oh,e);let{fetch:t,Request:n,Response:r}=e,i=t?Dh(t):typeof fetch==`function`,a=Dh(n),o=Dh(r);if(!i)return!1;let s=i&&Dh(kh),c=i&&(typeof Ah==`function`?(e=>t=>e.encode(t))(new Ah):async e=>new Uint8Array(await new n(e).arrayBuffer())),l=a&&s&&jh(()=>{let e=!1,t=new n(Rm.origin,{body:new kh,method:`POST`,get duplex(){return e=!0,`half`}}).headers.has(`Content-Type`);return e&&!t}),u=o&&s&&jh(()=>Q.isReadableStream(new r(``).body)),d={stream:u&&(e=>e.body)};i&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!d[e]&&(d[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new $(`Response type '${e}' is not supported`,$.ERR_NOT_SUPPORT,n)})});let f=async e=>{if(e==null)return 0;if(Q.isBlob(e))return e.size;if(Q.isSpecCompliantForm(e))return(await new n(Rm.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(Q.isArrayBufferView(e)||Q.isArrayBuffer(e))return e.byteLength;if(Q.isURLSearchParams(e)&&(e+=``),Q.isString(e))return(await c(e)).byteLength},p=async(e,t)=>Q.toFiniteNumber(e.getContentLength())??f(t);return async e=>{let{url:i,method:o,data:s,signal:c,cancelToken:f,timeout:m,onDownloadProgress:h,onUploadProgress:g,responseType:_,headers:v,withCredentials:y=`same-origin`,fetchOptions:b}=yh(e),x=t||fetch;_=_?(_+``).toLowerCase():`text`;let S=xh([c,f&&f.toAbortSignal()],m),C=null,w=S&&S.unsubscribe&&(()=>{S.unsubscribe()}),T;try{if(g&&l&&o!==`get`&&o!==`head`&&(T=await p(v,s))!==0){let e=new n(i,{method:`POST`,body:s,duplex:`half`}),t;if(Q.isFormData(s)&&(t=e.headers.get(`content-type`))&&v.setContentType(t),e.body){let[t,n]=uh(T,lh(dh(g)));s=Th(e.body,Eh,t,n)}}Q.isString(y)||(y=y?`include`:`omit`);let t=a&&`credentials`in n.prototype,c={...b,signal:S,method:o.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:`half`,credentials:t?y:void 0};C=a&&new n(i,c);let f=await(a?x(C,b):x(i,c)),m=u&&(_===`stream`||_===`response`);if(u&&(h||m&&w)){let e={};[`status`,`statusText`,`headers`].forEach(t=>{e[t]=f[t]});let t=Q.toFiniteNumber(f.headers.get(`content-length`)),[n,i]=h&&uh(t,lh(dh(h),!0))||[];f=new r(Th(f.body,Eh,n,()=>{i&&i(),w&&w()}),e)}_||=`text`;let E=await d[Q.findKey(d,_)||`text`](f,e);return!m&&w&&w(),await new Promise((t,n)=>{ah(t,n,{data:E,headers:th.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:C})})}catch(t){throw w&&w(),t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)?Object.assign(new $(`Network Error`,$.ERR_NETWORK,e,C,t&&t.response),{cause:t.cause||t}):$.from(t,t&&t.code,e,C,t&&t.response)}}},Nh=new Map,Ph=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=Nh;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:Mh(t)),l=c;return c};Ph();var Fh={http:null,xhr:bh,fetch:{get:Ph}};Q.forEach(Fh,(e,t)=>{if(e){try{Object.defineProperty(e,`name`,{value:t})}catch{}Object.defineProperty(e,`adapterName`,{value:t})}});var Ih=e=>`- ${e}`,Lh=e=>Q.isFunction(e)||e===null||e===!1;function Rh(e,t){e=Q.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!Lh(r)&&(i=Fh[(n=String(r)).toLowerCase()],i===void 0))throw new $(`Unknown adapter '${n}'`);if(i&&(Q.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new $(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
`+e.map(Ih).join(`
`):` `+Ih(e[0]):`as no adapter specified`),`ERR_NOT_SUPPORT`)}return i}var zh={getAdapter:Rh,adapters:Fh};function Bh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ih(null,e)}function Vh(e){return Bh(e),e.headers=th.from(e.headers),e.data=nh.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),zh.getAdapter(e.adapter||Wm.adapter,e)(e).then(function(t){return Bh(e),t.data=nh.call(e,e.transformResponse,t),t.headers=th.from(t.headers),t},function(t){return rh(t)||(Bh(e),t&&t.response&&(t.response.data=nh.call(e,e.transformResponse,t.response),t.response.headers=th.from(t.response.headers))),Promise.reject(t)})}var Hh=`1.13.6`,Uh={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{Uh[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var Wh={};Uh.transitional=function(e,t,n){function r(e,t){return`[Axios v`+Hh+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new $(r(i,` has been removed`+(t?` in `+t:``)),$.ERR_DEPRECATED);return t&&!Wh[i]&&(Wh[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),e?e(n,i,a):!0}},Uh.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Gh(e,t,n){if(typeof e!=`object`)throw new $(`options must be an object`,$.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=t[a];if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new $(`option `+a+` must be `+n,$.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new $(`Unknown option `+a,$.ERR_BAD_OPTION)}}var Kh={assertOptions:Gh,validators:Uh},qh=Kh.validators,Jh=class{constructor(e){this.defaults=e||{},this.interceptors={request:new km,response:new km}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,``):``;try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,``))&&(e.stack+=`
`+n):e.stack=n}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=vh(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&Kh.assertOptions(n,{silentJSONParsing:qh.transitional(qh.boolean),forcedJSONParsing:qh.transitional(qh.boolean),clarifyTimeoutError:qh.transitional(qh.boolean),legacyInterceptorReqResOrdering:qh.transitional(qh.boolean)},!1),r!=null&&(Q.isFunction(r)?t.paramsSerializer={serialize:r}:Kh.assertOptions(r,{encode:qh.function,serialize:qh.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),Kh.assertOptions(t,{baseUrl:qh.spelling(`baseURL`),withXsrfToken:qh.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&Q.merge(i.common,i[t.method]);i&&Q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=th.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||Am;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[Vh.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=Vh.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=vh(this.defaults,e),Om(gh(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};Q.forEach([`delete`,`get`,`head`,`options`],function(e){Jh.prototype[e]=function(t,n){return this.request(vh(n||{},{method:e,url:t,data:(n||{}).data}))}}),Q.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(vh(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}Jh.prototype[e]=t(),Jh.prototype[e+`Form`]=t(!0)});var Yh=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new ih(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function Xh(e){return function(t){return e.apply(null,t)}}function Zh(e){return Q.isObject(e)&&e.isAxiosError===!0}var Qh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Qh).forEach(([e,t])=>{Qh[t]=e});function $h(e){let t=new Jh(e),n=sp(Jh.prototype.request,t);return Q.extend(n,Jh.prototype,t,{allOwnKeys:!0}),Q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return $h(vh(e,t))},n}var eg=$h(Wm);eg.Axios=Jh,eg.CanceledError=ih,eg.CancelToken=Yh,eg.isCancel=rh,eg.VERSION=Hh,eg.toFormData=Cm,eg.AxiosError=$,eg.Cancel=eg.CanceledError,eg.all=function(e){return Promise.all(e)},eg.spread=Xh,eg.isAxiosError=Zh,eg.mergeConfig=vh,eg.AxiosHeaders=th,eg.formToJSON=e=>Hm(Q.isHTMLForm(e)?new FormData(e):e),eg.getAdapter=zh.getAdapter,eg.HttpStatusCode=Qh,eg.default=eg;function tg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ng(e,t,n){return t=cg(t),function(e,t){if(t&&(typeof t==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return function(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}(e)}(e,ug()?Reflect.construct(t,n||[],cg(e).constructor):t.apply(e,n))}function rg(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function ig(e,t,n){return Object.defineProperty(e,`prototype`,{writable:!1}),e}function ag(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if(typeof e==`string`)return tg(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tg(e,t):void 0}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function og(e,t,n){return(t=function(e){var t=function(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}(e,`string`);return typeof t==`symbol`?t:t+``}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sg(){return sg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sg.apply(null,arguments)}function cg(e){return cg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cg(e)}function lg(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&mg(e,t)}function ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(ug=function(){return!!e})()}function dg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?dg(Object(n),!0).forEach((function(t){og(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pg(e,t){if(e==null)return{};var n,r,i=function(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function mg(e,t){return mg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mg(e,t)}function hg(e,t){var n,r=t.replacementChars,i=t.replacement,a=t.separate,o=r,s=``,c=ag(e);try{for(c.s();!(n=c.n()).done;){var l=n.value,u=!Object.prototype.hasOwnProperty.call(i,l)&&i[o[0]]?.test(l);(a&&l===o[0]||u)&&(o=o.slice(1),s+=l)}}catch(e){c.e(e)}finally{c.f()}return s}function gg(e,t){var n,r=t.mask,i=t.replacement,a=t.separate,o=t.showMask,s=0,c=``,l=ag(r);try{for(l.s();!(n=l.n()).done;){var u=n.value;if(!o&&e[s]===void 0)break;Object.prototype.hasOwnProperty.call(i,u)&&e[s]!==void 0?c+=e[s++]:c+=u}}catch(e){l.e(e)}finally{l.f()}if(a&&!o){for(var d=r.length-1;d>=0&&c[d]===r[d];d--);c=c.slice(0,d+1)}return c}function _g(e,t){for(var n=t.mask,r=t.replacement,i=[],a=0;a<n.length;a++){var o=e[a]??n[a],s=Object.prototype.hasOwnProperty.call(r,o)?`replacement`:e[a]!==void 0&&e[a]!==n[a]?`input`:`mask`;i.push({type:s,value:o,index:a})}return i}function vg(e){return e.length>0?og({},e,/./):{}}function yg(e,t){for(var n=t.start,r=n===void 0?0:n,i=t.end,a=t.mask,o=t.replacement,s=t.separate,c=e.slice(r,i),l=a.slice(r,i),u=``,d=0;d<l.length;d++){var f=Object.prototype.hasOwnProperty.call(o,l[d]);f&&c[d]!==void 0&&c[d]!==l[d]?u+=c[d]:f&&s&&(u+=l[d])}return u}function bg(e,t){var n=t.mask,r=t.replacement,i=typeof r==`string`?vg(r):r,a=RegExp(`[^${Object.keys(i).join(``)}]`,`g`);return gg(hg(e,{replacementChars:n.replace(a,``),replacement:i,separate:!1}),{mask:n,replacement:i,separate:!1,showMask:!1})}function xg(e,t){var n=t.mask,r=t.replacement,i=typeof r==`string`?vg(r):r,a=yg(e,{mask:n,replacement:i,separate:!1}),o=RegExp(`[^${Object.keys(i).join(``)}]`,`g`);return hg(a,{replacementChars:n.replace(o,``),replacement:i,separate:!1})}function Sg(e,t){var n=t.mask,r=t.replacement,i=typeof r==`string`?vg(r):r;return _g(bg(e,{mask:n,replacement:i}),{mask:n,replacement:i})}var Cg=[`[`,`]`,`\\`,`/`,`^`,`$`,`.`,`|`,`?`,`*`,`+`,`(`,`)`,`{`,`}`];function wg(e){return Cg.includes(e)?`\\${e}`:e}function Tg(e,t){for(var n=t.mask,r=t.replacement,i=typeof r==`string`?vg(r):r,a=e===`partial`||e===`partial-inexact`,o=e===`full`||e===`partial`,s=``,c=0;c<n.length;c++){var l=n[c];c===0&&(s=`^`),a&&(s+=`(`),s+=Object.prototype.hasOwnProperty.call(i,l)?`${o?`(?!${wg(l)})`:``}(${i[l].source})`:wg(l),c===n.length-1&&(a&&(s+=`)?`.repeat(n.length)),s+=`$`)}return s}function Eg(e,t){return new Proxy(e,{set:function(n,r,i){return r===`current`&&(i!==e.current&&(e.current!==null&&t.unregister(e.current),i!==null&&t.register(i)),n[r]=i,!0)}})}function Dg(e,t,n){return t=jg(t),function(e,t){if(t&&(typeof t==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return function(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}(e)}(e,Ng()?Reflect.construct(t,n||[],jg(e).constructor):t.apply(e,n))}function Og(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function kg(e,t,n){return Object.defineProperty(e,`prototype`,{writable:!1}),e}function Ag(e,t,n){return(t=function(e){var t=function(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}(e,`string`);return typeof t==`symbol`?t:t+``}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jg(e){return jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jg(e)}function Mg(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&Lg(e,t)}function Ng(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(Ng=function(){return!!e})()}function Pg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Pg(Object(n),!0).forEach((function(t){Ag(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ig(e,t){if(e==null)return{};var n,r,i=function(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Lg(e,t){return Lg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lg(e,t)}function Rg(e){return Rg=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Rg(e)}function zg(e){var t=typeof Map==`function`?new Map:void 0;return zg=function(e){if(e===null||!function(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(Ng())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Lg(i,n.prototype),i}(e,arguments,jg(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Lg(n,e)},zg(e)}var Bg=function(e){function t(e){var n;return Og(this,t),(n=Dg(this,t,[e])).name=`SyntheticChangeError`,n}return Mg(t,e),kg(t)}(zg(Error)),Vg,Hg=[`options`],Ug=[`text`,`email`,`tel`,`search`,`url`],Wg=kg((function e(t){var n=t.init,r=t.tracking;Og(this,e);var i=new WeakMap;this.register=function(e){if(Ug.includes(e.type)){var t=e._wrapperState??{},a=t.initialValue,o=a===void 0?``:a,s=t.controlled,c=s!==void 0&&s,l=n({initialValue:e.value||o,controlled:c}),u=l.value,d=l.options,f={value:u,options:d,fallbackOptions:d},p={id:-1,cachedId:-1},m={value:``,selectionStart:0,selectionEnd:0},h=Object.getOwnPropertyDescriptor(`_valueTracker`in e?e:HTMLInputElement.prototype,`value`);Object.defineProperty(e,`value`,Fg(Fg({},h),{},{set:function(t){var n;m.value=t,h==null||(n=h.set)==null||n.call(e,t)}})),e.value=u;var g=function(){var t=function(){m.selectionStart=e.selectionStart??0,m.selectionEnd=e.selectionEnd??0,p.id=window.setTimeout(t)};p.id=window.setTimeout(t)},_=function(){window.clearTimeout(p.id),p.id=-1,p.cachedId=-1},v=function(t){try{var n,i;if(p.cachedId===p.id)throw new Bg(`The input selection has not been updated.`);p.cachedId=p.id;var a=e.value,o=e.selectionStart,s=e.selectionEnd;if(o===null||s===null)throw new Bg(`The selection attributes have not been initialized.`);var c,l=m.value;if(t.inputType===void 0&&(m.selectionStart=0,m.selectionEnd=l.length),o>m.selectionStart?c=`insert`:o<=m.selectionStart&&o<m.selectionEnd?c=`deleteBackward`:o===m.selectionEnd&&a.length<l.length&&(c=`deleteForward`),c===void 0||(c===`deleteBackward`||c===`deleteForward`)&&a.length>l.length)throw new Bg(`Input type detection error.`);var u=``,d=m.selectionStart,h=m.selectionEnd;if(c===`insert`)u=a.slice(m.selectionStart,o);else{var g=l.length-a.length;d=o,h=o+g}f.value===l?f.fallbackOptions=f.options:f.options=f.fallbackOptions;var _=f.options,v=r({inputType:c,previousValue:l,previousOptions:_,value:a,addedValue:u,changeStart:d,changeEnd:h,selectionStart:o,selectionEnd:s}),y=v.options,b=Ig(v,Hg);e.value=b.value,e.setSelectionRange(b.selectionStart,b.selectionEnd),f.value=b.value,f.options=y,m.selectionStart=b.selectionStart,m.selectionEnd=b.selectionEnd,(n=e._valueTracker)==null||(i=n.setValue)==null||i.call(n,l)}catch(n){if(e.value=m.value,e.setSelectionRange(m.selectionStart,m.selectionEnd),t.preventDefault(),t.stopPropagation(),n.name!==`SyntheticChangeError`)throw n}};document.activeElement===e&&g(),e.addEventListener(`focus`,g),e.addEventListener(`blur`,_),e.addEventListener(`input`,v),i.set(e,{onFocus:g,onBlur:_,onInput:v})}},this.unregister=function(e){var t=i.get(e);t!==void 0&&(e.removeEventListener(`focus`,t.onFocus),e.removeEventListener(`blur`,t.onBlur),e.removeEventListener(`input`,t.onInput),i.delete(e))}}));Vg=Wg,Object.defineProperty(Vg.prototype,Symbol.toStringTag,{writable:!1,enumerable:!1,configurable:!0,value:`Input`});function Gg(e,t){return(0,w.useCallback)((function(n){e.current=n,typeof t==`function`?t(n):Rg(t)===`object`&&t!==null&&(t.current=n)}),[e,t])}var Kg,qg=[`track`,`modify`];function Jg(e){var t,n;return{mask:e.mask??``,replacement:typeof e.replacement==`string`?vg(e.replacement):e.replacement??{},showMask:(t=e.showMask)!=null&&t,separate:(n=e.separate)!=null&&n,track:e.track,modify:e.modify}}var Yg=function(e){function t(){var e,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return rg(this,t),(e=ng(this,t,[{init:function(e){var t=e.initialValue,r=e.controlled,i=Jg(n),a=i.mask,o=i.replacement,s=i.separate,c=i.showMask;return t=r||t?t:c?a:``,{value:t,options:{mask:a,replacement:o,separate:s}}},tracking:function(e){var t=e.inputType,r=e.previousValue,i=e.previousOptions,a=e.addedValue,o=e.changeStart,s=e.changeEnd,c=Jg(n),l=c.track,u=c.modify,d=pg(c,qg),f=d.mask,p=d.replacement,m=d.showMask,h=d.separate,g=fg(fg({},t===`insert`?{inputType:t,data:a}:{inputType:t,data:null}),{},{value:r,selectionStart:o,selectionEnd:s}),_=l?.(g);if(!1===_)throw new Bg(`Custom tracking stop.`);_===null?a=``:!0!==_&&_!==void 0&&(a=_);var v=u?.(g);v?.mask!==void 0&&(f=v.mask),v?.replacement!==void 0&&(p=typeof v?.replacement==`string`?vg(v?.replacement):v.replacement),v?.showMask!==void 0&&(m=v.showMask),v?.separate!==void 0&&(h=v.separate);var y=yg(r,fg({end:o},i)),b=yg(r,fg({start:s},i)),x=RegExp(`[^${Object.keys(p).join(``)}]`,`g`),S=f.replace(x,``);if(y&&(y=hg(y,{replacementChars:S,replacement:p,separate:h}),S=S.slice(y.length)),a&&(a=hg(a,{replacementChars:S,replacement:p,separate:!1}),S=S.slice(a.length)),t===`insert`&&a===``)throw new Bg("The character does not match the key value of the `replacement` object.");if(h){var C=f.slice(o,s).replace(x,``),w=C.length-a.length;w<0?b=b.slice(-w):w>0&&(b=C.slice(-w)+b)}b&&=hg(b,{replacementChars:S,replacement:p,separate:h});var T=gg(y+a+b,{mask:f,replacement:p,separate:h,showMask:m}),E=function(e){var t=e.inputType,n=e.value,r=e.addedValue,i=e.beforeChangeValue,a=e.mask,o=e.replacement,s=e.separate,c=_g(n,{mask:a,replacement:o}).filter((function(e){var t=e.type;return t===`input`||s&&t===`replacement`})),l=c[i.length+r.length-1]?.index,u=c[i.length-1]?.index,d=c[i.length+r.length]?.index;if(t===`insert`){if(l!==void 0)return l+1;if(d!==void 0)return d;if(u!==void 0)return u+1}if(t===`deleteForward`){if(d!==void 0)return d;if(u!==void 0)return u+1}if(t===`deleteBackward`){if(u!==void 0)return u+1;if(d!==void 0)return d}var f=n.split(``).findIndex((function(e){return Object.prototype.hasOwnProperty.call(o,e)}));return f===-1?n.length:f}({inputType:t,value:T,addedValue:a,beforeChangeValue:y,mask:f,replacement:p,separate:h});return{value:T,selectionStart:E,selectionEnd:E,options:{mask:f,replacement:p,separate:h}}}}])).format=function(e){return bg(e,Jg(n))},e.formatToParts=function(e){return Sg(e,Jg(n))},e.unformat=function(e){return xg(e,Jg(n))},e.generatePattern=function(e){return Tg(e,Jg(n))},e}return lg(t,Wg),ig(t)}();Kg=Yg,Object.defineProperty(Kg.prototype,Symbol.toStringTag,{writable:!1,enumerable:!1,configurable:!0,value:`Mask`});function Xg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mask,n=e.replacement,r=e.showMask,i=e.separate,a=e.track,o=e.modify,s=(0,w.useRef)(null),c=(0,w.useRef)({mask:t,replacement:n,showMask:r,separate:i,track:a,modify:o});return c.current.mask=t,c.current.replacement=n,c.current.showMask=r,c.current.separate=i,c.current.track=a,c.current.modify=o,(0,w.useMemo)((function(){return Eg(s,new Yg(c.current))}),[])}var Zg=[`component`,`mask`,`replacement`,`showMask`,`separate`,`track`,`modify`];function Qg(e,t){var n=e.component,r=e.mask,i=e.replacement,a=e.showMask,o=e.separate,s=e.track,c=e.modify,l=pg(e,Zg),u=Gg(Xg({mask:r,replacement:i,showMask:a,separate:o,track:s,modify:c}),t);return n?w.createElement(n,sg({ref:u},l)):w.createElement(`input`,sg({ref:u},l))}var $g=(0,w.forwardRef)(Qg),e_=()=>{let e=(0,vd.c)(57),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={fio:``,phone:``,email:``,desc:``,conf:!1},e[0]=t):t=e[0];let[n,r]=(0,w.useState)(t),i;e[1]===n?i=e[2]:(i=()=>{eg.create({headers:{"Access-Control-Allow-Headers":`Content-Type`,"Access-Control-Allow-Origin":`http://commit-it.ru:5173`,"Content-Type":`application/json`}}),n.conf&&eg.post(`http://commit-it.ru:3000/send_mail`,n).then(e=>{e.data==`OK`&&r({fio:``,phone:``,email:``,desc:``,conf:!1})})},e[1]=n,e[2]=i);let a=i,o,s,c,l,u;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsxs)(`span`,{className:`text-3xl sm:text-4xl`,children:[`Обсудить `,(0,U.jsx)(`span`,{className:`text-blue-500`,children:`проект`})]}),s=(0,U.jsx)(`span`,{className:`text-base-content/70`,children:`От концепции до релиза — подберём оптимальную стратегию разработки за 1 рабочий день`}),c=(0,U.jsx)(Rd,{text:`Ответим в течение 1 рабочего дня`}),l=(0,U.jsx)(Rd,{text:`Оценка стоимости и сроков`}),u=(0,U.jsx)(Rd,{text:`Обсудим формат сотрудничества`}),e[3]=o,e[4]=s,e[5]=c,e[6]=l,e[7]=u):(o=e[3],s=e[4],c=e[5],l=e[6],u=e[7]);let d;e[8]===n?d=e[9]:(d=e=>{r({...n,fio:e.target.value})},e[8]=n,e[9]=d);let f;e[10]!==n.fio||e[11]!==d?(f=(0,U.jsx)(`input`,{type:`name`,onChange:d,value:n.fio,placeholder:`Введите ваше имя *`,required:!0,className:`input rounded-full w-full border-[#1C8EFF] outline-none`}),e[10]=n.fio,e[11]=d,e[12]=f):f=e[12];let p;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(p={_:/\d/},e[13]=p):p=e[13];let m;e[14]===n?m=e[15]:(m=e=>{r({...n,phone:e.target.value})},e[14]=n,e[15]=m);let h;e[16]!==n.phone||e[17]!==m?(h=(0,U.jsx)($g,{type:`tel`,mask:`+7 (___) ___-__-__`,replacement:p,onChange:m,value:n.phone,placeholder:`+7 (000) 000-00-00 *`,required:!0,className:`input rounded-full w-full border-[#1C8EFF] outline-none`}),e[16]=n.phone,e[17]=m,e[18]=h):h=e[18];let g;e[19]===n?g=e[20]:(g=e=>{r({...n,email:e.target.value})},e[19]=n,e[20]=g);let _;e[21]!==n.email||e[22]!==g?(_=(0,U.jsx)(`input`,{onChange:g,value:n.email,type:`email`,placeholder:`mail@company.ru *`,required:!0,className:`input validator rounded-full w-full border-[#1C8EFF] outline-none`}),e[21]=n.email,e[22]=g,e[23]=_):_=e[23];let v;e[24]===n?v=e[25]:(v=e=>{r({...n,desc:e.target.value})},e[24]=n,e[25]=v);let y;e[26]!==n.desc||e[27]!==v?(y=(0,U.jsx)(`textarea`,{onChange:v,value:n.desc,rows:5,cols:30,className:`textarea rounded-2xl w-full border-[#1C8EFF] outline-none`,placeholder:`Опишите вашу ситуацию (необязательно)`}),e[26]=n.desc,e[27]=v,e[28]=y):y=e[28];let b;e[29]===n?b=e[30]:(b=e=>{r({...n,conf:e.target.checked})},e[29]=n,e[30]=b);let x;e[31]!==n.conf||e[32]!==b?(x=(0,U.jsx)(`input`,{type:`checkbox`,onChange:b,checked:n.conf,className:`mt-1 checkbox checkbox-xs checked:border-blue-500 checked:bg-blue-400 checked:text-white rounded-sm`}),e[31]=n.conf,e[32]=b,e[33]=x):x=e[33];let S;e[34]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,U.jsxs)(`span`,{className:`text-wrap`,children:[`Я разрешаю обработку моих персональных данных согласно `,(0,U.jsx)(`a`,{href:`/assets/legal/Политика_обработки_персональныханных_КОММИТ.pdf`,target:`_blank`,className:`text-blue-500`,children:`Политики обработки персональных данных`})]}),e[34]=S):S=e[34];let C;e[35]===x?C=e[36]:(C=(0,U.jsxs)(`label`,{className:`label flex flex-row items-start`,children:[x,S]}),e[35]=x,e[36]=C);let T=n.phone==``||n.email==``||n.fio==``||!n.conf,E;e[37]===a?E=e[38]:(E=()=>a(),e[37]=a,e[38]=E);let D;e[39]!==T||e[40]!==E?(D=(0,U.jsx)(`button`,{disabled:T,onClick:E,className:`btn btn-lg text-white rounded-full font-light not-disabled:bg-[#1C8EFF]`,children:`Оставить заявку`}),e[39]=T,e[40]=E,e[41]=D):D=e[41];let O;e[42]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,U.jsxs)(`span`,{className:`text-base-content/70`,children:[`Отправляя форму, вы даёте согласие на обработку ваших персональных данных (ФИО, номер телефона, электронную почту и комментарий) для связи c вами и обработки вашей заявки. Данные будут храниться в течение `,(0,U.jsx)(`span`,{className:`underline text-blue-500`,children:`12 месяцев`}),`. Вы можете отозвать своё согласие в любой момент`]}),e[42]=O):O=e[42];let ee;e[43]!==h||e[44]!==_||e[45]!==y||e[46]!==C||e[47]!==D||e[48]!==f?(ee=(0,U.jsxs)(`div`,{className:`flex flex-col col-span-3 gap-4 p-8`,children:[o,s,c,l,u,(0,U.jsxs)(`div`,{id:`form`,className:`flex flex-col gap-4`,children:[f,h,_,y,C,D,O]})]}),e[43]=h,e[44]=_,e[45]=y,e[46]=C,e[47]=D,e[48]=f,e[49]=ee):ee=e[49];let te;e[50]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,U.jsx)(X,{text:`С нами надёжно и безопасно`}),e[50]=te):te=e[50];let k;e[51]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,U.jsx)(Ud,{info:{icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M5.75008 15.0837H6.33341V7.71036C6.33343 7.52669 6.39125 7.34768 6.49866 7.1987C6.60608 7.04972 6.75766 6.93832 6.93191 6.88028L11.5986 5.32511C11.7301 5.2813 11.8701 5.26937 12.0072 5.2903C12.1442 5.31123 12.2743 5.36441 12.3868 5.44547C12.4992 5.52654 12.5908 5.63315 12.654 5.75655C12.7171 5.87994 12.7501 6.01657 12.7501 6.15519V15.0837H13.3334V9.82786C13.3334 9.78472 13.343 9.74213 13.3615 9.70315C13.38 9.66417 13.4069 9.62977 13.4402 9.60243C13.4736 9.57509 13.5126 9.55549 13.5545 9.54505C13.5963 9.5346 13.6399 9.53357 13.6822 9.54203L14.9632 9.79869C15.1615 9.83832 15.34 9.94541 15.4682 10.1017C15.5965 10.2581 15.6666 10.454 15.6667 10.6562V15.0837H16.2501C16.4048 15.0837 16.5532 15.1451 16.6626 15.2545C16.772 15.3639 16.8334 15.5123 16.8334 15.667C16.8334 15.8217 16.772 15.9701 16.6626 16.0795C16.5532 16.1889 16.4048 16.2504 16.2501 16.2504H5.75008C5.59537 16.2504 5.447 16.1889 5.3376 16.0795C5.22821 15.9701 5.16675 15.8217 5.16675 15.667C5.16675 15.5123 5.22821 15.3639 5.3376 15.2545C5.447 15.1451 5.59537 15.0837 5.75008 15.0837Z`,fill:`white`})]}),title:`Проверенная экспертиза`,description:`Реализовали проекты для отраслевых лидеров и государственных заказчиков`}}),e[51]=k):k=e[51];let ne;e[52]===Symbol.for(`react.memo_cache_sentinel`)?(ne=(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[k,(0,U.jsx)(Ud,{info:{icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M10.2999 11.953L9.11059 10.7637C9.04525 10.6988 8.96859 10.6643 8.88059 10.6603C8.79259 10.6563 8.71192 10.6908 8.63859 10.7637C8.56525 10.8366 8.52836 10.9159 8.52792 11.0017C8.52747 11.0874 8.56436 11.1668 8.63859 11.2397L9.92325 12.5277C10.0308 12.6357 10.1564 12.6897 10.2999 12.6897C10.4435 12.6897 10.5693 12.6357 10.6773 12.5277L13.3693 9.83567C13.4341 9.77078 13.4688 9.69367 13.4733 9.60433C13.4777 9.515 13.443 9.43367 13.3693 9.36033C13.2955 9.287 13.2161 9.25011 13.1313 9.24967C13.0464 9.24922 12.9673 9.28611 12.8939 9.36033L10.2999 11.953ZM10.9999 16.895C10.9395 16.895 10.8759 16.8894 10.8093 16.8783C10.7426 16.8672 10.6801 16.8506 10.6219 16.8283C9.30947 16.3279 8.26659 15.4797 7.49325 14.2837C6.71992 13.0877 6.33325 11.793 6.33325 10.3997V7.54433C6.33325 7.31767 6.39881 7.11256 6.52992 6.929C6.66103 6.74544 6.82881 6.61211 7.03325 6.529L10.6233 5.19567C10.753 5.14856 10.8786 5.125 10.9999 5.125C11.1213 5.125 11.247 5.14856 11.3773 5.19567L14.9666 6.529C15.171 6.61211 15.3388 6.74544 15.4699 6.929C15.601 7.11256 15.6666 7.31767 15.6666 7.54433V10.3997C15.6666 11.793 15.2799 13.0877 14.5066 14.2837C13.7333 15.4797 12.6904 16.3277 11.3779 16.8277C11.3201 16.8499 11.2579 16.8666 11.1913 16.8777C11.1246 16.8888 11.0608 16.8943 10.9999 16.8943`,fill:`white`})]}),title:`Прозрачный расчёт`,description:`Оценим стоимость и сроки без скрытых допущений`}})]}),e[52]=ne):ne=e[52];let re;e[53]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,U.jsxs)(`div`,{className:`flex flex-col p-8 gap-8`,children:[te,ne,(0,U.jsxs)(`div`,{className:`flex flex-col gap-2 p-4 bg-base-100 rounded-2xl`,children:[(0,U.jsx)(Ud,{showDescription:!1,info:{icon:(0,U.jsxs)(`svg`,{width:`22`,height:`22`,viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`11`,fill:`#1C8EFF`}),(0,U.jsx)(`path`,{d:`M11 8.66634C11.1547 8.66634 11.3031 8.7278 11.4125 8.8372C11.5219 8.94659 11.5833 9.09496 11.5833 9.24967C11.5833 9.40438 11.5219 9.55276 11.4125 9.66215C11.3031 9.77155 11.1547 9.83301 11 9.83301C10.8453 9.83301 10.6969 9.77155 10.5875 9.66215C10.4781 9.55276 10.4167 9.40438 10.4167 9.24967C10.4167 9.09496 10.4781 8.94659 10.5875 8.8372C10.6969 8.7278 10.8453 8.66634 11 8.66634ZM16.25 10.4163C16.25 13.6538 14.01 16.6813 11 17.4163C7.99 16.6813 5.75 13.6538 5.75 10.4163V6.91634L11 4.58301L16.25 6.91634V10.4163ZM11 7.49967C10.5359 7.49967 10.0908 7.68405 9.76256 8.01224C9.43437 8.34043 9.25 8.78555 9.25 9.24967C9.25 10.0138 9.73417 10.6613 10.4167 10.9005V14.4997H11.5833V13.333H12.75V12.1663H11.5833V10.9005C12.2658 10.6613 12.75 10.0138 12.75 9.24967C12.75 8.78555 12.5656 8.34043 12.2374 8.01224C11.9092 7.68405 11.4641 7.49967 11 7.49967Z`,fill:`white`})]}),title:`Ваши данные под защитой`,description:`Мы\xA0используем SSL-шифрование и\xA0обеспечиваем полную защиту ваших данных`}}),(0,U.jsx)(`span`,{className:`text-sm text-base-content/70 font-light`,children:`Мы используем SSL-шифрование и обеспечиваем полную защиту ваших данных`})]})]}),e[53]=re):re=e[53];let ie;e[54]===Symbol.for(`react.memo_cache_sentinel`)?(ie=(0,U.jsxs)(`div`,{className:`flex flex-col col-span-2 bg-base-200 rounded-2xl gap-8`,children:[re,(0,U.jsx)(`div`,{className:`flex justify-center mt-auto px-8`,children:(0,U.jsx)(`img`,{className:``,src:`/assets/withLogo.png`})})]}),e[54]=ie):ie=e[54];let ae;return e[55]===ee?ae=e[56]:(ae=(0,U.jsxs)(`section`,{id:`discuss`,className:`max-w-7xl w-full h-auto flex flex-col sm:grid sm:grid-cols-5 gap-4`,children:[ee,ie]}),e[55]=ee,e[56]=ae),ae};function t_(){let e=(0,vd.c)(53),[t,n]=(0,w.useState)(!1),r,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>{let e=localStorage.getItem(`policyAccepted`);e===null?(n(!1),localStorage.setItem(`policyAccepted`,`false`)):n(e===`true`)},i=[],e[0]=r,e[1]=i):(r=e[0],i=e[1]),(0,w.useEffect)(r,i);let a;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=()=>{n(!0),localStorage.setItem(`policyAccepted`,`true`)},e[2]=a):a=e[2];let o=a,{scrollY:s}=sd(),[c,l]=(0,w.useState)(!1),[u,d]=(0,w.useState)(!0),f;e[3]===s?f=e[4]:(f=e=>{let t=s.getPrevious()??0;d(e===0),l(e>t&&e>150)},e[3]=s,e[4]=f),yu(s,`change`,f);let p;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(p=[{src:`/assets/xkvadrat.svg`},{src:`/assets/rcit-BccMYqhE.svg`},{src:`/assets/vodokanal.svg`},{src:`/assets/tesaldan.svg`},{src:`/assets/tehnopark.svg`},{src:`/assets/sakhaspectrans-xe6pCR8Q.svg`},{src:`/assets/jkhsakha.svg`}],e[5]=p):p=e[5];let m=p,h=i_,g;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(g=[`/assets/python.svg`,`/assets/csharp.svg`,`/assets/js.svg`,`/assets/1c.svg`],e[6]=g):g=e[6];let _=g,v;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(v=[`/assets/1c_franch.svg`,`/assets/astralinux.svg`,`/assets/drweb.svg`,`/assets/kasperskylab.svg`],e[7]=v):v=e[7];let y=v,b;e[8]===t?b=e[9]:(b=!t&&(0,U.jsx)(`div`,{className:`toast toast-end z-999 lg:max-w-3xl w-full`,children:(0,U.jsxs)(`div`,{className:`bg-white p-8 rounded-2xl flex flex-col gap-4`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-4 text-center text-xs text-[#828282]`,children:[(0,U.jsx)(`span`,{children:`Мы обрабатываем персональные данные в соответствии с требованиями Федерального закона №152-ФЗ «О персональных данных». Отправляя формы на сайте, вы даёте согласие на обработку ваших персональных данных (ФИО, номер телефона, адрес электронной почты и иные сведения, указанные вами) для связи с вами и обработки запроса.`}),(0,U.jsxs)(`span`,{children:[`Также сайт использует файлы `,(0,U.jsx)(`span`,{className:`text-[#1C8EFF] underline`,children:`веб-куки`}),` и сервисы веб-аналитики для обеспечения корректной работы и улучшения пользовательского опыта. Данные будут храниться в\xA0течение `,(0,U.jsx)(`span`,{className:`text-[#1C8EFF] underline`,children:`12 месяцев`}),`. Вы\xA0можете отозвать своё согласие в\xA0любой момент. Подробнее — в нашей `,(0,U.jsx)(`a`,{href:`/assets/legal/Политика_обработки_персональныханных_КОММИТ.pdf`,className:`underline text-[#1C8EFF]`,children:`Политике обработки персональных данных.`})]})]}),(0,U.jsx)(`div`,{className:`w-full flex`,children:(0,U.jsx)(`button`,{onClick:o,className:`ml-auto btn btn-lg text-white rounded-full font-light not-disabled:bg-[#1C8EFF]`,children:`Принять`})})]})}),e[8]=t,e[9]=b);let x;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,U.jsx)(`div`,{className:`logo`,children:(0,U.jsx)(`img`,{className:`dark:invert dark:hue-rotate-180`,width:180,src:`/assets/logo-commit.png`})}),e[10]=x):x=e[10];let S;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,U.jsxs)(`div`,{className:`flex flex-row justify-between items-center`,children:[x,(0,U.jsx)(`form`,{method:`dialog`,children:(0,U.jsx)(`button`,{className:`btn btn-sm btn-circle btn-ghost p-2 text-2xl`,children:`✕`})})]}),e[11]=S):S=e[11];let C;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,U.jsxs)(`div`,{className:`modal-box w-3/4 flex flex-col gap-8`,children:[S,(0,U.jsxs)(`form`,{method:`dialog`,className:`flex flex-col gap-4`,children:[(0,U.jsx)(`a`,{onClick:h,href:`#about`,className:`text-lg text-base-content/70 hover:text-blue-500`,children:`О компании`}),(0,U.jsx)(`a`,{onClick:h,href:`#products`,className:`text-lg text-base-content/70 hover:text-blue-500`,children:`Программные продукты`}),(0,U.jsx)(`a`,{onClick:h,href:`#services`,className:`text-lg text-base-content/70 hover:text-blue-500`,children:`Услуги`}),(0,U.jsx)(`a`,{onClick:h,href:`#case`,className:`text-lg text-base-content/70 hover:text-blue-500`,children:`Главный кейс`}),(0,U.jsx)(`a`,{onClick:h,href:`#contacts`,className:`text-lg text-base-content/70 btn rounded-full font-light not-disabled:bg-[#1C8EFF] w-min text-white`,children:`Контакты`})]})]}),e[12]=C):C=e[12];let T;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,U.jsxs)(`dialog`,{id:`navbar_modal`,className:`modal modal-end`,children:[C,(0,U.jsx)(`form`,{method:`dialog`,className:`modal-backdrop backdrop-blur-xs`,children:(0,U.jsx)(`button`,{})})]}),e[13]=T):T=e[13];let E=`${u?``:`opacity-0`} top-0 left-0 right-0 w-full backdrop-blur-2xl flex justify-center`,D,O,ee;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(D={opacity:`0`},O={opacity:`1`},ee=(0,U.jsx)(kd,{}),e[14]=D,e[15]=O,e[16]=ee):(D=e[14],O=e[15],ee=e[16]);let te;e[17]===E?te=e[18]:(te=(0,U.jsx)(vu.header,{className:E,initial:D,whileInView:O,children:ee}),e[17]=E,e[18]=te);let k=`${u?`hidden`:``} z-10 w-full fixed top-0 left-0 right-0 backdrop-blur-lg bg-base-100/70 flex justify-center`,ne=c?-140:0,re=c?0:1,ie;e[19]!==ne||e[20]!==re?(ie={y:ne,opacity:re},e[19]=ne,e[20]=re,e[21]=ie):ie=e[21];let ae,A;e[22]===Symbol.for(`react.memo_cache_sentinel`)?(ae={duration:.3,ease:`easeInOut`},A=(0,U.jsx)(kd,{}),e[22]=ae,e[23]=A):(ae=e[22],A=e[23]);let j;e[24]!==k||e[25]!==ie?(j=(0,U.jsx)(vu.header,{className:k,animate:ie,transition:ae,children:A}),e[24]=k,e[25]=ie,e[26]=j):j=e[26];let oe;e[27]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,U.jsx)(`span`,{className:`text-xs text-[#828282] bg-base-100 rounded-2xl p-2 flex justify-center`,children:`Все наши специалисты имеют профессиональное образование и опыт более 15 лет работы`}),e[27]=oe):oe=e[27];let se;e[28]===Symbol.for(`react.memo_cache_sentinel`)?(se=(0,U.jsx)(`span`,{className:`row-span-2 md:row-span-1`,children:`Программное обеспечение`}),e[28]=se):se=e[28];let ce,le,M;e[29]===Symbol.for(`react.memo_cache_sentinel`)?(ce=(0,U.jsxs)(`div`,{className:`text-3xl grid grid-rows-[repeat(4,1fr)] md:grid-rows-[1fr_1fr]`,children:[se,(0,U.jsx)(`div`,{className:`row-span-2 inline-flex flex-wrap w-full text-blue-500 h-min`,children:(0,U.jsx)(rp,{typingSpeed:40,deletingSpeed:20,pauseTime:2e3})})]}),le=(0,U.jsx)(`span`,{className:`text-base-content/70`,children:`Берём ответственность за ваши ИТ-решения, снимая риски и операционную нагрузку, выступая надёжным технологическим партнёром по разработке и сопровождению`}),M=(0,U.jsx)(`div`,{children:(0,U.jsx)(`a`,{href:`#discuss`,className:`btn btn-lg text-white rounded-full font-light not-disabled:bg-[#1C8EFF]`,children:`Консультация`})}),e[29]=ce,e[30]=le,e[31]=M):(ce=e[29],le=e[30],M=e[31]);let N;e[32]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,U.jsx)(`span`,{className:`text-xs text-base-content/70`,children:`✳︎ Работаем с такими языками программирования, как:`}),e[32]=N):N=e[32];let ue,de;e[33]===Symbol.for(`react.memo_cache_sentinel`)?(ue=(0,U.jsx)(`div`,{className:`flex flex-row`,children:_.map(r_)}),de=(0,U.jsx)(`span`,{className:`text-xs text-base-content/70`,children:`✳︎ Работаем с такими программами, как:`}),e[33]=ue,e[34]=de):(ue=e[33],de=e[34]);let fe;e[35]===Symbol.for(`react.memo_cache_sentinel`)?(fe=(0,U.jsxs)(`div`,{className:`z-1 h-auto grow flex flex-col gap-4`,children:[oe,ce,le,M,(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[N,ue,de,(0,U.jsx)(`div`,{className:`flex flex-row`,children:y.map(n_)})]})]}),e[35]=fe):fe=e[35];let pe;e[36]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,U.jsxs)(`div`,{className:`relative grid sm:grid-cols-2 h-auto grow gap-8 rounded-2xl bg-[#F6F6F9] p-8`,children:[fe,(0,U.jsxs)(`div`,{className:`absolute blur-xs sm:blur-none inset-0 sm:relative h-full w-full p-4 opacity-40`,children:[(0,U.jsx)(yd,{text:`/*
Совет из продакшена:
если код "гениальный" готовься его переписывать.
если код простой скорее всего, он переживёт тебя.
*/
@font-face {
font-family: "HiddenFont";
src: local("Arial");
unicode-range: U+043F, U+043E, U+043C, U+043E, U+0433, U+0430, U+0435,
U+043C, U+0020, U+0441, U+0020, U+0440, U+0430, U+0437,
U+0440, U+0430, U+0431, U+043E, U+0442, U+043A, U+043E,
U+0439, U+043E, U+045E, U+048E, U+056E, U+068E, U+069E,
U+070E, U+074E, U+077E, U+079E, U+081E, U+083E, U+086E,
U+089E, U+091E, U+094E, U+095E, U+098E, U+099E, U+0533,
U+0536, U+0539, U+0555, U+0563, U+781, U+783, U+789;
body {
margin: 0;
font-family: Arial, sans-serif;
}
Если ты это читаешь:
сборка прошла
багов нет
/*
мы помогаем с разработкой программного обеспечения
и бережно сопровождаем на всех этапах работ
/*
TODO: не удалять — это не хаос, это философия */
`,speed:.01}),(0,U.jsx)(`div`,{className:`absolute inset-0 bg-linear-to-b from-base-200 to-transparent`})]})]}),e[36]=pe):pe=e[36];let me;e[37]!==te||e[38]!==j?(me=(0,U.jsx)(`div`,{className:`max-w-7xl`,children:(0,U.jsxs)(`div`,{className:`h-full flex flex-col`,children:[te,j,pe]})}),e[37]=te,e[38]=j,e[39]=me):me=e[39];let he,ge;e[40]===Symbol.for(`react.memo_cache_sentinel`)?(he=(0,U.jsx)(Td,{}),ge=(0,U.jsx)(Wd,{}),e[40]=he,e[41]=ge):(he=e[40],ge=e[41]);let _e,ve,ye,be,xe,Se,Ce,we;e[42]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,U.jsx)(`div`,{className:`w-full overflow-hidden select-none py-8 bg-base-200`,children:(0,U.jsx)(Ed,{speed:20,items:m,from:0,to:`-100%`})}),ve=(0,U.jsx)(op,{}),ye=(0,U.jsx)(Fd,{}),be=(0,U.jsx)(Md,{}),xe=(0,U.jsx)(tp,{}),Se=(0,U.jsx)(zd,{}),Ce=(0,U.jsx)(e_,{}),we=(0,U.jsx)(Vd,{}),e[42]=_e,e[43]=ve,e[44]=ye,e[45]=be,e[46]=xe,e[47]=Se,e[48]=Ce,e[49]=we):(_e=e[42],ve=e[43],ye=e[44],be=e[45],xe=e[46],Se=e[47],Ce=e[48],we=e[49]);let Te;return e[50]!==me||e[51]!==b?(Te=(0,U.jsxs)(`main`,{className:`relative w-full flex flex-col gap-4 sm:gap-8 items-center`,children:[b,T,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we]}),e[50]=me,e[51]=b,e[52]=Te):Te=e[52],Te}function n_(e,t){return(0,U.jsx)(`div`,{style:{marginLeft:t===0?``:`-0.5rem`},className:`border-2 border-base-200 w-16 h-16 flex justify-center items-center p-2 rounded-full overflow-hidden bg-white`,children:(0,U.jsx)(`img`,{src:e})},t)}function r_(e,t){return(0,U.jsx)(`div`,{style:{marginLeft:t===0?``:`-0.5rem`},className:`border-2 border-base-200 w-16 h-16 flex justify-center items-center p-2 rounded-full overflow-hidden bg-white`,children:(0,U.jsx)(`img`,{src:e})},t)}function i_(){let e=document.getElementById(`navbar_modal`);e&&e.close()}(0,_d.createRoot)(document.getElementById(`root`)).render((0,U.jsx)(w.StrictMode,{children:(0,U.jsx)(t_,{})}));