PageSourceSearch

https://slancha.ai/assets/index-CBLUbnnE.js

js slancha.ai collected 2026-10-05 15:04:55 UTC 482,063 bytes, 26 lines download raw bytes

vendor: 20,774 bytes, lines 1-3
1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),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 k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ee=/\/+/g;function te(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+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===``?`.`+te(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ee,`$&/`)+`/`),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(ee,`$&/`)+`/`)+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+te(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+te(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.7`})),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&&te(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&&te(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 k=new MessageChannel,ee=k.port2;k.port1.onmessage=D,O=function(){ee.postMessage(null)}}else O=function(){_(D,0)};function te(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,te(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.7`})),_=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`),k=Symbol.for(`react.activity`),ee=Symbol.for(`react.memo_cache_sentinel`),te=Symbol.iterator;function ne(e){return typeof e!=`object`||!e?null:(e=te&&e[te]||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 k: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 ue(e){0>ce||(e.current=se[ce],se[ce]=null,ce--)}function M(e,t){ce++,se[ce]=e.current,e.current=t}var de=le(null),fe=le(null),pe=le(null),me=le(null);function he(e,t){switch(M(pe,t),M(fe,e),M(de,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Hd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Hd(t),e=Ud(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ue(de),M(de,e)}function ge(){ue(de),ue(fe),ue(pe)}function _e(e){e.memoizedState!==null&&M(me,e);var t=de.current,n=Ud(t,e.type);t!==n&&(M(fe,e),M(de,n))}function ve(e){fe.current===e&&(ue(de),ue(fe)),me.current===e&&(ue(me),$f._currentValue=oe)}var ye,be;function xe(e){if(ye===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ye=t&&t[1]||``,be=-1<e.stack.indexOf(`
2    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
3`+ye+e+be}var Se=!1;function Ce(e,t){if(!e||Se)return``;Se=!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)}
vendor: 6,575 bytes, lines 3-8
3else{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(`
4`),l=s.split(`
5`);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=`
6`+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{Se=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?xe(n):``}function we(e,t){switch(e.tag){case 26:case 27:case 5:return xe(e.type);case 16:return xe(`Lazy`);case 13:return e.child!==t&&t!==null?xe(`Suspense Fallback`):xe(`Suspense`);case 19:return xe(`SuspenseList`);case 0:case 15:return Ce(e.type,!1);case 11:return Ce(e.type.render,!1);case 1:return Ce(e.type,!0);case 31:return xe(`Activity`);default:return``}}function Te(e){try{var t=``,n=null;do t+=we(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
7Error generating stack: `+e.message+`
8`+e.stack}}var Ee=Object.prototype.hasOwnProperty,De=t.unstable_scheduleCallback,Oe=t.unstable_cancelCallback,ke=t.unstable_shouldYield,Ae=t.unstable_requestPaint,je=t.unstable_now,Me=t.unstable_getCurrentPriorityLevel,Ne=t.unstable_ImmediatePriority,Pe=t.unstable_UserBlockingPriority,Fe=t.unstable_NormalPriority,N=t.unstable_LowPriority,Ie=t.unstable_IdlePriority,Le=t.log,Re=t.unstable_setDisableYieldValue,ze=null,Be=null;function Ve(e){if(typeof Le==`function`&&Re(e),Be&&typeof Be.setStrictMode==`function`)try{Be.setStrictMode(ze,e)}catch{}}var He=Math.clz32?Math.clz32:Ge,Ue=Math.log,We=Math.LN2;function Ge(e){return e>>>=0,e===0?32:31-(Ue(e)/We|0)|0}var Ke=256,qe=262144,Je=4194304;function Ye(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 Xe(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=Ye(n))):i=Ye(o):i=Ye(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ye(n))):i=Ye(o)):i=Ye(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 Ze(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Qe(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 $e(){var e=Je;return Je<<=1,!(Je&62914560)&&(Je=4194304),e}function et(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function nt(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-He(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&&rt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function rt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-He(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function it(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-He(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function at(e,t){var n=t&-t;return n=n&42?1:ot(n),(n&(e.suspendedLanes|t))===0?n:0}function ot(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 st(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ct(){var e=j.p;return e===0?(e=window.event,e===void 0?32:hp(e.type)):e}function lt(e,t){var n=j.p;try{return j.p=e,t()}finally{j.p=n}}var ut=Math.random().toString(36).slice(2),P=`__reactFiber$`+ut,dt=`__reactProps$`+ut,ft=`__reactContainer$`+ut,pt=`__reactEvents$`+ut,mt=`__reactListeners$`+ut,ht=`__reactHandles$`+ut,gt=`__reactResources$`+ut,_t=`__reactMarker$`+ut;function vt(e){delete e[P],delete e[dt],delete e[pt],delete e[mt],delete e[ht]}function yt(e){var t=e[P];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ft]||n[P]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ff(e);e!==null;){if(n=e[P])return n;e=ff(e)}return t}e=n,n=e.parentNode}return null}function bt(e){if(e=e[P]||e[ft]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function xt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function St(e){var t=e[gt];return t||=e[gt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Ct(e){e[_t]=!0}var wt=new Set,Tt={};function Et(e,t){Dt(e,t),Dt(e+`Capture`,t)}function Dt(e,t){for(Tt[e]=t,e=0;e<t.length;e++)wt.add(t[e])}var Ot=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
8037D\\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]*$`),kt={},At={};function jt(e){return Ee.call(At,e)?!0:Ee.call(kt,e)?!1:Ot.test(e)?At[e]=!0:(kt[e]=!0,!1)}function Mt(e,t,n){if(jt(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 Nt(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 Pt(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 F(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ft(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function It(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 Lt(e){if(!e._valueTracker){var t=Ft(e)?`checked`:`value`;e._valueTracker=It(e,t,``+e[t])}}function Rt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ft(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function zt(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 Bt=/[\n"\\]/g;function Vt(e){return e.replace(Bt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Ht(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=``+F(t)):e.value!==``+F(t)&&(e.value=``+F(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Wt(e,o,F(n)):Wt(e,o,F(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=``+F(s):e.removeAttribute(`name`)}function Ut(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)){Lt(e);return}n=n==null?``:``+F(n),t=t==null?n:``+F(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),Lt(e)}function Wt(e,t,n){t===`number`&&zt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Gt(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=``+F(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 Kt(e,t,n){if(t!=null&&(t=``+F(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+F(n)}function qt(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}
vendor: 133,151 bytes, lines 8-9
8n=F(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Lt(e)}function Jt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yt=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 Xt(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||Yt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Zt(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&&Xt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Xt(e,o,t[o])}function Qt(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 $t=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`]]),en=/^[\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 tn(e){return en.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function nn(){}var rn=null;function an(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var on=null,sn=null;function cn(e){var t=bt(e);if(t&&(e=t.stateNode)){var n=e[dt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Ht(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="`+Vt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[dt]||null;if(!a)throw Error(i(90));Ht(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&&Rt(r)}break a;case`textarea`:Kt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Gt(e,!!n.multiple,t,!1)}}}var ln=!1;function un(e,t,n){if(ln)return e(t,n);ln=!0;try{return e(t)}finally{if(ln=!1,(on!==null||sn!==null)&&(wu(),on&&(t=on,e=sn,sn=on=null,cn(t),e)))for(t=0;t<e.length;t++)cn(e[t])}}function dn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[dt]||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 fn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),pn=!1;if(fn)try{var mn={};Object.defineProperty(mn,"passive",{get:function(){pn=!0}}),window.addEventListener(`test`,mn,mn),window.removeEventListener(`test`,mn,mn)}catch{pn=!1}var hn=null,gn=null,_n=null;function vn(){if(_n)return _n;var e,t=gn,n=t.length,r,i=`value`in hn?hn.value:hn.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 _n=i.slice(e,1<r?1-r:void 0)}function yn(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 bn(){return!0}function xn(){return!1}function Sn(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)?bn:xn,this.isPropagationStopped=xn,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=bn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=bn)},persist:function(){},isPersistent:bn}),t}var Cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wn=Sn(Cn),Tn=f({},Cn,{view:0,detail:0}),En=Sn(Tn),Dn,On,kn,An=f({},Tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vn,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!==kn&&(kn&&e.type===`mousemove`?(Dn=e.screenX-kn.screenX,On=e.screenY-kn.screenY):On=Dn=0,kn=e),Dn)},movementY:function(e){return`movementY`in e?e.movementY:On}}),jn=Sn(An),Mn=Sn(f({},An,{dataTransfer:0})),Nn=Sn(f({},Tn,{relatedTarget:0})),Pn=Sn(f({},Cn,{animationName:0,elapsedTime:0,pseudoElement:0})),Fn=Sn(f({},Cn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),In=Sn(f({},Cn,{data:0})),Ln={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Rn={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`},zn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Bn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zn[e])?!!t[e]:!1}function Vn(){return Bn}var Hn=Sn(f({},Tn,{key:function(e){if(e.key){var t=Ln[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=yn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Rn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vn,charCode:function(e){return e.type===`keypress`?yn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?yn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Un=Sn(f({},An,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Wn=Sn(f({},Tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vn})),Gn=Sn(f({},Cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Kn=Sn(f({},An,{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})),qn=Sn(f({},Cn,{newState:0,oldState:0})),Jn=[9,13,27,32],Yn=fn&&`CompositionEvent`in window,Xn=null;fn&&`documentMode`in document&&(Xn=document.documentMode);var Zn=fn&&`TextEvent`in window&&!Xn,Qn=fn&&(!Yn||Xn&&8<Xn&&11>=Xn),$n=` `,er=!1;function tr(e,t){switch(e){case`keyup`:return Jn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function nr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var rr=!1;function ir(e,t){switch(e){case`compositionend`:return nr(t);case`keypress`:return t.which===32?(er=!0,$n):null;case`textInput`:return e=t.data,e===$n&&er?null:e;default:return null}}function ar(e,t){if(rr)return e===`compositionend`||!Yn&&tr(e,t)?(e=vn(),_n=gn=hn=null,rr=!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 Qn&&t.locale!==`ko`?null:t.data;default:return null}}var or={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 sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!or[e.type]:t===`textarea`}function cr(e,t,n,r){on?sn?sn.push(r):sn=[r]:on=r,t=Dd(t,`onChange`),0<t.length&&(n=new wn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var lr=null,ur=null;function dr(e){bd(e,0)}function fr(e){if(Rt(xt(e)))return e}function pr(e,t){if(e===`change`)return t}var mr=!1;if(fn){var hr;if(fn){var gr=`oninput`in document;if(!gr){var _r=document.createElement(`div`);_r.setAttribute(`oninput`,`return;`),gr=typeof _r.oninput==`function`}hr=gr}else hr=!1;mr=hr&&(!document.documentMode||9<document.documentMode)}function vr(){lr&&(lr.detachEvent(`onpropertychange`,yr),ur=lr=null)}function yr(e){if(e.propertyName===`value`&&fr(ur)){var t=[];cr(t,ur,e,an(e)),un(dr,t)}}function br(e,t,n){e===`focusin`?(vr(),lr=t,ur=n,lr.attachEvent(`onpropertychange`,yr)):e===`focusout`&&vr()}function xr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return fr(ur)}function Sr(e,t){if(e===`click`)return fr(t)}function Cr(e,t){if(e===`input`||e===`change`)return fr(t)}function wr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Tr=typeof Object.is==`function`?Object.is:wr;function Er(e,t){if(Tr(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(!Ee.call(t,i)||!Tr(e[i],t[i]))return!1}return!0}function Dr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Or(e,t){var n=Dr(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=Dr(n)}}function kr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ar(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=zt(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=zt(e.document)}return t}function jr(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 Mr=fn&&`documentMode`in document&&11>=document.documentMode,Nr=null,Pr=null,Fr=null,Ir=!1;function Lr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ir||Nr==null||Nr!==zt(r)||(r=Nr,`selectionStart`in r&&jr(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}),Fr&&Er(Fr,r)||(Fr=r,r=Dd(Pr,`onSelect`),0<r.length&&(t=new wn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Nr)))}function Rr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var zr={animationend:Rr(`Animation`,`AnimationEnd`),animationiteration:Rr(`Animation`,`AnimationIteration`),animationstart:Rr(`Animation`,`AnimationStart`),transitionrun:Rr(`Transition`,`TransitionRun`),transitionstart:Rr(`Transition`,`TransitionStart`),transitioncancel:Rr(`Transition`,`TransitionCancel`),transitionend:Rr(`Transition`,`TransitionEnd`)},Br={},Vr={};fn&&(Vr=document.createElement(`div`).style,`AnimationEvent`in window||(delete zr.animationend.animation,delete zr.animationiteration.animation,delete zr.animationstart.animation),`TransitionEvent`in window||delete zr.transitionend.transition);function Hr(e){if(Br[e])return Br[e];if(!zr[e])return e;var t=zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Vr)return Br[e]=t[n];return e}var Ur=Hr(`animationend`),Wr=Hr(`animationiteration`),Gr=Hr(`animationstart`),Kr=Hr(`transitionrun`),qr=Hr(`transitionstart`),Jr=Hr(`transitioncancel`),Yr=Hr(`transitionend`),Xr=new Map,Zr=`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(` `);Zr.push(`scrollEnd`);function Qr(e,t){Xr.set(e,t),Et(t,[e])}var $r=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)},ei=[],ti=0,ni=0;function ri(){for(var e=ti,t=ni=ti=0;t<e;){var n=ei[t];ei[t++]=null;var r=ei[t];ei[t++]=null;var i=ei[t];ei[t++]=null;var a=ei[t];if(ei[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&&si(n,i,a)}}function ii(e,t,n,r){ei[ti++]=e,ei[ti++]=t,ei[ti++]=n,ei[ti++]=r,ni|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ai(e,t,n,r){return ii(e,t,n,r),ci(e)}function oi(e,t){return ii(e,null,null,t),ci(e)}function si(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-He(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ci(e){if(50<hu)throw hu=0,gu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var li={};function ui(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 di(e,t,n,r){return new ui(e,t,n,r)}function fi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pi(e,t){var n=e.alternate;return n===null?(n=di(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 mi(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 hi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)fi(e)&&(s=1);else if(typeof e==`string`)s=Wf(e,n,de.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case k:return e=di(31,n,t,a),e.elementType=k,e.lanes=o,e;case y:return gi(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=di(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=di(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=di(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=di(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function gi(e,t,n,r){return e=di(7,e,r,t),e.lanes=n,e}function _i(e,t,n){return e=di(6,e,null,t),e.lanes=n,e}function vi(e){var t=di(18,null,null,0);return t.stateNode=e,t}function yi(e,t,n){return t=di(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var bi=new WeakMap;function xi(e,t){if(typeof e==`object`&&e){var n=bi.get(e);return n===void 0?(t={value:e,source:t,stack:Te(t)},bi.set(e,t),t):n}return{value:e,source:t,stack:Te(t)}}var Si=[],Ci=0,wi=null,Ti=0,Ei=[],Di=0,Oi=null,ki=1,Ai=``;function ji(e,t){Si[Ci++]=Ti,Si[Ci++]=wi,wi=e,Ti=t}function Mi(e,t,n){Ei[Di++]=ki,Ei[Di++]=Ai,Ei[Di++]=Oi,Oi=e;var r=ki;e=Ai;var i=32-He(r)-1;r&=~(1<<i),n+=1;var a=32-He(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ki=1<<32-He(t)+i|n<<i|r,Ai=a+e}else ki=1<<a|n<<i|r,Ai=e}function Ni(e){e.return!==null&&(ji(e,1),Mi(e,1,0))}function Pi(e){for(;e===wi;)wi=Si[--Ci],Si[Ci]=null,Ti=Si[--Ci],Si[Ci]=null;for(;e===Oi;)Oi=Ei[--Di],Ei[Di]=null,Ai=Ei[--Di],Ei[Di]=null,ki=Ei[--Di],Ei[Di]=null}function Fi(e,t){Ei[Di++]=ki,Ei[Di++]=Ai,Ei[Di++]=Oi,ki=t.id,Ai=t.overflow,Oi=e}var Ii=null,I=null,L=!1,Li=null,Ri=!1,zi=Error(i(519));function Bi(e){throw Ki(xi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),zi}function Vi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[P]=e,t[dt]=r,n){case`dialog`:Z(`cancel`,t),Z(`close`,t);break;case`iframe`:case`object`:case`embed`:Z(`load`,t);break;case`video`:case`audio`:for(n=0;n<vd.length;n++)Z(vd[n],t);break;case`source`:Z(`error`,t);break;case`img`:case`image`:case`link`:Z(`error`,t),Z(`load`,t);break;case`details`:Z(`toggle`,t);break;case`input`:Z(`invalid`,t),Ut(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Z(`invalid`,t);break;case`textarea`:Z(`invalid`,t),qt(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||Nd(t.textContent,n)?(r.popover!=null&&(Z(`beforetoggle`,t),Z(`toggle`,t)),r.onScroll!=null&&Z(`scroll`,t),r.onScrollEnd!=null&&Z(`scrollend`,t),r.onClick!=null&&(t.onclick=nn),t=!0):t=!1,t||Bi(e,!0)}function Hi(e){for(Ii=e.return;Ii;)switch(Ii.tag){case 5:case 31:case 13:Ri=!1;return;case 27:case 3:Ri=!0;return;default:Ii=Ii.return}}function Ui(e){if(e!==Ii)return!1;if(!L)return Hi(e),L=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Wd(e.type,e.memoizedProps)),n=!n),n&&I&&Bi(e),Hi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));I=df(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));I=df(e)}else t===27?(t=I,Qd(e.type)?(e=uf,uf=null,I=e):I=t):I=Ii?lf(e.stateNode.nextSibling):null;return!0}function Wi(){I=Ii=null,L=!1}function Gi(){var e=Li;return e!==null&&(tu===null?tu=e:tu.push.apply(tu,e),Li=null),e}function Ki(e){Li===null?Li=[e]:Li.push(e)}var qi=le(null),Ji=null,Yi=null;function Xi(e,t,n){M(qi,t._currentValue),t._currentValue=n}function Zi(e){e._currentValue=qi.current,ue(qi)}function Qi(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 $i(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),Qi(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),Qi(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 ea(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;Tr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===me.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[$f]:e.push($f))}a=a.return}e!==null&&$i(t,e,n,r),t.flags|=262144}function ta(e){for(e=e.firstContext;e!==null;){if(!Tr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function na(e){Ji=e,Yi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ra(e){return aa(Ji,e)}function ia(e,t){return Ji===null&&na(e),aa(e,t)}function aa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Yi===null){if(e===null)throw Error(i(308));Yi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Yi=Yi.next=t;return n}var oa=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()})}},sa=t.unstable_scheduleCallback,ca=t.unstable_NormalPriority,la={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ua(){return{controller:new oa,data:new Map,refCount:0}}function da(e){e.refCount--,e.refCount===0&&sa(ca,function(){e.controller.abort()})}var fa=null,pa=0,ma=0,ha=null;function ga(e,t){if(fa===null){var n=fa=[];pa=0,ma=md(),ha={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return pa++,t.then(_a,_a),t}function _a(){if(--pa===0&&fa!==null){ha!==null&&(ha.status=`fulfilled`);var e=fa;fa=null,ma=0,ha=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function va(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 ya=A.S;A.S=function(e,t){iu=je(),typeof t==`object`&&t&&typeof t.then==`function`&&ga(e,t),ya!==null&&ya(e,t)};var ba=le(null);function xa(){var e=ba.current;return e===null?U.pooledCache:e}function Sa(e,t){t===null?M(ba,ba.current):M(ba,t.pool)}function Ca(){var e=xa();return e===null?null:{parent:la._currentValue,pool:e}}var wa=Error(i(460)),Ta=Error(i(474)),Ea=Error(i(542)),Da={then:function(){}};function Oa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ka(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(nn,nn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Na(e),e;default:if(typeof t.status==`string`)t.then(nn,nn);else{if(e=U,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,Na(e),e}throw ja=t,wa}}function Aa(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(ja=e,wa):e}}var ja=null;function Ma(){if(ja===null)throw Error(i(459));var e=ja;return ja=null,e}function Na(e){if(e===wa||e===Ea)throw Error(i(483))}var Pa=null,Fa=0;function Ia(e){var t=Fa;return Fa+=1,Pa===null&&(Pa=[]),ka(Pa,e,t)}function La(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ra(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 za(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=pi(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=_i(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&&Aa(i)===t.type)?(t=a(t,n.props),La(t,n),t.return=e,t):(t=hi(n.type,n.key,n.props,null,e.mode,r),La(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=yi(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=gi(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=_i(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=hi(t.type,t.key,t.props,null,e.mode,n),La(n,t),n.return=e,n;case v:return t=yi(t,e.mode,n),t.return=e,t;case O:return t=Aa(t),f(e,t,n)}if(ae(t)||ne(t))return t=gi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ia(t),n);if(t.$$typeof===C)return f(e,ia(e,t),n);Ra(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=Aa(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,Ia(n),r);if(n.$$typeof===C)return p(e,t,ia(e,n),r);Ra(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=Aa(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,Ia(r),i);if(r.$$typeof===C)return m(e,t,n,ia(t,r),i);Ra(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),L&&ji(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 L&&ji(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)}),L&&ji(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),L&&ji(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 L&&ji(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)}),L&&ji(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&&Aa(l)===r.type){n(e,r.sibling),c=a(r,o.props),La(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=gi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=hi(o.type,o.key,o.props,null,e.mode,c),La(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=yi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=Aa(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,Ia(o),c);if(o.$$typeof===C)return b(e,r,ia(e,o),c);Ra(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=_i(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Fa=0;var i=b(e,t,n,r);return Pa=null,i}catch(t){if(t===wa||t===Ea)throw t;var a=di(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ba=za(!0),Va=za(!1),Ha=!1;function Ua(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wa(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 Ga(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ka(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ci(e),si(e,null,n),t}return ii(e,r,t,n),ci(e)}function qa(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,it(e,n)}}function Ja(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 Ya=!1;function Xa(){if(Ya){var e=ha;if(e!==null)throw e}}function Za(e,t,n,r){Ya=!1;var i=e.updateQueue;Ha=!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?(G&p)===p:(r&p)===p){p!==0&&p===ma&&(Ya=!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:Ha=!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),Yl|=o,e.lanes=o,e.memoizedState=d}}function Qa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function $a(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Qa(n[e],t)}var eo=le(null),to=le(0);function no(e,t){e=ql,M(to,e),M(eo,t),ql=e|t.baseLanes}function ro(){M(to,ql),M(eo,eo.current)}function io(){ql=to.current,ue(eo),ue(to)}var ao=le(null),oo=null;function so(e){var t=e.alternate;M(po,po.current&1),M(ao,e),oo===null&&(t===null||eo.current!==null||t.memoizedState!==null)&&(oo=e)}function co(e){M(po,po.current),M(ao,e),oo===null&&(oo=e)}function lo(e){e.tag===22?(M(po,po.current),M(ao,e),oo===null&&(oo=e)):uo(e)}function uo(){M(po,po.current),M(ao,ao.current)}function fo(e){ue(ao),oo===e&&(oo=null),ue(po)}var po=le(0);function mo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||of(n)||sf(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 ho=0,R=null,z=null,go=null,_o=!1,vo=!1,yo=!1,bo=0,xo=0,So=null,Co=0;function wo(){throw Error(i(321))}function To(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Tr(e[n],t[n]))return!1;return!0}function Eo(e,t,n,r,i,a){return ho=a,R=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A.H=e===null||e.memoizedState===null?Us:Ws,yo=!1,a=n(r,i),yo=!1,vo&&(a=Oo(t,n,r,i)),Do(e),a}function Do(e){A.H=Hs;var t=z!==null&&z.next!==null;if(ho=0,go=z=R=null,_o=!1,xo=0,So=null,t)throw Error(i(300));e===null||sc||(e=e.dependencies,e!==null&&ta(e)&&(sc=!0))}function Oo(e,t,n,r){R=e;var a=0;do{if(vo&&(So=null),xo=0,vo=!1,25<=a)throw Error(i(301));if(a+=1,go=z=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=Gs,o=t(n,r)}while(vo);return o}function ko(){var e=A.H,t=e.useState()[0];return t=typeof t.then==`function`?Io(t):t,e=e.useState()[0],(z===null?null:z.memoizedState)!==e&&(R.flags|=1024),t}function Ao(){var e=bo!==0;return bo=0,e}function jo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Mo(e){if(_o){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}_o=!1}ho=0,go=z=R=null,vo=!1,xo=bo=0,So=null}function No(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return go===null?R.memoizedState=go=e:go=go.next=e,go}function Po(){if(z===null){var e=R.alternate;e=e===null?null:e.memoizedState}else e=z.next;var t=go===null?R.memoizedState:go.next;if(t!==null)go=t,z=e;else{if(e===null)throw R.alternate===null?Error(i(467)):Error(i(310));z=e,e={memoizedState:z.memoizedState,baseState:z.baseState,baseQueue:z.baseQueue,queue:z.queue,next:null},go===null?R.memoizedState=go=e:go=go.next=e}return go}function Fo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Io(e){var t=xo;return xo+=1,So===null&&(So=[]),e=ka(So,e,t),t=R,(go===null?t.memoizedState:go.next)===null&&(t=t.alternate,A.H=t===null||t.memoizedState===null?Us:Ws),e}function Lo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Io(e);if(e.$$typeof===C)return ra(e)}throw Error(i(438,String(e)))}function Ro(e){var t=null,n=R.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=R.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=Fo(),R.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]=ee;return t.index++,n}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){return Vo(Po(),z,e)}function Vo(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?(ho&f)===f:(G&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===ma&&(d=!0);else if((ho&p)===p){u=u.next,p===ma&&(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,R.lanes|=p,Yl|=p;f=u.action,yo&&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,R.lanes|=f,Yl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Tr(o,e.memoizedState)&&(sc=!0,d&&(n=ha,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 Ho(e){var t=Po(),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);Tr(o,t.memoizedState)||(sc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Uo(e,t,n){var r=R,a=Po(),o=L;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Tr((z||a).memoizedState,n);if(s&&(a.memoizedState=n,sc=!0),a=a.queue,ms(Ko.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||go!==null&&go.memoizedState.tag&1){if(r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,a,n,t),null),U===null)throw Error(i(349));o||ho&127||Wo(r,t,n)}return n}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=R.updateQueue,t===null?(t=Fo(),R.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,qo(t)&&Jo(e)}function Ko(e,t,n){return n(function(){qo(t)&&Jo(e)})}function qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Tr(e,n)}catch{return!0}}function Jo(e){var t=oi(e,2);t!==null&&yu(t,e,2)}function Yo(e){var t=No();if(typeof e==`function`){var n=e;if(e=n(),yo){Ve(!0);try{n()}finally{Ve(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t}function Xo(e,t,n,r){return e.baseState=n,Vo(e,z,typeof r==`function`?r:zo)}function Zo(e,t,n,r,a){if(zs(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,Qo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Qo(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),$o(e,t,s)}catch(n){ts(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),A.T=a}}else try{a=n(i,r),$o(e,t,a)}catch(n){ts(e,t,n)}}function $o(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){es(e,t,n)},function(n){return ts(e,t,n)}):es(e,t,n)}function es(e,t,n){t.status=`fulfilled`,t.value=n,ns(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Qo(e,n)))}function ts(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ns(t),t=t.next;while(t!==r)}e.action=null}function ns(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rs(e,t){return t}function is(e,t){if(L){var n=U.formState;if(n!==null){a:{var r=R;if(L){if(I){b:{for(var i=I,a=Ri;i.nodeType!==8;){if(!a){i=null;break b}if(i=lf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){I=lf(i.nextSibling),r=i.data===`F!`;break a}}Bi(r)}r=!1}r&&(t=n[0])}}return n=No(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:t},n.queue=r,n=Is.bind(null,R,r),r.dispatch=n,r=Yo(!1),a=Rs.bind(null,R,!1,r.queue),r=No(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Zo.bind(null,R,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function as(e){return os(Po(),z,e)}function os(e,t,n){if(t=Vo(e,t,rs)[0],e=Bo(zo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Io(t)}catch(e){throw e===wa?Ea:e}else r=t;t=Po();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(R.flags|=2048,ls(9,{destroy:void 0},ss.bind(null,i,n),null)),[r,a,e]}function ss(e,t){e.action=t}function cs(e){var t=Po(),n=z;if(n!==null)return os(t,n,e);Po(),t=t.memoizedState,n=Po();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ls(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=R.updateQueue,t===null&&(t=Fo(),R.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 us(){return Po().memoizedState}function ds(e,t,n,r){var i=No();R.flags|=e,i.memoizedState=ls(1|t,{destroy:void 0},n,r===void 0?null:r)}function fs(e,t,n,r){var i=Po();r=r===void 0?null:r;var a=i.memoizedState.inst;z!==null&&r!==null&&To(r,z.memoizedState.deps)?i.memoizedState=ls(t,a,n,r):(R.flags|=e,i.memoizedState=ls(1|t,a,n,r))}function ps(e,t){ds(8390656,8,e,t)}function ms(e,t){fs(2048,8,e,t)}function hs(e){R.flags|=4;var t=R.updateQueue;if(t===null)t=Fo(),R.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function gs(e){var t=Po().memoizedState;return hs({ref:t,nextImpl:e}),function(){if(H&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function _s(e,t){return fs(4,2,e,t)}function vs(e,t){return fs(4,4,e,t)}function ys(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 bs(e,t,n){n=n==null?null:n.concat([e]),fs(4,4,ys.bind(null,t,e),n)}function xs(){}function Ss(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&To(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cs(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&To(t,r[1]))return r[0];if(r=e(),yo){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[r,t],r}function ws(e,t,n){return n===void 0||ho&1073741824&&!(G&261930)?e.memoizedState=t:(e.memoizedState=n,e=vu(),R.lanes|=e,Yl|=e,n)}function Ts(e,t,n,r){return Tr(n,t)?n:eo.current===null?!(ho&42)||ho&1073741824&&!(G&261930)?(sc=!0,e.memoizedState=n):(e=vu(),R.lanes|=e,Yl|=e,t):(e=ws(e,n,r),Tr(e,t)||(sc=!0),e)}function Es(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,Rs(e,!1,t,n);try{var c=i(),l=A.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ls(e,t,va(c,r),_u(e)):Ls(e,t,r,_u(e))}catch(n){Ls(e,t,{then:function(){},status:`rejected`,reason:n},_u())}finally{j.p=a,o!==null&&s.types!==null&&(o.types=s.types),A.T=o}}function Ds(){}function Os(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ks(e).queue;Es(e,a,t,oe,n===null?Ds:function(){return As(e),n(r)})}function ks(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:zo,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function As(e){var t=ks(e);t.next===null&&(t=e.alternate.memoizedState),Ls(e,t.next.queue,{},_u())}function js(){return ra($f)}function Ms(){return Po().memoizedState}function Ns(){return Po().memoizedState}function Ps(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=_u();e=Ga(n);var r=Ka(t,e,n);r!==null&&(yu(r,t,n),qa(r,t,n)),t={cache:ua()},e.payload=t;return}t=t.return}}function Fs(e,t,n){var r=_u();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},zs(e)?Bs(t,n):(n=ai(e,t,n,r),n!==null&&(yu(n,e,r),Vs(n,t,r)))}function Is(e,t,n){Ls(e,t,n,_u())}function Ls(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(zs(e))Bs(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,Tr(s,o))return ii(e,t,i,0),U===null&&ri(),!1}catch{}if(n=ai(e,t,i,r),n!==null)return yu(n,e,r),Vs(n,t,r),!0}return!1}function Rs(e,t,n,r){if(r={lane:2,revertLane:md(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},zs(e)){if(t)throw Error(i(479))}else t=ai(e,n,r,2),t!==null&&yu(t,e,2)}function zs(e){var t=e.alternate;return e===R||t!==null&&t===R}function Bs(e,t){vo=_o=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,it(e,n)}}var Hs={readContext:ra,use:Lo,useCallback:wo,useContext:wo,useEffect:wo,useImperativeHandle:wo,useLayoutEffect:wo,useInsertionEffect:wo,useMemo:wo,useReducer:wo,useRef:wo,useState:wo,useDebugValue:wo,useDeferredValue:wo,useTransition:wo,useSyncExternalStore:wo,useId:wo,useHostTransitionStatus:wo,useFormState:wo,useActionState:wo,useOptimistic:wo,useMemoCache:wo,useCacheRefresh:wo};Hs.useEffectEvent=wo;var Us={readContext:ra,use:Lo,useCallback:function(e,t){return No().memoizedState=[e,t===void 0?null:t],e},useContext:ra,useEffect:ps,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ds(4194308,4,ys.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ds(4194308,4,e,t)},useInsertionEffect:function(e,t){ds(4,2,e,t)},useMemo:function(e,t){var n=No();t=t===void 0?null:t;var r=e();if(yo){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=No();if(n!==void 0){var i=n(t);if(yo){Ve(!0);try{n(t)}finally{Ve(!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=Fs.bind(null,R,e),[r.memoizedState,e]},useRef:function(e){var t=No();return e={current:e},t.memoizedState=e},useState:function(e){e=Yo(e);var t=e.queue,n=Is.bind(null,R,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xs,useDeferredValue:function(e,t){return ws(No(),e,t)},useTransition:function(){var e=Yo(!1);return e=Es.bind(null,R,e.queue,!0,!1),No().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=R,a=No();if(L){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),U===null)throw Error(i(349));G&127||Wo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ps(Ko.bind(null,r,o,e),[e]),r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,o,n,t),null),n},useId:function(){var e=No(),t=U.identifierPrefix;if(L){var n=Ai,r=ki;n=(r&~(1<<32-He(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=bo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Co++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:js,useFormState:is,useActionState:is,useOptimistic:function(e){var t=No();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Rs.bind(null,R,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ro,useCacheRefresh:function(){return No().memoizedState=Ps.bind(null,R)},useEffectEvent:function(e){var t=No(),n={impl:e};return t.memoizedState=n,function(){if(H&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Ws={readContext:ra,use:Lo,useCallback:Ss,useContext:ra,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Bo,useRef:us,useState:function(){return Bo(zo)},useDebugValue:xs,useDeferredValue:function(e,t){return Ts(Po(),z.memoizedState,e,t)},useTransition:function(){var e=Bo(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:as,useActionState:as,useOptimistic:function(e,t){return Xo(Po(),z,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Ws.useEffectEvent=gs;var Gs={readContext:ra,use:Lo,useCallback:Ss,useContext:ra,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Ho,useRef:us,useState:function(){return Ho(zo)},useDebugValue:xs,useDeferredValue:function(e,t){var n=Po();return z===null?ws(n,e,t):Ts(n,z.memoizedState,e,t)},useTransition:function(){var e=Ho(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:cs,useActionState:cs,useOptimistic:function(e,t){var n=Po();return z===null?(n.baseState=e,[e,n.queue.dispatch]):Xo(n,z,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Gs.useEffectEvent=gs;function Ks(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 qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_u(),i=Ga(r);i.payload=t,n!=null&&(i.callback=n),t=Ka(e,i,r),t!==null&&(yu(t,e,r),qa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_u(),i=Ga(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ka(e,i,r),t!==null&&(yu(t,e,r),qa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_u(),r=Ga(n);r.tag=2,t!=null&&(r.callback=t),t=Ka(e,r,n),t!==null&&(yu(t,e,n),qa(t,e,n))}};function Js(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?!Er(n,r)||!Er(i,a):!0}function Ys(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&&qs.enqueueReplaceState(t,t.state,null)}function Xs(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 Zs(e){$r(e)}function Qs(e){console.error(e)}function $s(e){$r(e)}function ec(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function tc(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 nc(e,t,n){return n=Ga(n),n.tag=3,n.payload={element:null},n.callback=function(){ec(e,t)},n}function rc(e){return e=Ga(e),e.tag=3,e}function ic(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(){tc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){tc(t,n,r),typeof i!=`function`&&(su===null?su=new Set([this]):su.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function ac(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ea(t,n,a,!0),n=ao.current,n!==null){switch(n.tag){case 31:case 13:return oo===null?ju():n.alternate===null&&Jl===0&&(Jl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Da?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Yu(e,r,a)),!1;case 22:return n.flags|=65536,r===Da?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)),Yu(e,r,a)),!1}throw Error(i(435,n.tag))}return Yu(e,r,a),ju(),!1}if(L)return t=ao.current,t===null?(r!==zi&&(t=Error(i(423),{cause:r}),Ki(xi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=xi(r,n),a=nc(e.stateNode,r,a),Ja(e,a),Jl!==4&&(Jl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==zi&&(e=Error(i(422),{cause:r}),Ki(xi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=xi(o,n),eu===null?eu=[o]:eu.push(o),Jl!==4&&(Jl=2),t===null)return!0;r=xi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=nc(n.stateNode,r,e),Ja(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`&&(su===null||!su.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=rc(a),ic(a,e,n,r),Ja(n,a),!1}n=n.return}while(n!==null);return!1}var oc=Error(i(461)),sc=!1;function cc(e,t,n,r){t.child=e===null?Va(t,null,n,r):Ba(t,e.child,n,r)}function lc(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 na(t),r=Eo(e,t,n,o,a,i),s=Ao(),e!==null&&!sc?(jo(e,t,i),Mc(e,t,i)):(L&&s&&Ni(t),t.flags|=1,cc(e,t,r,i),t.child)}function uc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!fi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,dc(e,t,a,r,i)):(e=hi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Nc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Er:n,n(o,r)&&e.ref===t.ref)return Mc(e,t,i)}return t.flags|=1,e=pi(a,r),e.ref=t.ref,e.return=t,t.child=e}function dc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Er(a,r)&&e.ref===t.ref)if(sc=!1,t.pendingProps=r=a,Nc(e,i))e.flags&131072&&(sc=!0);else return t.lanes=e.lanes,Mc(e,t,i)}return yc(e,t,n,r,i)}function fc(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 mc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Sa(t,a===null?null:a.cachePool),a===null?ro():no(t,a),lo(t);else return r=t.lanes=536870912,mc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Sa(t,null),ro(),uo(t)):(Sa(t,a.cachePool),no(t,a),uo(t),t.memoizedState=null);return cc(e,t,i,n),t.child}function pc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function mc(e,t,n,r,i){var a=xa();return a=a===null?null:{parent:la._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Sa(t,null),ro(),lo(t),e!==null&&ea(e,t,r,!0),t.childLanes=i,null}function hc(e,t){return t=Dc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function gc(e,t,n){return Ba(t,e.child,null,n),e=hc(t,t.pendingProps),e.flags|=2,fo(t),t.memoizedState=null,e}function _c(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(L){if(r.mode===`hidden`)return e=hc(t,r),t.lanes=536870912,pc(null,e);if(co(t),(e=I)?(e=af(e,Ri),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Oi===null?null:{id:ki,overflow:Ai},retryLane:536870912,hydrationErrors:null},n=vi(e),n.return=t,t.child=n,Ii=t,I=null)):e=null,e===null)throw Bi(t);return t.lanes=536870912,null}return hc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(co(t),a)if(t.flags&256)t.flags&=-257,t=gc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(sc||ea(e,t,n,!1),a=(n&e.childLanes)!==0,sc||a){if(r=U,r!==null&&(s=at(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,oi(e,s),yu(r,e,s),oc;ju(),t=gc(e,t,n)}else e=o.treeContext,I=lf(s.nextSibling),Ii=t,L=!0,Li=null,Ri=!1,e!==null&&Fi(t,e),t=hc(t,r),t.flags|=4096;return t}return e=pi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vc(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 yc(e,t,n,r,i){return na(t),n=Eo(e,t,n,r,void 0,i),r=Ao(),e!==null&&!sc?(jo(e,t,i),Mc(e,t,i)):(L&&r&&Ni(t),t.flags|=1,cc(e,t,n,i),t.child)}function bc(e,t,n,r,i,a){return na(t),t.updateQueue=null,n=Oo(t,r,n,i),Do(e),r=Ao(),e!==null&&!sc?(jo(e,t,a),Mc(e,t,a)):(L&&r&&Ni(t),t.flags|=1,cc(e,t,n,a),t.child)}function xc(e,t,n,r,i){if(na(t),t.stateNode===null){var a=li,o=n.contextType;typeof o==`object`&&o&&(a=ra(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=qs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ua(t),o=n.contextType,a.context=typeof o==`object`&&o?ra(o):li,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ks(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&&qs.enqueueReplaceState(a,a.state,null),Za(t,r,a,i),Xa(),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=Xs(n,s);a.props=c;var l=a.context,u=n.contextType;o=li,typeof u==`object`&&u&&(o=ra(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)&&Ys(t,a,r,o),Ha=!1;var f=t.memoizedState;a.state=f,Za(t,r,a,i),Xa(),l=t.memoizedState,s||f!==l||Ha?(typeof d==`function`&&(Ks(t,n,d,r),l=t.memoizedState),(c=Ha||Js(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,Wa(e,t),o=t.memoizedProps,u=Xs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=li,typeof l==`object`&&l&&(c=ra(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)&&Ys(t,a,r,c),Ha=!1,f=t.memoizedState,a.state=f,Za(t,r,a,i),Xa();var p=t.memoizedState;o!==d||f!==p||Ha||e!==null&&e.dependencies!==null&&ta(e.dependencies)?(typeof s==`function`&&(Ks(t,n,s,r),p=t.memoizedState),(u=Ha||Js(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ta(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,vc(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=Ba(t,e.child,null,i),t.child=Ba(t,null,n,i)):cc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Mc(e,t,i),e}function Sc(e,t,n,r){return Wi(),t.flags|=256,cc(e,t,n,r),t.child}var Cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wc(e){return{baseLanes:e,cachePool:Ca()}}function Tc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Ql),e}function Ec(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:(po.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(L){if(a?so(t):uo(t),(e=I)?(e=af(e,Ri),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Oi===null?null:{id:ki,overflow:Ai},retryLane:536870912,hydrationErrors:null},n=vi(e),n.return=t,t.child=n,Ii=t,I=null)):e=null,e===null)throw Bi(t);return sf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(uo(t),a=t.mode,c=Dc({mode:`hidden`,children:c},a),r=gi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(null,r)):(so(t),B(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(so(t),t.flags&=-257,t=Oc(e,t,n)):t.memoizedState===null?(uo(t),c=r.fallback,a=t.mode,r=Dc({mode:`visible`,children:r.children},a),c=gi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Ba(t,e.child,null,n),r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,t=pc(null,r)):(uo(t),t.child=e.child,t.flags|=128,t=null);else if(so(t),sf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Ki({value:r,source:null,stack:null}),t=Oc(e,t,n)}else if(sc||ea(e,t,n,!1),s=(n&e.childLanes)!==0,sc||s){if(s=U,s!==null&&(r=at(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,oi(e,r),yu(s,e,r),oc;of(c)||ju(),t=Oc(e,t,n)}else of(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,I=lf(c.nextSibling),Ii=t,L=!0,Li=null,Ri=!1,e!==null&&Fi(t,e),t=B(t,r.children),t.flags|=4096);return t}return a?(uo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=pi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=gi(c,a,n,null),c.flags|=2):c=pi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,pc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=wc(n):(a=c.cachePool,a===null?a=Ca():(l=la._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(e.child,r)):(so(t),n=e.child,e=n.sibling,n=pi(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 B(e,t){return t=Dc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Dc(e,t){return e=di(22,e,null,t),e.lanes=0,e}function Oc(e,t,n){return Ba(t,e.child,null,n),e=B(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function kc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Qi(e.return,t,n)}function Ac(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 jc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=po.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,M(po,o),cc(e,t,r,n),r=L?Ti:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kc(e,n,t);else if(e.tag===19)kc(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&&mo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ac(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&&mo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ac(t,!0,n,null,a,r);break;case`together`:Ac(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Mc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ea(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=pi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Nc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ta(e))):!0}function Pc(e,t,n){switch(t.tag){case 3:he(t,t.stateNode.containerInfo),Xi(t,la,e.memoizedState.cache),Wi();break;case 27:case 5:_e(t);break;case 4:he(t,t.stateNode.containerInfo);break;case 10:Xi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,co(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(so(t),e=Mc(e,t,n),e===null?null:e.sibling):Ec(e,t,n):(so(t),t.flags|=128,null);so(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(ea(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return jc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),M(po,po.current),r)break;return null;case 22:return t.lanes=0,fc(e,t,n,t.pendingProps);case 24:Xi(t,la,e.memoizedState.cache)}return Mc(e,t,n)}function Fc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)sc=!0;else{if(!Nc(e,n)&&!(t.flags&128))return sc=!1,Pc(e,t,n);sc=!!(e.flags&131072)}else sc=!1,L&&t.flags&1048576&&Mi(t,Ti,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Aa(t.elementType),t.type=e,typeof e==`function`)fi(e)?(r=Xs(e,r),t.tag=1,t=xc(null,t,e,r,n)):(t.tag=0,t=yc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=lc(null,t,e,r,n);break a}else if(a===D){t.tag=14,t=uc(null,t,e,r,n);break a}}throw t=ie(e)||e,Error(i(306,t,``))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Xs(r,t.pendingProps),xc(e,t,r,a,n);case 3:a:{if(he(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Wa(e,t),Za(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Xi(t,la,r),r!==o.cache&&$i(t,[la],n,!0),Xa(),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=Sc(e,t,r,n);break a}else if(r!==a){a=xi(Error(i(424)),t),Ki(a),t=Sc(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(I=lf(e.firstChild),Ii=t,L=!0,Li=null,Ri=!0,n=Va(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Wi(),r===a){t=Mc(e,t,n);break a}cc(e,t,r,n)}t=t.child}return t;case 26:return vc(e,t),e===null?(n=Af(t.type,null,t.pendingProps,null))?t.memoizedState=n:L||(n=t.type,e=t.pendingProps,r=Vd(pe.current).createElement(n),r[P]=t,r[dt]=e,Fd(r,n,e),Ct(r),t.stateNode=r):t.memoizedState=Af(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return _e(t),e===null&&L&&(r=t.stateNode=pf(t.type,t.pendingProps,pe.current),Ii=t,Ri=!0,a=I,Qd(t.type)?(uf=a,I=lf(r.firstChild)):I=a),cc(e,t,t.pendingProps.children,n),vc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&L&&((a=r=I)&&(r=nf(r,t.type,t.pendingProps,Ri),r===null?a=!1:(t.stateNode=r,Ii=t,I=lf(r.firstChild),Ri=!1,a=!0)),a||Bi(t)),_e(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Wd(a,o)?r=null:s!==null&&Wd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Eo(e,t,ko,null,null,n),$f._currentValue=a),vc(e,t),cc(e,t,r,n),t.child;case 6:return e===null&&L&&((e=n=I)&&(n=rf(n,t.pendingProps,Ri),n===null?e=!1:(t.stateNode=n,Ii=t,I=null,e=!0)),e||Bi(t)),null;case 13:return Ec(e,t,n);case 4:return he(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ba(t,null,r,n):cc(e,t,r,n),t.child;case 11:return lc(e,t,t.type,t.pendingProps,n);case 7:return cc(e,t,t.pendingProps,n),t.child;case 8:return cc(e,t,t.pendingProps.children,n),t.child;case 12:return cc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Xi(t,t.type,r.value),cc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,na(t),a=ra(a),r=r(a),t.flags|=1,cc(e,t,r,n),t.child;case 14:return uc(e,t,t.type,t.pendingProps,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 19:return jc(e,t,n);case 31:return _c(e,t,n);case 22:return fc(e,t,n,t.pendingProps);case 24:return na(t),r=ra(la),e===null?(a=xa(),a===null&&(a=U,o=ua(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ua(t),Xi(t,la,a)):((e.lanes&n)!==0&&(Wa(e,t),Za(t,null,null,n),Xa()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Xi(t,la,r),r!==a.cache&&$i(t,[la],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Xi(t,la,r))),cc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Ic(e){e.flags|=4}function Lc(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(Ou())e.flags|=8192;else throw ja=Da,Ta}else e.flags&=-16777217}function Rc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Gf(t))if(Ou())e.flags|=8192;else throw ja=Da,Ta}function zc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:$e(),e.lanes|=t,$l|=t)}function Bc(e,t){if(!L)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 V(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(Pi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return V(t),null;case 1:return V(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Zi(la),ge(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ui(t)?Ic(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Gi())),V(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Ic(t),o===null?(V(t),Lc(t,a,null,r,n)):(V(t),Rc(t,o))):o?o===e.memoizedState?(V(t),t.flags&=-16777217):(Ic(t),V(t),Rc(t,o)):(e=e.memoizedProps,e!==r&&Ic(t),V(t),Lc(t,a,e,r,n)),null;case 27:if(ve(t),n=pe.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ic(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return V(t),null}e=de.current,Ui(t)?Vi(t,e):(e=pf(a,r,n),t.stateNode=e,Ic(t))}return V(t),null;case 5:if(ve(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ic(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return V(t),null}if(o=de.current,Ui(t))Vi(t,o);else{var s=Vd(pe.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[P]=t,o[dt]=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(Fd(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&&Ic(t)}}return V(t),Lc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ic(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=pe.current,Ui(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ii,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[P]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Nd(e.nodeValue,n)),e||Bi(t,!0)}else e=Vd(e).createTextNode(r),e[P]=t,t.stateNode=e}return V(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ui(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[P]=t}else Wi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;V(t),e=!1}else n=Gi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(fo(t),t):(fo(t),null);if(t.flags&128)throw Error(i(558))}return V(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ui(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[P]=t}else Wi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;V(t),a=!1}else a=Gi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(fo(t),t):(fo(t),null)}return fo(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),zc(t,t.updateQueue),V(t),null);case 4:return ge(),e===null&&Cd(t.stateNode.containerInfo),V(t),null;case 10:return Zi(t.type),V(t),null;case 19:if(ue(po),r=t.memoizedState,r===null)return V(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Bc(r,!1);else{if(Jl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=mo(e),o!==null){for(t.flags|=128,Bc(r,!1),e=o.updateQueue,t.updateQueue=e,zc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)mi(n,e),n=n.sibling;return M(po,po.current&1|2),L&&ji(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&je()>au&&(t.flags|=128,a=!0,Bc(r,!1),t.lanes=4194304)}else{if(!a)if(e=mo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,zc(t,e),Bc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!L)return V(t),null}else 2*je()-r.renderingStartTime>au&&n!==536870912&&(t.flags|=128,a=!0,Bc(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?(V(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=je(),e.sibling=null,n=po.current,M(po,a?n&1|2:n&1),L&&ji(t,r.treeForkCount),e);case 22:case 23:return fo(t),io(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(V(t),t.subtreeFlags&6&&(t.flags|=8192)):V(t),n=t.updateQueue,n!==null&&zc(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&&ue(ba),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Zi(la),V(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Hc(e,t){switch(Pi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zi(la),ge(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ve(t),null;case 31:if(t.memoizedState!==null){if(fo(t),t.alternate===null)throw Error(i(340));Wi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(fo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Wi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(po),null;case 4:return ge(),null;case 10:return Zi(t.type),null;case 22:case 23:return fo(t),io(),e!==null&&ue(ba),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Zi(la),null;case 25:return null;default:return null}}function Uc(e,t){switch(Pi(t),t.tag){case 3:Zi(la),ge();break;case 26:case 27:case 5:ve(t);break;case 4:ge();break;case 31:t.memoizedState!==null&&fo(t);break;case 13:fo(t);break;case 19:ue(po);break;case 10:Zi(t.type);break;case 22:case 23:fo(t),io(),e!==null&&ue(ba);break;case 24:Zi(la)}}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){q(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){q(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){q(t,t.return,e)}}function Kc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{$a(t,n)}catch(t){q(e,e.return,t)}}}function qc(e,t,n){n.props=Xs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){q(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){q(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){q(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){q(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){q(e,e.return,t)}}function Zc(e,t,n){try{var r=e.stateNode;Id(r,e.type,n,t),r[dt]=t}catch(t){q(e,e.return,t)}}function Qc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(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&&Qd(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=nn));else if(r!==4&&(r===27&&Qd(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&&Qd(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]);Fd(t,r,n),t[P]=e,t[dt]=n}catch(t){q(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,zd=cp,e=Ar(e),jr(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(Bd={focusedElem:e,selectionRange:n},cp=!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=Xs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){q(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)tf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:tf(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:wl(e,n),r&4&&Wc(5,n);break;case 1:if(wl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){q(n,n.return,e)}else{var i=Xs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){q(n,n.return,e)}}r&64&&Kc(n),r&512&&Jc(n,n.return);break;case 3:if(wl(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{$a(e,t)}catch(e){q(n,n.return,e)}}break;case 27:t===null&&r&4&&nl(n);case 26:case 5:wl(e,n),t===null&&r&4&&Xc(n),r&512&&Jc(n,n.return);break;case 12:wl(e,n);break;case 31:wl(e,n),r&4&&hl(e,n);break;case 13:wl(e,n),r&4&&gl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Qu.bind(null,n),cf(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?El(e,n,(n.subtreeFlags&8772)!=0):wl(e,n),rl=i,il=a}break;case 30:break;default:wl(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&&vt(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 dl=null,fl=!1;function pl(e,t,n){for(n=n.child;n!==null;)ml(e,t,n),n=n.sibling}function ml(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount==`function`)try{Be.onCommitFiberUnmount(ze,n)}catch{}switch(n.tag){case 26:il||Yc(n,t),pl(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=dl,i=fl;Qd(n.type)&&(dl=n.stateNode,fl=!1),pl(e,t,n),mf(n.stateNode),dl=r,fl=i;break;case 5:il||Yc(n,t);case 6:if(r=dl,i=fl,dl=null,pl(e,t,n),dl=r,fl=i,dl!==null)if(fl)try{(dl.nodeType===9?dl.body:dl.nodeName===`HTML`?dl.ownerDocument.body:dl).removeChild(n.stateNode)}catch(e){q(n,t,e)}else try{dl.removeChild(n.stateNode)}catch(e){q(n,t,e)}break;case 18:dl!==null&&(fl?(e=dl,$d(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Pp(e)):$d(dl,n.stateNode));break;case 4:r=dl,i=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=i;break;case 0:case 11:case 14:case 15:Gc(2,n,t),il||Gc(4,n,t),pl(e,t,n);break;case 1:il||(Yc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&qc(n,t,r)),pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:il=(r=il)||n.memoizedState!==null,pl(e,t,n),il=r;break;default:pl(e,t,n)}}function hl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Pp(e)}catch(e){q(t,t.return,e)}}}function gl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Pp(e)}catch(e){q(t,t.return,e)}}function _l(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 vl(e,t){var n=_l(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=$u.bind(null,e,t);t.then(r,r)}})}function yl(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(Qd(c.type)){dl=c.stateNode,fl=!1;break a}break;case 5:dl=c.stateNode,fl=!1;break a;case 3:case 4:dl=c.stateNode.containerInfo,fl=!0;break a}c=c.return}if(dl===null)throw Error(i(160));ml(o,s,a),dl=null,fl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)xl(t,e),t=t.sibling}var bl=null;function xl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yl(t,e),Sl(e),r&4&&(Gc(3,e,e.return),Wc(3,e),Gc(5,e,e.return));break;case 1:yl(t,e),Sl(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=bl;if(yl(t,e),Sl(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[_t]||o[P]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Fd(o,r,n),o[P]=e,Ct(o),r=o;break a;case`link`:var s=Hf(`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),Fd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Hf(`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),Fd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[P]=e,Ct(o),r=o}e.stateNode=r}else Uf(a,e.type,e.stateNode);else e.stateNode=Lf(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?Uf(a,e.type,e.stateNode):Lf(a,r,e.memoizedProps))}break;case 27:yl(t,e),Sl(e),r&512&&(il||n===null||Yc(n,n.return)),n!==null&&r&4&&Zc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(yl(t,e),Sl(e),r&512&&(il||n===null||Yc(n,n.return)),e.flags&32){a=e.stateNode;try{Jt(a,``)}catch(t){q(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(yl(t,e),Sl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){q(e,e.return,t)}}break;case 3:if(Vf=null,a=bl,bl=_f(t.containerInfo),yl(t,e),bl=a,Sl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Pp(t.containerInfo)}catch(t){q(e,e.return,t)}al&&(al=!1,Cl(e));break;case 4:r=bl,bl=_f(e.stateNode.containerInfo),yl(t,e),Sl(e),bl=r;break;case 12:yl(t,e),Sl(e);break;case 31:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 13:yl(t,e),Sl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ru=je()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(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,yl(t,e),il=d,rl=u,Sl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||rl||il||Tl(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){q(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){q(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?ef(m,!0):ef(l.stateNode,!1)}catch(e){q(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,vl(e,n))));break;case 19:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 30:break;case 21:break;default:yl(t,e),Sl(e)}}function Sl(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&&(Jt(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){q(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Cl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Cl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function wl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ll(e,t.alternate,t),t=t.sibling}function Tl(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),Tl(t);break;case 1:Yc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&qc(t,t.return,n),Tl(t);break;case 27:mf(t.stateNode);case 26:case 5:Yc(t,t.return),Tl(t);break;case 22:t.memoizedState===null&&Tl(t);break;case 30:Tl(t);break;default:Tl(t)}e=e.sibling}}function El(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:El(i,a,n),Wc(4,a);break;case 1:if(El(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){q(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++)Qa(c[i],s)}catch(e){q(r,r.return,e)}}n&&o&64&&Kc(a),Jc(a,a.return);break;case 27:nl(a);case 26:case 5:El(i,a,n),n&&r===null&&o&4&&Xc(a),Jc(a,a.return);break;case 12:El(i,a,n);break;case 31:El(i,a,n),n&&o&4&&hl(i,a);break;case 13:El(i,a,n),n&&o&4&&gl(i,a);break;case 22:a.memoizedState===null&&El(i,a,n),Jc(a,a.return);break;case 30:break;default:El(i,a,n)}t=t.sibling}}function Dl(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&&da(n))}function Ol(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&da(e))}function kl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Al(e,t,n,r),t=t.sibling}function Al(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:kl(e,t,n,r),i&2048&&Wc(9,t);break;case 1:kl(e,t,n,r);break;case 3:kl(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&&da(e)));break;case 12:if(i&2048){kl(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){q(t,t.return,e)}}else kl(e,t,n,r);break;case 31:kl(e,t,n,r);break;case 13:kl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?kl(e,t,n,r):(a._visibility|=2,jl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?kl(e,t,n,r):Ml(e,t),i&2048&&Dl(o,t);break;case 24:kl(e,t,n,r),i&2048&&Ol(t.alternate,t);break;default:kl(e,t,n,r)}}function jl(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:jl(a,o,s,c,i),Wc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,jl(a,o,s,c,i)):u._visibility&2?jl(a,o,s,c,i):Ml(a,o),i&&l&2048&&Dl(o.alternate,o);break;case 24:jl(a,o,s,c,i),i&&l&2048&&Ol(o.alternate,o);break;default:jl(a,o,s,c,i)}t=t.sibling}}function Ml(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:Ml(n,r),i&2048&&Dl(r.alternate,r);break;case 24:Ml(n,r),i&2048&&Ol(r.alternate,r);break;default:Ml(n,r)}t=t.sibling}}var Nl=8192;function Pl(e,t,n){if(e.subtreeFlags&Nl)for(e=e.child;e!==null;)Fl(e,t,n),e=e.sibling}function Fl(e,t,n){switch(e.tag){case 26:Pl(e,t,n),e.flags&Nl&&e.memoizedState!==null&&Kf(n,bl,e.memoizedState,e.memoizedProps);break;case 5:Pl(e,t,n);break;case 3:case 4:var r=bl;bl=_f(e.stateNode.containerInfo),Pl(e,t,n),bl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Nl,Nl=16777216,Pl(e,t,n),Nl=r):Pl(e,t,n));break;default:Pl(e,t,n)}}function Il(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 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,Bl(r,e)}Il(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rl(e),e=e.sibling}function Rl(e){switch(e.tag){case 0:case 11:case 15:Ll(e),e.flags&2048&&Gc(9,e,e.return);break;case 3:Ll(e);break;case 12:Ll(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,zl(e)):Ll(e);break;default:Ll(e)}}function zl(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,Bl(r,e)}Il(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gc(8,t,t.return),zl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,zl(t));break;default:zl(t)}e=e.sibling}}function Bl(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:da(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 Vl={getCacheForType:function(e){var t=ra(la),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ra(la).controller.signal}},Hl=typeof WeakMap==`function`?WeakMap:Map,H=0,U=null,W=null,G=0,K=0,Ul=null,Wl=!1,Gl=!1,Kl=!1,ql=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=null,tu=null,nu=!1,ru=0,iu=0,au=1/0,ou=null,su=null,cu=0,lu=null,uu=null,du=0,fu=0,pu=null,mu=null,hu=0,gu=null;function _u(){return H&2&&G!==0?G&-G:A.T===null?ct():md()}function vu(){if(Ql===0)if(!(G&536870912)||L){var e=qe;qe<<=1,!(qe&3932160)&&(qe=262144),Ql=e}else Ql=536870912;return e=ao.current,e!==null&&(e.flags|=32),Ql}function yu(e,t,n){(e===U&&(K===2||K===9)||e.cancelPendingCommit!==null)&&(Eu(e,0),Cu(e,G,Ql,!1)),tt(e,n),(!(H&2)||e!==U)&&(e===U&&(!(H&2)&&(Xl|=n),Jl===4&&Cu(e,G,Ql,!1)),J(e))}function bu(e,t,n){if(H&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ze(e,t),a=r?Pu(e,t):Mu(e,t,!0),o=r;do{if(a===0){Gl&&!r&&Cu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!Su(n)){a=Mu(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=eu;var l=c.current.memoizedState.isDehydrated;if(l&&(Eu(c,s).flags|=256),s=Mu(c,s,!1),s!==2){if(Kl&&!l){c.errorRecoveryDisabledLanes|=o,Xl|=o,a=4;break a}o=tu,tu=a,o!==null&&(tu===null?tu=o:tu.push.apply(tu,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Eu(e,0),Cu(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:Cu(r,t,Ql,!Wl);break a;case 2:tu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=ru+300-je(),10<a)){if(Cu(r,t,Ql,!Wl),Xe(r,0,!0)!==0)break a;du=t,r.timeoutHandle=qd(xu.bind(null,r,n,tu,ou,nu,t,Ql,Xl,$l,Wl,o,`Throttled`,-0,0),a);break a}xu(r,n,tu,ou,nu,t,Ql,Xl,$l,Wl,o,null,-0,0)}}break}while(1);J(e)}function xu(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:nn},Fl(t,a,d);var m=(a&62914560)===a?ru-je():(a&4194048)===a?iu-je():0;if(m=Jf(d,m),m!==null){du=a,e.cancelPendingCommit=m(Vu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Cu(e,a,o,!l);return}}Vu(e,t,a,n,r,i,o,s,c)}function Su(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(!Tr(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 Cu(e,t,n,r){t&=~Zl,t&=~Xl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-He(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&rt(e,n,t)}function wu(){return H&6?!0:(sd(0,!1),!1)}function Tu(){if(W!==null){if(K===0)var e=W.return;else e=W,Yi=Ji=null,Mo(e),Pa=null,Fa=0,e=W;for(;e!==null;)Uc(e.alternate,e),e=e.return;W=null}}function Eu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Jd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),du=0,Tu(),U=e,W=n=pi(e.current,null),G=t,K=0,Ul=null,Wl=!1,Gl=Ze(e,t),Kl=!1,$l=Ql=Zl=Xl=Yl=Jl=0,tu=eu=null,nu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-He(r),a=1<<i;t|=e[i],r&=~a}return ql=t,ri(),n}function Du(e,t){R=null,A.H=Hs,t===wa||t===Ea?(t=Ma(),K=3):t===Ta?(t=Ma(),K=4):K=t===oc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Ul=t,W===null&&(Jl=1,ec(e,xi(t,e.current)))}function Ou(){var e=ao.current;return e===null?!0:(G&4194048)===G?oo===null:(G&62914560)===G||G&536870912?e===oo:!1}function ku(){var e=A.H;return A.H=Hs,e===null?Hs:e}function Au(){var e=A.A;return A.A=Vl,e}function ju(){Jl=4,Wl||(G&4194048)!==G&&ao.current!==null||(Gl=!0),!(Yl&134217727)&&!(Xl&134217727)||U===null||Cu(U,G,Ql,!1)}function Mu(e,t,n){var r=H;H|=2;var i=ku(),a=Au();(U!==e||G!==t)&&(ou=null,Eu(e,t)),t=!1;var o=Jl;a:do try{if(K!==0&&W!==null){var s=W,c=Ul;switch(K){case 8:Tu(),o=6;break a;case 3:case 2:case 9:case 6:ao.current===null&&(t=!0);var l=K;if(K=0,Ul=null,Ru(e,s,c,l),n&&Gl){o=0;break a}break;default:l=K,K=0,Ul=null,Ru(e,s,c,l)}}Nu(),o=Jl;break}catch(t){Du(e,t)}while(1);return t&&e.shellSuspendCounter++,Yi=Ji=null,H=r,A.H=i,A.A=a,W===null&&(U=null,G=0,ri()),o}function Nu(){for(;W!==null;)Iu(W)}function Pu(e,t){var n=H;H|=2;var r=ku(),a=Au();U!==e||G!==t?(ou=null,au=je()+500,Eu(e,t)):Gl=Ze(e,t);a:do try{if(K!==0&&W!==null){t=W;var o=Ul;b:switch(K){case 1:K=0,Ul=null,Ru(e,t,o,1);break;case 2:case 9:if(Oa(o)){K=0,Ul=null,Lu(t);break}t=function(){K!==2&&K!==9||U!==e||(K=7),J(e)},o.then(t,t);break a;case 3:K=7;break a;case 4:K=5;break a;case 7:Oa(o)?(K=0,Ul=null,Lu(t)):(K=0,Ul=null,Ru(e,t,o,7));break;case 5:var s=null;switch(W.tag){case 26:s=W.memoizedState;case 5:case 27:var c=W;if(s?Gf(s):c.stateNode.complete){K=0,Ul=null;var l=c.sibling;if(l!==null)W=l;else{var u=c.return;u===null?W=null:(W=u,zu(u))}break b}}K=0,Ul=null,Ru(e,t,o,5);break;case 6:K=0,Ul=null,Ru(e,t,o,6);break;case 8:Tu(),Jl=6;break a;default:throw Error(i(462))}}Fu();break}catch(t){Du(e,t)}while(1);return Yi=Ji=null,A.H=r,A.A=a,H=n,W===null?(U=null,G=0,ri(),Jl):0}function Fu(){for(;W!==null&&!ke();)Iu(W)}function Iu(e){var t=Fc(e.alternate,e,ql);e.memoizedProps=e.pendingProps,t===null?zu(e):W=t}function Lu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=bc(n,t,t.pendingProps,t.type,void 0,G);break;case 11:t=bc(n,t,t.pendingProps,t.type.render,t.ref,G);break;case 5:Mo(t);default:Uc(n,t),t=W=mi(t,ql),t=Fc(n,t,ql)}e.memoizedProps=e.pendingProps,t===null?zu(e):W=t}function Ru(e,t,n,r){Yi=Ji=null,Mo(t),Pa=null,Fa=0;var i=t.return;try{if(ac(e,i,t,n,G)){Jl=1,ec(e,xi(n,e.current)),W=null;return}}catch(t){if(i!==null)throw W=i,t;Jl=1,ec(e,xi(n,e.current)),W=null;return}t.flags&32768?(L||r===1?e=!0:Gl||G&536870912?e=!1:(Wl=e=!0,(r===2||r===9||r===3||r===6)&&(r=ao.current,r!==null&&r.tag===13&&(r.flags|=16384))),Bu(t,e)):zu(t)}function zu(e){var t=e;do{if(t.flags&32768){Bu(t,Wl);return}e=t.return;var n=Vc(t.alternate,t,ql);if(n!==null){W=n;return}if(t=t.sibling,t!==null){W=t;return}W=t=e}while(t!==null);Jl===0&&(Jl=5)}function Bu(e,t){do{var n=Hc(e.alternate,e);if(n!==null){n.flags&=32767,W=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){W=e;return}W=e=n}while(e!==null);Jl=6,W=null}function Vu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Ku();while(cu!==0);if(H&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ni,nt(e,n,o,s,c,l),e===U&&(W=U=null,G=0),uu=t,lu=e,du=n,fu=o,pu=a,mu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,ed(Fe,function(){return qu(),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=H,H|=4;try{cl(e,t,n)}finally{H=s,j.p=a,A.T=r}}cu=1,Hu(),Uu(),Wu()}}function Hu(){if(cu===1){cu=0;var e=lu,t=uu,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=H;H|=4;try{xl(t,e);var a=Bd,o=Ar(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&kr(s.ownerDocument.documentElement,s)){if(c!==null&&jr(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 _=Or(s,h),v=Or(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}}cp=!!zd,Bd=zd=null}finally{H=i,j.p=r,A.T=n}}e.current=t,cu=2}}function Uu(){if(cu===2){cu=0;var e=lu,t=uu,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=H;H|=4;try{ll(e,t.alternate,t)}finally{H=i,j.p=r,A.T=n}}cu=3}}function Wu(){if(cu===4||cu===3){cu=0,Ae();var e=lu,t=uu,n=du,r=mu;t.subtreeFlags&10256||t.flags&10256?cu=5:(cu=0,uu=lu=null,Gu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(su=null),st(n),t=t.stateNode,Be&&typeof Be.onCommitFiberRoot==`function`)try{Be.onCommitFiberRoot(ze,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}}du&3&&Ku(),J(e),i=e.pendingLanes,n&261930&&i&42?e===gu?hu++:(hu=0,gu=e):hu=0,sd(0,!1)}}function Gu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,da(t)))}function Ku(){return Hu(),Uu(),Wu(),qu()}function qu(){if(cu!==5)return!1;var e=lu,t=fu;fu=0;var n=st(du),r=A.T,a=j.p;try{j.p=32>n?32:n,A.T=null,n=pu,pu=null;var o=lu,s=du;if(cu=0,uu=lu=null,du=0,H&6)throw Error(i(331));var c=H;if(H|=4,Rl(o.current),Al(o,o.current,s,n),H=c,sd(0,!1),Be&&typeof Be.onPostCommitFiberRoot==`function`)try{Be.onPostCommitFiberRoot(ze,o)}catch{}return!0}finally{j.p=a,A.T=r,Gu(e,t)}}function Ju(e,t,n){t=xi(n,t),t=nc(e.stateNode,t,2),e=Ka(e,t,2),e!==null&&(tt(e,2),J(e))}function q(e,t,n){if(e.tag===3)Ju(e,e,n);else for(;t!==null;){if(t.tag===3){Ju(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(su===null||!su.has(r))){e=xi(n,e),n=rc(2),r=Ka(t,n,2),r!==null&&(ic(n,r,t,e),tt(r,2),J(r));break}}t=t.return}}function Yu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Hl;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)||(Kl=!0,i.add(n),e=Xu.bind(null,e,t,n),t.then(e,e))}function Xu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,U===e&&(G&n)===n&&(Jl===4||Jl===3&&(G&62914560)===G&&300>je()-ru?!(H&2)&&Eu(e,0):Zl|=n,$l===G&&($l=0)),J(e)}function Zu(e,t){t===0&&(t=$e()),e=oi(e,t),e!==null&&(tt(e,t),J(e))}function Qu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zu(e,n)}function $u(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),Zu(e,n)}function ed(e,t){return De(e,t)}var td=null,nd=null,rd=!1,id=!1,ad=!1,od=0;function J(e){e!==nd&&e.next===null&&(nd===null?td=nd=e:nd=nd.next=e),id=!0,rd||(rd=!0,pd())}function sd(e,t){if(!ad&&id){ad=!0;do for(var n=!1,r=td;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-He(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,fd(r,a))}else a=G,a=Xe(r,r===U?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ze(r,a)||(n=!0,fd(r,a));r=r.next}while(n);ad=!1}}function cd(){ld()}function ld(){id=rd=!1;var e=0;od!==0&&Kd()&&(e=od);for(var t=je(),n=null,r=td;r!==null;){var i=r.next,a=ud(r,t);a===0?(r.next=null,n===null?td=i:n.next=i,i===null&&(nd=n)):(n=r,(e!==0||a&3)&&(id=!0)),r=i}cu!==0&&cu!==5||sd(e,!1),od!==0&&(od=0)}function ud(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-He(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Qe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=U,n=G,n=Xe(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(K===2||K===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Oe(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ze(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Oe(r),st(n)){case 2:case 8:n=Pe;break;case 32:n=Fe;break;case 268435456:n=Ie;break;default:n=Fe}return r=dd.bind(null,e),n=De(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Oe(r),e.callbackPriority=2,e.callbackNode=null,2}function dd(e,t){if(cu!==0&&cu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ku()&&e.callbackNode!==n)return null;var r=G;return r=Xe(e,e===U?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(bu(e,r,t),ud(e,je()),e.callbackNode!=null&&e.callbackNode===n?dd.bind(null,e):null)}function fd(e,t){if(Ku())return null;bu(e,t,!0)}function pd(){Xd(function(){H&6?De(Ne,cd):ld()})}function md(){if(od===0){var e=ma;e===0&&(e=Ke,Ke<<=1,!(Ke&261888)&&(Ke=256)),od=e}return od}function Y(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:tn(``+e)}function X(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 hd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Y((i[dt]||null).action),o=r.submitter;o&&(t=(t=o[dt]||null)?Y(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new wn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(od!==0){var e=o?X(i,o):new FormData(i);Os(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?X(i,o):new FormData(i),Os(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var gd=0;gd<Zr.length;gd++){var _d=Zr[gd];Qr(_d.toLowerCase(),`on`+(_d[0].toUpperCase()+_d.slice(1)))}Qr(Ur,`onAnimationEnd`),Qr(Wr,`onAnimationIteration`),Qr(Gr,`onAnimationStart`),Qr(`dblclick`,`onDoubleClick`),Qr(`focusin`,`onFocus`),Qr(`focusout`,`onBlur`),Qr(Kr,`onTransitionRun`),Qr(qr,`onTransitionStart`),Qr(Jr,`onTransitionCancel`),Qr(Yr,`onTransitionEnd`),Dt(`onMouseEnter`,[`mouseout`,`mouseover`]),Dt(`onMouseLeave`,[`mouseout`,`mouseover`]),Dt(`onPointerEnter`,[`pointerout`,`pointerover`]),Dt(`onPointerLeave`,[`pointerout`,`pointerover`]),Et(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Et(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Et(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Et(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Et(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Et(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var vd=`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(` `),yd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(vd));function bd(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){$r(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){$r(e)}i.currentTarget=null,a=c}}}}function Z(e,t){var n=t[pt];n===void 0&&(n=t[pt]=new Set);var r=e+`__bubble`;n.has(r)||(wd(t,e,2,!1),n.add(r))}function xd(e,t,n){var r=0;t&&(r|=4),wd(n,e,r,t)}var Sd=`_reactListening`+Math.random().toString(36).slice(2);function Cd(e){if(!e[Sd]){e[Sd]=!0,wt.forEach(function(t){t!==`selectionchange`&&(yd.has(t)||xd(t,!1,e),xd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Sd]||(t[Sd]=!0,xd(`selectionchange`,!1,t))}}function wd(e,t,n,r){switch(hp(t)){case 2:var i=lp;break;case 8:i=up;break;default:i=dp}n=i.bind(null,t,n,e),i=void 0,!pn||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 Td(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=yt(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}un(function(){var r=a,i=an(n),s=[];a:{var c=Xr.get(e);if(c!==void 0){var l=wn,u=e;switch(e){case`keypress`:if(yn(n)===0)break a;case`keydown`:case`keyup`:l=Hn;break;case`focusin`:u=`focus`,l=Nn;break;case`focusout`:u=`blur`,l=Nn;break;case`beforeblur`:case`afterblur`:l=Nn;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=jn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Mn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Wn;break;case Ur:case Wr:case Gr:l=Pn;break;case Yr:l=Gn;break;case`scroll`:case`scrollend`:l=En;break;case`wheel`:l=Kn;break;case`copy`:case`cut`:case`paste`:l=Fn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Un;break;case`toggle`:case`beforetoggle`:l=qn}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=dn(m,p),g!=null&&d.push(Ed(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!==rn&&(u=n.relatedTarget||n.fromElement)&&(yt(u)||u[ft]))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?yt(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=jn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Un,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:xt(l),h=u==null?c:xt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,yt(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=Od,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&&kd(s,c,l,d,!1),u!==null&&f!==null&&kd(s,f,u,d,!0)}}a:{if(c=r?xt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=pr;else if(sr(c))if(mr)v=Cr;else{v=xr;var y=br}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Qt(r.elementType)&&(v=pr):v=Sr;if(v&&=v(e,r)){cr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Wt(c,`number`,c.value)}switch(y=r?xt(r):window,e){case`focusin`:(sr(y)||y.contentEditable===`true`)&&(Nr=y,Pr=r,Fr=null);break;case`focusout`:Fr=Pr=Nr=null;break;case`mousedown`:Ir=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Ir=!1,Lr(s,n,i);break;case`selectionchange`:if(Mr)break;case`keydown`:case`keyup`:Lr(s,n,i)}var b;if(Yn)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 rr?tr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Qn&&n.locale!==`ko`&&(rr||x!==`onCompositionStart`?x===`onCompositionEnd`&&rr&&(b=vn()):(hn=i,gn=`value`in hn?hn.value:hn.textContent,rr=!0)),y=Dd(r,x),0<y.length&&(x=new In(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=nr(n),b!==null&&(x.data=b)))),(b=Zn?ir(e,n):ar(e,n))&&(x=Dd(r,`onBeforeInput`),0<x.length&&(y=new In(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),hd(s,e,r,n,i)}bd(s,t)})}function Ed(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Dd(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=dn(e,n),i!=null&&r.unshift(Ed(e,i,a)),i=dn(e,t),i!=null&&r.push(Ed(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Od(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function kd(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=dn(n,a),l!=null&&o.unshift(Ed(n,l,c))):i||(l=dn(n,a),l!=null&&o.push(Ed(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ad=/\r\n?/g,jd=/\u0000|\uFFFD/g;function Md(e){return(typeof e==`string`?e:``+e).replace(Ad,`
9`).replace(jd,``)}function Nd(e,t){return t=Md(t),Md(e)===t}function Q(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Jt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Jt(e,``+r);break;case`className`:Nt(e,`class`,r);break;case`tabIndex`:Nt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Nt(e,n,r);break;case`style`:Zt(e,r,o);break;case`data`:if(t!==`object`){Nt(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=tn(``+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`&&Q(e,t,`name`,a.name,a,null),Q(e,t,`formEncType`,a.formEncType,a,null),Q(e,t,`formMethod`,a.formMethod,a,null),Q(e,t,`formTarget`,a.formTarget,a,null)):(Q(e,t,`encType`,a.encType,a,null),Q(e,t,`method`,a.method,a,null),Q(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=tn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=nn);break;case`onScroll`:r!=null&&Z(`scroll`,e);break;case`onScrollEnd`:r!=null&&Z(`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=tn(``+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`:Z(`beforetoggle`,e),Z(`toggle`,e),Mt(e,`popover`,r);break;case`xlinkActuate`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Pt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Pt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Pt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Mt(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=$t.get(n)||n,Mt(e,n,r))}}function Pd(e,t,n,r,a,o){switch(n){case`style`:Zt(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`?Jt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Jt(e,``+r);break;case`onScroll`:r!=null&&Z(`scroll`,e);break;case`onScrollEnd`:r!=null&&Z(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=nn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Tt.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[dt]||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,``):Mt(e,n,r)}}}function Fd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Z(`error`,e),Z(`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:Q(e,t,o,s,n,null)}}a&&Q(e,t,`srcSet`,n.srcSet,n,null),r&&Q(e,t,`src`,n.src,n,null);return;case`input`:Z(`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:Q(e,t,r,d,n,null)}}Ut(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Z(`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:Q(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Gt(e,!!r,n,!0):Gt(e,!!r,t,!1);return;case`textarea`:for(s in Z(`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:Q(e,t,s,c,n,null)}qt(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:Q(e,t,l,r,n,null)}return;case`dialog`:Z(`beforetoggle`,e),Z(`toggle`,e),Z(`cancel`,e),Z(`close`,e);break;case`iframe`:case`object`:Z(`load`,e);break;case`video`:case`audio`:for(r=0;r<vd.length;r++)Z(vd[r],e);break;case`image`:Z(`error`,e),Z(`load`,e);break;case`details`:Z(`toggle`,e);break;case`embed`:case`source`:case`link`:Z(`error`,e),Z(`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:Q(e,t,u,r,n,null)}return;default:if(Qt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Pd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Q(e,t,c,r,n,null))}function Id(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)||Q(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&&Q(e,t,p,m,r,f)}}Ht(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)||Q(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&&Q(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Gt(e,!!n,n?[]:``,!1):Gt(e,!!n,t,!0)):Gt(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:Q(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&&Q(e,t,s,a,r,o)}Kt(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:Q(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:Q(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)&&Q(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:Q(e,t,u,p,r,m)}return;default:if(Qt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Pd(e,t,_,void 0,r,p);
vendor: 4,461 bytes, line 9
9for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Pd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Q(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||Q(e,t,f,p,r,m)}function Ld(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Rd(){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&&Ld(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&&Ld(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 zd=null,Bd=null;function Vd(e){return e.nodeType===9?e:e.ownerDocument}function Hd(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 Ud(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 Wd(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 Gd=null;function Kd(){var e=window.event;return e&&e.type===`popstate`?e===Gd?!1:(Gd=e,!0):(Gd=null,!1)}var qd=typeof setTimeout==`function`?setTimeout:void 0,Jd=typeof clearTimeout==`function`?clearTimeout:void 0,Yd=typeof Promise==`function`?Promise:void 0,Xd=typeof queueMicrotask==`function`?queueMicrotask:Yd===void 0?qd:function(e){return Yd.resolve(null).then(e).catch(Zd)};function Zd(e){setTimeout(function(){throw e})}function Qd(e){return e===`head`}function $d(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),Pp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)mf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,mf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[_t]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&mf(e.ownerDocument.body);n=i}while(n);Pp(t)}function ef(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 tf(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`:tf(n),vt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function nf(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[_t])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=lf(e.nextSibling),e===null)break}return null}function rf(e,t,n){if(t===``)return null;for(;
vendor: 20,902 bytes, line 9
9e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=lf(e.nextSibling),e===null))return null;return e}function af(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=lf(e.nextSibling),e===null))return null;return e}function of(e){return e.data===`$?`||e.data===`$~`}function sf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function cf(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 lf(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 uf=null;function df(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return lf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function ff(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 pf(e,t,n){switch(t=Vd(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 mf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);vt(e)}var hf=new Map,gf=new Set;function _f(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var vf=j.d;j.d={f:yf,r:bf,D:Cf,C:wf,L:Tf,m:Ef,X:Of,S:Df,M:kf};function yf(){var e=vf.f(),t=wu();return e||t}function bf(e){var t=bt(e);t!==null&&t.tag===5&&t.type===`form`?As(t):vf.r(e)}var xf=typeof document>`u`?null:document;function Sf(e,t,n){var r=xf;if(r&&typeof t==`string`&&t){var i=Vt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),gf.has(i)||(gf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Fd(t,`link`,e),Ct(t),r.head.appendChild(t)))}}function Cf(e){vf.D(e),Sf(`dns-prefetch`,e,null)}function wf(e,t){vf.C(e,t),Sf(`preconnect`,e,t)}function Tf(e,t,n){vf.L(e,t,n);var r=xf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Vt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Vt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Vt(n.imageSizes)+`"]`)):i+=`[href="`+Vt(e)+`"]`;var a=i;switch(t){case`style`:a=jf(e);break;case`script`:a=Ff(e)}hf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),hf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Mf(a))||t===`script`&&r.querySelector(If(a))||(t=r.createElement(`link`),Fd(t,`link`,e),Ct(t),r.head.appendChild(t)))}}function Ef(e,t){vf.m(e,t);var n=xf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Vt(r)+`"][href="`+Vt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ff(e)}if(!hf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),hf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(If(a)))return}r=n.createElement(`link`),Fd(r,`link`,e),Ct(r),n.head.appendChild(r)}}}function Df(e,t,n){vf.S(e,t,n);var r=xf;if(r&&e){var i=St(r).hoistableStyles,a=jf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Mf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=hf.get(a))&&zf(e,n);var c=o=r.createElement(`link`);Ct(c),Fd(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,Rf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Of(e,t){vf.X(e,t);var n=xf;if(n&&e){var r=St(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=f({src:e,async:!0},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),Ct(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t){vf.M(e,t);var n=xf;if(n&&e){var r=St(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),Ct(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t,n,r){var a=(a=pe.current)?_f(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=jf(n.href),n=St(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=jf(n.href);var o=St(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(Mf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),hf.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},hf.set(e,n),o||Pf(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=Ff(n),n=St(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 jf(e){return`href="`+Vt(e)+`"`}function Mf(e){return`link[rel="stylesheet"][`+e+`]`}function Nf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Pf(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}),Fd(t,`link`,n),Ct(t),e.head.appendChild(t))}function Ff(e){return`[src="`+Vt(e)+`"]`}function If(e){return`script[async]`+e}function Lf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Vt(n.href)+`"]`);if(r)return t.instance=r,Ct(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`),Ct(r),Fd(r,`style`,a),Rf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=jf(n.href);var o=e.querySelector(Mf(a));if(o)return t.state.loading|=4,t.instance=o,Ct(o),o;r=Nf(n),(a=hf.get(a))&&zf(r,a),o=(e.ownerDocument||e).createElement(`link`),Ct(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Fd(o,`link`,r),t.state.loading|=4,Rf(o,n.precedence,e),t.instance=o;case`script`:return o=Ff(n.src),(a=e.querySelector(If(o)))?(t.instance=a,Ct(a),a):(r=n,(a=hf.get(o))&&(r=f({},n),Bf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Ct(a),Fd(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,Rf(r,n.precedence,e));return t.instance}function Rf(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 zf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Vf=null;function Hf(e,t,n){if(Vf===null){var r=new Map,i=Vf=new Map;i.set(n,r)}else i=Vf,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[_t]||a[P]||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 Uf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Wf(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 Gf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Kf(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=jf(r.href),a=t.querySelector(Mf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Yf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ct(a);return}a=t.ownerDocument||t,r=Nf(r),(i=hf.get(i))&&zf(r,i),a=a.createElement(`link`),Ct(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Fd(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=Yf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var qf=0;function Jf(e,t){return e.stylesheets&&e.count===0&&Zf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&qf===0&&(qf=62500*Rd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Yf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xf=null;function Zf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xf=new Map,t.forEach(Qf,e),Xf=null,Yf.call(e))}function Qf(e,t){if(!(t.state.loading&4)){var n=Xf.get(e);if(n)var r=n.get(null);else{n=new Map,Xf.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=Yf.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 $f={$$typeof:C,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function ep(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=et(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=et(0),this.hiddenUpdates=et(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 tp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ep(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=di(3,null,null,t),e.current=a,a.stateNode=e,t=ua(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ua(a),e}function np(e){return e?(e=li,e):li}function rp(e,t,n,r,i,a){i=np(i),r.context===null?r.context=i:r.pendingContext=i,r=Ga(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ka(e,r,t),n!==null&&(yu(n,e,t),qa(n,e,t))}function ip(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ap(e,t){ip(e,t),(e=e.alternate)&&ip(e,t)}function op(e){if(e.tag===13||e.tag===31){var t=oi(e,67108864);t!==null&&yu(t,e,67108864),ap(e,67108864)}}function sp(e){if(e.tag===13||e.tag===31){var t=_u();t=ot(t);var n=oi(e,t);n!==null&&yu(n,e,t),ap(e,t)}}var cp=!0;function lp(e,t,n,r){var i=A.T;A.T=null;var a=j.p;try{j.p=2,dp(e,t,n,r)}finally{j.p=a,A.T=i}}function up(e,t,n,r){var i=A.T;A.T=null;var a=j.p;try{j.p=8,dp(e,t,n,r)}finally{j.p=a,A.T=i}}function dp(e,t,n,r){if(cp){var i=fp(r);if(i===null)Td(e,t,r,pp,n),wp(e,r);else if(Ep(i,e,t,n,r))r.stopPropagation();else if(wp(e,r),t&4&&-1<Cp.indexOf(e)){for(;i!==null;){var a=bt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ye(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-He(o);s.entanglements[1]|=c,o&=~c}J(a),!(H&6)&&(au=je()+500,sd(0,!1))}}break;case 31:case 13:s=oi(a,2),s!==null&&yu(s,a,2),wu(),ap(a,2)}if(a=fp(r),a===null&&Td(e,t,r,pp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Td(e,t,r,null,n)}}function fp(e){return e=an(e),mp(e)}var pp=null;function mp(e){if(pp=null,e=yt(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 pp=e,null}function hp(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(Me()){case Ne:return 2;case Pe:return 8;case Fe:case N:return 32;case Ie:return 268435456;default:return 32}default:return 32}}var gp=!1,_p=null,vp=null,yp=null,bp=new Map,xp=new Map,Sp=[],Cp=`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 wp(e,t){switch(e){case`focusin`:case`focusout`:_p=null;break;case`dragenter`:case`dragleave`:vp=null;break;case`mouseover`:case`mouseout`:yp=null;break;case`pointerover`:case`pointerout`:bp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:xp.delete(t.pointerId)}}function Tp(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=bt(t),t!==null&&op(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ep(e,t,n,r,i){switch(t){case`focusin`:return _p=Tp(_p,e,t,n,r,i),!0;case`dragenter`:return vp=Tp(vp,e,t,n,r,i),!0;case`mouseover`:return yp=Tp(yp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return bp.set(a,Tp(bp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,xp.set(a,Tp(xp.get(a)||null,e,t,n,r,i)),!0}return!1}function Dp(e){var t=yt(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,lt(e.priority,function(){sp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,lt(e.priority,function(){sp(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 Op(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=fp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);rn=r,n.target.dispatchEvent(r),rn=null}else return t=bt(n),t!==null&&op(t),e.blockedOn=n,!1;t.shift()}return!0}function kp(e,t,n){Op(e)&&n.delete(t)}function Ap(){gp=!1,_p!==null&&Op(_p)&&(_p=null),vp!==null&&Op(vp)&&(vp=null),yp!==null&&Op(yp)&&(yp=null),bp.forEach(kp),xp.forEach(kp)}function jp(e,n){e.blockedOn===n&&(e.blockedOn=null,gp||(gp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ap)))}var Mp=null;function Np(e){Mp!==e&&(Mp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Mp===e&&(Mp=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(mp(r||n)===null)continue;break}var a=bt(n);a!==null&&(e.splice(t,3),t-=3,Os(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Pp(e){function t(t){return jp(t,e)}_p!==null&&jp(_p,e),vp!==null&&jp(vp,e),yp!==null&&jp(yp,e),bp.forEach(t),xp.forEach(t);for(var n=0;n<Sp.length;n++){var r=Sp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Sp.length&&(n=Sp[0],n.blockedOn===null);)Dp(n),n.blockedOn===null&&Sp.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[dt]||null;if(typeof a==`function`)o||Np(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[dt]||null)s=o.formAction;else if(mp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Np(n)}}}function Fp(){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 Ip(e){this._internalRoot=e}Lp.prototype.render=Ip.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;rp(n,_u(),e,t,null,null)},Lp.prototype.unmount=Ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;rp(e.current,2,null,e,null,null),wu(),t[ft]=null}};function Lp(e){this._internalRoot=e}Lp.prototype.unstable_scheduleHydration=function(e){if(e){var t=ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sp.length&&t!==0&&t<Sp[n].priority;n++);Sp.splice(n,0,e),n===0&&Dp(e)}};var Rp=n.version;if(Rp!==`19.2.7`)throw Error(i(527,Rp,`19.2.7`));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 zp={bundleType:0,version:`19.2.7`,rendererPackageName:`react-dom`,currentDispatcherRef:A,reconcilerVersion:`19.2.7`};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bp.isDisabled&&Bp.supportsFiber)try{ze=Bp.inject(zp),Be=Bp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Zs,s=Qs,c=$s;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=tp(e,1,!1,null,null,n,r,null,o,s,c,Fp),e[ft]=t.current,Cd(e),new Ip(t)},e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=Zs,c=Qs,l=$s,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=tp(e,1,!0,t,n??null,r,o,u,s,c,l,Fp),t.context=np(null),n=t.current,r=_u(),r=ot(r),o=Ga(r),o.callback=null,Ka(n,o,r),n=r,t.current.lanes=n,tt(t,n),J(t),e[ft]=t.current,Cd(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=u(p(),1),x=y(),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=(0,b.createContext)({});function T(e){let t=(0,b.useRef)(null);return t.current===null&&(t.current=e()),t.current}var E=typeof window<`u`?b.useLayoutEffect:b.useEffect,D=(0,b.createContext)(null);function O(e,t){e.indexOf(t)===-1&&e.push(t)}function k(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var ee=(e,t,n)=>n>t?t:n<e?e:n,te={},ne=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),re=e=>typeof e==`object`&&!!e,ie=e=>/^0[^.\s]+$/u.test(e);function ae(e){let t;return()=>(t===void 0&&(t=e()),t)}var A=e=>e,j=(...e)=>e.reduce((e,t)=>n=>t(e(n))),oe=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},se=class{constructor(){this.subscriptions=[]}add(e){return O(this.subscriptions,e),()=>k(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}},ce=e=>e*1e3,le=e=>e/1e3,ue=(e,t)=>t?1e3/t*e:0,M=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,de=1e-7,fe=12;function pe(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=M(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>de&&++s<fe);return o}function me(e,t,n,r){if(e===t&&n===r)return A;let i=t=>pe(t,0,1,e,n);return e=>e===0||e===1?e:M(i(e),t,r)}var he=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ge=e=>t=>1-e(1-t),_e=me(.33,1.53,.69,.99),ve=ge(_e),ye=he(ve),be=e=>e>=1?1:(e*=2)<1?.5*ve(e):.5*(2-2**(-10*(e-1))),xe=e=>1-Math.sin(Math.acos(e)),Se=ge(xe),Ce=he(xe),we=me(.42,0,1,1),Te=me(0,0,.58,1),Ee=me(.42,0,.58,1),De=e=>Array.isArray(e)&&typeof e[0]!=`number`,Oe=e=>Array.isArray(e)&&typeof e[0]==`number`,ke={linear:A,easeIn:we,easeInOut:Ee,easeOut:Te,circIn:xe,circInOut:Ce,circOut:Se,backIn:ve,backInOut:ye,backOut:_e,anticipate:be},Ae=e=>typeof e==`string`,je=e=>{if(Oe(e)){e.length;let[t,n,r,i]=e;return me(t,n,r,i)}else if(Ae(e))return ke[e],`${e}`,ke[e];return e},Me=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Ne(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Pe=40;function Fe(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Me.reduce((e,t)=>
9(e[t]=Ne(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=te.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Pe),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:Me.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<Me.length;t++)o[Me[t]].cancel(e)},state:i,steps:o}}var{schedule:N,cancel:Ie,state:Le,steps:Re}=Fe(typeof requestAnimationFrame<`u`?requestAnimationFrame:A,!0),ze;function Be(){ze=void 0}var Ve={now:()=>(ze===void 0&&Ve.set(Le.isProcessing||te.useManualTiming?Le.timestamp:performance.now()),ze),set:e=>{ze=e,queueMicrotask(Be)}},He=e=>t=>typeof t==`string`&&t.startsWith(e),Ue=He(`--`),We=He(`var(--`),Ge=e=>We(e)?Ke.test(e.split(`/*`)[0].trim()):!1,Ke=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function qe(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Je={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Ye={...Je,transform:e=>ee(0,1,e)},Xe={...Je,default:1},Ze=e=>Math.round(e*1e5)/1e5,Qe=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function $e(e){return e==null}var et=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tt=(e,t)=>n=>!!(typeof n==`string`&&et.test(n)&&n.startsWith(e)||t&&!$e(n)&&Object.prototype.hasOwnProperty.call(n,t)),nt=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Qe);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},rt=e=>ee(0,255,e),it={...Je,transform:e=>Math.round(rt(e))},at={test:tt(`rgb`,`red`),parse:nt(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+it.transform(e)+`, `+it.transform(t)+`, `+it.transform(n)+`, `+Ze(Ye.transform(r))+`)`};function ot(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 st={test:tt(`#`),parse:ot,transform:at.transform},ct=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),lt=ct(`deg`),ut=ct(`%`),P=ct(`px`),dt=ct(`vh`),ft=ct(`vw`),pt={...ut,parse:e=>ut.parse(e)/100,transform:e=>ut.transform(e*100)},mt={test:tt(`hsl`,`hue`),parse:nt(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+ut.transform(Ze(t))+`, `+ut.transform(Ze(n))+`, `+Ze(Ye.transform(r))+`)`},ht={test:e=>at.test(e)||st.test(e)||mt.test(e),parse:e=>at.test(e)?at.parse(e):mt.test(e)?mt.parse(e):st.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?at.transform(e):mt.transform(e),getAnimatableNone:e=>{let t=ht.parse(e);return t.alpha=0,ht.transform(t)}},gt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function _t(e){return isNaN(e)&&typeof e==`string`&&(e.match(Qe)?.length||0)+(e.match(gt)?.length||0)>0}var vt=`number`,yt=`color`,bt=`var`,xt=`var(`,St="${}",Ct=/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 wt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Ct,e=>(ht.test(e)?(r.color.push(a),i.push(yt),n.push(ht.parse(e))):e.startsWith(xt)?(r.var.push(a),i.push(bt),n.push(e)):(r.number.push(a),i.push(vt),n.push(parseFloat(e))),++a,St)).split(St),indexes:r,types:i}}function Tt(e){return wt(e).values}function Et({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===vt?i+=Ze(r[a]):e===yt?i+=ht.transform(r[a]):i+=r[a]}return i}}function Dt(e){return Et(wt(e))}var Ot=e=>typeof e==`number`?0:ht.test(e)?ht.getAnimatableNone(e):e,kt=(e,t)=>
9typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Ot(e);function At(e){let t=wt(e);return Et(t)(t.values.map((e,n)=>kt(e,t.split[n])))}var jt={test:_t,parse:Tt,createTransformer:Dt,getAnimatableNone:At};function Mt(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 Nt({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=Mt(s,r,e+1/3),a=Mt(s,r,e),o=Mt(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Pt(e,t){return n=>n>0?t:e}var F=(e,t,n)=>e+(t-e)*n,Ft=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},It=[st,at,mt],Lt=e=>It.find(t=>t.test(e));function Rt(e){let t=Lt(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===mt&&(n=Nt(n)),n}var zt=(e,t)=>{let n=Rt(e),r=Rt(t);if(!n||!r)return Pt(e,t);let i={...n};return e=>(i.red=Ft(n.red,r.red,e),i.green=Ft(n.green,r.green,e),i.blue=Ft(n.blue,r.blue,e),i.alpha=F(n.alpha,r.alpha,e),at.transform(i))},Bt=new Set([`none`,`hidden`]);function Vt(e,t){return Bt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Ht(e,t){return n=>F(e,t,n)}function Ut(e){return typeof e==`number`?Ht:typeof e==`string`?Ge(e)?Pt:ht.test(e)?zt:qt:Array.isArray(e)?Wt:typeof e==`object`?ht.test(e)?zt:Gt:Pt}function Wt(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Ut(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Gt(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ut(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Kt(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 qt=(e,t)=>{let n=jt.createTransformer(t),r=wt(e),i=wt(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?Bt.has(e)&&!i.values.length||Bt.has(t)&&!r.values.length?Vt(e,t):j(Wt(Kt(r,i),i.values),n):(`${e}${t}`,Pt(e,t))};function Jt(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?F(e,t,n):Ut(e)(e,t)}var Yt=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>N.update(t,e),stop:()=>Ie(t),now:()=>Le.isProcessing?Le.timestamp:Ve.now()}},Xt=(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)})`},Zt=2e4;function Qt(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 $t(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Qt(r),Zt);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:le(i)}}var en={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 tn(e,t){return e*Math.sqrt(1-t*t)}var nn=12;function rn(e,t,n){let r=n;for(let n=1;n<nn;n++)r-=e(r)/t(r);return r}var an=.001;function on({duration:e=en.duration,bounce:t=en.bounce,velocity:n=en.velocity,mass:r=en.mass}){let i,a;en.maxDuration;let o=1-t;o=ee(en.minDamping,en.maxDamping,o),e=ee(en.minDuration,en.maxDuration,le(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=tn(t,o),c=Math.exp(-i);return an-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=tn(t**2,o);return(-i(t)+an>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=rn(i,a,s);if(e=ce(e),isNaN(c))return{stiffness:en.stiffness,damping:en.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var sn=[`duration`,`bounce`],cn=[`stiffness`,`damping`,`mass`];function ln(e,t){return t.some(t=>e[t]!==void 0)}function un(e){let t={velocity:en.velocity,stiffness:en.stiffness,damping:en.damping,mass:en.mass,isResolvedFromDuration:!1,...e};if(!ln(e,cn)&&ln(e,sn))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*ee(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:en.mass,stiffness:i,damping:a}}else{let n=on({...e,velocity:0});t={...t,...n,mass:en.mass},t.isResolvedFromDuration=!0}return t}function dn(e=en.visualDuration,t=en.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}=un({...n,velocity:-le(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=le(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?en.restSpeed.granular:en.restSpeed.default,i||=v?en.restDelta.granular:en.restDelta.default;let y,b,x,S,C,w;if(h<1)x=tn(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(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=>ce(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=ce(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=ce(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(Qt(T),Zt),t=Xt(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}dn.applyToOptions=e=>{let t=$t(e,100,dn);return e.ease=t.ease,e.duration=ce(t.duration),e.type=`keyframes`,e};var fn=5;function pn(e,t,n){let r=Math.max(t-fn,0);return ue(n-e(r),t-r)}function mn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=
9500,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=dn({keyframes:[f.value,m(f.value)],velocity:pn(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 hn(e,t,n){let r=[],i=n||te.mix||Jt,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=j(Array.isArray(t)?t[n]||A:t,a)),r.push(a)}return r}function gn(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=hn(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=oe(e[r],e[r+1],n);return s[r](i)};return n?t=>l(ee(e[0],e[a-1],t)):l}function _n(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=oe(0,t,r);e.push(F(n,1,i))}}function vn(e){let t=[0];return _n(t,e.length-1),t}function yn(e,t){return e.map(e=>e*t)}function bn(e,t){return e.map(()=>t||Ee).splice(0,e.length-1)}function xn({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=De(r)?r.map(je):je(r),a={done:!1,value:t[0]},o=gn(yn(n&&n.length===t.length?n:vn(t),e),t,{ease:Array.isArray(i)?i:bn(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Sn=e=>e!==null;function Cn(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Sn),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var wn={decay:mn,inertia:mn,tween:xn,keyframes:xn,spring:dn};function Tn(e){typeof e.type==`string`&&(e.type=wn[e.type])}var En=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)}},Dn=e=>e/100,On=class extends En{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!==Ve.now()&&this.tick(Ve.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;Tn(e);let{type:t=xn,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||xn;s!==xn&&typeof o[0]!=`number`&&(this.mixKeyframes=j(Dn,Jt(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=Qt(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=ee(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);
9return S&&p!==mn&&(b.value=Cn(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 le(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+le(e)}get time(){return le(this.currentTime)}set time(e){e=ce(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 pn(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(Ve.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=le(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Yt,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(Ve.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}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 kn(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var An=e=>e*180/Math.PI,jn=e=>Nn(An(Math.atan2(e[1],e[0]))),Mn={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:jn,rotateZ:jn,skewX:e=>An(Math.atan(e[1])),skewY:e=>An(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Nn=e=>(e%=360,e<0&&(e+=360),e),Pn=jn,Fn=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),In=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ln={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Fn,scaleY:In,scale:e=>(Fn(e)+In(e))/2,rotateX:e=>Nn(An(Math.atan2(e[6],e[5]))),rotateY:e=>Nn(An(Math.atan2(-e[2],e[0]))),rotateZ:Pn,rotate:Pn,skewX:e=>An(Math.atan(e[4])),skewY:e=>An(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Rn(e){return+!!e.includes(`scale`)}function zn(e,t){if(!e||e===`none`)return Rn(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ln,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Mn,i=t}if(!i)return Rn(t);let a=r[t],o=i[1].split(`,`).map(Vn);return typeof a==`function`?a(o):o[a]}var Bn=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return zn(n,t)};function Vn(e){return parseFloat(e.trim())}var Hn=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Un=new Set([...Hn,`pathRotation`]),Wn=e=>e===Je||e===P,Gn=new Set([`x`,`y`,`z`]),Kn=Hn.filter(e=>!Gn.has(e));function qn(e){let t=[];return Kn.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Jn={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})=>zn(t,`x`),y:(e,{transform:t})=>zn(t,`y`)};Jn.translateX=Jn.x,Jn.translateY=Jn.y;var Yn=new Set,Xn=!1,Zn=!1,Qn=!1;function $n(){if(Zn){let e=Array.from(Yn).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;
9t.forEach(e=>{let t=qn(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)})}Zn=!1,Xn=!1,Yn.forEach(e=>e.complete(Qn)),Yn.clear()}function er(){Yn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Zn=!0)})}function tr(){Qn=!0,er(),$n(),Qn=!1}var nr=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?(Yn.add(this),Xn||(Xn=!0,N.read(er),N.resolveKeyframes($n))):(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])}kn(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Yn.delete(this)}cancel(){this.state===`scheduled`&&(Yn.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},rr=e=>e.startsWith(`--`);function ir(e,t,n){rr(t)?e.style.setProperty(t,n):e.style[t]=n}var ar={};function or(e,t){let n=ae(e);return()=>ar[t]??n()}var sr=or(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),cr=or(()=>{try{document.createElement(`div`).animate({opacity:0}
9,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),lr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ur={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:lr([0,.65,.55,1]),circOut:lr([.55,0,1,.45]),backIn:lr([.31,.01,.66,-.59]),backOut:lr([.33,1.53,.69,.99])};function dr(e,t){if(e)return typeof e==`function`?cr()?Xt(e,t):`ease-out`:Oe(e)?lr(e):Array.isArray(e)?e.map(e=>dr(e,t)||ur.easeOut):ur[e]}function fr(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=dr(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function pr(e){return typeof e==`function`&&`applyToOptions`in e}function mr({type:e,...t}){return pr(e)&&cr()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var hr=class extends En{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=mr(e);this.animation=fr(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Cn(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),ir(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 le(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+le(e)}get time(){return le(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ce(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:`f
9inished`}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&&sr()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),A):r(this)}},gr={anticipate:be,backInOut:ye,circInOut:Ce};function _r(e){return e in gr}function vr(e){typeof e.ease==`string`&&_r(e.ease)&&(e.ease=gr[e.ease])}var yr=10,br=class extends hr{constructor(e){vr(e),Tn(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 On({...a,autoplay:!1}),s=Math.max(yr,Ve.now()-this.startTime),c=ee(0,yr,s-yr),l=o.sample(s).value,{name:u}=this.options;i&&u&&ir(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},xr=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(jt.test(e)||e===`0`)&&!e.startsWith(`url(`));function Sr(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 Cr(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=xr(i,t),s=xr(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Sr(e)||(n===`spring`||pr(n))&&r}function wr(e){e.duration=0,e.type=`keyframes`}var Tr=new Set([`opacity`,`clipPath`,`filter`,`transform`]),Er=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Dr(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Er.test(e[t]))return!0;return!1}var Or=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),kr=ae(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Ar(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 kr()&&n&&(Tr.has(n)||Or.has(n)&&Dr(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var jr=40,Mr=class extends En{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=Ve.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||nr;this.keyframeResolver=new f(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=Ve.now();let u=!0;Cr(e,i,a,o)||(u=!1,(te.instantAnimations||!s)&&l?.(Cn(e,n,t)),e[0]=e[e.length-1],wr(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>jr?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Ar(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new br({...d,element:p})}catch{m=new On(d)}else m=new On(d);m.finished.then(()=>{this.notifyFinished()}).catch(A),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(),tr()),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 Nr(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
9e.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 Pr=30,Fr=e=>!isNaN(parseFloat(e)),Ir={current:void 0},Lr=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Ve.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=Ve.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Fr(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 se);let n=this.events[e].add(t);return e===`change`?()=>{n(),N.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 Ir.current&&Ir.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Ve.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Pr)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Pr);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 Rr(e,t){return new Lr(e,t)}function zr(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Br(e,t){let n=e?.[t]??e?.default??e;return n===e?n:zr(n,e)}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:Un.has(e)?e.startsWith(`scale`)?Hr(t[1]):Vr:Wr,Kr=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function qr(e){for(let t in e)if(!Kr.has(t))return!0;return!1}var Jr=(e,t,n,r={},i,a)=>o=>{let s=Br(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=ce(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};qr(s)||Object.assign(u,Gr(e,u)),u.duration&&=ce(u.duration),u.repeatDelay&&=ce(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(wr(u),u.delay===0&&(d=!0)),(te.instantAnimations||te.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,wr(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Cn(u.keyframes,s);if(e!==void 0){N.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new On(u):new Mr(u)},Yr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Xr(e){let t=Yr.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Zr(e,t,n=1){`${e}`;let[r,i]=Xr(e);
9if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return ne(e)?parseFloat(e):e}return Ge(i)?Zr(i,t,n+1):i}function Qr(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function $r(e,t,n,r){if(typeof t==`function`){let[i,a]=Qr(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]=Qr(r);t=t(n===void 0?e.custom:n,i,a)}return t}function ei(e,t,n){let r=e.getProps();return $r(r,t,n===void 0?r.custom:n,e)}var ti=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Hn]),ni=e=>Array.isArray(e);function ri(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Rr(n))}function ii(e){return ni(e)?e[e.length-1]||0:e}function ai(e,t){let{transitionEnd:n={},transition:r={},...i}=ei(e,t)||{};i={...i,...n};for(let t in i)ri(e,t,ii(i[t]))}var oi=e=>!!(e&&e.getVelocity);function si(e){return!!(oi(e)&&e.add)}function ci(e,t){let n=e.getValue(`willChange`);if(si(n))return n.add(t);if(!n&&te.WillChange){let n=new te.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function li(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var ui=`data-`+li(`framerAppearId`);function di(e){return e.props[ui]}function fi({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function pi(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?zr(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&fi(f,t))continue;let o={delay:n,...Br(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){N.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=di(e);if(n){let e=window.MotionHandoffAnimation(n,t,N);e!==null&&(o.startTime=e,p=!0)}}ci(e,t);let m=l??e.shouldReduceMotion;r.start(Jr(t,r,i,m&&ti.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>N.update(()=>{o&&ai(e,o)});d.length?Promise.all(d).then(t):t()}return d}function mi(e,t,n={}){let r=ei(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(pi(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return hi(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 hi(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(mi(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Nr(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function gi(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>mi(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=mi(e,t,n);else{let i=typeof t==`function`?ei(e,t,n.custom):t;r=Promise.all(pi(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var _i={test:e=>e===`auto`,parse:e=>e},vi=e=>t=>t.test(e),yi=[Je,P,ut,lt,ft,dt,_i],bi=e=>yi.find(vi(e));function xi(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||ie(e)}var Si=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Ci(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Qe)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Si.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var wi=/\b([a-z-]*)\(.*?\)/gu,Ti={...jt,getAnimatableNone:e=>{let t=e.match(wi);return t?t.map(Ci).join(` `):e}},Ei={...jt,getAnimatableNone:e=>{let t=jt.parse(e);return jt.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Di={...Je,transform:Math.round},Oi={borderWidth:P,borderTopWidth:P,borderRightWidth:P,borderBottomWidth:P,borderLeftWidth:P,borderRadius:P,borderTopLeftRadius:P,borderTopRightRadius:P,borderBottomRightRadius:P,borderBottomLeftRadius:P,width:P,maxWidth:P,height:P,maxHeight:P,top:P,right:P,bottom:P,left:P,inset:P,insetBlock:P,insetBlockStart:P,insetBlockEnd:P,insetInline:P,insetInlineStart:P,insetInlineEnd:P,padding:P,paddingTop:P,paddingRight:P,paddingBottom:P,paddingLeft:P,paddingBlock:P,paddingBlockStart:P,paddingBlockEnd:P,paddingInline:P,paddingInlineStart:P,paddingInlineEnd:P,margin:P,marginTop:P,marginRight:P,marginBottom:P,marginLeft:P,marginBlock:P,marginBlockStart:P,marginBlockEnd:P,marginInline:P,marginInlineStart:P,marginInlineEnd:P,fontSize:P,backgroundPositionX:P,backgroundPositionY:P,rotate:lt,pathRotation:lt,rotateX:lt,rotateY:lt,rotateZ:lt,scale:Xe,scaleX:Xe,scaleY:Xe,scaleZ:Xe,skew:lt,skewX:lt,skewY:lt,distance:P,translateX:P,translateY:P,translateZ:P,x:P,y:P,z:P,perspective:P,transformPerspective:P,opacity:Ye,originX:pt,originY:pt,originZ:P,zIndex:Di,fillOpacity:Ye,strokeOpacity:Ye,numOctaves:Di},ki={...Oi,color:ht,backgroundColor:ht,outlineColor:ht,fill:ht,stroke:ht,borderColor:ht,borderTopColor:ht,borderRightColor:ht,borderBottomColor:ht,borderLeftColor:ht,filter:Ti,WebkitFilter:Ti,mask:Ei,WebkitMask:Ei},Ai=e=>
9ki[e],ji=new Set([Ti,Ei]);function Mi(e,t){let n=Ai(e);return ji.has(n)||(n=jt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Ni=new Set([`auto`,`none`,`0`]);function Pi(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Ni.has(t)&&wt(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Mi(n,i)}var Fi=class extends nr{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(),Ge(r))){let i=Zr(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!ti.has(n)||e.length!==2)return;let[r,i]=e,a=bi(r),o=bi(i);if(qe(r)!==qe(i)&&Jn[n]){this.needsMeasurement=!0;return}if(a!==o)if(Wn(a)&&Wn(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Jn[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||xi(e[t]))&&n.push(t);n.length&&Pi(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=Jn[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]=Jn[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
9h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},Ii=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function I(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 L=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Li(e){return re(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Ri,cancel:zi}=Fe(queueMicrotask,!1),Bi={x:!1,y:!1};function Vi(){return Bi.x||Bi.y}function Hi(e){return e===`x`||e===`y`?Bi[e]?null:(Bi[e]=!0,()=>{Bi[e]=!1}):Bi.x||Bi.y?null:(Bi.x=Bi.y=!0,()=>{Bi.x=Bi.y=!1})}function Ui(e,t){let n=I(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Wi(e){return!(e.pointerType===`touch`||Vi())}function Gi(e,t,n={}){let[r,i,a]=Ui(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(!Wi(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 Ki=(e,t)=>t?e===t||Ki(e,t.parentElement):!1,qi=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Ji=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Yi(e){return Ji.has(e.tagName)||e.isContentEditable===!0}var Xi=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Zi(e){return Xi.has(e.tagName)||e.isContentEditable===!0}var Qi=new WeakSet;function $i(e){return t=>{t.key===`Enter`&&e(t)}}function ea(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var ta=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=$i(()=>{if(Qi.has(n))return;ea(n,`down`);let e=$i(()=>{ea(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>ea(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function na(e){return qi(e)&&!Vi()}var ra=new WeakSet;function ia(e,t,n={}){let[r,i,a]=Ui(e,n),o=e=>{let r=e.currentTarget;if(!na(e)||ra.has(e))return;Qi.add(r),n.stopPropagation&&ra.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),Qi.has(r)&&Qi.delete(r),na(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Ki(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Li(e)&&(e.addEventListener(`focus`,e=>ta(e,i)),!Yi(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function aa(e){return re(e)&&`ownerSVGElement`in e}var oa=new WeakMap,sa,ca=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:aa(r)&&`getBBox`in r?r.getBBox()[t]:r[n],la=ca(`inline`,`width`,`offsetWidth`),ua=ca(`block`,`height`,`offsetHeight`);function da({target:e,borderBoxSize:t}){oa.get(e)?.forEach(n=>{n(e,{get width(){return la(e,t)},get height(){return ua(e,t)}})})}function fa(e){e.forEach(da)}function pa(){typeof ResizeObserver>`u`||(sa=new ResizeObserver(fa))}function ma(e,t){sa||pa();let n=I(e);return n.forEach(e=>{let n=oa.get(e);n||(n=new Set,oa.set(e,n)),n.add(t),sa?.observe(e)}),()=>{n.forEach(e=>{let n=oa.get(e);n?.delete(t),n?.size||sa?.unobserve(e)})}}var ha=new Set,ga;function _a(){ga=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ha.forEach(t=>t(e))},window.addEventListener(`resize`,ga)}function va(e){return ha.add(e),ga||_a(),()=>{ha.delete(e),!ha.size&&typeof ga==`function`&&(window.removeEventListener(`resize`,ga),ga=void 0)}}function ya(e,t){return typeof e==`function`?va(e):ma(e,t)}var ba={value:null,addProjectionMetrics:null};function xa(e){return aa(e)&&e.tagName===`svg`}function Sa(e,t){if(e===`first`)return 0;{let n=t-1;return e===`last`?n:n/2}}function Ca(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(i,a)=>
9{let o=typeof n==`number`?n:Sa(n,a),s=e*Math.abs(o-i);if(r){let t=a*e;s=je(r)(s/t)*t}return t+s}}var wa=[...yi,ht,jt],Ta=e=>wa.find(vi(e)),Ea=()=>({translate:0,scale:1,origin:0,originPoint:0}),Da=()=>({x:Ea(),y:Ea()}),Oa=()=>({min:0,max:0}),ka=()=>({x:Oa(),y:Oa()}),Aa=new WeakMap;function ja(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Ma(e){return typeof e==`string`||Array.isArray(e)}var Na=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Pa=[`initial`,...Na];function Fa(e){return ja(e.animate)||Pa.some(t=>Ma(e[t]))}function Ia(e){return!!(Fa(e)||e.variants)}function La(e,t,n){for(let r in t){let i=t[r],a=n[r];if(oi(i))e.addValue(r,i);else if(oi(a))e.addValue(r,Rr(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,Rr(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Ra={current:null},za={current:!1},Ba=typeof window<`u`;function Va(){if(za.current=!0,Ba)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Ra.current=e.matches;e.addEventListener(`change`,t),t()}else Ra.current=!1}var Ha=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Ua={};function Wa(e){Ua=e}function Ga(){return Ua}var Ka=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=nr,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=Ve.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,N.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=Fa(t),this.isVariantNode=Ia(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&&oi(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,Aa.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:(za.current||Va(),this.shouldReduceMotion=Ra.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(),Ie(this.notifyUpdate),Ie(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&&Tr.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new hr({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:ce(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Un.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&N.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()})}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 Ua){let t=Ua[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];
9t.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):ka()}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<Ha.length;t++){let n=Ha[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=La(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=Rr(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`&&(ne(n)||ie(n))?n=parseFloat(n):!Ta(n)&&jt.test(t)&&(n=Mi(e,t)),this.setBaseTarget(e,oi(n)?n.get():n)),oi(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=$r(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&&!oi(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 se),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Ri.render(this.render)}}
9,qa=class extends Ka{constructor(){super(...arguments),this.KeyframeResolver=Fi}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;oi(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Ja=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Ya({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Xa({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Za(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 Qa(e){return e===void 0||e===1}function $a({scale:e,scaleX:t,scaleY:n}){return!Qa(e)||!Qa(t)||!Qa(n)}function eo(e){return $a(e)||to(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function to(e){return no(e.x)||no(e.y)}function no(e){return e&&e!==`0%`}function ro(e,t,n){return n+t*(e-n)}function io(e,t,n,r,i){return i!==void 0&&(e=ro(e,i,r)),ro(e,n,r)+t}function ao(e,t=0,n=1,r,i){e.min=io(e.min,t,n,r,i),e.max=io(e.max,t,n,r,i)}function oo(e,{x:t,y:n}){ao(e.x,t.translate,t.scale,t.originPoint),ao(e.y,n.translate,n.scale,n.originPoint)}var so=.999999999999,co=1.0000000000001;function lo(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&&(uo(e.x,-a.scroll.offset.x),uo(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,oo(e,o)),r&&eo(a.latestValues)&&mo(e,a.latestValues,a.layout?.layoutBox))}t.x<co&&t.x>so&&(t.x=1),t.y<co&&t.y>so&&(t.y=1)}function uo(e,t){e.min+=t,e.max+=t}function fo(e,t,n,r,i=.5){ao(e,t,n,F(e.min,e.max,i),r)}function po(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function mo(e,t,n){let r=n??e;fo(e.x,po(t.x,r.x),t.scaleX,t.scale,t.originX),fo(e.y,po(t.y,r.y),t.scaleY,t.scale,t.originY)}function ho(e,t){return Ya(Za(e.getBoundingClientRect(),t))}function R(e,t,n){let r=ho(e,n),{scroll:i}=t;return i&&(uo(r.x,i.offset.x),uo(r.y,i.offset.y)),r}var z={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},go=Hn.length;function _o(e,t,n){let r=``,i=!0;for(let a=0;a<go;a++){let o=Hn[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=L(s,Oi[o]);if(!c){i=!1;let t=z[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${L(a,Oi.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function vo(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(Un.has(e)){o=!0;continue}else if(Ue(e)){i[e]=n;continue}else{let t=L(n,Oi[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=_o(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 yo(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 bo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var xo={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(P.test(e))e=parseFloat(e);else return e;return`${bo(e,t.target.x)}% ${bo(e,t.target.y)}%`}},So={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=jt.parse(e);if(i.length>5)return r;let a=jt.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=F(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},Co={borderRadius:{...xo,applyTo:[...Ii]},borderTopLeftRadius:xo,borderTopRightRadius:xo,borderBottomLeftRadius:xo,borderBottomRightRadius:xo,boxSh
9adow:So};function wo(e,{layout:t,layoutId:n}){return Un.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Co[e]||e===`opacity`)}function To(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(oi(r[t])||i&&oi(i[t])||wo(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Eo(e){return window.getComputedStyle(e)}var Do=class extends qa{constructor(){super(...arguments),this.type=`html`,this.renderInstance=yo}readValueFromInstance(e,t){if(Un.has(t))return this.projection?.isProjecting?Rn(t):Bn(e,t);{let n=Eo(e),r=(Ue(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){vo(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return To(e,t,n)}},Oo={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ko={offset:`strokeDashoffset`,array:`strokeDasharray`};function Ao(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Oo:ko;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var jo=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Mo(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(vo(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 jo)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&&Ao(d,i,a,o,!1)}var No=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`]),Po=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Fo(e,t,n,r){yo(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(No.has(n)?n:li(n),t.attrs[n])}function Io(e,t,n){let r=To(e,t,n);for(let n in e)if(oi(e[n])||oi(t[n])){let t=Hn.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Lo=class extends qa{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=ka}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Un.has(t)){let e=Ai(t);return e&&e.default||0}return t=No.has(t)?t:li(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Io(e,t,n)}
9build(e,t,n){Mo(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Fo(e,t,n,r)}mount(e){this.isSVGTag=Po(e.tagName),super.mount(e)}},Ro=Pa.length;function zo(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&zo(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Ro;n++){let r=Pa[n],i=e.props[r];(Ma(i)||i===!1)&&(t[r]=i)}return t}function Bo(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 Vo=[...Na].reverse(),Ho=Na.length;function Uo(e){return t=>Promise.all(t.map(({animation:t,options:n})=>gi(e,t,n)))}function Wo(e){let t=Uo(e),n=qo(),r=!0,i=!1,a=t=>(n,r)=>{let i=ei(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=zo(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Ho;t++){let p=Vo[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Ma(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||ja(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Go(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=ni(t)&&ni(n)?!Bo(t,n)||y: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=ei(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Nr(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=ei(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=qo(),i=!0}}}function Go(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Bo(t,e):!1}function Ko(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qo(){return{animate:Ko(!0),whileInView:Ko(),whileHover:Ko(),whileTap:Ko(),whileDrag:Ko(),whileFocus:Ko(),exit:Ko()}}function Jo(e,t){e.min=t.min,e.max=t.max}function Yo(e,t){Jo(e.x,t.x),Jo(e.y,t.y)}function Xo(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Zo=.9999,Qo=1.0001,$o=-.01,es=.01;function ts(e){return e.max-e.min}function ns(e,t,n){return Math.abs(e-t)<=n}function rs(e,t,n,r=.5){e.origin=r,e.originPoint=F(t.min,t.max,e.origin),e.scale=ts(n)/ts(t),e.translate=F(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Zo&&e.scale<=Qo||isNaN(e.scale))&&(e.scale=1),(e.translate>=$o&&e.translate<=es||isNaN(e.translate))&&(e.translate=0)}function is(e,t,n,r){rs(e.x,t.x,n.x,r?r.originX:void 0),rs(e.y,t.y,n.y,r?r.originY:void 0)}function as(e,t,n,r=0){e.min=(r?F(n.min,n.max,r):n.min)+t.min,e.max=e.min+ts(t)}function os(e,t,n,r){as(e.x,t.x,n.x,r?.x),as(e.y,t.y,n.y,r?.y)}function ss(e,t,n,r=0){let i=r?F(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+ts(t)}function cs(e,t,n,r){ss(e.x,t.x,n.x,r?.x),ss(e.y,t.y,n.y,r?.y)}function ls(e,t,n,r,i){return e-=t,e=ro(e,1/n,r),i!==void 0&&(e=ro(e,1/i,r)),e}function us(e,t=0,n=1,r=.5,i,a=e,o=e){if(ut.test(t)&&(t=parseFloat(t),t=F(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=F(a.min,a.max,r);e===a&&(s-=t),e.min=ls(e.min,t,n,s,i),e.max=ls(e.max,t,n,s,i)}function ds(e,t,[n,r,i],a,o){us(e,t[n],t[r],t[i],t.scale,a,o)}var fs=[`x`,`scaleX`,`originX`],ps=[`y`,`scaleY`,`originY`];function ms(e,t,n,r){ds(e.x,t,fs,n?n.x:void 0,r?r.x:void 0),ds(e.y,t,ps,n?n.y:void 0,r?r.y:void 0)}function hs(e){return e.translate===0&&e.scale===1}function gs(e){return hs(e.x)&&hs(e.y)}function _s(e,t){return e.min===t.min&&e.max===t.max}function vs(e,t){return _s(e.x,t.x)&&_s(e.y,t.y)}function ys(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function bs(e,t){return ys(e.x,t.x)&&ys(e.y,t.y)}function xs(e){return ts(e.x)/ts(e.y)}function Ss(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Cs(e){return[e(`x`),e(`y`)]}function ws(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,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}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 Ts=Ii.length,Es=e=>typeof e==`string`?parseFloat(e):e,Ds=e=>typeof e==`number`||P.test(e);function Os(e,t,n,r,i,a){i?(e.opacity=F(0,n.opacity??1,As(r)),e.opacityExit=F(t.opacity??1,0,js(r))):a&&(e.opacity=F(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ts;i++){let a=Ii[i],o=ks(t,a),s=ks(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Ds(o)===Ds(s)?(e[a]=Math.max(F(Es(o),Es(s),r),0),(ut.test(s)||ut.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=F(t.rotate||0,n.rotate||0,r))}function ks(e,t){return e[t]===void 0?e.borderRadius:e[t]}var As=Ms(0,.5,Se),js=Ms(.5,.95,A);function Ms(e,t,n){return r=>r<e?0:r>t?1:n(oe(e,t,r))}function Ns(e,t,n){let r=oi(e)?e:Rr(e);return r.start(Jr(``,r,t,n)),r.animation}function Ps(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Fs=(e,t)=>e.depth-t.depth,Is=class{constructor(){this.children=[],this.isDirty=!1}add(e){O(this.children,e),this.isDirty=!0}remove(e){k(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Fs),this.isDirty=!1,this.children.forEac
9h(e)}};function Ls(e,t){let n=Ve.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Ie(r),e(a-t))};return N.setup(r,!0),()=>Ie(r)}function Rs(e){return oi(e)?e.get():e}var zs=class{constructor(){this.members=[]}add(e){O(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&&(k(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(k(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)}},Bs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Vs={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Hs=[``,`X`,`Y`,`Z`],Us=1e3,Ws=0;function Gs(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ks(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=di(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,N,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ks(r)}function qs({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Ws++,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,ba.value&&(Vs.nodes=Vs.calculatedTargetDeltas=Vs.calculatedProjections=0),this.nodes.forEach(Xs),this.nodes.forEach(ac),this.nodes.forEach(oc),this.nodes.forEach(Zs),ba.addProjectionMetrics&&ba.addProjectionMetrics(Vs)},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 Is)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new se),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=aa(t)&&!xa(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;N.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Ls(i,250),Bs.hasAnimatedSinceResize&&(Bs.hasAnimatedSinceResize=!1,this.nodes.forEac
9h(ic)))})}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()||pc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!bs(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={...Br(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||ic(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(),Ie(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(sc),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&&Ks(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(ec),this.nodes.forEach($s);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tc);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nc),this.nodes.forEach(rc),this.nodes.forEach(Js),this.nodes.forEach(Ys)):this.nodes.forEach(tc),this.clearAllSnapshots();let e=Ve.now();Le.delta=ee(0,1e3/60,e-Le.timestamp),Le.timestamp=e,Le.isProcessing=!0,Re.update.process(Le),Re.preRender.process(Le),Re.render.process(Le),Le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ri.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Qs),this.sharedNodes.forEach(cc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,N.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){N.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ts(this.snapshot.measuredBox.x)&&!ts(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||=ka(),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&&!gs(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||eo(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)),_c(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return ka();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(yc))){let{scroll:e}=this.root;e&&(uo(t.x,e.offset.x),uo(t.y,e.offset.y))}return t}removeElementScroll(e){let t=ka();if(Yo(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&&Yo(t,e),uo(t.x,i.offset.x),uo(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||ka();Yo(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&&(uo(r.x,-n.scroll.offset.x),uo(r.y,-n.scroll.offset.y)),eo(n.latestValues)&&mo(r,n.latestValues,n.layout?.layoutBox)}return eo(this.latestValues)&&mo(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=ka();Yo(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!eo(n.latestValues))continue;let r;n.instance&&($a(n.latestValues)&&n.updateSnapshot(),r=ka(),Yo(r,n.measurePageBox())),ms(t,n.latestValues,n.snapshot?.layoutBox,r)}return eo(this.latestValues)&&ms(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||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!==Le.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;
9if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Le.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=ka(),this.targetWithTransforms=ka()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),os(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Yo(this.target,this.layout.layoutBox),oo(this.target,this.targetDelta)):Yo(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),ba.value&&Vs.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||$a(this.parent.latestValues)||to(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=ka(),this.relativeTargetOrigin=ka(),cs(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Yo(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===Le.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;Yo(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;lo(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=ka());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Xo(this.prevProjectionDelta.x,this.projectionDelta.x),Xo(this.prevProjectionDelta.y,this.projectionDelta.y)),is(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Ss(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ss(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),ba.value&&Vs.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=Da(),this.projectionDelta=Da(),this.projectionDeltaWithTransform=Da()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Da();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=ka(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(fc));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=F(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=F(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(lc(o.x,e.x,n),lc(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cs(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),dc(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&vs(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=ka(),Yo(f,this.relativeTarget)),c&&(this.animationValues=a,Os(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),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&&=(Ie(this.pendingAnimation),void 0),this.pendingAnimation=N.update(()=>{Bs.hasAnimatedSinceResize=!0,this.motionValue||=Rr(0),this.motionValue.jump(0,!1),this.currentAnimation=Ns(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{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(Us),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&&vc(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||ka();let t=ts(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=ts(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Yo(t,n),mo(t,i),is(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
9)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new zs),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}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&&Gs(`z`,e,r,this.animationValues);for(let t=0;t<Hs.length;t++)Gs(`rotate${Hs[t]}`,e,r,this.animationValues),Gs(`skew${Hs[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=Rs(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=Rs(t?.pointerEvents)||``),this.hasProjected&&!eo(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=ws(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 Co){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Co[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?Rs(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach($s),this.root.sharedNodes.clear()}}}function Js(e){e.updateLayout()}function Ys(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`)Cs(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=ts(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Jo(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else vc(i,t.layoutBox,n)&&Cs(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=ts(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=Da();is(o,n,t.layoutBox);let s=Da();a?is(s,e.applyTransform(r,!0),t.measuredBox):is(s,n,t.layoutBox);let c=!gs(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=ka();cs(s,t.layoutBox,i.layoutBox,o);let c=ka();cs(c,n,a.layoutBox,o),bs(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 Xs(e){ba.value&&Vs.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 Zs(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Qs(e){e.clearSnapshot()}function $s(e){e.clearMeasurements()}function ec(e){e.isLayoutDirty=!0,e.updateLayout()}function tc(e){e.isLayoutDirty=!1}function nc(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function rc(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function ic(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ac(e){e.resolveTargetDelta()}function oc(e){e.calcProjection()}
9function sc(e){e.resetSkewAndRotation()}function cc(e){e.removeLeadSnapshot()}function lc(e,t,n){e.translate=F(t.translate,0,n),e.scale=F(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function uc(e,t,n,r){e.min=F(t.min,n.min,r),e.max=F(t.max,n.max,r)}function dc(e,t,n,r){uc(e.x,t.x,n.x,r),uc(e.y,t.y,n.y,r)}function fc(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var pc={duration:.45,ease:[.4,0,.1,1]},mc=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hc=mc(`applewebkit/`)&&!mc(`chrome/`)?Math.round:A;function gc(e){e.min=hc(e.min),e.max=hc(e.max)}function _c(e){gc(e.x),gc(e.y)}function vc(e,t,n){return e===`position`||e===`preserve-aspect`&&!ns(xs(t),xs(n),.2)}function yc(e){return e!==e.root&&e.scroll?.wasRoot}var bc=qs({attachResizeListener:(e,t)=>Ps(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),xc={current:void 0},Sc=qs({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!xc.current){let e=new bc({});e.mount(window),e.setOptions({layoutScroll:!0}),xc.current=e}return xc.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),Cc=(0,b.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function wc(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Tc(...e){return t=>{let n=!1,r=e.map(e=>{let r=wc(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():wc(e[t],null)}}}}function Ec(...e){return b.useCallback(Tc(...e),e)}var B=C(),Dc=class extends b.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Li(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Li(e)&&e.offsetWidth||0,r=Li(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Oc({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,b.useId)(),s=(0,b.useRef)(null),c=(0,b.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,b.useContext)(Cc),u=Ec(s,e.props?.ref??e?.ref);return(0,b.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
10          [data-motion-pop-id="${o}"] {
11            position: absolute !important;
12            width: ${e}px !important;
13            height: ${u}px !important;
14            ${_}px !important;
15            ${v}px !important;
16          }
17        `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,B.jsx)(Dc,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:b.cloneElement(e,{ref:u})})}var kc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=T(Ac),d=(0,b.useId)(),f=(0,b.useRef)(n),p=(0,b.useRef)(r);E(()=>{f.current=n,p.current=r});let m=!0,h=(0,b.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,b.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),b.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,B.jsx)(Oc,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,B.jsx)(D.Provider,{value:h,children:e})};function Ac(){return new Map}function jc(e=!0){let t=(0,b.useContext)(D);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,b.useId)();(0,b.useEffect)(()=>
17{if(e)return i(a)},[e]);let o=(0,b.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Mc=e=>e.key||``;function Nc(e){let t=[];return b.Children.forEach(e,e=>{(0,b.isValidElement)(e)&&t.push(e)}),t}var Pc=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=jc(o),f=(0,b.useMemo)(()=>Nc(e),[e]),p=o&&!u?[]:f.map(Mc),m=(0,b.useRef)(!0),h=(0,b.useRef)(f),g=T(()=>new Map),_=(0,b.useRef)(new Set),[v,y]=(0,b.useState)(f),[x,S]=(0,b.useState)(f);E(()=>{m.current=!1,h.current=f;for(let e=0;e<x.length;e++){let t=Mc(x[e]);p.includes(t)?(g.delete(t),_.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}},[x,p.length,p.join(`-`)]);let C=[];if(f!==v){let e=[...f];for(let t=0;t<x.length;t++){let n=x[t],r=Mc(n);p.includes(r)||(e.splice(t,0,n),C.push(n))}return a===`wait`&&C.length&&(e=C),S(Nc(e)),y(f),null}let{forceRender:D}=(0,b.useContext)(w);return(0,B.jsx)(B.Fragment,{children:x.map(e=>{let v=Mc(e),y=o&&!u?!1:f===x||p.includes(v);return(0,B.jsx)(kc,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(_.current.has(v))return;if(g.has(v))_.current.add(v),g.set(v,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(D?.(),S(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},v)})})},Fc=(0,b.createContext)({strict:!1}),Ic={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`]},Lc=!1;function Rc(){if(Lc)return;let e={};for(let t in Ic)e[t]={isEnabled:e=>Ic[t].some(t=>!!e[t])};Wa(e),Lc=!0}function zc(){return Rc(),Ga()}function Bc(e){let t=zc();for(let n in e)t[n]={...t[n],...e[n]};Wa(t)}var V=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 Vc(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||V.has(e)}var Hc=c({default:()=>Uc}),Uc,Wc=o((()=>{throw Uc={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Gc=e=>!Vc(e);function Kc(e){typeof e==`function`&&(Gc=t=>t.startsWith(`on`)?!Vc(t):e(t))}try{Kc((Wc(),d(Hc)).default)}catch{}function qc(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||oi(e[i])||(Gc(i)||n===!0&&Vc(i)||!t&&!Vc(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}function Jc({children:e,isValidProp:t,...n}){t&&Kc(t);let r=(0,b.useContext)(Cc);n={...r,...n},n.transition=zr(n.transition,r.transition),n.isStatic=T(()=>n.isStatic);let i=(0,b.useMemo)(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion,n.skipAnimations]);return(0,B.jsx)(Cc.Provider,{value:i,children:e})}var Yc=(0,b.createContext)({});function Xc(e,t){if(Fa(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Ma(t)?t:void 0,animate:Ma(n)?n:void 0}}return e.inherit===!1?{}:t}function Zc(e){let{initial:t,animate:n}=Xc(e,(0,b.useContext)(Yc));return(0,b.useMemo)(()=>({initial:t,animate:n}),[Qc(t),Qc(n)])}function Qc(e){return Array.isArray(e)?e.join(` `):e}var $c=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function el(e,t,n){for(let r in t)!oi(t[r])&&!wo(r,n)&&(e[r]=t[r])}function tl({transformTemplate:e},t){return(0,b.useMemo)(()=>{let n=$c();return vo(n,t,e),Object.assign({},n.vars,n.style)},[t])}function nl(e,t){let n=e.style||{},r={};return el(r,n,e),Object.assign(r,tl(e,t)),r}function rl(e,t){let n={},r=nl(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`}
17`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var il=()=>({...$c(),attrs:{}});function al(e,t,n,r){let i=(0,b.useMemo)(()=>{let n=il();return Mo(n,t,Po(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};el(t,e.style,e),i.style={...t,...i.style}}return i}var ol=[`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 sl(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(ol.indexOf(e)>-1||/[A-Z]/u.test(e))}function cl(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??sl(e)?al:rl)(t,r,i,e),c=qc(t,typeof e==`string`,a),l=e===b.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,b.useMemo)(()=>oi(u)?u.get():u,[u]);return(0,b.createElement)(e,{...l,children:d})}function ll({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:ul(n,r,i,e),renderState:t()}}function ul(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Rs(a[e]);let{initial:o,animate:s}=e,c=Fa(e),l=Ia(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`&&!ja(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=$r(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 dl=e=>(t,n)=>{let r=(0,b.useContext)(Yc),i=(0,b.useContext)(D),a=()=>ll(e,t,r,i);return n?a():T(a)},fl=dl({scrapeMotionValuesFromProps:To,createRenderState:$c}),pl=dl({scrapeMotionValuesFromProps:Io,createRenderState:il}),ml=Symbol.for(`motionComponentSymbol`);function hl(e,t,n){let r=(0,b.useRef)(n);(0,b.useInsertionEffect)(()=>{r.current=n});let i=(0,b.useRef)(null);return(0,b.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());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])}var gl=(0,b.createContext)({});function _l(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function vl(e,t,n,r,i,a){let{visualElement:o}=(0,b.useContext)(Yc),s=(0,b.useContext)(Fc),c=(0,b.useContext)(D),l=(0,b.useContext)(Cc),u=l.reducedMotion,d=l.skipAnimations,f=(0,b.useRef)(null),p=(0,b.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,b.useContext)(gl);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&yl(f.current,n,i,h);let g=(0,b.useRef)(!1);(0,b.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[ui],v=(0,b.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return E(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,b.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function yl(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:bl(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&_l(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function bl(e){if(e)return e.options.allowProjection===!1?bl(e.parent):e.projection}function xl(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Bc(r);let a=n?n===`svg`:sl(e),o=a?pl:fl;function s(n,s){let c,l={...(0,b.useContext)(Cc),...n,layoutId:Sl(n)},{isStatic:u}=l,d=Zc(n),f=o(n,u);if(!u&&typeof window<`u`){Cl(l,r);let t=wl(l);c=t.MeasureLayout,d.visualElement=vl(e,f,l,i,t.ProjectionNode,a)}return(0,B.jsxs)(Yc.Provider,{value:d,children:[c&&d.visualElement?(0,B.jsx)(c,{visualElement:d.visualElement,...l}):null,cl(e,n,hl(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,b.forwardRef)(s);return c[ml]=e,c}function Sl({layoutId:e}){let t=(0,b.useContext)(w).id;return t&&e!==void 0?t+`-`+e:e}function Cl(e,t){(0,b.useContext)(Fc).strict}function wl(e){let{drag:t,layout:n}=zc();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
17function Tl(e,t){if(typeof Proxy>`u`)return xl;let n=new Map,r=(n,r)=>xl(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,xl(a,void 0,e,t)),n.get(a))})}var El=(e,t)=>t.isSVG??sl(e)?new Lo(t):new Do(t,{allowProjection:e!==b.Fragment}),Dl=class extends Ja{constructor(e){super(e),e.animationState||=Wo(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();ja(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?.()}},Ol=0,kl={animation:{Feature:Dl},exit:{Feature:class extends Ja{constructor(){super(...arguments),this.id=Ol++,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`||typeof e==`object`&&e&&!Array.isArray(e)){let n=ei(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 Al(e){return{point:{x:e.pageX,y:e.pageY}}}var jl=e=>t=>qi(t)&&e(t,Al(t));function Ml(e,t,n,r){return Ps(e,t,jl(n),r)}var Nl=({current:e})=>e?e.ownerDocument.defaultView:null,Pl=(e,t)=>Math.abs(e-t);function Fl(e,t){let n=Pl(e.x,t.x),r=Pl(e.y,t.y);return Math.sqrt(n**2+r**2)}var Il=new Set([`auto`,`scroll`]),Ll=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=Rl(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Bl(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Fl(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=Le;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=Rl(t,this.transformPagePoint),N.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=Bl(e.type===`pointercancel`?this.lastMoveEventInfo:Rl(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!qi(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Rl(Al(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=Le;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Bl(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=j(Ml(this.contextWindow,`pointermove`,this.handlePointerMove,d),Ml(this.contextWindow,`pointerup`,this.handlePointerUp,d),Ml(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Il.has(e.overflowX)||Il.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),N.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ie(this.updatePoint)}};function Rl(e,t){return t?{point:t(e.point)}:e}function zl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bl({point:e},t){return{point:e,delta:zl(e,Hl(t)),offset:zl(e,Vl(t)),velocity:H(t,.1)}}function Vl(e){return e[0]}function Hl(e){return e[e.length-1]}function H(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Hl(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ce(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>ce(t)*2&&(r=e[1]);let a=le(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 U(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?F(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?F(n,e,r.max):Math.min(e,n)),e}function W(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 G(e,{top:t,left:n,bottom:r,right:i}){return{x:W(e.x,n,i),y:W(e.y,t,r)}}function K(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 Ul(e,t){return{x:K(e.x,t.x),y:K(e.y,t.y)}}function Wl(e,t){let n=.5,r=ts(e),i=ts(t);return i>r?n=oe(t.min,t.max-r,e.min):r>i&&(n=oe(e.min,e.max-i,t.min)),ee(0,1,n)}function Gl(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 Kl=.35;function ql(e=Kl){return e===!1?e=0:e===!0&&(e=Kl),{x:Jl(e,`left`,`right`),y:Jl
17(e,`top`,`bottom`)}}function Jl(e,t,n){return{min:Yl(e,t),max:Yl(e,n)}}function Yl(e,t){return typeof e==`number`?e:e[t]||0}var Xl=new WeakMap,Zl=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=ka(),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(Al(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=Hi(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),Cs(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ut.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=ts(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&N.update(()=>i(e,t),!1,!0),ci(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=tu(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&&N.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 Ll(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Nl(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&&N.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||!eu(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=U(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&&_l(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=G(n.layoutBox,e):this.constraints=!1,this.elastic=ql(t),r!==this.constraints&&!_l(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Cs(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Gl(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!_l(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=R(n,r.root,this.visualElement.getTransformPagePoint()),a=Ul(r.layout.layoutBox,i);if(t){let e=t(Xa(a));this.hasMutatedConstraints=!!e,e&&(a=Ya(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Cs(o=>
17{if(!eu(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 ci(this.visualElement,e),n.start(Jr(e,n,0,t,this.visualElement,!1))}stopAnimation(){Cs(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Cs(t=>{let{drag:n}=this.getProps();if(!eu(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]-F(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!_l(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Cs(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Wl({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(),Cs(t=>{if(!eu(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(F(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Xl.set(this.visualElement,this);let e=this.visualElement.current,t=Ml(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Zi(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();_l(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=$l(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),N.read(r);let o=Ps(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Cs(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=Kl,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Ql(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function $l(e,t,n){let r=ya(e,Ql(n)),i=ya(t,Ql(n));return()=>{r(),i()}}function eu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function tu(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var nu=class extends Ja{constructor(e){super(e),this.removeGroupControls=A,this.removeListeners=A,this.controls=new Zl(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||A}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()}},ru=e=>(t,n)=>{e&&N.update(()=>e(t,n),!1,!0)},iu=class extends Ja{constructor(){super(...arguments),this.removePointerDownListener=A}onPointerDown(e){this.session=new Ll(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Nl(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:ru(e),onStart:ru(t),onMove:ru(n),onEnd:(e,t)=>{delete this.session,r&&N.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Ml(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},au=!1,ou=class extends b.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),au&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Bs.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}),au=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||N.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(),Ri.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;au=!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 su(e){let[t,n]=jc(),r=(0,b.useContext)(w);return(0,B.jsx)(ou,{...e,layoutGroup:r,switchLayoutGroup:(0,b.useContext)(gl),isPresent:t,safeToRemove:n})}var cu={pan:{Feature:iu},drag:{Feature:nu,ProjectionNode:Sc,MeasureLayout:su}};function lu(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&N.postRender(()=>i(t,Al(t)))}var uu=class extends Ja{mount(){let{current:e}=this.node;e&&(this.unmount=Gi(e,(e,t)=>(lu(this.node,t,`Start`),e=>lu(this.node,e,`End`))))}unmount(){}},du=class extends Ja{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=j(Ps(this.node.current,`focus`,()=>this.onFocus()),Ps(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function fu(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&&N.postRender(()=>i(t,Al(t)))}var pu=class extends Ja{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=ia(e,(e,t)=>(fu(this.node,t,`Start`),(e,{success:t})=>fu(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},mu=new WeakMap,hu=new WeakMap,gu=e=>{let t=mu.get(e.target);t&&t(e)},_u=e=>{e.forEach(gu)};function vu({root:e,...t}){let n=e||document;hu.has(n)||hu.set(n,{});let r=hu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(_u,{root:e,...t})),r[i]}function yu(e,t,n){let r=vu(t);return mu.set(e,n),r.observe(e),()=>{mu.delete(e),r.unobserve(e)}}var bu={some:0,all:1},xu=class extends Ja{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:bu[r]},o=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)};this.stopObserver=yu(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Su(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Su({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Cu={inView:{Feature:xu},tap:{Feature:pu},focus:{Feature:du},hover:{Feature:uu}},wu={layout:{ProjectionNode:Sc,MeasureLayout:su}},Tu=Tl({...kl,...Cu,...cu,...wu},El);function Eu(){!za.current&&Va();let[e]=(0,b.useState)(Ra.current);return e}var Du=Tu,Ou=(...e)=>
17e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),ku=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Au=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),ju=e=>{let t=Au(e);return t.charAt(0).toUpperCase()+t.slice(1)},Mu={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Nu=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Pu=(0,b.createContext)({}),Fu=()=>(0,b.useContext)(Pu),Iu=(0,b.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=Fu()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,b.createElement)(`svg`,{ref:c,...Mu,width:t??l??Mu.width,height:t??l??Mu.height,stroke:e??f,strokeWidth:m,className:Ou(`lucide`,p,i),...!a&&!Nu(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,b.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),Lu=(e,t)=>{let n=(0,b.forwardRef)(({className:n,...r},i)=>(0,b.createElement)(Iu,{ref:i,iconNode:t,className:Ou(`lucide-${ku(ju(e))}`,`lucide-${e}`,n),...r}));return n.displayName=ju(e),n},Ru=Lu(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),zu=Lu(`file-check-corner`,[[`path`,{d:`M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6`,key:`g5mvt7`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m14 20 2 2 4-4`,key:`15kota`}]]),Bu=Lu(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),Vu=Lu(`git-compare-arrows`,[[`circle`,{cx:`5`,cy:`6`,r:`3`,key:`1qnov2`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`,key:`1yj91y`}],[`path`,{d:`m15 9-3-3 3-3`,key:`1lwv8l`}],[`circle`,{cx:`19`,cy:`18`,r:`3`,key:`1qljk2`}],[`path`,{d:`M12 18H7a2 2 0 0 1-2-2V9`,key:`16sdep`}],[`path`,{d:`m9 15 3 3-3 3`,key:`1m3kbl`}]]),Hu=Lu(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),Uu=Lu(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Wu=Lu(`scan-search`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`m16 16-1.9-1.9`,key:`1dq9hf`}]]);function Gu(){return(0,B.jsxs)(`span`,{className:`slancha-logo`,"aria-hidden":`true`,children:[(0,B.jsx)(`img`,{className:`slancha-logo__light`,src:`/brand/resonance-lockup.svg`,alt:``,width:`1364`,height:`687`}),(0,B.jsx)(`img`,{className:`slancha-logo__dark`,src:`/brand/resonance-lockup-reverse.svg`,alt:``,width:`1364`,height:`687`})]})}var Ku=[{href:`/install`,label:`Install with AI`,route:`install`},{href:`/audit`,label:`Free audit`,route:`audit`},{href:`/optimize`,label:`Optimize`,route:`optimize`},{href:`/about`,label:`About`,route:`about`},{href:`/contact`,label:`Contact`,route:`contact`},{href:`https://app.slancha.ai/docs`,label:`Docs`},{href:`https://app.slancha.ai/login`,label:`Sign in`}];function qu({current:e}){let[t,n]=(0,b.useState)(!1),r=(0,b.useRef)(null),i=(0,b.useRef)(null);return(0,b.useEffect)(()=>{if(!t)return;let e=e=>{e.key===`Escape`&&(n(!1),r.current?.focus())},a=e=>{i.current?.contains(e.target)||n(!1)};return document.addEventListener(`keydown`,e),document.addEventListener(`pointerdown`,a),()=>{document.removeEventListener(`keydown`,e),document.removeEventListener(`pointerdown`,a)}},[t]),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`a`,{className:`trace-brand`,href:`/`,"aria-label":`Slancha home`,children:(0,B.jsx)(Gu,{})}),(0,B.jsxs)(`div`,{className:`site-navigation`,ref:i,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||n(!1)},children:[(0,B.jsxs)(`button`,{className:`nav-toggle`,ref:r,type:`button`,"aria-expanded":t,"aria-controls":`primary-links`,onClick:()=>n(!t),children:[t?`Close menu`:`Menu`,(0,B.jsx)(`span`,{"aria-hidden":`true`,children:t?`−`:`+`})]}),(0,B.jsxs)(`nav`,{id:`primary-links`,className:`site-nav${t?` site-nav--open`:``}`,"aria-label":`Primary`,children:[Ku.map(t=>(0,B.jsx)(`a`,{href:t.href,className:t.route===`install`?`nav-install`:void 0,"aria-current":t.route===e?`page`:void 0,onClick:()=>n(!1),children:t.label},t.href)),(0,B.jsxs)(`div`,{className:`nav-secondary`,children:[(0,B.jsx)(`a`,{href:`/work-with-us`,children:`Work with us`}),(0,B.jsx)(`a`,{href:`/referrals`,children:`Referrals`})]})]})]})]})}function Ju(){return(0,B.jsxs)(`footer`,{className:`trace-footer`,children:[(0,B.jsx)(`span`,{className:`front-footer-brand`,children:(0,B.jsx)(`a`,{href:`/`,"aria-label":`Slancha home`,children:(0,B.jsx)(Gu,{})})}),(0,B.jsxs)(`span`,{className:`trace-footer__links`,children:[(0,B.jsx)(`a`,{href:`https://app.slancha.ai/docs`,children:`Docs`}),(0,B.jsx)(`a`,{href:`/faq`,children:`FAQ`}),(0,B.jsx)(`a`,{href:`/contact`,children:`Contact`})]})]})}var q=[{icon:Wu,title:`Find repeated work.`,text:`Start with traces, the relevant source and an evaluator for the task. Identify repeated inputs, duplicate tool work and expensive evaluation loops.`},{icon:Vu,title:`Propose one change.`,text:`Keep the proposal small. Inspect the source context, assumptions and patch before running a comparison.`},{icon:Bu,title:`Compare cost and quality.`,text:`Compare baseline and candidate on representative tasks. Include model calls, judge calls and evaluation overhead; keep fresh trials independent.`},{icon:zu,title:`Review and decide.`,text:`Review the diff, test results and limits. A person decides whether to adopt the change. If the evidence does not support it, keep the baseline.`}];function Yu(){return(0,B.jsxs)(`div`,{className:`trace-page optimize-page`,children:[(0,B.jsx)(`header`,{className:`trace-header`,children:(0,B.jsx)(qu,{current:`optimize`})}),(0,B.jsxs)(`main`,{children:[(0,B.jsxs)(`section`,{className:`optimize-hero`,"aria-labelledby":`optimize-title`,children:[(0,B.jsx)(`div`,{className:`optimize-field`,"aria-hidden":`true`,children:(0,B.jsx)(`img`,{src:`/brand/resonance-mark.svg`,alt:``})}),(0,B.jsxs)(`div`,{className:`optimize-hero-inner`,children:[(0,B.jsxs)(`div`,{className:`optimize-copy`,children:[(0,B.jsxs)(`h1`,{id:`optimize-title`,children:[`Find work your agents`,(0,B.jsx)(`br`,{className:`optimize-break`}),` can stop repeating.`]}
17),(0,B.jsx)(`p`,{className:`optimize-dek`,children:`Find repeated work in your traces and source. Test one change against cost and task quality before adopting it.`}),(0,B.jsxs)(`div`,{className:`front-actions`,children:[(0,B.jsx)(`a`,{className:`hero-cta`,href:`/audit`,children:`Get a free audit`}),(0,B.jsx)(`a`,{className:`front-link`,href:`/contact`,children:`Request a demo`})]}),(0,B.jsx)(`p`,{className:`optimize-availability`,children:`Local prototype. Demos by arrangement; no hosted optimizer yet.`})]}),(0,B.jsxs)(`figure`,{className:`optimize-example`,children:[(0,B.jsx)(`h2`,{children:`Read the same immutable catalog once.`}),(0,B.jsxs)(`div`,{className:`optimize-comparison`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`span`,{children:`Baseline`}),(0,B.jsx)(`strong`,{children:`2`}),(0,B.jsx)(`p`,{children:`catalog dispatches`}),(0,B.jsxs)(`div`,{className:`optimize-dots`,"aria-hidden":`true`,children:[(0,B.jsx)(`i`,{}),(0,B.jsx)(`i`,{})]})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`span`,{children:`Candidate`}),(0,B.jsx)(`strong`,{children:`1`}),(0,B.jsx)(`p`,{children:`catalog dispatch`}),(0,B.jsx)(`div`,{className:`optimize-dots`,"aria-hidden":`true`,children:(0,B.jsx)(`i`,{})})]})]}),(0,B.jsx)(`p`,{className:`optimize-example-detail`,children:`Reuse that catalog result. Keep fresh model and judge trials separate.`}),(0,B.jsx)(`p`,{className:`optimize-example-limit`,children:`Local synthetic example: work counts, not token or dollar savings. Toy quality does not establish customer quality. Evaluation overhead prevented adoption.`})]})]})]}),(0,B.jsxs)(`section`,{className:`optimize-demo`,"aria-labelledby":`optimize-demo-title`,children:[(0,B.jsx)(`h2`,{id:`optimize-demo-title`,children:`Try the review workflow.`}),(0,B.jsx)(`p`,{children:`Illustrative demo. Inspect example evidence, hold a proposal or record a demo approval. All decisions stay in this page; nothing runs or deploys.`}),(0,B.jsx)(`iframe`,{title:`Illustrative workflow review demo`,src:`/demo/workflow-review.html`,sandbox:`allow-scripts allow-downloads`,loading:`lazy`}),(0,B.jsx)(`a`,{className:`front-link`,href:`/demo/workflow-review.html`,children:`Open the illustrative demo`})]}),(0,B.jsxs)(`section`,{className:`optimize-workflow`,"aria-labelledby":`optimize-workflow-title`,children:[(0,B.jsxs)(`div`,{className:`optimize-section-intro`,children:[(0,B.jsx)(`h2`,{id:`optimize-workflow-title`,children:`Test one change.`}),(0,B.jsx)(`p`,{children:`For teams running high-volume agents with established evaluations. Inspect tool calls, repeated context, retries and evaluation overhead.`})]}),(0,B.jsx)(`ol`,{children:q.map(({icon:e,title:t,text:n},r)=>(0,B.jsxs)(`li`,{children:[(0,B.jsx)(`span`,{className:`optimize-step-number`,children:r+1}),(0,B.jsx)(e,{"aria-hidden":`true`,size:24}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h3`,{children:t}),(0,B.jsx)(`p`,{children:n})]})]},t))})]}),(0,B.jsxs)(`section`,{className:`optimize-prepare`,id:`prepare`,"aria-labelledby":`optimize-prepare-title`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h2`,{id:`optimize-prepare-title`,children:`Prepare for a demo.`}),(0,B.jsx)(`p`,{children:`Bring a redacted trace, relevant source, representative tasks and quality criteria. Describe the repeated work and how you measure cost.`}),(0,B.jsx)(`p`,{children:`Share source or traces and apply changes only with approval. There is no public optimizer API or install command.`})]}),(0,B.jsxs)(`aside`,{children:[(0,B.jsx)(`h3`,{children:`Start with an audit.`}),(0,B.jsx)(`p`,{children:`Inspect recorded patterns and evidence gaps in one trace. The audit does not change code or prove an improvement.`}),(0,B.jsx)(`a`,{className:`hero-cta`,href:`/audit`,children:`Get your free audit`}),(0,B.jsx)(`a`,{className:`front-link`,href:`/contact`,children:`Discuss your workflow`})]})]})]}),(0,B.jsx)(Ju,{})]})}var Xu=[[-37.2,82.45],[-69.66,81.98],[-17.14,81.71],[-49.6,81.28],[-82.06,80.87],[-29.53,80.63],[22.99,80.4],[-62,80.25],[-94.46,79.88],[-41.93,79.67],[95.57,79.59],[-21.87,79.11],[-54.33,78.78],[-86.79,78.46],[-34.27,78.27],[103.24,78.21],[18.25,78.08],[-66.73,77.96],[-46.67,77.48],[-26.61,77.02],[-59.07,76.74],[-91.53,76.46],[-39.01,76.3],[98.5,76.25],[66.04,75.98],[-51.41,75.62],[138.63,75.41],[-83.87,75.36],[-31.34,75.21],[106.16,75.16],[-116.33,75.11],[-43.74,74.58],[93.77,74.53],[-23.68,74.2],[-56.14,73.97],[-36.08,73.6],[101.43,73.56],[-121.06,73.51],[-101,73.16],[-48.48,73.03],[89.03,72.98],[-80.94,72.81],[-28.42,72.68],[109.09,72.64],[-113.4,72.6],[-40.82,72.13],[96.69,72.09],[149.22,71.97],[116.75,71.76],[-105.74,71.72],[-53.21,71.6],[84.29,71.56],[136.82,71.44],[-85.68,71.4],[-33.15,71.28],[104.36,71.24],[71.89,71.04],[124.42,70.93],[-45.55,70.77],[91.96,70.73],[144.48,70.62],[-78.01,70.58],[112.02,70.43],[-110.47,70.39],[27.03,70.35],[79.56,70.24],[132.08,70.13],[-37.89,69.98],[99.62,69.94],[152.14,69.83],[-70.35,69.79],[67.16,69.75],[-155.33,69.72],[119.68,69.64],[-102.81,69.61],[172.2,69.53],[-50.29,69.5],[87.22,69.46],[139.74,69.35],[-82.75,69.32],[-30.23,69.21],[107.28,69.17],[22.3,69.1],[159.81,69.07],[-147.67,68.96],[127.34,68.89],[179.87,68.78],[-42.62,68.75],[94.88,68.71],[-127.61,68.68],[147.41,68.61],[62.42,68.54],[-160.07,68.5],[114.95,68.43],[-107.55,68.4],[29.96,68.36],[167.47,68.33],[82.48,68.26],[-140.01,68.23],[135.01,68.16],[-34.96,68.02],[102.55,67.99],[-119.95,67.95],[17.56,67.92],[155.07,67.89],[-67.42,67.85],[70.09,67.82],[-152.41,67.78],[122.61,67.72],[-99.88,67.68],[37.62,67.65],[175.13,67.62],[-47.36,67.58],[90.15,67.55],[-132.34,67.52],[142.67,67.45],[57.69,67.38],[110.21,67.28],[-112.28,67.25],[25.23,67.22],[162.73,67.19],[77.75,67.12],[-144.74,67.09],[130.27,67.02],[-92.22,66.99],[45.29,66.96],[-177.2,66.92],[-39.7,66.89],[97.81,66.86],[-124.68,66.83],[150.33,66.76],[-72.16,66.73],[65.35,66.7],[-157.14,66.67],[117.87,66.6],[-104.62,66.57],[32.89,66.54],[170.4,66.51],[-52.1,66.47],[85.41,66.44],[-137.08,66.41],[137.93,66.35],[-84.56,66.32],[52.95,66.28],[105.47,66.19],[-117.02,66.16],[20.49,66.13],[158,66.09],[-64.5,66.06],[73.01,66.03],[-149.48,66],[125.54,65.94],[-96.96,65.91],[178.06,65.84],[-44.43,65.81],[93.07,65.78],[-129.42,65.75],[145.6,65.69],[60.61,65.63],[-161.88,65.6],[113.14,65.53],[-109.36,65.5
17],[28.15,65.47],[165.66,65.44],[80.68,65.38],[-141.82,65.35],[133.2,65.29],[-89.29,65.26],[48.21,65.23],[-174.28,65.2],[100.74,65.14],[-121.75,65.11],[15.75,65.08],[153.26,65.05],[-69.23,65.02],[68.28,64.99],[-154.22,64.96],[-16.71,64.93],[120.8,64.9],[-101.69,64.87],[173.32,64.81],[-49.17,64.78],[88.34,64.75],[-134.15,64.72],[140.86,64.66],[55.88,64.6],[108.4,64.51],[-114.09,64.48],[160.92,64.42],[75.94,64.36],[-146.55,64.33],[128.46,64.27],[-94.03,64.24],[43.48,64.22],[-41.51,64.16],[96,64.13],[-126.49,64.1],[11.02,64.07],[148.52,64.04],[63.54,63.98],[-158.95,63.95],[-21.44,63.92],[116.06,63.89],[-106.43,63.87],[31.08,63.84],[168.59,63.81],[83.6,63.75],[-138.89,63.72],[136.13,63.66],[-86.37,63.64],[51.14,63.61],[-171.35,63.58],[103.66,63.52],[-118.83,63.49],[18.68,63.46],[156.19,63.44],[-66.3,63.41],[71.2,63.38],[-151.29,63.35],[123.73,63.29],[-98.77,63.27],[38.74,63.24],[176.25,63.21],[-46.24,63.18],[91.27,63.15],[-131.23,63.12],[143.79,63.07],[58.8,63.01],[-163.69,62.98],[111.33,62.93],[-111.16,62.9],[26.34,62.87],[163.85,62.84],[78.87,62.79],[-143.63,62.76],[131.39,62.7],[46.41,62.65],[98.93,62.57],[-123.56,62.54],[13.94,62.51],[151.45,62.48],[66.47,62.43],[-156.02,62.4],[118.99,62.35],[-103.5,62.32],[34.01,62.29],[171.51,62.26],[86.53,62.21],[-135.96,62.18],[139.05,62.13],[54.07,62.07],[106.59,61.99],[-115.9,61.96],[21.61,61.94],[159.11,61.91],[74.13,61.86],[-148.36,61.83],[126.65,61.78],[-95.84,61.75],[41.67,61.72],[-43.32,61.67],[94.19,61.64],[-128.3,61.61],[9.21,61.59],[146.72,61.56],[-75.78,61.53],[61.73,61.51],[-160.76,61.48],[114.25,61.43],[-108.24,61.4],[29.27,61.37],[166.78,61.35],[81.79,61.29],[-140.7,61.27],[134.32,61.21],[49.33,61.16],[101.86,61.08],[-120.64,61.06],[16.87,61.03],[154.38,61],[69.39,60.95],[-153.1,60.93],[121.92,60.87],[-100.57,60.85],[36.93,60.82],[89.46,60.74],[-133.04,60.72],[141.98,60.66],[57,60.61],[109.52,60.53],[-112.97,60.51],[24.53,60.48],[77.06,60.41],[-145.43,60.38],[129.58,60.33],[44.6,60.28],[97.12,60.2],[-125.37,60.17],[12.14,60.15],[149.64,60.12],[-72.85,60.1],[64.66,60.07],[-157.83,60.05],[117.18,60],[-105.31,59.97],[32.2,59.94],[84.72,59.87],[-137.77,59.84],[137.24,59.79],[52.26,59.74],[104.78,59.67],[-117.71,59.64],[-65.19,59.57],[72.32,59.54],[124.84,59.46],[-97.65,59.44],[39.86,59.41],[92.38,59.34],[-130.11,59.31],[7.4,59.29],[-77.59,59.24],[59.92,59.22],[112.45,59.14],[-110.05,59.12],[27.46,59.09],[79.98,59.02],[132.51,58.94],[47.52,58.89],[100.05,58.82],[-122.45,58.79],[15.06,58.77],[-69.92,58.72],[67.59,58.7],[-154.91,58.67],[120.11,58.62],[-102.38,58.6],[35.12,58.57],[87.65,58.5],[-134.84,58.48],[140.17,58.43],[55.19,58.38],[107.71,58.31],[-114.78,58.28],[160.23,58.23],[75.25,58.19],[127.77,58.11],[-94.72,58.09],[42.79,58.07],[95.31,57.99],[-127.18,57.97],[-74.66,57.9],[62.85,57.87],[115.37,57.8],[-107.12,57.78],[30.39,57.75],[82.91,57.68],[-2.07,57.63],[135.43,57.61],[50.45,57.56],[102.97,57.49],[-119.52,57.47],[-67,57.4],[70.51,57.37],[123.04,57.3],[-99.46,57.28],[38.05,57.26],[90.57,57.19],[-131.92,57.16],[58.11,57.07],[110.64,57],[-111.86,56.97],[25.65,56.95],[78.18,56.88],[130.7,56.81],[-91.79,56.79],[45.71,56.76],[98.24,56.7],[-124.25,56.67],[13.25,56.65],[-71.73,56.6],[65.78,56.58],[118.3,56.51],[-104.19,56.49],[33.32,56.46],[85.84,56.39],[53.38,56.28],[105.9,56.21],[-116.59,56.19],[158.42,56.14],[-64.07,56.12],[73.44,56.1],[125.96,56.03],[-96.53,56.01],[40.98,55.98],[93.5,55.91],[-128.99,55.89],[8.52,55.87],[-76.47,55.82],[61.04,55.8],[-161.45,55.78],[113.56,55.73],[-108.93,55.71],[28.58,55.69],[81.1,55.62],[-3.88,55.58],[133.63,55.55],[-88.87,55.53],[48.64,55.51],[101.16,55.44],[-121.33,55.42],[-68.8,55.35],[68.7,55.33],[121.23,55.26],[-101.27,55.24],[36.24,55.22],[88.77,55.15],[56.3,55.04],[108.83,54.97],[-113.66,54.95],[23.84,54.93],[161.35,54.91],[-61.14,54.88],[76.37,54.86],[128.89,54.79],[-93.6,54.77],[43.91,54.75],[96.43,54.68],[-126.06,54.66],[-73.54,54.6],[63.97,54.57],[116.49,54.51],[-106,54.49],[31.51,54.46],[84.03,54.4],[-.95,54.36],[136.55,54.33],[-85.94,54.31],[51.57,54.29],[104.09,54.22],[-118.4,54.2],[19.11,54.18],[156.61,54.16],[-65.88,54.14],[71.63,54.12],[124.15,54.05],[
17-98.34,54.03],[39.17,54.01],[91.69,53.94],[-78.28,53.86],[59.23,53.83],[111.75,53.77],[-110.74,53.75],[26.77,53.73],[-58.21,53.68],[79.29,53.66],[131.82,53.6],[-90.68,53.58],[46.83,53.55],[99.36,53.49],[-123.14,53.47],[14.37,53.45],[-70.61,53.4],[66.89,53.38],[119.42,53.32],[-103.07,53.3],[34.43,53.28],[86.96,53.21],[139.48,53.15],[-83.01,53.13],[54.5,53.11],[107.02,53.04],[-115.47,53.02],[22.03,53],[-62.95,52.96],[74.56,52.94],[127.08,52.87],[-95.41,52.85],[42.1,52.83],[94.62,52.77],[-127.87,52.75],[9.64,52.73],[-75.35,52.68],[62.16,52.66],[114.68,52.6],[-107.81,52.58],[29.7,52.56],[82.22,52.5],[-2.76,52.45],[134.74,52.43],[-87.75,52.41],[49.76,52.39],[102.28,52.33],[-120.21,52.31],[17.3,52.29],[-67.69,52.25],[69.82,52.22],[122.34,52.16],[-100.15,52.14],[37.36,52.12],[89.88,52.06],[4.9,52.02],[142.41,52],[57.42,51.96],[109.95,51.89],[-112.55,51.87],[24.96,51.85],[-60.02,51.81],[77.48,51.79],[130.01,51.73],[-92.48,51.71],[45.02,51.69],[97.55,51.63],[-124.95,51.61],[12.56,51.59],[-72.42,51.54],[65.09,51.52],[117.61,51.46],[-104.88,51.44],[32.62,51.42],[85.15,51.36],[.16,51.32],[137.67,51.3],[-84.82,51.28],[52.69,51.26],[105.21,51.2],[-117.28,51.18],[20.23,51.16],[-64.76,51.12],[72.75,51.1],[125.27,51.04],[-97.22,51.01],[40.29,50.99],[92.81,50.93],[7.83,50.89],[-77.16,50.85],[60.35,50.83],[112.87,50.77],[-109.62,50.75],[27.89,50.73],[-57.1,50.69],[80.41,50.67],[-4.57,50.63],[132.93,50.61],[-89.56,50.59],[47.95,50.57],[100.47,50.51],[-122.02,50.49],[15.49,50.47],[-69.5,50.43],[68.01,50.41],[120.54,50.35],[-101.96,50.33],[35.55,50.31],[88.07,50.25],[3.09,50.21],[-81.89,50.17],[55.61,50.15],[108.14,50.09],[-114.36,50.07],[23.15,50.05],[75.68,49.99],[128.2,49.93],[-94.29,49.91],[43.21,49.89],[95.74,49.84],[-126.75,49.82],[10.75,49.8],[-74.23,49.76],[63.28,49.74],[115.8,49.68],[-106.69,49.66],[30.82,49.64],[83.34,49.58],[-1.65,49.54],[135.86,49.52],[-86.63,49.5],[50.88,49.48],[103.4,49.42],[-119.09,49.4],[18.42,49.38],[70.94,49.32],[123.46,49.27],[-99.03,49.25],[38.48,49.23],[91,49.17],[6.02,49.13],[-78.97,49.09],[58.54,49.07],[111.06,49.01],[-111.43,48.99],[26.08,48.97],[78.6,48.92],[131.13,48.86],[-91.37,48.84],[46.14,48.82],[98.66,48.76],[-123.83,48.74],[13.68,48.72],[-71.3,48.68],[66.2,48.67],[118.73,48.61],[-103.77,48.59],[33.74,48.57],[86.27,48.51],[1.28,48.47],[138.79,48.45],[-83.7,48.43],[53.8,48.42],[106.33,48.36],[-116.16,48.34],[21.34,48.32],[73.87,48.26],[126.39,48.2],[-96.1,48.19],[41.41,48.17],[93.93,48.11],[8.94,48.07],[-76.04,48.03],[61.47,48.01],[113.99,47.96],[-108.5,47.94],[29.01,47.92],[-55.98,47.88],[81.53,47.86],[-3.45,47.82],[134.05,47.8],[-88.44,47.79],[49.07,47.77],[101.59,47.71],[-120.9,47.69],[16.61,47.67],[-68.38,47.63],[69.13,47.62],[121.65,47.56],[-100.84,47.54],[36.67,47.52],[89.19,47.46],[4.21,47.43],[-80.78,47.39],[56.73,47.37],[109.25,47.31],[-113.24,47.3],[24.27,47.28],[76.79,47.22],[129.32,47.16],[-93.18,47.15],[44.33,47.13],[96.86,47.07],[11.87,47.03],[-73.11,47],[64.39,46.98],[116.92,46.92],[-105.57,46.9],[31.93,46.88],[-53.05,46.85],[84.46,46.83],[-.53,46.79],[136.98,46.77],[-85.51,46.75],[104.52,46.68],[-117.97,46.66],[19.53,46.64],[-65.45,46.61],[72.06,46.59],[124.58,46.53],[-97.91,46.51],[39.6,46.49],[92.12,46.44],[7.14,46.4],[-77.85,46.36],[59.66,46.35],[112.18,46.29],[-110.31,46.27],[27.2,46.25],[79.72,46.2],[132.24,46.14],[-90.25,46.13],[47.26,46.11],[99.78,46.05],[-122.71,46.03],[14.8,46.02],[-70.19,45.98],[67.32,45.96],[119.84,45.91],[-102.65,45.89],[34.86,45.87],[87.38,45.81],[2.4,45.78],[-82.59,45.74],[54.92,45.72],[107.45,45.67],[-115.05,45.65],[22.46,45.63],[-62.52,45.6],[74.98,45.58],[127.51,45.52],[-94.98,45.5],[42.52,45.49],[95.05,45.43],[10.06,45.4],[-74.92,45.36],[62.59,45.34],[115.11,45.29],[-107.38,45.27],[82.65,45.2],[135.17,45.14],[-87.32,45.12],[102.71,45.05],[-119.78,45.03],[17.73,45.02],[-67.26,44.98],[70.25,44.96],[122.77,44.91],[-99.72,44.89],[37.79,44.87],[90.31,44.82],[5.33,44.78],[142.83,44.76],[-79.66,44.75],[57.85,44.73],[110.37,44.67],[-112.12,44.66],[25.39,44.64],[77.91,44.59],[130.43,44.53],[-92.06,44.51],[45.45,44.5],[97.97,44.44],[-72,44.37],[65.51,44.35],[118.04,44.3],[-104.46,44.28],[85.57,44.21],[.59,44.18],[-84.39,44.14],[53.11,44.12],[105.64,44.07],[-116.86,44.05],[20.65,44.03],[73.18,43.98],[125.7,43.93],[-96.79,43.91],[40.71,43.89],[93.24,43.84],[-76.73,43.77],[60.78,43.75],[113.3,43.7],[-109.19,43.68],[28.32,43.66],[80.84,43.61],[133.36,43.56],[-89.13,43.54],[100.9,43.47],[-121.59,43.45],[68.44,43.38],[120.96,43.33],[-101.53,43.31],[88.5,43.24],[3.52,43.21],[141.02,43.19],[-81.47,43.17],[56.04,43.15],[108.56,43.1],[-113.93,43.08],[23.58,43.07],[76.1,43.01],[-8.88,42.98],[128.63,42.96],[-93.87,42.95],[43.64,42.93],[96.16,42.88],[11.18,42.84],[-73.8,42.81],[63.7,42.79],[116.23,42.74],[-106.27,42.72],[83.77,42.65],[-1.22,42.62],[-86.2,42.58],[103.83,42.51],[-118.66,42.49],[18.84,42.48],[71.37,42.43],[123.89,42.37],[-98.6,42.36],[91.43,42.29],[-78.54,42.22],[58.97,42.2],[111.49,42.15],[-111,42.13],[26.51,42.12],[79.03,42.06],[-5.95,42.03],[-90.94,42],[46.57,41.98],[99.09,41.93],[-123.4,41.91],[14.11,41.89],[-70.88,41.86],[66.63,41.84],[119.15,41.79],[-103.34,41.77],[34.17,41.76],[86.69,41.71],[1.71,41.67],[-83.28,41.64],[54.23,41.62],[106.75,41.57],[-115.74,41.55],[21.77,41.53],[74.29,41.48],[126.82,41.43],[-95.68,41.42],[41.83,41.4],[94.36,41.35],[-75.61,41.28],[61.89,41.26],[114.42,41.21],[-108.07,41.2],[29.43,41.18],[81.96,41.13],[-3.03,41.09],[-88.01,41.06],[102.02,40.99],[-120.47,40.98],[17.03,40.9
176],[69.56,40.91],[122.08,40.86],[-100.41,40.84],[37.1,40.82],[89.62,40.77],[-80.35,40.71],[57.16,40.69],[109.68,40.64],[-112.81,40.62],[77.22,40.56],[-7.76,40.52],[-92.75,40.49],[44.76,40.47],[97.28,40.42],[64.82,40.34],[117.34,40.29],[-105.15,40.27],[32.36,40.25],[84.88,40.2],[-.1,40.17],[-85.09,40.14],[104.95,40.07],[-117.55,40.05],[19.96,40.04],[72.48,39.99],[125.01,39.94],[-97.48,39.92],[40.02,39.9],[92.55,39.86],[-77.42,39.79],[60.09,39.77],[112.61,39.72],[-109.88,39.71],[27.62,39.69],[80.15,39.64],[-4.84,39.61],[-89.82,39.57],[47.69,39.56],[100.21,39.51],[-122.28,39.49],[67.75,39.43],[-102.22,39.36],[35.29,39.34],[87.81,39.29],[140.33,39.24],[-82.16,39.23],[55.35,39.21],[107.87,39.16],[-114.62,39.15],[22.89,39.13],[75.41,39.08],[-94.56,39.01],[42.95,39],[95.47,38.95],[63.01,38.87],[115.54,38.82],[-106.96,38.8],[30.55,38.79],[83.07,38.74],[-1.91,38.7],[-86.89,38.67],[103.14,38.61],[-119.36,38.59],[70.68,38.52],[-99.29,38.46],[38.21,38.44],[90.74,38.39],[-79.23,38.33],[58.28,38.31],[110.8,38.26],[-111.69,38.25],[78.34,38.18],[-6.65,38.15],[-91.63,38.12],[45.88,38.1],[98.4,38.05],[13.42,38.02],[65.94,37.97],[118.46,37.92],[-104.03,37.91],[33.48,37.89],[86,37.84],[-83.97,37.78],[106.06,37.72],[-116.43,37.7],[73.6,37.63],[-96.37,37.57],[41.14,37.55],[93.66,37.51],[-76.3,37.44],[61.2,37.43],[113.73,37.38],[-108.77,37.36],[28.74,37.35],[81.27,37.3],[-3.72,37.27],[-88.7,37.23],[48.8,37.22],[101.33,37.17],[-121.16,37.15],[68.87,37.09],[121.39,37.04],[-101.1,37.03],[36.41,37.01],[88.93,36.96],[-81.04,36.9],[56.47,36.88],[108.99,36.83],[-113.5,36.82],[76.53,36.76],[129.05,36.71],[-93.44,36.69],[44.07,36.68],[96.59,36.63],[64.13,36.55],[116.65,36.5],[-105.84,36.49],[84.19,36.42],[136.72,36.37],[-85.78,36.36],[51.73,36.34],[104.25,36.3],[-118.24,36.28],[71.79,36.22],[-98.18,36.15],[39.33,36.14],[91.86,36.09],[6.87,36.06],[-78.11,36.03],[59.39,36.01],[111.92,35.96],[-110.57,35.95],[79.46,35.89],[-90.51,35.82],[47,35.81],[99.52,35.76],[67.06,35.68],[119.58,35.64],[-102.91,35.62],[87.12,35.56],[2.14,35.53],[139.64,35.51],[-82.85,35.49],[54.66,35.48],[107.18,35.43],[-115.31,35.42],[74.72,35.35],[127.24,35.31],[-95.25,35.29],[42.26,35.28],[94.78,35.23],[9.8,35.2],[62.32,35.15],[114.84,35.1],[-107.65,35.09],[82.38,35.03],[-2.6,35],[134.91,34.98],[-87.59,34.96],[49.92,34.95],[102.45,34.9],[-120.05,34.89],[69.98,34.82],[-99.98,34.76],[37.52,34.75],[90.05,34.7],[5.06,34.67],[-79.92,34.64],[57.59,34.62],[110.11,34.58],[-112.38,34.56],[77.65,34.5],[-92.32,34.44],[45.19,34.42],[97.71,34.38],[65.25,34.3],[117.77,34.25],[-104.72,34.24],[85.31,34.18],[.33,34.14],[-84.66,34.11],[52.85,34.1],[105.37,34.05],[-117.12,34.04],[72.91,33.98],[-97.06,33.91],[40.45,33.9],[92.97,33.85],[7.99,33.82],[60.51,33.78],[113.04,33.73],[-109.46,33.71],[80.57,33.65],[-4.41,33.62],[133.1,33.61],[-89.39,33.59],[48.11,33.58],[100.64,33.53],[68.18,33.46],[-101.79,33.39],[35.71,33.38],[88.24,33.33],[3.25,33.3],[-81.73,33.27],[55.78,33.26],[108.3,33.21],[-114.19,33.2],[75.84,33.14],[-94.13,33.07],[43.38,33.06],[95.9,33.01],[10.92,32.98],[63.44,32.94],[115.96,32.89],[-106.53,32.88],[83.5,32.82],[-1.48,32.79],[-86.47,32.76],[51.04,32.74],[103.56,32.7],[71.1,32.62],[-98.87,32.56],[38.64,32.54],[91.16,32.5],[6.18,32.47],[58.7,32.42],[111.23,32.38],[-111.27,32.36],[78.77,32.3],[-6.22,32.27],[131.29,32.26],[-91.2,32.24],[46.3,32.23],[98.83,32.18],[13.84,32.15],[66.37,32.11],[118.89,32.06],[-103.6,32.05],[86.43,31.99],[1.44,31.96],[-83.54,31.93],[53.97,31.91],[106.49,31.87],[-116,31.85],[21.51,31.84],[74.03,31.79],[-95.94,31.73],[41.57,31.72],[94.09,31.67],[9.11,31.64],[61.63,31.6],[114.15,31.55],[-108.34,31.54],[81.69,31.48],[-3.29,31.45],[-88.28,31.42],[49.23,31.4],[101.75,31.36],[69.29,31.28],[121.82,31.24],[-100.68,31.22],[36.83,31.21],[89.36,31.16],[4.37,31.14],[56.89,31.09],[109.42,31.05],[-113.07,31.03],[24.43,31.02],[76.96,30.97],[-8.03,30.94],[-93.01,30.91],[44.5,30.9],[97.02,30.85],[12.03,30.82],[64.56,30.78],[117.08,30.73],[-105.41,30.72],[32.1,30.7],[84.62,30.66],[-.36,30.63],[-85.35,30.6],[52.16,30.59],[104.68,30.54],[19.7,30.51],[72.22,30.47],[-97.75,30.41],[39.76,30.39],[92.28,30.35],[7.3,30.32],[59.82,3
170.28],[112.34,30.23],[-110.15,30.22],[27.36,30.2],[79.88,30.16],[-5.1,30.13],[-90.09,30.1],[47.42,30.08],[99.95,30.04],[14.96,30.01],[67.48,29.97],[120.01,29.92],[-102.48,29.91],[35.02,29.89],[87.55,29.85],[2.56,29.82],[-82.42,29.79],[55.09,29.78],[107.61,29.73],[-114.88,29.72],[22.62,29.7],[75.15,29.66],[-9.84,29.63],[-94.82,29.6],[42.69,29.59],[95.21,29.54],[10.23,29.51],[62.75,29.47],[115.27,29.42],[-107.22,29.41],[30.29,29.4],[82.81,29.35],[-2.17,29.32],[102.87,29.23],[17.89,29.21],[70.41,29.16],[-99.56,29.1],[37.95,29.09],[90.47,29.05],[5.49,29.02],[58.01,28.97],[110.54,28.93],[-111.96,28.91],[25.55,28.9],[78.07,28.86],[-6.91,28.83],[45.61,28.78],[98.14,28.74],[13.15,28.71],[65.68,28.67],[118.2,28.62],[-104.29,28.61],[33.21,28.59],[85.74,28.55],[.75,28.52],[53.28,28.48],[105.8,28.44],[20.82,28.41],[73.34,28.36],[-96.63,28.3],[40.88,28.29],[93.4,28.25],[8.42,28.22],[60.94,28.17],[113.46,28.13],[-109.03,28.12],[28.48,28.1],[81,28.06],[-3.98,28.03],[48.54,27.99],[101.06,27.94],[16.08,27.92],[68.6,27.87],[-101.37,27.81],[36.14,27.8],[88.66,27.76],[3.68,27.73],[-81.3,27.7],[56.2,27.68],[108.73,27.64],[-113.77,27.63],[23.74,27.61],[76.27,27.57],[-8.72,27.54],[43.8,27.5],[96.33,27.45],[11.34,27.43],[63.87,27.38],[116.39,27.34],[-106.1,27.33],[31.41,27.31],[83.93,27.27],[-1.06,27.24],[103.99,27.15],[19.01,27.13],[71.53,27.08],[-13.45,27.05],[-98.44,27.03],[39.07,27.01],[91.59,26.97],[6.61,26.94],[59.13,26.9],[111.65,26.85],[26.67,26.83],[79.19,26.78],[-5.79,26.75],[46.73,26.71],[99.25,26.67],[14.27,26.64],[66.79,26.6],[119.32,26.55],[-103.18,26.54],[86.86,26.48],[1.87,26.45],[106.92,26.37],[21.93,26.34],[74.46,26.3],[-10.53,26.27],[42,26.23],[94.52,26.19],[9.53,26.16],[62.06,26.11],[114.58,26.07],[-107.91,26.06],[29.6,26.04],[82.12,26],[-2.86,25.97],[49.66,25.93],[102.18,25.89],[17.2,25.86],[69.72,25.82],[-100.25,25.76],[37.26,25.75],[89.78,25.7],[4.8,25.68],[109.84,25.59],[24.86,25.56],[77.38,25.52],[-7.6,25.49],[44.92,25.45],[97.45,25.41],[12.46,25.38],[64.98,25.34],[117.51,25.29],[-104.98,25.28],[32.52,25.27],[85.05,25.22],[.06,25.2],[105.11,25.11],[20.12,25.08],[72.65,25.04],[-12.34,25.01],[40.19,24.97],[92.71,24.93],[7.73,24.9],[112.77,24.82],[27.79,24.79],[80.31,24.75],[-4.67,24.72],[47.85,24.68],[100.37,24.63],[15.39,24.61],[67.91,24.56],[-102.06,24.51],[87.97,24.45],[2.99,24.42],[55.51,24.38],[108.04,24.34],[23.05,24.31],[75.57,24.27],[-9.41,24.24],[43.11,24.2],[95.64,24.16],[10.65,24.13],[115.7,24.05],[-106.79,24.03],[30.71,24.02],[83.24,23.98],[-1.75,23.95],[50.78,23.91],[103.3,23.87],[18.32,23.84],[70.84,23.8],[-14.15,23.77],[-99.13,23.74],[90.9,23.69],[5.92,23.66],[58.44,23.62],[110.96,23.57],[25.98,23.55],[78.5,23.5],[-6.48,23.48],[46.04,23.44],[98.56,23.39],[13.58,23.37],[-103.87,23.27],[33.64,23.25],[86.16,23.21],[1.18,23.19],[53.7,23.14],[106.23,23.1],[21.24,23.07],[73.77,23.03],[-11.22,23.01],[41.3,22.96],[93.83,22.92],[8.84,22.89],[113.89,22.81],[28.91,22.78],[81.43,22.74],[-3.56,22.72],[48.97,22.67],[101.49,22.63],[16.51,22.61],[-15.95,22.54],[-100.94,22.51],[89.09,22.45],[4.11,22.43],[-80.88,22.4],[56.63,22.38],[109.15,22.34],[24.17,22.32],[76.69,22.27],[-8.29,22.25],[44.23,22.21],[96.75,22.16],[11.77,22.14],[31.83,22.03],[84.36,21.99],[-.63,21.96],[51.89,21.92],[104.42,21.88],[19.43,21.85],[71.96,21.81],[-13.03,21.78],[-98.01,21.75],[39.5,21.74],[7.03,21.67],[-77.95,21.64],[27.1,21.56],[79.62,21.52],[-5.36,21.49],[47.16,21.45],[99.68,21.41],[14.7,21.38],[-102.75,21.29],[34.76,21.27],[2.3,21.21],[54.82,21.16],[107.34,21.12],[22.36,21.1],[74.88,21.05],[-10.1,21.03],[42.42,20.99],[94.95,20.95],[9.96,20.92],[30.02,20.81],[82.55,20.77],[-2.44,20.74],[-87.42,20.71],[50.09,20.7],[102.61,20.66],[17.62,20.63],[-14.84,20.56],[-99.82,20.54],[5.23,20.46],[57.75,20.41],[110.27,20.37],[25.29,20.35],[77.81,20.31],[-7.17,20.28],[45.35,20.24],[97.87,20.2],[12.89,20.17],[-104.56,20.08],[32.95,20.06],[85.47,20.02],[.49,19.99],[53.01,19.95],[105.54,19.91],[20.55,19.89],[73.07,19.85],[-11.91,19.82],[-96.89,19.79],[8.15,19.71],[28.21,19.6],[80.74,19.56],[-4.25,19.53],[-89.23,19.51],[48.28,19.49],[100.8,19.45],[15.82,19.43],[-101.63,19.33],[35.88,19.32],[3.42,19.25],[55.94,19.21],[23.48,19.14],[76,19.1],[-8.98,19.08],[43.54,19.04],[96.06,18.99],[11.08,18.97],[31.14,18.86],[83.66,18.82],[-1.32,18.79],[51.2,18.75],[103.73,18.71],[18.74,18.69],[-13.72,18.62],[-98.7,18.59],[6.34,18.51],[26.41,18.4],[78.93,18.36],[-6.06,18.34],[-91.04,18.31],[46.47,18.3],[98.99,18.26],[14.01,18.23],[34.07,18.12],[1.61,18.05],[54.13,18.01],[21.67,17.95],[74.19,17.91],[-10.79,17.88],[-95.78,17.85],[9.27,17.77],[29.33,17.67],[81.86,17.63],[-3.13,17.6],[49.39,17.56],[101.92,17.52],[16.93,17.49],[-15.53,17.43],[121.98,17.41],[-100.51,17.4],[37,17.39],[4.53,17.32],[24.6,17.21],[77.12,17.17],[-7.86,17.15],[-92.85,17.12],[44.66,17.11],[97.18,17.07],[12.2,17.04],[32.26,16.93],[-.2,16.87],[52.32,16.83],[104.84,16.79],[19.86,16.76],[-12.6,16.69],[-97.59,16.67],[7.46,16.59],[27.52,16.48],[80.05,16.44],[-4.94,16.41],[-89.92,16.39],[47.59,16.37],[100.11,16.34],[15.12,16.31],[35.19,16.2],[2.73,16.14],[107.77,16.06],[22.79,16.03],[75.31,15.99],[-9.67,15.96],[42.85,15.92],[95.37,15.88],[10.39,15.86],[30.45,15.75],[-2.01,15.69],[-87,15.66],[50.51,
1715.65],[103.04,15.61],[18.05,15.58],[-14.41,15.51],[38.11,15.47],[5.65,15.41],[25.71,15.3],[78.24,15.26],[-6.75,15.24],[-91.73,15.21],[45.78,15.2],[98.3,15.16],[13.32,15.13],[33.38,15.03],[.92,14.96],[-84.07,14.93],[105.96,14.88],[20.98,14.85],[-11.48,14.79],[8.58,14.68],[28.64,14.58],[-3.82,14.51],[-88.8,14.49],[48.7,14.47],[101.23,14.43],[16.24,14.41],[-16.22,14.34],[121.29,14.33],[36.3,14.3],[3.84,14.24],[108.89,14.16],[23.91,14.13],[76.43,14.09],[-8.56,14.07],[43.97,14.03],[11.51,13.96],[31.57,13.86],[-.89,13.79],[-85.88,13.76],[104.15,13.71],[19.17,13.68],[-13.29,13.62],[39.23,13.58],[6.77,13.51],[26.83,13.41],[79.36,13.37],[-5.63,13.34],[99.42,13.27],[14.43,13.24],[34.5,13.14],[2.03,13.07],[107.08,12.99],[22.1,12.97],[-10.36,12.9],[42.16,12.86],[9.7,12.8],[29.76,12.69],[-2.7,12.63],[102.34,12.55],[17.36,12.52],[-15.1,12.46],[37.42,12.42],[4.96,12.35],[25.02,12.25],[77.55,12.21],[-7.44,12.18],[12.62,12.08],[32.69,11.97],[.23,11.91],[-84.76,11.88],[105.27,11.83],[20.29,11.8],[-12.17,11.74],[125.33,11.73],[40.35,11.7],[7.89,11.64],[27.95,11.53],[-4.51,11.47],[15.55,11.36],[-69.43,11.34],[35.61,11.26],[3.15,11.19],[108.2,11.12],[23.21,11.09],[-9.25,11.03],[43.28,10.99],[10.82,10.92],[-74.17,10.9],[30.88,10.82],[-1.58,10.75],[50.94,10.71],[18.48,10.65],[-13.98,10.58],[38.54,10.55],[6.08,10.48],[26.14,10.38],[78.66,10.34],[-6.32,10.31],[46.2,10.27],[98.73,10.24],[13.74,10.21],[-71.24,10.18],[118.79,10.13],[33.8,10.11],[1.34,10.04],[-83.64,10.02],[106.39,9.96],[21.41,9.94],[-63.58,9.91],[-11.06,9.87],[41.47,9.83],[9.01,9.77],[29.07,9.67],[-3.39,9.6],[49.13,9.56],[16.67,9.5],[-68.31,9.47],[36.73,9.4],[4.27,9.33],[24.33,9.23],[76.86,9.19],[-8.13,9.16],[44.39,9.12],[11.93,9.06],[-73.05,9.03],[32,8.96],[-.47,8.89],[19.6,8.79],[-65.39,8.76],[-12.86,8.72],[39.66,8.69],[7.2,8.62],[-77.79,8.6],[27.26,8.52],[79.78,8.48],[-5.2,8.45],[47.32,8.42],[99.85,8.38],[14.86,8.35],[-70.12,8.33],[34.92,8.25],[2.46,8.18],[22.52,8.08],[-62.46,8.06],[-9.94,8.02],[42.59,7.98],[10.12,7.91],[-74.86,7.89],[30.19,7.81],[-2.27,7.75],[17.79,7.64],[-67.2,7.62],[122.83,7.57],[37.85,7.54],[5.39,7.48],[25.45,7.37],[-59.53,7.35],[-7.01,7.31],[45.51,7.27],[13.05,7.21],[-71.93,7.18],[33.11,7.1],[.65,7.04],[20.71,6.94],[-64.27,6.91],[40.78,6.84],[8.32,6.77],[-76.67,6.75],[28.38,6.67],[80.9,6.63],[-4.08,6.6],[48.44,6.57],[100.96,6.53],[15.98,6.5],[-69.01,6.48],[36.04,6.4],[3.58,6.34],[23.64,6.23],[-61.34,6.21],[-8.82,6.17],[43.7,6.13],[11.24,6.07],[-73.74,6.04],[116.29,5.99],[31.3,5.96],[-1.16,5.9],[18.91,5.8],[-66.08,5.77],[38.97,5.7],[6.51,5.63],[26.57,5.53],[-58.42,5.5],[-5.89,5.46],[46.63,5.43],[14.17,5.36],[-70.81,5.34],[34.23,5.26],[21.83,5.09],[-63.15,5.07],[41.89,4.99],[9.43,4.93],[-75.55,4.9],[29.5,4.83],[-55.49,4.8],[102.08,4.68],[17.1,4.66],[-67.89,4.63],[37.16,4.56],[24.76,4.39],[-60.22,4.37],[44.82,4.29],[97.35,4.25],[12.36,4.23],[-72.62,4.2],[117.41,4.15],[32.42,4.12],[-52.56,4.1],[20.02,3.96],[-64.96,3.93],[40.09,3.85],[27.69,3.69],[-57.3,3.66],[15.29,3.52],[-69.7,3.5],[35.35,3.42],[22.95,3.26],[-62.03,3.23],[43.01,3.15],[10.55,3.09],[-74.43,3.06],[115.6,3.01],[30.61,2.99],[-54.37,2.96],[103.2,2.85],[18.21,2.82],[-66.77,2.8],[38.28,2.72],[25.88,2.55],[-59.11,2.53],[45.94,2.45],[98.46,2.41],[13.48,2.39],[-71.51,2.36],[33.54,2.29],[-51.44,2.26],[21.14,2.12],[-63.84,2.1],[41.2,2.02],[-76.24,1.93],[113.79,1.88],[28.8,1.85],[-56.18,1.83],[101.39,1.71],[16.41,1.69],[-68.58,1.66],[36.47,1.59],[24.07,1.42],[-60.92,1.39],[44.13,1.32],[11.67,1.25],[-73.31,1.23],[116.72,1.18],[31.73,1.15],[-53.25,1.13],[19.33,.99],[-65.65,.96],[124.38,.91],[39.39,.89],[-78.05,.8],[111.98,.74],[27,.72],[-57.99,.69],[99.58,.58],[14.6,.55],[-70.39,.53],[34.66,.45],[22.26,.29],[-62.72,.26],[42.32,.18],[9.86,.12],[-75.12,.1],[114.91,.04],[29.92,.02],[-55.06,-.01],[102.51,-.12],[17.52,-.15],[-67.46,-.17],[37.59,-.25],[-79.86,-.34],[110.17,-.39],[25.19,-.41],[-59.8,-.44],[12.79,-.58],[-72.2,-.6],[32.85,-.68],[-52.13,-.71],[20.45,-.85],[-64.53,-.87],[40.51,-.95],[-76.93,-1.04],[113.1,-1.09],[28.11,-1.11],[-56.87,-1.14],[133.16,-1.19],[100.7,-1.25],[15.71,-1.28],[-69.27,-1.31],[120.76,-1.36],[35.78,-1.38],[-49.21,-1.41],[23.38,-1.55],[-61.61,-1.57],[10.98,-1.71],[-74.01,-1.74],[116.03,-1.79],[31.04,-1.81],[-53.94,-1.84],[103.63,-1.96],[18.64,-1.98],[-66.34,-2.01],[38.7,-2.08],[-46.28,-2.11],[-78.74,-2.17],[111.29,-2.22],[26.3,-2.25],[-58.68,-2.27],[13.91,-2.41],[-71.08,-2.44],[33.97,-2.52],[-51.02,-2.54],[139.01,-2.59],[21.57,-2.68],[-63.42,-2.71],[-43.35,-2.81],[-75.81,-2.87],[114.22,-2.92],[29.23,-2.95],[-55.75,-2.97],[134.28,-3.03],[101.82,-3.09],[16.83,-3.11],[-68.15,-3.14],[121.88,-3.19],[36.89,-3.22],[-48.09,-3.24],[141.94,-3.29],[24.5,-3.38],[-60.49,-3.41],[-40.43,-3.51],[12.1,-3.55],[-72.89,-3.57],[32.16,-3.65],[-52.83,-3.68],[137.21,-3.73],[104.74,-3.79],[19.76,-3.82],[-65.22,-3.84],[-45.16,-3.94],[-77.62,-4.01],[27.42,-4.08],[-57.56,-4.11],[15.02,-4.25],[-69.96,-4.28],[120.07,-4.33],[35.09,-4.35],[-49.9,-4.38],[140.13,-4.43],[22.69,-4.52],[-62.3,-4.54],[-42.24,-4.65],[
17-74.7,-4.71],[30.35,-4.79],[-54.63,-4.81],[17.95,-4.95],[-67.03,-4.98],[123,-5.03],[38.01,-5.06],[-46.97,-5.08],[143.06,-5.13],[-79.43,-5.15],[25.61,-5.22],[-59.37,-5.25],[-39.31,-5.35],[13.21,-5.39],[-71.77,-5.41],[33.28,-5.49],[-51.71,-5.52],[138.32,-5.57],[20.88,-5.66],[-64.11,-5.68],[-44.04,-5.78],[145.99,-5.84],[-76.51,-5.85],[28.54,-5.93],[-56.44,-5.95],[-36.38,-6.05],[16.14,-6.09],[-68.84,-6.12],[36.2,-6.19],[-48.78,-6.22],[141.25,-6.27],[23.8,-6.36],[-61.18,-6.39],[-41.12,-6.49],[-73.58,-6.55],[31.47,-6.63],[-53.52,-6.66],[19.07,-6.8],[156.58,-6.81],[-65.92,-6.82],[39.13,-6.9],[-45.85,-6.92],[144.18,-6.98],[-78.31,-6.99],[111.72,-7.04],[26.73,-7.07],[-58.25,-7.09],[-38.19,-7.19],[14.33,-7.23],[-70.65,-7.26],[34.39,-7.34],[-50.59,-7.36],[139.44,-7.41],[22,-7.5],[-62.99,-7.53],[-42.93,-7.63],[147.1,-7.68],[-75.39,-7.7],[29.66,-7.77],[-55.33,-7.8],[-35.26,-7.9],[17.26,-7.94],[-67.72,-7.97],[37.32,-8.04],[-47.66,-8.07],[142.37,-8.12],[24.92,-8.21],[-60.06,-8.24],[-40,-8.34],[-72.46,-8.4],[117.57,-8.45],[32.59,-8.48],[-52.4,-8.51],[20.19,-8.65],[-64.8,-8.67],[125.23,-8.72],[-44.74,-8.78],[-77.2,-8.84],[27.85,-8.92],[-57.13,-8.94],[-37.07,-9.05],[15.45,-9.09],[-69.53,-9.11],[35.51,-9.19],[-49.47,-9.21],[23.11,-9.36],[-61.87,-9.38],[-41.81,-9.49],[148.22,-9.54],[-74.27,-9.55],[30.78,-9.63],[-54.21,-9.65],[18.38,-9.8],[-66.61,-9.82],[38.44,-9.9],[-46.54,-9.92],[26.04,-10.07],[-58.94,-10.09],[-38.88,-10.2],[13.64,-10.24],[-71.34,-10.26],[33.7,-10.34],[-51.28,-10.36],[21.3,-10.51],[-63.68,-10.53],[-43.62,-10.64],[-76.08,-10.7],[28.97,-10.78],[-56.02,-10.8],[16.57,-10.95],[-68.42,-10.97],[36.63,-11.05],[-48.35,-11.08],[24.23,-11.22],[-60.75,-11.25],[-40.69,-11.35],[-73.15,-11.41],[31.89,-11.49],[-53.09,-11.52],[19.5,-11.66],[-65.49,-11.69],[39.56,-11.77],[-45.43,-11.79],[27.16,-11.93],[-57.83,-11.96],[-37.76,-12.07],[14.76,-12.1],[-70.22,-12.13],[34.82,-12.21],[-50.16,-12.23],[22.42,-12.38],[-62.56,-12.4],[-42.5,-12.51],[-74.96,-12.57],[30.09,-12.65],[-54.9,-12.68],[135.13,-12.73],[17.69,-12.82],[-67.3,-12.85],[37.75,-12.93],[-47.24,-12.95],[142.8,-13],[25.35,-13.1],[-59.63,-13.12],[130.4,-13.17],[-39.57,-13.23],[12.95,-13.27],[-72.03,-13.29],[33.01,-13.37],[-51.97,-13.4],[20.61,-13.54],[-64.37,-13.57],[-44.31,-13.67],[28.28,-13.82],[-56.71,-13.84],[133.32,-13.89],[48.34,-13.92],[15.88,-13.99],[-69.11,-14.01],[35.94,-14.09],[-49.04,-14.12],[23.54,-14.26],[-61.44,-14.29],[-41.38,-14.39],[-73.84,-14.46],[31.2,-14.54],[-53.78,
17-14.56],[18.8,-14.71],[-66.18,-14.74],[38.87,-14.81],[-46.12,-14.84],[143.91,-14.89],[26.47,-14.99],[-58.52,-15.01],[131.51,-15.07],[14.07,-15.16],[-70.92,-15.18],[34.13,-15.26],[-50.85,-15.29],[21.73,-15.43],[-63.25,-15.46],[126.78,-15.51],[-43.19,-15.57],[29.39,-15.71],[-55.59,-15.74],[134.44,-15.79],[49.46,-15.82],[17,-15.88],[-67.99,-15.91],[37.06,-15.99],[-47.93,-16.02],[142.1,-16.07],[24.66,-16.16],[-60.33,-16.19],[129.71,-16.24],[44.72,-16.27],[-40.26,-16.3],[12.26,-16.34],[-72.72,-16.36],[32.32,-16.44],[-52.66,-16.47],[137.37,-16.52],[19.92,-16.61],[-65.06,-16.64],[124.97,-16.69],[-45,-16.75],[145.03,-16.8],[27.59,-16.89],[-57.4,-16.92],[132.63,-16.97],[47.65,-17],[15.19,-17.07],[-69.8,-17.09],[35.25,-17.17],[-49.74,-17.2],[22.85,-17.35],[-62.13,-17.37],[127.9,-17.43],[-42.07,-17.48],[30.51,-17.63],[-54.47,-17.65],[135.56,-17.71],[18.11,-17.8],[-66.87,-17.83],[123.16,-17.88],[-46.81,-17.93],[143.22,-17.99],[25.78,-18.08],[-59.21,-18.11],[130.82,-18.16],[45.84,-18.19],[13.38,-18.26],[33.44,-18.36],[-51.54,-18.39],[138.49,-18.44],[21.04,-18.54],[-63.94,-18.56],[126.09,-18.62],[-43.88,-18.67],[146.15,-18.73],[28.7,-18.82],[-56.28,-18.85],[133.75,-18.9],[48.77,-18.93],[16.3,-18.99],[-68.68,-19.02],[-48.62,-19.13],[141.41,-19.18],[23.97,-19.28],[-61.02,-19.3],[129.01,-19.36],[-40.95,-19.41],[31.63,-19.56],[-53.35,-19.59],[136.68,-19.64],[19.23,-19.74],[-65.75,-19.76],[124.28,-19.82],[-45.69,-19.87],[144.34,-19.93],[26.89,-20.02],[-58.09,-20.05],[131.94,-2
170.1],[46.96,-20.13],[14.5,-20.2],[119.54,-20.28],[34.56,-20.31],[-50.43,-20.33],[139.6,-20.39],[22.16,-20.48],[-62.83,-20.51],[127.21,-20.56],[-42.76,-20.62],[147.27,-20.67],[29.82,-20.77],[-55.16,-20.8],[134.87,-20.85],[17.42,-20.95],[-67.56,-20.97],[122.47,-21.03],[-47.5,-21.08],[142.53,-21.14],[25.09,-21.23],[-59.9,-21.26],[130.13,-21.31],[45.15,-21.34],[117.73,-21.49],[32.75,-21.52],[-52.24,-21.55],[137.8,-21.6],[20.35,-21.7],[-64.63,-21.73],[125.4,-21.78],[-44.57,-21.83],[145.46,-21.89],[28.01,-21.99],[-56.97,-22.01],[133.06,-22.07],[15.61,-22.16],[-69.37,-22.19],[120.66,-22.25],[-49.31,-22.3],[140.72,-22.36],[23.28,-22.45],[-61.71,-22.48],[128.32,-22.54],[43.34,-22.56],[148.39,-22.65],[115.92,-22.72],[30.94,-22.74],[-54.04,-22.77],[135.99,-22.83],[18.54,-22.92],[-66.44,-22.95],[123.59,-23.01],[-46.38,-23.06],[143.65,-23.12],[26.2,-23.21],[-58.78,-23.24],[131.25,-23.3],[46.27,-23.32],[118.85,-23.48],[33.87,-23.5],[-51.12,-23.53],[138.91,-23.59],[21.47,-23.69],[-63.52,-23.71],[126.51,-23.77],[146.58,-23.88],[114.12,-23.95],[29.13,-23.98],[-55.85,-24.01],[134.18,-24.06],[16.73,-24.16],[-68.25,-24.19],[121.78,-24.24],[-48.19,-24.3],[141.84,-24.35],[24.39,-24.45],[-60.59,-24.48],[129.44,-24.54],[44.46,-24.56],[149.5,-24.65],[117.04,-24.72],[32.06,-24.75],[-52.93,-24.77],[137.1,-24.83],[19.66,-24.93],[-65.33,-24.96],[124.71,-25.01],[144.77,-25.13],[27.32,-25.22],[-57.66,-25.25],[132.37,-25.31],[14.92,-25.41],[152.43,-25.42],[-70.06,-25.44],[119.97,-25.49],[-50,-25.55],[140.03,-25.6],[22.59,-25.7],[-62.4,-25.73],[127.63,-25.79],[147.69,-25.9],[115.23,-25.97],[30.25,-26],[-54.74,-26.03],[135.3,-26.09],[17.85,-26.19],[-67.13,-26.21],[122.9,-26.27],[142.96,-26.38],[25.51,-26.48],[-59.47,-26.51],[130.56,-26.57],[150.62,-26.68],[118.16,-26.75],[-51.81,-26.81],[138.22,-26.87],[20.78,-26.97],[-64.21,-27],[125.82,-27.05],[145.89,-27.17],[28.44,-27.27],[-56.54,-27.3],[133.49,-27.35],[16.04,-27.45],[-68.94,-27.48],[121.09,-27.54],[-48.88,-27.6],[141.15,-27.66],[23.7,-27.76],[-61.28,-27.79],[128.75,-27.84],[148.81,-27.96],[116.35,-28.03],[31.37,-28.06],[-53.62,-28.09],[136.41,-28.15],[18.97,-28.25],[-66.02,-28.28],[124.01,-28.33],[144.08,-28.45],[26.63,-28.55],[-58.35,-28.58],[131.68,-28.64],[151.74,-28.75],[-70.75,-28.77],[119.28,-28.83],[-50.69,-28.89],[139.34,-28.94],[21.89,-29.05],[-63.09,-29.07],[126.94,-29.13],[147,-29.25],[29.56,-29.35],[-55.43,-29.38],[134.6,-29.44],[17.16,-29.54],[-67.83,-29.57],[122.21,-29.63],[142.27,-29.75],[24.82,-29.85],[-60.16,-29.88],[129.87,-29.94],[149.93,-30.06],[117.47,-30.13],[-52.5,-30.19],[137.53,-30.25],[20.09,-30.35],[-64.9,-30.38],[125.13,-30.44],[145.19,-30.56],[27.75,-30.66],[-57.24,-30.69],[132.8,-30.75],[152.86,-30.87],[-69.63,-30.88],[120.4,-30.94],[140.46,-31.06],[23.01,-31.16],[-61.97,-31.19],[128.06,-31.25],[148.12,-31.37],[115.66,-31.45],[-54.31,-31.51],[135.72,-31.57],[18.28,-31.67],[-66.71,-31.7],[123.32,-31.76],[143.39,-31.88],[25.94,-31.99],[-59.04,-32.02],[151.05,-32.2],[-71.44,-32.21],[118.59,-32.27],[138.65,-32.39],[21.2,-32.5],[-63.78,-32.53],[146.31,-32.71],[-56.12,-32.85],[-68.52,-33.04],[121.51,-33.1],[141.58,-33.23],[24.13,-33.33],[-60.85,-33.36],[149.24,-33.55],[116.78,-33.62],[136.84,-33.75],[19.39,-33.85],[-65.59,-33.88],[144.5,-34.07],[-57.93,-34.21],[-70.33,-34.41],[139.77,-34.59],[-62.66,-34.73],[147.43,-34.92],[-67.4,-35.26],[142.69,-35.45],[-59.74,-35.59],[-72.13,-35.79],[-64.47,-36.12],[145.62,-36.31],[-56.81,-36.45],[-69.21,-36.66],[140.89,-36.85],[-61.54,-36.99],[148.55,-37.19],[-66.28,-37.54],[143.81,-37.73],[-58.62,-37.88],[-71.02,-38.09],[-63.35,-38.43],[146.74,-38.62],[-68.09,-38.98],[174.46,-39.1],[-72.83,-39.54],[-65.16,-39.89],[-69.9,-40.45],[147.86,-41.01],[-66.97,-41.38],[175.58,-41.5],[-71.71,-41.96],[-64.04,-42.32],[146.05,-42.53],[-68.78,-42.91],[-65.85,-43.87],[-70.59,-44.48],[167.23,-45.21],[-67.66,-45.47],[-72.4,-46.09],[-69.47,-47.11],[-74.21,-47.75],[-66.54,-48.15],[-71.28,-48.8],[-68.35,-49.88],[-73.09,-50.55],[-70.16,-51.67],[-71.97,-53.53],[-69.04,-54.73],[111.94,-66.38],[132,-66.63],[87.14,-67.22],[139.67,-67.32],[54.68,-67.38],[107.21,-67.48],[127.27,-67.75],[94.81,-67.92],[62.35,-68.09],[114.87,-68.19],[82.41,-68.36],[134.93,-68.47],[49.95,-68.54],[102.47,-68.64],[-67.5,-68.78],[122.53,-68.92],[90.07,-69.1],[142.59,-69.21],[57.61,-69.28],[110.13,-69.39],[77.67,-69.57],[130.19,-69.68],[45.21,-69.75],[97.73,-69.86],[150.26,-69.98],[65.27,-70.05],[117.8,-70.16],[32.81,-70.24],[85.33,-70.35],[137.86,-70.47],[52.87,-70.54],[105.4,-70.66],[20.41,-70.73],[157.92,-70.77],[-64.57,-70.81],[72.94,-70.85],[125.46,-70.97],[40.47,-71.04],[93,-71.16],[8.01,-71.24],[145.52,-71.28],[60.54,-71.36],[113.06,-71.48],[28.08,-71.56],[165.58,-71.6],[80.6,-71.68],[-4.39,-71.76],[133.12,-71.8],[48.14,-71.89],[100.66,-72.01],[15.68,-72.09],[153.18,-72.13],[-69.31,-72.17],[68.2,-72.22],[120.72,-72.34],[35.74,-72.43],[88.26,-72.55],[3.28,-72.64],[140.78,-72.68],[55.8,-72.77],[108.32,-72.9],[23.34,-72.98],[160.85,-73.03],[-61.65,-73.07],[75.86,-73.11],[-9.12,-73.2],[128.39,-73.25],[43.4,-73.33],[95.92,-73.47],[-126.57,-73.51],[10.94,-73.56],[148.45,-73.6],[63.46,-73.69],[115.99,-73.83],[31,-73.92],[83.53,-74.06],[-1.46,-74.15],[136.05,-74.2],[-86.44,-74.25],[51.06,-74.29],[103.59,-74.44],[-118.9,-74.48],[18.6,-74.53],[156.11,-74.58],[-66.38,-74.63],[71.13,-74.67],[-13.86,-74.77],[123.65,-74.82],[-98.84,-74.87],[38.67,-74.92],[91.19,-75.06],[-131.3,-75.11],[6.2,-75.16],[143.71,-75.21],[-78.78,-75.26],[58.73,-75.31],[111.25,-75.47],[-111.24,-75.52],[26.27,-75.57],[163.77,-75.62],[78.79,-75.72],[-143.7,-75.77],[-6.19,-75.82],[131.31,-75.88],[-91.18,-75.93],[46.33,-75.98],[98.85,-76.14],[-123.64,-76.19],[13.87,-76.25],[151.37,-76.3],[-71.12,-76.35
17],[66.39,-76.41],[-18.59,-76.52],[118.91,-76.57],[-103.58,-76.63],[33.93,-76.68],[86.45,-76.85],[-136.04,-76.91],[1.47,-76.96],[138.98,-77.02],[-83.52,-77.08],[53.99,-77.13],[106.51,-77.3],[-115.98,-77.36],[21.53,-77.42],[159.04,-77.48],[74.05,-77.6],[-148.44,-77.66],[-10.93,-77.72],[126.58,-77.78],[-95.92,-77.84],[41.59,-77.9],[94.12,-78.08],[-128.38,-78.14],[9.13,-78.21],[146.64,-78.27],[61.65,-78.39],[-23.33,-78.52],[114.18,-78.59],[-108.31,-78.65],[29.19,-78.71],[81.72,-78.91],[-140.78,-78.98],[-3.27,-79.04],[134.24,-79.11],[-88.25,-79.18],[49.26,-79.25],[101.78,-79.45],[-120.71,-79.52],[16.79,-79.59],[154.3,-79.67],[69.32,-79.81],[-15.67,-79.95],[121.84,-80.03],[-100.65,-80.1],[36.86,-80.17],[-48.13,-80.32],[89.38,-80.4],[-133.11,-80.48],[4.4,-80.55],[141.9,-80.63],[-80.59,-80.71],[56.92,-80.79],[-28.07,-80.95],[109.44,-81.03],[-113.05,-81.11],[24.46,-81.2],[76.98,-81.45],[-145.51,-81.54],[-8,-81.62],[129.5,-81.71],[-92.99,-81.8],[44.52,-81.89],[-40.47,-82.07],[97.04,-82.17],[-125.45,-82.26],[12.06,-82.35],[149.57,-82.45],[-72.93,-82.55],[64.58,-82.65],[-20.4,-82.85],[117.1,-82.95],[-105.39,-83.06],[32.12,-83.16],[-52.86,-83.38],[84.64,-83.49],[-137.85,-83.6],[-.34,-83.72],[137.17,-83.84],[-85.33,-83.96],[52.18,-84.08],[-170.31,-84.2],[-32.8,-84.33],[104.71,-84.46],[-117.79,-84.6],[19.72,-84.73],[157.23,-84.87],[-65.26,-85.02],[72.24,-85.17],[-12.74,-85.48],[124.77,-85.64],[-97.72,-85.81],[39.78,-85.99],[177.29,-86.18],[-45.2,-86.38],[92.31,-86.58],[-130.19,-86.8],[7.32,-87.04],[144.83,-87.3],[-77.66,-87.58],[59.85,-87.91],[-162.65,-88.29],[-25.14,-88.79],[180,-90]],Zu=[{lang:`ga`,langName:`Irish Gaelic`,word:`Sláinte`,say:`Slawn-cha`,meaning:`Health`,lat:53.4,lng:-8},{lang:`zh-Hans`,langName:`Mandarin`,word:`干杯`,say:`Gan bay`,meaning:`Dry the cup`,lat:39.9,lng:116.4},{lang:`es-AR`,langName:`Spanish · Argentina`,word:`Salud`,say:`Sah-lude`,meaning:`Health`,lat:-34.6,lng:-58.4},{lang:`ar-EG`,langName:`Arabic · Egypt`,word:`فى صحتك`,say:`Fe sahetek`,meaning:`To your health`,lat:30,lng:31.2},{lang:`ja`,langName:`Japanese`,word:`乾杯`,say:`Kan-pie`,meaning:`Dry the cup`,lat:35.7,lng:139.7},{lang:`fil`,langName:`Filipino`,word:`Mabuhay`,say:`Mah-boo-hay`,meaning:`Long live`,lat:14.6,lng:121},{lang:`de`,langName:`German`,word:`Prost`,say:`Prohst`,meaning:`May it be good`,lat:52.5,lng:13.4},{lang:`haw`,langName:`Hawaiian`,word:`Ōkole maluna`,say:`Okole maluna`,meaning:`Bottoms up`,lat:21.3,lng:-157.9},{lang:`en-US`,langName:`English · USA`,word:`Cheers`,say:`Cheers`,meaning:`Good cheer`,lat:40.7,lng:-74},{lang:`af`,langName:`Afrikaans`,word:`Gesondheid`,say:`Ge-sund-hate`,meaning:`Health`,lat:-30.6,lng:22.9},{lang:`sq`,langName:`Albanian`,word:`Gëzuar`,say:`Geh-zoo-ah`,meaning:`Rejoice`,lat:41.3,lng:19.8},{lang:`az`,langName:`Azerbaijani`,word:`Nuş olsun`,say:`Nush ohlsun`,meaning:`May it be sweet`,lat:40.4,lng:49.9},{lang:`bs`,langName:`Bosnian`,word:`Živjeli`,say:`Zhee-vi-lee`,meaning:`Live long`,lat:43.9,lng:18.4},{lang:`bg`,langName:`Bulgarian`,word:`Наздраве`,say:`Naz-dra-vey`,meaning:`To health`,lat:42.7,lng:23.3},{lang:`my`,langName:`Burmese`,word:`Aung myin par say`,say:`Aung my-in par say`,meaning:`May you succeed`,lat:16.8,lng:96.2},{lang:`ca`,langName:`Catalan`,word:`Salut`,say:`Sah-lut`,meaning:`Health`,lat:41.4,lng:2.2},{lang:`ch`,langName:`Chamorro`,word:`Biba`,say:`Bih-bah`,meaning:`Live`,lat:13.4,lng:144.8},{lang:`es-CR`,langName:`Costa Rican`,word:`Pura vida`,say:`Poora veeda`,meaning:`Pure life`,lat:9.9,lng:-84.1},{lang:`hr`,langName:`Croatian`,word:`Živjeli`,say:`Zhee-ve-lee`,meaning:`Live long`,lat:45.8,lng:16},{lang:`cs`,langName:`Czech`,word:`Na zdraví`,say:`Naz-drah-vee`,meaning:`To health`,lat:50.1,lng:14.4},{lang:`da`,langName:`Danish`,word:`Skål`,say:`Skoal`,meaning:`To the bowl`,lat:55.7,lng:12.6},{lang:`nl`,langName:`Dutch`,word:`Proost`,say:`Prohst`,meaning:`May it be good`,lat:52.4,lng:4.9},{lang:`et`,langName:`Estonian`,word:`Terviseks`,say:`Ter-vih-sex`,meaning:`For health`,lat:59.4,lng:24.8},{lang:`fi`,langName:`Finnish`,word:`Kippis`,say:`Kip-piss`,meaning:`Clink`,lat:60.2,lng:24.9},{lang:`fr`,langName:`French · DR Congo`,word:`Santé`,say:`Sahn-tay`,meaning:`To your health`,lat:-4.3,lng:15.3},{lang:`el`,langName:`Greek`,word:`ΥΓΕΙΑ`,say:`Yamas`,meaning:`Health`,lat:38,lng:23.7},{lang:`he`,langName:`Hebrew`,word:`לחיים`,say:`Leh hayem`,meaning:`To life`,lat:32.1,lng:34.8},{lang:`hu`,langName:`Hungarian`,word:`Egészségedre`,say:`Egg-esh ay-ged-reh`,meaning:`To your health`,lat:47.5,lng:19},{lang:`is`,langName:`Icelandic`,word:`Skál`,say:`Sk-owl`,meaning:`To the bowl`,lat:64.1,lng:-21.9},{lang:`it`,langName:`Italian`,word:`Cin cin`,say:`Chin chin`,meaning:`Cheers`,lat:41.9,lng:12.5}
17,{lang:`ko`,langName:`Korean`,word:`건배`,say:`Gun bae`,meaning:`Dry the glass`,lat:37.6,lng:127},{lang:`lv`,langName:`Latvian`,word:`Priekā`,say:`Pree-eh-ka`,meaning:`To joy`,lat:56.9,lng:24.1},{lang:`lt`,langName:`Lithuanian`,word:`Į sveikatą`,say:`Ee sweh-kata`,meaning:`To health`,lat:54.7,lng:25.3},{lang:`mk`,langName:`Macedonian`,word:`На здравје`,say:`Na zdravye`,meaning:`To health`,lat:42,lng:21.4},{lang:`mn`,langName:`Mongolian`,word:`Tulgatsgaaya`,say:`Tul-gats-gah-ya`,meaning:`Let us raise`,lat:47.9,lng:106.9},{lang:`no`,langName:`Norwegian`,word:`Skål`,say:`Skawl`,meaning:`To the bowl`,lat:59.9,lng:10.8},{lang:`pl`,langName:`Polish`,word:`Na zdrowie`,say:`Naz-droh-vee-ay`,meaning:`To health`,lat:52.2,lng:21},{lang:`pt-BR`,langName:`Portuguese · Brazil`,word:`Saúde`,say:`Saw-oo-de`,meaning:`Health`,lat:-23.55,lng:-46.6},{lang:`ro`,langName:`Romanian`,word:`Noroc`,say:`No-rock`,meaning:`Good luck`,lat:44.4,lng:26.1},{lang:`ru`,langName:`Russian`,word:`На здоровье`,say:`Nahz-drovia`,meaning:`To health`,lat:55.8,lng:37.6},{lang:`sr`,langName:`Serbian`,word:`Živeli`,say:`Zhee-ve-lee`,meaning:`Live long`,lat:44.8,lng:20.5},{lang:`sk`,langName:`Slovak`,word:`Na zdravie`,say:`Naz-drah-vee-ay`,meaning:`To health`,lat:48.1,lng:17.1},{lang:`sl`,langName:`Slovenian`,word:`Na zdravje`,say:`Naz-drah-vee`,meaning:`To health`,lat:46.1,lng:14.5},{lang:`es-MX`,langName:`Spanish · Mexico`,word:`Salud`,say:`Sah-lud`,meaning:`Health`,lat:19.4,lng:-99.1},{lang:`sv`,langName:`Swedish`,word:`Skål`,say:`Skawl`,meaning:`To the bowl`,lat:59.3,lng:18.1},{lang:`gsw`,langName:`Swiss German`,word:`Proscht`,say:`Pro-skt`,meaning:`May it be good`,lat:47.4,lng:8.5},{lang:`th`,langName:`Thai`,word:`Chai yo`,say:`Chay yo`,meaning:`Hurrah`,lat:13.8,lng:100.5},{lang:`tr`,langName:`Turkish`,word:`Şerefe`,say:`Sher-i-feh`,meaning:`To honor`,lat:41,lng:28.9},{lang:`uk`,langName:`Ukrainian`,word:`Будьмо`,say:`Boodmo`,meaning:`Let us be`,lat:50.45,lng:30.5},{lang:`vi`,langName:`Vietnamese`,word:`Một hai ba, yô`,say:`Moat hi bah, yo`,meaning:`One two three, cheers`,lat:21,lng:105.8},{lang:`cy`,langName:`Welsh`,word:`Iechyd da`,say:`Yeh-chid dah`,meaning:`Good health`,lat:51.5,lng:-3.2},{lang:`yi`,langName:`Yiddish`,word:`Sei gesund`,say:`Say geh-sun`,meaning:`Be healthy`,lat:40.65,lng:-73.95},{lang:`sw`,langName:`Swahili`,word:`Maisha marefu!`,say:`Mah-ee-shah mah-reh-foo`,meaning:`Long life`,lat:-6.79,lng:39.28},{lang:`zu`,langName:`Zulu`,word:`Akubekuhle!`,say:`Ah-koo-beh-koo-hleh`,meaning:`May it be well`,lat:-29.86,lng:31.03},{lang:`xh`,langName:`Xhosa`,word:`Impilo!`,say:`Im-pee-loh`,meaning:`Health`,lat:-32.98,lng:27.87},{lang:`yo`,langName:`Yoruba`,word:`Ayọ ni o!`,say:`Ah-yaw nee oh`,meaning:`It is joy`,lat:7.38,lng:3.95},{lang:`am`,langName:`Amharic`,word:`ለጤናችን`,say:`Leh-tay-nah-chin`,meaning:`To our health`,lat:9.03,lng:38.74},{lang:`wo`,langName:`Wolof`,word:`Wér gu yaram!`,say:`Wehr goo yah-rahm`,meaning:`Bodily health`,lat:14.72,lng:-17.47},{lang:`mg`,langName:`Malagasy`,word:`Mirary fahasalamana!`,say:`Mee-rah-ree fah-sah-lah-mah-nah`,meaning:`Wishing you health`,lat:-18.88,lng:47.52},{lang:`fa`,langName:`Persian`,word:`به سلامتی`,say:`Beh sah-lah-mah-tee`,meaning:`To health`,lat:35.69,lng:51.39},{lang:`hy`,langName:`Armenian`,word:`Կենացդ`,say:`Keh-nahts-t`,meaning:`To your life`,lat:40.18,lng:44.51},{lang:`ka`,langName:`Georgian`,word:`გაუმარჯოს`,say:`Gow-mar-joss`,meaning:`Victory to it`,lat:41.72,lng:44.79},{lang:`kk`,langName:`Kazakh`,word:`Денсаулығыңыз үшін!`,say:`Den-sow-luh-uh-nuz oo-shin`,meaning:`For your health`,lat:43.24,lng:76.89},{lang:`uz`,langName:`Uzbek`,word:`Sogʻliq uchun!`,say:`Sog-lik oo-choon`,meaning:`For health`,lat:41.31,lng:69.24},{lang:`hi`,langName:`Hindi`,word:`अच्छी सेहत के लिए`,say:`Ach-chee seh-hat keh lee-eh`,meaning:`For good health`,lat:28.61,lng:77.21},{lang:`ur`,langName:`Urdu`,word:`اچھی صحت کے لیے`,say:`Ach-chee seh-hat keh lee-yeh`,meaning:`For good health`,lat:31.55,lng:74.34}
17,{lang:`ne`,langName:`Nepali`,word:`शुभकामना`,say:`Shoo-bhah-kahm-nah`,meaning:`Good wishes`,lat:27.72,lng:85.32},{lang:`bn`,langName:`Bengali`,word:`জয়!`,say:`Joy`,meaning:`Victory!`,lat:23.81,lng:90.41},{lang:`id`,langName:`Indonesian`,word:`Bersulang!`,say:`Ber-soo-lahng`,meaning:`Let’s toast`,lat:-6.21,lng:106.85},{lang:`km`,langName:`Khmer`,word:`ជល់មួយ`,say:`Chool moo-ee`,meaning:`Clink one glass`,lat:11.56,lng:104.92},{lang:`lo`,langName:`Lao`,word:`ຕຳແກ້ວ`,say:`Tam kae-oh`,meaning:`Hit glasses`,lat:17.97,lng:102.63},{lang:`yue`,langName:`Cantonese`,word:`飲勝`,say:`Yum sing`,meaning:`Drink to victory`,lat:22.32,lng:114.17},{lang:`mi`,langName:`Māori`,word:`Kia ora!`,say:`Kee-ah or-ah`,meaning:`May you be well`,lat:-38.14,lng:176.25},{lang:`sm`,langName:`Samoan`,word:`Manuia!`,say:`Mah-noo-ee-ah`,meaning:`Blessings, good fortune`,lat:-13.83,lng:-171.77},{lang:`fj`,langName:`Fijian`,word:`Bula!`,say:`Boo-lah`,meaning:`Life`,lat:-18.14,lng:178.44},{lang:`to`,langName:`Tongan`,w
17ord:`ʻOfa atu!`,say:`Oh-fah ah-too`,meaning:`Love to you`,lat:-21.14,lng:-175.2},{lang:`pt-BR-rio`,langName:`Portuguese · Rio`,word:`Tim-tim!`,say:`Cheem-cheem`,meaning:`Clink-clink`,lat:-22.91,lng:-43.17},{lang:`ht`,langName:`Haitian Creole`,word:`Sante!`,say:`Sahn-tay`,meaning:`Health`,lat:18.54,lng:-72.34},{lang:`kl`,langName:`Greenlandic`,word:`Kasuutta!`,say:`Kah-soot-tah`,meaning:`Let’s clink glasses`,lat:64.18,lng:-51.69},{lang:`nv`,langName:`Navajo`,word:`Yáʼátʼééh!`,say:`Yah-ah-tay`,meaning:`It is good`,lat:36.1,lng:-109.2},{lang:`moh`,langName:`Mohawk`,word:`Skén:nen`,say:`Sken-nen`,meaning:`Peace`,lat:43,lng:-76},{lang:`chr`,langName:`Cherokee`,word:`Ulihelisdi!`,say:`Oo-lee-hay-lees-dee`,meaning:`Happiness, welcome`,lat:35.92,lng:-94.97},{lang:`yua`,langName:`Yucatec Maya`,word:`Kíimak óolal!`,say:`Kee-mahk oh-lahl`,meaning:`Heartfelt welcome`,lat:20.7,lng:-89},{lang:`qu`,langName:`Quechua`,word:`Haylli!`,say:`High-lyee`,meaning:`Victory, triumph`,lat:-13.53,lng:-71.97},{lang:`ay`,langName:`Aymara`,word:`¡Jallalla!`,say:`Hah-lyah-lyah`,meaning:`Long live!`,lat:-16.5,lng:-68.15},{lang:`gd`,langName:`Scottish Gaelic`,word:`Slàinte mhath!`,say:`Slahn-chuh vah`,meaning:`Good health`,lat:57.4,lng:-6.2},{lang:`gv`,langName:`Manx`,word:`Slaynt vie!`,say:`Slehnch vy`,meaning:`Good health`,lat:54.24,lng:-4.55},{lang:`eu`,langName:`Basque`,word:`Topa!`,say:`Toh-pah`,meaning:`Let’s clink`,lat:43,lng:-2.6},{lang:`mt`,langName:`Maltese`,word:`Saħħa!`,say:`Sah-hha`,meaning:`Health`,lat:35.9,lng:14.45},{lang:`eo`,langName:`Esperanto`,word:`Je via sano!`,say:`Yeh vee-ah sah-no`,meaning:`To your health`,lat:53.13,lng:23.16},{lang:`pap`,langName:`Papiamento`,word:`Salud!`,say:`Sah-lood`,meaning:`Health`,lat:12.17,lng:-68.99},{lang:`bi`,langName:`Bislama`,word:`Jis!`,say:`Jees`,meaning:`Cheers, borrowed and made local`,lat:-17.74,lng:168.32},{lang:`rw`,langName:`Kinyarwanda`,word:`Ku buzima bwacu!`,say:`Koo boo-zee-mah bwah-choo`,meaning:`To our life`,lat:-1.95,lng:30.06},{lang:`ug`,langName:`Uyghur`,word:`ساغلاملىق ئۈچۈن`,say:`Sagh-lam-lik oo-choon`,meaning:`For health`,lat:39.47,lng:75.99},{lang:`sah`,langName:`Sakha · Siberia`,word:`Доруобуйа туһугар`,say:`Doh-rwo-boo-yah tuh-hoo-gar`,meaning:`For health`,lat:62.03,lng:129.73},{lang:`bo`,langName:`Tibetan`,word:`གཟུགས་པོ་བདེ་ཐང`,say:`Sook-po day-tahng`,meaning:`Good health of body`,lat:29.65,lng:91.14},{lang:`si`,langName:`Sinhala`,word:`ජය වේවා!`,say:`Jah-yah way-wah`,meaning:`May there be victory`,lat:6.93,lng:79.86},{lang:`ps`,langName:`Pashto`,word:`ښه صحت ولرې`,say:`Khuh seh-hat wah-lah-ray`,meaning:`May you have good health`,lat:31.6,lng:65.7},{lang:`iba`,langName:`Iban · Borneo`,word:`Gerai nyamai!`,say:`Guh-rye nyah-my`,meaning:`Health and comfort`,lat:1.55,lng:110.34},{lang:`bbc`,langName:`Batak Toba`,word:`Lissoi!`,say:`Lee-soy`,meaning:`Toast cry of the tuak songs`,lat:2.67,lng:98.93},{lang:`ryu`,langName:`Okinawan`,word:`嘉例`,say:`Kah-ree`,meaning:`Good omen`,lat:26.21,lng:127.68},{lang:`gil`,langName:`Kiribati`,word:`Tekeraoi!`,say:`Teh-keh-rye`,meaning:`Good luck, blessings`,lat:1.33,lng:172.98},{lang:`sga`,langName:`Old Irish`,word:`Slán`,say:`Slawn`,meaning:`Whole, safe — health`,lat:53.58,lng:-6.61,era:`c. 600 CE`},{lang:`ang`,langName:`Old English`,word:`Wæs hæil`,say:`Wass hayl`,meaning:`Be whole and healthy`,lat:51.06,lng:-1.31,era:`c. 1150 CE`},{lang:`non`,langName:`Old Norse`,word:`Skál`,say:`Skawl`,meaning:`The bowl`,lat:63.44,lng:10.4,era:`medieval`},{lang:`la`,langName:`Latin · Caristia feast`,word:`Bene vos, bene te!`,say:`Beh-neh wohs, beh-neh teh`,meaning:`Health to you all`,lat:41.89,lng:12.49,era:`8 CE, Ovid`},{lang:`la`,langName:`Latin`,word:`Prosit`,say:`Proh-sit`,meaning:`May it benefit you`,lat:49.41,lng:8.71,era:`Prost’s ancestor`},{lang:`grc`,langName:`Ancient Greek · symposium`,word:`Ὑγιαίνειν μὲν ἄριστον`,say:`Hoo-gee-eye-nayn men ah-ris-ton`,meaning:`Health is best for mortal man`,lat:37.97,lng:23.73,era:`5th c. BCE`},{lang:`grc-koi`,langName:`Koine Greek · gold glass`,word:`Πίε ζήσῃς`,say:`Pee-eh zay-sess`,meaning:`Drink, that you may live`,lat:41.86,lng:12.5,era:`3rd–5th c. CE`},{lang:`arc`,langName:`Aramaic · Talmud`,word:`חַמְרָא וְחַיֵּי`,say:`Kham-rah v’kha-yey`,meaning:`Wine and life!`,lat:32.08,lng:34.84,era:`2nd c. CE`},{lang:`sa`,langName:`Vedic Sanskrit`,word:`स्वस्ति`,say:`Swas-tee`,meaning:`Well-being`,lat:30.8,lng:74.6,era:`c. 1500 BCE, Rigveda`}
17,{lang:`egy`,langName:`Ancient Egyptian`,word:`n kꜣ=k`,say:`En kah-ek`,meaning:`For your ka — drink, make holiday`,lat:25.12,lng:32.8,era:`c. 1480 BCE`},{lang:`sux`,langName:`Sumerian`,word:`Nin-ka-si za-da hu-mu-u₈-da-an-til₃`,say:`Nin-kah-see zah-dah`,meaning:`May Ninkasi live with you`,lat:31.32,lng:45.64,era:`c. 1800 BCE`},{lang:`myn`,langName:`Classic Maya`,word:`y-uk’ib ta kakaw`,say:`Yoo-k’eeb tah kah-kaw`,meaning:`His cup for cacao`,lat:17.22,lng:-89.62,era:`c. 250–900 CE`}],Qu=Zu.map((e,t)=>({lng:e.lng,lat:e.lat,ink:t===0?0:1+(t-1)%7,langName:e.langName})),$u=[`--color-rust`,`--color-ink-blueprint`,`--color-ink-ochre`,`--color-ink-bottle`,`--color-ink-plum`,`--color-ink-carmine`,`--color-ink-petrol`,`--color-ink-violet`];function ed(e){return`var(${$u[Qu[e].ink]})`}function td(e){return e<=8?`text-6xl sm:text-8xl`:e<=12?`text-5xl sm:text-7xl`:e<=18?`text-4xl sm:text-5xl`:e<=26?`text-2xl sm:text-4xl`:`text-xl sm:text-2xl`}function nd({toast:e,index:t,reduced:n}){let r=n?{initial:!1,animate:{opacity:1,y:0,filter:`blur(0px)`},exit:{opacity:0,transition:{duration:0}}}:{initial:{opacity:0,y:10,filter:`blur(6px)`},animate:{opacity:1,y:0,filter:`blur(0px)`},exit:{opacity:0,y:-10,filter:`blur(6px)`,transition:{duration:.2}}};return(0,B.jsx)(`div`,{className:`flex h-[7rem] flex-col justify-end overflow-hidden sm:h-[9.5rem]`,"aria-live":`off`,children:(0,B.jsx)(Pc,{mode:`wait`,children:(0,B.jsxs)(Du.div,{initial:r.initial,animate:r.animate,exit:r.exit,transition:{duration:n?0:.4,ease:[.2,.6,.2,1]},children:[(0,B.jsx)(`span`,{lang:e.lang,style:{"--toast-ink":ed(t)},className:`block break-words font-serif font-semibold leading-[0.95] tracking-tight text-[var(--toast-ink)] dark:text-rust sm:whitespace-nowrap ${td(e.word.length)}`,children:e.word}),(0,B.jsxs)(`p`,{className:`mt-3 truncate font-mono text-xs uppercase tracking-[0.18em] text-ink-secondary`,children:[e.langName,` · `,e.say,` · `,e.meaning,e.era?` · ${e.era}`:``]})]},t)})})}var rd=class{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){let t=this._partials,n=0;for(let r=0;r<this._n&&r<32;r++){let i=t[r],a=e+i,o=Math.abs(e)<Math.abs(i)?e-(a-i):i-(a-e);o&&(t[n++]=o),e=a}return t[n]=e,this._n=n+1,this}valueOf(){let e=this._partials,t=this._n,n,r,i,a=0;if(t>0){for(a=e[--t];t>0&&(n=a,r=e[--t],a=n+r,i=r-(a-n),!i););t>0&&(i<0&&e[t-1]<0||i>0&&e[t-1]>0)&&(r=i*2,n=a+r,r==n-a&&(a=n))}return a}};function*id(e){for(let t of e)yield*t}function ad(e){return Array.from(id(e))}var od=1e-6,J=Math.PI,sd=J/2,cd=J/4,ld=J*2,ud=180/J,dd=J/180,fd=Math.abs,pd=Math.atan,md=Math.atan2,Y=Math.cos,X=Math.sin,hd=Math.sign||function(e){return e>0?1:e<0?-1:0},gd=Math.sqrt;function _d(e){return e>1?0:e<-1?J:Math.acos(e)}function vd(e){return e>1?sd:e<-1?-sd:Math.asin(e)}function yd(){}function bd(e,t){e&&xd.hasOwnProperty(e.type)&&xd[e.type](e,t)}var Z={Feature:function(e,t){bd(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r<i;)bd(n[r].geometry,t)}},xd={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){Sd(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)Sd(n[r],t,0)},Polygon:function(e,t){Cd(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)Cd(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,i=n.length;++r<i;)bd(n[r],t)}};function Sd(e,t,n){var r=-1,i=e.length-n,a;for(t.lineStart();++r<i;)a=e[r],t.point(a[0],a[1],a[2]);t.lineEnd()}function Cd(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)Sd(e[n],t,1);t.polygonEnd()}function wd(e,t){e&&Z.hasOwnProperty(e.type)?Z[e.type](e,t):bd(e,t)}function Td(e){return[md(e[1],e[0]),vd(e[2])]}function Ed(e){var t=e[0],n=e[1],r=Y(n);return[r*Y(t),r*X(t),X(n)]}function Dd(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Od(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function kd(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Ad(e,t){return[e[0]*t,e[1]*t,e[2]*t]}
vendor: 12,235 bytes, line 17
17function jd(e){var t=gd(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Md(e,t){function n(n,r){return n=e(n,r),t(n[0],n[1])}return e.invert&&t.invert&&(n.invert=function(n,r){return n=t.invert(n,r),n&&e.invert(n[0],n[1])}),n}function Nd(e,t){return fd(e)>J&&(e-=Math.round(e/ld)*ld),[e,t]}Nd.invert=Nd;function Q(e,t,n){return(e%=ld)?t||n?Md(Fd(e),Id(t,n)):Fd(e):t||n?Id(t,n):Nd}function Pd(e){return function(t,n){return t+=e,fd(t)>J&&(t-=Math.round(t/ld)*ld),[t,n]}}function Fd(e){var t=Pd(e);return t.invert=Pd(-e),t}function Id(e,t){var n=Y(e),r=X(e),i=Y(t),a=X(t);function o(e,t){var o=Y(t),s=Y(e)*o,c=X(e)*o,l=X(t),u=l*n+s*r;return[md(c*i-u*a,s*n-l*r),vd(u*i+c*a)]}return o.invert=function(e,t){var o=Y(t),s=Y(e)*o,c=X(e)*o,l=X(t),u=l*i-c*a;return[md(c*i+l*a,s*n+u*r),vd(u*n-s*r)]},o}function Ld(e,t,n,r,i,a){if(n){var o=Y(t),s=X(t),c=r*n;i==null?(i=t+r*ld,a=t-c/2):(i=Rd(o,i),a=Rd(o,a),(r>0?i<a:i>a)&&(i+=r*ld));for(var l,u=i;r>0?u>a:u<a;u-=c)l=Td([o,-s*Y(u),-s*X(u)]),e.point(l[0],l[1])}}function Rd(e,t){t=Ed(t),t[0]-=e,jd(t);var n=_d(-t[1]);return((-t[2]<0?-n:n)+ld-od)%ld}function zd(){var e=[],t;return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:yd,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function Bd(e,t){return fd(e[0]-t[0])<1e-6&&fd(e[1]-t[1])<1e-6}function Vd(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Hd(e,t,n,r,i){var a=[],o=[],s,c;if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n=e[0],r=e[t],c;if(Bd(n,r)){if(!n[2]&&!r[2]){for(i.lineStart(),s=0;s<t;++s)i.point((n=e[s])[0],n[1]);i.lineEnd();return}r[0]+=2*od}a.push(c=new Vd(n,e,null,!0)),o.push(c.o=new Vd(n,null,c,!1)),a.push(c=new Vd(r,e,null,!1)),o.push(c.o=new Vd(r,null,c,!0))}}),a.length){for(o.sort(t),Ud(a),Ud(o),s=0,c=o.length;s<c;++s)o[s].e=n=!n;for(var l=a[0],u,d;;){for(var f=l,p=!0;f.v;)if((f=f.n)===l)return;u=f.z,i.lineStart();do{if(f.v=f.o.v=!0,f.e){if(p)for(s=0,c=u.length;s<c;++s)i.point((d=u[s])[0],d[1]);else r(f.x,f.n.x,1,i);f=f.n}else{if(p)for(u=f.p.z,s=u.length-1;s>=0;--s)i.point((d=u[s])[0],d[1]);else r(f.x,f.p.x,-1,i);f=f.p}f=f.o,u=f.z,p=!p}while(!f.v);i.lineEnd()}}}function Ud(e){if(t=e.length){for(var t,n=0,r=e[0],i;++n<t;)r.n=i=e[n],i.p=r,r=i;r.n=i=e[0],i.p=r}}function Wd(e){return fd(e[0])<=J?e[0]:hd(e[0])*((fd(e[0])+J)%ld-J)}function Gd(e,t){var n=Wd(t),r=t[1],i=X(r),a=[X(n),-Y(n),0],o=0,s=0,c=new rd;i===1?r=sd+od:i===-1&&(r=-sd-od);for(var l=0,u=e.length;l<u;++l)if(f=(d=e[l]).length)for(var d,f,p=d[f-1],m=Wd(p),h=p[1]/2+cd,g=X(h),_=Y(h),v=0;v<f;++v,m=b,g=S,_=C,p=y){var y=d[v],b=Wd(y),x=y[1]/2+cd,S=X(x),C=Y(x),w=b-m,T=w>=0?1:-1,E=T*w,D=E>J,O=g*S;if(c.add(md(O*T*X(E),_*C+O*Y(E))),o+=D?w+T*ld:w,D^m>=n^b>=n){var k=Od(Ed(p),Ed(y));jd(k);var ee=Od(a,k);jd(ee);var te=(D^w>=0?-1:1)*vd(ee[2]);(r>te||r===te&&(k[0]||k[1]))&&(s+=D^w>=0?1:-1)}}return(o<-1e-6||o<1e-6&&c<-1e-12)^s&1}function Kd(e,t,n,r){return function(i){var a=t(i),o=zd(),s=t(o),c=!1,l,u,d,f={point:p,lineStart:h,lineEnd:g,polygonStart:function(){f.point=_,f.lineStart=v,f.lineEnd=y,u=[],l=[]},polygonEnd:function(){f.point=p,f.lineStart=h,f.lineEnd=g,u=ad(u);var e=Gd(l,r);u.length?(c||=(i.polygonStart(),!0),Hd(u,Jd,e,n,i)):e&&(c||=(i.polygonStart(),!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),c&&=(i.polygonEnd(),!1),u=l=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(t,n){e(t,n)&&i.point(t,n)}function m(e,t){a.point(e,t)}function h(){f.point=m,a.lineStart()}function g(){f.point=p,a.lineEnd()}function _(e,t){d.push([e,t]),s.point(e,t)}function v(){s.lineStart(),d=[]}function y(){_(d[0][0],d[0][1]),s.lineEnd();var e=s.clean(),t=o.result(),n,r=t.length,a,f,p;if(d.pop(),l.push(d),d=null,r){if(e&1){if(f=t[0],(a=f.length-1)>0){for(c||=(i.polygonStart(),!0),i.lineStart(),n=0;n<a;++n)i.point((p=f[n])[0],p[1]);i.lineEnd()}return}r>1&&e&2&&t.push(t.pop().concat(t.shift())),u.push(t.filter(qd))}}return f}}function qd(e){return e.length>1}function Jd(e,t){return((e=e.x)[0]<0?e[1]-sd-od:sd-e[1])-((t=t.x)[0]<0?t[1]-sd-od:sd-t[1])}var Yd=Kd(function(){return!0},Xd,Qd,[-J,-sd]);function Xd(e){var t=NaN,n=NaN,r=NaN,i;return{lineStart:function(){e.lineStart(),i=1},point:function(a,o){var s=a>0?J:-J,c=fd(a-t);fd(c-J)<1e-6?(e.point(t,n=(n+o)/2>0?sd:-sd),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(s,n),e.point(a,n),i=0):r!==s&&c>=J&&(fd(t-r)<1e-6&&(t-=r*od),fd(a-s)<1e-6&&(a-=s*od),n=Zd(t,n,a,o),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(s,n),i=0),e.point(t=a,n=o),r=s},lineEnd:function(){e.lineEnd(),t=n=NaN},clean:function(){return 2-i}}}function Zd(e,t,n,r){var i,a,o=X(e-n);return fd(o)>1e-6?pd((X(t)*(a=Y(r))*X(n)-X(r)*(i=Y(t))*X(e))/(i*a*o)):(t+r)/2}function Qd(e,t,n,r){var i;if(e==null)i=n*sd,r.point(-J,i),r.point(0,i),r.point(J,i),r.point(J,0),r.point(J,-i),r.point(0,-i),r.point(-J,-i),r.point(-J,0),r.point(-J,i);else if(fd(e[0]-t[0])>1e-6){var a=e[0]<t[0]?J:-J;i=n*a/2,r.point(-a,i),r.point(0,i),r.point(a,i)}else r.point(t[0],t[1])}function $d(e){var t=Y(e),n=2*dd,r=t>0,i=fd(t)>od;function a(t,r,i,a){Ld(a,e,n,i,t,r)}function o(e,n){return Y(e)*Y(n)>t}function s(e){var t,n,a,s,u;return{lineStart:function(){s=a=!1,u=1},point:function(d,f){var p=[d,f],m,h=o(d,f),g=r?h?0:l(d,f):h?l(d+(d<0?J:-J),f):0;if(!t&&(s=a=h)&&e.lineStart(),h!==a&&(m=c(t,p),(!m||Bd(t,m)||Bd(p,m))&&(p[2]=1)),h!==a)u=0,h?(e.lineStart(),m=c(p,t),e.point(m[0],m[1])):(m=c(t,p),e.point(m[0],m[1],2),e.lineEnd()),t=m;else if(i&&t&&r^h){var _;!(g&n)&&(_=c(p,t,!0))&&(u=0,r?(e.lineStart(),e.point(_[0][0],_[0][1]),e.point(_[1][0],_[1][1]),e.lineEnd()):(e.point(_[1][0],_[1][1]),e.lineEnd(),e.lineStart(),e.point(_[0][0],_[0][1],3)))}h&&(!t||!Bd(t,p))&&e.point(p[0],p[1]),t=p,a=h,n=g},lineEnd:function(){a&&e.lineEnd(),t=null},clean:function(){return u|(s&&a)<<1}}}function c(e,n,r){var i=Ed(e),a=Ed(n),o=[1,0,0],s=Od(i,a),c=Dd(s,s),l=s[0],u=c-l*l;if(!u)return!r&&e;var d=t*c/u,f=-t*l/u,p=Od(o,s),m=Ad(o,d);kd(m,Ad(s,f));var h=p,g=Dd(m,h),_=Dd(h,h),v=g*g-_*(Dd(m,m)-1);if(!(v<0)){var y=gd(v),b=Ad(h,(-g-y)/_);if(kd(b,m),b=Td(b),!r)return b;var x=e[0],S=n[0],C=e[1],w=n[1],T;S<x&&(T=x,x=S,S=T);var E=S-x,D=fd(E-J)<od,O=D||E<1e-6;if(!D&&w<C&&(T=C,C=w,w=T),O?D?C+w>0^b[1]<(fd(b[0]-x)<1e-6?C:w):C<=b[1]&&b[1]<=w:E>J^(x<=b[0]&&b[0]<=S)){var k=Ad(h,(-g+y)/_);return kd(k,m),[b,Td(k)]}}}function l(t,n){var i=r?e:J-e,a=0;return t<-i?a|=1:t>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return Kd(o,s,a,r?[0,-e]:[-J,e-J])}function ef(e,t,n,r,i,a){var o=e[0],s=e[1],c=t[0],l=t[1],u=0,d=1,f=c-o,p=l-s,m=n-o;if(!(!f&&m>0)){if(m/=f,f<0){if(m<u)return;m<d&&(d=m)}else if(f>0){if(m>d)return;m>u&&(u=m)}if(m=i-o,!(!f&&m<0)){if(m/=f,f<0){if(m>d)return;m>u&&(u=m)}else if(f>0){if(m<u)return;m<d&&(d=m)}if(m=r-s,!(!p&&m>0)){if(m/=p,p<0){if(m<u)return;m<d&&(d=m)}else if(p>0){if(m>d)return;m>u&&(u=m)}if(m=a-s,!(!p&&m<0)){if(m/=p,p<0){if(m>d)return;m>u&&(u=m)}else if(p>0){if(m<u)return;m<d&&(d=m)}return u>0&&(e[0]=o+u*f,e[1]=s+u*p),d<1&&(t[0]=o+d*f,t[1]=s+d*p),!0}}}}}var tf=1e9,nf=-tf;function rf(e,t,n,r){function i(i,a){return e<=i&&i<=n&&t<=a&&a<=r}function a(i,a,s,l){var u=0,d=0;if(i==null||(u=o(i,s))!==(d=o(a,s))||c(i,a)<0^s>0)do l.point(u===0||u===3?e:n,u>1?r:t);while((u=(u+s+4)%4)!==d);else l.point(a[0],a[1])}function o(r,i){return fd(r[0]-e)<1e-6?i>0?0:3:fd(r[0]-n)<1e-6?i>0?2:1:fd(r[1]-t)<1e-6?+(i>0):i>0?3:2}function s(e,t){return c(e.x,t.x)}function c(e,t){var n=o(e,1),r=o(t,1);return n===r?n===0?t[1]-e[1]:n===1?e[0]-t[0]:n===2?e[1]-t[1]:t[0]-e[0]:n-r}return function(o){var c=o,l=zd(),u,d,f,p,m,h,g,_,v,y,b,x={point:S,lineStart:E,lineEnd:D,polygonStart:w,polygonEnd:T};function S(e,t){i(e,t)&&c.point(e,t)}function C(){for(var t=0,n=0,i=d.length;n<i;++n)for(var a=d[n],o=1,s=a.length,c=a[0],l,u,f=c[0],p=c[1];o<s;++o)l=f,u=p,c=a[o],f=c[0],p=c[1],u<=r?p>r&&(f-l)*(r-u)>(p-u)*(e-l)&&++t:p<=r&&(f-l)*(r-u)<(p-u)*(e-l)&&--t;return t}function w(){c=l,u=[],d=[],b=!0}function T(){var e=C(),t=b&&e,n=(u=ad(u)).length;(t||n)&&(o.polygonStart(),t&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),n&&Hd(u,s,e,a,o),o.polygonEnd()),c=o,u=d=f=null}function E(){x.point=O,d&&d.push(f=[]),y=!0,v=!1,g=_=NaN}function D(){u&&(O(p,m),h&&v&&l.rejoin(),u.push(l.result())),x.point=S,v&&c.lineEnd()}function O(a,o){var s=i(a,o);if(d&&f.push([a,o]),y)p=a,m=o,h=s,y=!1,s&&(c.lineStart(),c.point(a,o));else if(s&&v)c.point(a,o);else{var l=[g=Math.max(nf,Math.min(tf,g)),_=Math.max(nf,Math.min(tf,_))],u=[a=Math.max(nf,Math.min(tf,a)),o=Math.max(nf,Math.min(tf,o))];ef(l,u,e,t,n,r)?(v||(c.lineStart(),c.point(l[0],l[1])),c.point(u[0],u[1]),s||c.lineEnd(),b=!1):s&&(c.lineStart(),c.point(a,o),b=!1)}g=a,_=o,v=s}return x}}var af,of,sf,cf,lf={sphere:yd,point:yd,lineStart:uf,lineEnd:yd,polygonStart:yd,polygonEnd:yd};function uf(){lf.point=ff,lf.lineEnd=df}function df(){lf.point=lf.lineEnd=yd}function ff(e,t){e*=dd,t*=dd,of=e,sf=X(t),cf=Y(t),lf.point=pf}function pf(e,t){e*=dd,t*=dd;var n=X(t),r=Y(t),i=fd(e-of),a=Y(i),o=r*X(i),s=cf*n-sf*r*a,c=sf*n+cf*r*a;af.add(md(gd(o*o+s*s),c)),of=e,sf=n,cf=r}function mf(e){return af=new rd,wd(e,lf),+af}var hf=[null,null],gf={type:`LineString`,coordinates:hf};function _f(e,t){return hf[0]=e,hf[1]=t,mf(gf)}var vf=e=>e,yf=1/0,bf=yf,xf=-yf,Sf=xf,Cf={point:wf,lineStart:yd,lineEnd:yd,polygonStart:yd,polygonEnd:yd,result:function(){var e=[[yf,bf],[xf,Sf]];return xf=Sf=-(bf=yf=1/0),e}};function wf(e,t){e<yf&&(yf=e),e>xf&&(xf=e),t<bf&&(bf=t),t>Sf&&(Sf=t)}function Tf(e){return function(t){var n=new Ef;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Ef(){}Ef.prototype={constructor:Ef,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Df(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),r!=null&&e.clipExtent(null),wd(n,e.stream(Cf)),t(Cf.result()),r!=null&&e.clipExtent(r),e}function Of(e,t,n){return Df(e,function(n){var r=t[1][0]-t[0][0],i=t[1][1]-t[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+t[0][0]+(r-a*(n[1][0]+n[0][0]))/2,s=+t[0][1]+(i-a*(n[1][1]+n[0][1]))/2;e.scale(150*a).translate([o,s])},n)}function kf(e,t,n){return Of(e,[[0,0],t],n)}function Af(e,t,n){return Df(e,function(n){var r=+t,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];e.scale(150*i).translate([a,o])},n)}function jf(e,t,n){return Df(e,function(n){var r=+t,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([a,o])},n)}var Mf=16,Nf=Y(30*dd);function Pf(e,t){return+t?If(e,t):Ff(e)}function Ff(e){return Tf({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function If(e,t){function n(r,i,a,o,s,c,l,u,d,f,p,m,h,g){var _=l-r,v=u-i,y=_*_+v*v;if(y>4*t&&h--){var b=o+f,x=s+p,S=c+m,C=gd(b*b+x*x+S*S),w=vd(S/=C),T=fd(fd(S)-1)<1e-6||fd(a-d)<1e-6?(a+d)/2:md(x,b),E=e(T,w),D=E[0],O=E[1],k=D-r,ee=O-i,te=v*k-_*ee;(te*te/y>t||fd((_*k+v*ee)/y-.5)>.3||o*f+s*p+c*m<Nf)&&(n(r,i,a,o,s,c,D,O,T,b/=C,x/=C,S,h,g),g.point(D,O),n(D,O,T,b,x,S,l,u,d,f,p,m,h,g))}}return function(t){var r,i,a,o,s,c,l,u,d,f,p,m,h={point:g,lineStart:_,lineEnd:y,polygonStart:function(){t.polygonStart(),h.lineStart=b},polygonEnd:function(){t.polygonEnd(),h.lineStart=_}};function g(n,r){n=e(n,r),t.point(n[0],n[1])}function _(){u=NaN,h.point=v,t.lineStart()}function v(r,i){var a=Ed([r,i]),o=e(r,i);n(u,d,l,f,p,m,u=o[0],d=o[1],l=r,f=a[0],p=a[1],m=a[2],Mf,t),t.point(u,d)}function y(){h.point=g,t.lineEnd()}function b(){_(),h.point=x,h.lineEnd=S}function x(e,t){v(r=e,t),i=u,a=d,o=f,s=p,c=m,h.point=v}function S(){n(u,d,l,f,p,m,i,a,r,o,s,c,Mf,t),h.lineEnd=y,y()}return h}}var Lf=Tf({point:function(e,t){this.stream.point(e*dd,t*dd)}});function Rf(e){return Tf({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}function zf(e,t,n,r,i){function a(a,o){return a*=r,o*=i,[t+e*a,n-e*o]}return a.invert=function(a,o){return[(a-t)/e*r,(n-o)/e*i]},a}function Bf(e,t,n,r,i,a){if(!a)return zf(e,t,n,r,i);var o=Y(a),s=X(a),c=o*e,l=s*e,u=o/e,d=s/e,f=(s*n-o*t)/e,p=(s*t+o*n)/e;function m(e,a){return e*=r,a*=i,[c*e-l*a+t,n-l*e-c*a]}
17return m.invert=function(e,t){return[r*(u*e-d*t+f),i*(p-d*e-u*t)]},m}function Vf(e){return Hf(function(){return e})()}function Hf(e){var t,n=150,r=480,i=250,a=0,o=0,s=0,c=0,l=0,u,d=0,f=1,p=1,m=null,h=Yd,g=null,_,v,y,b=vf,x=.5,S,C,w,T,E;function D(e){return w(e[0]*dd,e[1]*dd)}function O(e){return e=w.invert(e[0],e[1]),e&&[e[0]*ud,e[1]*ud]}D.stream=function(e){return T&&E===e?T:T=Lf(Rf(u)(h(S(b(E=e)))))},D.preclip=function(e){return arguments.length?(h=e,m=void 0,ee()):h},D.postclip=function(e){return arguments.length?(b=e,g=_=v=y=null,ee()):b},D.clipAngle=function(e){return arguments.length?(h=+e?$d(m=e*dd):(m=null,Yd),ee()):m*ud},D.clipExtent=function(e){return arguments.length?(b=e==null?(g=_=v=y=null,vf):rf(g=+e[0][0],_=+e[0][1],v=+e[1][0],y=+e[1][1]),ee()):g==null?null:[[g,_],[v,y]]},D.scale=function(e){return arguments.length?(n=+e,k()):n},D.translate=function(e){return arguments.length?(r=+e[0],i=+e[1],k()):[r,i]},D.center=function(e){return arguments.length?(a=e[0]%360*dd,o=e[1]%360*dd,k()):[a*ud,o*ud]},D.rotate=function(e){return arguments.length?(s=e[0]%360*dd,c=e[1]%360*dd,l=e.length>2?e[2]%360*dd:0,k()):[s*ud,c*ud,l*ud]},D.angle=function(e){return arguments.length?(d=e%360*dd,k()):d*ud},D.reflectX=function(e){return arguments.length?(f=e?-1:1,k()):f<0},D.reflectY=function(e){return arguments.length?(p=e?-1:1,k()):p<0},D.precision=function(e){return arguments.length?(S=Pf(C,x=e*e),ee()):gd(x)},D.fitExtent=function(e,t){return Of(D,e,t)},D.fitSize=function(e,t){return kf(D,e,t)},D.fitWidth=function(e,t){return Af(D,e,t)},D.fitHeight=function(e,t){return jf(D,e,t)};function k(){var e=Bf(n,0,0,f,p,d).apply(null,t(a,o)),m=Bf(n,r-e[0],i-e[1],f,p,d);return u=Q(s,c,l),C=Md(t,m),w=Md(u,C),S=Pf(C,x),ee()}function ee(){return T=E=null,D}return function(){return t=e.apply(this,arguments),D.invert=t.invert&&O,k()}}function Uf(e){return function(t,n){var r=gd(t*t+n*n),i=e(r),a=X(i),o=Y(i);return[md(t*a,r*o),vd(r&&n*a/r)]}}function Wf(e,t){return[Y(t)*X(e),X(t)]}Wf.invert=Uf(vd);function Gf(){return Vf(Wf).scale(249.5).clipAngle(90+od)}var Kf=18;function qf(e,t,n,r=Kf){let i=null,a=r*r;for(let r=0;r<e.length;r++){let o=e[r];if(!o)continue;let s=(o.x-t)**2+(o.y-n)**2;s>a||(a=s,i=r)}return i}function Jf(e,t,n,r){let i=qf(e,t,n);return i!==null&&r(i),i}function Yf(e,t,n=8){return!e||!t?!1:(t.x-e.x)**2+(t.y-e.y)**2<=n*n}function Xf(e,t,n){return e?.id===t&&Yf(e.point,n)}function Zf(e,t,n){return t===`Home`?0:t===`End`?n-1:t===`ArrowRight`||t===`ArrowDown`?(e+1)%n:t===`ArrowLeft`||t===`ArrowUp`?(e-1+n)%n:null}var Qf=Math.PI/2,$f=Math.PI*2;function ep(e,t){return`${`${Math.abs(e).toFixed(1)}°${e>=0?`N`:`S`}`} · ${`${Math.abs(t).toFixed(1)}°${t>=0?`E`:`W`}`}`}function tp(){let e=getComputedStyle(document.documentElement),t=t=>e.getPropertyValue(t).trim()||`#888`;return{dark:document.documentElement.classList.contains(`dark`),mapDot:t(`--color-map-dot`),ink:$u.map(t),sphereHi:t(`--globe-sphere-hi`),sphereMid:t(`--globe-sphere-mid`),sphereLo:t(`--globe-sphere-lo`),atmo:t(`--globe-atmo`)||`168 72 28`}}function np({activeIndex:e,animate:t,onSelect:n}){let r=(0,b.useRef)(null),i=(0,b.useRef)(e);i.current=e;let a=(0,b.useRef)(t);a.current=t;let o=(0,b.useRef)(n);o.current=n;let s=Qu[e];return(0,b.useEffect)(()=>{let e=r.current;if(!e)return;let t=e.getContext(`2d`);if(!t)return;let n={current:tp()},c=new MutationObserver(()=>n.current=tp());c.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]});let l={lng:s.lng,lat:s.lat},u=Gf(),d=0,f=0,p=()=>{let n=e.clientWidth;if(!n)return;f=n;let r=Math.min(2,window.devicePixelRatio||1);e.width=Math.round(f*r),e.height=Math.round(f*r),t.setTransform(r,0,0,r,0,0),u.translate([f/2,f/2]).scale(f/2*.9)};p();let m=new ResizeObserver(p);m.observe(e);let h=()=>{if(!f)return[];let e=[l.lng,l.lat];return Qu.map(t=>{if(_f([t.lng,t.lat],e)>Qf)return null;let n=u([t.lng,t.lat]);return n?{x:n[0],y:n[1]}:null})},g=t=>{let n=e.getBoundingClientRect();return{x:(t.clientX-n.left)*(f/n.width),y:(t.clientY-n.top)*(f/n.height)}},_=t=>{let n=g(t),r=qf(h(),n.x,n.y);e.style.cursor=o.current&&r!==null?`pointer`:``},v=null,y=t=>{o.current&&(v={id:t.pointerId,point:g(t)},e.setPointerCapture(t.pointerId))},b=t=>{e.hasPointerCapture(t)&&e.releasePointerCapture(t)},x=e=>{v=null,b(e.pointerId)},S=e=>
17{let t=o.current,n=v;v=null;let r=g(e);b(e.pointerId),!(!t||!Xf(n,e.pointerId,r))&&Jf(h(),r.x,r.y,t)};e.addEventListener(`pointermove`,_),e.addEventListener(`pointerdown`,y),e.addEventListener(`pointercancel`,x),e.addEventListener(`pointerup`,S);let C=()=>{if(!f){d=requestAnimationFrame(C);return}let e=a.current,r=Qu[i.current],o=r.lng-l.lng;for(;o>180;)o-=360;for(;o<-180;)o+=360;let s=.09;l.lng+=o*s,l.lat+=(r.lat-l.lat)*s,Math.abs(o)<.05&&(l.lng=r.lng),Math.abs(r.lat-l.lat)<.05&&(l.lat=r.lat),u.rotate([-l.lng,-l.lat]);let c=[l.lng,l.lat],p=n.current,m=Math.max(.6,f*.0036),h=f*.0085,g=f*.017,_=f/2,v=f/2,y=f/2*.9;t.clearRect(0,0,f,f);let b=p.atmo.replace(/\s+/g,`,`),x=t.createRadialGradient(_,v,y*.72,_,v,y*1.16);x.addColorStop(0,`rgba(${b},0)`),x.addColorStop(.82,`rgba(${b},0.13)`),x.addColorStop(1,`rgba(${b},0)`),t.fillStyle=x,t.fillRect(0,0,f,f);let S=t.createRadialGradient(_-y*.38,v-y*.42,y*.05,_,v,y*1.12);S.addColorStop(0,p.sphereHi),S.addColorStop(.5,p.sphereMid),S.addColorStop(1,p.sphereLo),t.beginPath(),t.arc(_,v,y,0,$f),t.fillStyle=S,t.fill();for(let e=0;e<Xu.length;e++){let n=Xu[e],r=_f(n,c);if(r>Qf)continue;let i=u(n);if(!i)continue;let a=1-r/Qf;t.globalAlpha=.32+.68*a,t.fillStyle=p.mapDot,t.beginPath(),t.arc(i[0],i[1],m*(.6+.55*a),0,$f),t.fill()}t.globalAlpha=1;let w=i.current,T=performance.now();for(let n=0;n<Qu.length;n++){let r=Qu[n],i=_f([r.lng,r.lat],c);if(i>Qf)continue;let a=u([r.lng,r.lat]);if(!a)continue;let o=1-i/Qf,s=p.dark?p.ink[0]:p.ink[r.ink];if(n===w){if(e){let e=T%1500/1500;t.beginPath(),t.arc(a[0],a[1],g+e*g*2.4,0,$f),t.strokeStyle=s,t.globalAlpha=1-e,t.lineWidth=1.5,t.stroke(),t.globalAlpha=1}t.fillStyle=s,t.beginPath(),t.arc(a[0],a[1],g,0,$f),t.fill()}else t.globalAlpha=.5+.5*o,t.fillStyle=s,t.beginPath(),t.arc(a[0],a[1],h*(.8+.3*o),0,$f),t.fill(),t.globalAlpha=1}d=requestAnimationFrame(C)};return d=requestAnimationFrame(C),()=>{cancelAnimationFrame(d),c.disconnect(),m.disconnect(),e.removeEventListener(`pointermove`,_),e.removeEventListener(`pointerdown`,y),e.removeEventListener(`pointercancel`,x),e.removeEventListener(`pointerup`,S),e.style.cursor=``}},[]),(0,B.jsxs)(`figure`,{className:`m-0 flex w-full flex-col gap-4`,children:[(0,B.jsx)(`div`,{"aria-hidden":!n||void 0,className:`mx-auto aspect-square w-full max-w-[20rem] sm:max-w-[28rem] lg:max-w-[38rem]`,children:(0,B.jsx)(`canvas`,{ref:r,className:`size-full focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-rust`,role:n?`slider`:void 0,tabIndex:n?0:void 0,"aria-label":n?`Select a toast on the globe`:void 0,"aria-valuemin":n?1:void 0,"aria-valuemax":n?Qu.length:void 0,"aria-valuenow":n?e+1:void 0,"aria-valuetext":n?s.langName:void 0,onKeyDown:t=>{if(!n)return;let r=Zf(e,t.key,Qu.length);r!==null&&(t.preventDefault(),n(r))}})}),(0,B.jsx)(`figcaption`,{className:`font-mono text-xs uppercase tracking-[0.14em] text-ink-secondary`,children:(0,B.jsxs)(`span`,{style:{"--toast-ink":ed(e)},className:`text-[var(--toast-ink)] dark:text-rust`,children:[ep(s.lat,s.lng),` · `,s.langName]})})]})}var rp=2800,ip=5e3;function ap(e,t,n,r=Math.random){let i=[...t];if(i.length===1&&i[0]===e&&(i=[]),i.length===0){i=Array.from({length:n},(e,t)=>t);for(let e=i.length-1;e>0;e--){let t=Math.floor(r()*(e+1));[i[e],i[t]]=[i[t],i[e]]}}return i.length>1&&i[0]===e&&([i[0],i[i.length-1]]=[i[i.length-1],i[0]]),{index:i.shift()??e,bag:i}}function op(e,t){let n,r,i=()=>{n=setInterval(t,rp)};return e?r=setTimeout(()=>{t(),i()},ip):i(),()=>{r&&clearTimeout(r),n&&clearInterval(n)}}var sp={hidden:{},visible:{transition:{delayChildren:Ca(.1)}}},cp={hidden:{opacity:0,y:14},visible:{opacity:1,y:0,transition:{duration:.55,ease:[.2,.6,.2,1]}}};function lp(){let e=Eu(),[t,n]=(0,b.useState)(0),[r,i]=(0,b.useState)(!1),[a,o]=(0,b.useState)(0),s=(0,b.useRef)([]),c=(0,b.useRef)(0);return(0,b.useEffect)(()=>e||r?void 0:op(a>0,()=>{let e=ap(c.current,s.current,Zu.length);c.current=e.index,s.current=e.bag,n(e.index)}),[a,e,r]),(0,B.jsxs)(`div`,{className:`trace-page about-page flex min-h-[100svh] flex-col`,children:[(0,B.jsx)(`header`,{className:`trace-header`,children:(0,B.jsx)(qu,{current:`about`})}),(0,B.jsxs)(Du.main,{className:`mx-auto grid w-full max-w-6xl grow grid-cols-1 content-center items-center gap-x-12 gap-y-6 px-6 py-8 sm:px-10 lg:grid-cols-[minmax(0,34rem)_minmax(0,1fr)]`,initial:!e&&`hidden`,animate:`visible`,variants:e?void 0:sp,onFocusCapture:e=>{e.target.getAttribute(`role`)===`slider`&&i(!0)},children:[(0,B.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-4`,children:[(0,B.jsx)(Du.div,{variants:e?void 0:cp,children:(0,B.jsx)(nd,{toast:Zu[t],index:t,reduced:!!e||r})}),(0,B.jsx)(`button`,{type:`button`,className:`front-link w-fit about-rotation-toggle`,"aria-pressed":r,onClick:()=>i(!r),children:r?`Resume toast rotation`:`Pause toast rotation`}),(0,B.jsx)(`p`,{className:`about-reduced-motion-note`,children:`Automatic rotation is off for reduced motion.`}),(0,B.jsxs)(`p`,{className:`sr-only`,role:`status`,"aria-live":r?`polite`:`off`,children:[Zu[t].langName,` · `,Zu[t].word]}),(0,B.jsx)(Du.h1,{variants:e?void 0:cp,className:`font-sans text-3xl font-bold leading-snug tracking-tight sm:text-4xl`,children:`Why Slancha?`}),(0,B.jsx)(Du.p,{variants:e?void 0:cp,className:`text-base leading-relaxed text-ink-secondary`,children:`Slancha takes its name from Sláinte, the Irish toast. We help teams review and reuse instructions for AI agents, with security scans, diffs and human approval. Skills for Claude Code are available now. Decision pilots are by arrangement.`}),(0,B.jsx)(Du.a,{variants:e?void 0:cp,href:`/audit`,className:`inline-flex min-h-11 w-fit items-center text-sm font-semibold text-rust transition-colors hover:text-rust-deep focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-rust`,children:`Get a free audit`})]}),(0,B.jsx)(Du.div,{variants:e?void 0:cp,className:`self-center pt-2 lg:pt-0`,children:(0,B.jsx)(np,{activeIndex:t,animate:!e&&!r,onSelect:e=>{i(!0),c.current=e,s.current=s.current.filter(t=>t!==e),n(e),o(e=>e+1)}})})]}),(0,B.jsx)(Ju,{})]})}function up(e){return e.map(([e,t])=>`${e}: ${t.trim()||`—`}`).join(`
18
19`)}async function dp(e,t,n=fetch){let r=e.email.trim().toLowerCase();if(!r.includes(`@`)||!t.url||!t.key)return`error`;try{return(await n(`${t.url}/rest/v1/contact_submissions`,{method:`POST`,headers:{apikey:t.key,Authorization:`Bearer ${t.key}`,"Content-Type":`application/json`,Prefer:`return=minimal`},body:JSON.stringify({name:e.name.trim()||`Anonymous`,email:r,subject:e.subject,message:up(e.answers
19)})})).ok?`success`:`error`}catch{return`error`}}var fp=`phc_tQkysfhDDmAvFk8cUBUMNsWbjxJcrsVokN56HALzSdCQ`,pp=`https://us.i.posthog.com`,mp=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,hp=new Set,gp;function _p(){if(typeof window>`u`)return``;gp||=crypto.randomUUID();try{let e=new URLSearchParams(location.search).get(`audit_flow`);new URLSearchParams(location.search).get(`audit_test`)===`1`&&sessionStorage.setItem(`audit_test`,`1`);let t=sessionStorage.getItem(`audit_flow`),n=e&&mp.test(e)?e:t&&mp.test(t)?t:gp;return sessionStorage.setItem(`audit_flow`,n),n}catch{return gp}}function vp(){if(typeof window>`u`)return!1;try{return new URLSearchParams(location.search).get(`audit_test`)===`1`||sessionStorage.getItem(`audit_test`)===`1`}catch{return!1}}function yp(e,t={}){if(typeof window>`u`||navigator.doNotTrack===`1`)return;let n=Object.fromEntries(Object.entries(t).filter(([e])=>[`audit_id`,`error_code`,`destination`,`page`,`size_bucket`,`source`].includes(e))),r=_p(),i=JSON.stringify({api_key:fp,event:e,properties:{...n,distinct_id:r,flow_id:r,funnel:`free_audit`,source:`browser`,is_test:vp(),$process_person_profile:!1,$insert_id:crypto.randomUUID()}});try{navigator.sendBeacon(`${pp}/capture/`,new Blob([i],{type:`text/plain`}))||fetch(`${pp}/capture/`,{method:`POST`,body:i,keepalive:!0}).catch(()=>{})}catch{}}function bp(e,t={}){let n=e+JSON.stringify(t);hp.has(n)||(hp.add(n),yp(e,t))}function xp(e,t=_p()){return`${e===`signup`?`https://app.slancha.ai/signup`:`/contact`}?audit_flow=${encodeURIComponent(t)}&utm_source=free_audit&utm_medium=web${vp()?`&audit_test=1`:``}`}var Sp=`https://tqbvmmhgiivyjjcctqcb.supabase.co`,Cp=`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InRxYnZtbWhnaWl2eWpqY2N0cWNiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzQ4MTkyNTAsImV4cCI6MjA5MDM5NTI1MH0.zY9_zVBJRwQRhARZSH_tvmSNcbBulbTJ1GZzOMT8hGM`;function wp({subject:e,fields:t,submitLabel:n,successNote:r,footnote:i}){let[a,o]=(0,b.useState)(``),[s,c]=(0,b.useState)(``),[l,u]=(0,b.useState)({}),[d,f]=(0,b.useState)(`idle`);return d===`success`?(0,B.jsx)(`div`,{role:`status`,className:`waitlist-form-enter trace-form__success interest-form`,children:(0,B.jsxs)(`p`,{children:[r,` We’ll write back to `,(0,B.jsx)(`strong`,{children:s.trim().toLowerCase()}),`.`]})}):(0,B.jsxs)(`form`,{onSubmit:async n=>{n.preventDefault(),f(`submitting`);let r=new URLSearchParams(location.search).has(`audit_flow`);r&&yp(`audit_demo_request_started`);let i=await dp({name:a,email:s,subject:e,answers:t.map(e=>[e.label,l[e.key]??``])},{url:Sp,key:Cp});f(i),r&&yp(i===`success`?`audit_demo_request_received`:`audit_demo_request_failed`)},className:`waitlist-form-enter interest-form`,children:[(0,B.jsxs)(`label`,{className:`interest-field`,htmlFor:`interest-name`,children:[(0,B.jsxs)(`span`,{className:`trace-form__label`,children:[`Name `,(0,B.jsx)(`span`,{className:`font-mono text-xs`,children:`∙ Required`})]}),(0,B.jsx)(`input`,{id:`interest-name`,className:`interest-input`,autoComplete:`name`,required:!0,value:a,onChange:e=>o(e.target.value)})]}),(0,B.jsxs)(`label`,{className:`interest-field`,htmlFor:`interest-email`,children:[(0,B.jsxs)(`span`,{className:`trace-form__label`,children:[`Email `,(0,B.jsx)(`span`,{className:`font-mono text-xs`,children:`∙ Required`})]}),(0,B.jsx)(`input`,{id:`interest-email`,className:`interest-input`,type:`email`,autoComplete:`email`,required:!0,value:s,onChange:e=>c(e.target.value)})]}),t.map(e=>{let t=`interest-${e.key}`,n=l[e.key]??``,r=t=>u(n=>({...n,[e.key]:t}));return(0,B.jsxs)(`label`,{className:`interest-field`,htmlFor:t,children:[(0,B.jsxs)(`span`,{className:`trace-form__label`,children:[e.label,e.required&&(0,B.jsx)(`span`,{className:`font-mono text-xs`,children:` ∙ Required`})]}),e.hint&&(0,B.jsx)(`span`,{className:`interest-hint`,children:e.hint}),e.long?(0,B.jsx)(`textarea`,{id:t,className:`interest-input interest-input--long`,rows:5,required:e.required,value:n,onChange:e=>r(e.target.value)}):(0,B.jsx)(`input`,{id:t,className:`interest-input`,required:e.required,value:n,onChange:e=>r(e.target.value)})]},e.key)}),(0,B.jsx)(`button`,{type:`submit`,disabled:d===`submitting`,className:`trace-form__button interest-submit`,children:d===`submitting`?`Sending…`:n}),d===`error`?(0,B.jsx)(`p`,{role:`alert`,className:`trace-form__error font-mono text-xs`,children:`That didn’t go through — try again, or write us at [email protected].`}):i&&(0,B.jsx)(`p`,{className:`interest-footnote font-mono text-xs`,children:i})]})}function Tp(){let[e,t]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{let e=new URLSearchParams(window.location.search).has(`audit_flow`);t(e),e&&bp(`audit_demo_viewed`)},[]),(0,B.jsxs)(`div`,{className:`contact-page`,children:[(0,B.jsx)(`header`,{className:`contact-header`,children:(0,B.jsx)(qu,{current:`contact`})}),(0,B.jsx)(`main`,{className:`contact-main`,children:(0,B.jsxs)(`section`,{className:`contact-card`,children:[(0,B.jsx)(`h1`,{children:e?`Review your audit with us.`:`Talk to us.`}),e&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Choose a time with Paul to discu
19ss the findings and useful next steps. Booking is optional.`}),(0,B.jsx)(`p`,{children:(0,B.jsx)(`a`,{className:`audit-cta`,href:`https://calendar.app.google/MATXmMcFwWjUxyK26`,target:`_blank`,rel:`noopener noreferrer`,onClick:()=>yp(`audit_demo_calendar_opened`,{destination:`calendar`}),children:`Review my audit`})}),(0,B.jsxs)(`p`,{className:`interest-crosslink`,children:[`Ready to start? `,(0,B.jsx)(`a`,{href:xp(`signup`),onClick:()=>yp(`audit_demo_signup_clicked`,{destination:`signup`}),children:`Create your workspace`}),`.`]}),(0,B.jsx)(`p`,{children:`Have a question before booking? Send us a note below.`})]}),!e&&(0,B.jsx)(`p`,{children:`Tell the founders what you’re working on and where you need help.`}),(0,B.jsx)(wp,{subject:`via slancha.ai/contact`,submitLabel:`Send message`,successNote:`Got it — thanks for writing.`,fields:[{key:`company`,label:`Company`},{key:`message`,label:`What are you working on?`,long:!0,required:!0,hint:`Describe your agents, workload and main problem.`}]}),(0,B.jsxs)(`p`,{className:`interest-crosslink`,children:[`Or email `,(0,B.jsx)(`a`,{href:`mailto:[email protected]`,children:`[email protected]`}),`.`]})]})}),(0,B.jsx)(Ju,{})]})}function Ep(){return(0,B.jsxs)(`div`,{className:`contact-page`,children:[(0,B.jsx)(`header`,{className:`contact-header`,children:(0,B.jsx)(qu,{current:`referrals`})}),(0,B.jsx)(`main`,{className:`contact-main`,children:(0,B.jsxs)(`section`,{className:`contact-card`,children:[(0,B.jsx)(`h1`,{children:`Earn 10% on a customer referral.`}),(0,B.jsx)(`p`,{children:`Earn 10% of net revenue collected from a qualifying customer in the twelve months after their first paid invoice. One rate, no tiers or exclusivity.`}),(0,B.jsxs)(`dl`,{className:`interest-terms`,children:[(0,B.jsx)(`dt`,{children:`The rate`}),(0,B.jsx)(`dd`,{children:`10% of net revenue collected from the referred customer in the twelve months after their first paid invoice. Paid quarterly in arrears on revenue we have actually collected; refunds and chargebacks net out of the next payment.`}),(0,B.jsx)(`dt`,{children:`What counts as a referral`}),(0,B.jsx)(`dd`,{children:`You register the company below before we have an open conversation with them. We confirm within five business days that the account is unclaimed and yours, and credit it to you for 90 days. Existing customers, deals already in our pipeline, and self-serve signups we were already talking to do not qualify.`}),(0,B.jsx)(`dt`,{children:`Getting paid`}),(0,B.jsx)(`dd`,{children:`We send a one-page referral agreement when your first deal closes. Payment goes by bank transfer to a person or a company; you handle your own taxes. We do not pay commission to employees of the referred company or where it would breach that company’s policy — tell us if you are unsure and we sort it out before the deal, not after.`}),(0,B.jsx)(`dt`,{children:`Terms`}),(0,B.jsx)(`dd`,{children:`This page describes our standard terms and is not itself a contract; the signed agreement governs. We can change the terms for future referrals, never for one already confirmed.`})]}),(0,B.jsx)(wp,{subject:`via slancha.ai/referrals`,submitLabel:`Register referral`,successNote:`Registered — we will confirm whether the account is open.`,footnote:`WE CONFIRM OR DECLINE WITHIN FIVE BUSINESS DAYS.`,fields:[{key:`company`,label:`Company you want to refer`,required:!0},{key:`contact`,label:`Your contact there (name and role)`},{key:`relationship`,label:`How do you know them?`,long:!0,required:!0,hint:`Describe their agent use, main problem and your relationship.`}]}),(0,B.jsxs)(`p`,{className:`interest-crosslink`,children:[`Looking for a role? `,(0,B.jsx)(`a`,{href:`/work-with-us`,children:`Work with us`}),`.`]})]})}),(0,B.jsx)(Ju,{})]})}var Dp=[`Create Skills`,`Make Decisions`,`Optimize Agents`];function Op(){let[e,t]=(0,b.useState)(!1);return(0,B.jsxs)(`div`,{className:`outcome-headline`,children:[(0,B.jsxs)(`h1`,{id:`front-title`,"aria-label":`Use traces to create skills, make decisions, and optimize agents.`,children:[(0,B.jsx)(`span`,{"aria-hidden":`true`,children:`Use traces to`}),(0,B.jsx)(`span`,{className:`outcome-headline__window${e?` outcome-headline__window--paused`:``}`,"aria-hidden":`true`,children:(0,B.jsxs)(`span`,{className:`outcome-headline__reel`,children:[Dp.map(e=>(0,B.jsx)(`span`,{children:e},e)),(0,B.jsx)(`span`,{className:`outcome-headline__repeat`,children:Dp[0]})]})})]}),(0,B.jsx)(`button`,{type:`button`,className:`outcome-headline__pause`,"aria-label":e?`Resume headline`:`Pause headline`,title:e?`Resume headline`:`Pause headline`,"aria-pressed":e,onClick:()=>t(!e),children:e?(0,B.jsx)(Uu,{size:16,"aria-hidden":`true`}):(0,B.jsx)(Hu,{size:16,"aria-hidden":`true`})})]})}function kp(){return(0,B.jsxs)(`div`,{className:`trace-page front-door`,children:[(0,B.jsx)(`header`,{className:`trace-header`,children:(0,B.jsx)(qu,{current:`waitlist`})}),(0,B.jsxs)(`main`,{children:[(0,B.jsxs)(`section`,{className:`front-hero`,"aria-labelledby":`front-title`,children:[(0,B.jsx)(`div`,{className:`front-resonance-wave`,"aria-hidden":`true`,children:(0,B.jsx)(`img`,{src:`/brand/hero-dot-field.svg`,alt:``,width:`1000`,height:`3000`})}),(0,B.jsxs)(`div`,{className:`front-hero__copy`,children:[(0,B.jsx)(Op,{}),(0,B.jsx)(`p`,{className:`front-dek`,children:`Turn your team’s work into reviewed skills. Explore decision pilots and agent optimization with us.`}),(0,B.jsxs)(`div`,{className:`front-actions`,children:[(0,B.jsx)(`a`,{className:`hero-cta`,href:`/install`,onClick:()=>yp(`homepage_cta_clicked`,{destination:`install`,page:`waitlist`}),children:`Install with AI`}),(0,B.jsx)(`a`,{className:`front-link`,href:`/audit`,onClick:()=>yp(`homepage_cta_clicked`,{destination:`audit`,page:`waitlist`}),children:`Get a free audit`})]}),(0,B.jsx)(`p`,{className:`front-note`,children:`Skills for Claude Code are available now. Decision pilots and optimization demos are by arrangement. Tracing is optional.`})]}),(0,B.jsxs)(`div`,{className:`work-example`,"aria-label":`Illustrative trace to approved skill workflow`,children:[(0,B.jsxs)(`div`,{className:`work-example__trace`,children:[(0,B.jsx)(`span`,{className:`work-example__marker`,"aria-hidden":`true`}),(0,B.jsx)(`div`,{children:(0,B.jsx)(`strong`,{children:`“Use the staging checklist.”`})})]}),(0,B.jsx)(`div`,{className:`work-example__connector`,"aria-hidden":`true`,children:(0,B.jsx)(Ru,{size:20})}),(0,B.jsxs)(`div`,{className:`work-example__skill`,children:[(0,B.jsxs)(`div`,{className:`work-example__file`,children:[(0,B.jsx)(`span`,{"aria-hidden":`true`,children:`▤`}),(0,B.jsx)(`strong`,{children:`release-checklist / SKILL.md`})]}),(0,B.jsxs)(`ul`,{children:[(0,B.jsx)(`li`,{children:`Check the target environment.`}),(0,B.jsx)(`li`,{children:`Review the diff and scan findings.`}),(0,B.jsx)(`li`,{children:`Ask for approval before release.`})]})]}),(0,B.jsx)(`p`,{className:`front-note`,children:`Illustrative example.`})]})]}),(0,B.jsxs)(`section`,{className:`product-paths`,"aria-labelledby":`product-title`,children:[(0,B.jsx)(`div`,{className:`front-section-heading`,children:(0,B.jsx)(`h2`,{id:`product-title`,children:`Put traces to work.`})}),(0,B.jsxs)(`div`,{className:`product-paths__grid`,children:[(0,B.jsxs)(`article`,{className:`product-path product-path--available`,children:[(0,B.jsx)(`h3`,{children:`Create Skills.`}),(0,B.jsx)(`p`,{children:`Available now for Claude Code. Upload a skill or draft one from sessions with premium session mining. Review the security scan and diff, have a person approve a ver
19sion, then install the named skill. You choose when to update.`}),(0,B.jsx)(`a`,{className:`front-link`,href:`/install`,children:`Set up skills`})]}),(0,B.jsxs)(`article`,{className:`product-path`,children:[(0,B.jsx)(`h3`,{children:`Make Decisions.`}),(0,B.jsx)(`p`,{children:`Pilot access by request. Discuss a custom classifier for images, audio, traces or tables. We’ll confirm support and access. Self-serve setup and model-weight downloads are not available.`}),(0,B.jsx)(`a`,{className:`front-link`,href:`/contact`,children:`Discuss your use case`})]}),(0,B.jsxs)(`article`,{className:`product-path`,children:[(0,B.jsx)(`h3`,{children:`Optimize Agents.`}),(0,B.jsx)(`p`,{children:`Find repeated work in a trace, then test a change against task quality and cost. Optimization demos are by arrangement. The free audit does not change code or prove an improvement.`}),(0,B.jsx)(`a`,{className:`front-link`,href:`/optimize`,children:`Explore Optimize`})]})]})]}),(0,B.jsxs)(`section`,{className:`front-workflow`,"aria-labelledby":`workflow-title`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h2`,{id:`workflow-title`,children:`Review. Approve. Install.`}),(0,B.jsx)(`a`,{className:`front-link`,href:`https://app.slancha.ai/docs/draft-a-skill`,children:`Read about session mining`})]}),(0,B.jsxs)(`ol`,{children:[(0,B.jsxs)(`li`,{children:[(0,B.jsx)(`strong`,{children:`Upload or draft.`}),(0,B.jsx)(`p`,{children:`Upload a skill, or opt into premium drafting from sessions.`})]}),(0,B.jsxs)(`li`,{children:[(0,B.jsx)(`strong`,{children:`Review the proposed change.`}),(0,B.jsx)(`p`,{children:`Read the scan, the diff and the source context. A clean scan is not a quality score.`})]}),(0,B.jsxs)(`li`,{children:[(0,B.jsx)(`strong`,{children:`Approve, then install.`}),(0,B.jsx)(`p`,{children:`A person publishes the approved version. Install the named skill and check its revision.`})]})]})]}),(0,B.jsxs)(`section`,{className:`front-audit`,"aria-labelledby":`audit-title`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h2`,{id:`audit-title`,children:`Start with one trace.`}),(0,B.jsx)(`p`,{children:`See recorded patterns and likely secrets, with no language model reading your file. Get findings in your browser and a report by email. Follow-up is optional.`})]}),(0,B.jsx)(`a`,{className:`hero-cta`,href:`/audit`,children:`Get your free audit`})]})]}),(0,B.jsx)(Ju,{})]})}function Ap(){return(0,B.jsxs)(`div`,{className:`contact-page`,children:[(0,B.jsx)(`header`,{className:`contact-header`,children:(0,B.jsx)(qu,{current:`work-with-us`})}),(0,B.jsx)(`main`,{className:`contact-main`,children:(0,B.jsxs)(`section`,{className:`contact-card`,children:[(0,B.jsx)(`h1`,{children:`Build Slancha with us.`}),(0,B.jsx)(`p`,{children:`We’re hiring in engineering, applied research, design and go-to-market. Help a small team build reusable skills and custom decision models for AI agents. Tell us what you’ve built and what you want to work on. The founders read your note; no cover letter needed.`}),(0,B.jsxs)(`p`,{className:`interest-crosslink`,children:[`Know a potential customer? See our `,(0,B.jsx)(`a`,{href:`/referrals`,children:`10% referral program`}),`.`]}),(0,B.jsx)(wp,{subject:`via slancha.ai/work-with-us`,submitLabel:`Get in touch`,successNote:`Got it — thanks for the note.`,fields:[{key:`role`,label:`What you want to work on`,required:!0},{key:`links`,label:`Links (GitHub, site, LinkedIn)`},{key:`location`,label:`Where you are based`},{key:`about`,label:`What you have built`,long:!0,required:!0,hint:`Share a project and what you contributed.`}]})]})}),(0,B.jsx)(Ju,{})]})}var jp=[{q:`What is a skill?`,a:`A skill is reusable instructions for a task. Slancha currently supports skills for Claude Code.`},{q:`What can I use today?`,a:`Upload, review and approve skills for Claude Code. Publishing requires a security scan and human approval. Premium session mining can draft skills from your team’s sessions; an admin must enable it and approve each use of the workspace’s model provider.`},{q:`Does Slancha score skills or guarantee savings?`,a:`No. Slancha does not score skills or drafts, guarantee savings or attribute better outcomes to a skill. Publishing requires a security scan and human approval.`},{q:`Does installing skills turn on tracing?`,a:`No. Tracing requires separate opt-in and admin approval. The free audit uploads only the file you choose; read its privacy notice first.`}
19,{q:`Do approved skills automatically roll out?`,a:`No. A published version is available to your workspace. Install or update a named skill deliberately, then use slancha status to check its revision. Local edits are preserved unless you explicitly force an update.`},{q:`Can I use custom decision models now?`,a:`By arrangement. Contact us to confirm your workflow and access. Self-serve setup and model-weight downloads are not available.`},{q:`What does the free audit give me?`,a:`Recorded patterns, model workload and likely-secret counts from one trace. Get findings in your browser and a report by email. Findings do not establish root causes or expected savings.`},{q:`What does it cost?`,a:`The audit is free. Team pricing is unpublished; email [email protected]. Premium session mining is a separate capability.`}],Mp=`https://slancha.ai`;`${Mp}`;var Np={optimize:{path:`/optimize`,title:`Optimize agent workflows | Slancha`,description:`Find repeated agent work, propose a reviewable patch and test cost against task quality. Local prototype demos by arrangement; start with a free trace audit.`,index:!0},faq:{path:`/faq`,title:`Frequently asked questions | Slancha`,description:`Answers about skills, tracing, decisions, pricing and the free audit. Current availability, approval requirements and evidence limits.`,index:!0},audit:{path:`/audit`,title:`Free trace audit | Slancha`,description:`Find recorded patterns, model workload and likely secrets in one trace. Get findings in your browser and a report by email. No sign-in required.`,index:!0},install:{path:`/install`,title:`Install with AI | Slancha skills for Claude Code`,description:`Install an approved skill in Claude Code. Review setup changes, sign in yourself and verify the installed version. Tracing is optional.`,index:!0},fallback:{path:`/404.html`,title:`Page unavailable | Slancha`,description:`This address is unavailable. Visit the Slancha homepage.`,index:!1},waitlist:{path:`/`,title:`Slancha | Make good work easier to repeat`,description:`Review and reuse instructions for Claude Code with security scans, diffs and human approval. Skills available now; decision pilots by request.`,index:!0},about:{path:`/about`,title:`About Slancha | Good work, ready to reuse`,description:`Slancha is named for Sláinte, the Irish toast. We help teams review and reuse instructions for AI agents, with security scans, diffs and human approval.`,index:!0},"work-with-us":{path:`/work-with-us`,title:`Work with us | Slancha`,description:`A small team building reviewed skills for AI agents and exploring custom decision models. Engineering, applied research, design and go-to-market are open.`,index:!0},referrals:{path:`/referrals`,title:`Referrals: bring us a deal, keep 10% | Slancha`,description:`Earn 10% of net revenue collected from a qualifying Slancha customer in the twelve months after their first paid invoice. Register a referral.`,index:!0},contact:{path:`/contact`,title:`Contact Slancha`,description:`Pilot interest, agent infrastru
19cture questions or anything else. Send a note to the Slancha founders, or email [email protected].`,index:!0},globe:{path:`/globe`,title:`Slancha (archived view)`,description:`An archived view of the Slancha site.`,index:!1}},Pp={"@type":`Organization`,"@id":`${Mp}/#organization`,name:`Slancha`,url:`${Mp}/`,logo:`${Mp}/brand/resonance-apple-touch-icon.png`,email:`[email protected]`,description:`Slancha helps teams review and reuse instructions for AI agents. Skills are available now; decision pilots require arranged access.`};function Fp(e){let t=Np[e],n=`${Mp}${t.path===`/`?`/`:t.path}`;return e===`faq`?{"@context":`https://schema.org`,"@graph":[Pp,{"@type":`WebSite`,"@id":`${Mp}/#website`,url:`${Mp}/`,name:`Slancha`,publisher:{"@id":`${Mp}/#organization`}},{"@type":`WebPage`,"@id":`${n}#webpage`,url:n,name:t.title,description:t.description,isPartOf:{"@id":`${Mp}/#website`},about:{"@id":`${Mp}/#organization`}},{"@type":`FAQPage`,"@id":`${n}#faq`,mainEntity:jp.map(e=>({"@type":`Question`,name:e.q,acceptedAnswer:{"@type":`Answer`,text:e.a}}))}]}:{"@context":`https://schema.org`,"@graph":[Pp,{"@type":e===`about`?`AboutPage`:e===`contact`?`ContactPage`:`WebPage`,"@id":`${n}#webpage`,url:n,name:t.title,description:t.description,isPartOf:{"@id":`${Mp}/#website`},publisher:{"@id":`${Mp}/#organization`}},{"@type":`BreadcrumbList`,itemListElement:[{"@type":`ListItem`,position:1,name:`Slancha`,item:`${Mp}/`},{"@type":`ListItem`,position:2,name:t.title.split(` | `)[0].split(`:`)[0],item:n}]}]}}function Ip(e,t=Np[e].path){let n=Np[e];document.title=n.title;let r=(e,t,n)=>{document.head.querySelector(e)?.setAttribute(t,n)},i=t.replace(/\/+$/,``)||`/`,a=e!==`globe`&&e!==`fallback`&&i===`${n.path}.html`;if(i!==n.path&&i!==`/index.html`&&!a){document.title=`Page not found | Slancha`,r(`meta[name="robots"]`,`content`,`noindex,follow`),document.head.querySelector(`link[rel="canonical"]`)?.remove();let e=document.head.querySelector(`script[type="application/ld+json"]`);e&&(e.textContent=`{}`);return}r(`meta[name="description"]`,`content`,n.description),r(`meta[name="robots"]`,`content`,n.index?`index,follow,max-image-preview:large,max-snippet:-1`:`noindex,follow`),r(`link[rel="canonical"]`,`href`,`${Mp}${n.path}`),r(`meta[property="og:url"]`,`content`,`${Mp}${n.path}`),r(`meta[property="og:title"]`,`content`,n.title),r(`meta[property="og:description"]`,`content`,n.description),r(`meta[name="twitter:title"]`,`content`,n.title),r(`meta[name="twitter:description"]`,`content`,n.description);let o=document.head.querySelector(`script[type="application/ld+json"]`);o&&(o.textContent=JSON.stringify(Fp(e)).replace(/</g,`\\u003c`))}function Lp(){return(0,B.jsxs)(`div`,{className:`trace-page faq-page`,children:[(0,B.jsx)(`header`,{className:`trace-header`,children:(0,B.jsx)(qu,{current:`faq`})}),(0,B.jsxs)(`main`,{className:`faq-main`,children:[(0,B.jsx)(`h1`,{children:`Frequently asked questions`}),(0,B.jsx)(`section`,{className:`faq-questions`,"aria-label":`Frequently asked questions`,children:jp.map(e=>(0,B.jsxs)(`details`,{children:[(0,B.jsx)(`summary`,{children:e.q}),(0,B.jsx)(`p`,{children:e.a})]},e.q))}),(0,B.jsx)(`p`,{className:`front-note`,children:(0,B.jsx)(`a`,{className:`front-link`,href:`/contact`,children:`Talk to us`})})]}),(0,B.jsx)(Ju,{})]})}var Rp=`/recipes/claude-code-v1.txt`;function zp(){let[e,t]=(0,b.useState)(``),[n,r]=(0,b.useState)(!1),i=async()=>{r(!0),t(``);try{let e=await fetch(Rp);if(!e.ok)throw Error(`recipe unavailable`);await navigator.clipboard.writeText(await e.text()),t(`Recipe copied. Paste it into your coding agent and name the skill you want.`)}catch{t(`Could not copy the recipe. Open the text recipe and select it, or use the manual steps below.`)}finally{r(!1)}};return(0,B.jsxs)(`div`,{className:`trace-page install-page`,children:[(0,B.jsx)(`header`,{className:`trace-header`,children:(0,B.jsx)(qu,{current:`install`})}),(0,B.jsxs)(`main`,{className:`install-main`,children:[(0,B.jsxs)(`section`,{className:`install-intro`,children:[(0,B.jsx)(`h1`,{children:`Install an approved skill.`}),(0,B.jsx)(`p`,{className:`front-dek`,children:`Use Claude Code to install an approved skill. Choose the workspace and skill, sign in yourself, and approve the changes.`})]}),(0,B.jsxs)(`section`,{className:`install-recipe`,"aria-labelledby":`recipe-title`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h2`,{id:`recipe-title`,children:`Set up with Claude Code.`}),(0,B.jsx)(`p`,{children:`Paste this recipe into Claude Code with the exact name of an approved skill. Review its proposed changes before approving setup.`}),(0,B.jsxs)(`div`,{className:`front-actions`,children:[(0,B.jsx)(`button`,{className:`hero-cta copy-recipe`,type:`button`,disabled:n,onClick:()=>void i(),children:n?`Copying…`:`Copy agent recipe`}),(0,B.jsx)(`a`,{className:`front-link`,href:Rp,children:`Read recipe v1`}),(0,B.jsx)(`a`,{className:`front-link`,href:Rp,download:!0,children:`Download recipe`})]}),(0,B.jsx)(`p`,{className:`copy-status`,role:`status`,"aria-live":`polite`,children:e})]}),(0,B.jsxs)(`aside`,{children:[(0,B.jsx)(`h3`,{children:`Verify the installation.`}),(0,B.jsxs)(`p`,{children:[`Run `,(0,B.jsx)(`code`,{children:`slancha status`}),`. Confirm the named skill is in the intended location, is up to date, and matches the approved revision in the console.`]})]})]}),(0,B.jsxs)(`section`,{className:`install-manual`,"aria-labelledby":`manual-title`,children:[(0,B.jsx)(`h2`,{id:`manual-title`,children:`Set up manually.`}),(0,B.jsxs)(`ol`,{children:[(0,B.jsxs)(`li`,{children:[(0,B.jsx)(`h3`,{children:`Check the prerequisites.`}),(0,B.jsx)(`p`,{children:`Use your own terminal and user account. You need curl, Python 3.9+, a SHA-256 tool, Git and Claude Code. Choose an approved skill in your workspace before installing it.`})]}),(0,B.jsxs)(`li`,{children:[(0,B.jsx)(`h3`,{children:`Read the installer, then run it.`}),(0,B.jsx)(`pre`,{tabIndex:0,"aria-label":`Download and run the installer`,children:(0,B.jsx)(`code`,{children:`curl -fsSL https://app.slancha.ai/install.sh -o /tmp/slancha-install.sh
20# Read the downloaded script before running it.
21sh /tmp/slancha-install.sh`})}),(0,B.jsxs)(`p`,{children:[`The script verifies its pinned CLI download, installs under your user account and starts sign-in and setup. It installs the skill plugin without configuring tracing. If Slancha is already installed, use `,(0,B.jsx)(`code`,{children:`slancha init --dry-run`}),` to preview setup first.`]})]}),(0,B.jsxs)(`li`,{children:[(0,B.jsx)(`h3`,{children:`Finish sign-in yourself.`}),(0,B.jsx)(`p`,{children:`Open the approval link, match the device code and choose your workspace. Never paste tokens into chat. Use the host-specific command in your console’s Claude Code setup page if it differs from the public installer.`})]}),(0,B.jsxs)(`li`,{children:[(0,B.jsx)(`h3`,{children:`Preview a named skill, then install it.`}),(0,B.jsx)(`p`,{children:`In your project directory, replace the value below with the exact published name from your library. Review the preview before running the second command.`}),(0,B.jsx)(`pre`,{tabIndex:0,"aria-label":`Install a named approved skill`,children:(0,B.jsx)(`code`,{children:`approved_skill='your-approved-skill-name'
22slancha update "$approved_skill" --dry-run
23slancha update "$approved_skill"
24slancha status`})}),(0,B.jsx)(`p`,{children:`A pending skill must clear its scan and be approved by a person first. Keep local edits; do not force updates. Compare the installed revision with the published version. Reload skills or restart Claude Code when prompted.`})]})]})]}),(0,B.jsxs)(`section`,{className:`install-boundaries`,children:[(0,B.jsx)(`h2`,{children:`Tracing is a separate choice.`}),(0,B.jsx)(`p`,{children:`Skills work without tracing. Tracing requires separate opt-in and admin approval. Premium session mining can send session excerpts to your workspace’s model provider after an admin acknowledges the notice.`})]}),(0,B.jsxs)(`section`,{className:`install-help`,children:[(0,B.jsx)(`h2`,{children:`Troubleshooting`}),(0,B.jsxs)(`dl`,{children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`dt`,{children:`Skill not published`}),(0,B.jsx)(`dd`,{children:`Open Review in the console. An authorized person must review the scan and diff before approval.`})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`dt`,{children:`Sign-in expired`}),(0,B.jsxs)(`dd`,{children:[`Run `,(0,B.jsx)(`code`,{children:`slancha auth`}),` again and finish the new device-code approval yourself.`]})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`dt`,{children:`Missing or unknown revision`}),(0,B.jsxs)(`dd`,{children:[`Do not mark setup complete. Check the named skill, local edits and connectivity with `,(0,B.jsx)(`code`,{children:`slancha status`}),`.`]})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`dt`,{children:`Recipe unavailable`}),(0,B.jsxs)(`dd`,{children:[`Use the manual steps or the `,(0,B.jsx)(`a`,{href:`https://app.slancha.ai/docs/install-the-cli`,children:`CLI documentation`}),`. `]})]})]}),(0,B.jsx)(`a`,{className:`front-link`,href:`/contact`,children:`Ask for help`})]})]}),(0,B.jsx)(Ju,{})]})}var Bp=new Intl.NumberFormat(`en-US`,{maximumFractionDigits:4});function $(e){return Bp.format(e)}function Vp(e,t,n=`${t}s`){return`${$(e)} ${e===1?t:n}`}var Hp={observation_export:`Langfuse observation export`,conversation_transcript:`Claude Code transcript`,chat_completion_log:`OpenAI chat-completion log`};function Up(e){return Hp[e]??e}function Wp(e,t){if(!e||!e.coverage.known||e.known_sum===null)return`not recorded`;let n=e.coverage.known===e.coverage.observed?`all ${$(e.coverage.observed)}`:`${$(e.coverage.known)} of ${$(e.coverage.observed)}`;return`${$(e.known_sum)} ${t} (recorded on ${n} model calls)`}function Gp(e,t){return e.replace(/\b[0-9a-f]{24}\b/g,e=>t?.[e]??e)}function Kp(e){let t=e.replace(/_/g,` `);return t.charAt(0).toUpperCase()+t.slice(1)}function qp(e){return e.length<2?e.join(``):`${e.slice(0,-1).join(`, `)} and ${e[e.length-1]}`}
24function Jp(e){let{input:t}=e,n=[];if(t.reader_stop)return n.push(Up(t.family)),n.push(`agent-dbg’s reader stopped at line ${$(t.reader_stop.line)} (not valid JSON): ${$(t.rows_analysed)} of ${$(t.records_in_file)} rows analysed, ${$(t.rows_not_read)} not read. Fix that line and re-run for a complete audit`),n.join(` · `);let r=e.analysis.customer_summary.generation_workload;r?.requests!==void 0&&n.push(Vp(r.requests,`model call`)),r?.traces!==void 0&&n.push(Vp(r.traces,`trace`)),r?.session_groups&&n.push(Vp(r.session_groups,`session`)),n.push(Up(t.family));for(let[e,r]of Object.entries(t.reader_skipped))n.push(`${Vp(r,`record`)} agent-dbg’s reader skipped (${e.replace(/_/g,` `)})`);return n.push(`analysed in ${$(Math.max(e.processed_ms,100)/1e3)} s`),n.push(`your file was deleted from the audit function’s temporary disk`),n.join(` · `)}function Yp(e){let t=e.map(e=>e.line===void 0?`row ${e.row}`:`line ${e.line}`);return qp([...new Set(t)].slice(0,12))}function Xp(e){let t=e.locations.map(e=>`line`in e?`line ${$(e.line)}`:`step ${$(e.step)}`),n=e.locations_total-e.locations.length;return n>0?`${t.join(`, `)} and ${$(n)} more`:qp(t)}var Zp={classification_is_non_causal:`The error patterns are observations, not root causes.`,trace_sources_and_roles_are_unauthenticated:`agent-dbg’s classifier reads your upload as a failing run. The audit does not know whether the run failed, and cannot verify where the file came from.`,absence_of_finding_is_not_proof_of_absence:`A pattern the detectors did not find is not proof that it did not happen.`,semantic_correctness_requires_adapter_or_evaluator_evidence:`Whether the agent’s answers were right needs an evaluator; the classifier does not judge them.`,free_text_payloads_are_not_used_for_error_subclasses:`Error classes come from structured fields, never from the text of prompts, replies or tool output.`,paired_comparison_not_available:`With no passing run of the same task, nothing was compared side by side.`,trace_fidelity_limits_detector_coverage:`The transcript is below full replay fidelity, which limits what the detectors can see.`,trajectory_capture_limits_detector_coverage:`The recording is not known to be complete, which limits what the detectors can see.`,findings_truncated_at_classifier_limit:`agent-dbg stopped listing findings at its limit; later ones are not shown.`};function Qp(e){return Zp[e]??Kp(e)}function $p(e,t){let{input:n,secret_exposure:r}=t;switch(e){case`error_classification_unavailable`:return`agent-dbg’s error classification could not be completed for this file, so no errors are listed.`;case`error_classification_time_budget`:return`agent-dbg’s error classification ran out of time, so no errors are listed.`;case`reader_stopped`:return`agent-dbg’s reader stopped at line ${n.reader_stop?.line??`?`}; rows after it were not analysed.`;case`secret_scan_incomplete`:return`The secret scan ran out of time after ${$(r.scan.records_scanned)} of ${$(n.records_in_file)} records.`;case`subagent_transcripts_not_uploaded`:return`This session handed work to subagents whose transcripts were not uploaded, so what that work consumed is not in this report.`;default:return Kp(e)}}var em=e=>typeof e==`object`&&e&&!Array.isArray(e)?e:{},tm=e=>typeof e==`number`&&Number.isSafeInteger(e)&&e>=0?e:void 0;function nm(e){let t=[];(e.input.reader_stop||e.errors.trace?.reader_stop_line!=null)&&t.push(`the complete recording`),[`patterns_observed`,`no_supported_pattern`].includes(e.errors.status)||t.push(`error-pattern analysis`),e.secret_exposure.scan?.complete!==!0&&t.push(`the secret scan`);let n=t.length?` We could not complete ${t.join(`, `)}; this is not a clean bill of health.`:``;if(e.secret_exposure.likely_secrets.distinct>0)return{title:`Check possible exposed credentials first`,observation:`${e.secret_exposure.likely_secrets.distinct} distinct likely secrets matched. These are not confirmed credentials; inspect the original file privately.${n}`,next:`Confirm each match and rotate any real credential before sharing the recording.`};if(e.errors.observed.length>0)return{title:`Review the recorded failure before changing the workflow`,observation:`Supported error patterns matched. They may interrupt the work, but do not establish a cause or the final task outcome.`+n,next:`Compare a complete passing run of the same task, then test one controlled change.`};let r=em(em(em(e.email_report?.analysis).customer_summary).generation_workload),i=em(em(r.most_repeated_operation_group).retained_input_projections),a=em(i.coverage),o=tm(i.repeated_beyond_first),s=tm(
24a.known),c=tm(a.observed);return o!==void 0&&s!==void 0&&c!==void 0&&0<o&&o<s&&s<=c?{title:`Test reuse when the same input is sent again`,observation:`${o} requests repeated a retained input beyond its first occurrence in one anonymous operation group; input comparison covered ${s} of ${c} requests. Safe reuse can avoid duplicate calls and return capacity for other tasks. These may be necessary retries or intentional repeats; avoided calls and returned turns have not been measured.${n}`,next:`Classify the repeats; compare outputs and task outcomes before testing reuse. Measure confirmed avoided calls, reuse overhead and cost under the same workload.`}:t.length||tm(r.requests)===void 0?{title:`Complete the evidence before choosing a change`,observation:t.length?`We could not complete ${t.join(`, `)}. This recording does not support a specific workflow change yet.`:`Recorded model-work coverage is unavailable. This recording does not support a specific workflow change yet.`,next:`Capture a complete run with model usage and a clear task outcome.`}:{title:`No confirmed problem to fix from this recording`,observation:`The reviewed evidence does not establish unnecessary work or a safe optimization.`,next:`Keep this as a baseline and compare another complete run of the same task.`}}var rm=e=>typeof e==`object`&&e&&!Array.isArray(e)?e:{},im=e=>typeof e==`number`&&Number.isSafeInteger(e)&&e>=0?e:void 0,am=e=>typeof e==`number`&&Number.isFinite(e)&&e>=0?e:void 0,om=`audit-efficiency-signals-v1`;function sm(e){let t=rm(e.email_report),n=rm(t.errors),r=rm(t.secrets),i=rm(rm(rm(t.analysis).customer_summary).generation_workload),a=rm(i.recorded_cost_usd),o=rm(a.coverage),s=rm(rm(i.most_repeated_operation_group).retained_input_projections),c=rm(s.coverage),l=im(s.repeated_beyond_first),u=im(c.known),d=im(c.observed),f=l!==void 0&&u!==void 0&&d!==void 0&&l<u&&u<=d,p=f?l/u:void 0,m=im(i.requests),h=am(a.known_sum),g=im(rm(r.likely_secrets).distinct),_=e=>e===void 0?`Unknown`:e.toLocaleString(`en-US`,{maximumFractionDigits:8}),v=t.reader_stopped===!0||n.prefix_only===!0,y=Array.isArray(n.observed)?n.observed.map(rm):[],b=[`patterns_observed`,`no_supported_pattern`].includes(String(n.status))&&y.every(e=>am(e.count)!==void 0&&[`error`,`warning`,`info`].includes(String(e.severity)))&&!(n.status===`no_supported_pattern`&&y.length>0),x=y.reduce((e,t)=>{let n=am(t.count);return n!==void 0&&n>0?Math.max(e,t.severity===`error`?35:t.severity===`warning`?12:0):e},0),S=[t.reader_stopped===!1&&n.prefix_only===!1&&rm(n.trace_coverage).capture_status===`complete`,m!==void 0&&m>0,f&&u===d&&u===m,b,r.scan_complete===!0],C=[{label:`Input repetition signal`,deduction:p===void 0?void 0:25*p*.4,input:f?`${l} of ${u} compared calls in one anonymous group`:`Input comparison unavailable`,rationale:`25 × repeated/compared × 0.4. Repetition may be intentional; this is not confirmed waste.`,action:`Classify repeats and compare outputs before testing reuse.`},{label:`Failure-pattern signal`,deduction:b?x*.6:void 0,input:b?`${y.length} reported pattern groups; strongest supported severity only`:`Pattern assessment unavailable`,rationale:`Strongest error=35 or warning=12 points × 0.6. Overlapping patterns are not added. No final task outcome is inferred.`,action:`Compare a complete passing run and verify the final task outcome.`}],w=Math.min(60,C.reduce((e,t)=>e+(t.deduction??0),0)),T=S.every(Boolean)?Math.round((100-w)*10)/10:void 0,E=[];return g!==void 0&&g>0&&E.push({label:`Observed risk`,value:`${_(g)} likely secrets`,tone:`red`,meaning:`Pattern matches, not confirmed credentials. Inspect privately and rotate confirmed credentials.`}),f&&E.push({label:`Observed input repetition`,value:`${l} of ${u} (${(100*p).toFixed(1)}%)`,tone:l>0?`amber`:`ink`,meaning:`One anonymous group; input compared for ${u} of ${d} calls. Not savings or confirmed duplicate work.`}),E.push({label:`Observed volume`,value:`${_(m)} model calls`,tone:`ink`,meaning:`Recorded model calls; not complete workflow cost.${v?` Prefix only.`:``}`}),{costDetail:`Recorded cost detail: ${h===void 0?`Unknown`:`USD ${_(h)}`}. Cost supplied for ${_(im(o.known))} of ${_(im(o.observed))} model calls. Billing unverified; recording only.`,facts:E,score:T,factors:C,checksAvailable:S.filter(
24Boolean).length,version:om,savings:`Not estimable`,savingsMeaning:`Verified billing, eligible removable cost and reuse assumptions are missing.`}}function cm({report:e,fullEmail:t=!1,onDetails:n,onDownload:r,onAnother:i,reviewHref:a,onReview:o}){let s=t||e.delivery?.format===`slancha-safe-audit-email-v1`,c=s&&e.delivery?.status===`sent`,l=e.errors.observed.length,u=e.secret_exposure.likely_secrets.distinct,d=[`patterns_observed`,`no_supported_pattern`].includes(e.errors.status),f=nm(e),p=sm(e),m=e.errors.status===`classification_failed`?`Error-pattern analysis failed.`:e.errors.status===`not_available_multi_session`?`Error-pattern analysis is unavailable for multiple sessions.`:`Error-pattern analysis is unavailable for this format.`;return(0,B.jsxs)(`section`,{className:`audit-teaser`,"aria-labelledby":`teaser-title`,children:[(0,B.jsx)(`p`,{className:`front-note`,children:`Your trace audit`}),(0,B.jsxs)(`div`,{className:`audit-financial`,children:[(0,B.jsx)(`dl`,{className:`audit-financial__numbers`,children:p.facts.map(e=>(0,B.jsxs)(`div`,{className:`audit-financial__fact audit-financial__fact--${e.tone}`,children:[(0,B.jsx)(`dt`,{children:e.label}),(0,B.jsx)(`dd`,{children:e.value}),(0,B.jsx)(`p`,{children:e.meaning})]},e.label))}),(0,B.jsxs)(`div`,{className:`audit-financial__rating`,children:[(0,B.jsx)(`p`,{children:`Efficiency signal score`}),(0,B.jsx)(`strong`,{children:p.score===void 0?`Not scored`:`${p.score}/100`}),(0,B.jsxs)(`p`,{children:[p.checksAvailable,` of 5 evidence checks available`]}),(0,B.jsx)(`small`,{children:`Heuristic rubric, not validated efficiency or savings. A high score does not prove optimal operation.`})]})]}),(0,B.jsx)(`h1`,{id:`teaser-title`,children:f.title}),(0,B.jsx)(`p`,{children:f.observation}),(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`strong`,{children:`Next action:`}),` `,f.next]}),(0,B.jsxs)(`p`,{className:`audit-financial__savings`,children:[(0,B.jsxs)(`strong`,{children:[`Projected net savings: `,p.savings,`.`]}),` `,p.savingsMeaning,` No savings or speed improvement has been measured.`]}),a&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{children:`Want help choosing what to test? Review one workflow, identify missing evidence and agree a baseline comparison.`}),(0,B.jsx)(`div`,{className:`audit-actions`,children:(0,B.jsx)(`a`,{className:`audit-button`,href:a,onClick:o,children:`Review my audit`})})]}),(0,B.jsxs)(`details`,{className:`audit-financial__detail`,children:[(0,B.jsxs)(`summary`,{children:[`What contributes to the score · `,p.version]}),p.factors.map(e=>(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{children:(0,B.jsxs)(`strong`,{children:[e.label,`: `,e.deduction===void 0?`Unknown`:`−${e.deduction.toFixed(2)} points`]})}),(0,B.jsx)(`p`,{children:e.input}),(0,B.jsx)(`p`,{children:e.rationale}),(0,B.jsxs)(`p`,{children:[`Next: `,e.action]})]},e.label)),(0,B.jsx)(`p`,{children:`Total deduction cap: 60. Missing checks do not subtract points or earn a healthy score. Weights are review policy, not calibrated probabilities.`}),(0,B.jsx)(`p`,{children:`Classifier: not activated. Agent review: not run.`})]}),(0,B.jsxs)(`details`,{className:`audit-financial__detail`,children:[(0,B.jsx)(`summary`,{children:`Coverage and assessment details`}),(0,B.jsx)(`p`,{children:p.costDetail}),(0,B.jsxs)(`p`,{children:[`Records analysed: `,$(e.input.rows_analysed),`. Observed error patterns: `,d?$(l):`Unknown`,`. Distinct likely secrets: `,$(u),`.`]}),(0,B.jsx)(`p`,{children:d?l?`${Vp(l,`kind`)} of error pattern matched. Review the recording and context before deciding what to change.`:`No supported error pattern was matched. That does not prove the run succeeded.`:m}),e.input.reader_stop&&(0,B.jsx)(`p`,{children:`The reader stopped before the end of the file. Findings cover only the records analysed.`}),e.errors.trace?.reader_stop_line!=null&&(0,B.jsxs)(`p`,{children:[`Error analysis covers only a recorded prefix: `,$(e.errors.trace.observed_prefix_events),` of `,$(e.errors.trace.events),` events.`]}),!e.secret_exposure.scan.complete&&(0,B.jsxs)(`p`,{children:[`The secret scan is incomplete. Counts cover only `,$(e.secret_exposure.scan.records_scanned),` records scanned; additional secrets may be present.`]}),u>0&&(0,B.jsx)(`p`,{children:`Review likely-secret locations in your original file. Rotate any real credential; no secret value is shown here.`})]}),(0,B.jsxs)(`div`,{className:`audit-actions`,children:[(0,B.jsx)(`button`,{className:`audit-button`,type:`button`,onClick:n,children:c?`Email not arrived?`:s?`Recover my safe report`:`View detailed report`}),!c&&(0,B.jsx)(`button`,{className:`audit-button audit-button--quiet`,type:`button`,onClick:r,children:`Download report`}),(0,B.jsx)(`button`,{className:`audit-button audit-button--quiet`,type:`button`,onClick:i,children:`Audit another file`})]}),(0,B.jsx)(`p`,{className:`front-note`,children:s?c?`Your email includes a summary and full report. It excludes trace text, names, locations and secret values.`:`Your redacted report is ready. Keep a local copy while email delivery is uncertain.`:`Your full report lives in this tab. Download it before leaving. The email currently contains an aggregate summary.`})]})}function lm({report:e}){let{errors:t}=e;return(0,B.jsxs)(`section`,{className:`audit-section`,"aria-labelledby":`audit-errors`,children:[(0,B.jsx)(`h2`,{id:`audit-errors`,children:`What went wrong in this trace`}),(0,B.jsx)(um,{report:e}),t.trace?.reader_stop_line!=null&&(0,B.jsxs)(`p`,{className:`audit-warning`,children:[`The classifier read lines 1 to `,$(t.trace.reader_stop_line-1),` only: its reader stops at line `,$(t.trace.reader_stop_line),`, a record it does not model. Errors after that line are not classified; the rest of this report reads the whole file.`]}),t.about_the_recording.length>0&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`h3`,{children:`About the recording`}),(0,B.jsx)(`p`,{children:`These describe what the transcript captured, not what the agent did:`}),(0,B.jsx)(`ul`,{className:`audit-list`,children:t.about_the_recording.map(e=>(0,B.jsxs)(`li`,{children:[(0,B.jsxs)(`strong`,{children:[e.label,`.`]}),` `,e.description]},`${e.family}/${e.subclass}/${e.detector}`))})]}),t.engine&&(0,B.jsxs)(`p`,{className:`audit-trust`,children:[`Observed patterns from agent-dbg’s error catalog (`,t.engine.taxonomy_version,`), run on this one trace with no passing run to compare against. They are not root causes, and the audit does not claim the run failed.`]})]})}function um({report:e}){let{errors:t}=e;switch(t.status){case`not_available_for_format`:return(0,B.jsxs)(`p`,{children:[`Error classification is not available for this format. agent-dbg’s error classifier reads a Claude Code transcript; it does not read a `,Up(t.source.family),`. The rest of this report still applies.`]});case`not_available_multi_session`:return(0,B.jsx)(`p`,{children:`Error classification is not available for this file: it holds more than one session, and the classifier reads one run at a time. Upload a single session’s transcript to classify it.`});case`classification_failed`:return(0,B.jsx)(`p`,{children:`The error classification did not complete for this file, so no errors are listed.`})}return t.observed.length?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`p`,{children:[`agent-dbg’s detectors matched `,Vp(t.observed.length,`kind`,`kinds`),` of error in this run:`]}),(0,B.jsx)(`ul`,{className:`audit-grid`,children:t.observed.map(e=>(0,B.jsx)(dm,{group:e},`${e.family}/${e.subclass}/${e.detector}`))})]}):(0,B.jsx)(`p`,{children:`agent-dbg’s detectors matched no error pattern in the run. They read structured fields only (tool error flags, stop reasons, call and result pairing, repeats), so this is not proof that nothing went wrong.`})}function dm({group:e}){return(0,B.jsx)(`li`,{className:`audit-grid__row`,children:(0,B.jsxs)(`details`,{children:[(0,B.jsxs)(`summary`,{children:[(0,B.jsx)(`span`,{className:`audit-grid__name`,children:e.label}),(0,B.jsx)(`span`,{className:`audit-chip`,children:Kp(e.family)}),(0,B.jsx)(`span`,{className:`audit-chip`,children:Vp(e.count,`occurrence`)})]}),(0,B.jsxs)(`dl`,{className:`audit-grid__detail`,children:[(0,B.jsx)(`dt`,{children:`What it is`}),(0,B.jsx)(`dd`,{children:e.description}),(0,B.jsx)(`dt`,{children:`Where`}),(0,B.jsx)(`dd`,{children:e.locations_total>0?`${Xp(e)}.`:`Not tied to one place in the file.`}),(0,B.jsx)(`dt`,{children:`How it was found`}),(0,B.jsxs)(`dd`,{children:[Kp(e.detector),e.signals.length>0&&(0,B.jsxs)(B.Fragment,{children:[`: `,(0,B.jsx)(`span`,{className:`font-mono`,children:e.signals.join(`, `)})]})]})]})]})})}function fm({report:e,email:t,domain:n,review:r=`idle`,onDownload:i,onRequestReview:a,onAnother:o}){let s=e.analysis.customer_summary,c=e.secret_exposure,l=c.likely_secrets,u=s.generation_workload,d=e.limits.audits_left_today,f=[...s.priority_investigations.map(e=>({key:e.code,title:e.title,text:e.rationale??``})),...e.inspection.map(t=>({key:t.code,title:Kp(t.code),text:Gp(t.summary,e.labels)}))].slice(0,5);return(0,B.jsxs)(`article`,{className:`audit-report`,"aria-labelledby":`audit-report-title`,children:[(0,B.jsx)(`h1`,{id:`audit-report-title`,className:`audit-report__title`,children:`Your trace audit`}),(0,B.jsxs)(`p`,{className:`audit-scope`,children:[Jp(e),`.`]}
24),(0,B.jsx)(`p`,{className:`audit-caption`,children:`This report lives in this tab. Download it before you leave.`}),(0,B.jsx)(lm,{report:e}),(0,B.jsxs)(`section`,{className:`audit-section`,"aria-labelledby":`audit-secrets`,children:[(0,B.jsx)(`h2`,{id:`audit-secrets`,children:`Likely secrets`}),l.distinct?(0,B.jsxs)(`p`,{children:[Vp(l.distinct,`distinct likely secret`),` (`,Vp(l.matches,`match`,`matches`),` in`,` `,Vp(l.records,`record`),`):`,` `,Object.entries(l.by_kind).map(([e,t])=>`${$(t)} ${e}`).join(`, `),`. Check `,Yp(c.locations),`; rotate any real credential.`]}):(0,B.jsxs)(`p`,{children:[`The scan found no likely secret in `,Vp(c.scan.records_scanned,`record`),`.`]}),c.credential_like_assignments.distinct>0&&(0,B.jsxs)(`p`,{children:[Vp(c.credential_like_assignments.distinct,`credential-like assignment`),`, often ordinary code rather than secrets.`]}),!c.scan.complete&&(0,B.jsxs)(`p`,{children:[`Scan incomplete: `,$(c.scan.records_scanned),` of`,` `,$(e.input.records_in_file),` records.`]}),(0,B.jsx)(`p`,{className:`audit-caption`,children:`A Slancha check on the upload. Values are never shown.`})]}),f.length>0&&(0,B.jsxs)(`section`,{className:`audit-section`,"aria-labelledby":`audit-look`,children:[(0,B.jsx)(`h2`,{id:`audit-look`,children:`Where to look first`}),(0,B.jsx)(`ol`,{className:`audit-list`,children:f.map(e=>(0,B.jsxs)(`li`,{children:[(0,B.jsxs)(`strong`,{children:[e.title,`.`]}),` `,e.text]},e.key))}),(0,B.jsx)(`p`,{className:`audit-caption`,children:`A place to look, not a saving.`})]}),(0,B.jsxs)(`section`,{className:`audit-section`,"aria-labelledby":`audit-observed`,children:[(0,B.jsx)(`h2`,{id:`audit-observed`,children:`What we observed`}),(0,B.jsx)(`p`,{className:`audit-headline`,children:s.headline}),(0,B.jsx)(`p`,{children:s.summary}),u&&(0,B.jsxs)(`dl`,{className:`audit-facts`,children:[(0,B.jsx)(`dt`,{children:`Model calls`}),(0,B.jsx)(`dd`,{children:u.requests===void 0?`not recorded`:$(u.requests)}),(0,B.jsx)(`dt`,{children:`Traces`}),(0,B.jsx)(`dd`,{children:u.traces===void 0?`not recorded`:$(u.traces)}),(0,B.jsx)(`dt`,{children:`Recorded cost`}),(0,B.jsx)(`dd`,{children:Wp(u.recorded_cost_usd,`USD`)}),(0,B.jsx)(`dt`,{children:`Input work`}),(0,B.jsx)(`dd`,{children:Wp(u.input_work_tokens,`tokens`)}),(0,B.jsx)(`dt`,{children:`Output`}),(0,B.jsx)(`dd`,{children:Wp(u.output_tokens,`tokens`)})]})]}),(0,B.jsxs)(`section`,{className:`audit-section`,"aria-labelledby":`audit-limits`,children:[(0,B.jsx)(`h2`,{id:`audit-limits`,children:`What this audit can’t tell you`}),(0,B.jsxs)(`ul`,{className:`audit-list`,children:[e.errors.limitations.map(e=>(0,B.jsx)(`li`,{children:Qp(e)},e)),s.plain_language_limitations.map(e=>(0,B.jsx)(`li`,{children:e},e)),e.hosted_gaps.map(t=>(0,B.jsx)(`li`,{children:$p(t,e)},t)),e.omitted.length>0&&(0,B.jsxs)(`li`,{children:[`Too large to return in full: `,e.omitted.join(`, `),` left out.`]})]})]}),(0,B.jsxs)(`section`,{className:`audit-section`,"aria-labelledby":`audit-file`,children:[(0,B.jsx)(`h2`,{id:`audit-file`,children:`What happened to your file`}),(0,B.jsxs)(`dl`,{className:`audit-facts`,children:[(0,B.jsx)(`dt`,{children:`Storage`}),(0,B.jsx)(`dd`,{children:e.processing.storage}),(0,B.jsx)(`dt`,{children:`Network`}),(0,B.jsx)(`dd`,{children:e.processing.network}),(0,B.jsx)(`dt`,{children:`Audits left today`}),(0,B.jsxs)(`dd`,{children:[$(d.user),` for you, `,$(d.domain),` for `,n]})]})]}),(0,B.jsxs)(`section`,{className:`audit-section`,"aria-labelledby":`audit-downloads`,children:[(0,B.jsx)(`h2`,{id:`audit-downloads`,children:`Downloads`}),(0,B.jsxs)(`div`,{className:`audit-actions`,children:[(0,B.jsx)(`button`,{type:`button`,className:`audit-button`,onClick:()=>i?.(`full`),children:`Download the full audit (private)`}),(0,B.jsx)(`button`,{type:`button`,className:`audit-button audit-button--quiet`,onClick:()=>i?.(`summary`),children:`Download the summary`})]}),(0,B.jsx)(`p`,{className:`audit-caption`,children:`The summary is exactly what Slancha receives if you ask about a debugger engagement: error counts, no names, no line numbers, no timestamps, no trace text.`})]}),(0,B.jsxs)(`section`,{className:`audit-section`,"aria-labelledby":`audit-debugger`,children:[(0,B.jsx)(`h2`,{id:`audit-debugger`,children:`Find the cause: agent-dbg’s debugger`}),(0,B.jsx)(`p`,{children:`This report says what the trace shows. Finding which step caused a failure takes agent-dbg’s debugger, which works in your own harness rather than on an uploaded file:`}),(0,B.jsx)(`ol`,{className:`audit-list`,children:e.debugger.steps.map(e=>(0,B.jsxs)(`li`,{children:[(0,B.jsxs)(`strong`,{children:[Kp(e.code),`.`]}
24),` `,e.text]},e.code))}),(0,B.jsx)(`h3`,{children:`What it needs`}),(0,B.jsx)(`ul`,{className:`audit-list`,children:e.debugger.requires.map(e=>(0,B.jsx)(`li`,{children:e.text},e.code))}),(0,B.jsxs)(`p`,{className:`audit-caption`,children:[e.debugger.this_audit,` It is offered as a follow-up engagement.`]}),a&&(0,B.jsx)(pm,{email:t,state:r,onSubmit:a})]}),o&&(0,B.jsx)(`p`,{children:(0,B.jsx)(`button`,{type:`button`,className:`audit-button audit-button--quiet`,onClick:o,children:`Audit another file`})})]})}function pm({email:e,state:t,onSubmit:n}){let[r,i]=(0,b.useState)(``);return t===`received`?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`h3`,{id:`audit-review`,children:`Ask about a debugger engagement`}),(0,B.jsxs)(`p`,{role:`status`,children:[`Sent. We’ll email `,e,`.`]})]}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`h3`,{id:`audit-review`,children:`Ask about a debugger engagement`}),(0,B.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),n?.(r)},className:`interest-form audit-review`,"aria-labelledby":`audit-review`,children:[(0,B.jsxs)(`label`,{className:`interest-field`,htmlFor:`audit-review-note`,children:[(0,B.jsxs)(`span`,{className:`trace-form__label`,children:[`Tell us about your harness and evaluator `,(0,B.jsx)(`span`,{className:`font-mono text-xs`,children:`∙ Optional`})]}),(0,B.jsx)(`textarea`,{id:`audit-review-note`,className:`interest-input interest-input--long`,maxLength:1e3,rows:4,value:r,onChange:e=>i(e.target.value)})]}),(0,B.jsx)(`button`,{type:`submit`,className:`trace-form__button interest-submit`,disabled:t===`sending`,children:t===`sending`?`Sending…`:`Ask about the debugger`}),(0,B.jsxs)(`p`,{className:`audit-caption`,children:[`We receive the summary download and your note, and reply to `,e,`.`]}),typeof t==`object`&&(0,B.jsxs)(`p`,{role:`alert`,className:`trace-form__error`,children:[t.message,` `,t.hint]})]})]})}var mm=`2026-10-04`,hm=`2026-10-04-full-report-v1`,gm={not_configured:{code:`not_configured`,message:`The audit is not available on this site yet.`},body_too_large:{code:`body_too_large`,message:`The file is larger than 4,000,000 bytes after compression.`,hint:`Upload a smaller export, for example the last day of traces.`},unreadable_file:{code:`unreadable_file`,message:`The browser could not read that file.`},timed_out:{code:`timed_out`,message:`The audit ran past its time limit and was stopped. Nothing was kept.`,hint:`Try a smaller file, for example the last day of traces.`},outcome_unknown:{code:`outcome_unknown`,message:`The connection ended before we could confirm the audit result.`,hint:`The server may still finish and email you. Check your inbox before submitting again; another upload may use another audit allowance.`},service_busy:{code:`service_busy`,message:`The audit service is busy.`,hint:`Try again in a minute.`},service_error:{code:`service_error`,message:`The audit failed on our side (the file may be too large to analyse). Nothing was kept.`},unreachable_or_busy:{code:`unreachable_or_busy`,message:`Couldn’t reach the audit service, or it’s busy.`,hint:`Try again in a minute.`},unavailable:{code:`unavailable`,message:`The audit service is not available right now.`}};function _m(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}async function vm(e,t,n){let r=t>=n-10;if(!e)return{error:r?gm.timed_out:gm.unreachable_or_busy};let i=null;if((e.headers.get(`content-type`)??``).includes(`application/json`))try{i=await e.json()}catch{if(e.ok)return{error:gm.outcome_unknown};i=null}return _m(i)&&i.schema===`slancha-trace-audit-error-v1`&&typeof i.code==`string`?{error:{code:i.code,message:String(i.message??``),hint:typeof i.hint==`string`?i.hint:void 0,status:e.status}}:e.ok&&_m(i)&&i.schema===`slancha-trace-audit-result-v1`?{report:i}:e.status>=500||e.status===0?{error:r?gm.timed_out:gm.service_error}:e.status===429?{error:gm.service_busy}:{error:gm.unavailable}}async function ym(e,t,n,r,i){let a=i(),o=new AbortController,s,c=new Promise(e=>{s=setTimeout(()=>{e({error:gm.outcome_unknown}),o.abort()},Math.max(1,n*1e3))});try{return await Promise.race([c,(async()=>
24{try{return await vm(await r(e,{...t,signal:o.signal,credentials:`omit`,cache:`no-store`}),(i()-a)/1e3,n)}catch{return{error:gm.outcome_unknown}}})()])}finally{clearTimeout(s)}}async function bm(e){if(!e.api)return{error:gm.not_configured};try{let t=await fetch(`${e.api}/v1/free-config`,{cache:`no-store`,credentials:`omit`}),n=await t.json();return t.ok&&n.schema===`slancha-trace-audit-me-v1`?{me:n}:{error:gm.unavailable}}catch{return{error:gm.unreachable_or_busy}}}async function xm(e,t,n,r,i,a=mm){return e.api?ym(`${e.api}/v1/free-audit`,{method:`POST`,headers:{"Content-Type":`application/gzip`,"x-slancha-email":t.trim().toLowerCase(),"x-slancha-flow":n,"x-slancha-analytics":navigator.doNotTrack===`1`?`0`:`1`,"x-slancha-test":vp()?`1`:`0`,"x-slancha-ack":a},body:r.body},i,fetch,Date.now):{error:gm.not_configured}}async function Sm(e,t,n,r,i=fetch){if(!e.api||!r.email_report)return`failed`;let a=new AbortController,o,s=new Promise(e=>{o=setTimeout(()=>{e(`unknown`),a.abort()},15e3)});try{return await Promise.race([s,(async()=>{try{let o=await i(`${e.api}/v1/free-audit-email`,{method:`POST`,credentials:`omit`,cache:`no-store`,signal:a.signal,headers:{"Content-Type":`application/json`,"x-slancha-email":t.trim().toLowerCase(),"x-slancha-flow":n,"x-slancha-ack":r.delivery?.notice_version??`2026-10-04-full-report-v1`,"x-slancha-analytics":`0`},body:JSON.stringify({audit_id:r.audit_id,email_report:r.email_report})}),s=await o.json();return o.ok&&_m(s)&&s.schema===`slancha-audit-email-delivery-v1`&&[`sent`,`failed`,`unknown`].includes(String(s.status))?s.status:o.status>=400&&o.status<500?`failed`:`unknown`}catch{return`unknown`}})()])}finally{clearTimeout(o)}}function Cm(e){return e.length>=2&&e[0]===31&&e[1]===139}async function wm(e){return new Response(e.stream().pipeThrough(new CompressionStream(`gzip`))).blob()}async function Tm(e,t=wm){let n;try{n=Cm(new Uint8Array(await e.slice(0,2).arrayBuffer()))?new Blob([e],{type:`application/gzip`}):await t(e)}catch{return{error:gm.unreadable_file}}return n.size>4e6?{error:gm.body_too_large}:{body:n,bytes:n.size}}function Em(e){return _m(e)?typeof e.id==`string`&&(typeof e.traceId==`string`||typeof e.trace_id==`string`)?typeof e.type==`string`?`langfuse`:`langfuse_without_type`:typeof e.type==`string`&&(`sessionId`in e||`message`in e||`uuid`in e)?`claude_code`:`request`in e&&`response`in e||`choices`in e||`messages`in e&&`model`in e?`openai`:`unknown`:`unknown`}function Dm(e){let t=[],n=[],r;try{r=JSON.parse(e)}catch{r=void 0}if(r!==void 0){if(_m(r)&&`resourceSpans`in r)return{family:`unknown`,records:0,badLines:n,block:`This looks like an OpenTelemetry export, which the audit does not read yet. Upload a Langfuse observation export, a Claude Code transcript, or an OpenAI chat-completion log.`};t=Array.isArray(r)?r:_m(r)&&Array.isArray(r.data)?r.data:[r]}else e.split(`
25`).forEach((e,r)=>{if(e.trim())try{t.push(JSON.parse(e))}catch{n.push(r+1)}});if(!t.length)return{family:`unknown`,records:0,badLines:n,block:`No line of this file is valid JSON.`};let i=Em(t[0]);if(i===`langfuse_without_type`)return{family:`langfuse`,records:t.length,badLines:n,block:`These look like Langfuse rows without a type. A Langfuse export needs id, traceId and type on every row.`};if(i===`unknown`)return{family:`unknown`,records:t.length,badLines:n,block:`This does not look like a Langfuse observation export, a Claude Code transcript, or an OpenAI chat-completion log.`};let a={family:i,records:t.length,badLines:n},o=e.replace(/\n+$/,``).split(`
26`).length,s=n.find(e=>e<o);return i===`langfuse`&&s!==void 0&&(a.warning=`Line ${s} isn’t valid JSON. agent-dbg’s Langfuse reader stops at the first bad line, so rows after it would not be analysed. Fix or remove it, or upload anyway.`),a}async function Om(e){return Cm(new Uint8Array(await e.slice(0,2).arrayBuffer()))?new Response(e.stream().pipeThrough(new DecompressionStream(`gzip`))).text():e.text()}function km(e,t,n=document){let r=URL.createObjectURL(new Blob([t],{type:`application/octet-stream`})),i=n.createElement(`a`);i.href=r,i.download=e,n.body.appendChild(i),i.click(),i.remove(),setTimeout(()=>URL.revokeObjectURL(r),0)}function Am(e){let{review:t,...n}=e;return JSON.stringify(n,null,2)}var jm={langfuse:Up(`observation_export`),claude_code:Up(`conversation_transcript`),openai:Up(`chat_completion_log`),unknown:`Unrecognised file`};function Mm({me:e,busy:t=!1,elapsed:n=0,onSubmit:r}){let[i,a]=(0,b.useState)(null),[o,s]=(0,b.useState)(``),[c,l]=(0,b.useState)(null),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)(!1),[m,h]=(0,b.useState)(!1),[g,_]=(0,b.useState)(!1),v=(0,b.useRef)(0),y=async e=>
26{let t=e.target.files?.[0]??null,n=++v.current;if(a(t),l(null),d(!1),h(!1),_(!!t),t){yp(`audit_file_selected`);try{let e=Dm(await Om(t));v.current===n&&l(e)}catch{v.current===n&&d(!0)}finally{v.current===n&&_(!1)}}},x=!!(c?.block||c?.warning||u),S=!!i&&!!o.trim()&&f&&(!x||m)&&!t&&!g;return(0,B.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),i&&S&&r(i,o.trim().toLowerCase())},className:`interest-form audit-upload`,children:[(0,B.jsxs)(`p`,{children:[`Up to `,Vp(e.limits.user_day,`audit`),` a day per email and source IP, and `,$(e.limits.domain_day),` per company.`]}),(0,B.jsxs)(`label`,{className:`interest-field`,htmlFor:`audit-email`,children:[(0,B.jsx)(`span`,{className:`trace-form__label`,children:`Work email · Required`}),(0,B.jsx)(`input`,{id:`audit-email`,className:`interest-input`,type:`email`,autoComplete:`email`,required:!0,value:o,disabled:t,onChange:e=>s(e.target.value),onBlur:()=>{o.trim()&&bp(`audit_email_entered`)}}),(0,B.jsx)(`span`,{className:`interest-hint`,children:e.email_report_format===`slancha-safe-audit-email-v1`?`We’ll email your full report.`:`We’ll email a summary.`})]}),(0,B.jsxs)(`label`,{className:`interest-field`,htmlFor:`audit-file`,children:[(0,B.jsxs)(`span`,{className:`trace-form__label`,children:[`Trace file `,(0,B.jsx)(`span`,{className:`font-mono text-xs`,children:`∙ one file`})]}),(0,B.jsx)(`span`,{className:`interest-hint`,children:`Upload a Langfuse observation export (JSONL or JSON), a Claude Code transcript (.jsonl), or an OpenAI chat-completion log. Limit: 4,000,000 bytes after browser compression. Errors are classified for a Claude Code transcript of one session only.`}),(0,B.jsx)(`input`,{id:`audit-file`,className:`interest-input audit-file`,type:`file`,accept:`.json,.jsonl,.ndjson,.gz,application/json,application/gzip`,onChange:y,disabled:t})]}),g&&(0,B.jsx)(`p`,{className:`interest-hint`,role:`status`,children:`Inspecting the selected file…`}),c&&!c.block&&(0,B.jsxs)(`p`,{className:`interest-hint`,role:`status`,children:[jm[c.family],` · `,Vp(c.records,`record`),c.badLines.length>0&&` · ${Vp(c.badLines.length,`line`)} not valid JSON`]}),(c?.block||c?.warning||u)&&(0,B.jsx)(`p`,{className:`audit-warning`,role:`alert`,children:u?`The browser could not read that file.`:c?.block??c?.warning}),x&&(0,B.jsxs)(`label`,{className:`audit-check`,htmlFor:`audit-anyway`,children:[(0,B.jsx)(`input`,{id:`audit-anyway`,type:`checkbox`,checked:m,onChange:e=>h(e.target.checked)}),(0,B.jsx)(`span`,{children:`Upload anyway. A rejected file still counts toward today’s audits.`})]}),(0,B.jsxs)(`label`,{className:`audit-check`,htmlFor:`audit-rights`,children:[(0,B.jsx)(`input`,{id:`audit-rights`,type:`checkbox`,checked:f,onChange:e=>p(e.target.checked)}),(0,B.jsxs)(`span`,{children:[`I have the right to upload this data and agree to the`,` `,(0,B.jsx)(`a`,{href:`https://app.slancha.ai/terms`,children:`Terms`}),` and the `,(0,B.jsx)(`a`,{href:`#privacy`,children:`audit privacy notice`}),`.`]})]}),(0,B.jsx)(`button`,{type:`submit`,className:`trace-form__button interest-submit`,disabled:!S,children:t?`Analysing…`:`Get my free audit`}),t&&(0,B.jsxs)(`p`,{className:`interest-hint`,role:`status`,"aria-live":`polite`,children:[`Analysing: `,$(n),` s so far. The browser waits up to `,$(e.timeout_s),` s; the server may continue after a connection interruption.`]})]})}function Nm({fullEmail:e=!1}={}){return(0,B.jsxs)(`section`,{id:`privacy`,className:`audit-notice`,"aria-labelledby":`audit-privacy`,children:[(0,B.jsxs)(`h2`,{id:`audit-privacy`,children:[`Audit privacy notice `,(0,B.jsxs)(`span`,{className:`font-mono text-xs`,children:[`∙ version `,e?hm:mm]})]}),(0,B.jsx)(`p`,{children:e?`No account is created. Amazon SES delivers a short audit summary, the complete readable safe report as an HTML attachment, and supplementary JSON to the address you enter. Findings, aggregate resource metrics and coverage are included; trace text, identifiers, names, locations, timestamps and secret values are excluded. You can recover the same safe report locally if delivery fails.`:`No account is created. Amazon SES delivers your audit summary to the address you enter. The email excludes trace text, names, line numbers and timestamps; keep the full report in your browser or download it.`}),(0,B.jsx)(`p`,{children:`Unlike the Slancha agent, this tool uploads your raw trace file to Slancha’s audit function on AWS (us-east-1). It is written to the function’s temporary disk only while deterministic code analyses it (no language model reads 
26it), then deleted; if an audit fails, it is deleted before the next audit runs.`}),(0,B.jsxs)(`p`,{children:[`We keep a record of each audit (email and source-IP digests for usage limits, email domain, time, size, format and outcome), never trace content. PostHog records funnel steps under a random flow ID, not your email or trace.`,e&&` Delivery also retains a report digest, status and attempt count, never the report body or your email address.`,` `,`We track email delivery, estimated opens and link clicks; privacy tools can trigger opens automatically. Do Not Track disables analytics and email engagement tracking. A rejected file still counts toward your three audits a day. Requesting this audit does not enroll you in marketing follow-ups. A later follow-up sequence requires a separate choice.`]}),(0,B.jsxs)(`p`,{children:[`Don’t upload secrets you can’t rotate: we count likely secrets but don’t redact your file. The `,(0,B.jsx)(`a`,{href:`https://app.slancha.ai/terms`,children:`Terms`}),` apply. Questions or deletion requests:`,` `,(0,B.jsx)(`a`,{href:`mailto:[email protected]`,children:`[email protected]`}),`.`]})]})}var Pm={api:`https://p5hhwpezduoxtxatoaffcynyuy0vilue.lambda-url.us-east-1.on.aws`.replace(/\/+$/,``)};function Fm(){let[e,t]=(0,b.useState)(null),[n,r]=(0,b.useState)(null),[i,a]=(0,b.useState)(``),[o,s]=(0,b.useState)(null),[c,l]=(0,b.useState)(!1),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)(0),[m,h]=(0,b.useState)(!1),[g,_]=(0,b.useState)(0),v=e?.email_report_format===`slancha-safe-audit-email-v1`||n?.delivery?.format===`slancha-safe-audit-email-v1`,y=v&&n?.email_report&&n.delivery?.projection!==`projection_unavailable`;(0,b.useEffect)(()=>{document.title=`Free trace audit — Slancha`,bp(`audit_viewed`),bm(Pm).then(e=>{`error`in e?s(e.error):e.me.notice_version===(e.me.email_report_format===`slancha-safe-audit-email-v1`?`2026-10-04-full-report-v1`:`2026-10-04`)?t(e.me):s({code:`stale_notice`,message:`The audit privacy notice has changed.`,hint:`Reload this page.`})})},[]),(0,b.useEffect)(()=>{if(!u)return;let e=Date.now(),t=setInterval(()=>p(Math.round((Date.now()-e)/1e3)),1e3);return()=>clearInterval(t)},[u]);let x=async(t,n)=>{if(!e)return;a(n),d(!0),p(0),s(null),yp(`audit_started`);let i=await Tm(t),o=`error`in i?i:await xm(Pm,n,_p(),i,e.timeout_s,e.notice_version);d(!1),`report`in o?(l(!1),_(0),r(o.report),yp(`audit_report_viewed`,{audit_id:o.report.audit_id})):(s(o.error),yp(`audit_browser_error`,{error_code:o.error.code}))},S=e=>{!n||v&&!y||(km(`slancha-audit-${n.audit_id}${e===`summary`?`-summary`:``}.json`,v?JSON.stringify(n.email_report,null,2):e===`full`?Am(n):n.review.payload),yp(`audit_downloaded`,{audit_id:n.audit_id,destination:e}))},C=async()=>{if(!n||m||g>=2||n.delivery?.status!==`failed`)return;h(!0),_(e=>e+1);let e=await Sm(Pm,i,_p(),n);r({...n,delivery:{...n.delivery,status:e}}),h(!1)};return(0,B.jsxs)(`div`,{className:`contact-page audit-page`,children:[(0,B.jsx)(`header`,{className:`contact-header`,children:(0,B.jsx)(qu,{current:`audit`})}),(0,B.jsx)(`main`,{className:`contact-main`,children:(0,B.jsxs)(`section`,{className:n?`contact-card audit-card audit-card--report`:`contact-card audit-card`,children:[!n&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`h1`,{children:`Get a free trace audit.`}),(0,B.jsxs)(`p`,{children:[e?.email_report_format===`slancha-safe-audit-email-v1`?`Upload one trace. Preview the findings here and get the full report by email.`:`Upload one trace. Get your report here and a summary by email.`,` No sign-in or paid plan.`]}),(0,B.jsx)(`p`,{children:`Find recorded error patterns, model workload and likely secrets. No language model reads your file. Findings do not establish root causes.`})]}),o&&(0,B.jsxs)(`div`,{role:`alert`,className:`audit-error`,children:[(0,B.jsx)(`strong`,{children:o.message}),` `,o.hint]}),Pm.api?n?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{role:`status`,children:n.delivery?.status===`unknown`?`Email delivery is uncertain. Check your inbox and spam folder before any retry; the server may have sent it. Recover a local safe copy below.`:n.delivery?.status===`sent`?v?`Your report email was accepted for delivery to ${i}.`:`We sent your audit summary to ${i}.`:v&&!y?`The safe report could not be prepared. Email delivery is unavailable.`:`Your report is ready, but we could not send the email. Download it below.`}),v&&!y?(0,B.jsxs)(`section`,{role:`status`,children:[(0,B.jsx)(`h1`,{children:`Safe report unavailable`}),(0,B.jsx)(`p`,{children:`Your audit completed, but its safe report is unavailable here. Check your inbox and keep your original file; contact Slancha with the audit ID for help. Do not upload it again just to retry delivery.`}),(0,B.jsxs)(`p`,{children:[`Audit ID: `,n.audit_id]})]}):c&&v?(0,B.jsxs)(`section`,{children:[(0,B.jsx)(`h1`,{children:`Your safe audit`}),(0,B.jsx)(`p`,{children:`Download the same redacted report sent by email.`}),(0,B.jsx)(`button`,{className:`audit-button`,onClick:()=>S(`full`),children:`Download safe report`}),(0,B.jsx)(`button`,{className:`audit-button audit-button--quiet`,onClick:()=>l(!1),children:`Back to preview`})]}):c?(0,B.jsx)(fm,{report:n,email:i,domain:i.split(`@`)[1],onDownload:S,onAnother:()=>{r(null),s(null),l(!1)}}):(0,B.jsx)(cm,{report:n,fullEmail:v,reviewHref:xp(`demo`),onReview:()=>yp(`audit_demo_clicked`,{audit_id:n.audit_id}),onDetails:()=>l(!0),onDownload:()=>S(`full`),onAnother:()=>{r(null),s(null),l(!1)}}),y&&n.delivery?.status===`failed`&&n.delivery.retry_supported&&g<2&&(0,B.jsx)(`button`,{className:`audit-button`,disabled:m,onClick:()=>void C(),children:m?`Sending…`:`Retry email delivery`}),(0,B.jsxs)(`div`,{className:`audit-actions`,children:[(c||v&&!y)&&(0,B.jsx)(`a`,{className:`audit-button`,href:xp(`demo`),onClick:()=>yp(`audit_demo_clicked`,{audit_id:n.audit_id}),children:`Review my audit`}),(0,B.jsx)(`a`,{className:`audit-button audit-button--quiet`,href:xp(`signup`),onClick:()=>yp(`audit_signup_clicked`,{audit_id:n.audit_id}),children:`Sign up for Slancha`})]})]}):e?(0,B.jsx)(Mm,{me:e,busy:u,elapsed:f,onSubmit:x}):!o&&(0,B.jsx)(`p`,{role:`status`,children:`Preparing your audit…`}):(0,B.jsx)(`p`,{role:`status`,children:gm.not_configured.message}),!n&&(0,B.jsx)(Nm,{fullEmail:e?.email_report_format===`slancha-safe-audit-email-v1`})]})}),(0,B.jsxs)(`footer`,{className:`contact-footer`,children:[(0,B.jsx)(`span`,{children:`Slancha`}),(0,B.jsx)(`a`,{href:`/contact`,children:`Contact`})]})]})}var Im=`modulepreload`,Lm=function(e){return`/`+e},Rm={},zm=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Lm(t,n),t=s(t),t in Rm)return;Rm[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:Im,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n
26)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Bm=(0,b.lazy)(()=>zm(async()=>{let{GlobeWaitlist:e}=await import(`./GlobeWaitlist-DXjcoW1D.js`);return{GlobeWaitlist:e}},[]).then(({GlobeWaitlist:e})=>({default:e})));function Vm(e){let t=e.replace(/\/+$/,``)||`/`,n=[`/optimize`,`/faq`,`/install`,`/audit`,`/contact`,`/about`,`/work-with-us`,`/referrals`],r=t.replace(/\.html$/,``),i=n.includes(r)?r:t;return i===`/optimize`?`optimize`:i===`/faq`?`faq`:i===`/install`?`install`:i===`/audit`?`audit`:i===`/globe`?`globe`:i===`/contact`?`contact`:i===`/about`?`about`:i===`/work-with-us`?`work-with-us`:i===`/referrals`?`referrals`:i===`/`||i===`/index.html`?`waitlist`:`fallback`}function Hm({pathname:e}={}){let t=Vm(e??window.location.pathname);return(0,b.useEffect)(()=>{document.documentElement.classList.toggle(`globe-skin`,t===`globe`),t!==`globe`&&document.documentElement.classList.remove(`dark`),Ip(t,e??window.location.pathname),bp(`marketing_page_viewed`,{page:t})},[t,e]),(0,B.jsx)(Jc,{reducedMotion:`user`,children:t===`fallback`?(0,B.jsxs)(`div`,{className:`contact-page`,children:[(0,B.jsx)(`header`,{className:`contact-header`,children:(0,B.jsx)(qu,{current:`fallback`})}),(0,B.jsx)(`main`,{className:`contact-main`,children:(0,B.jsxs)(`section`,{className:`contact-card`,children:[(0,B.jsx)(`h1`,{children:`Page not found.`}),(0,B.jsx)(`p`,{children:`This address is unavailable.`}),(0,B.jsx)(`a`,{href:`/`,children:`Go to Slancha home`})]})})]}):t===`optimize`?(0,B.jsx)(Yu,{}):t===`faq`?(0,B.jsx)(Lp,{}):t===`install`?(0,B.jsx)(zp,{}):t===`audit`?(0,B.jsx)(Fm,{}):t===`contact`?(0,B.jsx)(Tp,{}):t===`globe`?(0,B.jsx)(b.Suspense,{fallback:(0,B.jsx)(`div`,{className:`route-loading`,role:`status`,children:`Loading archived view…`}),children:(0,B.jsx)(Bm,{})}):t===`about`?(0,B.jsx)(lp,{}):t===`work-with-us`?(0,B.jsx)(Ap,{}):t===`referrals`?(0,B.jsx)(Ep,{}):(0,B.jsx)(kp,{})})}var Um=document.getElementById(`root`),Wm=(0,B.jsx)(b.StrictMode,{children:(0,B.jsx)(Hm,{})}),Gm=[`fallback`,`globe`].includes(Vm(window.location.pathname));Um.hasChildNodes()&&!Gm?(0,x.hydrateRoot)(Um,Wm):(0,x.createRoot)(Um).render(Wm);export{Eu as a,p as c,Du as i,u as l,nd as n,Ca as o,Zu as r,C as s,np as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.