vendor: 5,929 bytes, lines 1-17
1(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))l(d);new MutationObserver(d=>{for(const m of d)if(m.type==="childList")for(const f of m.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&l(f)}).observe(document,{childList:!0,subtree:!0});function o(d){const m={};return d.integrity&&(m.integrity=d.integrity),d.referrerPolicy&&(m.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?m.credentials="include":d.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function l(d){if(d.ep)return;d.ep=!0;const m=o(d);fetch(d.href,m)}})();var tu={exports:{}},wi={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Mp;function cb(){if(Mp)return wi;Mp=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(l,d,m){var f=null;if(m!==void 0&&(f=""+m),d.key!==void 0&&(f=""+d.key),"key"in d){m={};for(var p in d)p!=="key"&&(m[p]=d[p])}else m=d;return d=m.ref,{$$typeof:a,type:l,key:f,ref:d!==void 0?d:null,props:m}}return wi.Fragment=i,wi.jsx=o,wi.jsxs=o,wi}var Cp;function ub(){return Cp||(Cp=1,tu.exports=cb()),tu.exports}var c=ub(),nu={exports:{}},de={};/** 10 * @license React 11 * react.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Dp;function db(){if(Dp)return de;Dp=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),S=Symbol.iterator;function E(N){return N===null||typeof N!="object"?null:(N=S&&N[S]||N["@@iterator"],typeof N=="function"?N:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,w={};function R(N,U,J){this.props=N,this.context=U,this.refs=w,this.updater=J||M}R.prototype.isReactComponent={},R.prototype.setState=function(N,U){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,U,"setState")},R.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function Y(){}Y.prototype=R.prototype;function L(N,U,J){this.props=N,this.context=U,this.refs=w,this.updater=J||M}var G=L.prototype=new Y;G.constructor=L,B(G,R.prototype),G.isPureReactComponent=!0;var X=Array.isArray;function te(){}var K={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function ae(N,U,J){var W=J.ref;return{$$typeof:a,type:N,key:U,ref:W!==void 0?W:null,props:J}}function F(N,U){return ae(N.type,U,N.props)}function le(N){return typeof N=="object"&&N!==null&&N.$$typeof===a}function I(N){var U={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(J){return U[J]})}var Le=/\/+/g;function Me(N,U){return typeof N=="object"&&N!==null&&N.key!=null?I(""+N.key):U.toString(36)}function Ce(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(te,te):(N.status="pending",N.then(function(U){N.status==="pending"&&(N.status="fulfilled",N.value=U)},function(U){N.status==="pending"&&(N.status="rejected",N.reason=U)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function O(N,U,J,W,oe){var fe=typeof N;(fe==="undefined"||fe==="boolean")&&(N=null);var Te=!1;if(N===null)Te=!0;else switch(fe){case"bigint":case"string":case"number":Te=!0;break;case"object":switch(N.$$typeof){case a:case i:Te=!0;break;case v:return Te=N._init,O(Te(N._payload),U,J,W,oe)}}if(Te)return oe=oe(N),Te=W===""?"."+Me(N,0):W,X(oe)?(J="",Te!=null&&(J=Te.replace(Le,"$&/")+"/"),O(oe,U,J,"",function(ka){return ka})):oe!=null&&(le(oe)&&(oe=F(oe,J+(oe.key==null||N&&N.key===oe.key?"":(""+oe.key).replace(Le,"$&/")+"/")+Te)),U.push(oe)),1;Te=0;var st=W===""?".":W+":";if(X(N))for(var Xe=0;Xe<N.length;Xe++)W=N[Xe],fe=st+Me(W,Xe),Te+=O(W,U,J,fe,oe);else if(Xe=E(N),typeof Xe=="function")for(N=Xe.call(N),Xe=0;!(W=N.next()).done;)W=W.value,fe=st+Me(W,Xe++),Te+=O(W,U,J,fe,oe);else if(fe==="object"){if(typeof N.then=="function")return O(Ce(N),U,J,W,oe);throw U=String(N),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return Te}function Q(N,U,J){if(N==null)return N;var W=[],oe=0;return O(N,W,"","",function(fe){return U.call(J,fe,oe++)}),W}function Z(N){if(N._status===-1){var U=N._result;U=U(),U.then(function(J){(N._status===0||N._status===-1)&&(N._status=1,N._result=J)},function(J){(N._status===0||N._status===-1)&&(N._status=2,N._result=J)}),N._status===-1&&(N._status=0,N._result=U)}if(N._status===1)return N._result.default;throw N._result}var re=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)}
vendor: 16,531 bytes, lines 17-43
17,ue={map:Q,forEach:function(N,U,J){Q(N,function(){U.apply(this,arguments)},J)},count:function(N){var U=0;return Q(N,function(){U++}),U},toArray:function(N){return Q(N,function(U){return U})||[]},only:function(N){if(!le(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};return de.Activity=b,de.Children=ue,de.Component=R,de.Fragment=o,de.Profiler=d,de.PureComponent=L,de.StrictMode=l,de.Suspense=x,de.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,de.__COMPILER_RUNTIME={__proto__:null,c:function(N){return K.H.useMemoCache(N)}},de.cache=function(N){return function(){return N.apply(null,arguments)}},de.cacheSignal=function(){return null},de.cloneElement=function(N,U,J){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var W=B({},N.props),oe=N.key;if(U!=null)for(fe in U.key!==void 0&&(oe=""+U.key),U)!P.call(U,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&U.ref===void 0||(W[fe]=U[fe]);var fe=arguments.length-2;if(fe===1)W.children=J;else if(1<fe){for(var Te=Array(fe),st=0;st<fe;st++)Te[st]=arguments[st+2];W.children=Te}return ae(N.type,oe,W)},de.createContext=function(N){return N={$$typeof:f,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:m,_context:N},N},de.createElement=function(N,U,J){var W,oe={},fe=null;if(U!=null)for(W in U.key!==void 0&&(fe=""+U.key),U)P.call(U,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(oe[W]=U[W]);var Te=arguments.length-2;if(Te===1)oe.children=J;else if(1<Te){for(var st=Array(Te),Xe=0;Xe<Te;Xe++)st[Xe]=arguments[Xe+2];oe.children=st}if(N&&N.defaultProps)for(W in Te=N.defaultProps,Te)oe[W]===void 0&&(oe[W]=Te[W]);return ae(N,fe,oe)},de.createRef=function(){return{current:null}},de.forwardRef=function(N){return{$$typeof:p,render:N}},de.isValidElement=le,de.lazy=function(N){return{$$typeof:v,_payload:{_status:-1,_result:N},_init:Z}},de.memo=function(N,U){return{$$typeof:g,type:N,compare:U===void 0?null:U}},de.startTransition=function(N){var U=K.T,J={};K.T=J;try{var W=N(),oe=K.S;oe!==null&&oe(J,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(te,re)}catch(fe){re(fe)}finally{U!==null&&J.types!==null&&(U.types=J.types),K.T=U}},de.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},de.use=function(N){return K.H.use(N)},de.useActionState=function(N,U,J){return K.H.useActionState(N,U,J)},de.useCallback=function(N,U){return K.H.useCallback(N,U)},de.useContext=function(N){return K.H.useContext(N)},de.useDebugValue=function(){},de.useDeferredValue=function(N,U){return K.H.useDeferredValue(N,U)},de.useEffect=function(N,U){return K.H.useEffect(N,U)},de.useEffectEvent=function(N){return K.H.useEffectEvent(N)},de.useId=function(){return K.H.useId()},de.useImperativeHandle=function(N,U,J){return K.H.useImperativeHandle(N,U,J)},de.useInsertionEffect=function(N,U){return K.H.useInsertionEffect(N,U)},de.useLayoutEffect=function(N,U){return K.H.useLayoutEffect(N,U)},de.useMemo=function(N,U){return K.H.useMemo(N,U)},de.useOptimistic=function(N,U){return K.H.useOptimistic(N,U)},de.useReducer=function(N,U,J){return K.H.useReducer(N,U,J)},de.useRef=function(N){return K.H.useRef(N)},de.useState=function(N){return K.H.useState(N)},de.useSyncExternalStore=function(N,U,J){return K.H.useSyncExternalStore(N,U,J)},de.useTransition=function(){return K.H.useTransition()},de.version="19.2.7",de}var kp;function Wu(){return kp||(kp=1,nu.exports=db()),nu.exports}var z=Wu(),au={exports:{}},Ei={},su={exports:{}},iu={};/** 18 * @license React 19 * scheduler.production.js 20 * 21 * Copyright (c) Meta Platforms, Inc. and affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var Rp;function fb(){return Rp||(Rp=1,(function(a){function i(O,Q){var Z=O.length;O.push(Q);e:for(;0<Z;){var re=Z-1>>>1,ue=O[re];if(0<d(ue,Q))O[re]=Q,O[Z]=ue,Z=re;else break e}}function o(O){return O.length===0?null:O[0]}function l(O){if(O.length===0)return null;var Q=O[0],Z=O.pop();if(Z!==Q){O[0]=Z;e:for(var re=0,ue=O.length,N=ue>>>1;re<N;){var U=2*(re+1)-1,J=O[U],W=U+1,oe=O[W];if(0>d(J,Z))W<ue&&0>d(oe,J)?(O[re]=oe,O[W]=Z,re=W):(O[re]=J,O[U]=Z,re=U);else if(W<ue&&0>d(oe,Z))O[re]=oe,O[W]=Z,re=W;else break e}}return Q}function d(O,Q){var Z=O.sortIndex-Q.sortIndex;return Z!==0?Z:O.id-Q.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;a.unstable_now=function(){return m.now()}}else{var f=Date,p=f.now();a.unstable_now=function(){return f.now()-p}}var x=[],g=[],v=1,b=null,S=3,E=!1,M=!1,B=!1,w=!1,R=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function G(O){for(var Q=o(g);Q!==null;){if(Q.callback===null)l(g);else if(Q.startTime<=O)l(g),Q.sortIndex=Q.expirationTime,i(x,Q);else break;Q=o(g)}}function X(O){if(B=!1,G(O),!M)if(o(x)!==null)M=!0,te||(te=!0,I());else{var Q=o(g);Q!==null&&Ce(X,Q.startTime-O)}}var te=!1,K=-1,P=5,ae=-1;function F(){return w?!0:!(a.unstable_now()-ae<P)}function le(){if(w=!1,te){var O=a.unstable_now();ae=O;var Q=!0;try{e:{M=!1,B&&(B=!1,Y(K),K=-1),E=!0;var Z=S;try{t:{for(G(O),b=o(x);b!==null&&!(b.expirationTime>O&&F());){var re=b.callback;if(typeof re=="function"){b.callback=null,S=b.priorityLevel;var ue=re(b.expirationTime<=O);if(O=a.unstable_now(),typeof ue=="function"){b.callback=ue,G(O),Q=!0;break t}b===o(x)&&l(x),G(O)}else l(x);b=o(x)}if(b!==null)Q=!0;else{var N=o(g);N!==null&&Ce(X,N.startTime-O),Q=!1}}break e}finally{b=null,S=Z,E=!1}Q=void 0}}finally{Q?I():te=!1}}}var I;if(typeof L=="function")I=function(){L(le)};else if(typeof MessageChannel<"u"){var Le=new MessageChannel,Me=Le.port2;Le.port1.onmessage=le,I=function(){Me.postMessage(null)}}else I=function(){R(le,0)};function Ce(O,Q){K=R(function(){O(a.unstable_now())},Q)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(O){O.callback=null},a.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<O?Math.floor(1e3/O):5},a.unstable_getCurrentPriorityLevel=function(){return S},a.unstable_next=function(O){switch(S){case 1:case 2:case 3:var Q=3;break;default:Q=S}var Z=S;S=Q;try{return O()}finally{S=Z}},a.unstable_requestPaint=function(){w=!0},a.unstable_runWithPriority=function(O,Q){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var Z=S;S=O;try{return Q()}finally{S=Z}},a.unstable_scheduleCallback=function(O,Q,Z){var re=a.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?re+Z:re):Z=re,O){case 1:var ue=-1;break;case 2:ue=250;break;case 5:ue=1073741823;break;case 4:ue=1e4;break;default:ue=5e3}return ue=Z+ue,O={id:v++,callback:Q,priorityLevel:O,startTime:Z,expirationTime:ue,sortIndex:-1},Z>re?(O.sortIndex=Z,i(g,O),o(x)===null&&O===o(g)&&(B?(Y(K),K=-1):B=!0,Ce(X,Z-re))):(O.sortIndex=ue,i(x,O),M||E||(M=!0,te||(te=!0,I()))),O},a.unstable_shouldYield=F,a.unstable_wrapCallback=function(O){var Q=S;return function(){var Z=S;S=Q;try{return O.apply(this,arguments)}finally{S=Z}}}})(iu)),iu}var Op;function hb(){return Op||(Op=1,su.exports=fb()),su.exports}var lu={exports:{}},mt={};/** 26 * @license React 27 * react-dom.production.js 28 * 29 * Copyright (c) Meta Platforms, Inc. and affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var zp;function mb(){if(zp)return mt;zp=1;var a=Wu();function i(x){var g="https://react.dev/errors/"+x;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)g+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+x+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var l={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},d=Symbol.for("react.portal");function m(x,g,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:b==null?null:""+b,children:x,containerInfo:g,implementation:v}}var f=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(x,g){if(x==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,mt.createPortal=function(x,g){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(i(299));return m(x,g,null,v)},mt.flushSync=function(x){var g=f.T,v=l.p;try{if(f.T=null,l.p=2,x)return x()}finally{f.T=g,l.p=v,l.d.f()}},mt.preconnect=function(x,g){typeof x=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,l.d.C(x,g))},mt.prefetchDNS=function(x){typeof x=="string"&&l.d.D(x)},mt.preinit=function(x,g){if(typeof x=="string"&&g&&typeof g.as=="string"){var v=g.as,b=p(v,g.crossOrigin),S=typeof g.integrity=="string"?g.integrity:void 0,E=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;v==="style"?l.d.S(x,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:b,integrity:S,fetchPriority:E}):v==="script"&&l.d.X(x,{crossOrigin:b,integrity:S,fetchPriority:E,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},mt.preinitModule=function(x,g){if(typeof x=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var v=p(g.as,g.crossOrigin);l.d.M(x,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&l.d.M(x)},mt.preload=function(x,g){if(typeof x=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var v=g.as,b=p(v,g.crossOrigin);l.d.L(x,v,{crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},mt.preloadModule=function(x,g){if(typeof x=="string")if(g){var v=p(g.as,g.crossOrigin);l.d.m(x,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else l.d.m(x)},mt.requestFormReset=function(x){l.d.r(x)},mt.unstable_batchedUpdates=function(x,g){return x(g)},mt.useFormState=function(x,g,v){return f.H.useFormState(x,g,v)},mt.useFormStatus=function(){return f.H.useHostTransitionStatus()},mt.version="19.2.7",mt}var _p;function pb(){if(_p)return lu.exports;_p=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),lu.exports=mb(),lu.exports}/** 34 * @license React 35 * react-dom-client.production.js 36 * 37 * Copyright (c) Meta Platforms, Inc. and affiliates. 38 * 39 * This source code is licensed under the MIT license found in the 40 * LICENSE file in the root directory of this source tree. 41 */var Vp;function gb(){if(Vp)return Ei;Vp=1;var a=hb(),i=Wu(),o=pb();function l(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 d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function f(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 p(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 x(e){if(m(e)!==e)throw Error(l(188))}function g(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(l(188));return t!==e?null:e}for(var n=e,s=t;;){var r=n.return;if(r===null)break;var u=r.alternate;if(u===null){if(s=r.return,s!==null){n=s;continue}break}if(r.child===u.child){for(u=r.child;u;){if(u===n)return x(r),e;if(u===s)return x(r),t;u=u.sibling}throw Error(l(188))}if(n.return!==s.return)n=r,s=u;else{for(var h=!1,y=r.child;y;){if(y===n){h=!0,n=r,s=u;break}if(y===s){h=!0,s=r,n=u;break}y=y.sibling}if(!h){for(y=u.child;y;){if(y===n){h=!0,n=u,s=r;break}if(y===s){h=!0,s=u,n=r;break}y=y.sibling}if(!h)throw Error(l(189))}}if(n.alternate!==s)throw Error(l(190))}if(n.tag!==3)throw Error(l(188));return n.stateNode.current===n?e:t}function v(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=v(e),t!==null)return t;e=e.sibling}return null}var b=Object.assign,S=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),te=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),F=Symbol.for("react.memo_cache_sentinel"),le=Symbol.iterator;function I(e){return e===null||typeof e!="object"?null:(e=le&&e[le]||e["@@iterator"],typeof e=="function"?e:null)}var Le=Symbol.for("react.client.reference");function Me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Le?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case B:return"Fragment";case R:return"Profiler";case w:return"StrictMode";case X:return"Suspense";case te:return"SuspenseList";case ae:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case M:return"Portal";case L:return e.displayName||"Context";case Y:return(e._context.displayName||"Context")+".Consumer";case G:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return t=e.displayName||null,t!==null?t:Me(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return Me(e(t))}catch{}}return null}var Ce=Array.isArray,O=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},re=[],ue=-1;function N(e){return{current:e}}function U(e){0>ue||(e.current=re[ue],re[ue]=null,ue--)}function J(e,t){ue++,re[ue]=e.current,e.current=t}var W=N(null),oe=N(null),fe=N(null),Te=N(null);function st(e,t){switch(J(fe,t),J(oe,e),J(W,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Im(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Im(t),e=Wm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}U(W),J(W,e)}function Xe(){U(W),U(oe),U(fe)}function ka(e){e.memoizedState!==null&&J(Te,e);var t=W.current,n=Wm(t,e.type);t!==n&&(J(oe,e),J(W,n))}function Ms(e){oe.current===e&&(U(W),U(oe)),Te.current===e&&(U(Te),ji._currentValue=Z)}var un,Cs;function At(e){if(un===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);un=t&&t[1]||"",Cs=-1<n.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+un+e+Cs}var Dn=!1;function Ds(e,t){if(!e||Dn)return"";Dn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(t){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(_){var k=_}Reflect.construct(e,[],q)}else{try{q.call()}catch(_){k=_}e.call(q.prototype)}}else{try{throw Error()}catch(_){k=_}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}
vendor: 10,841 bytes, lines 43-48
43catch(_){if(_&&k&&typeof _.stack=="string")return[_.stack,k.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=s.DetermineComponentFrameRoot(),h=u[0],y=u[1];if(h&&y){var j=h.split(` 44`),D=y.split(` 45`);for(r=s=0;s<j.length&&!j[s].includes("DetermineComponentFrameRoot");)s++;for(;r<D.length&&!D[r].includes("DetermineComponentFrameRoot");)r++;if(s===j.length||r===D.length)for(s=j.length-1,r=D.length-1;1<=s&&0<=r&&j[s]!==D[r];)r--;for(;1<=s&&0<=r;s--,r--)if(j[s]!==D[r]){if(s!==1||r!==1)do if(s--,r--,0>r||j[s]!==D[r]){var V=` 46`+j[s].replace(" at new "," at ");return e.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",e.displayName)),V}while(1<=s&&0<=r);break}}}finally{Dn=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?At(n):""}function ks(e,t){switch(e.tag){case 26:case 27:case 5:return At(e.type);case 16:return At("Lazy");case 13:return e.child!==t&&t!==null?At("Suspense Fallback"):At("Suspense");case 19:return At("SuspenseList");case 0:case 15:return Ds(e.type,!1);case 11:return Ds(e.type.render,!1);case 1:return Ds(e.type,!0);case 31:return At("Activity");default:return""}}function Xi(e){try{var t="",n=null;do t+=ks(e,n),n=e,e=e.return;while(e);return t}catch(s){return` 47Error generating stack: `+s.message+` 48`+s.stack}}var Ra=Object.prototype.hasOwnProperty,zt=a.unstable_scheduleCallback,kn=a.unstable_cancelCallback,Lr=a.unstable_shouldYield,Rs=a.unstable_requestPaint,Pe=a.unstable_now,Ur=a.unstable_getCurrentPriorityLevel,Os=a.unstable_ImmediatePriority,zs=a.unstable_UserBlockingPriority,Oa=a.unstable_NormalPriority,Pi=a.unstable_LowPriority,Ki=a.unstable_IdlePriority,Hr=a.log,Gr=a.unstable_setDisableYieldValue,ce=null,he=null;function ve(e){if(typeof Hr=="function"&&Gr(e),he&&typeof he.setStrictMode=="function")try{he.setStrictMode(ce,e)}catch{}}var Ne=Math.clz32?Math.clz32:Jx,qe=Math.log,Qt=Math.LN2;function Jx(e){return e>>>=0,e===0?32:31-(qe(e)/Qt|0)|0}var Qi=256,Zi=262144,Ji=4194304;function ra(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 Fi(e,t,n){var s=e.pendingLanes;if(s===0)return 0;var r=0,u=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var y=s&134217727;return y!==0?(s=y&~u,s!==0?r=ra(s):(h&=y,h!==0?r=ra(h):n||(n=y&~e,n!==0&&(r=ra(n))))):(y=s&~u,y!==0?r=ra(y):h!==0?r=ra(h):n||(n=s&~e,n!==0&&(r=ra(n)))),r===0?0:t!==0&&t!==r&&(t&u)===0&&(u=r&-r,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:r}function _s(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Fx(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 kd(){var e=Ji;return Ji<<=1,(Ji&62914560)===0&&(Ji=4194304),e}function qr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vs(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ix(e,t,n,s,r,u){var h=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 y=e.entanglements,j=e.expirationTimes,D=e.hiddenUpdates;for(n=h&~n;0<n;){var V=31-Ne(n),q=1<<V;y[V]=0,j[V]=-1;var k=D[V];if(k!==null)for(D[V]=null,V=0;V<k.length;V++){var _=k[V];_!==null&&(_.lane&=-536870913)}n&=~q}s!==0&&Rd(e,s,0),u!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=u&~(h&~t))}function Rd(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-Ne(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|n&261930}function Od(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var s=31-Ne(n),r=1<<s;r&t|e[s]&t&&(e[s]|=t),n&=~r}}function zd(e,t){var n=t&-t;return n=(n&42)!==0?1:Yr(n),(n&(e.suspendedLanes|t))!==0?0:n}function Yr(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 Xr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function _d(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:Sp(e.type))}function Vd(e,t){var n=Q.p;try{return Q.p=e,t()}finally{Q.p=n}}var Rn=Math.random().toString(36).slice(2),rt="__reactFiber$"+Rn,yt="__reactProps$"+Rn,za="__reactContainer$"+Rn,Pr="__reactEvents$"+Rn,Wx="__reactListeners$"+Rn,$x="__reactHandles$"+Rn,Bd="__reactResources$"+Rn,Bs="__reactMarker$"+Rn;function Kr(e){delete e[rt],delete e[yt],delete e[Pr],delete e[Wx],delete e[$x]}function _a(e){var t=e[rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[za]||n[rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ip(e);e!==null;){if(n=e[rt])return n;e=ip(e)}return t}e=n,n=e.parentNode}return null}function Va(e){if(e=e[rt]||e[za]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ls(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(l(33))}function Ba(e){var t=e[Bd];return t||(t=e[Bd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function it(e){e[Bs]=!0}var Ld=new Set,Ud={};function oa(e,t){La(e,t),La(e+"Capture",t)}function La(e,t){for(Ud[e]=t,e=0;e<t.length;e++)Ld.add(t[e])}var ey=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Hd={},Gd={};function ty(e){return Ra.call(Gd,e)?!0:Ra.call(Hd,e)?!1:ey.test(e)?Gd[e]=!0:(Hd[e]=!0,!1)}function Ii(e,t,n){if(ty(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Wi(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 dn(e,t,n,s){if(s===null)e.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+s)}}function _t(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function qd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ny(e,t,n){var s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var r=s.get,u=s.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(h){n=""+h,u.call(this,h)}}),Object.defineProperty(e,t,{enumerable:s.enumerable}),{getValue:function(){return n},setValue:function(h){n=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Qr(e){if(!e._valueTracker){var t=qd(e)?"checked":"value";e._valueTracker=ny(e,t,""+e[t])}}function Yd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),s="";return e&&(s=qd(e)?e.checked?"true":"false":e.value),e=s,e!==n?(t.setValue(e),!0):!1}function $i(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ay=/[\n"\\]/g;function Vt(e){return e.replace(ay,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Zr(e,t,n,s,r,u,h,y){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+_t(t)):e.value!==""+_t(t)&&(e.value=""+_t(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?Jr(e,h,_t(t)):n!=null?Jr(e,h,_t(n)):s!=null&&e.removeAttribute("value"),r==null&&u!=null&&(e.defaultChecked=!!u),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.name=""+_t(y):e.removeAttribute("name")}function Xd(e,t,n,s,r,u,h,y){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Qr(e);return}n=n!=null?""+_t(n):"",t=t!=null?""+_t(t):n,y||t===e.value||(e.value=t),e.defaultValue=t}s=s??r,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=y?e.checked:!!s,e.defaultChecked=!!s,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),Qr(e)}function Jr(e,t,n){t==="number"&&$i(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ua(e,t,n,s){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&s&&(e[n].defaultSelected=!0)}else{for(n=""+_t(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,s&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Pd(e,t,n){if(t!=null&&(t=""+_t(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+_t(n):""}function Kd(e,t,n,s){if(t==null){if(s!=null){if(n!=null)throw Error(l(92));if(Ce(s)){if(1<s.length)throw Error(l(93));s=s[0]}n=s}n==null&&(n=""),t=n}n=_t(t),e.defaultValue=n,s=e.textContent,s===n&&s!==""&&s!==null&&(e.value=s),Qr(e)}function Ha(e,t){if(t){var n=e.firstChild;
vendor: 4,140 bytes, line 48
48if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var sy=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 Qd(e,t,n){var s=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,n):typeof n!="number"||n===0||sy.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Zd(e,t,n){if(t!=null&&typeof t!="object")throw Error(l(62));if(e=e.style,n!=null){for(var s in n)!n.hasOwnProperty(s)||t!=null&&t.hasOwnProperty(s)||(s.indexOf("--")===0?e.setProperty(s,""):s==="float"?e.cssFloat="":e[s]="");for(var r in t)s=t[r],t.hasOwnProperty(r)&&n[r]!==s&&Qd(e,r,s)}else for(var u in t)t.hasOwnProperty(u)&&Qd(e,u,t[u])}function Fr(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 iy=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
48-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"]]),ly=/^[\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 el(e){return ly.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function fn(){}var Ir=null;function Wr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ga=null,qa=null;function Jd(e){var t=Va(e);if(t&&(e=t.stateNode)){var n=e[yt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Zr(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 s=n[t];if(s!==e&&s.form===e.form){var r=s[yt]||null;if(!r)throw Error(l(90));Zr(s,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)s=n[t],s.form===e.form&&Yd(s)}break e;case"textarea":Pd(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ua(e,!!n.multiple,t,!1)}}}var $r=!1;function Fd(e,t,n){if($r)return e(t,n);$r=!0;try{var s=e(t);return s}finally{if($r=!1,(Ga!==null||qa!==null)&&(Gl(),Ga&&(t=Ga,e=qa,qa=Ga=null,Jd(t),e)))for(t=0;t<e.length;t++)Jd(e[t])}}function Us(e,t){var n=e.stateNode;if(n===null)return null;var s=n[yt]||null;if(s===null)return null;n=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(l(231,t,typeof n));return n}var hn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),eo=!1;if(hn)try{var Hs={};Object.defineProperty(Hs,"passive",{get:function(){eo=!0}}),window.addEventListener("test",Hs,Hs),window.removeEventListener("test",Hs,Hs)}catch{eo=!1}var On=null,to=null,tl=null;function Id(){if(tl)return tl;var e,t=to,n=t.length,s,r="value"in On?On.value:On.textContent,u=r.length;for(e=0;e<n&&t[e]===r[e];e++);var h=n-e;for(s=1;s<=h&&t[n-s]===r[u-s];s++);return tl=r.slice(e,1<s?1-s:void 0)}function nl(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 al(){return!0}function Wd(){return!1}function vt(e){function t(n,s,r,u,h){this._reactName=n,this._targetInst=r,this.type=s,this.nativeEvent=u,this.target=h,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(n=e[y],this[y]=n?n(u):u[y]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?al:Wd,this.isPropagationStopped=Wd,this}return b(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=al)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=al)},persist:function(){},isPersistent:al}),t}var ca={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sl=vt(ca),Gs=b({},ca,{view:0,detail:0}),ry=vt(Gs),no,ao,qs,il=b({},Gs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:io,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!==qs&&(qs&&e.type==="mousemove"?(no=e.screenX-qs.screenX,ao=e.screenY-qs.screenY):ao=no=0,qs=e),no)},movementY:function(e){return"movementY"in e?e.movementY:ao}}),$d=vt(il),oy=b({},il,{dataTransfer:0}),cy=vt(oy),uy=b({},Gs,{relatedTarget:0}),so=vt(uy),dy=b({},ca,{animationName:0,elapsedTime:0,pseudoElement:0}),fy=vt(dy),hy=b({},ca,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),my=vt(hy),py=b({},ca,{data:0}),ef=vt(py),gy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xy={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"},yy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=yy[e])?!!t[e]:!1}function io(){return vy}var by=b({},Gs,{key:function(e){if(e.key){var t=gy[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,186 bytes, line 48
48return e.type==="keypress"?(e=nl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:io,charCode:function(e){return e.type==="keypress"?nl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?nl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Sy=vt(by),jy=b({},il,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tf=vt(jy),Ny=b({},Gs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:io}),Ty=vt(Ny),Ay=b({},ca,{propertyName:0,elapsedTime:0,pseudoElement:0}),wy=vt(Ay),Ey=b({},il,{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}),My=vt(Ey),Cy=b({},ca,{newState:0,oldState:0}),Dy=vt(Cy),ky=[9,13,27,32],lo=hn&&"CompositionEvent"in window,Ys=null;hn&&"documentMode"in document&&(Ys=document.documentMode);var Ry=hn&&"TextEvent"in window&&!Ys,nf=hn&&(!lo||Ys&&8<Ys&&11>=Ys),af=" ",sf=!1;function lf(e,t){switch(e){case"keyup":return ky.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ya=!1;function Oy(e,t){switch(e){case"compositionend":return rf(t);case"keypress":return t.which!==32?null:(sf=!0,af);case"textInput":return e=t.data,e===af&&sf?null:e;default:return null}}function zy(e,t){if(Ya)return e==="compositionend"||!lo&&lf(e,t)?(e=Id(),tl=to=On=null,Ya=!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 nf&&t.locale!=="ko"?null:t.data;default:return null}}var _y={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 of(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!_y[e.type]:t==="textarea"}function cf(e,t,n,s){Ga?qa?qa.push(s):qa=[s]:Ga=s,t=Zl(t,"onChange"),0<t.length&&(n=new sl("onChange","change",null,n,s),e.push({event:n,listeners:t}))}var Xs=null,Ps=null;function Vy(e){Pm(e,0)}function ll(e){var t=Ls(e);if(Yd(t))return e}function uf(e,t){if(e==="change")return t}var df=!1;if(hn){var ro;if(hn){var oo="oninput"in document;if(!oo){var ff=document.createElement("div");ff.setAttribute("oninput","return;"),oo=typeof ff.oninput=="function"}ro=oo}else ro=!1;df=ro&&(!document.documentMode||9<document.documentMode)}function hf(){Xs&&(Xs.detachEvent("onpropertychange",mf),Ps=Xs=null)}function mf(e){if(e.propertyName==="value"&&ll(Ps)){var t=[];cf(t,Ps,e,Wr(e)),Fd(Vy,t)}}function By(e,t,n){e==="focusin"?(hf(),Xs=t,Ps=n,Xs.attachEvent("onpropertychange",mf)):e==="focusout"&&hf()}function Ly(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ll(Ps)}function Uy(e,t){if(e==="click")return ll(t)}function Hy(e,t){if(e==="input"||e==="change")return ll(t)}function Gy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var wt=typeof Object.is=="function"?Object.is:Gy;function Ks(e,t){if(wt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(s=0;s<n.length;s++){var r=n[s];if(!Ra.call(t,r)||!wt(e[r],t[r]))return!1}return!0}function pf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gf(e,t){var n=pf(e);e=0;for(var s;n;){if(n.nodeType===3){if(s=e+n.textContent.length,e<=t&&s>=t)return{node:n,offset:t-e};e=s}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=pf(n)}}function xf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=$i(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=$i(e.document)}return t}function co(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 qy=hn&&"documentMode"in document&&11>=document.documentMode,Xa=null,uo=null,Qs=null,fo=!1;function vf(e,t,n){var s=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fo||Xa==null||Xa!==$i(s)||(s=Xa,"selectionStart"in s&&co(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focu
vendor: 22,167 bytes, line 48
48sNode:s.focusNode,focusOffset:s.focusOffset}),Qs&&Ks(Qs,s)||(Qs=s,s=Zl(uo,"onSelect"),0<s.length&&(t=new sl("onSelect","select",null,t,n),e.push({event:t,listeners:s}),t.target=Xa)))}function ua(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pa={animationend:ua("Animation","AnimationEnd"),animationiteration:ua("Animation","AnimationIteration"),animationstart:ua("Animation","AnimationStart"),transitionrun:ua("Transition","TransitionRun"),transitionstart:ua("Transition","TransitionStart"),transitioncancel:ua("Transition","TransitionCancel"),transitionend:ua("Transition","TransitionEnd")},ho={},bf={};hn&&(bf=document.createElement("div").style,"AnimationEvent"in window||(delete Pa.animationend.animation,delete Pa.animationiteration.animation,delete Pa.animationstart.animation),"TransitionEvent"in window||delete Pa.transitionend.transition);function da(e){if(ho[e])return ho[e];if(!Pa[e])return e;var t=Pa[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in bf)return ho[e]=t[n];return e}var Sf=da("animationend"),jf=da("animationiteration"),Nf=da("animationstart"),Yy=da("transitionrun"),Xy=da("transitionstart"),Py=da("transitioncancel"),Tf=da("transitionend"),Af=new Map,mo="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(" ");mo.push("scrollEnd");function Zt(e,t){Af.set(e,t),oa(t,[e])}var rl=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!==null&&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)},Bt=[],Ka=0,po=0;function ol(){for(var e=Ka,t=po=Ka=0;t<e;){var n=Bt[t];Bt[t++]=null;var s=Bt[t];Bt[t++]=null;var r=Bt[t];Bt[t++]=null;var u=Bt[t];if(Bt[t++]=null,s!==null&&r!==null){var h=s.pending;h===null?r.next=r:(r.next=h.next,h.next=r),s.pending=r}u!==0&&wf(n,r,u)}}function cl(e,t,n,s){Bt[Ka++]=e,Bt[Ka++]=t,Bt[Ka++]=n,Bt[Ka++]=s,po|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function go(e,t,n,s){return cl(e,t,n,s),ul(e)}function fa(e,t){return cl(e,null,null,t),ul(e)}function wf(e,t,n){e.lanes|=n;var s=e.alternate;s!==null&&(s.lanes|=n);for(var r=!1,u=e.return;u!==null;)u.childLanes|=n,s=u.alternate,s!==null&&(s.childLanes|=n),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(r=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,r&&t!==null&&(r=31-Ne(n),e=u.hiddenUpdates,s=e[r],s===null?e[r]=[t]:s.push(t),t.lane=n|536870912),u):null}function ul(e){if(50<pi)throw pi=0,Ac=null,Error(l(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Qa={};function Ky(e,t,n,s){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=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Et(e,t,n,s){return new Ky(e,t,n,s)}function xo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function mn(e,t){var n=e.alternate;return n===null?(n=Et(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 Ef(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 dl(e,t,n,s,r,u){var h=0;if(s=e,typeof e=="function")xo(e)&&(h=1);else if(typeof e=="string")h=Iv(e,n,W.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ae:return e=Et(31,n,t,r),e.elementType=ae,e.lanes=u,e;case B:return ha(n.children,r,u,t);case w:h=8,r|=24;break;case R:return e=Et(12,n,t,r|2),e.elementType=R,e.lanes=u,e;case X:return e=Et(13,n,t,r),e.elementType=X,e.lanes=u,e;case te:return e=Et(19,n,t,r),e.elementType=te,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case L:h=10;break e;case Y:h=9;break e;case G:h=11;break e;case K:h=14;break e;case P:h=16,s=null;break e}h=29,n=Error(l(130,e===null?"null":typeof e,"")),s=null}return t=Et(h,n,t,r),t.elementType=e,t.type=s,t.lanes=u,t}function ha(e,t,n,s){return e=Et(7,e,s,t),e.lanes=n,e}function yo(e,t,n){return e=Et(6,e,null,t),e.lanes=n,e}function Mf(e){var t=Et(18,null,null,0);return t.stateNode=e,t}function vo(e,t,n){return t=Et(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Cf=new WeakMap;function Lt(e,t){if(typeof e=="object"&&e!==null){var n=Cf.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Xi(t)},Cf.set(e,t),t)}return{value:e,source:t,stack:Xi(t)}}var Za=[],Ja=0,fl=null,Zs=0,Ut=[],Ht=0,zn=null,en=1,tn="";function pn(e,t){Za[Ja++]=Zs,Za[Ja++]=fl,fl=e,Zs=t}function Df(e,t,n){Ut[Ht++]=en,Ut[Ht++]=tn,Ut[Ht++]=zn,zn=e;var s=en;e=tn;var r=32-Ne(s)-1;s&=~(1<<r),n+=1;var u=32-Ne(t)+r;if(30<u){var h=r-r%5;u=(s&(1<<h)-1).toString(32),s>>=h,r-=h,en=1<<32-Ne(t)+r|n<<r|s,tn=u+e}else en=1<<u|n<<r|s,tn=e}function bo(e){e.return!==null&&(pn(e,1),Df(e,1,0))}function So(e){for(;e===fl;)fl=Za[--Ja],Za[Ja]=null,Zs=Za[--Ja],Za[Ja]=null;for(;e===zn;)zn=Ut[--Ht],Ut[Ht]=null,tn=Ut[--Ht],Ut[Ht]=null,en=Ut[--Ht],Ut[Ht]=null}function kf(e,t){Ut[Ht++]=en,Ut[Ht++]=tn,Ut[Ht++]=zn,en=t.id,tn=t.overflow,zn=e}var ot=null,Ue=null,je=!1,_n=null,Gt=!1,jo=Error(l(519));function Vn(e){var t=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Js(Lt(t,e)),jo}function Rf(e){var t=e.stateNode,n=e.type,s=e.memoizedProps;switch(t[rt]=e,t[yt]=s,n){case"dialog":ye("cancel",t),ye("close",t);break;case"iframe":case"object":case"embed":ye("load",t);break;case"video":case"audio":for(n=0;n<xi.length;n++)ye(xi[n],t);break;case"source":ye("error",t);break;case"img":case"image":case"link":ye("error",t),ye("load",t);break;case"details":ye("toggle",t);break;case"input":ye("invalid",t),Xd(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":ye("invalid",t);break;case"textarea":ye("invalid",t),Kd(t,s.value,s.defaultValue,s.children)}n=s.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||s.suppressHydrationWarning===!0||Jm(t.textContent,n)?(s.popover!=null&&(ye("beforetoggle",t),ye("toggle",t)),s.onScroll!=null&&ye("scroll",t),s.onScrollEnd!=null&&ye("scrollend",t),s.onClick!=null&&(t.onclick=fn),t=!0):t=!1,t||Vn(e,!0)}function Of(e){for(ot=e.return;ot;)switch(ot.tag){case 5:case 31:case 13:Gt=!1;return;case 27:case 3:Gt=!0;return;default:ot=ot.return}}function Fa(e){if(e!==ot)return!1;if(!je)return Of(e),je=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Hc(e.type,e.memoizedProps)),n=!n),n&&Ue&&Vn(e),Of(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Ue=sp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Ue=sp(e)}else t===27?(t=Ue,Fn(e.type)?(e=Pc,Pc=null,Ue=e):Ue=t):Ue=ot?Yt(e.stateNode.nextSibling):null;return!0}function ma(){Ue=ot=null,je=!1}function No(){var e=_n;return e!==null&&(Nt===null?Nt=e:Nt.push.apply(Nt,e),_n=null),e}function Js(e){_n===null?_n=[e]:_n.push(e)}var To=N(null),pa=null,gn=null;function Bn(e,t,n){J(To,t._currentValue),t._currentValue=n}function xn(e){e._currentValue=To.current,U(To)}function Ao(e,t,n){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===n)break;e=e.return}}function wo(e,t,n,s){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var u=r.dependencies;if(u!==null){var h=r.child;u=u.firstContext;e:for(;u!==null;){var y=u;u=r;for(var j=0;j<t.length;j++)if(y.context===t[j]){u.lanes|=n,y=u.alternate,y!==null&&(y.lanes|=n),Ao(u.return,n,e),s||(h=null);break e}u=y.next}}else if(r.tag===18){if(h=r.return,h===null)throw Error(l(341));h.lanes|=n,u=h.alternate,u!==null&&(u.lanes|=n),Ao(h,n,e),h=null}else h=r.child;if(h!==null)h.return=r;else for(h=r;h!==null;){if(h===e){h=null;break}if(r=h.sibling,r!==null){r.return=h.return,h=r;break}h=h.return}r=h}}function Ia(e,t,n,s){e=null;for(var r=t,u=!1;r!==null;){if(!u){if((r.flags&524288)!==0)u=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var h=r.alternate;if(h===null)throw Error(l(387));if(h=h.memoizedProps,h!==null){var y=r.type;wt(r.pendingProps.value,h.value)||(e!==null?e.push(y):e=[y])}}else if(r===Te.current){if(h=r.alternate,h===null)throw Error(l(387));h.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(ji):e=[ji])}r=r.return}e!==null&&wo(t,e,n,s),t.flags|=262144}function hl(e){for(e=e.firstContext;e!==null;){if(!wt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ga(e){pa=e,gn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ct(e){return zf(pa,e)}function ml(e,t){return pa===null&&ga(e),zf(e,t)}function zf(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},gn===null){if(e===null)throw Error(l(308));gn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else gn=gn.next=t;return n}var Qy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},Zy=a.unstable_scheduleCallback,Jy=a.unstable_NormalPriority,Ie={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Eo(){return{controller:new Qy,data:new Map,refCount:0}}function Fs(e){e.refCount--,e.refCount===0&&Zy(Jy,function(){e.controller.abort()})}var Is=null,Mo=0,Wa=0,$a=null;function Fy(e,t){if(Is===null){var n=Is=[];Mo=0,Wa=kc(),$a={status:"pending",value:void 0,then:function(s){n.push(s)}}}return Mo++,t.then(_f,_f),t}function _f(){if(--Mo===0&&Is!==null){$a!==null&&($a.status="fulfilled");var e=Is;Is=null,Wa=0,$a=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Iy(e,t){var n=[],s={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(s.status="rejected",s.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),s}var Vf=O.S;O.S=function(e,t){vm=Pe(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Fy(e,t),Vf!==null&&Vf(e,t)};var xa=N(null);function Co(){var e=xa.current;return e!==null?e:_e.pooledCache}function pl(e,t){t===null?J(xa,xa.current):J(xa,t.pool)}function Bf(){var e=Co();return e===null?null:{parent:Ie._currentValue,pool:e}}var es=Error(l(460)),Do=Error(l(474)),gl=Error(l(542)),xl={then:function(){}};function Lf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Uf(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(fn,fn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Gf(e),e;default:if(typeof t.status=="string")t.then(fn,fn);else{if(e=_e,e!==null&&100<e.shellSuspendCounter)throw Error(l(482));e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=s}},function(s){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Gf(e),e}throw va=t,es}}function ya(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(va=n,es):n}}var va=null;function Hf(){if(va===null)throw Error(l(459));var e=va;return va=null,e}function Gf(e){if(e===es||e===gl)throw Error(l(483))}var ts=null,Ws=0;function yl(e){var t=Ws;return Ws+=1,ts===null&&(ts=[]),Uf(ts,e,t)}function $s(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function vl(e,t){throw t.$$typeof===S?Error(l(525)):(e=Object.prototype.toString.call(t),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function qf(e){function t(A,T){if(e){var C=A.deletions;C===null?(A.deletions=[T],A.flags|=16):C.push(T)}}function n(A,T){if(!e)return null;for(;T!==null;)t(A,T),T=T.sibling;return null}function s(A){for(var T=new Map;A!==null;)A.key!==null?T.set(A.key,A):T.set(A.index,A),A=A.sibling;return T}function r(A,T){return A=mn(A,T),A.index=0,A.sibling=null,A}function u(A,T,C){return A.index=C,e?(C=A.alternate,C!==null?(C=C.index,C<T?(A.flags|=67108866,T):C):(A.flags|=67108866,T)):(A.flags|=1048576,T)}function h(A){return e&&A.alternate===null&&(A.flags|=67108866),A}function y(A,T,C,H){return T===null||T.tag!==6?(T=yo(C,A.mode,H),T.return=A,T):(T=r(T,C),T.return=A,T)}function j(A,T,C,H){var se=C.type;return se===B?V(A,T,C.props.children,H,C.key):T!==null&&(T.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===P&&ya(se)===T.type)?(T=r(T,C.props),$s(T,C),T.return=A,T):(T=dl(C.type,C.key,C.props,null,A.mode,H),$s(T,C),T.return=A,T)}function D(A,T,C,H){return T===null||T.tag!==4||T.stateNode.containerInfo!==C.containerInfo||T.stateNode.implementation!==C.implementation?(T=vo(C,A.mode,H),T.return=A,T):(T=r(T,C.children||[]),T.return=A,T)}function V(A,T,C,H,se){return T===null||T.tag!==7?(T=ha(C,A.mode,H,se),T.return=A,T):(T=r(T,C),T.return=A,T)}function q(A,T,C){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=yo(""+T,A.mode,C),T.return=A,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case E:return C=dl(T.type,T.key,T.props,null,A.mode,C),$s(C,T),C.return=A,C;case M:return T=vo(T,A.mode,C),T.return=A,T;case P:return T=ya(T),q(A,T,C)}if(Ce(T)||I(T))return T=ha(T,A.mode,C,null),T.return=A,T;if(typeof T.then=="function")return q(A,yl(T),C);if(T.$$typeof===L)return q(A,ml(A,T),C);vl(A,T)}return null}function k(A,T,C,H){var se=T!==null?T.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return se!==null?null:y(A,T,""+C,H);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case E:return C.key===se?j(A,T,C,H):null;case M:return C.key===se?D(A,T,C,H):null;case P:return C=ya(C),k(A,T,C,H)}if(Ce(C)||I(C))return se!==null?null:V(A,T,C,H,null);if(typeof C.then=="function")return k(A,T,yl(C),H);if(C.$$typeof===L)return k(A,T,ml(A,C),H);vl(A,C)}return null}function _(A,T,C,H,se){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return A=A.get(C)||null,y(T,A,""+H,se);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case E:return A=A.get(H.key===null?C:H.key)||null,j(T,A,H,se);case M:return A=A.get(H.key===null?C:H.key)||null,D(T,A,H,se);case P:return H=ya(H),_(A,T,C,H,se)}if(Ce(H)||I(H))return A=A.get(C)||null,V(T,A,H,se,null);if(typeof H.then=="function")return _(A,T,C,yl(H),se);if(H.$$typeof===L)return _(A,T,C,ml(T,H),se);vl(T,H)}return null}function $(A,T,C,H){for(var se=null,Ae=null,ne=T,pe=T=0,Se=null;ne!==null&&pe<C.length;pe++){ne.index>pe?(Se=ne,ne=null):Se=ne.sibling;var we=k(A,ne,C[pe],H);if(we===null){ne===null&&(ne=Se);break}e&&ne&&we.alternate===null&&t(A,ne),T=u(we,T,pe),Ae===null?se=we:Ae.sibling=we,Ae=we,ne=Se}if(pe===C.length)return n(A,ne),je&&pn(A,pe),se;if(ne===null){for(;pe<C.length;pe++)ne=q(A,C[pe],H),ne!==null&&(T=u(ne,T,pe),Ae===null?se=ne:Ae.sibling=ne,Ae=ne);return je&&pn(A,pe),se}for(ne=s(ne);pe<C.length;pe++)Se=_(ne,A,pe,C[pe],H),Se!==null&&(e&&Se.alternate!==null&&ne.delete(Se.key===null?pe:Se.key),T=u(Se,T,pe),Ae===null?se=Se:Ae.sibling=Se,Ae=Se);return e&&ne.forEach(function(ta){return t(A,ta)}),je&&pn(A,pe),se}function ie(A,T,C,H){if(C==null)throw Error(l(151));for(var se=null,Ae=null,ne=T,pe=T=0,Se=null,we=C.next();ne!==null&&!we.done;pe++,we=C.next()){ne.index>pe?(Se=ne,ne=null):Se=ne.sibling;var ta=k(A,ne,we.value,H);if(ta===null){ne===null&&(ne=Se);break}e&&ne&&ta.alternate===null&&t(A,ne),T=u(ta,T,pe),Ae===null?se=ta:Ae.sibling=ta,Ae=ta,ne=Se}if(we.done)return n(A,ne),je&&pn(A,pe),se;if(ne===null){for(;!we.done;pe++,we=C.next())we=q(A,we.value,H),we!==null&&(T=u(we,T,pe),Ae===null?se=we:Ae.sibling=we,Ae=we);return je&&pn(A,pe),se}for(ne=s(ne);!we.done;pe++,we=C.next())we=_(ne,A,pe,we.value,H),we!==null&&(e&&we.alternate!==null&&ne.delete(we.key===null?pe:we.key),T=u(we,T,pe),Ae===null?se=we:Ae.sibling=we,Ae=we);return e&&ne.forEach(function(ob){return t(A,ob)}),je&&pn(A,pe),se}function ze(A,T,C,H){if(typeof C=="object"&&C!==null&&C.type===B&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case E:e:{for(var se=C.key;T!==null;){if(T.key===se){if(se=C.type,se===B){if(T.tag===7){n(A,T.sibling),H=r(T,C.props.children),H.return=A,A=H;break e}}else if(T.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===P&&ya(se)===T.type){n(A,T.sibling),H=r(T,C.props),$s(H,C),H.return=A,A=H;break e}n(A,T);break}else t(A,T);T=T.sibling}C.type===B?(H=ha(C.props.children,A.mode,H,C.key),H.return=A,A=H):(H=dl(C.type,C.key,C.props,null,A.mode,H),$s(H,C),H.return=A,A=H)}return h(A);case M:e:{for(se=C.key;T!==null;){if(T.key===se)if(T.tag===4&&T.stateNode.containerInfo===C.containerInfo&&T.stateNode.implementation===C.implementation){n(A,T.sibling),H=r(T,C.children||[]),H.return=A,A=H;break e}else{n(A,T);break}else t(A,T);T=T.sibling}H=vo(C,A.mode,H),H.return=A,A=H}return h(A);case P:return C=ya(C),ze(A,T,C,H)}if(Ce(C))return $(A,T,C,H);if(I(C)){if(se=I(C),typeof se!="function")throw Error(l(150));return C=se.call(C),ie(A,T,C,H)}if(typeof C.then=="function")return ze(A,T,yl(C),H);if(C.$$typeof===L)return ze(A,T,ml(A,C),H);vl(A,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,T!==null&&T.tag===6?(n(A,T.sibling),H=r(T,C),H.return=A,A=H):(n(A,T),H=yo(C,A.mode,H),H.return=A,A=H),h(A)):n(A,T)}return function(A,T,C,H){try{Ws=0;var se=ze(A,T,C,H);return ts=null,se}catch(ne){if(ne===es||ne===gl)throw ne;var Ae=Et(29,ne,null,A.mode);return Ae.lanes=H,Ae.return=A,Ae}finally{}}}var ba=qf(!0),Yf=qf(!1),Ln=!1;function ko(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ro(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 Un(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Hn(e,t,n){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Ee&2)!==0){var r=s.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),s.pending=t,t=ul(e),wf(e,null,n),t}return cl(e,s,t,n),ul(e)}function ei(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Od(e,n)}}function Oo(e,t){var n=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,n===s)){var r=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?r=u=h:u=u.next=h,n=n.next}while(n!==null);u===null?r=u=t:u=u.next=t}else r=u=t;n={baseState:s.baseState,firstBaseUpdate:r,lastBaseUpdate:u,shared:s.shared,callbacks:s.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var zo=!1;function ti(){if(zo){var e=$a;if(e!==null)throw e}}function ni(e,t,n,s){zo=!1;var r=e.updateQueue;Ln=!1;var u=r.firstBaseUpdate,h=r.lastBaseUpdate,y=r.shared.pending;if(y!==null){r.shared.pending=null;var j=y,D=j.next;j.next=null,h===null?u=D:h.next=D,h=j;var V=e.alternate;V!==null&&(V=V.updateQueue,y=V.lastBaseUpdate,y!==h&&(y===null?V.firstBaseUpdate=D:y.next=D,V.lastBaseUpdate=j))}if(u!==null){var q=r.baseState;h=0,V=D=j=null,y=u;do{var k=y.lane&-536870913,_=k!==y.lane;if(_?(be&k)===k:(s&k)===k){k!==0&&k===Wa&&(zo=!0),V!==null&&(V=V.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var $=e,ie=y;k=t;var ze=n;switch(ie.tag){case 1:if($=ie.payload,typeof $=="function"){q=$.call(ze,q,k);break e}q=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ie.payload,k=typeof $=="function"?$.call(ze,q,k):$,k==null)break e;q=b({},q,k);break e;case 2:Ln=!0}}k=y.callback,k!==null&&(e.flags|=64,_&&(e.flags|=8192),_=r.callbacks,_===null?r.callbacks=[k]:_.push(k))}else _={lane:k,tag:y.tag,payload:y.payload,callback:y.callback,next:null},V===null?(D=V=_,j=q):V=V.next=_,h|=k;if(y=y.next,y===null){if(y=r.shared.pending,y===null)break;_=y,y=_.next,_.next=null,r.lastBaseUpdate=_,r.shared.pending=null}}while(!0);V===null&&(j=q),r.baseState=j,r.firstBaseUpdate=D,r.lastBaseUpdate=V,u===null&&(r.shared.lanes=0),Pn|=h,e.lanes=h,e.memoizedState=q}}function Xf(e,t){if(typeof e!="function")throw Error(l(191,e));e.call(t)}function Pf(e,t){var n=e.callbacks;
vendor: 5,834 bytes, line 48
48if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Xf(n[e],t)}var ns=N(null),bl=N(0);function Kf(e,t){e=wn,J(bl,e),J(ns,t),wn=e|t.baseLanes}function _o(){J(bl,wn),J(ns,ns.current)}function Vo(){wn=bl.current,U(ns),U(bl)}var Mt=N(null),qt=null;function Gn(e){var t=e.alternate;J(Je,Je.current&1),J(Mt,e),qt===null&&(t===null||ns.current!==null||t.memoizedState!==null)&&(qt=e)}function Bo(e){J(Je,Je.current),J(Mt,e),qt===null&&(qt=e)}function Qf(e){e.tag===22?(J(Je,Je.current),J(Mt,e),qt===null&&(qt=e)):qn()}function qn(){J(Je,Je.current),J(Mt,Mt.current)}function Ct(e){U(Mt),qt===e&&(qt=null),U(Je)}var Je=N(0);function Sl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Yc(n)||Xc(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)!==0)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 yn=0,me=null,Re=null,We=null,jl=!1,as=!1,Sa=!1,Nl=0,ai=0,ss=null,Wy=0;function Ke(){throw Error(l(321))}function Lo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wt(e[n],t[n]))return!1;return!0}function Uo(e,t,n,s,r,u){return yn=u,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?Dh:ec,Sa=!1,u=n(s,r),Sa=!1,as&&(u=Jf(t,n,s,r)),Zf(e),u}function Zf(e){O.H=li;var t=Re!==null&&Re.next!==null;if(yn=0,We=Re=me=null,jl=!1,ai=0,ss=null,t)throw Error(l(300));e===null||$e||(e=e.dependencies,e!==null&&hl(e)&&($e=!0))}function Jf(e,t,n,s){me=e;var r=0;do{if(as&&(ss=null),ai=0,as=!1,25<=r)throw Error(l(301));if(r+=1,We=Re=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}O.H=kh,u=t(n,s)}while(as);return u}function $y(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?si(t):t,e=e.useState()[0],(Re!==null?Re.memoizedState:null)!==e&&(me.flags|=1024),t}function Ho(){var e=Nl!==0;return Nl=0,e}function Go(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function qo(e){if(jl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}jl=!1}yn=0,We=Re=me=null,as=!1,ai=Nl=0,ss=null}function pt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return We===null?me.memoizedState=We=e:We=We.next=e,We}function Fe(){if(Re===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=Re.next;var t=We===null?me.memoizedState:We.next;if(t!==null)We=t,Re=e;else{if(e===null)throw me.alternate===null?Error(l(467)):Error(l(310));Re=e,e={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},We===null?me.memoizedState=We=e:We=We.next=e}return We}function Tl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function si(e){var t=ai;return ai+=1,ss===null&&(ss=[]),e=Uf(ss,e,t),t=me,(We===null?t.memoizedState:We.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?Dh:ec),e}function Al(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return si(e);if(e.$$typeof===L)return ct(e)}throw Error(l(438,String(e)))}function Yo(e){var t=null,n=me.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var s=me.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Tl(),me.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),s=0;s<e;s++)n[s]=F;return t.index++,n}function vn(e,t){return typeof t=="function"?t(e):t}function wl(e){var t=Fe();return Xo(t,Re,e)}function Xo(e,t,n){var s=e.queue;if(s===null)throw Error(l(311));s.lastRenderedReducer=n;var r=e.baseQueue,u=s.pending;if(u!==null){if(r!==null){var h=r.next;r.next=u.next,u.next=h}t.baseQueue=r=u,s.pending=null}if(u=e.baseState,r===null)e.memoizedState=u;else{t=r.next;var y=h=null,j=null,D=t,V=!1;do{var q=D.lane&-536870913;if(q!==D.lane?(be&q)===q:(yn&q)===q){var k=D.revertLane;if(k===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),q===Wa&&(V=!0);else if((yn&k)===k){D=D.next,k===Wa&&(V=!0);continue}else q={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},j===null?(y=j=q,h=u):j=j.next=q,me.lanes|=k,Pn|=k;q=D.action,Sa&&n(u,q),u=D.hasEagerState?D.eagerState:n(u,q)}else k={lane:q,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},j===null?(y=j=k,h=u):j=j.next=k,me.lanes|=q,Pn|=q;D=D.next}while(D!==null&&D!==t);if(j===null?h=u:j.next=y,!wt(u,e.memoizedState)&&($e=!0,V&&(n=$a,n!==null)))throw n;e.memoizedState=u,e.baseState=h,e.baseQueue=j,s.lastRenderedState=u}return r===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function Po(e){var t=Fe(),n=t.queue;if(n===null)throw Error(l(311));n.lastRenderedReducer=e;var s=n.dispatch,r=n.pending,u=t.memoizedState;if(r!==null){n.pending=null;var h=r=r.next;do u=e(u,h.action),h=h.next;while(h!==r);wt(u,t.memoizedState)||($e=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,s]}function Ff(e,t,n){var s=me,r=Fe(),u=je;if(u){if(n===void 0)throw Error(l(407));n=n()}else n=t();var h=!wt((Re||r).memoizedState,n);if(h&&(r.memoizedState=n,$e=!0),r=r.queue,Zo($f.bind(null,s,r,e),[e]),r.getSnapshot!==t||h||We!==null&&We.memoizedState.tag&1){if(s.flags|=2048,is(9,{destroy:void 0}
vendor: 15,493 bytes, line 48
48,Wf.bind(null,s,r,n,t),null),_e===null)throw Error(l(349));u||(yn&127)!==0||If(s,t,n)}return n}function If(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t=Tl(),me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Wf(e,t,n,s){t.value=n,t.getSnapshot=s,eh(t)&&th(e)}function $f(e,t,n){return n(function(){eh(t)&&th(e)})}function eh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wt(e,n)}catch{return!0}}function th(e){var t=fa(e,2);t!==null&&Tt(t,e,2)}function Ko(e){var t=pt();if(typeof e=="function"){var n=e;if(e=n(),Sa){ve(!0);try{n()}finally{ve(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:e},t}function nh(e,t,n,s){return e.baseState=n,Xo(e,Re,typeof s=="function"?s:vn)}function ev(e,t,n,s,r){if(Cl(e))throw Error(l(485));if(e=t.action,e!==null){var u={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){u.listeners.push(h)}};O.T!==null?n(!0):u.isTransition=!1,s(u),n=t.pending,n===null?(u.next=t.pending=u,ah(t,u)):(u.next=n.next,t.pending=n.next=u)}}function ah(e,t){var n=t.action,s=t.payload,r=e.state;if(t.isTransition){var u=O.T,h={};O.T=h;try{var y=n(r,s),j=O.S;j!==null&&j(h,y),sh(e,t,y)}catch(D){Qo(e,t,D)}finally{u!==null&&h.types!==null&&(u.types=h.types),O.T=u}}else try{u=n(r,s),sh(e,t,u)}catch(D){Qo(e,t,D)}}function sh(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(s){ih(e,t,s)},function(s){return Qo(e,t,s)}):ih(e,t,n)}function ih(e,t,n){t.status="fulfilled",t.value=n,lh(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,ah(e,n)))}function Qo(e,t,n){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=n,lh(t),t=t.next;while(t!==s)}e.action=null}function lh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rh(e,t){return t}function oh(e,t){if(je){var n=_e.formState;if(n!==null){e:{var s=me;if(je){if(Ue){t:{for(var r=Ue,u=Gt;r.nodeType!==8;){if(!u){r=null;break t}if(r=Yt(r.nextSibling),r===null){r=null;break t}}u=r.data,r=u==="F!"||u==="F"?r:null}if(r){Ue=Yt(r.nextSibling),s=r.data==="F!";break e}}Vn(s)}s=!1}s&&(t=n[0])}}return n=pt(),n.memoizedState=n.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rh,lastRenderedState:t},n.queue=s,n=Eh.bind(null,me,s),s.dispatch=n,s=Ko(!1),u=$o.bind(null,me,!1,s.queue),s=pt(),r={state:t,dispatch:null,action:e,pending:null},s.queue=r,n=ev.bind(null,me,r,u,n),r.dispatch=n,s.memoizedState=e,[t,n,!1]}function ch(e){var t=Fe();return uh(t,Re,e)}function uh(e,t,n){if(t=Xo(e,t,rh)[0],e=wl(vn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=si(t)}catch(h){throw h===es?gl:h}else s=t;t=Fe();var r=t.queue,u=r.dispatch;return n!==t.memoizedState&&(me.flags|=2048,is(9,{destroy:void 0},tv.bind(null,r,n),null)),[s,u,e]}function tv(e,t){e.action=t}function dh(e){var t=Fe(),n=Re;if(n!==null)return uh(t,n,e);Fe(),t=t.memoizedState,n=Fe();var s=n.queue.dispatch;return n.memoizedState=e,[t,s,!1]}function is(e,t,n,s){return e={tag:e,create:n,deps:s,inst:t,next:null},t=me.updateQueue,t===null&&(t=Tl(),me.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(s=n.next,n.next=e,e.next=s,t.lastEffect=e),e}function fh(){return Fe().memoizedState}function El(e,t,n,s){var r=pt();me.flags|=e,r.memoizedState=is(1|t,{destroy:void 0},n,s===void 0?null:s)}function Ml(e,t,n,s){var r=Fe();s=s===void 0?null:s;var u=r.memoizedState.inst;Re!==null&&s!==null&&Lo(s,Re.memoizedState.deps)?r.memoizedState=is(t,u,n,s):(me.flags|=e,r.memoizedState=is(1|t,u,n,s))}function hh(e,t){El(8390656,8,e,t)}function Zo(e,t){Ml(2048,8,e,t)}function nv(e){me.flags|=4;var t=me.updateQueue;if(t===null)t=Tl(),me.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function mh(e){var t=Fe().memoizedState;return nv({ref:t,nextImpl:e}),function(){if((Ee&2)!==0)throw Error(l(440));return t.impl.apply(void 0,arguments)}}function ph(e,t){return Ml(4,2,e,t)}function gh(e,t){return Ml(4,4,e,t)}function xh(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 yh(e,t,n){n=n!=null?n.concat([e]):null,Ml(4,4,xh.bind(null,t,e),n)}function Jo(){}function vh(e,t){var n=Fe();t=t===void 0?null:t;var s=n.memoizedState;return t!==null&&Lo(t,s[1])?s[0]:(n.memoizedState=[e,t],e)}function bh(e,t){var n=Fe();t=t===void 0?null:t;var s=n.memoizedState;if(t!==null&&Lo(t,s[1]))return s[0];if(s=e(),Sa){ve(!0);try{e()}finally{ve(!1)}}return n.memoizedState=[s,t],s}function Fo(e,t,n){return n===void 0||(yn&1073741824)!==0&&(be&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Sm(),me.lanes|=e,Pn|=e,n)}function Sh(e,t,n,s){return wt(n,t)?n:ns.current!==null?(e=Fo(e,n,s),wt(e,t)||($e=!0),e):(yn&42)===0||(yn&1073741824)!==0&&(be&261930)===0?($e=!0,e.memoizedState=n):(e=Sm(),me.lanes|=e,Pn|=e,t)}function jh(e,t,n,s,r){var u=Q.p;Q.p=u!==0&&8>u?u:8;var h=O.T,y={};O.T=y,$o(e,!1,t,n);try{var j=r(),D=O.S;if(D!==null&&D(y,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var V=Iy(j,s);ii(e,t,V,Rt(e))}else ii(e,t,s,Rt(e))}catch(q){ii(e,t,{then:function(){},status:"rejected",reason:q},Rt())}finally{Q.p=u,h!==null&&y.types!==null&&(h.types=y.types),O.T=h}}function av(){}function Io(e,t,n,s){if(e.tag!==5)throw Error(l(476));var r=Nh(e).queue;jh(e,r,t,Z,n===null?av:function(){return Th(e),n(s)})}function Nh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:Z},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Th(e){var t=Nh(e);t.next===null&&(t=e.alternate.memoizedState),ii(e,t.next.queue,{},Rt())}function Wo(){return ct(ji)}function Ah(){return Fe().memoizedState}function wh(){return Fe().memoizedState}function sv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Rt();e=Un(n);var s=Hn(t,e,n);s!==null&&(Tt(s,t,n),ei(s,t,n)),t={cache:Eo()},e.payload=t;return}t=t.return}}function iv(e,t,n){var s=Rt();n={lane:s,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Cl(e)?Mh(t,n):(n=go(e,t,n,s),n!==null&&(Tt(n,e,s),Ch(n,t,s)))}function Eh(e,t,n){var s=Rt();ii(e,t,n,s)}function ii(e,t,n,s){var r={lane:s,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Cl(e))Mh(t,r);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var h=t.lastRenderedState,y=u(h,n);if(r.hasEagerState=!0,r.eagerState=y,wt(y,h))return cl(e,t,r,0),_e===null&&ol(),!1}catch{}finally{}if(n=go(e,t,r,s),n!==null)return Tt(n,e,s),Ch(n,t,s),!0}return!1}function $o(e,t,n,s){if(s={lane:2,revertLane:kc(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Cl(e)){if(t)throw Error(l(479))}else t=go(e,n,s,2),t!==null&&Tt(t,e,2)}function Cl(e){var t=e.alternate;return e===me||t!==null&&t===me}function Mh(e,t){as=jl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ch(e,t,n){if((n&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Od(e,n)}}var li={readContext:ct,use:Al,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useLayoutEffect:Ke,useInsertionEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useSyncExternalStore:Ke,useId:Ke,useHostTransitionStatus:Ke,useFormState:Ke,useActionState:Ke,useOptimistic:Ke,useMemoCache:Ke,useCacheRefresh:Ke};li.useEffectEvent=Ke;var Dh={readContext:ct,use:Al,useCallback:function(e,t){return pt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:hh,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,El(4194308,4,xh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return El(4194308,4,e,t)},useInsertionEffect:function(e,t){El(4,2,e,t)},useMemo:function(e,t){var n=pt();t=t===void 0?null:t;var s=e();if(Sa){ve(!0);try{e()}finally{ve(!1)}}return n.memoizedState=[s,t],s},useReducer:function(e,t,n){var s=pt();if(n!==void 0){var r=n(t);if(Sa){ve(!0);try{n(t)}finally{ve(!1)}}}else r=t;return s.memoizedState=s.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},s.queue=e,e=e.dispatch=iv.bind(null,me,e),[s.memoizedState,e]},useRef:function(e){var t=pt();return e={current:e},t.memoizedState=e},useState:function(e){e=Ko(e);var t=e.queue,n=Eh.bind(null,me,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Jo,useDeferredValue:function(e,t){var n=pt();return Fo(n,e,t)},useTransition:function(){var e=Ko(!1);return e=jh.bind(null,me,e.queue,!0,!1),pt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var s=me,r=pt();if(je){if(n===void 0)throw Error(l(407));n=n()}else{if(n=t(),_e===null)throw Error(l(349));(be&127)!==0||If(s,t,n)}r.memoizedState=n;var u={value:n,getSnapshot:t};return r.queue=u,hh($f.bind(null,s,u,e),[e]),s.flags|=2048,is(9,{destroy:void 0},Wf.bind(null,s,u,n,t),null),n},useId:function(){var e=pt(),t=_e.identifierPrefix;if(je){var n=tn,s=en;n=(s&~(1<<32-Ne(s)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Nl++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=Wy++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Wo,useFormState:oh,useActionState:oh,useOptimistic:function(e){var t=pt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=$o.bind(null,me,!0,n),n.dispatch=t,[e,t]},useMemoCache:Yo,useCacheRefresh:function(){return pt().memoizedState=sv.bind(null,me)},useEffectEvent:function(e){var t=pt(),n={impl:e};return t.memoizedState=n,function(){if((Ee&2)!==0)throw Error(l(440));return n.impl.apply(void 0,arguments)}}},ec={readContext:ct,use:Al,useCallback:vh,useContext:ct,useEffect:Zo,useImperativeHandle:yh,useInsertionEffect:ph,useLayoutEffect:gh,useMemo:bh,useReducer:wl,useRef:fh,useState:function(){return wl(vn)},useDebugValue:Jo,useDeferredValue:function(e,t){var n=Fe();return Sh(n,Re.memoizedState,e,t)},useTransition:function(){var e=wl(vn)[0],t=Fe().memoizedState;return[typeof e=="boolean"?e:si(e),t]},useSyncExternalStore:Ff,useId:Ah,useHostTransitionStatus:Wo,useFormState:ch,useActionState:ch,useOptimistic:function(e,t){var n=Fe();return nh(n,Re,e,t)},useMemoCache:Yo,useCacheRefresh:wh};ec.useEffectEvent=mh;var kh={readContext:ct,use:Al,useCallback:vh,useContext:ct,useEffect:Zo,useImperativeHandle:yh,useInsertionEffect:ph,useLayoutEffect:gh,useMemo:bh,useReducer:Po,useRef:fh,useState:function(){return Po(vn)},useDebugValue:Jo,useDeferredValue:function(e,t){var n=Fe();return Re===null?Fo(n,e,t):Sh(n,Re.memoizedState,e,t)},useTransition:function(){var e=Po(vn)[0],t=Fe().memoizedState;return[typeof e=="boolean"?e:si(e),t]},useSyncExternalStore:Ff,useId:Ah,useHostTransitionStatus:Wo,useFormState:dh,useActionState:dh,useOptimistic:function(e,t){var n=Fe();return Re!==null?nh(n,Re,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Yo,useCacheRefresh:wh};kh.useEffectEvent=mh;function tc(e,t,n,s){t=e.memoizedState,n=n(s,t),n=n==null?t:b({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var nc={enqueueSetState:function(e,t,n){e=e._reactInternals;var s=Rt(),r=Un(s);r.payload=t,n!=null&&(r.callback=n),t=Hn(e,r,s),t!==null&&(Tt(t,e,s),ei(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var s=Rt(),r=Un(s);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=Hn(e,r,s),t!==null&&(Tt(t,e,s),ei(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Rt(),s=Un(n);s.tag=2,t!=null&&(s.callback=t),t=Hn(e,s,n),t!==null&&(Tt(t,e,n),ei(t,e,n))}};function Rh(e,t,n,s,r,u,h){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,u,h):t.prototype&&t.prototype.isPureReactComponent?!Ks(n,s)||!Ks(r,u):!0}function Oh(e,t,n,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,s),t.state!==e&&nc.enqueueReplaceState(t,t.state,null)}function ja(e,t){var n=t;if("ref"in t){n={};for(var s in t)s!=="ref"&&(n[s]=t[s])}if(e=e.defaultProps){n===t&&(n=b({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function zh(e){rl(e)}function _h(e){console.error(e)}function Vh(e){rl(e)}function Dl(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(s){setTimeout(function(){throw s})}}function Bh(e,t,n){try{var s=e.onCaughtError;s(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ac(e,t,n){return n=Un(n),n.tag=3,n.payload={element:null},n.callback=function(){Dl(e,t)},n}function Lh(e){return e=Un(e),e.tag=3,e}function Uh(e,t,n,s){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var u=s.value;e.payload=function(){return r(u)},e.callback=function(){Bh(t,n,s)}}var h=n.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(e.callback=function(){Bh(t,n,s),typeof r!="function"&&(Kn===null?Kn=new Set([this]):Kn.add(this));var y=s.stack;this.componentDidCatch(s.value,{componentStack:y!==null?y:""})})}function lv(e,t,n,s,r){if(n.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=n.alternate,t!==null&&Ia(t,n,r,!0),n=Mt.current,n!==null){switch(n.tag){case 31:case 13:return qt===null?ql():n.alternate===null&&Qe===0&&(Qe=3),n.flags&=-257,n.flags|=65536,n.lanes=r,s===xl?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([s]):t.add(s),Mc(e,s,r)),!1;case 22:return n.flags|=65536,s===xl?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([s]):n.add(s)),Mc(e,s,r)),!1}throw Error(l(435,n.tag))}return Mc(e,s,r),ql(),!1}if(je)return t=Mt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,s!==jo&&(e=Error(l(422),{cause:s}),Js(Lt(e,n)))):(s!==jo&&(t=Error(l(423),{cause:s}),Js(Lt(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,s=Lt(s,n),r=ac(e.stateNode,s,r),Oo(e,r),Qe!==4&&(Qe=2)),!1;var u=Error(l(520),{cause:s});if(u=Lt(u,n),mi===null?mi=[u]:mi.push(u),Qe!==4&&(Qe=2),t===null)return!0;s=Lt(s,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=ac(n.stateNode,s,e),Oo(n,e),!1;case 1:if(t=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Kn===null||!Kn.has(u))))return n.flags|=65536,r&=-r,n.lanes|=r,r=Lh(r),Uh(r,e,n,s),Oo(n,r),!1}n=n.return}while(n!==null);return!1}var sc=Error(l(461)),$e=!1;function ut(e,t,n,s){t.child=e===null?Yf(t,null,n,s):ba(t,e.child,n,s)}function Hh(e,t,n,s,r){n=n.render;var u=t.ref;if("ref"in s){var h={};for(var y in s)y!=="ref"&&(h[y]=s[y])}else h=s;return ga(t),s=Uo(e,t,n,h,u,r),y=Ho(),e!==null&&!$e?(Go(e,t,r),bn(e,t,r)):(je&&y&&bo(t),t.flags|=1,ut(e,t,s,r),t.child)}function Gh(e,t,n,s,r){if(e===null){var u=n.type;return typeof u=="function"&&!xo(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,qh(e,t,u,s,r)):(e=
vendor: 12,380 bytes, line 48
48dl(n.type,null,s,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!fc(e,r)){var h=u.memoizedProps;if(n=n.compare,n=n!==null?n:Ks,n(h,s)&&e.ref===t.ref)return bn(e,t,r)}return t.flags|=1,e=mn(u,s),e.ref=t.ref,e.return=t,t.child=e}function qh(e,t,n,s,r){if(e!==null){var u=e.memoizedProps;if(Ks(u,s)&&e.ref===t.ref)if($e=!1,t.pendingProps=s=u,fc(e,r))(e.flags&131072)!==0&&($e=!0);else return t.lanes=e.lanes,bn(e,t,r)}return ic(e,t,n,s,r)}function Yh(e,t,n,s){var r=s.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|n:n,e!==null){for(s=t.child=e.child,r=0;s!==null;)r=r|s.lanes|s.childLanes,s=s.sibling;s=r&~u}else s=0,t.child=null;return Xh(e,t,u,n,s)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&pl(t,u!==null?u.cachePool:null),u!==null?Kf(t,u):_o(),Qf(t);else return s=t.lanes=536870912,Xh(e,t,u!==null?u.baseLanes|n:n,n,s)}else u!==null?(pl(t,u.cachePool),Kf(t,u),qn(),t.memoizedState=null):(e!==null&&pl(t,null),_o(),qn());return ut(e,t,r,n),t.child}function ri(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Xh(e,t,n,s,r){var u=Co();return u=u===null?null:{parent:Ie._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&pl(t,null),_o(),Qf(t),e!==null&&Ia(e,t,s,!0),t.childLanes=r,null}function kl(e,t){return t=Ol({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Ph(e,t,n){return ba(t,e.child,null,n),e=kl(t,t.pendingProps),e.flags|=2,Ct(t),t.memoizedState=null,e}function rv(e,t,n){var s=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(je){if(s.mode==="hidden")return e=kl(t,s),t.lanes=536870912,ri(null,e);if(Bo(t),(e=Ue)?(e=ap(e,Gt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:zn!==null?{id:en,overflow:tn}:null,retryLane:536870912,hydrationErrors:null},n=Mf(e),n.return=t,t.child=n,ot=t,Ue=null)):e=null,e===null)throw Vn(t);return t.lanes=536870912,null}return kl(t,s)}var u=e.memoizedState;if(u!==null){var h=u.dehydrated;if(Bo(t),r)if(t.flags&256)t.flags&=-257,t=Ph(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(l(558));else if($e||Ia(e,t,n,!1),r=(n&e.childLanes)!==0,$e||r){if(s=_e,s!==null&&(h=zd(s,n),h!==0&&h!==u.retryLane))throw u.retryLane=h,fa(e,h),Tt(s,e,h),sc;ql(),t=Ph(e,t,n)}else e=u.treeContext,Ue=Yt(h.nextSibling),ot=t,je=!0,_n=null,Gt=!1,e!==null&&kf(t,e),t=kl(t,s),t.flags|=4096;return t}return e=mn(e.child,{mode:s.mode,children:s.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Rl(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(l(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function ic(e,t,n,s,r){return ga(t),n=Uo(e,t,n,s,void 0,r),s=Ho(),e!==null&&!$e?(Go(e,t,r),bn(e,t,r)):(je&&s&&bo(t),t.flags|=1,ut(e,t,n,r),t.child)}function Kh(e,t,n,s,r,u){return ga(t),t.updateQueue=null,n=Jf(t,s,n,r),Zf(e),s=Ho(),e!==null&&!$e?(Go(e,t,u),bn(e,t,u)):(je&&s&&bo(t),t.flags|=1,ut(e,t,n,u),t.child)}function Qh(e,t,n,s,r){if(ga(t),t.stateNode===null){var u=Qa,h=n.contextType;typeof h=="object"&&h!==null&&(u=ct(h)),u=new n(s,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=nc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=s,u.state=t.memoizedState,u.refs={},ko(t),h=n.contextType,u.context=typeof h=="object"&&h!==null?ct(h):Qa,u.state=t.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(tc(t,n,h,s),u.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(h=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),h!==u.state&&nc.enqueueReplaceState(u,u.state,null),ni(t,s,u,r),ti(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),s=!0}else if(e===null){u=t.stateNode;var y=t.memoizedProps,j=ja(n,y);u.props=j;var D=u.context,V=n.contextType;h=Qa,typeof V=="object"&&V!==null&&(h=ct(V));var q=n.getDerivedStateFromProps;V=typeof q=="function"||typeof u.getSnapshotBeforeUpdate=="function",y=t.pendingProps!==y,V||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(y||D!==h)&&Oh(t,u,s,h),Ln=!1;var k=t.memoizedState;u.state=k,ni(t,s,u,r),ti(),D=t.memoizedState,y||k!==D||Ln?(typeof q=="function"&&(tc(t,n,q,s),D=t.memoizedState),(j=Ln||Rh(t,n,j,s,k,D,h))?(V||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=D),u.props=s,u.state=D,u.context=h,s=j):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{u=t.stateNode,Ro(e,t),h=t.memoizedProps,V=ja(n,h),u.props=V,q=t.pendingProps,k=u.context,D=n.contextType,j=Qa,typeof D=="object"&&D!==null&&(j=ct(D)),y=n.getDerivedStateFromProps,(D=typeof y=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==q||k!==j)&&Oh(t,u,s,j),Ln=!1,k=t.memoizedState,u.state=k,ni(t,s,u,r),ti();var _=t.memoizedState;h!==q||k!==_||Ln||e!==null&&e.dependencies!==null&&hl(e.dependencies)?(typeof y=="function"&&(tc(t,n,y,s),_=t.memoizedState),(V=Ln||Rh(t,n,V,s,k,_,j)||e!==null&&e.dependencies!==null&&hl(e.dependencies))?(D||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(s,_,j),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(s,_,j)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&k===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&k===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=_),u.props=s,u.state=_,u.context=j,s=V):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&k===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&k===e.memoizedState||(t.flags|=1024),s=!1)}return u=s,Rl(e,t),s=(t.flags&128)!==0,u||s?(u=t.stateNode,n=s&&typeof n.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&s?(t.child=ba(t,e.child,null,r),t.child=ba(t,null,n,r)):ut(e,t,n,r),t.memoizedState=u.state,e=t.child):e=bn(e,t,r),e}function Zh(e,t,n,s){return ma(),t.flags|=256,ut(e,t,n,s),t.child}var lc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function rc(e){return{baseLanes:e,cachePool:Bf()}}function oc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=kt),e}function Jh(e,t,n){var s=t.pendingProps,r=!1,u=(t.flags&128)!==0,h;if((h=u)||(h=e!==null&&e.memoizedState===null?!1:(Je.current&2)!==0),h&&(r=!0,t.flags&=-129),h=(t.flags&32)!==0,t.flags&=-33,e===null){if(je){if(r?Gn(t):qn(),(e=Ue)?(e=ap(e,Gt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:zn!==null?{id:en,overflow:tn}:null,retryLane:536870912,hydrationErrors:null},n=Mf(e),n.return=t,t.child=n,ot=t,Ue=null)):e=null,e===null)throw Vn(t);return Xc(e)?t.lanes=32:t.lanes=536870912,null}var y=s.children;return s=s.fallback,r?(qn(),r=t.mode,y=Ol({mode:"hidden",children:y},r),s=ha(s,r,n,null),y.return=t,s.return=t,y.sibling=s,t.child=y,s=t.child,s.memoizedState=rc(n),s.childLanes=oc(e,h,n),t.memoizedState=lc,ri(null,s)):(Gn(t),cc(t,y))}var j=e.memoizedState;if(j!==null&&(y=j.dehydrated,y!==null)){if(u)t.flags&256?(Gn(t),t.flags&=-257,t=uc(e,t,n)):t.memoizedState!==null?(qn(),t.child=e.child,t.flags|=128,t=null):(qn(),y=s.fallback,r=t.mode,s=Ol({mode:"visible",children:s.children},r),y=ha(y,r,n,null),y.flags|=2,s.return=t,y.return=t,s.sibling=y,t.child=s,ba(t,e.child,null,n),s=t.child,s.memoizedState=rc(n),s.childLanes=oc(e,h,n),t.memoizedState=lc,t=ri(null,s));else if(Gn(t),Xc(y)){if(h=y.nextSibling&&y.nextSibling.dataset,h)var D=h.dgst;h=D,s=Error(l(419)),s.stack="",s.digest=h,Js({value:s,source:null,stack:null}),t=uc(e,t,n)}else if($e||Ia(e,t,n,!1),h=(n&e.childLanes)!==0,$e||h){if(h=_e,h!==null&&(s=zd(h,n),s!==0&&s!==j.retryLane))throw j.retryLane=s,fa(e,s),Tt(h,e,s),sc;Yc(y)||ql(),t=uc(e,t,n)}else Yc(y)?(t.flags|=192,t.child=e.child,t=null):(e=j.treeContext,Ue=Yt(y.nextSibling),ot=t,je=!0,_n=null,Gt=!1,e!==null&&kf(t,e),t=cc(t,s.children),t.flags|=4096);return t}return r?(qn(),y=s.fallback,r=t.mode,j=e.child,D=j.sibling,s=mn(j,{mode:"hidden",children:s.children}),s.subtreeFlags=j.subtreeFlags&65011712,D!==null?y=mn(D,y):(y=ha(y,r,n,null),y.flags|=2),y.return=t,s.return=t,s.sibling=y,t.child=s,ri(null,s),s=t.child,y=e.child.memoizedState,y===null?y=rc(n):(r=y.cachePool,r!==null?(j=Ie._currentValue,r=r.parent!==j?{parent:j,pool:j}:r):r=Bf(),y={baseLanes:y.baseLanes|n,cachePool:r}),s.memoizedState=y,s.childLanes=oc(e,h,n),t.memoizedState=lc,ri(e.child,s)):(Gn(t),n=e.child,e=n.sibling,n=mn(n,{mode:"visible",children:s.children}),n.return=t,n.sibling=null,e!==null&&(h=t.deletions,h===null?(t.deletions=[e],t.flags|=16):h.push(e)),t.child=n,t.memoizedState=null,n)}function cc(e,t){return t=Ol({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ol(e,t){return e=Et(22,e,null,t),e.lanes=0,e}function uc(e,t,n){return ba(t,e.child,null,n),e=cc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Fh(e,t,n){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),Ao(e.return,t,n)}function dc(e,t,n,s,r,u){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:n,tailMode:r,treeForkCount:u}:(h.isBackwards=t,h.rendering=null,h.renderingStartTime=0,h.last=s,h.tail=n,h.tailMode=r,h.treeForkCount=u)}function Ih(e,t,n){var s=t.pendingProps,r=s.revealOrder,u=s.tail;s=s.children;var h=Je.current,y=(h&2)!==0;if(y?(h=h&1|2,t.flags|=128):h&=1,J(Je,h),ut(e,t,s,n),s=je?Zs:0,!y&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Fh(e,n,t);else if(e.tag===19)Fh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&Sl(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),dc(t,!1,r,n,u,s);break;case"backwards":case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Sl(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}dc(t,!0,n,null,u,s);break;case"together":dc(t,!1,null,null,void 0,s);break;default:t.memoizedState=null}return t.child}function bn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Pn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ia(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(l(153));if(t.child!==null){for(e=t.child,n=mn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=mn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function fc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&hl(e)))}function ov(e,t,n){switch(t.tag){case 3:st(t,t.stateNode.containerInfo),Bn(t,Ie,e.memoizedState.cache),ma();break;case 27:case 5:ka(t);break;case 4:st(t,t.stateNode.containerInfo);break;case 10:Bn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Bo(t),null;break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(Gn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Jh(e,t,n):(Gn(t),e=bn(e,t,n
vendor: 6,131 bytes, line 48
48),e!==null?e.sibling:null);Gn(t);break;case 19:var r=(e.flags&128)!==0;if(s=(n&t.childLanes)!==0,s||(Ia(e,t,n,!1),s=(n&t.childLanes)!==0),r){if(s)return Ih(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),J(Je,Je.current),s)break;return null;case 22:return t.lanes=0,Yh(e,t,n,t.pendingProps);case 24:Bn(t,Ie,e.memoizedState.cache)}return bn(e,t,n)}function Wh(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)$e=!0;else{if(!fc(e,n)&&(t.flags&128)===0)return $e=!1,ov(e,t,n);$e=(e.flags&131072)!==0}else $e=!1,je&&(t.flags&1048576)!==0&&Df(t,Zs,t.index);switch(t.lanes=0,t.tag){case 16:e:{var s=t.pendingProps;if(e=ya(t.elementType),t.type=e,typeof e=="function")xo(e)?(s=ja(e,s),t.tag=1,t=Qh(null,t,e,s,n)):(t.tag=0,t=ic(null,t,e,s,n));else{if(e!=null){var r=e.$$typeof;if(r===G){t.tag=11,t=Hh(null,t,e,s,n);break e}else if(r===K){t.tag=14,t=Gh(null,t,e,s,n);break e}}throw t=Me(e)||e,Error(l(306,t,""))}}return t;case 0:return ic(e,t,t.type,t.pendingProps,n);case 1:return s=t.type,r=ja(s,t.pendingProps),Qh(e,t,s,r,n);case 3:e:{if(st(t,t.stateNode.containerInfo),e===null)throw Error(l(387));s=t.pendingProps;var u=t.memoizedState;r=u.element,Ro(e,t),ni(t,s,null,n);var h=t.memoizedState;if(s=h.cache,Bn(t,Ie,s),s!==u.cache&&wo(t,[Ie],n,!0),ti(),s=h.element,u.isDehydrated)if(u={element:s,isDehydrated:!1,cache:h.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Zh(e,t,s,n);break e}else if(s!==r){r=Lt(Error(l(424)),t),Js(r),t=Zh(e,t,s,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ue=Yt(e.firstChild),ot=t,je=!0,_n=null,Gt=!0,n=Yf(t,null,s,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ma(),s===r){t=bn(e,t,n);break e}ut(e,t,s,n)}t=t.child}return t;case 26:return Rl(e,t),e===null?(n=cp(t.type,null,t.pendingProps,null))?t.memoizedState=n:je||(n=t.type,e=t.pendingProps,s=Jl(fe.current).createElement(n),s[rt]=t,s[yt]=e,dt(s,n,e),it(s),t.stateNode=s):t.memoizedState=cp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ka(t),e===null&&je&&(s=t.stateNode=lp(t.type,t.pendingProps,fe.current),ot=t,Gt=!0,r=Ue,Fn(t.type)?(Pc=r,Ue=Yt(s.firstChild)):Ue=r),ut(e,t,t.pendingProps.children,n),Rl(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&je&&((r=s=Ue)&&(s=Lv(s,t.type,t.pendingProps,Gt),s!==null?(t.stateNode=s,ot=t,Ue=Yt(s.firstChild),Gt=!1,r=!0):r=!1),r||Vn(t)),ka(t),r=t.type,u=t.pendingProps,h=e!==null?e.memoizedProps:null,s=u.children,Hc(r,u)?s=null:h!==null&&Hc(r,h)&&(t.flags|=32),t.memoizedState!==null&&(r=Uo(e,t,$y,null,null,n),ji._currentValue=r),Rl(e,t),ut(e,t,s,n),t.child;case 6:return e===null&&je&&((e=n=Ue)&&(n=Uv(n,t.pendingProps,Gt),n!==null?(t.stateNode=n,ot=t,Ue=null,e=!0):e=!1),e||Vn(t)),null;case 13:return Jh(e,t,n);case 4:return st(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=ba(t,null,s,n):ut(e,t,s,n),t.child;case 11:return Hh(e,t,t.type,t.pendingProps,n);case 7:return ut(e,t,t.pendingProps,n),t.child;case 8:return ut(e,t,t.pendingProps.children,n),t.child;case 12:return ut(e,t,t.pendingProps.children,n),t.child;case 10:return s=t.pendingProps,Bn(t,t.type,s.value),ut(e,t,s.children,n),t.child;case 9:return r=t.type._context,s=t.pendingProps.children,ga(t),r=ct(r),s=s(r),t.flags|=1,ut(e,t,s,n),t.child;case 14:return Gh(e,t,t.type,t.pendingProps,n);case 15:return qh(e,t,t.type,t.pendingProps,n);case 19:return Ih(e,t,n);case 31:return rv(e,t,n);case 22:return Yh(e,t,n,t.pendingProps);case 24:return ga(t),s=ct(Ie),e===null?(r=Co(),r===null&&(r=_e,u=Eo(),r.pooledCache=u,u.refCount++,u!==null&&(r.pooledCacheLanes|=n),r=u),t.memoizedState={parent:s,cache:r},ko(t),Bn(t,Ie,r)):((e.lanes&n)!==0&&(Ro(e,t),ni(t,null,null,n),ti()),r=e.memoizedState,u=t.memoizedState,r.parent!==s?(r={parent:s,cache:s},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Bn(t,Ie,s)):(s=u.cache,Bn(t,Ie,s),s!==r.cache&&wo(t,[Ie],n,!0))),ut(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function Sn(e){e.flags|=4}function hc(e,t,n,s,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(Am())e.flags|=8192;else throw va=xl,Do}else e.flags&=-16777217}function $h(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!mp(t))if(Am())e.flags|=8192;else throw va=xl,Do}function zl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?kd():536870912,e.lanes|=t,cs|=t)}function oi(e,t){if(!je)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 s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function He(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,s=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,s|=r.subtreeFlags&65011712,s|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,s|=r.subtreeFlags,s|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=s,e.childLanes=n,t}function cv(e,t,n){var s=t.pendingProps;switch(So(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return He(t),null;case 1:return He(t),null;case 3:return n=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),xn(Ie),Xe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Fa(t)?Sn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,No())),He(t),null;case 26:var r=t.type,u=t.memoizedState;return e===null?(Sn(t),u!==null?(He(t),$h(t,u)):(He(t),hc(t,r,null,s,n))):u?u!==e.memoizedState?(Sn(t),He(t),$h(t,u)):(He(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&Sn(t),He(t),hc(t,r,e,s,n)),null;case 27:if(Ms(t),n=fe.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Sn(t);
vendor: 6,500 bytes, line 48
48else{if(!s){if(t.stateNode===null)throw Error(l(166));return He(t),null}e=W.current,Fa(t)?Rf(t):(e=lp(r,s,n),t.stateNode=e,Sn(t))}return He(t),null;case 5:if(Ms(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Sn(t);else{if(!s){if(t.stateNode===null)throw Error(l(166));return He(t),null}if(u=W.current,Fa(t))Rf(t);else{var h=Jl(fe.current);switch(u){case 1:u=h.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:u=h.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":u=h.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":u=h.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":u=h.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof s.is=="string"?h.createElement("select",{is:s.is}):h.createElement("select"),s.multiple?u.multiple=!0:s.size&&(u.size=s.size);break;default:u=typeof s.is=="string"?h.createElement(r,{is:s.is}):h.createElement(r)}}u[rt]=t,u[yt]=s;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)u.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=u;e:switch(dt(u,r,s),r){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&Sn(t)}}return He(t),hc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&Sn(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error(l(166));if(e=fe.current,Fa(t)){if(e=t.stateNode,n=t.memoizedProps,s=null,r=ot,r!==null)switch(r.tag){case 27:case 5:s=r.memoizedProps}e[rt]=t,e=!!(e.nodeValue===n||s!==null&&s.suppressHydrationWarning===!0||Jm(e.nodeValue,n)),e||Vn(t,!0)}else e=Jl(e).createTextNode(s),e[rt]=t,t.stateNode=e}return He(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(s=Fa(t),n!==null){if(e===null){if(!s)throw Error(l(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(557));e[rt]=t}else ma(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;He(t),e=!1}else n=No(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Ct(t),t):(Ct(t),null);if((t.flags&128)!==0)throw Error(l(558))}return He(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Fa(t),s!==null&&s.dehydrated!==null){if(e===null){if(!r)throw Error(l(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(l(317));r[rt]=t}else ma(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;He(t),r=!1}else r=No(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(Ct(t),t):(Ct(t),null)}return Ct(t),(t.flags&128)!==0?(t.lanes=n,t):(n=s!==null,e=e!==null&&e.memoizedState!==null,n&&(s=t.child,r=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(r=s.alternate.memoizedState.cachePool.pool),u=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(u=s.memoizedState.cachePool.pool),u!==r&&(s.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),zl(t,t.updateQueue),He(t),null);case 4:return Xe(),e===null&&_c(t.stateNode.containerInfo),He(t),null;case 10:return xn(t.type),He(t),null;case 19:if(U(Je),s=t.memoizedState,s===null)return He(t),null;if(r=(t.flags&128)!==0,u=s.rendering,u===null)if(r)oi(s,!1);else{if(Qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Sl(e),u!==null){for(t.flags|=128,oi(s,!1),e=u.updateQueue,t.updateQueue=e,zl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ef(n,e),n=n.sibling;return J(Je,Je.current&1|2),je&&pn(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&Pe()>Ul&&(t.flags|=128,r=!0,oi(s,!1),t.lanes=4194304)}else{if(!r)if(e=Sl(u),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,zl(t,e),oi(s,!0),s.tail===null&&s.tailMode==="hidden"&&!u.alternate&&!je)return He(t),null}else 2*Pe()-s.renderingStartTime>Ul&&n!==536870912&&(t.flags|=128,r=!0,oi(s,!1),t.lanes=4194304);s.isBackwards?(u.sibling=t.child,t.child=u):(e=s.last,e!==null?e.sibling=u:t.child=u,s.last=u)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=Pe(),e.sibling=null,n=Je.current,J(Je,r?n&1|2:n&1),je&&pn(t,s.treeForkCount),e):(He(t),null);case 22:case 23:return Ct(t),Vo(),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(n&536870912)!==0&&(t.flags&128)===0&&(He(t),t.subtreeFlags&6&&(t.flags|=8192)):He(t),n=t.updateQueue,n!==null&&zl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==n&&(t.flags|=2048),e!==null&&U(xa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),xn(Ie),He(t),null;case 25:return null;case 30:return null}throw Error(l(156,t.tag))}function uv(e,t){switch(So(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xn(Ie),Xe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ms(t),null;case 31:if(t.memoizedState!==null){if(Ct(t),t.alternate===null)throw Error(l(340));ma()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ct(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(l(340));ma()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(Je),null;case 4:return Xe(),null;case 10:return xn(t.type),null;case 22:case 23:return Ct(t),Vo(),e!==null&&U(xa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return xn(Ie),null;case 25:return null;default:return null}}function em(e,t){switch(So(t),t.tag){case 3:xn(Ie),Xe();break;case 26:case 27:case 5:Ms(t);break;case 4:Xe();break;case 31:t.memoizedState!==null&&Ct(t);break;case 13:Ct(t);break;case 19:U(Je);break;case 10:xn(t.type);break;case 22:case 23:Ct(t),Vo(),e!==null&&U(xa);break;case 24:xn(Ie)}}function ci(e,t){try{var n=t.updateQueue,s=n!==null?n.lastEffect:null;if(s!==null){var r=s.next;n=r;do{if((n.tag&e)===e){s=void 0;var u=n.create,h=n.inst;s=u(),h.destroy=s}n=n.next}while(n!==r)}}catch(y){ke(t,t.return,y)}}
vendor: 18,953 bytes, line 48
48function Yn(e,t,n){try{var s=t.updateQueue,r=s!==null?s.lastEffect:null;if(r!==null){var u=r.next;s=u;do{if((s.tag&e)===e){var h=s.inst,y=h.destroy;if(y!==void 0){h.destroy=void 0,r=t;var j=n,D=y;try{D()}catch(V){ke(r,j,V)}}}s=s.next}while(s!==u)}}catch(V){ke(t,t.return,V)}}function tm(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Pf(t,n)}catch(s){ke(e,e.return,s)}}}function nm(e,t,n){n.props=ja(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(s){ke(e,t,s)}}function ui(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}typeof n=="function"?e.refCleanup=n(s):n.current=s}}catch(r){ke(e,t,r)}}function nn(e,t){var n=e.ref,s=e.refCleanup;if(n!==null)if(typeof s=="function")try{s()}catch(r){ke(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function am(e){var t=e.type,n=e.memoizedProps,s=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&s.focus();break e;case"img":n.src?s.src=n.src:n.srcSet&&(s.srcset=n.srcSet)}}catch(r){ke(e,e.return,r)}}function mc(e,t,n){try{var s=e.stateNode;Rv(s,e.type,n,t),s[yt]=t}catch(r){ke(e,e.return,r)}}function sm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Fn(e.type)||e.tag===4}function pc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sm(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&&Fn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function gc(e,t,n){var s=e.tag;if(s===5||s===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=fn));else if(s!==4&&(s===27&&Fn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(gc(e,t,n),e=e.sibling;e!==null;)gc(e,t,n),e=e.sibling}function _l(e,t,n){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(s!==4&&(s===27&&Fn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(_l(e,t,n),e=e.sibling;e!==null;)_l(e,t,n),e=e.sibling}function im(e){var t=e.stateNode,n=e.memoizedProps;try{for(var s=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);dt(t,s,n),t[rt]=e,t[yt]=n}catch(u){ke(e,e.return,u)}}var jn=!1,et=!1,xc=!1,lm=typeof WeakSet=="function"?WeakSet:Set,lt=null;function dv(e,t){if(e=e.containerInfo,Lc=nr,e=yf(e),co(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var s=n.getSelection&&n.getSelection();if(s&&s.rangeCount!==0){n=s.anchorNode;var r=s.anchorOffset,u=s.focusNode;s=s.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var h=0,y=-1,j=-1,D=0,V=0,q=e,k=null;t:for(;;){for(var _;q!==n||r!==0&&q.nodeType!==3||(y=h+r),q!==u||s!==0&&q.nodeType!==3||(j=h+s),q.nodeType===3&&(h+=q.nodeValue.length),(_=q.firstChild)!==null;)k=q,q=_;for(;;){if(q===e)break t;if(k===n&&++D===r&&(y=h),k===u&&++V===s&&(j=h),(_=q.nextSibling)!==null)break;q=k,k=q.parentNode}q=_}n=y===-1||j===-1?null:{start:y,end:j}}else n=null}n=n||{start:0,end:0}}else n=null;for(Uc={focusedElem:e,selectionRange:n},nr=!1,lt=t;lt!==null;)if(t=lt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,lt=e;else for(;lt!==null;){switch(t=lt,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)r=e[n],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,n=t,r=u.memoizedProps,u=u.memoizedState,s=n.stateNode;try{var $=ja(n.type,r);e=s.getSnapshotBeforeUpdate($,u),s.__reactInternalSnapshotBeforeUpdate=e}catch(ie){ke(n,n.return,ie)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)qc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":qc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(l(163))}if(e=t.sibling,e!==null){e.return=t.return,lt=e;break}lt=t.return}}function rm(e,t,n){var s=n.flags;switch(n.tag){case 0:case 11:case 15:Tn(e,n),s&4&&ci(5,n);break;case 1:if(Tn(e,n),s&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(h){ke(n,n.return,h)}else{var r=ja(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(h){ke(n,n.return,h)}}s&64&&tm(n),s&512&&ui(n,n.return);break;case 3:if(Tn(e,n),s&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{Pf(e,t)}catch(h){ke(n,n.return,h)}}break;case 27:t===null&&s&4&&im(n);case 26:case 5:Tn(e,n),t===null&&s&4&&am(n),s&512&&ui(n,n.return);break;case 12:Tn(e,n);break;case 31:Tn(e,n),s&4&&um(e,n);break;case 13:Tn(e,n),s&4&&dm(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=bv.bind(null,n),Hv(e,n))));break;case 22:if(s=n.memoizedState!==null||jn,!s){t=t!==null&&t.memoizedState!==null||et,r=jn;var u=et;jn=s,(et=t)&&!u?An(e,n,(n.subtreeFlags&8772)!==0):Tn(e,n),jn=r,et=u}break;case 30:break;default:Tn(e,n)}}function om(e){var t=e.alternate;t!==null&&(e.alternate=null,om(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Kr(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 Ye=null,bt=!1;function Nn(e,t,n){for(n=n.child;n!==null;)cm(e,t,n),n=n.sibling}function cm(e,t,n){if(he&&typeof he.onCommitFiberUnmount=="function")try{he.onCommitFiberUnmount(ce,n)}catch{}switch(n.tag){case 26:et||nn(n,t),Nn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:et||nn(n,t);var s=Ye,r=bt;Fn(n.type)&&(Ye=n.stateNode,bt=!1),Nn(e,t,n),vi(n.stateNode),Ye=s,bt=r;break;case 5:et||nn(n,t);case 6:if(s=Ye,r=bt,Ye=null,Nn(e,t,n),Ye=s,bt=r,Ye!==null)if(bt)try{(Ye.nodeType===9?Ye.body:Ye.nodeName==="HTML"?Ye.ownerDocument.body:Ye).removeChild(n.stateNode)}catch(u){ke(n,t,u)}else try{Ye.removeChild(n.stateNode)}catch(u){ke(n,t,u)}break;case 18:Ye!==null&&(bt?(e=Ye,tp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),xs(e)):tp(Ye,n.stateNode));break;case 4:s=Ye,r=bt,Ye=n.stateNode.containerInfo,bt=!0,Nn(e,t,n),Ye=s,bt=r;break;case 0:case 11:case 14:case 15:Yn(2,n,t),et||Yn(4,n,t),Nn(e,t,n);break;case 1:et||(nn(n,t),s=n.stateNode,typeof s.componentWillUnmount=="function"&&nm(n,t,s)),Nn(e,t,n);break;case 21:Nn(e,t,n);break;case 22:et=(s=et)||n.memoizedState!==null,Nn(e,t,n),et=s;break;default:Nn(e,t,n)}}function um(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{xs(e)}catch(n){ke(t,t.return,n)}}}function dm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xs(e)}catch(n){ke(t,t.return,n)}}function fv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new lm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new lm),t;default:throw Error(l(435,e.tag))}}function Vl(e,t){var n=fv(e);t.forEach(function(s){if(!n.has(s)){n.add(s);var r=Sv.bind(null,e,s);s.then(r,r)}})}function St(e,t){var n=t.deletions;if(n!==null)for(var s=0;s<n.length;s++){var r=n[s],u=e,h=t,y=h;e:for(;y!==null;){switch(y.tag){case 27:if(Fn(y.type)){Ye=y.stateNode,bt=!1;break e}break;case 5:Ye=y.stateNode,bt=!1;break e;case 3:case 4:Ye=y.stateNode.containerInfo,bt=!0;break e}y=y.return}if(Ye===null)throw Error(l(160));cm(u,h,r),Ye=null,bt=!1,u=r.alternate,u!==null&&(u.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)fm(t,e),t=t.sibling}var Jt=null;function fm(e,t){var n=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:St(t,e),jt(e),s&4&&(Yn(3,e,e.return),ci(3,e),Yn(5,e,e.return));break;case 1:St(t,e),jt(e),s&512&&(et||n===null||nn(n,n.return)),s&64&&jn&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?s:n.concat(s))));break;case 26:var r=Jt;if(St(t,e),jt(e),s&512&&(et||n===null||nn(n,n.return)),s&4){var u=n!==null?n.memoizedState:null;if(s=e.memoizedState,n===null)if(s===null)if(e.stateNode===null){e:{s=e.type,n=e.memoizedProps,r=r.ownerDocument||r;t:switch(s){case"title":u=r.getElementsByTagName("title")[0],(!u||u[Bs]||u[rt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=r.createElement(s),r.head.insertBefore(u,r.querySelector("head > title"))),dt(u,s,n),u[rt]=e,it(u),s=u;break e;case"link":var h=fp("link","href",r).get(s+(n.href||""));if(h){for(var y=0;y<h.length;y++)if(u=h[y],u.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&u.getAttribute("rel")===(n.rel==null?null:n.rel)&&u.getAttribute("title")===(n.title==null?null:n.title)&&u.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){h.splice(y,1);break t}}u=r.createElement(s),dt(u,s,n),r.head.appendChild(u);break;case"meta":if(h=fp("meta","content",r).get(s+(n.content||""))){for(y=0;y<h.length;y++)if(u=h[y],u.getAttribute("content")===(n.content==null?null:""+n.content)&&u.getAttribute("name")===(n.name==null?null:n.name)&&u.getAttribute("property")===(n.property==null?null:n.property)&&u.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&u.getAttribute("charset")===(n.charSet==null?null:n.charSet)){h.splice(y,1);break t}}u=r.createElement(s),dt(u,s,n),r.head.appendChild(u);break;default:throw Error(l(468,s))}u[rt]=e,it(u),s=u}e.stateNode=s}else hp(r,e.type,e.stateNode);else e.stateNode=dp(r,s,e.memoizedProps);else u!==s?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,s===null?hp(r,e.type,e.stateNode):dp(r,s,e.memoizedProps)):s===null&&e.stateNode!==null&&mc(e,e.memoizedProps,n.memoizedProps)}break;case 27:St(t,e),jt(e),s&512&&(et||n===null||nn(n,n.return)),n!==null&&s&4&&mc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(St(t,e),jt(e),s&512&&(et||n===null||nn(n,n.return)),e.flags&32){r=e.stateNode;try{Ha(r,"")}catch($){ke(e,e.return,$)}}s&4&&e.stateNode!=null&&(r=e.memoizedProps,mc(e,r,n!==null?n.memoizedProps:r)),s&1024&&(xc=!0);break;case 6:if(St(t,e),jt(e),s&4){if(e.stateNode===null)throw Error(l(162));s=e.memoizedProps,n=e.stateNode;try{n.nodeValue=s}catch($){ke(e,e.return,$)}}break;case 3:if(Wl=null,r=Jt,Jt=Fl(t.containerInfo),St(t,e),Jt=r,jt(e),s&4&&n!==null&&n.memoizedState.isDehydrated)try{xs(t.containerInfo)}catch($){ke(e,e.return,$)}xc&&(xc=!1,hm(e));break;case 4:s=Jt,Jt=Fl(e.stateNode.containerInfo),St(t,e),jt(e),Jt=s;break;case 12:St(t,e),jt(e);break;case 31:St(t,e),jt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Vl(e,s)));break;case 13:St(t,e),jt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Ll=Pe()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Vl(e,s)));break;case 22:r=e.memoizedState!==null;var j=n!==null&&n.memoizedState!==null,D=jn,V=et;if(jn=D||r,et=V||j,St(t,e),et=V,jn=D,jt(e),s&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(n===null||j||jn||et||Na(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){j=n=t;try{if(u=j.stateNode,r)h=u.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none";else{y=j.stateNode;var q=j.memoizedProps.style,k=q!=null&&q.hasOwnProperty("display")?q.display:null;y.style.display=k==null||typeof k=="boolean"?"":(""+k).trim()}}catch($){ke(j,j.return,$)}}}else if(t.tag===6){if(n===null){j=t;try{j.stateNode.nodeValue=r?"":j.memoizedProps}catch($){ke(j,j.return,$)}}}else if(t.tag===18){if(n===null){j=t;try{var _=j.stateNode;r?np(_,!0):np(j.stateNode,!1)}catch($){ke(j,j.return,$)}}}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 e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(n=s.retryQueue,n!==null&&(s.retryQueue=null,Vl(e,n))));break;case 19:St(t,e),jt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Vl(e,s)));break;case 30:break;case 21:break;default:St(t,e),jt(e)}}function jt(e){var t=e.flags;if(t&2){try{for(var n,s=e.return;s!==null;){if(sm(s)){n=s;break}s=s.return}if(n==null)throw Error(l(160));switch(n.tag){case 27:var r=n.stateNode,u=pc(e);_l(e,u,r);break;case 5:var h=n.stateNode;n.flags&32&&(Ha(h,""),n.flags&=-33);var y=pc(e);_l(e,y,h);break;case 3:case 4:var j=n.stateNode.containerInfo,D=pc(e);gc(e,D,j);break;default:throw Error(l(161))}}catch(V){ke(e,e.return,V)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;hm(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Tn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)rm(e,t.alternate,t),t=t.sibling}function Na(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Yn(4,t,t.return),Na(t);break;case 1:nn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&nm(t,t.return,n),Na(t);break;case 27:vi(t.stateNode);case 26:case 5:nn(t,t.return),Na(t);break;case 22:t.memoizedState===null&&Na(t);break;case 30:Na(t);break;default:Na(t)}e=e.sibling}}function An(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var s=t.alternate,r=e,u=t,h=u.flags;switch(u.tag){case 0:case 11:case 15:An(r,u,n),ci(4,u);break;case 1:if(An(r,u,n),s=u,r=s.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(D){ke(s,s.return,D)}if(s=u,r=s.updateQueue,r!==null){var y=s.stateNode;try{var j=r.shared.hiddenCallbacks;if(j!==null)for(r.shared.hiddenCallbacks=null,r=0;r<j.length;r++)Xf(j[r],y)}catch(D){ke(s,s.return,D)}}n&&h&64&&tm(u),ui(u,u.return);break;case 27:im(u);case 26:case 5:An(r,u,n),n&&s===null&&h&4&&am(u),ui(u,u.return);break;case 12:An(r,u,n);break;case 31:An(r,u,n),n&&h&4&&um(r,u);break;case 13:An(r,u,n),n&&h&4&&dm(r,u);break;case 22:u.memoizedState===null&&An(r,u,n),ui(u,u.return);break;case 30:break;default:An(r,u,n)}t=t.sibling}}function yc(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&&Fs(n))}function vc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Fs(e))}function Ft(e,t,n,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)mm(e,t,n,s),t=t.sibling}function mm(e,t,n,s){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Ft(e,t,n,s),r&2048&&ci(9,t);break;case 1:Ft(e,t,n,s);break;case 3:Ft(e,t,n,s),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Fs(e)));break;case 12:if(r&2048){Ft(e,t,n,s),e=t.stateNode;try{var u=t.memoizedProps,h=u.id,y=u.onPostCommit;typeof y=="function"&&y(h,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(j){ke(t,t.return,j)}}else Ft(e,t,n,s);break;case 31:Ft(e,t,n,s);break;case 13:Ft(e,t,n,s);break;case 23:break;case 22:u=t.stateNode,h=t.alternate,t.memoizedState!==null?u._visibility&2?Ft(e,t,n,s):di(e,t):u._visibility&2?Ft(e,t,n,s):(u._visibility|=2,ls(e,t,n,s,(t.subtreeFlags&10256)!==0||!1)),r&2048&&yc(h,t);break;case 24:Ft(e,t,n,s),r&2048&&vc(t.alternate,t);break;default:Ft(e,t,n,s)}}function ls(e,t,n,s,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,h=t,y=n,j=s,D=h.flags;switch(h.tag){case 0:case 11:case 15:ls(u,h,y,j,r),ci(8,h);break;case 23:break;case 22:var V=h.stateNode;h.memoizedState!==null?V._visibility&2?ls(u,h,y,j,r):di(u,h):(V._visibility|=2,ls(u,h,y,j,r)),r&&D&2048&&yc(h.alternate,h);break;case 24:ls(u,h,y,j,r),r&&D&2048&&vc(h.alternate,h);break;default:ls(u,h,y,j,r)}t=t.sibling}}function di(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,s=t,r=s.flags;switch(s.tag){case 22:di(n,s),r&2048&&yc(s.alternate,s);break;case 24:di(n,s),r&2048&&vc(s.alternate,s);break;default:di(n,s)}t=t.sibling}}var fi=8192;function rs(e,t,n){if(e.subtreeFlags&fi)for(e=e.child;e!==null;)pm(e,t,n),e=e.sibling}function pm(e,t,n){switch(e.tag){case 26:rs(e,t,n),e.flags&fi&&e.memoizedState!==null&&Wv(n,Jt,e.memoizedState,e.memoizedProps);break;case 5:rs(e,t,n);break;case 3:case 4:var s=Jt;Jt=Fl(e.stateNode.containerInfo),rs(e,t,n),Jt=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=fi,fi=16777216,rs(e,t,n),fi=s):rs(e,t,n));break;default:rs(e,t,n)}}function gm(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 hi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var s=t[n];lt=s,ym(s,e)}gm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)xm(e),e=e.sibling}function xm(e){switch(e.tag){case 0:case 11:case 15:hi(e),e.flags&2048&&Yn(9,e,e.return);break;case 3:hi(e);break;case 12:hi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Bl(e)):hi(e);break;default:hi(e)}}function Bl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var s=t[n];lt=s,ym(s,e)}gm(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Yn(8,t,t.return),Bl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Bl(t));break;default:Bl(t)}e=e.sibling}}function ym(e,t){for(;lt!==null;){var n=lt;switch(n.tag){case 0:case 11:case 15:Yn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var s=n.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:Fs(n.memoizedState.cache)}if(s=n.child,s!==null)s.return=n,lt=s;else e:for(n=e;lt!==null;){s=lt;var r=s.sibling,u=s.return;if(om(s),s===n){lt=null;break e}if(r!==null){r.return=u,lt=r;break e}lt=u}}}var hv={getCacheForType:function(e){var t=ct(Ie),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ct(Ie).controller.signal}},mv=typeof WeakMap=="function"?WeakMap:Map,Ee=0,_e=null,xe=null,be=0,De=0,Dt=null,Xn=!1,os=!1,bc=!1,wn=0,Qe=0,Pn=0,Ta=0,Sc=0,kt=0,cs=0,mi=null,Nt=null,jc=!1,Ll=0,vm=0,Ul=1/0,Hl=null,Kn=null,nt=0,Qn=null,us=null,En=0,Nc=0,Tc=null,bm=null,pi=0,Ac=null;function Rt(){return(Ee&2)!==0&&be!==0?be&-be:O.T!==null?kc():_d()}
vendor: 4,168 bytes, line 48
48function Sm(){if(kt===0)if((be&536870912)===0||je){var e=Zi;Zi<<=1,(Zi&3932160)===0&&(Zi=262144),kt=e}else kt=536870912;return e=Mt.current,e!==null&&(e.flags|=32),kt}function Tt(e,t,n){(e===_e&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(ds(e,0),Zn(e,be,kt,!1)),Vs(e,n),((Ee&2)===0||e!==_e)&&(e===_e&&((Ee&2)===0&&(Ta|=n),Qe===4&&Zn(e,be,kt,!1)),an(e))}function jm(e,t,n){if((Ee&6)!==0)throw Error(l(327));var s=!n&&(t&127)===0&&(t&e.expiredLanes)===0||_s(e,t),r=s?xv(e,t):Ec(e,t,!0),u=s;do{if(r===0){os&&!s&&Zn(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!pv(n)){r=Ec(e,t,!1),u=!1;continue}if(r===2){if(u=t,e.errorRecoveryDisabledLanes&u)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){t=h;e:{var y=e;r=mi;var j=y.current.memoizedState.isDehydrated;if(j&&(ds(y,h).flags|=256),h=Ec(y,h,!1),h!==2){if(bc&&!j){y.errorRecoveryDisabledLanes|=u,Ta|=u,r=4;break e}u=Nt,Nt=r,u!==null&&(Nt===null?Nt=u:Nt.push.apply(Nt,u))}r=h}if(u=!1,r!==2)continue}}if(r===1){ds(e,0),Zn(e,t,0,!0);break}e:{switch(s=e,u=r,u){case 0:case 1:throw Error(l(345));case 4:if((t&4194048)!==t)break;case 6:Zn(s,t,kt,!Xn);break e;case 2:Nt=null;break;case 3:case 5:break;default:throw Error(l(329))}if((t&62914560)===t&&(r=Ll+300-Pe(),10<r)){if(Zn(s,t,kt,!Xn),Fi(s,0,!0)!==0)break e;En=t,s.timeoutHandle=$m(Nm.bind(null,s,n,Nt,Hl,jc,t,kt,Ta,cs,Xn,u,"Throttled",-0,0),r);break e}Nm(s,n,Nt,Hl,jc,t,kt,Ta,cs,Xn,u,null,-0,0)}}break}while(!0);an(e)}function Nm(e,t,n,s,r,u,h,y,j,D,V,q,k,_){if(e.timeoutHandle=-1,q=t.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:fn},pm(t,u,q);var $=(u&62914560)===u?Ll-Pe():(u&4194048)===u?vm-Pe():0;if($=$v(q,$),$!==null){En=u,e.cancelPendingCommit=$(km.bind(null,e,t,u,n,s,r,h,y,j,V,q,null,k,_)),Zn(e,u,h,!D);return}}km(e,t,u,n,s,r,h,y,j)}function pv(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 s=0;s<n.length;s++){var r=n[s],u=r.getSnapshot;r=r.value;try{if(!wt(u(),r))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 Zn(e,t,n,s){t&=~Sc,t&=~Ta,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var r=t;0<r;){var u=31-Ne(r),h=1<<u;s[u]=-1,r&=~h}n!==0&&Rd(e,n,t)}function Gl(){return(Ee&6)===0?(gi(0),!1):!0}function wc(){if(xe!==null){if(De===0)var e=xe.return;else e=xe,gn=pa=null,qo(e),ts=null,Ws=0,e=xe;for(;e!==null;)em(e.alternate,e),e=e.return;xe=null}}function ds(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,_v(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),En=0,wc(),_e=e,xe=n=mn(e.current,null),be=t,De=0,Dt=null,Xn=!1,os=_s(e,t),bc=!1,cs=kt=Sc=Ta=Pn=Qe=0,Nt=mi=null,jc=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var r=31-Ne(s),u=1<<r;t|=e[r],s&=~u}return wn=t,ol(),n}function Tm(e,t){me=null,O.H=li,t===es||t===gl?(t=Hf(),De=3):t===Do?(t=Hf(),De=4):De=t===sc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Dt=t,xe===null&&(Qe=1,Dl(e,Lt(t,e.current)))}function Am(){var e=Mt.current;return e===null?!0:(be&4194048)===be?qt===null:(be&62914560)===be||(be&536870912)!==0?e===qt:!1}function wm(){var e=O.H;return O.H=li,e===null?li:e}function Em(){var e=O.A;return O.A=hv,e}function ql(){Qe=4,Xn||(be&4194048)!==be&&Mt.current!==null||(os=!0),(Pn&134217727)===0&&(Ta&134217727)===0||_e===null||Zn(_e,be,kt,!1)}function Ec(e,t,n){var s=Ee;Ee|=2;var r=wm(),u=Em();(_e!==e||be!==t)&&(Hl=null,ds(e,t)),t=!1;var h=Qe;e:do try{if(De!==0&&xe!==null){var y=xe,j=Dt;switch(De){case 8:wc(),h=6;break e;case 3:case 2:case 9:case 6:Mt.current===null&&(t=!0);var D=De;if(De=0,Dt=null,fs(e,y,j,D),n&&os){h=0;break e}break;default:D=De,De=0,Dt=null,fs(e,y,j,D)}}gv(),h=Qe;break}catch(V){Tm(e,V)}while(!0);return t&&e.shellSuspendCounter++,gn=pa=null,Ee=s,O.H=r,O.A=u,xe===null&&(_e=null,be=0,ol()),h}
vendor: 4,361 bytes, line 48
48function gv(){for(;xe!==null;)Mm(xe)}function xv(e,t){var n=Ee;Ee|=2;var s=wm(),r=Em();_e!==e||be!==t?(Hl=null,Ul=Pe()+500,ds(e,t)):os=_s(e,t);e:do try{if(De!==0&&xe!==null){t=xe;var u=Dt;t:switch(De){case 1:De=0,Dt=null,fs(e,t,u,1);break;case 2:case 9:if(Lf(u)){De=0,Dt=null,Cm(t);break}t=function(){De!==2&&De!==9||_e!==e||(De=7),an(e)},u.then(t,t);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:Lf(u)?(De=0,Dt=null,Cm(t)):(De=0,Dt=null,fs(e,t,u,7));break;case 5:var h=null;switch(xe.tag){case 26:h=xe.memoizedState;case 5:case 27:var y=xe;if(h?mp(h):y.stateNode.complete){De=0,Dt=null;var j=y.sibling;if(j!==null)xe=j;else{var D=y.return;D!==null?(xe=D,Yl(D)):xe=null}break t}}De=0,Dt=null,fs(e,t,u,5);break;case 6:De=0,Dt=null,fs(e,t,u,6);break;case 8:wc(),Qe=6;break e;default:throw Error(l(462))}}yv();break}catch(V){Tm(e,V)}while(!0);return gn=pa=null,O.H=s,O.A=r,Ee=n,xe!==null?0:(_e=null,be=0,ol(),Qe)}function yv(){for(;xe!==null&&!Lr();)Mm(xe)}function Mm(e){var t=Wh(e.alternate,e,wn);e.memoizedProps=e.pendingProps,t===null?Yl(e):xe=t}function Cm(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Kh(n,t,t.pendingProps,t.type,void 0,be);break;case 11:t=Kh(n,t,t.pendingProps,t.type.render,t.ref,be);break;case 5:qo(t);default:em(n,t),t=xe=Ef(t,wn),t=Wh(n,t,wn)}e.memoizedProps=e.pendingProps,t===null?Yl(e):xe=t}function fs(e,t,n,s){gn=pa=null,qo(t),ts=null,Ws=0;var r=t.return;try{if(lv(e,r,t,n,be)){Qe=1,Dl(e,Lt(n,e.current)),xe=null;return}}catch(u){if(r!==null)throw xe=r,u;Qe=1,Dl(e,Lt(n,e.current)),xe=null;return}t.flags&32768?(je||s===1?e=!0:os||(be&536870912)!==0?e=!1:(Xn=e=!0,(s===2||s===9||s===3||s===6)&&(s=Mt.current,s!==null&&s.tag===13&&(s.flags|=16384))),Dm(t,e)):Yl(t)}function Yl(e){var t=e;do{if((t.flags&32768)!==0){Dm(t,Xn);return}e=t.return;var n=cv(t.alternate,t,wn);if(n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);Qe===0&&(Qe=5)}function Dm(e,t){do{var n=uv(e.alternate,e);if(n!==null){n.flags&=32767,xe=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){xe=e;return}xe=e=n}while(e!==null);Qe=6,xe=null}function km(e,t,n,s,r,u,h,y,j){e.cancelPendingCommit=null;do Xl();while(nt!==0);if((Ee&6)!==0)throw Error(l(327));if(t!==null){if(t===e.current)throw Error(l(177));if(u=t.lanes|t.childLanes,u|=po,Ix(e,n,u,h,y,j),e===_e&&(xe=_e=null,be=0),us=t,Qn=e,En=n,Nc=u,Tc=r,bm=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,jv(Oa,function(){return Vm(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=O.T,O.T=null,r=Q.p,Q.p=2,h=Ee,Ee|=4;try{dv(e,t,n)}finally{Ee=h,Q.p=r,O.T=s}}nt=1,Rm(),Om(),zm()}}function Rm(){if(nt===1){nt=0;var e=Qn,t=us,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=O.T,O.T=null;var s=Q.p;Q.p=2;var r=Ee;Ee|=4;try{fm(t,e);var u=Uc,h=yf(e.containerInfo),y=u.focusedElem,j=u.selectionRange;if(h!==y&&y&&y.ownerDocument&&xf(y.ownerDocument.documentElement,y)){if(j!==null&&co(y)){var D=j.start,V=j.end;if(V===void 0&&(V=D),"selectionStart"in y)y.selectionStart=D,y.selectionEnd=Math.min(V,y.value.length);else{var q=y.ownerDocument||document,k=q&&q.defaultView||window;if(k.getSelection){var _=k.getSelection(),$=y.textContent.length,ie=Math.min(j.start,$),ze=j.end===void 0?ie:Math.min(j.end,$);!_.extend&&ie>ze&&(h=ze,ze=ie,ie=h);var A=gf(y,ie),T=gf(y,ze);if(A&&T&&(_.rangeCount!==1||_.anchorNode!==A.node||_.anchorOffset!==A.offset||_.focusNode!==T.node||_.focusOffset!==T.offset)){var C=q.createRange();C.setStart(A.node,A.offset),_.removeAllRanges(),ie>ze?(_.addRange(C),_.extend(T.node,T.offset)):(C.setEnd(T.node,T.offset),_.addRange(C))}}}}for(q=[],_=y;_=_.parentNode;)_.nodeType===1&&q.push({element:_,left:_.scrollLeft,top:_.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<q.length;y++){var H=q[y];H.element.scrollLeft=H.left,H.element.scrollTop=H.top}}nr=!!Lc,Uc=Lc=null}finally{Ee=r,Q.p=s,O.T=n}}e.current=t,nt=2}}function Om(){if(nt===2){nt=0;var e=Qn,t=us,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=O.T,O.T=null;var s=Q.p;Q.p=2;var r=Ee;Ee|=4;try{rm(e,t.alternate,t)}finally{Ee=r,Q.p=s,O.T=n}}nt=3}}function zm(){if(nt===4||nt===3){nt=0,Rs();var e=Qn,t=us,n=En,s=bm;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?nt=5:(nt=0,us=Qn=null,_m(e,e.pen
vendor: 10,228 bytes, line 48
48dingLanes));var r=e.pendingLanes;if(r===0&&(Kn=null),Xr(n),t=t.stateNode,he&&typeof he.onCommitFiberRoot=="function")try{he.onCommitFiberRoot(ce,t,void 0,(t.current.flags&128)===128)}catch{}if(s!==null){t=O.T,r=Q.p,Q.p=2,O.T=null;try{for(var u=e.onRecoverableError,h=0;h<s.length;h++){var y=s[h];u(y.value,{componentStack:y.stack})}}finally{O.T=t,Q.p=r}}(En&3)!==0&&Xl(),an(e),r=e.pendingLanes,(n&261930)!==0&&(r&42)!==0?e===Ac?pi++:(pi=0,Ac=e):pi=0,gi(0)}}function _m(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Fs(t)))}function Xl(){return Rm(),Om(),zm(),Vm()}function Vm(){if(nt!==5)return!1;var e=Qn,t=Nc;Nc=0;var n=Xr(En),s=O.T,r=Q.p;try{Q.p=32>n?32:n,O.T=null,n=Tc,Tc=null;var u=Qn,h=En;if(nt=0,us=Qn=null,En=0,(Ee&6)!==0)throw Error(l(331));var y=Ee;if(Ee|=4,xm(u.current),mm(u,u.current,h,n),Ee=y,gi(0,!1),he&&typeof he.onPostCommitFiberRoot=="function")try{he.onPostCommitFiberRoot(ce,u)}catch{}return!0}finally{Q.p=r,O.T=s,_m(e,t)}}function Bm(e,t,n){t=Lt(n,t),t=ac(e.stateNode,t,2),e=Hn(e,t,2),e!==null&&(Vs(e,2),an(e))}function ke(e,t,n){if(e.tag===3)Bm(e,e,n);else for(;t!==null;){if(t.tag===3){Bm(t,e,n);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Kn===null||!Kn.has(s))){e=Lt(n,e),n=Lh(2),s=Hn(t,n,2),s!==null&&(Uh(n,s,t,e),Vs(s,2),an(s));break}}t=t.return}}function Mc(e,t,n){var s=e.pingCache;if(s===null){s=e.pingCache=new mv;var r=new Set;s.set(t,r)}else r=s.get(t),r===void 0&&(r=new Set,s.set(t,r));r.has(n)||(bc=!0,r.add(n),e=vv.bind(null,e,t,n),t.then(e,e))}function vv(e,t,n){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,_e===e&&(be&n)===n&&(Qe===4||Qe===3&&(be&62914560)===be&&300>Pe()-Ll?(Ee&2)===0&&ds(e,0):Sc|=n,cs===be&&(cs=0)),an(e)}function Lm(e,t){t===0&&(t=kd()),e=fa(e,t),e!==null&&(Vs(e,t),an(e))}function bv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Lm(e,n)}function Sv(e,t){var n=0;switch(e.tag){case 31:case 13:var s=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(l(314))}s!==null&&s.delete(t),Lm(e,n)}function jv(e,t){return zt(e,t)}var Pl=null,hs=null,Cc=!1,Kl=!1,Dc=!1,Jn=0;function an(e){e!==hs&&e.next===null&&(hs===null?Pl=hs=e:hs=hs.next=e),Kl=!0,Cc||(Cc=!0,Tv())}function gi(e,t){if(!Dc&&Kl){Dc=!0;do for(var n=!1,s=Pl;s!==null;){if(e!==0){var r=s.pendingLanes;if(r===0)var u=0;else{var h=s.suspendedLanes,y=s.pingedLanes;u=(1<<31-Ne(42|e)+1)-1,u&=r&~(h&~y),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,qm(s,u))}else u=be,u=Fi(s,s===_e?u:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(u&3)===0||_s(s,u)||(n=!0,qm(s,u));s=s.next}while(n);Dc=!1}}function Nv(){Um()}function Um(){Kl=Cc=!1;var e=0;Jn!==0&&zv()&&(e=Jn);for(var t=Pe(),n=null,s=Pl;s!==null;){var r=s.next,u=Hm(s,t);u===0?(s.next=null,n===null?Pl=r:n.next=r,r===null&&(hs=n)):(n=s,(e!==0||(u&3)!==0)&&(Kl=!0)),s=r}nt!==0&&nt!==5||gi(e),Jn!==0&&(Jn=0)}function Hm(e,t){for(var n=e.suspendedLanes,s=e.pingedLanes,r=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var h=31-Ne(u),y=1<<h,j=r[h];j===-1?((y&n)===0||(y&s)!==0)&&(r[h]=Fx(y,t)):j<=t&&(e.expiredLanes|=y),u&=~y}if(t=_e,n=be,n=Fi(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,n===0||e===t&&(De===2||De===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&kn(s),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||_s(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(s!==null&&kn(s),Xr(n)){case 2:case 8:n=zs;break;case 32:n=Oa;break;case 268435456:n=Ki;break;default:n=Oa}return s=Gm.bind(null,e),n=zt(n,s),e.callbackPriority=t,e.callbackNode=n,t}return s!==null&&s!==null&&kn(s),e.callbackPriority=2,e.callbackNode=null,2}function Gm(e,t){if(nt!==0&&nt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Xl()&&e.callbackNode!==n)return null;var s=be;return s=Fi(e,e===_e?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(jm(e,s,t),Hm(e,Pe()),e.callbackNode!=null&&e.callbackNode===n?Gm.bind(null,e):null)}function qm(e,t){if(Xl())return null;jm(e,t,!0)}function Tv(){Vv(function(){(Ee&6)!==0?zt(Os,Nv):Um()})}function kc(){if(Jn===0){var e=Wa;e===0&&(e=Qi,Qi<<=1,(Qi&261888)===0&&(Qi=256)),Jn=e}return Jn}function Ym(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:el(""+e)}function Xm(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 Av(e,t,n,s,r){if(t==="submit"&&n&&n.stateNode===r){var u=Ym((r[yt]||null).action),h=s.submitter;h&&(t=(t=h[yt]||null)?Ym(t.formAction):h.getAttribute("formAction"),t!==null&&(u=t,h=null));var y=new sl("action","action",null,s,r);e.push({event:y,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Jn!==0){var j=h?Xm(r,h):new FormData(r);Io(n,{pending:!0,data:j,method:r.method,action:u},null,j)}}else typeof u=="function"&&(y.preventDefault(),j=h?Xm(r,h):new FormData(r),Io(n,{pending:!0,data:j,method:r.method,action:u},u,j))},currentTarget:r}]})}}for(var Rc=0;Rc<mo.length;Rc++){var Oc=mo[Rc],wv=Oc.toLowerCase(),Ev=Oc[0].toUpperCase()+Oc.slice(1);Zt(wv,"on"+Ev)}Zt(Sf,"onAnimationEnd"),Zt(jf,"onAnimationIteration"),Zt(Nf,"onAnimationStart"),Zt("dblclick","onDoubleClick"),Zt("focusin","onFocus"),Zt("focusout","onBlur"),Zt(Yy,"onTransitionRun"),Zt(Xy,"onTransitionStart"),Zt(Py,"onTransitionCancel"),Zt(Tf,"onTransitionEnd"),La("onMouseEnter",["mouseout","mouseover"]),La("onMouseLeave",["mouseout","mouseover"]),La("onPointerEnter",["pointerout","pointerover"]),La("onPointerLeave",["pointerout","pointerover"]),oa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),oa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),oa("onBeforeInput",["compositionend","keypress","textInput","paste"]),oa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),oa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),oa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xi="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(" "),Mv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xi));function Pm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var s=e[n],r=s.event;s=s.listeners;e:{var u=void 0;if(t)for(var h=s.length-1;0<=h;h--){var y=s[h],j=y.instance,D=y.currentTarget;if(y=y.listener,j!==u&&r.isPropagationStopped())break e;u=y,r.currentTarget=D;try{u(r)}catch(V){rl(V)}r.currentTarget=null,u=j}else for(h=0;h<s.length;h++){if(y=s[h],j=y.instance,D=y.currentTarget,y=y.listener,j!==u&&r.isPropagationStopped())break e;u=y,r.currentTarget=D;try{u(r)}catch(V){rl(V)}r.currentTarget=null,u=j}}}}function ye(e,t){var n=t[Pr];n===void 0&&(n=t[Pr]=new Set);var s=e+"__bubble";n.has(s)||(Km(t,e,2,!1),n.add(s))}function zc(e,t,n){var s=0;t&&(s|=4),Km(n,e,s,t)}var Ql="_reactListening"+Math.random().toString(36).slice(2);function _c(e){if(!e[Ql]){e[Ql]=!0,Ld.forEach(function(n){n!=="selectionchange"&&(Mv.has(n)||zc(n,!1,e),zc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ql]||(t[Ql]=!0,zc("selectionchange",!1,t))}}function Km(e,t,n,s){switch(Sp(t)){case 2:var r=nb;break;case 8:r=ab;break;default:r=Fc}n=r.bind(null,t,n,e),r=void 0,!eo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),s?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Vc(e,t,n,s,r){var u=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var h=s.tag;if(h===3||h===4){var y=s.stateNode.containerInfo;if(y===r)break;if(h===4)for(h=s.return;h!==null;){var j=h.tag;if((j===3||j===4)&&h.stateNode.containerInfo===r)return;h=h.return}for(;y!==null;){if(h=_a(y),h===null)return;if(j=h.tag,j===5||j===6||j===26||j===27){s=u=h;continue e}y=y.parentNode}}s=s.return}Fd(function(){var D=u,V=Wr(n),q=[];e:{var k=Af.get(e);if(k!==void 0){var _=sl,$=e;switch(e){case"keypress":if(nl(n)===0)break e;case"keydown":case"keyup":_=Sy;break;case"focusin":$="focus",_=so;break;case"focusout":$="blur",_=so;break;case"beforeblur":case"afterblur":_=so;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=$d;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=cy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=Ty;break;case Sf:case jf:case Nf:_=fy;break;case Tf:_=wy;break;case"scroll":case"scrollend":_=ry;break;case"wheel":_=My;break;case"copy":case"cut":case"paste":_=my;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=tf;break;case"toggle":case"beforetoggle":_=Dy}var ie=(t&4)!==0,ze=!ie&&(e==="scroll"||e==="scrollend"),A=ie?k!==null?k+"Capture":null:k;ie=[];for(var T=D,C;T!==null;){var H=T;if(C=H.stateNode,H=H.tag,H!==5&&H!==26&&H!==27||C===null||A===null||(H=Us(T,A),H!=null&&ie.push(yi(T,H,C))),ze)break;T=T.return}0<ie.length&&(k=new _(k,$,null,n,V),q.push({event:k,listeners:ie}))}}if((t&7)===0){e:{if(k=e==="mouseover"||e==="pointerover",_=e==="mouseout"||e==="pointerout",k&&n!==Ir&&($=n.relatedTarget||n.fromElement)&&(_a($)||$[za]))break e;if((_||k)&&(k=V.window===V?V:(k=V.ownerDocument)?k.defaultView||k.parentWindow:window,_?($=n.relatedTarget||n.toElement,_=D,$=$?_a($):null,$!==null&&(ze=m($),ie=$.tag,$!==ze||ie!==5&&ie!==27&&ie!==6)&&($=null)):(_=null,$=D),_!==$)){if(ie=$d,H="onMouseLeave",A="onMouseEnter",T="mou
48se",(e==="pointerout"||e==="pointerover")&&(ie=tf,H="onPointerLeave",A="onPointerEnter",T="pointer"),ze=_==null?k:Ls(_),C=$==null?k:Ls($),k=new ie(H,T+"leave",_,n,V),k.target=ze,k.relatedTarget=C,H=null,_a(V)===D&&(ie=new ie(A,T+"enter",$,n,V),ie.target=C,ie.relatedTarget=ze,H=ie),ze=H,_&&$)t:{for(ie=Cv,A=_,T=$,C=0,H=A;H;H=ie(H))C++;H=0;for(var se=T;se;se=ie(se))H++;for(;0<C-H;)A=ie(A),C--;for(;0<H-C;)T=ie(T),H--;for(;C--;){if(A===T||T!==null&&A===T.alternate){ie=A;break t}A=ie(A),T=ie(T)}ie=null}else ie=null;_!==null&&Qm(q,k,_,ie,!1),$!==null&&ze!==null&&Qm(q,ze,$,ie,!0)}}e:{if(k=D?Ls(D):window,_=k.nodeName&&k.nodeName.toLowerCase(),_==="select"||_==="input"&&k.type==="file")var Ae=uf;else if(of(k))if(df)Ae=Hy;else{Ae=Ly;var ne=By}else _=k.nodeName,!_||_.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?D&&Fr(D.elementType)&&(Ae=uf):Ae=Uy;if(Ae&&(Ae=Ae(e,D))){cf(q,Ae,n,V);break e}ne&&ne(e,k,D),e==="focusout"&&D&&k.type==="number"&&D.memoizedProps.value!=null&&Jr(k,"number",k.value)}switch(ne=D?Ls(D):window,e){case"focusin":(of(ne)||ne.contentEditable==="true")&&(Xa=ne,uo=D,Qs=null);break;case"focusout":Qs=uo=Xa=null;break;case"mousedown":fo=!0;break;case"contextmenu":case"mouseup":case"dragend":fo=!1,vf(q,n,V);break;case"selectionchange":if(qy)break;case"keydown":case"keyup":vf(q,n,V)}var pe;if(lo)e:{switch(e){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}else Ya?lf(e,n)&&(Se="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Se="onCompositionStart");Se&&(nf&&n.locale!=="ko"&&(Ya||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&Ya&&(pe=Id()):(On=V,to="value"in On?On.value:On.textContent,Ya=!0)),ne=Zl(D,Se),0<ne.length&&(Se=new ef(Se,e,null,n,V),q.push({event:Se,listeners:ne}),pe?Se.data=pe:(pe=rf(n),pe!==null&&(Se.data=pe)))),(pe=Ry?Oy(e,n):zy(e,n))&&(Se=Zl(D,"onBeforeInput"),0<Se.length&&(ne=new ef("onBeforeInput","beforeinput",null,n,V),q.push({event:ne,listeners:Se}),ne.data=pe)),Av(q,e,D,n,V)}Pm(q,t)})}function yi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Zl(e,t){for(var n=t+"Capture",s=[];e!==null;){var r=e,u=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||u===null||(r=Us(e,n),r!=null&&s.unshift(yi(e,r,u)),r=Us(e,t),r!=null&&s.push(yi(e,r,u))),e.tag===3)return s;e=e.return}return[]}function Cv(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Qm(e,t,n,s,r){for(var u=t._reactName,h=[];n!==null&&n!==s;){var y=n,j=y.alternate,D=y.stateNode;if(y=y.tag,j!==null&&j===s)break;y!==5&&y!==26&&y!==27||D===null||(j=D,r?(D=Us(n,u),D!=null&&h.unshift(yi(n,D,j))):r||(D=Us(n,u),D!=null&&h.push(yi(n,D,j)))),n=n.return}h.length!==0&&e.push({event:t,listeners:h})}var Dv=/\r\n?/g,kv=/\u0000|\uFFFD/g;function Zm(e){return(typeof e=="string"?e:""+e).replace(Dv,` 49`).replace(kv,"")}function Jm(e,t){return t=Zm(t),Zm(e)===t}function Oe(e,t,n,s,r,u){switch(n){case"children":typeof s=="string"?t==="body"||t==="textarea"&&s===""||Ha(e,s):(typeof s=="number"||typeof s=="bigint")&&t!=="body"&&Ha(e,""+s);break;case"className":Wi(e,"class",s);break;case"tabIndex":Wi(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Wi(e,n,s);break;case"style":Zd(e,s,u);break;case"data":if(t!=="object"){Wi(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}s=el(""+s),e.setAttribute(n,s);break;case"action":case"formAction":if(typeof s=="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 u=="function"&&(n==="formAction"?(t!=="input"&&Oe(e,t,"name",r.name,r,null),Oe(e,t,"formEncType",r.formEncType,r,null),Oe(e,t,"formMethod",r.formMethod,r,null),Oe(e,t,"formTarget",r.formTarget,r,null)):(Oe(e,t,"encType",r.encType,r,null),Oe(e,t,"method",r.method,r,null),Oe(e,t,"target",r.target,r,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}
vendor: 4,489 bytes, line 49
49s=el(""+s),e.setAttribute(n,s);break;case"onClick":s!=null&&(e.onclick=fn);break;case"onScroll":s!=null&&ye("scroll",e);break;case"onScrollEnd":s!=null&&ye("scrollend",e);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(l(61));if(n=s.__html,n!=null){if(r.children!=null)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}n=el(""+s),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":s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(n,""+s):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":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":s===!0?e.setAttribute(n,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(n,s):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?e.setAttribute(n,s):e.removeAttribute(n);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(n):e.setAttribute(n,s);break;case"popover":ye("beforetoggle",e),ye("toggle",e),Ii(e,"popover",s);break;case"xlinkActuate":dn(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":dn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":dn(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":dn(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":dn(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":dn(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":dn(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":dn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":dn(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Ii(e,"is",s);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=iy.get(n)||n,Ii(e,n,s))}}function Bc(e,t,n,s,r,u){switch(n){case"style":Zd(e,s,u);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(l(61));if(n=s.__html,n!=null){if(r.children!=null)throw Error(l(60));e.innerHTML=n}}break;case"children":typeof s=="string"?Ha(e,s):(typeof s=="number"||typeof s=="bigint")&&Ha(e,""+s);break;case"onScroll":s!=null&&ye("scroll",e);break;case"onScrollEnd":s!=null&&ye("scrollend",e);break;case"onClick":s!=null&&(e.onclick=fn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ud.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),u=e[yt]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,r),typeof s=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,s,r);break e}n in e?e[n]=s:s===!0?e.setAttribute(n,""):Ii(e,n,s)}}}function dt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ye("error",e),ye("load",e);var s=!1,r=!1,u;for(u in n)if(n.hasOwnProperty(u)){var h=n[u];if(h!=null)switch(u){case"src":s=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:Oe(e,t,u,h,n,null)}}r&&Oe(e,t,"srcSet",n.srcSet,n,null),s&&Oe(e,t,"src",n.src,n,null);return;case"input":ye("invalid",e);
vendor: 5,475 bytes, line 49
49var y=u=h=r=null,j=null,D=null;for(s in n)if(n.hasOwnProperty(s)){var V=n[s];if(V!=null)switch(s){case"name":r=V;break;case"type":h=V;break;case"checked":j=V;break;case"defaultChecked":D=V;break;case"value":u=V;break;case"defaultValue":y=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(l(137,t));break;default:Oe(e,t,s,V,n,null)}}Xd(e,u,y,j,D,h,r,!1);return;case"select":ye("invalid",e),s=h=u=null;for(r in n)if(n.hasOwnProperty(r)&&(y=n[r],y!=null))switch(r){case"value":u=y;break;case"defaultValue":h=y;break;case"multiple":s=y;default:Oe(e,t,r,y,n,null)}t=u,n=h,e.multiple=!!s,t!=null?Ua(e,!!s,t,!1):n!=null&&Ua(e,!!s,n,!0);return;case"textarea":ye("invalid",e),u=r=s=null;for(h in n)if(n.hasOwnProperty(h)&&(y=n[h],y!=null))switch(h){case"value":s=y;break;case"defaultValue":r=y;break;case"children":u=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(l(91));break;default:Oe(e,t,h,y,n,null)}Kd(e,s,r,u);return;case"option":for(j in n)if(n.hasOwnProperty(j)&&(s=n[j],s!=null))switch(j){case"selected":e.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Oe(e,t,j,s,n,null)}return;case"dialog":ye("beforetoggle",e),ye("toggle",e),ye("cancel",e),ye("close",e);break;case"iframe":case"object":ye("load",e);break;case"video":case"audio":for(s=0;s<xi.length;s++)ye(xi[s],e);break;case"image":ye("error",e),ye("load",e);break;case"details":ye("toggle",e);break;case"embed":case"source":case"link":ye("error",e),ye("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(D in n)if(n.hasOwnProperty(D)&&(s=n[D],s!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:Oe(e,t,D,s,n,null)}return;default:if(Fr(t)){for(V in n)n.hasOwnProperty(V)&&(s=n[V],s!==void 0&&Bc(e,t,V,s,n,void 0));return}}for(y in n)n.hasOwnProperty(y)&&(s=n[y],s!=null&&Oe(e,t,y,s,n,null))}function Rv(e,t,n,s){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,u=null,h=null,y=null,j=null,D=null,V=null;for(_ in n){var q=n[_];if(n.hasOwnProperty(_)&&q!=null)switch(_){case"checked":break;case"value":break;case"defaultValue":j=q;default:s.hasOwnProperty(_)||Oe(e,t,_,null,s,q)}}for(var k in s){var _=s[k];if(q=n[k],s.hasOwnProperty(k)&&(_!=null||q!=null))switch(k){case"type":u=_;break;case"name":r=_;break;case"checked":D=_;break;case"defaultChecked":V=_;break;case"value":h=_;break;case"defaultValue":y=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(l(137,t));break;default:_!==q&&Oe(e,t,k,_,s,q)}}Zr(e,h,y,j,D,V,u,r);return;case"select":_=h=y=k=null;for(u in n)if(j=n[u],n.hasOwnProperty(u)&&j!=null)switch(u){case"value":break;case"multiple":_=j;default:s.hasOwnProperty(u)||Oe(e,t,u,null,s,j)}for(r in s)if(u=s[r],j=n[r],s.hasOwnProperty(r)&&(u!=null||j!=null))switch(r){case"value":k=u;break;case"defaultValue":y=u;break;case"multiple":h=u;default:u!==j&&Oe(e,t,r,u,s,j)}t=y,n=h,s=_,k!=null?Ua(e,!!n,k,!1):!!s!=!!n&&(t!=null?Ua(e,!!n,t,!0):Ua(e,!!n,n?[]:"",!1));return;case"textarea":_=k=null;for(y in n)if(r=n[y],n.hasOwnProperty(y)&&r!=null&&!s.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Oe(e,t,y,null,s,r)}for(h in s)if(r=s[h],u=n[h],s.hasOwnProperty(h)&&(r!=null||u!=null))switch(h){case"value":k=r;break;case"defaultValue":_=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(l(91));break;default:r!==u&&Oe(e,t,h,r,s,u)}Pd(e,k,_);return;case"option":for(var $ in n)if(k=n[$],n.hasOwnProperty($)&&k!=null&&!s.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:Oe(e,t,$,null,s,k)}for(j in s)if(k=s[j],_=n[j],s.hasOwnProperty(j)&&k!==_&&(k!=null||_!=null))switch(j){case"selected":e.selected=k&&typeof k!="function"&&typeof k!="symbol";break;default:Oe(e,t,j,k,s,_)}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 ie in n)k=n[ie],n.hasOwnProperty(ie)&&k!=null&&!s.hasOwnProperty(ie)&&Oe(e,t,ie,null,s,k);for(D in s)if(k=s[D],_=n[D],s.hasOwnProperty(D)&&k!==_&&(k!=null||_!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(l(137,t));break;default:Oe(e,t,D,k,s,_)}return;default:if(Fr(t)){for(var ze in n)k=n[ze],n.hasOwnProperty(ze)&&k!==void 0&&!s.hasOwnProperty(ze)&&Bc(e,t,ze,void 0,s,k);for(V in s)k=s[V],_=n[V],!s.hasOwnProperty(V)||k===_||k===void 0&&_===void 0||Bc(e,t,V,k,s,_);return}}for(var A in n)k=n[A],n.hasOwnProperty(A)&&k!=null&&!s.hasOwnProperty(A)&&Oe(e,t,A,null,s,k);for(q in s)k=s[q],_=n[q],!s.hasOwnProperty(q)||k===_||k==null&&_==null||Oe(e,t,q,k,s,_)}function Fm(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ov(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),s=0;s<n.length;s++){var r=n[s],u=r.transferSize,h=r.initiatorType,y=r.duration;if(u&&y&&Fm(h)){for(h=0,y=r.responseEnd,s+=1;s<n.length;s++){var j=n[s],D=j.startTime;if(D>y)break;var V=j.transferSize,q=j.initiatorType;V&&Fm(q)&&(j=j.responseEnd,h+=V*(j<y?1:(y-D)/(j-D)))}if(--s,t+=8*(u+h)/(r.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 Lc=null,Uc=null;
vendor: 13,694 bytes, line 49
49function Jl(e){return e.nodeType===9?e:e.ownerDocument}function Im(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 Wm(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 Hc(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 Gc=null;function zv(){var e=window.event;return e&&e.type==="popstate"?e===Gc?!1:(Gc=e,!0):(Gc=null,!1)}var $m=typeof setTimeout=="function"?setTimeout:void 0,_v=typeof clearTimeout=="function"?clearTimeout:void 0,ep=typeof Promise=="function"?Promise:void 0,Vv=typeof queueMicrotask=="function"?queueMicrotask:typeof ep<"u"?function(e){return ep.resolve(null).then(e).catch(Bv)}:$m;function Bv(e){setTimeout(function(){throw e})}function Fn(e){return e==="head"}function tp(e,t){var n=t,s=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(s===0){e.removeChild(r),xs(t);return}s--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")s++;else if(n==="html")vi(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,vi(n);for(var u=n.firstChild;u;){var h=u.nextSibling,y=u.nodeName;u[Bs]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=h}}else n==="body"&&vi(e.ownerDocument.body);n=r}while(n);xs(t)}function np(e,t){var n=e;e=0;do{var s=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||""),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=s}while(n)}function qc(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":qc(n),Kr(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Lv(e,t,n,s){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[Bs])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=Yt(e.nextSibling),e===null)break}return null}function Uv(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Yt(e.nextSibling),e===null))return null;return e}function ap(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Yt(e.nextSibling),e===null))return null;return e}function Yc(e){return e.data==="$?"||e.data==="$~"}function Xc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Hv(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var s=function(){t(),n.removeEventListener("DOMContentLoaded",s)};n.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Yt(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 Pc=null;function sp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Yt(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function ip(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 lp(e,t,n){switch(t=Jl(n),e){case"html":if(e=t.documentElement,!e)throw Error(l(452));return e;case"head":if(e=t.head,!e)throw Error(l(453));return e;case"body":if(e=t.body,!e)throw Error(l(454));return e;default:throw Error(l(451))}}function vi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Kr(e)}var Xt=new Map,rp=new Set;function Fl(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Mn=Q.d;Q.d={f:Gv,r:qv,D:Yv,C:Xv,L:Pv,m:Kv,X:Zv,S:Qv,M:Jv};function Gv(){var e=Mn.f(),t=Gl();return e||t}function qv(e){var t=Va(e);t!==null&&t.tag===5&&t.type==="form"?Th(t):Mn.r(e)}var ms=typeof document>"u"?null:document;function op(e,t,n){var s=ms;if(s&&typeof t=="string"&&t){var r=Vt(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),rp.has(r)||(rp.add(r),e={rel:e,crossOrigin:n,href:t},s.querySelector(r)===null&&(t=s.createElement("link"),dt(t,"link",e),it(t),s.head.appendChild(t)))}}function Yv(e){Mn.D(e),op("dns-prefetch",e,null)}function Xv(e,t){Mn.C(e,t),op("preconnect",e,t)}function Pv(e,t,n){Mn.L(e,t,n);var s=ms;if(s&&e&&t){var r='link[rel="preload"][as="'+Vt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Vt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Vt(n.imageSizes)+'"]')):r+='[href="'+Vt(e)+'"]';var u=r;switch(t){case"style":u=ps(e);break;case"script":u=gs(e)}Xt.has(u)||(e=b({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Xt.set(u,e),s.querySelector(r)!==null||t==="style"&&s.querySelector(bi(u))||t==="script"&&s.querySelector(Si(u))||(t=s.createElement("link"),dt(t,"link",e),it(t),s.head.appendChild(t)))}}function Kv(e,t){Mn.m(e,t);var n=ms;if(n&&e){var s=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Vt(s)+'"][href="'+Vt(e)+'"]',u=r;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=gs(e)}if(!Xt.has(u)&&(e=b({rel:"modulepreload",href:e},t),Xt.set(u,e),n.querySelector(r)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Si(u)))return}s=n.createElement("link"),dt(s,"link",e),it(s),n.head.appendChild(s)}}}function Qv(e,t,n){Mn.S(e,t,n);var s=ms;if(s&&e){var r=Ba(s).hoistableStyles,u=ps(e);t=t||"default";var h=r.get(u);if(!h){var y={loading:0,preload:null};if(h=s.querySelector(bi(u)))y.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Xt.get(u))&&Kc(e,n);var j=h=s.createElement("link");it(j),dt(j,"link",e),j._p=new Promise(function(D,V){j.onload=D,j.onerror=V}),j.addEventListener("load",function(){y.loading|=1}),j.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Il(h,t,s)}h={type:"stylesheet",instance:h,count:1,state:y},r.set(u,h)}}}function Zv(e,t){Mn.X(e,t);var n=ms;if(n&&e){var s=Ba(n).hoistableScripts,r=gs(e),u=s.get(r);u||(u=n.querySelector(Si(r)),u||(e=b({src:e,async:!0},t),(t=Xt.get(r))&&Qc(e,t),u=n.createElement("script"),it(u),dt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},s.set(r,u))}}function Jv(e,t){Mn.M(e,t);var n=ms;if(n&&e){var s=Ba(n).hoistableScripts,r=gs(e),u=s.get(r);u||(u=n.querySelector(Si(r)),u||(e=b({src:e,async:!0,type:"module"},t),(t=Xt.get(r))&&Qc(e,t),u=n.createElement("script"),it(u),dt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},s.set(r,u))}}function cp(e,t,n,s){var r=(r=fe.current)?Fl(r):null;if(!r)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ps(n.href),n=Ba(r).hoistableStyles,s=n.get(t),s||(s={type:"style",instance:null,count:0,state:null},n.set(t,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ps(n.href);var u=Ba(r).hoistableStyles,h=u.get(e);if(h||(r=r.ownerDocument||r,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,h),(u=r.querySelector(bi(e)))&&!u._p&&(h.instance=u,h.state.loading=5),Xt.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},Xt.set(e,n),u||Fv(r,e,n,h.state))),t&&s===null)throw Error(l(528,""));return h}if(t&&s!==null)throw Error(l(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=gs(n),n=Ba(r).hoistableScripts,s=n.get(t),s||(s={type:"script",instance:null,count:0,state:null},n.set(t,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function ps(e){return'href="'+Vt(e)+'"'}function bi(e){return'link[rel="stylesheet"]['+e+"]"}function up(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function Fv(e,t,n,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=1:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=1}),t.addEventListener("error",function(){return s.loading|=2}),dt(t,"link",n),it(t),e.head.appendChild(t))}function gs(e){return'[src="'+Vt(e)+'"]'}function Si(e){return"script[async]"+e}function dp(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Vt(n.href)+'"]');if(s)return t.instance=s,it(s),s;var r=b({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),it(s),dt(s,"style",r),Il(s,n.precedence,e),t.instance=s;case"stylesheet":r=ps(n.href);var u=e.querySelector(bi(r));if(u)return t.state.loading|=4,t.instance=u,it(u),u;s=up(n),(r=Xt.get(r))&&Kc(s,r),u=(e.ownerDocument||e).createElement("link"),it(u);var h=u;return h._p=new Promise(function(y,j){h.onload=y,h.onerror=j}),dt(u,"link",s),t.state.loading|=4,Il(u,n.precedence,e),t.instance=u;case"script":return u=gs(n.src),(r=e.querySelector(Si(u)))?(t.instance=r,it(r),r):(s=n,(r=Xt.get(u))&&(s=b({},n),Qc(s,r)),e=e.ownerDocument||e,r=e.createElement("script"),it(r),dt(r,"link",s),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(l(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(s=t.instance,t.state.loading|=4,Il(s,n.precedence,e));return t.instance}function Il(e,t,n){for(var s=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=s.length?s[s.length-1]:null,u=r,h=0;h<s.length;h++){var y=s[h];if(y.dataset.precedence===t)u=y;else if(u!==r)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Kc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Qc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Wl=null;function fp(e,t,n){if(Wl===null){var s=new Map,r=Wl=new Map;r.set(n,s)}else r=Wl,s=r.get(n),s||(s=new Map,r.set(n,s));if(s.has(e))return s;for(s.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var u=n[r];if(!(u[Bs]||u[rt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var h=u.getAttribute(t)||"";h=e+h;var y=s.get(h);y?y.push(u):s.set(h,[u])}}return s}function hp(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function Iv(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 mp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Wv(e,t,n,s){if(n.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=ps(s.href),u=t.querySelector(bi(r));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=$l.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,it(u);return}u=t.ownerDocument||t,s=up(s),(r=Xt.get(r))&&Kc(s,r),u=u.createElement("link"),it(u);var h=u;h._p=new Promise(function(y,j){h.onload=y,h.onerror=j}),dt(u,"link",s),n.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),
vendor: 4,588 bytes, line 49
49(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=$l.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Zc=0;function $v(e,t){return e.stylesheets&&e.count===0&&tr(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var s=setTimeout(function(){if(e.stylesheets&&tr(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Zc===0&&(Zc=62500*Ov());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&tr(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Zc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(r)}}:null}function $l(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var er=null;function tr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,er=new Map,t.forEach(eb,e),er=null,$l.call(e))}function eb(e,t){if(!(t.state.loading&4)){var n=er.get(e);if(n)var s=n.get(null);else{n=new Map,er.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<r.length;u++){var h=r[u];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(n.set(h.dataset.precedence,h),s=h)}s&&n.set(null,s)}r=t.instance,h=r.getAttribute("data-precedence"),u=n.get(h)||s,u===s&&n.set(null,r),n.set(h,r),this.count++,s=$l.bind(this),r.addEventListener("load",s),r.addEventListener("error",s),u?u.parentNode.insertBefore(r,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var ji={$$typeof:L,Provider:null,Consumer:null,_currentValue:Z,_currentValue2:Z,_threadCount:0};function tb(e,t,n,s,r,u,h,y,j){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=qr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qr(0),this.hiddenUpdates=qr(null),this.identifierPrefix=s,this.onUncaughtError=r,this.onCaughtError=u,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function pp(e,t,n,s,r,u,h,y,j,D,V,q){return e=new tb(e,t,n,h,j,D,V,q,y),t=1,u===!0&&(t|=24),u=Et(3,null,null,t),e.current=u,u.stateNode=e,t=Eo(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:s,isDehydrated:n,cache:t},ko(u),e}function gp(e){return e?(e=Qa,e):Qa}function xp(e,t,n,s,r,u){r=gp(r),s.context===null?s.context=r:s.pendingContext=r,s=Un(t),s.payload={element:n},u=u===void 0?null:u,u!==null&&(s.callback=u),n=Hn(e,s,t),n!==null&&(Tt(n,e,t),ei(n,e,t))}function yp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Jc(e,t){yp(e,t),(e=e.alternate)&&yp(e,t)}function vp(e){if(e.tag===13||e.tag===31){var t=fa(e,67108864);t!==null&&Tt(t,e,67108864),Jc(e,67108864)}}function bp(e){if(e.tag===13||e.tag===31){var t=Rt();t=Yr(t);var n=fa(e,t);n!==null&&Tt(n,e,t),Jc(e,t)}}var nr=!0;function nb(e,t,n,s){var r=O.T;O.T=null;var u=Q.p;try{Q.p=2,Fc(e,t,n,s)}finally{Q.p=u,O.T=r}}function ab(e,t,n,s){var r=O.T;O.T=null;var u=Q.p;try{Q.p=8,Fc(e,t,n,s)}finally{Q.p=u,O.T=r}}function Fc(e,t,n,s){if(nr){var r=Ic(s);if(r===null)Vc(e,t,s,ar,n),jp(e,s);else if(ib(r,e,t,n,s))s.stopPropagation();else if(jp(e,s),t&4&&-1<sb.indexOf(e)){for(;r!==null;){var u=Va(r);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var h=ra(u.pendingLanes);if(h!==0){var y=u;for(y.pendingLanes|=2,y.entangledLanes|=2;h;){var j=1<<31-Ne(h);y.entanglements[1]|=j,h&=~j}an(u),(Ee&6)===0&&(Ul=Pe()+500,gi(0))}}break;case 31:case 13:y=fa(u,2),y!==null&&Tt(y,u,2),Gl(),Jc(u,2)}if(u=Ic(s),u===null&&Vc(e,t,s,ar,n),u===r)break;r=u}r!==null&&s.stopPropagation()}else Vc(e,t,s,null,n)}}function Ic(e){return e=Wr(e),Wc(e)}var ar=null;function Wc(e){if(ar=null,e=_a(e),e!==null){var t=m(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=f(t),e!==null)return e;e=null}else if(n===31){if(e=p(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 ar=e,null}function Sp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 3,304 bytes, line 49
49: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(Ur()){case Os:return 2;case zs:return 8;case Oa:case Pi:return 32;case Ki:return 268435456;default:return 32}default:return 32}}var $c=!1,In=null,Wn=null,$n=null,Ni=new Map,Ti=new Map,ea=[],sb="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 jp(e,t){switch(e){case"focusin":case"focusout":In=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":Ni.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ti.delete(t.pointerId)}}function Ai(e,t,n,s,r,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:s,nativeEvent:u,targetContainers:[r]},t!==null&&(t=Va(t),t!==null&&vp(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function ib(e,t,n,s,r){switch(t){case"focusin":return In=Ai(In,e,t,n,s,r),!0;case"dragenter":return Wn=Ai(Wn,e,t,n,s,r),!0;case"mouseover":return $n=Ai($n,e,t,n,s,r),!0;case"pointerover":var u=r.pointerId;return Ni.set(u,Ai(Ni.get(u)||null,e,t,n,s,r)),!0;case"gotpointercapture":return u=r.pointerId,Ti.set(u,Ai(Ti.get(u)||null,e,t,n,s,r)),!0}return!1}function Np(e){var t=_a(e.target);if(t!==null){var n=m(t);if(n!==null){if(t=n.tag,t===13){if(t=f(n),t!==null){e.blockedOn=t,Vd(e.priority,function(){bp(n)});return}}else if(t===31){if(t=p(n),t!==null){e.blockedOn=t,Vd(e.priority,function(){bp(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 sr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ic(e.nativeEvent);if(n===null){n=e.nativeEvent;var s=new n.constructor(n.type,n);Ir=s,n.target.dispatchEvent(s),Ir=null}else return t=Va(n),t!==null&&vp(t),e.blockedOn=n,!1;t.shift()}return!0}function Tp(e,t,n){sr(e)&&n.delete(t)}function lb(){$c=!1,In!==null&&sr(In)&&(In=null),Wn!==null&&sr(Wn)&&(Wn=null),$n!==null&&sr($n)&&($n=null),Ni.forEach(Tp),Ti.forEac
vendor: 4,633 bytes, line 49
49h(Tp)}function ir(e,t){e.blockedOn===t&&(e.blockedOn=null,$c||($c=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,lb)))}var lr=null;function Ap(e){lr!==e&&(lr=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){lr===e&&(lr=null);for(var t=0;t<e.length;t+=3){var n=e[t],s=e[t+1],r=e[t+2];if(typeof s!="function"){if(Wc(s||n)===null)continue;break}var u=Va(n);u!==null&&(e.splice(t,3),t-=3,Io(u,{pending:!0,data:r,method:n.method,action:s},s,r))}}))}function xs(e){function t(j){return ir(j,e)}In!==null&&ir(In,e),Wn!==null&&ir(Wn,e),$n!==null&&ir($n,e),Ni.forEach(t),Ti.forEach(t);for(var n=0;n<ea.length;n++){var s=ea[n];s.blockedOn===e&&(s.blockedOn=null)}for(;0<ea.length&&(n=ea[0],n.blockedOn===null);)Np(n),n.blockedOn===null&&ea.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(s=0;s<n.length;s+=3){var r=n[s],u=n[s+1],h=r[yt]||null;if(typeof u=="function")h||Ap(n);else if(h){var y=null;if(u&&u.hasAttribute("formAction")){if(r=u,h=u[yt]||null)y=h.formAction;else if(Wc(r)!==null)continue}else y=h.action;typeof y=="function"?n[s+1]=y:(n.splice(s,3),s-=3),Ap(n)}}}function wp(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(h){return r=h})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),s||setTimeout(n,20)}function n(){if(!s&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){s=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function eu(e){this._internalRoot=e}rr.prototype.render=eu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(l(409));var n=t.current,s=Rt();xp(n,s,e,t,null,null)},rr.prototype.unmount=eu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;xp(e.current,2,null,e,null,null),Gl(),t[za]=null}};function rr(e){this._internalRoot=e}rr.prototype.unstable_scheduleHydration=function(e){if(e){var t=_d();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ea.length&&t!==0&&t<ea[n].priority;n++);ea.splice(n,0,e),n===0&&Np(e)}};var Ep=i.version;if(Ep!=="19.2.7")throw Error(l(527,Ep,"19.2.7"));Q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=g(t),e=e!==null?v(e):null,e=e===null?null:e.stateNode,e};var rb={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var or=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!or.isDisabled&&or.supportsFiber)try{ce=or.inject(rb),he=or}catch{}}return Ei.createRoot=function(e,t){if(!d(e))throw Error(l(299));var n=!1,s="",r=zh,u=_h,h=Vh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(h=t.onRecoverableError)),t=pp(e,1,!1,null,null,n,s,null,r,u,h,wp),e[za]=t.current,_c(e),new eu(t)},Ei.hydrateRoot=function(e,t,n){if(!d(e))throw Error(l(299));var s=!1,r="",u=zh,h=_h,y=Vh,j=null;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError),n.formState!==void 0&&(j=n.formState)),t=pp(e,1,!0,t,n??null,s,r,j,u,h,y,wp),t.context=gp(null),n=t.current,s=Rt(),s=Yr(s),r=Un(s),r.callback=null,Hn(n,r,s),n=s,t.current.lanes=n,Vs(t,n),an(t),e[za]=t.current,_c(e),new rr(t)},Ei.version="19.2.7",Ei}var Bp;function xb(){if(Bp)return au.exports;Bp=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),au.exports=gb(),au.exports}var yb=xb();const $u=z.createContext({});function ed(a){const i=z.useRef(null);return i.current===null&&(i.current=a()),i.current}const vb=typeof window<"u",td=vb?z.useLayoutEffect:z.useEffect,Or=z.createContext(null);
vendor: 28,350 bytes, line 49
49function nd(a,i){a.indexOf(i)===-1&&a.push(i)}function Nr(a,i){const o=a.indexOf(i);o>-1&&a.splice(o,1)}const cn=(a,i,o)=>o>i?i:o<a?a:o;let ad=()=>{};const sa={},rg=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a),og=a=>typeof a=="object"&&a!==null,cg=a=>/^0[^.\s]+$/u.test(a);function ug(a){let i;return()=>(i===void 0&&(i=a()),i)}const Kt=a=>a,Hi=(...a)=>a.reduce((i,o)=>l=>o(i(l))),Vi=(a,i,o)=>{const l=i-a;return l?(o-a)/l:1};class sd{constructor(){this.subscriptions=[]}add(i){return nd(this.subscriptions,i),()=>Nr(this.subscriptions,i)}notify(i,o,l){const d=this.subscriptions.length;if(d)if(d===1)this.subscriptions[0](i,o,l);else for(let m=0;m<d;m++){const f=this.subscriptions[m];f&&f(i,o,l)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ot=a=>a*1e3,Pt=a=>a/1e3,dg=(a,i)=>i?a*(1e3/i):0,fg=(a,i,o)=>(((1-3*o+3*i)*a+(3*o-6*i))*a+3*i)*a,bb=1e-7,Sb=12;function jb(a,i,o,l,d){let m,f,p=0;do f=i+(o-i)/2,m=fg(f,l,d)-a,m>0?o=f:i=f;while(Math.abs(m)>bb&&++p<Sb);return f}function Gi(a,i,o,l){if(a===i&&o===l)return Kt;const d=m=>jb(m,0,1,a,o);return m=>m===0||m===1?m:fg(d(m),i,l)}const hg=a=>i=>i<=.5?a(2*i)/2:(2-a(2*(1-i)))/2,mg=a=>i=>1-a(1-i),pg=Gi(.33,1.53,.69,.99),id=mg(pg),gg=hg(id),xg=a=>a>=1?1:(a*=2)<1?.5*id(a):.5*(2-Math.pow(2,-10*(a-1))),ld=a=>1-Math.sin(Math.acos(a)),yg=mg(ld),vg=hg(ld),Nb=Gi(.42,0,1,1),Tb=Gi(0,0,.58,1),bg=Gi(.42,0,.58,1),Ab=a=>Array.isArray(a)&&typeof a[0]!="number",Sg=a=>Array.isArray(a)&&typeof a[0]=="number",wb={linear:Kt,easeIn:Nb,easeInOut:bg,easeOut:Tb,circIn:ld,circInOut:vg,circOut:yg,backIn:id,backInOut:gg,backOut:pg,anticipate:xg},Eb=a=>typeof a=="string",Lp=a=>{if(Sg(a)){ad(a.length===4);const[i,o,l,d]=a;return Gi(i,o,l,d)}else if(Eb(a))return wb[a];return a},cr=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Mb(a){let i=new Set,o=new Set,l=!1,d=!1;const m=new WeakSet;let f={delta:0,timestamp:0,isProcessing:!1};function p(g){m.has(g)&&(x.schedule(g),a()),g(f)}const x={schedule:(g,v=!1,b=!1)=>{const E=b&&l?i:o;return v&&m.add(g),E.add(g),g},cancel:g=>{o.delete(g),m.delete(g)},process:g=>{if(f=g,l){d=!0;return}l=!0;const v=i;i=o,o=v,i.forEach(p),i.clear(),l=!1,d&&(d=!1,x.process(g))}};return x}const Cb=40;function jg(a,i){let o=!1,l=!0;const d={delta:0,timestamp:0,isProcessing:!1},m=()=>o=!0,f=cr.reduce((L,G)=>(L[G]=Mb(m),L),{}),{setup:p,read:x,resolveKeyframes:g,preUpdate:v,update:b,preRender:S,render:E,postRender:M}=f,B=()=>{const L=sa.useManualTiming,G=L?d.timestamp:performance.now();o=!1,L||(d.delta=l?1e3/60:Math.max(Math.min(G-d.timestamp,Cb),1)),d.timestamp=G,d.isProcessing=!0,p.process(d),x.process(d),g.process(d),v.process(d),b.process(d),S.process(d),E.process(d),M.process(d),d.isProcessing=!1,o&&i&&(l=!1,a(B))},w=()=>{o=!0,l=!0,d.isProcessing||a(B)};return{schedule:cr.reduce((L,G)=>{const X=f[G];return L[G]=(te,K=!1,P=!1)=>(o||w(),X.schedule(te,K,P)),L},{}),cancel:L=>{for(let G=0;G<cr.length;G++)f[cr[G]].cancel(L)},state:d,steps:f}}const{schedule:Be,cancel:ia,state:ft,steps:ru}=jg(typeof requestAnimationFrame<"u"?requestAnimationFrame:Kt,!0);let pr;function Db(){pr=void 0}const gt={now:()=>(pr===void 0&>.set(ft.isProcessing||sa.useManualTiming?ft.timestamp:performance.now()),pr),set:a=>{pr=a,queueMicrotask(Db)}},Ng=a=>i=>typeof i=="string"&&i.startsWith(a),Tg=Ng("--"),kb=Ng("var(--"),rd=a=>kb(a)?Rb.test(a.split("/*")[0].trim()):!1,Rb=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Up(a){return typeof a!="string"?!1:a.split("/*")[0].includes("var(--")}const As={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},Bi={...As,transform:a=>cn(0,1,a)},ur={...As,default:1},Di=a=>Math.round(a*1e5)/1e5,od=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ob(a){return a==null}const zb=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,cd=(a,i)=>o=>!!(typeof o=="string"&&zb.test(o)&&o.startsWith(a)||i&&!Ob(o)&&Object.prototype.hasOwnProperty.call(o,i)),Ag=(a,i,o)=>l=>{if(typeof l!="string")return l;const[d,m,f,p]=l.match(od);return{[a]:parseFloat(d),[i]:parseFloat(m),[o]:parseFloat(f),alpha:p!==void 0?parseFloat(p):1}},_b=a=>cn(0,255,a),ou={...As,transform:a=>Math.round(_b(a))},Ea={test:cd("rgb","red"),parse:Ag("red","green","blue"),transform:({red:a,green:i,blue:o,alpha:l=1})=>"rgba("+ou.transform(a)+", "+ou.transform(i)+", "+ou.transform(o)+", "+Di(Bi.transform(l))+")"};function Vb(a){let i="",o="",l="",d="";return a.length>5?(i=a.substring(1,3),o=a.substring(3,5),l=a.substring(5,7),d=a.substring(7,9)):(i=a.substring(1,2),o=a.substring(2,3),l=a.substring(3,4),d=a.substring(4,5),i+=i,o+=o,l+=l,d+=d),{red:parseInt(i,16),green:parseInt(o,16),blue:parseInt(l,16),alpha:d?parseInt(d,16)/255:1}}const Tu={test:cd("#"),parse:Vb,transform:Ea.transform},qi=a=>({test:i=>typeof i=="string"&&i.endsWith(a)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${a}`}),Cn=qi("deg"),rn=qi("%"),ee=qi("px"),Bb=qi("vh"),Lb=qi("vw"),Hp={...rn,parse:a=>rn.parse(a)/100,transform:a=>rn.transform(a*100)},bs={test:cd("hsl","hue"),parse:Ag("hue","saturation","lightness"),transform:({hue:a,saturation:i,lightness:o,alpha:l=1})=>"hsla("+Math.round(a)+", "+rn.transform(Di(i))+", "+rn.transform(Di(o))+", "+Di(Bi.transform(l))+")"},tt={test:a=>Ea.test(a)||Tu.test(a)||bs.test(a),parse:a=>Ea.test(a)?Ea.parse(a):bs.test(a)?bs.parse(a):Tu.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?Ea.transform(a):bs.transform(a),getAnimatableNone:a=>{const i=tt.parse(a);return i.alpha=0,tt.transform(i)}},Ub=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Hb(a){var i,o;return isNaN(a)&&typeof a=="string"&&(((i=a.match(od))==null?void 0:i.length)||0)+(((o=a.match(Ub))==null?void 0:o.length)||0)>0}const wg="number",Eg="color",Gb="var",qb="var(",Gp="${}",Yb=/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 Ns(a){const i=a.toString(),o=[],l={color:[],number:[],var:[]},d=[];let m=0;const p=i.replace(Yb,x=>(tt.test(x)?(l.color.push(m),d.push(Eg),o.push(tt.parse(x))):x.startsWith(qb)?(l.var.push(m),d.push(Gb),o.push(x)):(l.number.push(m),d.push(wg),o.push(parseFloat(x))),++m,Gp)).split(Gp);return{values:o,split:p,indexes:l,types:d}}function Xb(a){return Ns(a).values}function Mg({split:a,types:i}){const o=a.length;return l=>{let d="";for(let m=0;m<o;m++)if(d+=a[m],l[m]!==void 0){const f=i[m];f===wg?d+=Di(l[m]):f===Eg?d+=tt.transform(l[m]):d+=l[m]}return d}}function Pb(a){return Mg(Ns(a))}const Kb=a=>typeof a=="number"?0:tt.test(a)?tt.getAnimatableNone(a):a,Qb=(a,i)=>typeof a=="number"?i!=null&&i.trim().endsWith("/")?a:0:Kb(a);function Zb(a){const i=Ns(a);return Mg(i)(i.values.map((l,d)=>Qb(l,i.split[d])))}const $t={test:Hb,parse:Xb,createTransformer:Pb,getAnimatableNone:Zb};function cu(a,i,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?a+(i-a)*6*o:o<1/2?i:o<2/3?a+(i-a)*(2/3-o)*6:a}function Jb({hue:a,saturation:i,lightness:o,alpha:l}){a/=360,i/=100,o/=100;let d=0,m=0,f=0;if(!i)d=m=f=o;else{const p=o<.5?o*(1+i):o+i-o*i,x=2*o-p;d=cu(x,p,a+1/3),m=cu(x,p,a),f=cu(x,p,a-1/3)}return{red:Math.round(d*255),green:Math.round(m*255),blue:Math.round(f*255),alpha:l}}function Tr(a,i){return o=>o>0?i:a}const Ve=(a,i,o)=>a+(i-a)*o,uu=(a,i,o)=>{const l=a*a,d=o*(i*i-l)+l;return d<0?0:Math.sqrt(d)},Fb=[Tu,Ea,bs],Ib=a=>Fb.find(i=>i.test(a));function qp(a){const i=Ib(a);if(!i)return!1;let o=i.parse(a);return i===bs&&(o=Jb(o)),o}const Yp=(a,i)=>{const o=qp(a),l=qp(i);if(!o||!l)return Tr(a,i);const d={...o};return m=>(d.red=uu(o.red,l.red,m),d.green=uu(o.green,l.green,m),d.blue=uu(o.blue,l.blue,m),d.alpha=Ve(o.alpha,l.alpha,m),Ea.transform(d))},Au=new Set(["none","hidden"]);function Wb(a,i){return Au.has(a)?o=>o<=0?a:i:o=>o>=1?i:a}function $b(a,i){return o=>Ve(a,i,o)}function ud(a){return typeof a=="number"?$b:typeof a=="string"?rd(a)?Tr:tt.test(a)?Yp:n1:Array.isArray(a)?Cg:typeof a=="object"?tt.test(a)?Yp:e1:Tr}function Cg(a,i){const o=[...a],l=o.length,d=a.map((m,f)=>ud(m)(m,i[f]));return m=>{for(let f=0;f<l;f++)o[f]=d[f](m);return o}}function e1(a,i){const o={...a,...i},l={};for(const d in o)a[d]!==void 0&&i[d]!==void 0&&(l[d]=ud(a[d])(a[d],i[d]));return d=>{for(const m in l)o[m]=l[m](d);return o}}function t1(a,i){const o=[],l={color:0,var:0,number:0};for(let d=0;d<i.values.length;d++){const m=i.types[d],f=a.indexes[m][l[m]],p=a.values[f]??0;o[d]=p,l[m]++}return o}const n1=(a,i)=>{const o=$t.createTransformer(i),l=Ns(a),d=Ns(i);return l.indexes.var.length===d.indexes.var.length&&l.indexes.color.length===d.indexes.color.length&&l.indexes.number.length>=d.indexes.number.length?Au.has(a)&&!d.values.length||Au.has(i)&&!l.values.length?Wb(a,i):Hi(Cg(t1(l,d),d.values),o):Tr(a,i)};function Dg(a,i,o){return typeof a=="number"&&typeof i=="number"&&typeof o=="number"?Ve(a,i,o):ud(a)(a,i)}const a1=a=>{const i=({timestamp:o})=>a(o);return{start:(o=!0)=>Be.update(i,o),stop:()=>ia(i),now:()=>ft.isProcessing?ft.timestamp:gt.now()}},kg=(a,i,o=10)=>{let l="";const d=Math.max(Math.round(i/o),2);for(let m=0;m<d;m++)l+=Math.round(a(m/(d-1))*1e4)/1e4+", ";return`linear(${l.substring(0,l.length-2)})`},Ar=2e4;function dd(a){let i=0;const o=50;let l=a.next(i);for(;!l.done&&i<Ar;)i+=o,l=a.next(i);return i>=Ar?1/0:i}function s1(a,i=100,o){const l=o({...a,keyframes:[0,i]}),d=Math.min(dd(l),Ar);return{type:"keyframes",ease:m=>l.next(d*m).value/i,duration:Pt(d)}}const Ze={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 wu(a,i){return a*Math.sqrt(1-i*i)}const i1=12;function l1(a,i,o){let l=o;for(let d=1;d<i1;d++)l=l-a(l)/i(l);return l}const du=.001;function r1({duration:a=Ze.duration,bounce:i=Ze.bounce,velocity:o=Ze.velocity,mass:l=Ze.mass}){let d,m,f=1-i;f=cn(Ze.minDamping,Ze.maxDamping,f),a=cn(Ze.minDuration,Ze.maxDuration,Pt(a)),f<1?(d=g=>{const v=g*f,b=v*a,S=v-o,E=wu(g,f),M=Math.exp(-b);return du-S/E*M},m=g=>{const b=g*f*a,S=b*o+o,E=Math.pow(f,2)*Math.pow(g,2)*a,M=Math.exp(-b),B=wu(Math.pow(g,2),f);return(-d(g)+du>0?-1:1)*((S-E)*M)/B}):(d=g=>{const v=Math.exp(-g*a),b=(g-o)*a+1;return-du+v*b},m=g=>{const v=Math.exp(-g*a),b=(o-g)*(a*a);return v*b});const p=5/a,x=l1(d,m,p);if(a=Ot(a),isNaN(x))return{stiffness:Ze.stiffness,damping:Ze.damping,duration:a};{const g=Math.pow(x,2)*l;return{stiffness:g,damping:f*2*Math.sqrt(l*g),duration:a}}}const o1=["duration","bounce"],c1=["stiffness","damping","mass"];function Xp(a,i){return i.some(o=>a[o]!==void 0)}function u1(a){let i={velocity:Ze.velocity,stiffness:Ze.stiffness,damping:Ze.damping,mass:Ze.mass,isResolvedFromDuration:!1,...a};if(!Xp(a,c1)&&Xp(a,o1))if(i.velocity=0,a.visualDuration){const o=a.visualDuration,l=2*Math.PI/(o*1.2),d=l*l,m=2*cn(.05,1,1-(a.bounce||0))*Math.sqrt(d);i={...i,mass:Ze.mass,stiffness:d,damping:m}}else{const o=r1({...a,velocity:0});i={...i,...o,mass:Ze.mass},i.isResolvedFromDuration=!0}return i}function wr(a=Ze.visualDuration,i=Ze.bounce){const o=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:i}:a;let{restSpeed:l,restDelta:d}=o;const m=o.keyframes[0],f=o.keyframes[o.keyframes.length-1],p={done:!1,value:m},{stiffness:x,damping:g,mass:v,duration:b,velocity:S,isResolvedFromDuration:E}=u1({...o,velocity:-Pt(o.velocity||0)}),M=S||0,B=g/(2*Math.sqrt(x*v)),w=f-m,R=Pt(Math.sqrt(x/v)),Y=Math.abs(w)<5;l||(l=Y?Ze.restSpeed.granular:Ze.restSpeed.default),d||(d=Y?Ze.restDelta.granular:Ze.restDelta.default);let L,G,X,te,K,P;if(B<1)X=wu(R,B),te=(M+B*R*w)/X,L=F=>{const le=Math.exp(-B*R*F);return f-le*(te*Math.sin(X*F)+w*Math.cos(X*F))},K=B*R*te+w*X,P=B*R*w-te*X,G=F=>Math.exp(-B*R*F)*(K*Math.sin(X*F)+P*Math.cos(X*F));else if(B===1){L=le=>f-Math.exp(-R*le)*(w+(M+R*w)*le);const F=M+R*w;G=le=>Math.exp(-R*le)*(R*F*le-M)}else{const F=R*Math.sqrt(B*B-1);L=Me=>{const Ce=Math.exp(-B*R*Me),O=Math.min(F*Me,300);return f-Ce*((M+B*R*w)*Math.sinh(O)+F*w*Math.cosh(O))/F};const le=(M+B*R*w)/F,I=B*R*le-w*F,Le=B*R*w-le*F;G=Me=>{const Ce=Math.exp(-B*R*Me),O=Math.min(F*Me,300);return Ce*(I*Math.sinh(O)+Le*Math.cosh(O))}}const ae={calculatedDuration:E&&b||null,velocity:F=>Ot(G(F)),next:F=>{if(!E&&B<1){const I=Math.exp(-B*R*F),Le=Math.sin(X*F),Me=Math.cos(X*F),Ce=f-I*(te*Le+w*Me),O=Ot(I*(K*Le+P*Me));return p.done=Math.abs(O)<=l&&Math.abs(f-Ce)<=d,p.value=p.done?f:Ce,p}const le=L(F);if(E)p.done=F>=b;else{const I=Ot(G(F));p.done=Math.abs(I)<=l&&Math.abs(f-le)<=d}return p.value=p.done?f:le,p},toString:()=>{const F=Math.min(dd(ae),Ar),le=kg(I=>ae.next(F*I).value,F,30);return F+"ms "+le},toTransition:()=>{}};return ae}wr.applyToOptions=a=>{const i=s1(a,100,wr);return a.ease=i.ease,a.duration=Ot(i.duration),a.type="keyframes",a};const d1=5;function Rg(a,i,o){const l=Math.max(i-d1,0);return dg(o-a(l),i-l)}function Eu({keyframes:a,velocity:i=0,power:o=.8,timeConstant:l=325,bounceDamping:d=10,bounceStiffness:m=500,modifyTarget:f,min:p,max:x,restDelta:g=.5,restSpeed:v}){const b=a[0],S={done:!1,value:b},E=P=>p!==void 0&&P<p||x!==void 0&&P>x,M=P=>p===void 0?x:x===void 0||Math.abs(p-P)<Math.abs(x-P)?p:x;let B=o*i;const w=b+B,R=f===void 0?w:f(w);R!==w&&(B=R-b);const Y=P=>-B*Math.exp(-P/l),L=P=>R+Y(P),G=P=>{const ae=Y(P),F=L(P);S.done=Math.abs(ae)<=g,S.value=S.done?R:F};let X,te;const K=P=>{E(S.value)&&(X=P,te=wr({keyframes:[S.value,M(S.value)],velocity:Rg(L,P,S.value),damping:d,stiffness:m,restDelta:g,restSpeed:v}))};return K(0),{calculatedDuration:null,next:P=>{let ae=!1;return!te&&X===void 0&&(ae=!0,G(P),K(P)),X!==void 0&&P>=X?te.next(P-X):(!ae&&G(P),S)}}}function f1(a,i,o){const l=[],d=o||sa.mix||Dg,m=a.length-1;for(let f=0;f<m;f++){let p=d(a[f],a[f+1]);if(i){const x=Array.isArray(i)?i[f]||Kt:i;p=Hi(x,p)}l.push(p)}return l}function h1(a,i,{clamp:o=!0,ease:l,mixer:d}={}){const m=a.length;if(ad(m===i.length),m===1)return()=>i[0];if(m===2&&i[0]===i[1])return()=>i[1];const f=a[0]===a[1];a[0]>a[m-1]&&(a=[...a].reverse(),i=[...i].reverse());const p=f1(i,l,d),x=p.length,g=v=>{if(f&&v<a[0])return i[0];let b=0;if(x>1)for(;b<a.length-2&&!(v<a[b+1]);b++);const S=Vi(a[b],a[b+1],v);return p[b](S)};return o?v=>g(cn(a[0],a[m-1],v)):g}function m1(a,i){const o=a[a.length-1];for(let l=1;l<=i;l++){const d=Vi(0,i,l);a.push(Ve(o,1,d))}}function p1(a){const i=[0];return m1(i,a.length-1),i}function g1(a,i){return a.map(o=>o*i)}function x1(a,i){return a.map(()=>i||bg).splice(0,a.length-1)}function ki({duration:a=300,keyframes:i,times:o,ease:l="easeInOut"}){const d=Ab(l)?l.map(Lp):Lp(l),m={done:!1,value:i[0]},f=g1(o&&o.length===i.length?o:p1(i),a),p=h1(f,i,{ease:Array.isArray(d)?d:x1(i,d)});return{calculatedDuration:a,next:x=>(m.value=p(x),m.done=x>=a,m)}}const y1=a=>a!==null;function zr(a,{repeat:i,repeatType:o="loop"},l,d=1){const m=a.filter(y1),p=d<0||i&&o!=="loop"&&i%2===1?0:m.length-1;return!p||l===void 0?m[p]:l}const v1={decay:Eu,inertia:Eu,tween:ki,keyframes:ki,spring:wr};function Og(a){typeof a.type=="string"&&(a.type=v1[a.type])}class fd{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,o){return this.finished.then(i,o)}}const b1=a=>a/100;class Er extends fd{constructor(i){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=()=>{var l,d;const{motionValue:o}=this.options;o&&o.updatedAt!==gt.now()&&this.tick(gt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(d=(l=this.options).onStop)==null||d.call(l))},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;Og(i);const{type:o=ki,repeat:l=0,repeatDelay:d=0,repeatType:m,velocity:f=0}=i;let{keyframes:p}=i;const x=o||ki;x!==ki&&typeof p[0]!="number"&&(this.mixKeyframes=Hi(b1,Dg(p[0],p[1])),p=[0,100]);const g=x({...i,keyframes:p});m==="mirror"&&(this.mirroredGenerator=x({...i,keyframes:[...p].reverse(),velocity:-f})),g.calculatedDuration===null&&(g.calculatedDuration=dd(g));const{calculatedDuration:v}=g;this.calculatedDuration=v,this.resolvedDuration=v+d,this.totalDuration=this.resolvedDuration*(l+1)-d,this.generator=g}updateTime(i){const o=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(i,o=!1){const{generator:l,totalDuration:d,mixKeyframes:m,mirroredGenerator:f,resolvedDuration:p,calculatedDuration:x}=this;if(this.startTime===null)return l.next(0);const{delay:g=0,keyframes:v,repeat:b,repeatType:S,repeatDelay:E,type:M,onUpdate:B,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-d/this.speed,this.startTime)),o?this.currentTime=i:this.updateTime(i);const R=this.currentTime-g*(this.playbackSpeed>=0?1:-1),Y=this.playbackSpeed>=0?R<0:R>d;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=d);let L=this.currentTime,G=l;if(b){const P=Math.min(this.currentTime,d)/p;let ae=Math.floor(P),F=P%1;!F&&P>=1&&(F=1),F===1&&ae--,ae=Math.min(ae,b+1),!!(ae%2)&&(S==="reverse"?(F=1-F,E&&(F-=E/p)):S==="mirror"&&(G=f)),L=cn(0,1,F)*p}let X;Y?(this.delayState.value=v[0],X=this.delayState):X=G.next(L),m&&!Y&&(X.value=m(X.value));let{done:te}=X;!Y&&x!==null&&(te=this.playbackSpeed>=0?this.currentTime>=d:this.currentTime<=0);const K=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&te);return K&&M!==Eu&&(X.value=zr(v,this.options,w,this.speed)),B&&B(X.value),K&&this.finish(),X}then(i,o){return this.finished.then(i,o)}get duration(){return Pt(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Pt(i)}get time(){return Pt(this.currentTime)}set time(i){i=Ot(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const o=this.generator.next(i).value;return Rg(l=>this.generator.next(l).value,i,o)}get speed(){return this.playbackSpeed}set speed(i){const o=this.playbackSpeed!==i;o&&this.driver&&this.updateTime(gt.now()),this.playbackSpeed=i,o&&this.driver&&(this.time=Pt(this.currentTime))}play(){var d,m;if(this.isStopped)return;const{driver:i=a1,startTime:o}=this.options;this.driver||(this.driver=i(f=>this.tick(f))),(m=(d=this.options).onPlay)==null||m.call(d);const l=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=l):this.holdTime!==null?this.startTime=l-this.holdTime:this.startTime||(this.startTime=o??l),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(gt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var i,o;this.notifyFinished(),this.teardown(),this.state="finished",(o=(i=this.options).onComplete)==null||o.call(i)}cancel(){var i,o;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(o=(i=this.options).onCancel)==null||o.call(i)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){var o;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(o=this.driver)==null||o.stop(),i.observe(this)}}function S1(a){for(let i=1;i<a.length;i++)a[i]??(a[i]=a[i-1])}const Ma=a=>a*180/Math.PI,Mu=a=>{const i=Ma(Math.atan2(a[1],a[0]));return Cu(i)},j1={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:Mu,rotateZ:Mu,skewX:a=>Ma(Math.atan(a[1])),skewY:a=>Ma(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},Cu=a=>(a=a%360,a<0&&(a+=360),a),Pp=Mu,Kp=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),Qp=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),N1={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Kp,scaleY:Qp,scale:a=>(Kp(a)+Qp(a))/2,rotateX:a=>Cu(Ma(Math.atan2(a[6],a[5]))),rotateY:a=>Cu(Ma(Math.atan2(-a[2],a[0]))),rotateZ:Pp,rotate:Pp,skewX:a=>Ma(Math.atan(a[4])),skewY:a=>Ma(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function Du(a){return a.includes("scale")?1:0}function ku(a,i){if(!a||a==="none")return Du(i);const o=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let l,d;if(o)l=N1,d=o;else{const p=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);l=j1,d=p}if(!d)return Du(i);const m=l[i],f=d[1].split(",").map(A1);return typeof m=="function"?m(f):f[m]}const T1=(a,i)=>{const{transform:o="none"}=getComputedStyle(a);return ku(o,i)};function A1(a){return parseFloat(a.trim())}const ws=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Es=new Set([...ws,"pathRotation"]),Zp=a=>a===As||a===ee,w1=new Set(["x","y","z"]),E1=ws.filter(a=>!w1.has(a));function M1(a){const i=[];return E1.forEach(o=>{const l=a.getValue(o);l!==void 0&&(i.push([o,l.get()]),l.set(o.startsWith("scale")?1:0))}),i}const aa={width:({x:a},{paddingLeft:i="0",paddingRight:o="0",boxSizing:l})=>{const d=a.max-a.min;return l==="border-box"?d:d-parseFloat(i)-parseFloat(o)},height:({y:a},{paddingTop:i="0",paddingBottom:o="0",boxSizing:l})=>{const d=a.max-a.min;return l==="border-box"?d:d-parseFloat(i)-parseFloat(o)},top:(a,{top:i})=>parseFloat(i),left:(a,{left:i})=>parseFloat(i),bottom:({y:a},{top:i})=>parseFloat(i)+(a.max-a.min),right:({x:a},{left:i})=>parseFloat(i)+(a.max-a.min),x:(a,{transform:i})=>ku(i,"x"),y:(a,{transform:i})=>ku(i,"y")};aa.translateX=aa.x;aa.translateY=aa.y;const Ca=new Set;let Ru=!1,Ou=!1,zu=!1;function zg(){if(Ou){const a=Array.from(Ca).filter(l=>l.needsMeasurement),i=new Set(a.map(l=>l.element)),o=new Map;i.forEach(l=>{const d=M1(l);d.length&&(o.set(l,d),l.render())}),a.forEach(l=>l.measureInitialState()),i.forEach(l=>{l.render();const d=o.get(l);d&&d.forEach(([m,f])=>{var p;(p=l.getValue(m))==null||p.set(f)})}),a.forEach(l=>l.measureEndState()),a.forEach(l=>{l.suspendedScrollY!==void 0&&window.scrollTo(0,l.suspendedScrollY)})}Ou=!1,Ru=!1,Ca.forEach(a=>a.complete(zu)),Ca.clear()}function _g(){Ca.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(Ou=!0)})}function C1(){zu=!0,_g(),zg(),zu=!1}class hd{constructor(i,o,l,d,m,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=o,this.name=l,this.motionValue=d,this.element=m,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(Ca.add(this),Ru||(Ru=!0,Be.read(_g),Be.resolveKeyframes(zg))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:o,element:l,motionValue:d}=this;if(i[0]===null){const m=d==null?void 0:d.get(),f=i[i.length-1];if(m!==void 0)i[0]=m;else if(l&&o){const p=l.readValue(o,f);p!=null&&(i[0]=p)}i[0]===void 0&&(i[0]=f),d&&m===void 0&&d.set(i[0])}S1(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),Ca.delete(this)}cancel(){this.state==="scheduled"&&(Ca.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const D1=a=>a.startsWith("--");function Vg(a,i,o){D1(i)?a.style.setProperty(i,o):a.style[i]=o}const k1={};function Bg(a,i){const o=ug(a);return()=>k1[i]??o()}const R1=Bg(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Lg=Bg(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ci=([a,i,o,l])=>`cubic-bezier(${a}, ${i}, ${o}, ${l})`,Jp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ci([0,.65,.55,1]),circOut:Ci([.55,0,1,.45]),backIn:Ci([.31,.01,.66,-.59]),backOut:Ci([.33,1.53,.69,.99])};function Ug(a,i){if(a)return typeof a=="function"?Lg()?kg(a,i):"ease-out":Sg(a)?Ci(a):Array.isArray(a)?a.map(o=>Ug(o,i)||Jp.easeOut):Jp[a]}function O1(a,i,o,{delay:l=0,duration:d=300,repeat:m=0,repeatType:f="loop",ease:p="easeOut",times:x}={},g=void 0){const v={[i]:o};x&&(v.offset=x);const b=Ug(p,d);Array.isArray(b)&&(v.easing=b);const S={delay:l,duration:d,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:m+1,direction:f==="reverse"?"alternate":"normal"};return g&&(S.pseudoElement=g),a.animate(v,S)}function Hg(a){return typeof a=="function"&&"applyToOptions"in a}function z1({type:a,...i}){return Hg(a)&&Lg()?a.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class Gg extends fd{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:o,name:l,keyframes:d,pseudoElement:m,allowFlatten:f=!1,finalKeyframe:p,onComplete:x}=i;this.isPseudoElement=!!m,this.allowFlatten=f,this.options=i,ad(typeof i.type!="string");const g=z1(i);this.animation=O1(o,l,d,g,m),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!m){const v=zr(d,this.options,p,this.speed);this.updateMotionValue&&this.updateMotionValue(v),Vg(o,l,v),this.animation.cancel()}x==null||x(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var i,o;(o=(i=this.animation).finish)==null||o.call(i)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var o,l,d;const i=(o=this.options)==null?void 0:o.element;!this.isPseudoElement&&(i!=null&&i.isConnected)&&((d=(l=this.animation).commitStyles)==null||d.call(l))}get duration(){var o,l;const i=((l=(o=this.animation.effect)==null?void 0:o.getComputedTiming)==null?void 0:l.call(o).duration)||0;return Pt(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Pt(i)}get time(){return Pt(Number(this.animation.currentTime)||0)}set time(i){const o=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ot(i),o&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:o,rangeEnd:l,observe:d}){var m;return this.allowFlatten&&((m=this.animation.effect)==null||m.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&R1()?(this.animation.timeline=i,o&&(this.animation.rangeStart=o),l&&(this.animation.rangeEnd=l),Kt):d(this)}}const qg={anticipate:xg,backInOut:gg,circInOut:vg};function _1(a){return a in qg}function V1(a){typeof a.ease=="string"&&_1(a.ease)&&(a.ease=qg[a.ease])}const fu=10;class B1 extends Gg{constructor(i){V1(i),Og(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:o,onUpdate:l,onComplete:d,element:m,...f}=this.options;if(!o)return;if(i!==void 0){o.set(i);return}const p=new Er({...f,autoplay:!1}),x=Math.max(fu,gt.now()-this.startTime),g=cn(0,fu,x-fu),v=p.sample(x).value,{name:b}=this.options;m&&b&&Vg(m,b,v),o.setWithVelocity(p.sample(Math.max(0,x-g)).value,v,g),p.stop()}}const Fp=(a,i)=>i==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="str
49ing"&&($t.test(a)||a==="0")&&!a.startsWith("url("));function L1(a){const i=a[0];if(a.length===1)return!0;for(let o=0;o<a.length;o++)if(a[o]!==i)return!0}function U1(a,i,o,l){const d=a[0];if(d===null)return!1;if(i==="display"||i==="visibility")return!0;const m=a[a.length-1],f=Fp(d,i),p=Fp(m,i);return!f||!p?!1:L1(a)||(o==="spring"||Hg(o))&&l}function _u(a){a.duration=0,a.type="keyframes"}const Yg=new Set(["opacity","clipPath","filter","transform"]),H1=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function G1(a){for(let i=0;i<a.length;i++)if(typeof a[i]=="string"&&H1.test(a[i]))return!0;return!1}const q1=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Y1=ug(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function X1(a){var b;const{motionValue:i,name:o,repeatDelay:l,repeatType:d,damping:m,type:f,keyframes:p}=a;if(!(((b=i==null?void 0:i.owner)==null?void 0:b.current)instanceof HTMLElement))return!1;const{onUpdate:g,transformTemplate:v}=i.owner.getProps();return Y1()&&o&&(Yg.has(o)||q1.has(o)&&G1(p))&&(o!=="transform"||!v)&&!g&&!l&&d!=="mirror"&&m!==0&&f!=="inertia"}const P1=40;class K1 extends fd{constructor({autoplay:i=!0,delay:o=0,type:l="keyframes",repeat:d=0,repeatDelay:m=0,repeatType:f="loop",keyframes:p,name:x,motionValue:g,element:v,...b}){var M;super(),this.stop=()=>{var B,w;this._animation&&(this._animation.stop(),(B=this.stopTimeline)==null||B.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=gt.now();const S={autoplay:i,delay:o,type:l,repeat:d,repeatDelay:m,repeatType:f,name:x,motionValue:g,element:v,...b},E=(v==null?void 0:v.KeyframeResolver)||hd;this.keyframeResolver=new E(p,(B,w,R)=>this.onKeyframesResolved(B,w,S,!R),x,g,v),(M=this.keyframeResolver)==null||M.scheduleResolve()}onKeyframesResolved(i,o,l,d){var R,Y;this.keyframeResolver=void 0;const{name:m,type:f,velocity:p,delay:x,isHandoff:g,onUpdate:v}=l;this.resolvedAt=gt.now();let b=!0;U1(i,m,f,p)||(b=!1,(sa.instantAnimations||!x)&&(v==null||v(zr(i,l,o))),i[0]=i[i.length-1],_u(l),l.repeat=0);const E={startTime:d?this.resolvedAt?this.resolvedAt-this.createdAt>P1?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...l,keyframes:i},M=b&&!g&&X1(E),B=(Y=(R=E.motionValue)==null?void 0:R.owner)==null?void 0:Y.current;let w;if(M)try{w=new B1({...E,element:B})}catch{w=new Er(E)}else w=new Er(E);w.finished.then(()=>{this.notifyFinished()}).catch(Kt),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(i,o){return this.finished.finally(i).then(()=>{})}get animation(){var i;return this._animation||((i=this.keyframeResolver)==null||i.resume(),C1()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var i;this._animation&&this.animation.cancel(),(i=this.keyframeResolver)==null||i.cancel()}}function Xg(a,i,o,l=0,d=1){const m=Array.from(a).sort((g,v)=>g.sortNodePosition(v)).indexOf(i),f=a.size,p=(f-1)*l;return typeof o=="function"?o(m,f):d===1?m*l:p-m*l}const Ip=30,Q1=a=>!isNaN(parseFloat(a));class Z1{constructor(i,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=l=>{var m;const d=gt.now();if(this.updatedAt!==d&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(l),this.current!==this.prev&&((m=this.events.change)==null||m.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=o.owner}setCurrent(i){this.current=i,this.updatedAt=gt.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=Q1(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}
vendor: 48,022 bytes, line 49
49onChange(i){return this.on("change",i)}on(i,o){this.events[i]||(this.events[i]=new sd);const l=this.events[i].add(o);return i==="change"?()=>{l(),Be.read(()=>{this.events.change.getSize()||this.stop()})}:l}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,o){this.passiveEffect=i,this.stopPassiveEffect=o}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,o,l){this.set(o),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-l}jump(i,o=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var i;(i=this.events.change)==null||i.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=gt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Ip)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,Ip);return dg(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(i){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=i(o),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(){var i,o;(i=this.dependents)==null||i.clear(),(o=this.events.destroy)==null||o.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ts(a,i){return new Z1(a,i)}function Pg(a,i){if(a!=null&&a.inherit&&i){const{inherit:o,...l}=a;return{...i,...l}}return a}function md(a,i){const o=(a==null?void 0:a[i])??(a==null?void 0:a.default)??a;return o!==a?Pg(o,a):o}const J1={type:"spring",stiffness:500,damping:25,restSpeed:10},F1=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),I1={type:"keyframes",duration:.8},W1={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$1=(a,{keyframes:i})=>i.length>2?I1:Es.has(a)?a.startsWith("scale")?F1(i[1]):J1:W1,eS=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function tS(a){for(const i in a)if(!eS.has(i))return!0;return!1}const pd=(a,i,o,l={},d,m)=>f=>{const p=md(l,a)||{},x=p.delay||l.delay||0;let{elapsed:g=0}=l;g=g-Ot(x);const v={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:i.getVelocity(),...p,delay:-g,onUpdate:S=>{i.set(S),p.onUpdate&&p.onUpdate(S)},onComplete:()=>{f(),p.onComplete&&p.onComplete()},name:a,motionValue:i,element:m?void 0:d};tS(p)||Object.assign(v,$1(a,v)),v.duration&&(v.duration=Ot(v.duration)),v.repeatDelay&&(v.repeatDelay=Ot(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(_u(v),v.delay===0&&(b=!0)),(sa.instantAnimations||sa.skipAnimations||d!=null&&d.shouldSkipAnimations||p.skipAnimations)&&(b=!0,_u(v),v.delay=0),v.allowFlatten=!p.type&&!p.ease,b&&!m&&i.get()!==void 0){const S=zr(v.keyframes,p);if(S!==void 0){Be.update(()=>{v.onUpdate(S),v.onComplete()});return}}return p.isSync?new Er(v):new K1(v)},nS=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function aS(a){const i=nS.exec(a);if(!i)return[,];const[,o,l,d]=i;return[`--${o??l}`,d]}function Kg(a,i,o=1){const[l,d]=aS(a);if(!l)return;const m=window.getComputedStyle(i).getPropertyValue(l);if(m){const f=m.trim();return rg(f)?parseFloat(f):f}return rd(d)?Kg(d,i,o+1):d}function Wp(a){const i=[{},{}];return a==null||a.values.forEach((o,l)=>{i[0][l]=o.get(),i[1][l]=o.getVelocity()}),i}function gd(a,i,o,l){if(typeof i=="function"){const[d,m]=Wp(l);i=i(o!==void 0?o:a.custom,d,m)}if(typeof i=="string"&&(i=a.variants&&a.variants[i]),typeof i=="function"){const[d,m]=Wp(l);i=i(o!==void 0?o:a.custom,d,m)}return i}function Da(a,i,o){const l=a.getProps();return gd(l,i,o!==void 0?o:l.custom,a)}const Qg=new Set(["width","height","top","left","right","bottom",...ws]),Vu=a=>Array.isArray(a);function sS(a,i,o){a.hasValue(i)?a.getValue(i).set(o):a.addValue(i,Ts(o))}function iS(a){return Vu(a)?a[a.length-1]||0:a}function lS(a,i){const o=Da(a,i);let{transitionEnd:l={},transition:d={},...m}=o||{};m={...m,...l};for(const f in m){const p=iS(m[f]);sS(a,f,p)}}const ht=a=>!!(a&&a.getVelocity);function rS(a){return!!(ht(a)&&a.add)}function Bu(a,i){const o=a.getValue("willChange");if(rS(o))return o.add(i);if(!o&&sa.WillChange){const l=new sa.WillChange("auto");a.addValue("willChange",l),l.add(i)}}function xd(a){return a.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const oS="framerAppearId",Zg="data-"+xd(oS);function Jg(a){return a.props[Zg]}function cS({protectedKeys:a,needsAnimating:i},o){const l=a.hasOwnProperty(o)&&i[o]!==!0;return i[o]=!1,l}function Fg(a,i,{delay:o=0,transitionOverride:l,type:d}={}){let{transition:m,transitionEnd:f,...p}=i;const x=a.getDefaultTransition();m=m?Pg(m,x):x;const g=m==null?void 0:m.reduceMotion,v=m==null?void 0:m.skipAnimations;l&&(m=l);const b=[],S=d&&a.animationState&&a.animationState.getState()[d],E=m==null?void 0:m.path;E&&E.animateVisualElement(a,p,m,o,b);for(const M in p){const B=a.getValue(M,a.latestValues[M]??null),w=p[M];if(w===void 0||S&&cS(S,M))continue;const R={delay:o,...md(m||{},M)};v&&(R.skipAnimations=!0);const Y=B.get();if(Y!==void 0&&!B.isAnimating()&&!Array.isArray(w)&&w===Y&&!R.velocity){Be.update(()=>B.set(w));continue}let L=!1;if(window.MotionHandoffAnimation){const te=Jg(a);if(te){const K=window.MotionHandoffAnimation(te,M,Be);K!==null&&(R.startTime=K,L=!0)}}Bu(a,M);const G=g??a.shouldReduceMotion;B.start(pd(M,B,w,G&&Qg.has(M)?{type:!1}:R,a,L));const X=B.animation;X&&b.push(X)}if(f){const M=()=>Be.update(()=>{f&&lS(a,f)});b.length?Promise.all(b).then(M):M()}return b}function Lu(a,i,o={}){var x;const l=Da(a,i,o.type==="exit"?(x=a.presenceContext)==null?void 0:x.custom:void 0);let{transition:d=a.getDefaultTransition()||{}}=l||{};o.transitionOverride&&(d=o.transitionOverride);const m=l?()=>Promise.all(Fg(a,l,o)):()=>Promise.resolve(),f=a.variantChildren&&a.variantChildren.size?(g=0)=>{const{delayChildren:v=0,staggerChildren:b,staggerDirection:S}=d;return uS(a,i,g,v,b,S,o)}:()=>Promise.resolve(),{when:p}=d;if(p){const[g,v]=p==="beforeChildren"?[m,f]:[f,m];return g().then(()=>v())}else return Promise.all([m(),f(o.delay)])}function uS(a,i,o=0,l=0,d=0,m=1,f){const p=[];for(const x of a.variantChildren)x.notify("AnimationStart",i),p.push(Lu(x,i,{...f,delay:o+(typeof l=="function"?0:l)+Xg(a.variantChildren,x,l,d,m)}).then(()=>x.notify("AnimationComplete",i)));return Promise.all(p)}function dS(a,i,o={}){a.notify("AnimationStart",i);let l;if(Array.isArray(i)){const d=i.map(m=>Lu(a,m,o));l=Promise.all(d)}else if(typeof i=="string")l=Lu(a,i,o);else{const d=typeof i=="function"?Da(a,i,o.custom):i;l=Promise.all(Fg(a,d,o))}return l.then(()=>{a.notify("AnimationComplete",i)})}const fS={test:a=>a==="auto",parse:a=>a},Ig=a=>i=>i.test(a),Wg=[As,ee,rn,Cn,Lb,Bb,fS],$p=a=>Wg.find(Ig(a));function hS(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||cg(a):!0}const mS=new Set(["brightness","contrast","saturate","opacity"]);function pS(a){const[i,o]=a.slice(0,-1).split("(");if(i==="drop-shadow")return a;const[l]=o.match(od)||[];if(!l)return a;const d=o.replace(l,"");let m=mS.has(i)?1:0;return l!==o&&(m*=100),i+"("+m+d+")"}const gS=/\b([a-z-]*)\(.*?\)/gu,Uu={...$t,getAnimatableNone:a=>{const i=a.match(gS);return i?i.map(pS).join(" "):a}},Hu={...$t,getAnimatableNone:a=>{const i=$t.parse(a);return $t.createTransformer(a)(i.map(l=>typeof l=="number"?0:typeof l=="object"?{...l,alpha:1}:l))}},e0={...As,transform:Math.round},xS={rotate:Cn,pathRotation:Cn,rotateX:Cn,rotateY:Cn,rotateZ:Cn,scale:ur,scaleX:ur,scaleY:ur,scaleZ:ur,skew:Cn,skewX:Cn,skewY:Cn,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:Bi,originX:Hp,originY:Hp,originZ:ee},Mr={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,top:ee,right:ee,bottom:ee,left:ee,inset:ee,insetBlock:ee,insetBlockStart:ee,insetBlockEnd:ee,insetInline:ee,insetInlineStart:ee,insetInlineEnd:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,paddingBlock:ee,paddingBlockStart:ee,paddingBlockEnd:ee,paddingInline:ee,paddingInlineStart:ee,paddingInlineEnd:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,marginBlock:ee,marginBlockStart:ee,marginBlockEnd:ee,marginInline:ee,marginInlineStart:ee,marginInlineEnd:ee,fontSize:ee,backgroundPositionX:ee,backgroundPositionY:ee,...xS,zIndex:e0,fillOpacity:Bi,strokeOpacity:Bi,numOctaves:e0},yS={...Mr,color:tt,backgroundColor:tt,outlineColor:tt,fill:tt,stroke:tt,borderColor:tt,borderTopColor:tt,borderRightColor:tt,borderBottomColor:tt,borderLeftColor:tt,filter:Uu,WebkitFilter:Uu,mask:Hu,WebkitMask:Hu},$g=a=>yS[a],vS=new Set([Uu,Hu]);function ex(a,i){let o=$g(a);return vS.has(o)||(o=$t),o.getAnimatableNone?o.getAnimatableNone(i):void 0}const bS=new Set(["auto","none","0"]);function SS(a,i,o){let l=0,d;for(;l<a.length&&!d;){const m=a[l];typeof m=="string"&&!bS.has(m)&&Ns(m).values.length&&(d=a[l]),l++}if(d&&o)for(const m of i)a[m]=ex(o,d)}class jS extends hd{constructor(i,o,l,d,m){super(i,o,l,d,m,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:o,name:l}=this;if(!o||!o.current)return;super.readKeyframes();for(let v=0;v<i.length;v++){let b=i[v];if(typeof b=="string"&&(b=b.trim(),rd(b))){const S=Kg(b,o.current);S!==void 0&&(i[v]=S),v===i.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!Qg.has(l)||i.length!==2)return;const[d,m]=i,f=$p(d),p=$p(m),x=Up(d),g=Up(m);if(x!==g&&aa[l]){this.needsMeasurement=!0;return}if(f!==p)if(Zp(f)&&Zp(p))for(let v=0;v<i.length;v++){const b=i[v];typeof b=="string"&&(i[v]=parseFloat(b))}else aa[l]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:o}=this,l=[];for(let d=0;d<i.length;d++)(i[d]===null||hS(i[d]))&&l.push(d);l.length&&SS(i,l,o)}measureInitialState(){const{element:i,unresolvedKeyframes:o,name:l}=this;if(!i||!i.current)return;l==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=aa[l](i.measureViewportBox(),window.getComputedStyle(i.current)),o[0]=this.measuredOrigin;const d=o[o.length-1];d!==void 0&&i.getValue(l,d).jump(d,!1)}measureEndState(){var p;const{element:i,name:o,unresolvedKeyframes:l}=this;if(!i||!i.current)return;const d=i.getValue(o);d&&d.jump(this.measuredOrigin,!1);const m=l.length-1,f=l[m];l[m]=aa[o](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),(p=this.removedTransforms)!=null&&p.length&&this.removedTransforms.forEach(([x,g])=>{i.getValue(x).set(g)}),this.resolveNoneKeyframes()}}const yd=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function tx(a,i,o){if(a==null)return[];if(a instanceof EventTarget)return[a];if(typeof a=="string"){let l=document;const d=(o==null?void 0:o[a])??l.querySelectorAll(a);return d?Array.from(d):[]}return Array.from(a).filter(l=>l!=null)}const Gu=(a,i)=>i&&typeof a=="number"?i.transform(a):a;function gr(a){return og(a)&&"offsetHeight"in a&&!("ownerSVGElement"in a)}const{schedule:vd}=jg(queueMicrotask,!1),Wt={x:!1,y:!1};function nx(){return Wt.x||Wt.y}function NS(a){return a==="x"||a==="y"?Wt[a]?null:(Wt[a]=!0,()=>{Wt[a]=!1}):Wt.x||Wt.y?null:(Wt.x=Wt.y=!0,()=>{Wt.x=Wt.y=!1})}function ax(a,i){const o=tx(a),l=new AbortController,d={passive:!0,...i,signal:l.signal};return[o,d,()=>l.abort()]}function TS(a){return!(a.pointerType==="touch"||nx())}function AS(a,i,o={}){const[l,d,m]=ax(a,o);return l.forEach(f=>{let p=!1,x=!1,g;const v=()=>{f.removeEventListener("pointerleave",M)},b=w=>{g&&(g(w),g=void 0),v()},S=w=>{p=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),x&&(x=!1,b(w))},E=()=>{p=!0,window.addEventListener("pointerup",S,d),window.addEventListener("pointercancel",S,d)},M=w=>{if(w.pointerType!=="touch"){if(p){x=!0;return}b(w)}},B=w=>{if(!TS(w))return;x=!1;const R=i(f,w);typeof R=="function"&&(g=R,f.addEventListener("pointerleave",M,d))};f.addEventListener("pointerenter",B,d),f.addEventListener("pointerdown",E,d)}),m}const sx=(a,i)=>i?a===i?!0:sx(a,i.parentElement):!1,bd=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,wS=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ES(a){return wS.has(a.tagName)||a.isContentEditable===!0}const MS=new Set(["INPUT","SELECT","TEXTAREA"]);function CS(a){return MS.has(a.tagName)||a.isContentEditable===!0}const xr=new WeakSet;function t0(a){return i=>{i.key==="Enter"&&a(i)}}function hu(a,i){a.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const DS=(a,i)=>{const o=a.currentTarget;if(!o)return;const l=t0(()=>{if(xr.has(o))return;hu(o,"down");const d=t0(()=>{hu(o,"up")}),m=()=>hu(o,"cancel");o.addEventListener("keyup",d,i),o.addEventListener("blur",m,i)});o.addEventListener("keydown",l,i),o.addEventListener("blur",()=>o.removeEventListener("keydown",l),i)};function n0(a){return bd(a)&&!nx()}const a0=new WeakSet;function kS(a,i,o={}){const[l,d,m]=ax(a,o),f=p=>{const x=p.currentTarget;if(!n0(p)||a0.has(p))return;xr.add(x),o.stopPropagation&&a0.add(p);const g=i(x,p),v={...d,capture:!0},b=(M,B)=>{window.removeEventListener("pointerup",S,v),window.removeEventListener("pointercancel",E,v),xr.has(x)&&xr.delete(x),n0(M)&&typeof g=="function"&&g(M,{success:B})},S=M=>{b(M,x===window||x===document||o.useGlobalTarget||sx(x,M.target))},E=M=>{b(M,!1)};window.addEventListener("pointerup",S,v),window.addEventListener("pointercancel",E,v)};return l.forEach(p=>{(o.useGlobalTarget?window:p).addEventListener("pointerdown",f,d),gr(p)&&(p.addEventListener("focus",g=>DS(g,d)),!ES(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),m}function Sd(a){return og(a)&&"ownerSVGElement"in a}const yr=new WeakMap;let na;const ix=(a,i,o)=>(l,d)=>d&&d[0]?d[0][a+"Size"]:Sd(l)&&"getBBox"in l?l.getBBox()[i]:l[o],RS=ix("inline","width","offsetWidth"),OS=ix("block","height","offsetHeight");function zS({target:a,borderBoxSize:i}){var o;(o=yr.get(a))==null||o.forEach(l=>{l(a,{get width(){return RS(a,i)},get height(){return OS(a,i)}})})}function _S(a){a.forEach(zS)}function VS(){typeof ResizeObserver>"u"||(na=new ResizeObserver(_S))}function BS(a,i){na||VS();const o=tx(a);return o.forEach(l=>{let d=yr.get(l);d||(d=new Set,yr.set(l,d)),d.add(i),na==null||na.observe(l)}),()=>{o.forEach(l=>{const d=yr.get(l);d==null||d.delete(i),d!=null&&d.size||na==null||na.unobserve(l)})}}const vr=new Set;let Ss;function LS(){Ss=()=>{const a={get width(){return window.innerWidth},get height(){return window.innerHeight}};vr.forEach(i=>i(a))},window.addEventListener("resize",Ss)}function US(a){return vr.add(a),Ss||LS(),()=>{vr.delete(a),!vr.size&&typeof Ss=="function"&&(window.removeEventListener("resize",Ss),Ss=void 0)}}function s0(a,i){return typeof a=="function"?US(a):BS(a,i)}function HS(a){return Sd(a)&&a.tagName==="svg"}const GS=[...Wg,tt,$t],qS=a=>GS.find(Ig(a)),i0=()=>({translate:0,scale:1,origin:0,originPoint:0}),js=()=>({x:i0(),y:i0()}),l0=()=>({min:0,max:0}),at=()=>({x:l0(),y:l0()}),YS=new WeakMap;function _r(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function Li(a){return typeof a=="string"||Array.isArray(a)}const jd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nd=["initial",...jd];function Vr(a){return _r(a.animate)||Nd.some(i=>Li(a[i]))}function lx(a){return!!(Vr(a)||a.variants)}function XS(a,i,o){for(const l in i){const d=i[l],m=o[l];if(ht(d))a.addValue(l,d);else if(ht(m))a.addValue(l,Ts(d,{owner:a}));else if(m!==d)if(a.hasValue(l)){const f=a.getValue(l);f.liveStyle===!0?f.jump(d):f.hasAnimated||f.set(d)}else{const f=a.getStaticValue(l);a.addValue(l,Ts(f!==void 0?f:d,{owner:a}))}}for(const l in o)i[l]===void 0&&a.removeValue(l);return i}const qu={current:null},rx={current:!1},PS=typeof window<"u";function KS(){if(rx.current=!0,!!PS)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),i=()=>qu.current=a.matches;a.addEventListener("change",i),i()}else qu.current=!1}const r0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Cr={};function ox(a){Cr=a}function QS(){return Cr}class ZS{scrapeMotionValuesFromProps(i,o,l){return{}}constructor({parent:i,props:o,presenceContext:l,reducedMotionConfig:d,skipAnimations:m,blockInitialAnimation:f,visualState:p},x={}){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=hd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const E=gt.now();this.renderScheduledAt<E&&(this.renderScheduledAt=E,Be.render(this.render,!1,!0))};const{latestValues:g,renderState:v}=p;this.latestValues=g,this.baseTarget={...g},this.initialValues=o.initial?{...g}:{},this.renderState=v,this.parent=i,this.props=o,this.presenceContext=l,this.depth=i?i.depth+1:0,this.reducedMotionConfig=d,this.skipAnimationsConfig=m,this.options=x,this.blockInitialAnimation=!!f,this.isControllingVariants=Vr(o),this.isVariantNode=lx(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:b,...S}=this.scrapeMotionValuesFromProps(o,{},this);for(const E in S){const M=S[E];g[E]!==void 0&&ht(M)&&M.set(g[E])}}mount(i){var o,l;if(this.hasBeenMounted)for(const d in this.initialValues)(o=this.values.get(d))==null||o.jump(this.initialValues[d]),this.latestValues[d]=this.initialValues[d];this.current=i,YS.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((d,m)=>this.bindToMotionValue(m,d)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(rx.current||KS(),this.shouldReduceMotion=qu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(l=this.parent)==null||l.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var i;this.projection&&this.projection.unmount(),ia(this.notifyUpdate),ia(this.render),this.valueSubscriptions.forEach(o=>o()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(i=this.parent)==null||i.removeChild(this);for(const o in this.events)this.events[o].clear();for(const o in this.features){const l=this.features[o];l&&(l.unmount(),l.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,o){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),o.accelerate&&Yg.has(i)&&this.current instanceof HTMLElement){const{factory:f,keyframes:p,times:x,ease:g,duration:v}=o.accelerate,b=new Gg({element:this.current,name:i,keyframes:p,times:x,ease:g,duration:Ot(v)}),S=f(b);this.valueSubscriptions.set(i,()=>{S(),b.cancel()});return}const l=Es.has(i);l&&this.onBindTransform&&this.onBindTransform();const d=o.on("change",f=>{this.latestValues[i]=f,this.props.onUpdate&&Be.preRender(this.notifyUpdate),l&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let m;typeof window<"u"&&window.MotionCheckAppearSync&&(m=window.MotionCheckAppearSync(this,i,o)),this.valueSubscriptions.set(i,()=>{d(),m&&m()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Cr){const o=Cr[i];if(!o)continue;const{isEnabled:l,Feature:d}=o;if(!this.features[i]&&d&&l(this.props)&&(this.features[i]=new d(this)),this.features[i]){const m=this.features[i];m.isMounted?m.update():(m.mount(),m.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):at()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,o){this.latestValues[i]=o}update(i,o){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let l=0;l<r0.length;l++){const d=r0[l];this.propEventSubscriptions[d]&&(this.propEventSubscriptions[d](),delete this.propEventSubscriptions[d]);const m="on"+d,f=i[m];f&&(this.propEventSubscriptions[d]=this.on(d,f))}this.prevMotionValues=XS(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(i),()=>o.variantChildren.delete(i)}addValue(i,o){const l=this.values.get(i);o!==l&&(l&&this.removeValue(i),this.bindToMotionValue(i,o),this.values.set(i,o),this.latestValues[i]=o.get())}removeValue(i){this.values.delete(i);const o=this.valueSubscriptions.get(i);o&&(o(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,o){if(this.props.values&&this.props.values[i])return this.props.values[i];let l=this.values.get(i);return l===void 0&&o!==void 0&&(l=Ts(o===null?void 0:o,{owner:this}),this.addValue(i,l)),l}readValue(i,o){let l=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return l!=null&&(typeof l=="string"&&(rg(l)||cg(l))?l=parseFloat(l):!qS(l)&&$t.test(o)&&(l=ex(i,o)),this.setBaseTarget(i,ht(l)?l.get():l)),ht(l)?l.get():l}setBaseTarget(i,o){this.baseTarget[i]=o}getBaseTarget(i){var m;const{initial:o}=this.props;let l;if(typeof o=="string"||typeof o=="object"){const f=gd(this.props,o,(m=this.presenceContext)==null?void 0:m.custom);f&&(l=f[i])}if(o&&l!==void 0)return l;const d=this.getBaseTargetFromProps(this.props,i);return d!==void 0&&!ht(d)?d:this.initialValues[i]!==void 0&&l===void 0?void 0:this.baseTarget[i]}on(i,o){return this.events[i]||(this.events[i]=new sd),this.events[i].add(o)}notify(i,...o){this.events[i]&&this.events[i].notify(...o)}scheduleRenderMicrotask(){vd.render(this.render)}}class cx extends ZS{constructor(){super(...arguments),this.KeyframeResolver=jS}sortInstanceNodePosition(i,o){return i.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(i,o){const l=i.style;return l?l[o]:void 0}removeValueFromRenderState(i,{vars:o,style:l}){delete o[i],delete l[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;ht(i)&&(this.childSubscription=i.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}class la{constructor(i){this.isMounted=!1,this.node=i}update(){}}function ux({top:a,left:i,right:o,bottom:l}){return{x:{min:i,max:o},y:{min:a,max:l}}}function JS({x:a,y:i}){return{top:i.min,right:a.max,bottom:i.max,left:a.min}}function FS(a,i){if(!i)return a;const o=i({x:a.left,y:a.top}),l=i({x:a.right,y:a.bottom});return{top:o.y,left:o.x,bottom:l.y,right:l.x}}function mu(a){return a===void 0||a===1}function Yu({scale:a,scaleX:i,scaleY:o}){return!mu(a)||!mu(i)||!mu(o)}function wa(a){return Yu(a)||dx(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function dx(a){return o0(a.x)||o0(a.y)}function o0(a){return a&&a!=="0%"}function Dr(a,i,o){const l=a-o,d=i*l;return o+d}function c0(a,i,o,l,d){return d!==void 0&&(a=Dr(a,d,l)),Dr(a,o,l)+i}function Xu(a,i=0,o=1,l,d){a.min=c0(a.min,i,o,l,d),a.max=c0(a.max,i,o,l,d)}function fx(a,{x:i,y:o}){Xu(a.x,i.translate,i.scale,i.originPoint),Xu(a.y,o.translate,o.scale,o.originPoint)}const u0=.999999999999,d0=1.0000000000001;function IS(a,i,o,l=!1){var p;const d=o.length;if(!d)return;i.x=i.y=1;let m,f;for(let x=0;x<d;x++){m=o[x],f=m.projectionDelta;const{visualElement:g}=m.options;g&&g.props.style&&g.props.style.display==="contents"||(l&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(ln(a.x,-m.scroll.offset.x),ln(a.y,-m.scroll.offset.y)),f&&(i.x*=f.x.scale,i.y*=f.y.scale,fx(a,f)),l&&wa(m.latestValues)&&br(a,m.latestValues,(p=m.layout)==null?void 0:p.layoutBox))}i.x<d0&&i.x>u0&&(i.x=1),i.y<d0&&i.y>u0&&(i.y=1)}function ln(a,i){a.min+=i,a.max+=i}function f0(a,i,o,l,d=.5){const m=Ve(a.min,a.max,d);Xu(a,i,o,m,l)}function h0(a,i){return typeof a=="string"?parseFloat(a)/100*(i.max-i.min):a}function br(a,i,o){const l=o??a;f0(a.x,h0(i.x,l.x),i.scaleX,i.scale,i.originX),f0(a.y,h0(i.y,l.y),i.scaleY,i.scale,i.originY)}function hx(a,i){return ux(FS(a.getBoundingClientRect(),i))}function WS(a,i,o){const l=hx(a,o),{scroll:d}=i;return d&&(ln(l.x,d.offset.x),ln(l.y,d.offset.y)),l}const $S={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},e2=ws.length;function t2(a,i,o){let l="",d=!0;for(let f=0;f<e2;f++){const p=ws[f],x=a[p];if(x===void 0)continue;let g=!0;if(typeof x=="number")g=x===(p.startsWith("scale")?1:0);else{const v=parseFloat(x);g=p.startsWith("scale")?v===1:v===0}if(!g||o){const v=Gu(x,Mr[p]);if(!g){d=!1;const b=$S[p]||p;l+=`${b}(${v}) `}o&&(i[p]=v)}}const m=a.pathRotation;return m&&(d=!1,l+=`rotate(${Gu(m,Mr.pathRotation)}) `),l=l.trim(),o?l=o(i,d?"":l):d&&(l="none"),l}function Td(a,i,o){const{style:l,vars:d,transformOrigin:m}=a;let f=!1,p=!1;for(const x in i){const g=i[x];if(Es.has(x)){f=!0;continue}else if(Tg(x)){d[x]=g;continue}else{const v=Gu(g,Mr[x]);x.startsWith("origin")?(p=!0,m[x]=v):l[x]=v}}if(i.transform||(f||o?l.transform=t2(i,a.transform,o):l.transform&&(l.transform="none")),p){const{originX:x="50%",originY:g="50%",originZ:v=0}=m;l.transformOrigin=`${x} ${g} ${v}`}}function mx(a,{style:i,vars:o},l,d){const m=a.style;let f;for(f in i)m[f]=i[f];d==null||d.applyProjectionStyles(m,l);for(f in o)m.setProperty(f,o[f])}function m0(a,i){return i.max===i.min?0:a/(i.max-i.min)*100}const Mi={correct:(a,i)=>{if(!i.target)return a;if(typeof a=="string")if(ee.test(a))a=parseFloat(a);else return a;const o=m0(a,i.target.x),l=m0(a,i.target.y);return`${o}% ${l}%`}},n2={correct:(a,{treeScale:i,projectionDelta:o})=>{const l=a,d=$t.parse(a);if(d.length>5)return l;const m=$t.createTransformer(a),f=typeof d[0]!="number"?1:0,p=o.x.scale*i.x,x=o.y.scale*i.y;d[0+f]/=p,d[1+f]/=x;const g=Ve(p,x,.5);return typeof d[2+f]=="number"&&(d[2+f]/=g),typeof d[3+f]=="number"&&(d[3+f]/=g),m(d)}},Pu={borderRadius:{...Mi,applyTo:[...yd]},borderTopLeftRadius:Mi,borderTopRightRadius:Mi,borderBottomLeftRadius:Mi,borderBottomRightRadius:Mi,boxShadow:n2};function px(a,{layout:i,layoutId:o}){return Es.has(a)||a.startsWith("origin")||(i||o!==void 0)&&(!!Pu[a]||a==="opacity")}function Ad(a,i,o){var f;const l=a.style,d=i==null?void 0:i.style,m={};if(!l)return m;for(const p in l)(ht(l[p])||d&&ht(d[p])||px(p,a)||((f=o==null?void 0:o.getValue(p))==null?void 0:f.liveStyle)!==void 0)&&(m[p]=l[p]);return m}function a2(a){return window.getComputedStyle(a)}class s2 extends cx{constructor(){super(...arguments),this.type="html",this.renderInstance=mx}readValueFromInstance(i,o){var l;if(Es.has(o))return(l=this.projection)!=null&&l.isProjecting?Du(o):T1(i,o);{const d=a2(i),m=(Tg(o)?d.getPropertyValue(o):d[o])||0;return typeof m=="string"?m.trim():m}}measureInstanceViewportBox(i,{transformPagePoint:o}){return hx(i,o)}build(i,o,l){Td(i,o,l.transformTemplate)}scrapeMotionValuesFromProps(i,o,l){return Ad(i,o,l)}}const i2={offset:"stroke-dashoffset",array:"stroke-dasharray"},l2={offset:"strokeDashoffset",array:"strokeDasharray"};function r2(a,i,o=1,l=0,d=!0){a.pathLength=1;const m=d?i2:l2;a[m.offset]=`${-l}`,a[m.array]=`${i} ${o}`}const o2=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function gx(a,{attrX:i,attrY:o,attrScale:l,pathLength:d,pathSpacing:m=1,pathOffset:f=0,...p},x,g,v){if(Td(a,p,g),x){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:b,style:S}=a;b.transform&&(S.transform=b.transform,delete b.transform),(S.transform||b.transformOrigin)&&(S.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),S.transform&&(S.transformBox=(v==null?void 0:v.transformBox)??"fill-box",delete b.transformBox);for(const E of o2)b[E]!==void 0&&(S[E]=b[E],delete b[E]);i!==void 0&&(b.x=i),o!==void 0&&(b.y=o),l!==void 0&&(b.scale=l),d!==void 0&&r2(b,d,m,f,!1)}const xx=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"]),yx=a=>typeof a=="string"&&a.toLowerCase()==="svg";function c2(a,i,o,l){mx(a,i,void 0,l);for(const d in i.attrs)a.setAttribute(xx.has(d)?d:xd(d),i.attrs[d])}function vx(a,i,o){const l=Ad(a,i,o);for(const d in a)if(ht(a[d])||ht(i[d])){const m=ws.indexOf(d)!==-1?"attr"+d.charAt(0).toUpperCase()+d.substring(1):d;l[m]=a[d]}return l}class u2 extends cx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=at}getBaseTargetFromProps(i,o){return i[o]}readValueFromInstance(i,o){if(Es.has(o)){const l=$g(o);return l&&l.default||0}return o=xx.has(o)?o:xd(o),i.getAttribute(o)}scrapeMotionValuesFromProps(i,o,l){return vx(i,o,l)}build(i,o,l){gx(i,o,this.isSVGTag,l.transformTemplate,l.style)}renderInstance(i,o,l,d){c2(i,o,l,d)}mount(i){this.isSVGTag=yx(i.tagName),super.mount(i)}}const d2=Nd.length;function bx(a){if(!a)return;if(!a.isControllingVariants){const o=a.parent?bx(a.parent)||{}:{};return a.props.initial!==void 0&&(o.initial=a.props.initial),o}const i={};for(let o=0;o<d2;o++){const l=Nd[o],d=a.props[l];(Li(d)||d===!1)&&(i[l]=d)}return i}function Sx(a,i){if(!Array.isArray(i))return!1;const o=i.length;if(o!==a.length)return!1;for(let l=0;l<o;l++)if(i[l]!==a[l])return!1;return!0}const f2=[...jd].reverse(),h2=jd.length;function m2(a){return i=>Promise.all(i.map(({animation:o,options:l})=>dS(a,o,l)))}function p2(a){let i=m2(a),o=p0(),l=!0,d=!1;const m=g=>(v,b)=>{var E;const S=Da(a,b,g==="exit"?(E=a.presenceContext)==null?void 0:E.custom:void 0);if(S){const{transition:M,transitionEnd:B,...w}=S;v={...v,...w,...B}}return v};function f(g){i=g(a)}function p(g){const{props:v}=a,b=bx(a.parent)||{},S=[],E=new Set;let M={},B=1/0;for(let R=0;R<h2;R++){const Y=f2[R],L=o[Y],G=v[Y]!==void 0?v[Y]:b[Y],X=Li(G),te=Y===g?L.isActive:null;te===!1&&(B=R);let K=G===b[Y]&&G!==v[Y]&&X;if(K&&(l||d)&&a.manuallyAnimateOnMount&&(K=!1),L.protectedKeys={...M},!L.isActive&&te===null||!G&&!L.prevProp||_r(G)||typeof G=="boolean")continue;if(Y==="exit"&&L.isActive&&te!==!0){L.prevResolvedValues&&(M={...M,...L.prevResolvedValues});continue}const P=g2(L.prevProp,G);let ae=P||Y===g&&L.isActive&&!K&&X||R>B&&X,F=!1;const le=Array.isArray(G)?G:[G];let I=le.reduce(m(Y),{});te===!1&&(I={});const{prevResolvedValues:Le={}}=L,Me={...Le,...I},Ce=Z=>{ae=!0,E.has(Z)&&(F=!0,E.delete(Z)),L.needsAnimating[Z]=!0;const re=a.getValue(Z);re&&(re.liveStyle=!1)};for(const Z in Me){const re=I[Z],ue=Le[Z];if(M.hasOwnProperty(Z))continue;let N=!1;Vu(re)&&Vu(ue)?N=!Sx(re,ue)||P:N=re!==ue,N?re!=null?Ce(Z):E.add(Z):re!==void 0&&E.has(Z)?Ce(Z):L.protectedKeys[Z]=!0}L.prevProp=G,L.prevResolvedValues=I,L.isActive&&(M={...M,...I}),(l||d)&&a.blockInitialAnimation&&(ae=!1);const O=K&&P;ae&&(!O||F)&&S.push(...le.map(Z=>{const re={type:Y};if(typeof Z=="string"&&(l||d)&&!O&&a.manuallyAnimateOnMount&&a.parent){const{parent:ue}=a,N=Da(ue,Z);if(ue.enteringChildren&&N){const{delayChildren:U}=N.transition||{};re.delay=Xg(ue.enteringChildren,a,U)}}return{animation:Z,options:re}}))}if(E.size){const R={};if(typeof v.initial!="boolean"){const Y=Da(a,Array.isArray(v.initial)?v.initial[0]:v.initial);Y&&Y.transition&&(R.transition=Y.transition)}E.forEach(Y=>{const L=a.getBaseTarget(Y),G=a.getValue(Y);G&&(G.liveStyle=!0),R[Y]=L??null}),S.push({animation:R})}let w=!!S.length;return l&&(v.initial===!1||v.initial===v.animate)&&!a.manuallyAnimateOnMount&&(w=!1),l=!1,d=!1,w?i(S):Promise.resolve()}function x(g,v){var S;if(o[g].isActive===v)return Promise.resolve();(S=a.variantChildren)==null||S.forEach(E=>{var M;return(M=E.animationState)==null?void 0:M.setActive(g,v)}),o[g].isActive=v;const b=p(g);for(const E in o)o[E].protectedKeys={};return b}return{animateChanges:p,setActive:x,setAnimateFunction:f,getState:()=>o,reset:()=>{o=p0(),d=!0}}}function g2(a,i){return typeof i=="string"?i!==a:Array.isArray(i)?!Sx(i,a):!1}function Aa(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function p0(){return{animate:Aa(!0),whileInView:Aa(),whileHover:Aa(),whileTap:Aa(),whileDrag:Aa(),whileFocus:Aa(),exit:Aa()}}function Ku(a,i){a.min=i.min,a.max=i.max}function It(a,i){Ku(a.x,i.x),Ku(a.y,i.y)}function g0(a,i){a.translate=i.translate,a.scale=i.scale,a.originPoint=i.originPoint,a.origin=i.origin}const jx=1e-4,x2=1-jx,y2=1+jx,Nx=.01,v2=0-Nx,b2=0+Nx;function xt(a){return a.max-a.min}function S2(a,i,o){return Math.abs(a-i)<=o}function x0(a,i,o,l=.5){a.origin=l,a.originPoint=Ve(i.min,i.max,a.origin),a.scale=xt(o)/xt(i),a.translate=Ve(o.min,o.max,a.origin)-a.originPoint,(a.scale>=x2&&a.scale<=y2||isNaN(a.scale))&&(a.scale=1),(a.translate>=v2&&a.translate<=b2||isNaN(a.translate))&&(a.translate=0)}function Ri(a,i,o,l){x0(a.x,i.x,o.x,l?l.originX:void 0),x0(a.y,i.y,o.y,l?l.originY:void 0)}function y0(a,i,o,l=0){const d=l?Ve(o.min,o.max,l):o.min;a.min=d+i.min,a.max=a.min+xt(i)}function j2(a,i,o,l){y0(a.x,i.x,o.x,l==null?void 0:l.x),y0(a.y,i.y,o.y,l==null?void 0:l.y)}function v0(a,i,o,l=0){const d=l?Ve(o.min,o.max,l):o.min;a.min=i.min-d,a.max=a.min+xt(i)}function kr(a,i,o,l){v0(a.x,i.x,o.x,l==null?void 0:l.x),v0(a.y,i.y,o.y,l==null?void 0:l.y)}function b0(a,i,o,l,d){return a-=i,a=Dr(a,1/o,l),d!==void 0&&(a=Dr(a,1/d,l)),a}function N2(a,i=0,o=1,l=.5,d,m=a,f=a){if(rn.test(i)&&(i=parseFloat(i),i=Ve(f.min,f.max,i/100)-f.min),typeof i!="number")return;let p=Ve(m.min,m.max,l);a===m&&(p-=i),a.min=b0(a.min,i,o,p,d),a.max=b0(a.max,i,o,p,d)}function S0(a,i,[o,l,d],m,f){N2(a,i[o],i[l],i[d],i.scale,m,f)}const T2=["x","scaleX","originX"],A2=["y","scaleY","originY"];function j0(a,i,o,l){S0(a.x,i,T2,o?o.x:void 0,l?l.x:void 0),S0(a.y,i,A2,o?o.y:void 0,l?l.y:void 0)}function N0(a){return a.translate===0&&a.scale===1}function Tx(a){return N0(a.x)&&N0(a.y)}function T0(a,i){return a.min===i.min&&a.max===i.max}function w2(a,i){return T0(a.x,i.x)&&T0(a.y,i.y)}function A0(a,i){return Math.round(a.min)===Math.round(i.min)&&Math.round(a.max)===Math.round(i.max)}function Ax(a,i){return A0(a.x,i.x)&&A0(a.y,i.y)}function w0(a){return xt(a.x)/xt(a.y)}function E0(a,i){return a.translate===i.translate&&a.scale===i.scale&&a.originPoint===i.originPoint}function sn(a){return[a("x"),a("y")]}function E2(a,i,o){let l="";const d=a.x.translate/i.x,m=a.y.translate/i.y,f=(o==null?void 0:o.z)||0;if((d||m||f)&&(l=`translate3d(${d}px, ${m}px, ${f}px) `),(i.x!==1||i.y!==1)&&(l+=`scale(${1/i.x}, ${1/i.y}) `),o){const{transformPerspective:g,rotate:v,pathRotation:b,rotateX:S,rotateY:E,skewX:M,skewY:B}=o;g&&(l=`perspective(${g}px) ${l}`),v&&(l+=`rotate(${v}deg) `),b&&(l+=`rotate(${b}deg) `),S&&(l+=`rotateX(${S}deg) `),E&&(l+=`rotateY(${E}deg) `),M&&(l+=`skewX(${M}deg) `),B&&(l+=`skewY(${B}deg) `)}const p=a.x.scale*i.x,x=a.y.scale*i.y;return(p!==1||x!==1)&&(l+=`scale(${p}, ${x})`),l||"none"}const M2=yd.length,M0=a=>typeof a=="string"?parseFloat(a):a,C0=a=>typeof a=="number"||ee.test(a);function C2(a,i,o,l,d,m){d?(a.opacity=Ve(0,o.opacity??1,D2(l)),a.opacityExit=Ve(i.opacity??1,0,k2(l))):m&&(a.opacity=Ve(i.opacity??1,o.opacity??1,l));for(let f=0;f<M2;f++){const p=yd[f];let x=D0(i,p),g=D0(o,p);if(x===void 0&&g===void 0)continue;x||(x=0),g||(g=0),x===0||g===0||C0(x)===C0(g)?(a[p]=Math.max(Ve(M0(x),M0(g),l),0),(rn.test(g)||rn.test(x))&&(a[p]+="%")):a[p]=g}(i.rotate||o.rotate)&&(a.rotate=Ve(i.rotate||0,o.rotate||0,l))}function D0(a,i){return a[i]!==void 0?a[i]:a.borderRadius}const D2=wx(0,.5,yg),k2=wx(.5,.95,Kt);function wx(a,i,o){return l=>l<a?0:l>i?1:o(Vi(a,i,l))}function R2(a,i,o){const l=ht(a)?a:Ts(a);return l.start(pd("",l,i,o)),l.animation}function Ui(a,i,o,l={passive:!0}){return a.addEventListener(i,o,l),()=>a.removeEventListener(i,o,l)}const O2=(a,i)=>a.depth-i.depth;class z2{constructor(){this.children=[],this.isDirty=!1}add(i){nd(this.children,i),this.isDirty=!0}remove(i){Nr(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(O2),this.isDirty=!1,this.children.forEach(i)}}function _2(a,i){const o=gt.now(),l=({timestamp:d})=>{const m=d-o;m>=i&&(ia(l),a(m-i))};return Be.setup(l,!0),()=>ia(l)}function Sr(a){return ht(a)?a.get():a}class V2{constructor(){this.members=[]}add(i){nd(this.members,i);for(let o=this.members.length-1;o>=0;o--){const l=this.members[o];if(l===i||l===this.lead||l===this.prevLead)continue;const d=l.instance;(!d||d.isConnected===!1)&&!l.snapshot&&(Nr(this.members,l),l.unmount())}i.scheduleRender()}remove(i){if(Nr(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(i){var o;for(let l=this.members.indexOf(i)-1;l>=0;l--){const d=this.members[l];if(d.isPresent!==!1&&((o=d.instance)==null?void 0:o.isConnected)!==!1)return this.promote(d),!0}return!1}promote(i,o){var d;const l=this.lead;if(i!==l&&(this.prevLead=l,this.lead=i,i.show(),l)){l.updateSnapshot(),i.scheduleRender();const{layoutDependency:m}=l.options,{layoutDependency:f}=i.options;(m===void 0||m!==f)&&(i.resumeFrom=l,o&&(l.preserveOpacity=!0),l.snapshot&&(i.snapshot=l.snapshot,i.snapshot.latestValues=l.animationValues||l.latestValues),(d=i.root)!=null&&d.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&l.hide()}}exitAnimationComplete(){this.members.forEach(i=>{var o,l,d,m,f;(l=(o=i.options).onExitComplete)==null||l.call(o),(f=(d=i.resumingFrom)==null?void 0:(m=d.options).onExitComplete)==null||f.call(m)})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){var i;(i=this.lead)!=null&&i.snapshot&&(this.lead.snapshot=void 0)}}const jr={hasAnimatedSinceResize:!0,hasEverUpdated:!1},pu=["","X","Y","Z"],B2=1e3;let L2=0;function gu(a,i,o,l){const{latestValues:d}=i;d[a]&&(o[a]=d[a],i.setStaticValue(a,0),l&&(l[a]=0))}function Ex(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:i}=a.options;if(!i)return;const o=Jg(i);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:d,layoutId:m}=a.options;window.MotionCancelOptimisedAnimation(o,"transform",Be,!(d||m))}const{parent:l}=a;l&&!l.hasCheckedOptimisedAppear&&Ex(l)}function Mx({attachResizeListener:a,defaultParent:i,measureScroll:o,checkIsScrollRoot:l,resetTransform:d}){return class{constructor(f={},p=i==null?void 0:i()){this.id=L2++,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,this.nodes.forEach(G2),this.nodes.forEach(Q2),this.nodes.forEach(Z2),this.nodes.forEach(q2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let x=0;x<this.path.length;x++)this.path[x].shouldResetTransform=!0;this.root===this&&(this.nodes=new z2)}addEventListener(f,p){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new sd),this.eventHandlers.get(f).add(p)}notifyListeners(f,...p){const x=this.eventHandlers.get(f);x&&x.notify(...p)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=Sd(f)&&!HS(f),this.instance=f;const{layoutId:p,layout:x,visualElement:g}=this.options;if(g&&!g.current&&g.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(x||p)&&(this.isLayoutDirty=!0),a){let v,b=0;const S=()=>this.root.updateBlockedByResize=!1;Be.read(()=>{b=window.innerWidth}),a(f,()=>{const E=window.innerWidth;E!==b&&(b=E,this.root.updateBlockedByResize=!0,v&&v(),v=_2(S,250),jr.hasAnimatedSinceResize&&(jr.hasAnimatedSinceResize=!1,this.nodes.forEach(O0)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&g&&(p||x)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:S,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const M=this.options.transition||g.getDefaultTransition()||$2,{onLayoutAnimationStart:B,onLayoutAnimationComplete:w}=g.getProps(),R=!this.targetLayout||!Ax(this.targetLayout,E),Y=!b&&S;if(this.options.layoutRoot||this.resumeFrom||Y||b&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...md(M,"layout"),onPlay:B,onComplete:w};(g.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(v,Y,L.path)}else b||O0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ia(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(J2),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ex(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const b=this.path[v];b.shouldResetTransform=!0,(typeof b.latestValues.x=="string"||typeof b.latestValues.y=="string")&&(b.isLayoutDirty=!0),b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:p,layout:x}=this.options;if(p===void 0&&!x)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const x=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),x&&this.nodes.forEach(X2),this.nodes.forEach(k0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(R0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(P2),this.nodes.forEach(K2),this.nodes.forEach(U2),this.nodes.forEach(H2)):this.nodes.forEach(R0),this.clearAllSnapshots();const p=gt.now();ft.delta=cn(0,1e3/60,p-ft.timestamp),ft.timestamp=p,ft.isProcessing=!0,ru.update.process(ft),ru.preRender.process(ft),ru.render.process(ft),ft.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,vd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Y2),this.sharedNodes.forEach(F2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Be.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Be.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!xt(this.snapshot.measuredBox.x)&&!xt(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 x=0;x<this.path.length;x++)this.path[x].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=at()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(p=!1),p&&this.instance){const x=l(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:x,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:x}}}resetTransform(){if(!d)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!Tx(this.projectionDelta),x=this.getTransformTemplate(),g=x?x(this.latestValues,""):void 0,v=g!==this.prevTransformTemplateValue;f&&this.instance&&(p||wa(this.latestValues)||v)&&(d(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const p=this.measurePageBox();let x=this.removeElementScroll(p);return f&&(x=this.removeTransform(x)),e5(x),{animationId:this.root.animationId,measuredBox:p,layoutBox:x,latestValues:{},source:this.id}}measurePageBox(){var g;const{visualElement:f}=this.options;if(!f)return at();const p=f.measureViewportBox();if(!(((g=this.scroll)==null?void 0:g.wasRoot)||this.path.some(t5))){const{scroll:v}=this.root;v&&(ln(p.x,v.offset.x),ln(p.y,v.offset.y))}return p}removeElementScroll(f){var x;const p=at();
49if(It(p,f),(x=this.scroll)!=null&&x.wasRoot)return p;for(let g=0;g<this.path.length;g++){const v=this.path[g],{scroll:b,options:S}=v;v!==this.root&&b&&S.layoutScroll&&(b.wasRoot&&It(p,f),ln(p.x,b.offset.x),ln(p.y,b.offset.y))}return p}applyTransform(f,p=!1,x){var v,b;const g=x||at();It(g,f);for(let S=0;S<this.path.length;S++){const E=this.path[S];!p&&E.options.layoutScroll&&E.scroll&&E!==E.root&&(ln(g.x,-E.scroll.offset.x),ln(g.y,-E.scroll.offset.y)),wa(E.latestValues)&&br(g,E.latestValues,(v=E.layout)==null?void 0:v.layoutBox)}return wa(this.latestValues)&&br(g,this.latestValues,(b=this.layout)==null?void 0:b.layoutBox),g}removeTransform(f){var x;const p=at();It(p,f);for(let g=0;g<this.path.length;g++){const v=this.path[g];if(!wa(v.latestValues))continue;let b;v.instance&&(Yu(v.latestValues)&&v.updateSnapshot(),b=at(),It(b,v.measurePageBox())),j0(p,v.latestValues,(x=v.snapshot)==null?void 0:x.layoutBox,b)}return wa(this.latestValues)&&j0(p,this.latestValues),p}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}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!==ft.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){var E;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==p;if(!(f||x&&this.isSharedProjectionDirty||this.isProjectionDirty||(E=this.parent)!=null&&E.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:b}=this.options;if(!this.layout||!(v||b))return;this.resolvedRelativeTargetAt=ft.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=at(),this.targetWithTransforms=at()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),j2(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):It(this.target,this.layout.layoutBox),fx(this.target,this.targetDelta)):It(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Yu(this.parent.latestValues)||dx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,p,x){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=at(),this.relativeTargetOrigin=at(),kr(this.relativeTargetOrigin,p,x,this.options.layoutAnchor||void 0),It(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var M;const f=this.getLead(),p=!!this.resumingFrom||this!==f;let x=!0;if((this.isProjectionDirty||(M=this.parent)!=null&&M.isProjectionDirty)&&
vendor: 10,221 bytes, line 49
49(x=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===ft.timestamp&&(x=!1),x)return;const{layout:g,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||v))return;It(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,S=this.treeScale.y;IS(this.layoutCorrected,this.treeScale,this.path,p),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=at());const{target:E}=f;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(g0(this.prevProjectionDelta.x,this.projectionDelta.x),g0(this.prevProjectionDelta.y,this.projectionDelta.y)),Ri(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==S||!E0(this.projectionDelta.x,this.prevProjectionDelta.x)||!E0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){var p;if((p=this.options.visualElement)==null||p.scheduleRender(),f){const x=this.getStack();x&&x.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=js(),this.projectionDelta=js(),this.projectionDeltaWithTransform=js()}setAnimationOrigin(f,p=!1,x){const g=this.snapshot,v=g?g.latestValues:{},b={...this.latestValues},S=js();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const E=at(),M=g?g.source:void 0,B=this.layout?this.layout.source:void 0,w=M!==B,R=this.getStack(),Y=!R||R.members.length<=1,L=!!(w&&!Y&&this.options.crossfade===!0&&!this.path.some(W2));this.animationProgress=0;let G;const X=x==null?void 0:x.interpolateProjection(f);this.mixTargetDelta=te=>{const K=te/1e3,P=X==null?void 0:X(K);P?(S.x.translate=P.x,S.x.scale=Ve(f.x.scale,1,K),S.x.origin=f.x.origin,S.x.originPoint=f.x.originPoint,S.y.translate=P.y,S.y.scale=Ve(f.y.scale,1,K),S.y.origin=f.y.origin,S.y.originPoint=f.y.originPoint):(z0(S.x,f.x,K),z0(S.y,f.y,K)),this.setTargetDelta(S),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(kr(E,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),I2(this.relativeTarget,this.relativeTargetOrigin,E,K),G&&w2(this.relativeTarget,G)&&(this.isProjectionDirty=!1),G||(G=at()),It(G,this.relativeTarget)),w&&(this.animationValues=b,C2(b,v,this.latestValues,K,L,Y)),P&&P.rotate!==void 0&&(this.animationValues||(this.animationValues=b),this.animationValues.pathRotation=P.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){var p,x,g;this.notifyListeners("animationStart"),(p=this.currentAnimation)==null||p.stop(),(g=(x=this.resumingFrom)==null?void 0:x.currentAnimation)==null||g.stop(),this.pendingAnimation&&(ia(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Be.update(()=>{jr.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ts(0)),this.motionValue.jump(0,!1),this.currentAnimation=R2(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:v=>{this.mixTargetDelta(v),f.onUpdate&&f.onUpdate(v)},onComplete:()=>{f.onComplete&&f.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(B2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:p,target:x,layout:g,latestValues:v}=f;if(!(!p||!x||!g)){if(this!==f&&this.layout&&g&&Cx(this.options.animationType,this.layout.layoutBox,g.layoutBox)){x=this.target||at();const b=xt(this.layout.layoutBox.x);x.x.min=f.target.x.min,x.x.max=x.x.min+b;const S=xt(this.layout.layoutBox.y);x.y.min=f.target.y.min,x.y.max=x.y.min+S}It(p,x),br(p,v),Ri(this.projectionDeltaWithTransform,this.layoutCorrected,p,v)}}registerSharedNode(f,p){this.sharedNodes.has(f)||this.sharedNodes.set(f,new V2),this.sharedNodes.get(f).add(p);const g=p.options.initialPromotionConfig;p.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(p):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){var p;const{layoutId:f}=this.options;return f?((p=this.getStack())==null?void 0:p.lead)||this:this}getPrevLead(){var p;const{layoutId:f}=this.options;return f?(p=this.getStack())==null?void 0:p.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:p,preserveFollowOpacity:x}={}){const g=this.getStack();g&&g.promote(this,x),f&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let p=!1;const{latestValues:x}=f;if((x.z||x.rotate||x.rotateX||x.rotateY||x.rotateZ||x.skewX||x.skewY)&&(p=!0),!p)return;const g={};x.z&&gu("z",f,g,this.animationValues);for(let v=0;v<pu.length;v++)gu(`rotate${pu[v]}`,f,g,this.animationValues),gu(`skew${pu[v]}`,f,g,this.animationValues);f.render();for(const v in g)f.setStaticValue(v,g[v]),this.animationValues&&(this.animationValues[v]=g[v]);f.scheduleRender()}applyProjectionStyles(f,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const x=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=Sr(p==null?void 0:p.pointerEvents)||"",f.transform=x?x(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=Sr(p==null?void 0:p.pointerEvents)||""),this.hasProjected&&!wa(this.latestValues)&&(f.transform=x?x({},""):"none",this.hasProjected=!1);return}f.visibility="";const v=g.animationValues||g.latestValues;this.applyTransformsToTarget();let b=E2(this.projectionDeltaWithTransform,this.treeScale,v);x&&(b=x(v,b)),f.transform=b;const{x:S,y:E}=this.projectionDelta;f.transformOrigin=`${S.origin*100}% ${E.origin*100}% 0`,g.animationValues?f.opacity=g===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:f.opacity=g===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const M in Pu){if(v[M]===void 0)continue;const{correct:B,applyTo:w,isCSSVariable:R}=Pu[M],Y=b==="none"?v[M]:B(v[M],g);if(w){const L=w.length;for(let G=0;G<L;G++)f[w[G]]=Y}else R?this.options.visualElement.renderState.vars[M]=Y:f[M]=Y}this.options.layoutId&&(f.pointerEvents=g===this?Sr(p==null?void 0:p.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>{var p;return(p=f.currentAnimation)==null?void 0:p.stop()}),this.root.nodes.forEach(k0),this.root.sharedNodes.clear()}}}function U2(a){a.updateLayout()}function H2(a){var o;const i=((o=a.resumeFrom)==null?void 0:o.snapshot)||a.snapshot;if(a.isLead()&&a.layout&&i&&a.hasListeners("didUpdate")){const{layoutBox:l,measuredBox:d}=a.layout,{animationType:m}=a.options,f=i.source!==a.layout.source;if(m==="size")sn(b=>{const S=f?i.measuredBox[b]:i.layoutBox[b],E=xt(S);S.min=l[b].min,S.max=S.min+E});else if(m==="x"||m==="y"){const b=m==="x"?"y":"x";Ku(f?i.measuredBox[b]:i.layoutBox[b],l[b])}else Cx(m,i.layoutBox,l)&&sn(b=>{const S=f?i.measuredBox[b]:i.layoutBox[b],E=xt(l[b]);S.max=S.min+E,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[b].max=a.relativeTarget[b].min+E)});const p=js();Ri(p,l,i.layoutBox);const x=js();f?Ri(x,a.applyTransform(d,!0),i.measuredBox):Ri(x,l,i.layoutBox);const g=!Tx(p);let v=!1;if(!a.resumeFrom){const b=a.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:S,layout:E}=b;if(S&&E){const M=a.options.layoutAnchor||void 0,B=at();kr(B,i.layoutBox,S.layoutBox,M);const w=at();kr(w,l,E.layoutBox,M),Ax(B,w)||(v=!0),b.options.layoutRoot&&(a.relativeTarget=w,a.relativeTargetOrigin=B,a.relativeParent=b)}}}a.notifyListeners("didUpdate",{layout:l,snapshot:i,delta:x,layoutDelta:p,hasLayoutChanged:g,hasRelativeLayoutChanged:v})}else if(a.isLead()){const{onExitComplete:l}=a.options;l&&l()}a.options.transition=void 0}function G2(a){a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function q2(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function Y2(a){a.clearSnapshot()}function k0(a){a.clearMeasurements()}function X2(a){a.isLayoutDirty=!0,a.updateLayout()}function R0(a){a.isLayoutDirty=!1}function P2(a){a.isAnimationBlocked&&a.layout&&!a.isLayoutDirty&&(a.snapshot=a.layout,a.isLayoutDirty=!0)}function K2(a){const{visualElement:i}=a.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),a.resetTransform()}function O0(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function Q2(a){a.resolveTargetDelta()}function Z2(a){a.calcProjection()}
49function J2(a){a.resetSkewAndRotation()}function F2(a){a.removeLeadSnapshot()}function z0(a,i,o){a.translate=Ve(i.translate,0,o),a.scale=Ve(i.scale,1,o),a.origin=i.origin,a.originPoint=i.originPoint}function _0(a,i,o,l){a.min=Ve(i.min,o.min,l),a.max=Ve(i.max,o.max,l)}function I2(a,i,o,l){_0(a.x,i.x,o.x,l),_0(a.y,i.y,o.y,l)}function W2(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const $2={duration:.45,ease:[.4,0,.1,1]},V0=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),B0=V0("applewebkit/")&&!V0("chrome/")?Math.round:Kt;function L0(a){a.min=B0(a.min),a.max=B0(a.max)}function e5(a){L0(a.x),L0(a.y)}function Cx(a,i,o){return a==="position"||a==="preserve-aspect"&&!S2(w0(i),w0(o),.2)}function t5(a){var i;return a!==a.root&&((i=a.scroll)==null?void 0:i.wasRoot)}const n5=Mx({attachResizeListener:(a,i)=>Ui(a,"resize",i),measureScroll:()=>{var a,i;return{x:document.documentElement.scrollLeft||((a=document.body)==null?void 0:a.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),xu={current:void 0},Dx=Mx({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!xu.current){const a=new n5({});a.mount(window),a.setOptions({layoutScroll:!0}),xu.current=a}return xu.current},resetTransform:(a,i)=>{a.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),wd=z.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});function U0(a,i){if(typeof a=="function")return a(i);a!=null&&(a.current=i)}function a5(...a){return i=>{let o=!1;const l=a.map(d=>{const m=U0(d,i);return!o&&typeof m=="function"&&(o=!0),m});if(o)return()=>{for(let d=0;d<l.length;d++){const m=l[d];typeof m=="function"?m():U0(a[d],null)}}}}function s5(...a){return z.useCallback(a5(...a),a)}class i5 extends z.Component{getSnapshotBeforeUpdate(i){const o=this.props.childRef.current;if(gr(o)&&i.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const l=o.offsetParent,d=gr(l)&&l.offsetWidth||0,m=gr(l)&&l.offsetHeight||0,f=getComputedStyle(o),p=this.props.sizeRef.current;p.height=parseFloat(f.height),p.width=parseFloat(f.width),p.top=o.offsetTop,p.left=o.offsetLeft,p.right=d-p.width-p.left,p.bottom=m-p.height-p.top,p.direction=f.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function l5({children:a,isPresent:i,anchorX:o,anchorY:l,root:d,pop:m}){var S;const f=z.useId(),p=z.useRef(null),x=z.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=z.useContext(wd),v=((S=a.props)==null?void 0:S.ref)??(a==null?void 0:a.ref),b=s5(p,v);return z.useInsertionEffect(()=>{const{width:E,height:M,top:B,left:w,right:R,bottom:Y,direction:L}=x.current;if(i||m===!1||!p.current||!E||!M)return;const G=L==="rtl",X=o==="left"?G?`right: ${R}`:`left: ${w}`:G?`left: ${w}`:`right: ${R}`,te=l==="bottom"?`bottom: ${Y}`:`top: ${B}`;p.current.dataset.motionPopId=f;const K=document.createElement("style");g&&(K.nonce=g);const P=d??document.head;return P.appendChild(K),K.sheet&&K.sheet.insertRule(` 50 [data-motion-pop-id="${f}"] { 51 position: absolute !important; 52 width: ${E}px !important; 53 height: ${M}px !important; 54 ${X}px !important; 55 ${te}px !important; 56 } 57 `),()=>{var ae;(ae=p.current)==null||ae.removeAttribute("data-motion-pop-id"),P.contains(K)&&P.removeChild(K)}},[i]),c.jsx(i5,{isPresent:i,childRef:p,sizeRef:x,pop:m,children:m===!1?a:z.cloneElement(a,{ref:b})})}const r5=({children:a,initial:i,isPresent:o,onExitComplete:l,custom:d,presenceAffectsLayout:m,mode:f,anchorX:p,anchorY:x,root:g})=>{const v=ed(o5),b=z.useId(),S=z.useRef(o),E=z.useRef(l);td(()=>{S.current=o,E.current=l});let M=!0,B=z.useMemo(()=>(M=!1,{id:b,initial:i,isPresent:o,custom:d,onExitComplete:w=>{v.set(w,!0);for(const R of v.values())if(!R)return;l&&l()},register:w=>(v.set(w,!1),()=>{var R;v.delete(w),!S.current&&!v.size&&((R=E.current)==null||R.call(E))})}),[o,v,l]);return m&&M&&(B={...B}),z.useMemo(()=>{v.forEach((w,R)=>v.set(R,!1))},[o]),z.useEffect(()=>{!o&&!v.size&&l&&l()},[o]),a=c.jsx(l5,{pop:f==="popLayout",isPresent:o,anchorX:p,anchorY:x,root:g,children:a}),c.jsx(Or.Provider,{value:B,children:a})};function o5(){return new Map}function kx(a=!0){const i=z.useContext(Or);if(i===null)return[!0,null];const{isPresent:o,onExitComplete:l,register:d}=i,m=z.useId();z.useEffect(()=>{if(a)return d(m)}
vendor: 4,721 bytes, line 57
57,[a]);const f=z.useCallback(()=>a&&l&&l(m),[m,l,a]);return!o&&l?[!1,f]:[!0]}const dr=a=>a.key||"";function H0(a){const i=[];return z.Children.forEach(a,o=>{z.isValidElement(o)&&i.push(o)}),i}const on=({children:a,custom:i,initial:o=!0,onExitComplete:l,presenceAffectsLayout:d=!0,mode:m="sync",propagate:f=!1,anchorX:p="left",anchorY:x="top",root:g})=>{const[v,b]=kx(f),S=z.useMemo(()=>H0(a),[a]),E=f&&!v?[]:S.map(dr),M=z.useRef(!0),B=z.useRef(S),w=ed(()=>new Map),R=z.useRef(new Set),[Y,L]=z.useState(S),[G,X]=z.useState(S);td(()=>{M.current=!1,B.current=S;for(let P=0;P<G.length;P++){const ae=dr(G[P]);E.includes(ae)?(w.delete(ae),R.current.delete(ae)):w.get(ae)!==!0&&w.set(ae,!1)}},[G,E.length,E.join("-")]);const te=[];if(S!==Y){let P=[...S];for(let ae=0;ae<G.length;ae++){const F=G[ae],le=dr(F);E.includes(le)||(P.splice(ae,0,F),te.push(F))}return m==="wait"&&te.length&&(P=te),X(H0(P)),L(S),null}const{forceRender:K}=z.useContext($u);return c.jsx(c.Fragment,{children:G.map(P=>{const ae=dr(P),F=f&&!v?!1:S===G||E.includes(ae),le=()=>{if(R.current.has(ae))return;if(w.has(ae))R.current.add(ae),w.set(ae,!0);else return;let I=!0;w.forEach(Le=>{Le||(I=!1)}),I&&(K==null||K(),X(B.current),f&&(b==null||b()),l&&l())};return c.jsx(r5,{isPresent:F,initial:!M.current||o?void 0:!1,custom:i,presenceAffectsLayout:d,mode:m,root:g,onExitComplete:F?void 0:le,anchorX:p,anchorY:x,children:P},ae)})})},Rx=z.createContext({strict:!1}),G0={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"]};let q0=!1;function c5(){if(q0)return;const a={};for(const i in G0)a[i]={isEnabled:o=>G0[i].some(l=>!!o[l])};ox(a),q0=!0}function Ox(){return c5(),QS()}function u5(a){const i=Ox();for(const o in a)i[o]={...i[o],...a[o]};ox(i)}const d5=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Rr(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||d5.has(a)}let zx=a=>!Rr(a);function f5(a){typeof a=="function"&&(zx=i=>i.startsWith("on")?!Rr(i):a(i))}try{f5(require("@emotion/is-prop-valid").default)}catch{}function h5(a,i,o){const l={};for(const d in a)d==="values"&&typeof a.values=="object"||ht(a[d])||(zx(d)||o===!0&&Rr(d)||!i&&!Rr(d)||a.draggable&&d.startsWith("onDrag"))&&(l[d]=a[d]);return l}const Br=z.createContext({});function m5(a,i){if(Vr(a)){const{initial:o,animate:l}=a;return{initial:o===!1||Li(o)?o:void 0,animate:Li(l)?l:void 0}}return a.inherit!==!1?i:{}}function p5(a){const{initial:i,animate:o}=m5(a,z.useContext(Br));return z.useMemo(()=>({initial:i,animate:o}),[Y0(i),Y0(o)])}function Y0(a){return Array.isArray(a)?a.join(" "):a}const Ed=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _x(a,i,o){for(const l in i)!ht(i[l])&&!px(l,o)&&(a[l]=i[l])}function g5({transformTemplate:a},i){return z.useMemo(()=>{const o=Ed();return Td(o,i,a),Object.assign({},o.vars,o.style)},[i])}function x5(a,i){const o=a.style||{},l={};return _x(l,o,a),Object.assign(l,g5(a,i)),l}function y5(a,i){const o={},l=x5(a,i);return a.drag&&a.dragListener!==!1&&(o.draggable=!1,l.userSelect=l.WebkitUserSelect=l.WebkitTouchCallout="none",l.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(o.tabIndex=0),o.style=l,o}const Vx=()=>({...Ed(),attrs:{}});function v5(a,i,o,l){const d=z.useMemo(()=>{const m=Vx();return gx(m,i,yx(l),a.transformTemplate,a.style),{...m.attrs,style:{...m.style}}},[i]);if(a.style){const m={};_x(m,a.style,a),d.style={...m,...d.style}}return d}const b5=["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 Md(a){return typeof a!="string"||a.includes("-")?!1:!!(b5.indexOf(a)>-1||/[A-Z]/u.test(a))}function S5(a,i,o,{latestValues:l},d,m=!1,f){const x=(f??Md(a)?v5:y5)(i,l,d,a),g=h5(i,typeof a=="str
57ing",m),v=a!==z.Fragment?{...g,...x,ref:o}:{},{children:b}=i,S=z.useMemo(()=>ht(b)?b.get():b,[b]);return z.createElement(a,{...v,children:S})}function j5({scrapeMotionValuesFromProps:a,createRenderState:i},o,l,d){return{latestValues:N5(o,l,d,a),renderState:i()}}function N5(a,i,o,l){const d={},m=l(a,{});for(const S in m)d[S]=Sr(m[S]);let{initial:f,animate:p}=a;const x=Vr(a),g=lx(a);i&&g&&!x&&a.inherit!==!1&&(f===void 0&&(f=i.initial),p===void 0&&(p=i.animate));let v=o?o.initial===!1:!1;v=v||f===!1;const b=v?p:f;if(b&&typeof b!="boolean"&&!_r(b)){const S=Array.isArray(b)?b:[b];for(let E=0;E<S.length;E++){const M=gd(a,S[E]);if(M){const{transitionEnd:B,transition:w,...R}=M;for(const Y in R){let L=R[Y];if(Array.isArray(L)){const G=v?L.length-1:0;L=L[G]}L!==null&&(d[Y]=L)}for(const Y in B)d[Y]=B[Y]}}}return d}const Bx=a=>(i,o)=>{const l=z.useContext(Br),d=z.useContext(Or),m=()=>j5(a,i,l,d);return o?m():ed(m)},T5=Bx({scrapeMotionValuesFromProps:Ad,createRenderState:Ed}),A5=Bx({scrapeMotionValuesFromProps:vx,createRenderState:Vx}),w5=Symbol.for("motionComponentSymbol");function E5(a,i,o){const l=z.useRef(o);z.useInsertionEffect(()=>{l.current=o});const d=z.useRef(null);return z.useCallback(m=>{var p;m&&((p=a.onMount)==null||p.call(a,m)),i&&(m?i.mount(m):i.unmount());const f=l.current;if(typeof f=="function")if(m){const x=f(m);typeof x=="function"&&(d.current=x)}else d.current?(d.current(),d.current=null):f(m);else f&&(f.current=m)},[i])}const Lx=z.createContext({});function vs(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function M5(a,i,o,l,d,m){var L,G;const{visualElement:f}=z.useContext(Br),p=z.useContext(Rx),x=z.useContext(Or),g=z.useContext(wd),v=g.reducedMotion,b=g.skipAnimations,S=z.useRef(null),E=z.useRef(!1);l=l||p.renderer,!S.current&&l&&(S.current=l(a,{visualState:i,parent:f,props:o,presenceContext:x,blockInitialAnimation:x?x.initial===!1:!1,reducedMotionConfig:v,skipAnimations:b,isSVG:m}),E.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const M=S.current,B=z.useContext(Lx);M&&!M.projection&&d&&(M.type==="html"||M.type==="svg")&&C5(S.current,o,d,B);const w=z.useRef(!1);z.useInsertionEffect(()=>{M&&w.current&&M.update(o,x)});const R=o[Zg],Y=z.useRef(!!R&&typeof window<"u"&&!((L=window.MotionHandoffIsComplete)!=null&&L.call(window,R))&&((G=window.MotionHasOptimisedAnimation)==null?void 0:G.call(window,R)));return td(()=>{E.current=!0,M&&(w.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),M.scheduleRenderMicrotask(),Y.current&&M.animationState&&M.animationState.animateChanges())}),z.useEffect(()=>{M&&(!Y.current&&M.animationState&&M.animationState.animateChanges(),Y.current&&(queueMicrotask(()=>{var X;(X=window.MotionHandoffMarkAsComplete)==null||X.call(window,R)}),Y.current=!1),M.enteringChildren=void 0)}),M}function C5(a,i,o,l){const{layoutId:d,layout:m,drag:f,dragConstraints:p,layoutScroll:x,layoutRoot:g,layoutAnchor:v,layoutCrossfade:b}=i;a.projection=new o(a.latestValues,i["data-framer-portal-id"]?void 0:Ux(a.parent)),a.projection.setOptions({layoutId:d,layout:m,alwaysMeasureLayout:!!f||p&&vs(p),visualElement:a,animationType:typeof m=="string"?m:"both",initialPromotionConfig:l,crossfade:b,layoutScroll:x,layoutRoot:g,layoutAnchor:v})}function Ux(a){if(a)return a.options.allowProjection!==!1?a.projection:Ux(a.parent)}function yu(a,{forwardMotionProps:i=!1,type:o}={},l,d){l&&u5(l);const m=o?o==="svg":Md(a),f=m?A5:T5;function p(g,v){let b;const S={...z.useContext(wd),...g,layoutId:D5(g)},{isStatic:E}=S,M=p5(g),B=f(g,E);if(!E&&typeof window<"u"){k5();const w=R5(S);b=w.MeasureLayout,M.visualElement=M5(a,B,S,d,w.ProjectionNode,m)}return c.jsxs(Br.Provider,{value:M,children:[b&&M.visualElement?c.jsx(b,{visualElement:M.visualElement,...S}):null,S5(a,g,E5(B,M.visualElement,v),B,E,i,m)]})}p.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const x=z.forwardRef(p);return x[w5]=a,x}function D5({layoutId:a}){const i=z.useContext($u).id;return i&&a!==void 0?i+"-"+a:a}function k5(a,i){z.useContext(Rx).strict}function R5(a){const i=Ox(),{drag:o,layout:l}=i;if(!o&&!l)return{};const d={...o,...l};return{MeasureLayout:o!=null&&o.isEnabled(a)||l!=null&&l.isEnabled(a)?d.MeasureLayout:void 0,ProjectionNode:d.ProjectionNode}}
vendor: 20,057 bytes, line 57
57function O5(a,i){if(typeof Proxy>"u")return yu;const o=new Map,l=(m,f)=>yu(m,f,a,i),d=(m,f)=>l(m,f);return new Proxy(d,{get:(m,f)=>f==="create"?l:(o.has(f)||o.set(f,yu(f,void 0,a,i)),o.get(f))})}const z5=(a,i)=>i.isSVG??Md(a)?new u2(i):new s2(i,{allowProjection:a!==z.Fragment});class _5 extends la{constructor(i){super(i),i.animationState||(i.animationState=p2(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();_r(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:o}=this.node.prevProps||{};i!==o&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)==null||i.call(this)}}let V5=0;class B5 extends la{constructor(){super(...arguments),this.id=V5++,this.isExitComplete=!1}update(){var m;if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:o}=this.node.presenceContext,{isPresent:l}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===l)return;if(i&&l===!1){if(this.isExitComplete){const{initial:f,custom:p}=this.node.getProps();if(typeof f=="string"||typeof f=="object"&&f!==null&&!Array.isArray(f)){const x=Da(this.node,f,p);if(x){const{transition:g,transitionEnd:v,...b}=x;for(const S in b)(m=this.node.getValue(S))==null||m.jump(b[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const d=this.node.animationState.setActive("exit",!i);o&&!i&&d.then(()=>{this.isExitComplete=!0,o(this.id)})}mount(){const{register:i,onExitComplete:o}=this.node.presenceContext||{};o&&o(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const L5={animation:{Feature:_5},exit:{Feature:B5}};function Yi(a){return{point:{x:a.pageX,y:a.pageY}}}const U5=a=>i=>bd(i)&&a(i,Yi(i));function Oi(a,i,o,l){return Ui(a,i,U5(o),l)}const Hx=({current:a})=>a?a.ownerDocument.defaultView:null,X0=(a,i)=>Math.abs(a-i);function H5(a,i){const o=X0(a.x,i.x),l=X0(a.y,i.y);return Math.sqrt(o**2+l**2)}const P0=new Set(["auto","scroll"]);class Gx{constructor(i,o,{transformPagePoint:l,contextWindow:d=window,dragSnapToOrigin:m=!1,distanceThreshold:f=3,element:p}={}){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=M=>{this.handleScroll(M.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=fr(this.lastRawMoveEventInfo,this.transformPagePoint));const M=vu(this.lastMoveEventInfo,this.history),B=this.startEvent!==null,w=H5(M.offset,{x:0,y:0})>=this.distanceThreshold;if(!B&&!w)return;const{point:R}=M,{timestamp:Y}=ft;this.history.push({...R,timestamp:Y});const{onStart:L,onMove:G}=this.handlers;B||(L&&L(this.lastMoveEvent,M),this.startEvent=this.lastMoveEvent),G&&G(this.lastMoveEvent,M)},this.handlePointerMove=(M,B)=>{this.lastMoveEvent=M,this.lastRawMoveEventInfo=B,this.lastMoveEventInfo=fr(B,this.transformPagePoint),Be.update(this.updatePoint,!0)},this.handlePointerUp=(M,B)=>{this.end();const{onEnd:w,onSessionEnd:R,resumeAnimation:Y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Y&&Y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const L=vu(M.type==="pointercancel"?this.lastMoveEventInfo:fr(B,this.transformPagePoint),this.history);this.startEvent&&w&&w(M,L),R&&R(M,L)},!bd(i))return;this.dragSnapToOrigin=m,this.handlers=o,this.transformPagePoint=l,this.distanceThreshold=f,this.contextWindow=d||window;const x=Yi(i),g=fr(x,this.transformPagePoint),{point:v}=g,{timestamp:b}=ft;this.history=[{...v,timestamp:b}];const{onSessionStart:S}=o;S&&S(i,vu(g,this.history));const E={passive:!0,capture:!0};this.removeListeners=Hi(Oi(this.contextWindow,"pointermove",this.handlePointerMove,E),Oi(this.contextWindow,"pointerup",this.handlePointerUp,E),Oi(this.contextWindow,"pointercancel",this.handlePointerUp,E)),p&&this.startScrollTracking(p)}startScrollTracking(i){let o=i.parentElement;for(;o;){const l=getComputedStyle(o);(P0.has(l.overflowX)||P0.has(l.overflowY))&&this.scrollPositions.set(o,{x:o.scrollLeft,y:o.scrollTop}),o=o.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(i){const o=this.scrollPositions.get(i);if(!o)return;const l=i===window,d=l?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},m={x:d.x-o.x,y:d.y-o.y};m.x===0&&m.y===0||(l?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=m.x,this.lastMoveEventInfo.point.y+=m.y):this.history.length>0&&(this.history[0].x-=m.x,this.history[0].y-=m.y),this.scrollPositions.set(i,d),Be.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ia(this.updatePoint)}}function fr(a,i){return i?{point:i(a.point)}:a}function K0(a,i){return{x:a.x-i.x,y:a.y-i.y}}function vu({point:a},i){return{point:a,delta:K0(a,qx(i)),offset:K0(a,G5(i)),velocity:q5(i,.1)}}function G5(a){return a[0]}function qx(a){return a[a.length-1]}function q5(a,i){if(a.length<2)return{x:0,y:0};let o=a.length-1,l=null;const d=qx(a);for(;o>=0&&(l=a[o],!(d.timestamp-l.timestamp>Ot(i)));)o--;if(!l)return{x:0,y:0};l===a[0]&&a.length>2&&d.timestamp-l.timestamp>Ot(i)*2&&(l=a[1]);const m=Pt(d.timestamp-l.timestamp);if(m===0)return{x:0,y:0};const f={x:(d.x-l.x)/m,y:(d.y-l.y)/m};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function Y5(a,{min:i,max:o},l){return i!==void 0&&a<i?a=l?Ve(i,a,l.min):Math.max(a,i):o!==void 0&&a>o&&(a=l?Ve(o,a,l.max):Math.min(a,o)),a}function Q0(a,i,o){return{min:i!==void 0?a.min+i:void 0,max:o!==void 0?a.max+o-(a.max-a.min):void 0}}function X5(a,{top:i,left:o,bottom:l,right:d}){return{x:Q0(a.x,o,d),y:Q0(a.y,i,l)}}function Z0(a,i){let o=i.min-a.min,l=i.max-a.max;return i.max-i.min<a.max-a.min&&([o,l]=[l,o]),{min:o,max:l}}function P5(a,i){return{x:Z0(a.x,i.x),y:Z0(a.y,i.y)}}function K5(a,i){let o=.5;const l=xt(a),d=xt(i);return d>l?o=Vi(i.min,i.max-l,a.min):l>d&&(o=Vi(a.min,a.max-d,i.min)),cn(0,1,o)}function Q5(a,i){const o={};return i.min!==void 0&&(o.min=i.min-a.min),i.max!==void 0&&(o.max=i.max-a.min),o}const Qu=.35;function Z5(a=Qu){return a===!1?a=0:a===!0&&(a=Qu),{x:J0(a,"left","right"),y:J0(a,"top","bottom")}}function J0(a,i,o){return{min:F0(a,i),max:F0(a,o)}}function F0(a,i){return typeof a=="number"?a:a[i]||0}const J5=new WeakMap;class F5{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=at(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:o=!1,distanceThreshold:l}={}){const{presenceContext:d}=this.visualElement;if(d&&d.isPresent===!1)return;const m=b=>{o&&this.snapToCursor(Yi(b).point),this.stopAnimation()},f=(b,S)=>{const{drag:E,dragPropagation:M,onDragStart:B}=this.getProps();if(E&&!M&&(this.openDragLock&&this.openDragLock(),this.openDragLock=NS(E),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sn(R=>{let Y=this.getAxisMotionValue(R).get()||0;if(rn.test(Y)){const{projection:L}=this.visualElement;if(L&&L.layout){const G=L.layout.layoutBox[R];G&&(Y=xt(G)*(parseFloat(Y)/100))}}this.originPoint[R]=Y}),B&&Be.update(()=>B(b,S),!1,!0),Bu(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},p=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S;const{dragPropagation:E,dragDirectionLock:M,onDirectionLock:B,onDrag:w}=this.getProps();if(!E&&!this.openDragLock)return;const{offset:R}=S;if(M&&this.currentDirection===null){this.currentDirection=W5(R),this.currentDirection!==null&&B&&B(this.currentDirection);return}this.updateAxis("x",S.point,R),this.updateAxis("y",S.point,R),this.visualElement.render(),w&&Be.update(()=>w(b,S),!1,!0)},x=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S,this.stop(b,S),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:b}=this.getProps();(b||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:v}=this.getProps();this.panSession=new Gx(i,{onSessionStart:m,onStart:f,onMove:p,onSessionEnd:x,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:l,contextWindow:Hx(this.visualElement),element:this.visualElement.current})}stop(i,o){const l=i||this.latestPointerEvent,d=o||this.latestPanInfo,m=this.isDragging;if(this.cancel(),!m||!d||!l)return;const{velocity:f}=d;this.startAnimation(f);const{onDragEnd:p}=this.getProps();p&&Be.postRender(()=>p(l,d))}cancel(){this.isDragging=!1;const{projection:i,animationState:o}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:l}=this.getProps();!l&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,o,l){const{drag:d}=this.getProps();if(!l||!hr(i,d,this.currentDirection))return;const m=this.getAxisMotionValue(i);let f=this.originPoint[i]+l[i];this.constraints&&this.constraints[i]&&(f=Y5(f,this.constraints[i],this.elastic[i])),m.set(f)}resolveConstraints(){var m;const{dragConstraints:i,dragElastic:o}=this.getProps(),l=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(m=this.visualElement.projection)==null?void 0:m.layout,d=this.constraints;i&&vs(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&l?this.constraints=X5(l.layoutBox,i):this.constraints=!1,this.elastic=Z5(o),d!==this.constraints&&!vs(i)&&l&&this.constraints&&!this.hasMutatedConstraints&&sn(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=Q5(l.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:o}=this.getProps();if(!i||!vs(i))return!1;const l=i.current,{projection:d}=this.visualElement;if(!d||!d.layout)return!1;d.root&&(d.root.scroll=void 0,d.root.updateScroll());const m=WS(l,d.root,this.visualElement.getTransformPagePoint());let f=P5(d.layout.layoutBox,m);if(o){const p=o(JS(f));this.hasMutatedConstraints=!!p,p&&(f=ux(p))}return f}startAnimation(i){const{drag:o,dragMomentum:l,dragElastic:d,dragTransition:m,dragSnapToOrigin:f,onDragTransitionEnd:p}=this.getProps(),x=this.constraints||{},g=sn(v=>{if(!hr(v,o,this.currentDirection))return;let b=x&&x[v]||{};(f===!0||f===v)&&(b={min:0,max:0});const S=d?200:1e6,E=d?40:1e7,M={type:"inertia",velocity:l?i[v]:0,bounceStiffness:S,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...m,...b};return this.startAxisValueAnimation(v,M)});return Promise.all(g).then(p)}startAxisValueAnimation(i,o){const l=this.getAxisMotionValue(i);return Bu(this.visualElement,i),l.start(pd(i,l,0,o,this.visualElement,!1))}stopAnimation(){sn(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const o=`_drag${i.toUpperCase()}`,d=this.visualElement.getProps()[o];return d||this.visualElement.getValue(i,this.visualElement.latestValues[i]??0)}snapToCursor(i){sn(o=>{const{drag:l}=this.getProps();if(!hr(o,l,this.currentDirection))return;const{projection:d}=this.visualElement,m=this.getAxisMotionValue(o);if(d&&d.layout){const{min:f,max:p}=d.layout.layoutBox[o],x=m.get()||0;m.set(i[o]-Ve(f,p,.5)+x)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:o}=this.getProps(),{projection:l}=this.visualElement;if(!vs(o)||!l||!this.constraints)return;this.stopAnimation();const d={x:0,y:0};sn(f=>{const p=this.getAxisMotionValue(f);if(p&&this.constraints!==!1){const x=p.get();d[f]=K5({min:x,max:x},this.constraints[f])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",l.root&&l.root.updateScroll(),l.updateLayout(),this.constraints=!1,this.resolveConstraints(),sn(f=>{if(!hr(f,i,null))return;const p=this.getAxisMotionValue(f),{min:x,max:g}=this.constraints[f];p.set(Ve(x,g,d[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;J5.set(this.visualElement,this);const i=this.visualElement.current,o=Oi(i,"pointerdown",g=>{const{drag:v,dragListener:b=!0}=this.getProps(),S=g.target,E=S!==i&&CS(S);v&&b&&!E&&this.start(g)});let l;const d=()=>{const{dragConstraints:g}=this.getProps();vs(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),l||(l=I5(i,g.current,()=>this.scalePositionWithinConstraints())))},{projection:m}=this.visualElement,f=m.addEventListener("measure",d);m&&!m.layout&&(m.root&&m.root.updateScroll(),m.updateLayout()),Be.read(d);const p=Ui(window,"resize",()=>this.scalePositionWithinConstraints()),x=m.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:v})=>{this.isDragging&&v&&(sn(b=>{const S=this.getAxisMotionValue(b);S&&(this.originPoint[b]+=g[b].translate,S.set(S.get()+g[b].translate))}),this.visualElement.render())}));return()=>{p(),o(),f(),x&&x(),l&&l()}}getProps(){const i=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:l=!1,dragPropagation:d=!1,dragConstraints:m=!1,dragElastic:f=Qu,dragMomentum:p=!0}=i;return{...i,drag:o,dragDirectionLock:l,dragPropagation:d,dragConstraints:m,dragElastic:f,dragMomentum:p}}}function I0(a){let i=!0;return()=>{if(i){i=!1;return}a()}}function I5(a,i,o){const l=s0(a,I0(o)),d=s0(i,I0(o));return()=>{l(),d()}}function hr(a,i,o){return(i===!0||i===a)&&(o===null||o===a)}function W5(a,i=10){let o=null;return Math.abs(a.y)>i?o="y":Math.abs(a.x)>i&&(o="x"),o}class $5 extends la{constructor(i){super(i),this.removeGroupControls=Kt,this.removeListeners=Kt,this.controls=new F5(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Kt}update(){const{dragControls:i}=this.node.getProps(),{dragControls:o}=this.node.prevProps||{};i!==o&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const bu=a=>(i,o)=>{a&&Be.update(()=>a(i,o),!1,!0)};class ej extends la{constructor(){super(...arguments),this.removePointerDownListener=Kt}onPointerDown(i){this.session=new Gx(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Hx(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:o,onPan:l,onPanEnd:d}=this.node.getProps();return{onSessionStart:bu(i),onStart:bu(o),onMove:bu(l),onEnd:(m,f)=>{delete this.session,d&&Be.postRender(()=>d(m,f))}}}mount(){this.removePointerDownListener=Oi(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Su=!1;class tj extends z.Component{componentDidMount(){const{visualElement:i,layoutGroup:o,switchLayoutGroup:l,layoutId:d}=this.props,{projection:m}=i;m&&(o.group&&o.group.add(m),l&&l.register&&d&&l.register(m),Su&&m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),jr.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:o,visualElement:l,drag:d,isPresent:m}=this.props,{projection:f}=l;return f&&(f.isPresent=m,i.layoutDependency!==o&&f.setOptions({...f.options,layoutDependency:o}),Su=!0,d||i.layoutDependency!==o||o===void 0||i.isPresent!==m?f.willUpdate():this.safeToRemove(),i.isPresent!==m&&(m?f.promote():f.relegate()||Be.postRender(()=>{const p=f.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:o}=this.props,{projection:l}=i;l&&(l.options.layoutAnchor=o,l.root.didUpdate(),vd.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:o,switchLayoutGroup:l}=this.props,{projection:d}=i;Su=!0,d&&(d.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(d),l&&l.deregister&&l.deregister(d))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function Yx(a){const[i,o]=kx(),l=z.useContext($u);return c.jsx(tj,{...a,layoutGroup:l,switchLayoutGroup:z.useContext(Lx),isPresent:i,safeToRemove:o})}const nj={pan:{Feature:ej},drag:{Feature:$5,ProjectionNode:Dx,MeasureLayout:Yx}};function W0(a,i,o){const{props:l}=a;a.animationState&&l.whileHover&&a.animationState.setActive("whileHover",o==="Start");const d="onHover"+o,m=l[d];m&&Be.postRender(()=>m(i,Yi(i)))}class aj extends la{mount(){const{current:i}=this.node;i&&(this.unmount=AS(i,(o,l)=>(W0(this.node,l,"Start"),d=>W0(this.node,d,"End"))))}unmount(){}}class sj extends la{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=Hi(Ui(this.node.current,"focus",()=>this.onFocus()),Ui(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function $0(a,i,o){const{props:l}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&l.whileTap&&a.animationState.setActive("whileTap",o==="Start");const d="onTap"+(o==="End"?"":o),m=l[d];m&&Be.postRender(()=>m(i,Yi(i)))}class ij extends la{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:o,propagate:l}=this.node.props;this.unmount=kS(i,(d,m)=>($0(this.node,m,"Start"),(f,{success:p})=>$0(this.node,f,p?"End":"Cancel")),{useGlobalTarget:o,stopPropagation:(l==null?void 0:l.tap)===!1})}unmount(){}}const Zu=new WeakMap,ju=new WeakMap,lj=a=>{const i=Zu.get(a.target);i&&i(a)},rj=a=>{a.forEach(lj)};function oj({root:a,...i}){const o=a||document;ju.has(o)||ju.set(o,{});const l=ju.get(o),d=JSON.stringify(i);return l[d]||(l[d]=new IntersectionObserver(rj,{root:a,...i})),l[d]}function cj(a,i,o){const l=oj(i);return Zu.set(a,o),l.observe(a),()=>{Zu.delete(a),l.unobserve(a)}}const uj={some:0,all:1};class dj extends la{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var x;(x=this.stopObserver)==null||x.call(this);const{viewport:i={}}=this.node.getProps(),{root:o,margin:l,amount:d="some",once:m}=i,f={root:o?o.current:void 0,rootMargin:l,threshold:typeof d=="number"?d:uj[d]},p=g=>{const{isIntersecting:v}=g;if(this.isInView===v||(this.isInView=v,m&&!v&&this.hasEnteredView))return;v&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",v);const{onViewportEnter:b,onViewportLeave:S}=this.node.getProps(),E=v?b:S;E&&E(g)};this.stopObserver=cj(this.node.current,f,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:o}=this.node;["amount","margin","root"].some(fj(i,o))&&this.startObserver()}unmount(){var i;(i=this.stopObserver)==null||i.call(this),this.hasEnteredView=!1,this.isInView=!1}}
vendor: 7,131 bytes, lines 57-157
57function fj({viewport:a={}},{viewport:i={}}={}){return o=>a[o]!==i[o]}const hj={inView:{Feature:dj},tap:{Feature:ij},focus:{Feature:sj},hover:{Feature:aj}},mj={layout:{ProjectionNode:Dx,MeasureLayout:Yx}},pj={...L5,...hj,...nj,...mj},gj=O5(pj,z5),Ge=gj;/** 58 * @license lucide-react v0.546.0 - ISC 59 * 60 * This source code is licensed under the ISC license. 61 * See the LICENSE file in the root directory of this source tree. 62 */const xj=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),yj=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,o,l)=>l?l.toUpperCase():o.toLowerCase()),eg=a=>{const i=yj(a);return i.charAt(0).toUpperCase()+i.slice(1)},Xx=(...a)=>a.filter((i,o,l)=>!!i&&i.trim()!==""&&l.indexOf(i)===o).join(" ").trim(),vj=a=>{for(const i in a)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/** 63 * @license lucide-react v0.546.0 - ISC 64 * 65 * This source code is licensed under the ISC license. 66 * See the LICENSE file in the root directory of this source tree. 67 */var bj={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"};/** 68 * @license lucide-react v0.546.0 - ISC 69 * 70 * This source code is licensed under the ISC license. 71 * See the LICENSE file in the root directory of this source tree. 72 */const Sj=z.forwardRef(({color:a="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:d="",children:m,iconNode:f,...p},x)=>z.createElement("svg",{ref:x,...bj,width:i,height:i,stroke:a,strokeWidth:l?Number(o)*24/Number(i):o,className:Xx("lucide",d),...!m&&!vj(p)&&{"aria-hidden":"true"},...p},[...f.map(([g,v])=>z.createElement(g,v)),...Array.isArray(m)?m:[m]]));/** 73 * @license lucide-react v0.546.0 - ISC 74 * 75 * This source code is licensed under the ISC license. 76 * See the LICENSE file in the root directory of this source tree. 77 */const ge=(a,i)=>{const o=z.forwardRef(({className:l,...d},m)=>z.createElement(Sj,{ref:m,iconNode:i,className:Xx(`lucide-${xj(eg(a))}`,`lucide-${a}`,l),...d}));return o.displayName=eg(a),o};/** 78 * @license lucide-react v0.546.0 - ISC 79 * 80 * This source code is licensed under the ISC license. 81 * See the LICENSE file in the root directory of this source tree. 82 */const jj=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],Px=ge("activity",jj);/** 83 * @license lucide-react v0.546.0 - ISC 84 * 85 * This source code is licensed under the ISC license. 86 * See the LICENSE file in the root directory of this source tree. 87 */const Nj=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],tg=ge("arrow-down",Nj);/** 88 * @license lucide-react v0.546.0 - ISC 89 * 90 * This source code is licensed under the ISC license. 91 * See the LICENSE file in the root directory of this source tree. 92 */const Tj=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ju=ge("arrow-right",Tj);/** 93 * @license lucide-react v0.546.0 - ISC 94 * 95 * This source code is licensed under the ISC license. 96 * See the LICENSE file in the root directory of this source tree. 97 */const Aj=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],wj=ge("arrow-up-right",Aj);/** 98 * @license lucide-react v0.546.0 - ISC 99 * 100 * This source code is licensed under the ISC license. 101 * See the LICENSE file in the root directory of this source tree. 102 */const Ej=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Mj=ge("award",Ej);/** 103 * @license lucide-react v0.546.0 - ISC 104 * 105 * This source code is licensed under the ISC license. 106 * See the LICENSE file in the root directory of this source tree. 107 */const Cj=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Dj=ge("badge-check",Cj);/** 108 * @license lucide-react v0.546.0 - ISC 109 * 110 * This source code is licensed under the ISC license. 111 * See the LICENSE file in the root directory of this source tree. 112 */const kj=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],zi=ge("book-open",kj);/** 113 * @license lucide-react v0.546.0 - ISC 114 * 115 * This source code is licensed under the ISC license. 116 * See the LICENSE file in the root directory of this source tree. 117 */const Rj=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],Oj=ge("briefcase",Rj);/** 118 * @license lucide-react v0.546.0 - ISC 119 * 120 * This source code is licensed under the ISC license. 121 * See the LICENSE file in the root directory of this source tree. 122 */const zj=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Cd=ge("calendar",zj);/** 123 * @license lucide-react v0.546.0 - ISC 124 * 125 * This source code is licensed under the ISC license. 126 * See the LICENSE file in the root directory of this source tree. 127 */const _j=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Vj=ge("chevron-down",_j);/** 128 * @license lucide-react v0.546.0 - ISC 129 * 130 * This source code is licensed under the ISC license. 131 * See the LICENSE file in the root directory of this source tree. 132 */const Bj=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Lj=ge("chevron-left",Bj);/** 133 * @license lucide-react v0.546.0 - ISC 134 * 135 * This source code is licensed under the ISC license. 136 * See the LICENSE file in the root directory of this source tree. 137 */const Uj=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ng=ge("chevron-right",Uj);/** 138 * @license lucide-react v0.546.0 - ISC 139 * 140 * This source code is licensed under the ISC license. 141 * See the LICENSE file in the root directory of this source tree. 142 */const Hj=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Gj=ge("chevron-up",Hj);/** 143 * @license lucide-react v0.546.0 - ISC 144 * 145 * This source code is licensed under the ISC license. 146 * See the LICENSE file in the root directory of this source tree. 147 */const qj=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],mr=ge("circle-check-big",qj);/** 148 * @license lucide-react v0.546.0 - ISC 149 * 150 * This source code is licensed under the ISC license. 151 * See the LICENSE file in the root directory of this source tree. 152 */const Yj=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Xj=ge("clock",Yj);/** 153 * @license lucide-react v0.546.0 - ISC 154 * 155 * This source code is licensed under the ISC license. 156 * See the LICENSE file in the root directory of this source tree. 157 */const Pj=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",ke
157y:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Fu=ge("compass",Pj);/** 158 * @license lucide-react v0.546.0 - ISC 159 * 160 * This source code is licensed under the ISC license. 161 * See the LICENSE file in the root directory of this source tree. 162 */const Kj=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],Dd=ge("cpu",Kj);/** 163 * @license lucide-react v0.546.0 - ISC 164 * 165 * This source code is licensed under the ISC license. 166 * See the LICENSE file in the root directory of this source tree. 167 */const Qj=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Zj=ge("facebook",Qj);/** 168 * @license lucide-react v0.546.0 - ISC 169 * 170 * This source code is licensed under the ISC license. 171 * See the LICENSE file in the root directory of this source tree. 172 */const Jj=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],Fj=ge("github",Jj);/** 173 * @license lucide-react v0.546.0 - ISC 174 * 175 * This source code is licensed under the ISC license. 176 * See the LICENSE file in the root directory of this source tree. 177 */const Ij=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Kx=ge("globe",Ij);/** 178 * @license lucide-react v0.546.0 - ISC 179 * 180 * This source code is licensed under the ISC license. 181 * See the LICENSE file in the root directory of this source tree. 182 */const Wj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],$j=ge("image",Wj);/** 183 * @license lucide-react v0.546.0 - ISC 184 * 185 * This source code is licensed under the ISC license. 186 * See the LICENSE file in the root directory of this source tree. 187 */const eN=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],ag=ge("instagram",eN);/** 188 * @license lucide-react v0.546.0 - ISC 189 * 190 * This source code is licensed under the ISC license. 191 * See the LICENSE file in the root directory of this source tree. 192 */const tN=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],nN=ge("layers",tN);/** 193 * @license lucide-react v0.546.0 - ISC 194 * 195 * This source code is licensed under the ISC license. 196 * See the LICENSE file in the root directory of this source tree. 197 */const aN=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],sN=ge("linkedin",aN);/** 198 * @license lucide-react v0.546.0 - ISC 199 * 200 * This source code is licensed under the ISC license. 201 * See the LICENSE file in the root directory of this source tree. 202 */const iN=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],lN=ge("lock",iN);/** 203 * @license lucide-react v0.546.0 - ISC 204 * 205 * This source code is licensed under the ISC license. 206 * See the LICENSE file in the root directory of this source tree. 207 */const rN=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Iu=ge("mail",rN);/** 208 * @license lucide-react v0.546.0 - ISC 209 * 210 * This source code is licensed under the ISC license. 211 * See the LICENSE file in the root directory of this source tree. 212 */const oN=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],Qx=ge("network",oN);/** 213 * @license lucide-react v0.546.0 - ISC 214 * 215 * This source code is licensed under the ISC license. 216 * See the LICENSE file in the root directory of this source tree. 217 */const cN=[["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"}]],sg=ge("pause",cN);/** 218 * @license lucide-react v0.546.0 - ISC 219 * 220 * This source code is licensed under the ISC license. 221 * See the LICENSE file in the root directory of this source tree. 222 */const uN=[["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"}]],ig=ge("play",uN);/** 223 * @license lucide-react v0.546.0 - ISC 224 * 225 * This source code is licensed under the ISC license. 226 * See the LICENSE file in the root directory of this source tree. 227 */const dN=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],fN=ge("rotate-ccw",dN);/** 228 * @license lucide-react v0.546.0 - ISC 229 * 230 * This source code is licensed under the ISC license. 231 * See the LICENSE file in the root directory of this source tree. 232 */const hN=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],mN=ge("search",hN);/** 233 * @license lucide-react v0.546.0 - ISC 234 * 235 * This source code is licensed under the ISC license. 236 * See the LICENSE file in the root directory of this source tree. 237 */const pN=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
237y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],gN=ge("shield-alert",pN);/** 238 * @license lucide-react v0.546.0 - ISC 239 * 240 * This source code is licensed under the ISC license. 241 * See the LICENSE file in the root directory of this source tree. 242 */const xN=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],yN=ge("shield",xN);/** 243 * @license lucide-react v0.546.0 - ISC 244 * 245 * This source code is licensed under the ISC license. 246 * See the LICENSE file in the root directory of this source tree. 247 */const vN=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],bN=ge("smartphone",vN);/** 248 * @license lucide-react v0.546.0 - ISC 249 * 250 * This source code is licensed under the ISC license. 251 * See the LICENSE file in the root directory of this source tree. 252 */const SN=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
252],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],jN=ge("sparkles",SN);/** 253 * @license lucide-react v0.546.0 - ISC 254 * 255 * This source code is licensed under the ISC license. 256 * See the LICENSE file in the root directory of this source tree. 257 */const NN=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],TN=ge("terminal",NN);/** 258 * @license lucide-react v0.546.0 - ISC 259 * 260 * This source code is licensed under the ISC license. 261 * See the LICENSE file in the root directory of this source tree. 262 */const AN=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],lg=ge("triangle-alert",AN);/** 263 * @license lucide-react v0.546.0 - ISC 264 * 265 * This source code is licensed under the ISC license. 266 * See the LICENSE file in the root directory of this source tree. 267 */const wN=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],EN=ge("volume-2",wN);/** 268 * @license lucide-react v0.546.0 - ISC 269 * 270 * This source code is licensed under the ISC license. 271 * See the LICENSE file in the root directory of this source tree. 272 */const MN=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Zx=ge("x",MN);/** 273 * @license lucide-react v0.546.0 - ISC 274 * 275 * This source code is licensed under the ISC license. 276 * See the LICENSE file in the root directory of this source tree. 277 */const CN=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],DN=ge("zoom-in",CN);function kN(){const a=z.useRef(null),i=z.useRef(null),o=z.useRef([]),l=z.useRef({x:0,y:0,rx:0,ry:0,isHovering:!1}),d=z.useRef({current:0,target:0});return z.useEffect(()=>{var R,Y;const m=a.current;if(!m)return;const f=m.getContext("2d");if(!f)return;const p=L=>{for(const G of L){const{width:X,height:te}=G.contentRect;m.width=X,m.height=te,g(X,te)}},x=new ResizeObserver(p);i.current&&x.observe(i.current);const g=(L,G)=>{const X=Math.min(180,Math.floor(L*G/9e3)),te=[],K=["rgba(255, 255, 255, 0.8)","rgba(147, 197, 253, 0.8)","rgba(196, 181, 253, 0.8)","rgba(253, 224, 71, 0.6)"];for(let P=0;P<X;P++){const ae=Math.random()*L,F=Math.random()*G;te.push({x:ae,y:F,z:Math.random()*.5+.5,size:Math.random()*1.5+.5,color:K[Math.floor(Math.random()*K.length)],speedX:(Math.random()-.5)*.15,speedY:(Math.random()-.5)*.15,originalX:ae,originalY:F})}o.current=te},v=L=>{const G=m.getBoundingClientRect();l.current.x=L.clientX-G.left,l.current.y=L.clientY-G.top,l.current.isHovering=!0},b=()=>{l.current.isHovering=!1},S=()=>{d.current.target=window.scrollY};window.addEventListener("mousemove",v),window.addEventListener("scroll",S),m.addEventListener("mouseleave",b);const E=((R=i.current)==null?void 0:R.clientWidth)||window.innerWidth,M=((Y=i.current)==null?void 0:Y.clientHeight)||window.innerHeight;m.width=E,m.height=M,g(E,M);let B;const w=()=>{const L=m.width,G=m.height;f.fillStyle="#03050c",f.fillRect(0,0,L,G);const X=l.current;X.rx+=(X.x-X.rx)*.08,X.ry+=(X.y-X.ry)*.08;const te=d.current;te.current+=(te.target-te.current)*.1;const K=f.createRadialGradient(L*.3+Math.sin(Date.now()*1e-4)*100,G*.4+Math.cos(Date.now()*1e-4)*100,0,L*.3,G*.4,Math.max(L,G)*.7);K.addColorStop(0,"rgba(22, 14, 53, 0.15)"),K.addColorStop(.5,"rgba(8, 12, 36, 0.08)"),K.addColorStop(1,"rgba(3, 5, 12, 0)"),f.fillStyle=K,f.fillRect(0,0,L,G);const P=f.createRadialGradient(L*.8+Math.cos(Date.now()*8e-5)*80,G*.7+Math.sin(Date.now()*8e-5)*80,0,L*.8,G*.7,Math.max(L,G)*.5);P.addColorStop(0,"rgba(124, 58, 237, 0.06)"),P.addColorStop(.6,"rgba(234, 179, 8, 0.02)"),P.addColorStop(1,"rgba(3, 5, 12, 0)"),f.fillStyle=P,f.fillRect(0,0,L,G);const ae=o.current,F=ae.length;for(let le=0;le<F;le++){const I=ae[le];I.x+=I.speedX,I.y+=I.speedY,I.x<0&&(I.x=L),I.x>L&&(I.x=0),I.y<0&&(I.y=G),I.y>G&&(I.y=0);const Le=te.current*I.z*.2;let Me=0;if(X.isHovering){const Q=X.rx-I.x,Z=X.ry-I.y,re=Math.sqrt(Q*Q+Z*Z);if(re<180){const ue=(180-re)/180;Me=-Q*ue*I.z*.12,-Z*ue*I.z*.12}}const Ce=I.x+Me,O=(I.y-Le+G*10)%G;f.beginPath(),f.arc(Ce,O,I.size*(X.isHovering?1.1:1),0,Math.PI*2),f.fillStyle=I.color,f.fill(),I.size>1.2&&(f.beginPath(),f.arc(Ce,O,I.size*3,0,Math.PI*2),f.fillStyle=I.color.replace("0.8","0.15").replace("0.6","0.1"),f.fill())}f.lineWidth=.45;for(let le=0;le<F;
277le++){const I=ae[le],Le=te.current*I.z*.2,Me=I.x+(X.isHovering?-(X.rx-I.x)*((180-Math.sqrt((X.rx-I.x)**2+(X.ry-I.y)**2))/180)*I.z*.12:0),Ce=(I.y-Le+G*10)%G;let O=0;for(let Q=le+1;Q<F&&!(O>3);Q++){const Z=ae[Q],re=te.current*Z.z*.2,ue=Z.x+(X.isHovering?-(X.rx-Z.x)*((180-Math.sqrt((X.rx-Z.x)**2+(X.ry-Z.y)**2))/180)*Z.z*.12:0),N=(Z.y-re+G*10)%G,U=Me-ue,J=Ce-N,W=Math.sqrt(U*U+J*J);if(W<100&&Math.abs(I.z-Z.z)<.25){O++;const oe=(100-W)/100*.15;f.beginPath(),f.moveTo(Me,Ce),f.lineTo(ue,N),f.strokeStyle=`rgba(147, 197, 253, ${oe})`,f.stroke()}}}if(f.strokeStyle="rgba(147, 197, 253, 0.02)",f.lineWidth=.5,f.beginPath(),f.arc(L*.5,G*.5-te.current*.1,L*.35,0,Math.PI*2),f.stroke(),f.strokeStyle="rgba(196, 181, 253, 0.015)",f.beginPath(),f.arc(L*.5,G*.5-te.current*.1,L*.55,0,Math.PI*2),f.stroke(),X.isHovering){const le=f.createRadialGradient(X.rx,X.ry,0,X.rx,X.ry,150);le.addColorStop(0,"rgba(147, 197, 253, 0.04)"),le.addColorStop(1,"rgba(0,0,0,0)"),f.fillStyle=le,f.beginPath(),f.arc(X.rx,X.ry,150,0,Math.PI*2),f.fill()}B=requestAnimationFrame(w)};return w(),()=>{x.disconnect(),window.removeEventListener("mousemove",v),window.removeEventListener("scroll",S),m.removeEventListener("mouseleave",b),cancelAnimationFrame(B)}},[]),c.jsx("div",{ref:i,className:"absolute inset-0 w-full h-full pointer-events-none z-0 overflow-hidden",children:c.jsx("canvas",{id:"cosmic-canvas",ref:a,className:"block w-full h-full pointer-events-none"})})}function RN({onComplete:a}){const[i,o]=z.useState(0);return z.useEffect(()=>{const l=setInterval(()=>{o(d=>d>=100?(clearInterval(l),100):d+4)},40);return()=>clearInterval(l)},[]),z.useEffect(()=>{if(i>=100){const l=setTimeout(()=>{a()},300);return()=>clearTimeout(l)}},[i,a]),c.jsx("div",{id:"boot-screen",className:"fixed inset-0 bg-[#03050c] z-50 flex flex-col items-center justify-center p-6 font-mono select-none",children:c.jsxs("div",{className:"max-w-xs w-full flex flex-col items-center space-y-6",children:[c.jsxs("div",{className:"relative w-12 h-12 flex items-center justify-center",children:[c.jsx(Ge.div,{className:"absolute inset-0 border-2 border-slate-900 rounded-full"}),c.jsx(Ge.div,{className:"absolute inset-0 border-2 border-t-blue-500 border-r-transparent border-b-transparent border-l-transparent rounded-full",animate:{rotate:360},transition:{repeat:1/0,duration:1,ease:"linear"}}),c.jsx("div",{className:"w-4 h-4 rounded-full bg-blue-500/20"})]}),c.jsxs("div",{className:"text-center space-y-1",children:[c.jsx("h1",{className:"text-slate-100 font-sans text-lg font-semibold tracking-wider",children:" Hardeep Kaur "}),c.jsx("p",{className:"text-slate-500 text-[10px] uppercase tracking-widest font-mono",children:" Portfolio & Journal "})]}),c.jsxs("div",{className:"w-full space-y-1.5 pt-2",children:[c.jsxs("div",{className:"flex justify-between text-[9px] text-slate-500 font-mono tracking-wider",children:[c.jsx("span",{children:"LOADING MODULES "}),c.jsxs("span",{children:[" ",Math.min(100,Math.floor(i))," % "]})]}),c.jsx("div",{className:"w-full h-[2px] bg-slate-950 rounded-full overflow-hidden border border-slate-900/40",children:c.jsx(Ge.div,{className:"h-full bg-blue-500",style:{width:`${i}%`}})})]})]})})}function ON({onNavigate:a}){const[i,o]=z.useState(!1),[l,d]=z.useState(""),[m,f]=z.useState(0),p=z.useRef(null),g=[{id:"nav-home",title:"Navigation: Home",description:"Jump to the top introduction and landing page",category:"Navigation",icon:Kx,action:()=>{a("hero"),o(!1)}},{id:"nav-about",title:"Navigation: Story (About Me)",description:"Discover Hardeep's background and personal story",category:"Navigation",icon:zi,action:()=>{a("about"),o(!1)}},{id:"nav-experience",title:"Navigation: Career Journey (Experience)",description:"Explore engineering milestones at Google, Bloomberg, smallcase",category:"Navigation",icon:Cd,action:()=>{a("experience"),o(!1)}},{id:"nav-engineering",title:"Navigation: Skills & Competencies",description:"Review core capabilities, languages, and skills",category:"Navigation",icon:Dd,action:()=>{a("about"),o(!1)}},{id:"nav-projects",title:"Navigation: Featured Projects",description:"Review custom built file parsers, APIs, and systems",category:"Navigation",icon:TN,action:()=>{a("projects"),o(!1)}},{id:"nav-blog",title:"Navigation: Technical Writing (Notes)",description:"Read articles on LSM-Trees, PDF rendering, and system design",category:"Navigation",icon:zi,action:()=>{a("blog"),o(!1)}},{id:"nav-interests-cosmos",title:"Interests: Cosmos & Astrophysics Notes",description:"Read space, cosmology, and physics notebooks",category:"Curiosity Hub",icon:Fu,action:()=>{a("interests","cosmos"),o(!1)}},{id:"nav-interests-art",title:"Interests: Creative Art Gallery",description:"View hand-sketches, paintings, and astrophotography",category:"Curiosity Hub",icon:$j,action:()=>{a("interests","art"),o(!1)}}
277,{id:"nav-interests-books",title:"Interests: Reading Journal (Books)",description:"Browse reading logs and book reviews",category:"Curiosity Hub",icon:zi,action:()=>{a("interests","notebook"),o(!1)}},{id:"nav-contact",title:"Navigation: Say Hello (Contact)",description:"Send an email directly to Hardeep's inbox",category:"Navigation",icon:Iu,action:()=>{a("contact"),o(!1)}}].filter(v=>v.title.toLowerCase().includes(l.toLowerCase())||v.description.toLowerCase().includes(l.toLowerCase())||v.category.toLowerCase().includes(l.toLowerCase()));return z.useEffect(()=>{const v=b=>{(b.metaKey||b.ctrlKey)&&b.key.toLowerCase()==="k"?(b.preventDefault(),o(S=>!S)):b.key==="Escape"&&o(!1)};return window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)},[]),z.useEffect(()=>{if(!i)return;const v=b=>{b.key==="ArrowDown"?(b.preventDefault(),f(S=>(S+1)%Math.max(1,g.length))):b.key==="ArrowUp"?(b.preventDefault(),f(S=>(S-1+g.length)%Math.max(1,g.length))):b.key==="Enter"&&(b.preventDefault(),g[m]&&g[m].action())};return window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)},[i,m,g]),z.useEffect(()=>{const v=b=>{p.current&&!p.current.contains(b.target)&&o(!1)};return i&&document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[i]),z.useEffect(()=>{f(0)},[l]),c.jsxs(c.Fragment,{children:[c.jsxs("button",{onClick:()=>o(!0),id:"cmd-palette-trigger",className:"fixed bottom-6 right-6 z-40 flex items-center space-x-2 bg-slate-900/60 hover:bg-slate-800/80 border border-slate-800 hover:border-slate-700 text-slate-400 hover:text-slate-200 px-3 py-2 rounded-lg text-xs font-mono shadow-lg transition-all cursor-pointer backdrop-blur-md hidden md:flex",children:[c.jsx("span",{children:"COMMAND CONSOLE"}),c.jsx("kbd",{className:"bg-slate-950 px-1.5 py-0.5 rounded border border-slate-800 text-[10px] font-sans",children:"âK"})]}),c.jsx(on,{children:i&&c.jsx("div",{className:"fixed inset-0 bg-slate-950/80 backdrop-blur-md z-50 flex items-center justify-center p-4",children:c.jsxs(Ge.div,{ref:p,initial:{opacity:0,scale:.95,y:-20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-20},transition:{duration:.2},className:"bg-[#050816]/95 border border-slate-800/60 rounded-xl w-full max-w-xl shadow-2xl overflow-hidden font-mono",children:[c.jsxs("div",{className:"flex items-center space-x-3 px-4 py-3.5 border-b border-slate-900",children:[c.jsx(mN,{className:"w-4 h-4 text-slate-500 shrink-0"}),c.jsx("input",{type:"text",placeholder:"Type a command or section...",value:l,onChange:v=>d(v.target.value),className:"bg-transparent text-slate-200 text-sm focus:outline-none w-full placeholder-slate-600",autoFocus:!0}),c.jsx("button",{onClick:()=>o(!1),className:"text-[10px] text-slate-500 hover:text-slate-300 border border-slate-900 rounded px-1.5 py-0.5",children:"ESC"})]}),c.jsx("div",{className:"max-h-80 overflow-y-auto p-2 space-y-1",children:g.length>0?g.map((v,b)=>{const S=v.icon,E=b===m;return c.jsxs("div",{ref:M=>{E&&M&&M.scrollIntoView({block:"nearest"})},onClick:v.action,onMouseEnter:()=>f(b),className:`flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer transition-all ${E?"bg-blue-600/10 text-blue-200 border border-blue-500/20":"text-slate-400 hover:text-slate-300 border border-transparent"}`,children:[c.jsxs("div",{className:"flex items-center space-x-3 text-xs text-left",children:[c.jsx(S,{className:`w-4 h-4 shrink-0 ${E?"text-blue-400":"text-slate-500"}`}),c.jsxs("div",{children:[c.jsx("span",{className:`block font-medium text-[11px] ${E?"text-slate-100":"text-slate-300"}`,children:v.title}),c.jsx("span",{className:"text-[10px] text-slate-500 block leading-tight mt-0.5",children:v.description})]})]}),c.jsx("div",{className:"flex items-center",children:E&&c.jsx(Ju,{className:"w-3.5 h-3.5 text-blue-400 animate-pulse"})})]},v.id)}):c.jsxs("div",{className:"text-center py-6 text-xs text-slate-600",children:["No system matches found for â",l,"â"]})}),c.jsxs("div",{className:"flex justify-between items-center px-4 py-2 bg-slate-950/60 border-t border-slate-900 text-[10px] text-slate-500",children:[c.jsx("span",{children:"Use ââ keys to steer, Enter to activate"}),c.jsx("span",{children:"SYSTEM DIALOG"})]})]})})})]})}const zN=[{name:"Distributed Systems",category:"Backend/Systems",level:5,description:"Designed high-throughput APIs, queue processing buffers, and low-latency client connectors."},{name:"Golang / Kotlin",category:"Languages",level:5,description:"Highly proficient in high-concurrency patterns, channels design, and lightweight backends."},{name:"C++ / Java",category:"Languages",level:4,description:"Low-level system integrations, memory-safe execution, and high-performance threading interfaces."},{name:"Android Platform",category:"Mobile/Frontend",level:5,description:"Deep understanding of Android internals, custom rendering engines, and graphics layout profiles."},{name:"System Design",category:"Backend/Systems",level:5,description:"Architected multi-region transactional systems, rate limiters, and highly available cluster networks."}
277,{name:"Cloud Infrastructure",category:"Infrastructure",level:4,description:"Orchestrating container services, IAM profiles, CI/CD telemetry, and secure cloud storage."}],_N=[{id:"bloomberg",company:"Bloomberg Ireland",role:"Senior Software Engineer (Incoming)",period:"August 2026",location:"Dublin, Ireland",summary:"Joining the Pricing & Analytics team next month to design high-throughput, low-latency financial systems and telemetry infrastructure.",projects:[],technologies:["C++","Golang","Distributed Systems","gRPC","Protocol Buffers","SQL"]},{id:"google",company:"Google",role:"Software Development Engineer (L3)",period:"July 2024 - Present",location:"New Taipei City, Taiwan",summary:"Engineering device-side setup modules for third-party smart-home hubs (GHP Runtime Scaling) and extending/optimizing the Jetpack PDF library for high-fidelity Android document experiences.",projects:[{name:"GHP 3P Hub Activation (OOBE 2.0)",description:"Engineered and launched a new, scalable, end-to-end activation flow for third-party smart-home hubs, supporting diverse, screenless device configurations.",impact:["Implemented a secure device-side setup server using NanoHTTPD to handle setup requests, validate discovery codes, and manage cryptographic handshakes.","Extended the HubAdvert
277isingClient to broadcast the setup server's port and a discovery code via mDNS (DNS-SD), facilitating seamless client-side discovery.","Isolated and resolved a critical race-condition crash in mDNS discovery when multiple hubs with identical partner IDs existed on the same network subnet.","Onboarded 2 key smart-home partners in the first quarter and reduced partner integration onboarding time by an average of 40%."],challenges:"Designing an extensible, high-security local protocol that remains extremely lightweight and works robustly on devices without displays.",learnings:"Working with network broadcast topologies (mDNS/DNS-SD) requires strict timeout thresholds and defensive packet validation to handle noisy client networks."},{name:"PDF Thumbnail Preview & UX",description:"Authored the technical design, architectural requirements, and complete implementation of the thumbnail preview feature in the Jetpack PDF rendering library.",impact:["Designed and delivered a highly responsive, functioning thumbnail viewer in the Jetpack PDF test application (similar to Chrome's PDF viewer).","Achieved a measured 25% reduction in user page seek and scroll navigation time within large, content-heavy documents (exceeding 100 pages).","Improved accessibility standards across the entire PDF library, making the FastScroller completely screen reader-friendly for visually impaired users.","Fixed several critical UI layout and keyboard focus bugs, resulting in a significantly more fluid and robust developer-facing API."],challenges:"Slicing high-fidelity, high-density vector document pages into memory-cached raster bitmaps without causing UI main thread stuttering.",learnings:"Dynamic bitmap pooling and custom cache-discarding strategies are far more effective for layout rendering performance than standard garbage collection."},{name:"Backward Compatibility & DX Engineering",description:"Led a complex, multi-quarter initiative to backport compatibility for the entire Jetpack PDF library to older legacy devices.",impact:["Successfully extended backward compatibility to Android API 21+ (Lollipop), expanding the library's device reach by an estimated 15% and unblocking 3 key internal Google partner teams (including Drive and Docs) from integrating.","Established a robust JaCoCo code coverage pipeline by resolving complex build toolchain issues, raising test coverage by 18% and reducing test flakiness by 30% to save 8-10 developer hours per week in debugging.","Achieved a 35 KB (approx. 5%) reduction in the compiled binary footprint through dead-code stripping, and decreased partner app cold-launch latency by 50ms on low-end hardware."],challenges:"Mimicking modern high-performance layout APIs on legacy SDKs (API 21-23) while keeping custom native C++ hooks stable and small.",learnings:"Toolchain automation is just as important as system code. Resolving build discrepancies early yields massive dividends in developer velocity and test reliability."}],technologies:["Java","Kotlin","Android Development","AndroidX","Jetpack","NanoHTTPD","DNS-SD","JaCoCo","C++","Blaze","Gerrit","Git"]},{id:"smallcase",company:"Smallcase Technologies",role:"Software Development Engineer - II",period:"April 2022 - July 2024",location:"Bengaluru, India",summary:"Architected core financial microservices, secured high-traffic user authentication, and optimized external broker sync engines.",projects:[{name:"OTP & Authentication Service",description:"Engineered, secured, and deployed a highly available, custom OTP (One-Time Password) service from scratch, supporting phone numbers, emails, and SSO login flows.",impact:["Processed over 500,000 authentication requests monthly with an audited 99.99% system reliability.","Fortified the gateway against malicious bots and brute-force actors, mitigating spam and abuse attacks by 90% and reducing fraudulent sign-ups by 75%.","Saved an estimated $15,000 USD in annual infrastructure, API gateway egress, and SMS carrier support costs."],challenges:"Orchestrating fast, secure multi-channel delivery (SMS/Email/SSO) while preventing rate-limiting exhaustion under highly distributed spam attacks.",learnings:"Leveraging defensive gateway firewalls (AWS WAF), CloudFront caching, JA3 SSL/TLS fingerprinting, and Google reCAPTCHA yields absolute protection against automated botnets."},{name:"Waitlist Program & Webhook Throttling Engine",description:"Led backend development for a high-priority US equities waitlist system and engineered a resilient external webhook delivery pipeline.",impact:["Streamlined user registration pipelines, boosting overall user onboarding registration efficie
277ncy by 50% and capturing 15,000+ interested users in month one.","Designed and implemented a high-throughput webhook service, incorporating queue-based traffic throttling to process up to 20,000 parallel machine-to-machine requests per minute.","Guaranteed a 99.9% uptime SLA for critical external partner systems under massive intraday market volatility."],challenges:"Sustaining high-throughput webhooks under abrupt traffic spikes (e.g. during market open/close) without overwhelming internal SQL databases.",learnings:"Decoupling API requests using persistent messaging buffers (Kafka, Redis) is critical to protect transactional data integrity."},{name:"Investment Tracking & Sync Engine",description:"Spearheaded the backend implementation for a highly secure external investment tracking platform to coordinate real-time portfolio synchronization.",impact:["Directly supported an Asset Under Management (AUM) growth to over $120 million USD.","Optimized the broker sync schedules to ingest and map 10,000+ daily complex transactional data syncs across 4 external partner platforms."],challenges:"Aligning highly inconsistent, legacy broker transaction models into a unified, high-integrity financial ledger.",learnings:"Financial systems require strict idempotency. Every single operation must be retriable and traceable to prevent portfolio balance discrepancies."}],technologies:["Java","Go","AWS","Spring Boot","Node.js","Express.js","Kafka","Redis","WAF","CloudFront","reCAPTCHA","SQL","MongoDB"]},{id:"hashedin",company:"HashedIn by Deloitte",role:"Software Development Engineer - I",period:"March 2021 - April 2022",location:"Bengaluru, India",summary:"Engineered scalable RESTful API backends, automated insurance claim settlement validations, and optimized data sync speeds.",projects:[{name:"US Insurance Claims Validation Engine",description:"Designed, developed, and deployed a high-throughput, rule-based infrastructure to accurately validate or deny claims on behalf of a major US insurance provider, HCSC.",impact:["Processed over 5,000 insurance claims daily, automating complex compliance checks with an initial accuracy rate of 98%.","Shipped resilient, highly optimized RESTful APIs that significantly reduced processing latency and improved claims settlement turnaround time."],challenges:"Translating hundreds of vague, legacy policy compliance guidelines into deterministic, low-latency programmatic code.",learnings:"Creating a decoupled rule evaluation structure is essential when business criteria change frequently, avoiding continuous software rebuilds."}],technologies:["Java","Spring Boot","RESTful APIs","SQL","Docker"]}],Nu=[{id:"pdf-thumbnail-preview",title:"Jetpack PDF Viewer & Performance Engine",subtitle:"Memory pooling, thumbnail previews, and backwards-compatibility (API 21+)",description:"Designed and delivered the thumbnail preview architecture and extended backward compatibility to Android API 21+ for the entire Jetpack PDF library, enabling Google Drive and Docs integration while maintaining butter-smooth rendering.",problem:"Enabling smooth document seeks and previews in heavy, vector-rich PDFs (>100 pages) without triggering aggressive JVM GC spikes and stuttering layout performance on lower-tier Android devices.",architecture:["Bitmap Pool: Recycles out-of-view canvas layouts.","Backport Layer: Mimics modern layout APIs down to API 21+.","FastScroller: Thread-isolated accessibility announcements."],techStack:["Kotlin","Java","Android SDK","Jetpack","JaCoCo","Systrace","C++ NDK"],challenges:"Achieving backward compatibility to API 21+ while minimizing binary footprints and retaining thread-safe native C++ rendering wrappers.",outcome:"Reduced peak memory usage by 35%, stripped 35 KB from binary size, and decreased document seek latency by 25%.",category:"Android"},{id:"mdns-smart-home",title:"Smart-Home Hub Onboarding Gateway",subtitle:"Zero-touch mDNS activation and multicast packet deduplication (OOBE 2.0)",description:"Designed and integrated a highly resilient local network mDNS discovery architecture for third-party screenless smart-home hubs (OOBE 2.0), incorporating automated NanoHTTPD setups and reliable multicast handshakes.",problem:"Network discovery pipelines collapsed in field testing when multiple smart hubs on the same subnet broadcasted duplicate advertisements, exhausting the mobile setup app's event loop and causing client crashes.",architecture:["NanoHTTPD: Tiny device-side setup server on the hub.","HubAdvert
277isingClient: Dynamic port collision negotiation.","Sliding Window: Memory-bounded packet deduplication buffer."],techStack:["Java","Kotlin","mDNS (DNS-SD)","NanoHTTPD","Wireshark","GMS Core"],challenges:"Sustaining reliable, secure handshakes across diverse residential local area subnets without user pin-entry or manual Wi-Fi switching.",outcome:"Completely resolved thread exhaustion loops on overlapping broadcasts, reducing average partner integration time by 40% and increasing discovery success by 40%.",category:"Distributed Systems"},{id:"otp-gateway",title:"Defensive Financial OTP & SSO Service",subtitle:"Mitigating SMS toll fraud and protecting session token transitions at scale",description:"Engineered from scratch a high-availability, zero-trust OTP and Single Sign-On (SSO) gateway at Smallcase, handling over 500,000 monthly transactions and defending core financial APIs from volumetric attacks.",problem:"Fintech APIs suffer continuous automated bot abuse and SMS pump fraud, risking massive toll carrier charges and insecure session handover replays.",architecture:["JA3 Edge: TLS client handshake fingerprinting.","Leaky Bucket: Redis-backed IP rate-limits.","Transient Cache: Short-lived token memory with strict TTLs."],techStack:["Node.js","Express.js","Redis","AWS WAF","CloudFront","reCAPTCHA","Go"],challenges:"Blocking distributed pump bots by over 90% without introducing login friction or false positives for legitimate retail investors.",outcome:"Processed 500,000+ monthly requests at 99.99% system reliability, cutting fraudulent account creations by 75% and saving $15,000 USD annually.",category:"System Design"},{id:"smartphone-muon-detector",title:"Smartphone Cosmic Ray Muon Detector",subtitle:"No-equipment particle physics experiment using CMOS camera sensors",description:"A self-contained experimental app concept that leverages standard mobile camera CMOS silicon sensors to capture high-energy atmospheric muon strikes from cosmic rays in real-time.",problem:"Cosmic ray particles (muons) constantly shower the Earth but are invisible. Professional cloud chambers and scintillators are expensive and inaccessible to everyday space enthusiasts.",architecture:["Sensor Masking: Complete visible light block via black tape.","Frame Analysis: Real-time bright pixel scanning in dark frames.","Event Logging: Recording charge trails and energy histograms."],techStack:["Kotlin","Android Camera2 API","Vulkan / GPU Shaders","Statistical Poisson Models"],challenges:"Differentiating high-energy particle ionization trails from thermal sensor noise (hot pixels) on consumer hardware.",outcome:"Allows users to turn a smartphone, black tape, and a dark room into a functional particle detector logging 2-3 muon strikes per minute.",category:"Cosmos"}],VN=[{id:"scaling-otp-gateway",title:"Scaling One-Time Passwords: A 99.99% Reliable Auth Gateway",excerpt:"How we designed a custom secure OTP service at Smallcase to handle 500k monthly requests, mitigate SMS pump fraud by 90%, and protect session handovers.",content:`When scaling consumer platforms or fintech apps, user authentication is the single most critical gateway. If login drops, your entire business is effectively down. 278 279During my tenure at Smallcase, we designed and deployed a custom, secure OTP (One-Time Password) service from scratch to handle over 500,000 monthly authentication requests across SMS, email, and SSO. To ensure high availability and protect our infrastructure from financial and security risks, we focused on two major engineering milestones: 280 281### 1. Defending Against Distributed SMS Pump Attacks 282SMS pump fraud occurs when automated botnets trigger massive spikes of OTP requests to high-cost premium carrier destinations, running up thousands of dollars in toll charges. 283 284To mitigate this abuse by over 90% and save $15,000 USD in infrastructure overhead, we implemented a layered defense strategy at both the network edge and the application tier: 285 286* **JA3 Fingerprinting**: We analyzed incoming TLS handshakes to identify the cryptographic signatures of automated bots, dropping requests that attempted to bypass standard browser headers. 287* **IP Reputation & Geo-Fencing**: We integrated AWS WAF and CloudFront rules to monitor incoming traffic trends and throttle suspicious request frequencies dynamically based on risk profiles. 288* **Leaky Bucket Throttling**: We designed custom rate-limiting queues in Redis. These throttles were mapped not just to individual user accounts, but directly to device signatures and destination phone subnets to catch distributed attacks. 289 290### 2. Safeguarding Session Transitions 291Single Sign-On (SSO) transitions and token handshakes must happen atomically. If a session handover fails mid-stream, it creates a terrible user experience; if it is intercepted, it compromises account security. 292 293To ensure seamless, highly secure session handovers: 294* **Transient Token Cache**: We leveraged a high-performance Redis cache to store and manage transient verification tokens.
295* **Strict TTL Expirations**: Every token was bound to a strict, short-lived Time-To-Live (TTL) expiration window. Once used or expired, the token was instantly evicted from memory. 296 297**The Engineering Win**: This fast, synchronous verification layer protected customer account creations from replay attacks while keeping our authentication gateway operating at 99.99% uptime.`,category:"System Design",readTime:"7 min read",date:"May 12, 2024"},{id:"android-pdf-rendering",title:"Android PDF Internals: Mastering Memory Pooling & High-Fidelity Rendering",excerpt:"Re-engineering the Android PDF rendering pipeline inside the Jetpack PDF library to achieve a locked 60 FPS scroll and 35% peak memory reduction.",content:`Most developers assume that displaying a PDF on a mobile device is as simple as launching a system intent. However, if you are building a native, interactive document viewer, you quickly run into severe hardware constraints. 298 299In large, vector-rich PDFs (especially those exceeding 100 pages), swift zooming and panning can instantly trigger massive memory allocation spikes. On Android, this leads to aggressive Garbage Collection (GC) pauses and stuttering frame rates. 300 301To solve this, we re-engineered the rendering pipeline, achieving a locked 60 FPS scroll and a 35% reduction in peak memory usage through two primary optimizations: 302 303### 1. Eliminating Runtime Allocations with Bitmap Pooling 304Allocating a brand-new, high-resolution bitmap every time a user pinches, zooms, or pans is a performance killer. Bitmaps are incredibly heavy objects; constantly creating and destroying them forces the JVM to run stop-the-world garbage collection cycles. 305 306To bypass this overhead, we implemented a Bitmap Pool pattern: 307* **The Recycle Loop**: When a PDF page scrolls out of the active viewport, its underlying bitmap is not released for garbage collection. Instead, it is retained and marked as "recyclable" within an in-memory pool. 308* **In-Place Re-rendering**: When a new page enters the screen, the rendering engine avoids a fresh memory allocation. Instead, it pulls a bitmap of matching dimensions from the pool and re-renders the new vector content directly onto the existing memory canvas. 309 310**The Engineering Win**: By recycling memory block allocations rather than churn-releasing them, we completely eliminated runtime heap allocation spikes during rapid scrolling. 311 312### 2. Accessible Architecture: Smarter FastScroller Navigation 313System software should never sacrifice accessibility for raw performance. A major goal of this overhaul was ensuring that heavy document navigation remained smooth and intuitive for all users, including those relying on screen readers. 314 315We refactored the FastScroller component to deeply integrate with Android's accessibility framework: 316* **Real-Time Spoken Feedback**: As a user drags the fast-scroll thumb through a 500-page document, the system dynamically intercepts the touch event loop and announces precise, localized page markers in real time. 317* **Deterministic Focus**: Instead of overwhelming screen readers with continuous layout updates during rapid scrolling, the system intelligently debounces announcements. This provides clear, high-fidelity audio feedback without lagging the UI thread. 318 319**The Engineering Win**: This approach ensures the application meets global accessibility standards without introducing main-thread stutter, making heavy document exploration accessible to everyone.`,category:"Engineering Lessons",readTime:"9 min read",date:"Jan 18, 2025"},{id:"mdns-discovery-stability",title:"mDNS Discovery Stability: Debugging Broadcasts in Local Topologies",excerpt:"How we resolved subnet packet collisions and infinite parsing loops during screenless smart-home hub onboarding (OOBE 2.0) at Google.",content:`Setting up screenless smart-home devices is notorious for flaky, unpredictable user experiences. During the GHP 3P Hub Activation (OOBE 2.0) project, our goal was to remove all manual friction and completely automate the hub onboarding flow using local Multicast DNS (mDNS) broadcasting. 320 321The initial architecture was designed around a clean, lightweight discovery loop: 322* **The Device-Side Server**: The smart hub spins up an embedded, lightweight setup server using NanoHTTPD.
323* **The Discovery Broadcast**: A custom HubAdvertisingClient begins broadcasting the server's operational port and unique discovery codes across the local network using DNS-Based Service Discovery (DNS-SD) over mDNS. 324* **The Automated Handshake**: The mobile setup app listens for these specific network broadcasts, intercepts the connection parameters, and automatically initiates a secure provisioning handshake without requiring the user to type in pins or switch Wi-Fi networks. 325 326### The Subnet Collision Challenge 327While the architecture worked flawlessly in isolated lab environments, field testing exposed a critical edge case. When multiple smart hubs sharing the exact same partner ID were powered on simultaneously within the same local subnet, the discovery pipeline completely collapsed. 328 329The flood of identical, overlapping incoming broadcast packets triggered a severe race condition in the app's discovery parser. Instead of gracefully ignoring or merging the duplicate network advertisements, the parsing thread fell into an infinite lookup loop. This rapidly led to thread exhaustion, completely locking up the app's network stack and causing the setup application to crash. 330 331### The Stabilization Strategy 332To fix this routing loop and harden the onboarding pipeline, we implemented a three-tiered network defense strategy: 333* **Strict Packet Deduplication**: We refactored the discovery parser to include a lightweight, memory-bounded sliding window cache. Incoming mDNS packets are fingerprinted, and identical duplicate broadcasts from the same subnet are dropped instantly before they can hit the validation engine. 334* **mDNS Port Collision Stabilization**: We updated the HubAdvert
334isingClient to dynamically detect and resolve port conflicts on the local interface. If a port is already bound by another device, the client cleanly negotiates an alternative socket rather than overlapping broadcasts. 335* **Defensive Server Validation**: We hardened the device-side NanoHTTPD server to defensively sanitize incoming request payloads and validate transport layers, ensuring that misconfigured or malicious packets are rejected early. 336 337**The Engineering Win**: Eliminating this parsing race condition completely solved the thread exhaustion bugs, boosting our smart hub discovery success rates by 40% and delivering a rock-solid, zero-touch onboarding experience for screenless devices.`,category:"Distributed Systems",readTime:"8 min read",date:"Nov 02, 2025"}],_i={cosmos:[{id:"black-holes",title:"Schwarzschild Geometry & The Information Paradox",topic:"Cosmology",description:"A theoretical study log exploring Schwarzschild metric singularities, the mathematical mechanics of Hawking radiation, and the Holographic Principle as a solution to information scrambling.",notes:["Schwarzschild Geometry: Exploring the exact solution to Einstein's field equations for spherically symmetric mass, establishing the event horizon at Rs = 2GM/c² as a coordinate singularity, not a physical one.","The Information Paradox: Analyzing the conflict between the unitary evolution of quantum states (which requires information preservation) and black hole thermal evaporation. Hawking radiation suggests mass-energy loss is entirely thermodynamic and carries no historical data.","Holographic Principle: Synthesizing Susskind and 't Hooft's proposal that the 3D interior volume of spacetime can be fully mapped onto a 2D boundary on the event horizon, laying the groundwork for AdS/CFT gravity-gauge dualities."],interactiveComponent:"gravity-well"},{id:"quantum-computing",title:"Quantum Coherence, Linear Algebra & Bloch Spheres",topic:"Quantum Physics",description:"A mathematical synthesis of state vectors in Hilbert space, exploring quantum measurement, Bloch sphere geometry, and the delicate nature of wave-function collapse under external decoherence.",notes:["State Vector Representation: Mapping qubits in two-dimensional complex Hilbert spaces as a superposition state |Ïâ© = α|0â© + β|1â©, constrained by the normalization condition |α|² + |β|² = 1.","Quantum Measurement Problem: Studying the transition from deterministic unitary evolution to probabilistic wave-function collapse upon interacting with macroscopic thermodynamic systems, modeled using projection operators.","Coherence and Environmental Interaction: Investigating how phase relations between state coefficients dissipate into environmental degrees of freedom (decoherence), modeling the hardware hurdles of scaling physical quantum registers."],interactiveComponent:"quantum-qubit"},{id:"smartphone-muon-detector",title:"Atmospheric Muon Decay & CMOS Silicon Feasibility",topic:"Astrophysics",description:"A theoretical feasibility study analyzing how high-energy secondary cosmic ray particles (muons) interact with consumer CMOS camera sensors to deposit ionization charge.",notes:["Atmospheric Muon Origin: When high-energy primary cosmic protons collide with air molecules in the upper atmosphere, they trigger a shower of pions that decay into muons, traveling relativistically with a dilated lifetime.","CMOS Ionization Mechanics: Analyzing how a passing charged muon deposits energy in silicon via the Bethe-Bloch formula, creating a trace of electron-hole pairs that manifests as localized pixel charge spikes above the thermal noise floor.","Background Noise Calibration: Synthesizing statistical Poisson models to isolate true high-energy muon strikes from thermal dark currents (hot pixels) through strict temporal and spatial spatial clustering filters."],interactiveComponent:"muon-detector"},{id:"james-webb-discoveries",title:"Deep Field Spectroscopy & Early Galaxy Evolution",topic:"Astrophysics",description:"A study log analyzing infrared redshift tracking data from the James Webb Space Telescope, tracing gravitational lensing fields and structural evolution in early galaxy populations.",notes:["Cosmic Infrared Redshift: Tracking the cosmological expansion of spacetime, which stretches ultraviolet and optical emission lines of primitive star cluster
337s into the infrared bands (z > 10) targeted by JWST's NIRSpec.","Early Galaxy Structural Discrepancy: Synthesizing data on massive, highly organized spiral and disk galaxy structures discovered just 300-400 million years after the Big Bang, challenging standard hierarchical galaxy formation models.","Spectroscopic Abundance Mapping: Examining optical emission lines lensed by massive cluster fields to quantify metallicity and early chemical enrichment of gas clouds in the primordial universe."]}],art:[{id:"user-art-gaara",title:"Gaara - Naruto Character",medium:"Pencil & Ink Sketch",description:"A hand-drawn pencil and ink sketch of Gaara, focusing on the character's signature intense expression and cracked sand armor texture.",year:"2024",imageUrl:"/assets/gara.jpeg",category:"Sketches"},{id:"user-art-plants",title:"Little Garden",medium:"Digital Illustration (Tablet)",description:"A vibrant digital sketch of potted indoor plants and flowers on a shelf, experimenting with clean linework and bold block coloring.",year:"2025",imageUrl:"/assets/urge.jpeg",category:"Digital"},{id:"user-art-gohan",title:"The Gohan Legacy",medium:"Pencil Sketch",description:"A detailed hand-drawn pencil sketch of Gohan, highlighting sharp, classic anime linework and deep shading.",year:"2024",imageUrl:"/assets/gohan.jpeg",category:"Sketches"},{id:"user-art-moon",title:"Midnight Lunar Reflection",medium:"Digital Painting",description:"A calm digital painting showing a full moon suspended in a starry night, reflecting a soft trail of light over gentle ocean waves.",year:"2025",imageUrl:"/assets/Nighty.jpeg",category:"Digital"},{id:"user-art-doodle",title:"Random Doodle art",medium:"Digital Painting",description:"Stuck in an over-thinking zone.",year:"2025",imageUrl:"/assets/art.jpeg",category:"Digital"},{id:"user-walk-art",title:"Under the same moon.",medium:"Digital Painting",description:"Stuck with you.",year:"2025",imageUrl:"/assets/walk.jpeg",category:"Digital"},{id:"user-art-doodle-2",title:"Another stupid random doodle art",medium:"Digital Painting",description:"Stuck in an over-thinking zone.",year:"2025",imageUrl:"/assets/doodles.jpeg",category:"Digital"}],notebook:[{title:"Astrophysics for People in a Hurry",author:"Neil deGrasse Tyson",status:"completed",rating:5,review:"A wonderfully cozy, punchy read that breaks down complex cosmic scales into understandable chapters. It is the perfect reminder of our place in the universe.",coverColor:"from-blue-950 to-indigo-900"},{title:"Designing Data-Intensive Applications",author:"Martin Kleppmann",status:"completed",rating:5,review:"The bible of backend engineering. It dissects database storage engines, replication algorithms, and distributed transactions with incredible clarity. A must-read for any systems architect.",coverColor:"from-gray-800 to-slate-950"},{title:"Gödel, Escher, Bach",author:"Douglas Hofstadter",status:"reading",rating:5,review:"An exploration of how cognition, self-reference, and consciousness emerge from formal systems. Hofstadter loops math, art, and music into an incredibly complex, beautiful braid.",coverColor:"from-purple-950 to-slate-900"}]},BN=[{year:"2021",title:"Began Career Journey",event:"Joined HashedIn by Deloitte",description:"Shipped scalable backend APIs and responsive mobile client profiles in Bangalore.",type:"career"},{year:"2022",title:"Scaling Fintech Transactions",event:"Joined smallcase",description:"Built high-concurrency order-placement pipelines, multi-broker investment APIs, and idempotent payment workers in Go.",type:"career"},{year:"2024",title:"Entering Google Platform Cores",event:"Relocated to Bangalore",description:"Contributed low-level optimization, multi-threaded rendering stability, and document performance to the Android platform in Bangalore and Hsinchu.",type:"career"},{year:"2024",title:"Entering Google Home Platform",event:"Relocated to Taiwan",description:"Contributed low-level optimization, multi-threaded rendering stability, and document performance to the Android platform in Bangalore and Hsinchu.",type:"career"},{year:"2026",title:"Next Stop: Pricing & Analytics",event:"Joining Bloomberg Ireland",description:"Relocating to Dublin, Ireland as an Incoming Senior Softw
337are Engineer on the Pricing & Analytics team soon.",type:"career"}],ys=[{text:"Somewhere, something incredible is waiting to be known.",author:"Carl Sagan",category:"Cosmos"},{text:"What I cannot create, I do not understand.",author:"Richard Feynman",category:"Philosophy"},{text:"Learn something about everything and everything about something.",author:"Thomas Huxley",category:"Philosophy"}];function LN(){const[a,i]=z.useState("bloomberg"),o=l=>{i(a===l?null:l)};return c.jsx("div",{className:"space-y-8",children:c.jsx("div",{className:"relative border-l border-slate-800 ml-4 md:ml-8 pl-6 md:pl-10 space-y-12",children:_N.map((l,d)=>{const m=a===l.id;return c.jsxs(Ge.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.5,delay:d*.1},className:"relative",children:[c.jsx("div",{className:"absolute -left-[31px] md:-left-[47px] top-1.5 flex items-center justify-center",children:c.jsx("div",{className:`w-3.5 h-3.5 rounded-full border-2 ${m?"bg-blue-400 border-blue-400 shadow-[0_0_10px_rgba(96,165,250,0.5)]":"bg-[#050816] border-slate-700"} transition-all duration-300 z-10`})}),c.jsxs("div",{className:`group border rounded-xl overflow-hidden transition-all duration-300 ${m?"bg-slate-900/40 border-slate-700/60 shadow-xl":"bg-slate-950/20 border-slate-900 hover:border-slate-800"}`,children:[c.jsxs("div",{onClick:()=>o(l.id),className:"p-6 md:p-8 cursor-pointer flex flex-col md:flex-row md:items-center justify-between gap-4",children:[c.jsxs("div",{className:"space-y-2",children:[c.jsxs("div",{className:"flex items-center space-x-3",children:[c.jsx("span",{className:"font-display text-lg md:text-xl font-medium text-slate-100 group-hover:text-blue-400 transition-colors",children:l.company}),c.jsx("span",{className:"px-2 py-0.5 rounded-full bg-slate-900 border border-slate-800 text-[10px] text-slate-400 font-mono font-medium",children:l.location})]}),c.jsxs("div",{className:"flex flex-wrap items-center gap-y-1 gap-x-4 text-xs text-slate-400 font-mono",children:[c.jsxs("span",{className:"flex items-center space-x-1.5",children:[c.jsx(Oj,{className:"w-3.5 h-3.5 text-blue-400"}),c.jsx("span",{children:l.role})]}),c.jsxs("span",{className:"flex items-center space-x-1.5",children:[c.jsx(Cd,{className:"w-3.5 h-3.5 text-purple-400"}),c.jsx("span",{children:l.period})]})]})]}),c.jsxs("div",{className:"flex items-center justify-between md:justify-end gap-4 border-t border-slate-900/60 md:border-none pt-4 md:pt-0",children:[c.jsx("span",{className:"text-[10px] text-slate-500 font-mono hidden sm:inline",children:m?"Read Less":"View Highlights"}),c.jsx("div",{className:`p-1.5 rounded-lg border transition-colors ${m?"bg-blue-500/10 border-blue-500/30 text-blue-400":"bg-slate-900 border-slate-800 text-slate-400 group-hover:text-slate-200"}`,children:m?c.jsx(Gj,{className:"w-4 h-4"}):c.jsx(Vj,{className:"w-4 h-4"})})]})]}),c.jsx(on,{initial:!1,children:m&&c.jsx(Ge.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:"easeInOut"},children:c.jsxs("div",{className:"px-6 md:px-8 pb-8 pt-2 border-t border-slate-900/80 space-y-6 text-xs text-slate-300 leading-relaxed font-sans",children:[c.jsxs("p",{className:"text-slate-400 text-sm italic border-l border-blue-500/40 pl-4 py-0.5 font-sans",children:["â",l.summary,"â"]}),c.jsx("div",{className:"space-y-6",children:l.projects.map((f,p)=>c.jsxs("div",{className:"bg-slate-950/45 rounded-lg border border-slate-900 p-5 md:p-6 space-y-4",children:[c.jsxs("div",{className:"flex items-center space-x-2",children:[c.jsx(Dd,{className:"w-4 h-4 text-purple-400"}),c.jsxs("span",{className:"font-display font-medium text-slate-200 text-sm",children:["Project: ",f.name]})]}),c.jsx("p",{className:"text-slate-400",children:f.description}),c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("span",{className:"text-[10px] font-mono text-slate-500 block uppercase tracking-wider",children:"Impact & Milestones"}),c.jsx("ul",{className:"space-y-1.5 list-none pl-1",children:f.impact.map((x,g)=>c.jsxs("li",{className:"flex items-start space-x-2.5 text-slate-300",children:[c.jsx(Mj,{className:"w-3.5 h-3.5 text-blue-400 shrink-0 mt-0.5"}),c.jsx("span",{children:x})]},g))})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 pt-2",children:[c.jsxs("div",{className:"space-y-1 bg-slate-950 p-3.5 rounded border border-slate-900/60",children:[c.jsx("span",{className:"text-[9px] font-mono text-red-400 block uppercase tracking-wider font-semibold",children:"Engineering Challenge"}),c.jsx("p",{className:"text-slate-400 leading-normal",children:f.challenges})]}),c.jsxs("div",{className:"space-y-1 bg-slate-950 p-3.5 rounded border border-slate-900/60",children:[c.jsx("span",{className:"text-[9px] font-mono text-emerald-400 block uppercase tracking-wider font-semibold",children:"Lessons & Architecture Insights"}),c.jsx("p",{className:"text-slate-400 leading-normal",children:f.learnings})]})]})]},p))}),c.jsxs("div",{className:"space-y-2 pt-2",children:[c.jsx("span",{className:"text-[10px] font-mono text-slate-500 block uppercase tracking-wider",children:"Technologies Used"}),c.jsx("div",{className:"flex flex-wrap gap-2",children:l.technologies.map(f=>c.jsx("span",{className:"px-2.5 py-1 rounded bg-slate-900 border border-slate-800 text-[10px] text-slate-400 font-mono hover:border-slate-600 transition-colors",children:f},f))})]})]})})})]})]},l.id)})})})}function UN(){const[a,i]=z.useState("pdf-thumbnail-preview"),o=Nu.find(l=>l.id===a)||Nu[0];return c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 items-start",children:[c.jsx("div",{className:"lg:col-span-4 space-y-3",children:Nu.map(l=>{const d=l.id===a;return c.jsx("button",{onClick:()=>i(l.id),className:`w-full text-left p-5 rounded-xl border transition-all cursor-pointer block ${d?"bg-blue-600/10 border-blue-500/40 shadow-md":"bg-slate-950/25 border-slate-900 hover:border-slate-800"}`,children:c.jsxs("div",{className:"space-y-1",children:[c.jsx("span",{className:`text-[10px] font-mono tracking-wider block uppercase ${d?"text-blue-400":"text-slate-500"}`,children:l.category}),c.jsx("h4",{className:`font-display text-sm md:text-base font-semibold ${d?"text-slate-100":"text-slate-400"}`,children:l.title}),c.jsx("p",{className:"text-[11px] text-slate-500 line-clamp-1 font-mono",children:l.subt
337itle})]})},l.id)})}),c.jsx("div",{className:"lg:col-span-8",children:c.jsx(on,{mode:"wait",children:c.jsxs(Ge.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"bg-slate-950/40 border border-slate-900 rounded-xl p-6 md:p-8 space-y-6",children:[c.jsx("div",{className:"flex flex-col border-b border-slate-900 pb-5 text-left",children:c.jsxs("div",{className:"space-y-1",children:[c.jsx("span",{className:"text-[10px] font-mono px-2.5 py-1 rounded bg-slate-900 border border-slate-800 text-slate-400 uppercase tracking-widest inline-block",children:o.category}),c.jsx("h3",{className:"font-display text-xl md:text-2xl font-semibold text-slate-100 mt-2",children:o.title}),c.jsx("p",{className:"text-xs text-blue-400 font-mono italic",children:o.subtitle})]})}),c.jsx("p",{className:"text-xs md:text-sm text-slate-300 leading-relaxed text-left",children:o.description}),c.jsxs("div",{className:"space-y-2 bg-slate-950 p-4 rounded-lg border border-slate-900 text-left",children:[c.jsxs("div",{className:"flex items-center space-x-2 text-[10px] text-red-400 font-mono font-bold uppercase tracking-wider",children:[c.jsx(gN,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:"The Challenge"})]}),c.jsx("p",{className:"text-xs text-slate-400 leading-relaxed font-sans",children:o.problem})]}),c.jsxs("div",{className:"space-y-3 bg-[#03050d] p-5 rounded-lg border border-slate-900 font-mono",children:[c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsxs("div",{className:"flex items-center space-x-2 text-[10px] text-slate-400 uppercase tracking-wider",children:[c.jsx(Qx,{className:"w-3.5 h-3.5 text-blue-400"}),c.jsx("span",{children:"System Architecture Flow"})]}),c.jsx("span",{className:"text-[9px] text-slate-600",children:"ARCH_BLUEPRINT"})]}),c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 pt-2 pb-1 text-[10px] text-slate-300",children:o.architecture.map((l,d)=>{var x,g;const m=l.split(":"),f=((x=m[0])==null?void 0:x.trim())||"Stage",p=((g=m[1])==null?void 0:g.trim())||"";return c.jsxs("div",{className:"flex flex-col bg-slate-950/70 border border-slate-900/60 rounded-lg p-4 text-left hover:border-blue-500/20 transition-all shadow-inner relative",children:[c.jsxs("div",{className:"absolute top-2 right-3 text-slate-700 text-[8px] font-mono",children:["STAGE-0",d+1]}),c.jsxs("div",{className:"flex items-center space-x-1.5 mb-1.5",children:[c.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-blue-500"}),c.jsx("span",{className:"font-semibold text-slate-200 tracking-tight leading-tight uppercase font-mono text-[10.5px]",children:f})]}),c.jsx("p",{className:"font-sans text-slate-400 text-[10.5px] leading-relaxed",children:p})]},d)})})]}),c.jsxs("div",{className:"space-y-2",children:[c.jsx("span",{className:"text-[10px] font-mono text-slate-500 uppercase tracking-wider block",children:"Technologies Used"}),c.jsx("div",{className:"flex flex-wrap gap-2",children:o.techStack.map(l=>c.jsx("span",{className:"px-2.5 py-1 rounded bg-slate-900 border border-slate-800 text-[10px] text-slate-400 font-mono hover:border-slate-500 transition-colors",children:l},l))})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 pt-2",children:[c.jsxs("div",{className:"bg-slate-950 p-4 rounded-lg border border-slate-900 space-y-2",children:[c.jsx("span",{className:"text-[9px] font-mono text-amber-500 uppercase tracking-wider font-semibold block",children:"Key Challenge"}),c.jsx("p",{className:"text-xs text-slate-400 leading-relaxed font-sans",children:o.challenges})]}),c.jsxs("div",{className:"bg-slate-950 p-4 rounded-lg border border-slate-900 space-y-2",children:[c.jsxs("div",{className:"flex items-center space-x-1.5 text-[9px] font-mono text-emerald-400 uppercase tracking-wider font-semibold",children:[c.jsx(Dj,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:"Quantifiable Outcomes"})]}),c.jsx("p",{className:"text-xs text-slate-400 leading-relaxed font-sans",children:o.outcome})]})]})]},o.id)})})]})}function HN(){const[a,i]=z.useState("black-holes"),[o,l]=z.useState(45),[d,m]=z.useState(null),[f,p]=z.useState(50),[x,g]=z.useState(50),[v,b]=z.useState([]),S=_i.cosmos.find(w=>w.id===a)||_i.cosmos[0],E=w=>{l(w);const R=w*Math.PI/180,Y=Math.pow(Math.cos(R/2),2)*100,L=Math.pow(Math.sin(R/2),2)*100;p(Math.round(Y*10)/10),g(Math.round(L*10)/10),m(null)},M=()=>{const R=Math.random()*100<f?"|0â© (Spin Up)":"|1â© (Spin Down)";m(R),b(Y=>[R.substring(0,3),...Y.slice(0,14)])},B=()=>{l(45),p(50),g(50),m(null),b([])};return c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 items-start font-mono",children:[c.jsx("div",{className:"lg:col-span-4 space-y-3",children:_i.cosmos.map(w=>{const R=w.id===a;return c.jsx("button",{onClick:()=>i(w.id),className:`w-full text-left p-5 rounded-xl border transition-all cursor-pointer block ${R?"bg-purple-600/10 border-purple-500/40 shadow-md":"bg-slate-950/25 border-slate-900 hover:border-slate-800"}`,children:c.jsxs("div",{className:"space-y-1",children:[c.jsx("span",{className:`text-[10px] tracking-wider block uppercase ${R?"text-purple-400":"text-slate-500"}`,children:w.topic}),c.jsx("h4",{className:`font-display text-sm md:text-base font-semibold ${R?"text-slate-100":"text-slate-400"}`,children:w.title})]})},w.id)})}),c.jsx("div",{className:"lg:col-span-8",children:c.jsx(on,{mode:"wait",children:c.jsxs(Ge.div,{initial:{opacity:0,x:20}
337,animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"bg-slate-950/40 border border-slate-900 rounded-xl p-6 md:p-8 space-y-6",children:[c.jsxs("div",{className:"border-b border-slate-900 pb-4 space-y-2 text-left",children:[c.jsxs("span",{className:"text-[10px] uppercase text-purple-400 px-2 py-0.5 rounded bg-purple-950/20 border border-purple-900/30",children:[S.topic," LOGS"]}),c.jsx("h3",{className:"font-display text-lg md:text-xl font-semibold text-slate-100 pt-1",children:S.title}),c.jsx("p",{className:"text-xs text-slate-500 leading-relaxed font-sans",children:S.description})]}),c.jsx("div",{className:"relative border-l-2 border-dashed border-slate-800 pl-5 space-y-4 text-xs text-slate-300",children:S.notes.map((w,R)=>c.jsxs("div",{className:"relative py-1 leading-relaxed",children:[c.jsx("div",{className:"absolute -left-[27px] top-2 w-2 h-2 rounded-full bg-purple-500/30 border border-purple-500"}),c.jsx("p",{className:"font-sans text-slate-400",children:w})]},R))}),S.id==="quantum-computing"&&c.jsxs("div",{className:"mt-8 border border-slate-900/80 bg-slate-950 p-6 rounded-lg space-y-6",children:[c.jsxs("div",{className:"flex items-center justify-between border-b border-slate-900 pb-3",children:[c.jsxs("div",{className:"flex items-center space-x-2",children:[c.jsx(Fu,{className:"w-4 h-4 text-purple-400 animate-spin"}),c.jsx("span",{className:"text-[11px] uppercase tracking-wider text-slate-200",children:"Quantum Qubit Simulator"})]}),c.jsx("button",{onClick:B,className:"p-1 rounded bg-slate-900 border border-slate-800 text-slate-500 hover:text-slate-300 cursor-pointer",children:c.jsx(fN,{className:"w-3.5 h-3.5"})})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-6 items-center",children:[c.jsxs("div",{className:"md:col-span-4 flex flex-col items-center justify-center space-y-3",children:[c.jsxs("div",{className:"relative w-28 h-28 border border-dashed border-slate-700 rounded-full flex items-center justify-center",children:[c.jsx("div",{className:"absolute inset-0 flex items-center",children:c.jsx("div",{className:"w-full h-[1px] bg-slate-800/80"})}),c.jsx("div",{className:"absolute inset-0 flex justify-center",children:c.jsx("div",{className:"h-full w-[1px] bg-slate-800/80"})}),c.jsx("span",{className:"absolute -top-4 text-[9px] text-slate-500",children:"|0â©"}),c.jsx("span",{className:"absolute -bottom-4 text-[9px] text-slate-500",children:"|1â©"}),c.jsxs("svg",{className:"absolute inset-0 w-full h-full -rotate-90",children:[c.jsx("line",{x1:"50%",y1:"50%",x2:`${50+40*Math.cos(o*Math.PI/180)}%`,y2:`${50+40*Math.sin(o*Math.PI/180)}%`,stroke:"#a855f7",strokeWidth:"2"}),c.jsx("circle",{cx:`${50+40*Math.cos(o*Math.PI/180)}%`,cy:`${50+40*Math.sin(o*Math.PI/180)}%`,r:"3",fill:"#c084fc"})]})]}),c.jsxs("span",{className:"text-[10px] text-slate-400 font-mono mt-2",children:["Vector θ = ",o,"°"]})]}),c.jsxs("div",{className:"md:col-span-8 space-y-4 text-xs",children:[c.jsxs("div",{className:"space-y-1",children:[c.jsxs("div",{className:"flex justify-between items-center text-[10px]",children:[c.jsx("span",{className:"text-slate-500",children:"COHERENCE ROTATION SPEED (θ)"}),c.jsxs("span",{className:"text-purple-400 font-bold",children:[o,"°"]})]}),c.jsx("input",{type:"range",min:"0",max:"180",value:o,onChange:w=>E(Number(w.target.value)),className:"w-full accent-purple-500 h-1 bg-slate-900 rounded"})]}),c.jsxs("div",{className:"grid grid-cols-2 gap-3 text-center text-[11px] py-1 bg-slate-900/40 p-3 rounded border border-slate-900",children:[c.jsxs("div",{children:[c.jsx("span",{className:"text-slate-500 block text-[9px]",children:"P(|0â©) (Spin Up)"}),c.jsxs("span",{className:"font-bold text-slate-200 text-sm font-mono",children:[f,"%"]})]}),c.jsxs("div",{children:[c.jsx("span",{className:"text-slate-500 block text-[9px]",children:"P(|1â©) (Spin Down)"}),c.jsxs("span",{className:"font-bold text-slate-200 text-sm font-mono",children:[x,"%"]})]})]}),c.jsx("div",{className:"flex gap-2 items-center",children:c.jsx("button",{onClick:M,className:"flex-1 bg-purple-600 hover:bg-purple-700 border border-purple-500 text-slate-100 font-bold px-3 py-2 rounded text-[11px] uppercase cursor-pointer text-center",children:"Measure State"})}),d&&c.jsxs("div",{className:"bg-slate-900 p-3 rounded border border-purple-900/40 flex items-center justify-between text-[11px]",children:[c.jsx("span",{className:"text-slate-500",children:"WAVE-FUNCTION COLLAPSE:"}),c.jsx("span",{className:"text-emerald-400 font-bold animate-pulse",children:d})]}),v.length>0&&c.jsxs("div",{className:"flex items-center space-x-1.5 text-[9px]",children:[c.jsx("span",{className:"text-slate-600 shrink-0",children:"HISTORY:"}),c.jsx("div",{className:"flex flex-wrap gap-1",children:v.map((w,R)=>c.jsx("span",{className:"px-1 py-0.5 rounded bg-slate-900 border border-slate-800 text-[8px] text-slate-400",children:w},R))})]})]})]})]}),S.id==="black-holes"&&c.jsxs("div",{className:"mt-8 border border-slate-900/80 bg-slate-950 p-6 rounded-lg space-y-4",children:[c.jsxs("div",{className:"flex items-center space-x-2 border-b border-slate-900 pb-3",children:[c.jsx(Fu,{className:"w-4 h-4 text-purple-400 animate-pulse"}),c.jsx("span",{className:"text-[11px] uppercase tracking-wider text-slate-200",children:"Interactive Singularity Calibrator"})]}),c.jsxs("div",{className:"text-xs space-y-3",children:[c.jsx("p",{className:"text-slate-400 font-sans leading-normal",children:"Calculate what size a physical object must be compressed down to in order to breach its event horizon limit and collapse into a gravitational singularity."}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 pt-2 text-center",children:[c.jsxs("div",{className:"p-3 bg-slate-900 rounded border border-slate-900",children:[c.jsx("span",{className:"text-[9px] text-slate-500 block",children:"PLANET EARTH MASS"}),c.jsx("span",{className:"font-bold text-slate-300 block mt-1",children:"5.97 à 10²ⴠkg"}),c.jsx("span",{className:"text-[9px] text-purple-400 block mt-1",children:"Horizon = 8.87 mm"})]}),c.jsxs("div",{className:"p-3 bg-slate-900 rounded border border-slate-900",children:[c.jsx("span",{className:"text-[9px] text-slate-500 block",children:"OUR SUN MASS"}),c.jsx("span",{className:"font-bold text-slate-300 block mt-1",children:"1.98 à 10³Ⱐkg"}),c.jsx("span",{className:"text-[9px] text-purple-400 block mt-1",children:"Horizon = 2.95 km"})]}),c.jsxs("div",{className:"p-3 bg-slate-900 rounded border border-slate-900",children:[c.jsx("span",{className:"text-[9px] text-slate-500 block",children:"MILKY WAY BLACKHOLE"}),c.jsx("span",{className:"font-bold text-slate-300 block mt-1",children:"8.2 à 10³ⶠkg"}),c.jsx("span",{className:"text-[9px] text-purple-400 block mt-1",children:"Horizon = 12.2 M km"})]})]})]})]})]},S.id)})})]})}function GN(){const[a,i]=z.useState("All"),[o,l]=z.useState(null),d=_i.art,m=["All","Digital","Sketches","Generative","Astro
337photography"],f=a==="All"?d:d.filter(x=>x.category===a),p=d.find(x=>x.id===o);return c.jsxs("div",{className:"space-y-8 font-mono",children:[c.jsx("div",{className:"flex flex-wrap gap-2 justify-center",children:m.map(x=>c.jsx("button",{onClick:()=>i(x),className:`px-3.5 py-1.5 rounded-full text-[10px] font-mono tracking-wider uppercase transition-all cursor-pointer border ${a===x?"bg-purple-600/10 border-purple-500/50 text-purple-300":"bg-slate-950/30 border-slate-900 text-slate-500 hover:border-slate-800 hover:text-slate-300"}`,children:x},x))}),c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:c.jsx(on,{mode:"popLayout",children:f.map((x,g)=>c.jsxs(Ge.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.35,delay:g*.05},onClick:()=>l(x.id),className:"group relative bg-slate-950/30 border border-slate-900 rounded-xl overflow-hidden cursor-pointer hover:border-slate-800 transition-all",children:[c.jsxs("div",{className:"aspect-square relative w-full overflow-hidden bg-slate-950",children:[c.jsx("img",{src:x.imageUrl,alt:x.title,referrerPolicy:"no-referrer",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),c.jsx("div",{className:"absolute inset-0 bg-slate-950/70 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center",children:c.jsxs("div",{className:"text-center p-4 space-y-2",children:[c.jsx(DN,{className:"w-5 h-5 text-purple-400 mx-auto animate-pulse"}),c.jsx("span",{className:"text-[10px] font-mono text-slate-400 uppercase tracking-widest block",children:"View Exhibition"})]})})]}),c.jsxs("div",{className:"p-4 border-t border-slate-900/60 space-y-1 text-left",children:[c.jsx("span",{className:"text-[9px] text-purple-400 uppercase tracking-wider",children:x.category}),c.jsx("h4",{className:"font-display font-semibold text-slate-200 text-xs sm:text-sm truncate",children:x.title}),c.jsxs("div",{className:"flex justify-between items-center text-[10px] text-slate-500 pt-1 border-t border-slate-900/40",children:[c.jsx("span",{className:"truncate max-w-[70%] font-mono",children:x.medium}),c.jsx("span",{className:"font-mono",children:x.year})]})]})]},x.id))})}),c.jsx(on,{children:p&&c.jsx("div",{className:"fixed inset-0 bg-slate-950/90 backdrop-blur-md z-50 flex items-center justify-center p-4",children:c.jsxs(Ge.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.3},className:"bg-[#050816] border border-slate-800 rounded-xl max-w-4xl w-full overflow-hidden shadow-2xl relative grid grid-cols-1 md:grid-cols-12",children:[c.jsx("button",{onClick:()=>l(null),className:"absolute top-4 right-4 z-10 p-2 rounded-full bg-slate-950/80 border border-slate-800 text-slate-400 hover:text-slate-100 transition-colors cursor-pointer",children:c.jsx(Zx,{className:"w-4 h-4"})}),c.jsx("div",{className:"md:col-span-7 bg-black flex items-center justify-center aspect-square md:aspect-auto md:h-[500px]",children:c.jsx("img",{src:p.imageUrl,alt:p.title,referrerPolicy:"no-referrer",className:"max-h-full max-w-full object-contain"})}),c.jsxs("div",{className:"md:col-span-5 p-6 md:p-8 flex flex-col justify-between text-left space-y-6",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"space-y-1",children:[c.jsx("span",{className:"text-[10px] font-mono text-purple-400 uppercase tracking-widest px-2 py-0.5 rounded bg-purple-950/20 border border-purple-900/30 inline-block",children:p.category}),c.jsx("h3",{className:"font-display text-lg md:text-xl font-bold text-slate-100 mt-2",children:p.title})]}),c.jsx("p",{className:"text-xs text-slate-400 leading-relaxed font-sans font-normal",children:p.description})]}),c.jsxs("div",{className:"space-y-3 pt-4 border-t border-slate-900/80 text-[11px] text-slate-500",children:[c.jsxs("div",{className:"flex items-center space-x-2",children:[c.jsx(nN,{className:"w-3.5 h-3.5 text-slate-600 shrink-0"}),c.jsxs("span",{children:["Medium: ",c.jsx("strong",{className:"text-slate-300 font-normal",children:p.medium})]})]}),c.jsxs("div",{className:"flex items-center space-x-2",children:[c.jsx(Cd,{className:"w-3.5 h-3.5 text-slate-600 shrink-0"}),c.jsxs("span",{children:["Year of Creation: ",c.jsx("strong",{className:"text-slate-300 font-normal",children:p.year})]})]})]})]})]})})})]})}const qN=({post:a,onClose:i})=>{const[o,l]=z.useState(!0),[d,m]=z.useState("normal"),[f,p]=z.useState(!1),[x,g]=z.useState([]),[v,b]=z.useState(0),[S,E]=z.useState(0),[M,B]=z.useState(0),w=z.useRef(0),R=z.useRef(null),[Y,L]=z.useState(0),[G,X]=z.useState(""),[te,K]=z.useState("Click 'Initiate SSO Handoff' to simulate a token transition."),[P,ae]=z.useState(1),[F,le]=z.useState(!0),[I,Le]=z.useState(15.2),[Me,Ce]=z.useState(0),[O,Q]=z.useState([{id:"BMP-Alpha",lastUsedPage:1,color:"bg-teal-500"},{id:"BMP-Beta",lastUsedPage:0,color:"bg-emerald-500"},{id:"BMP-Gamma",lastUsedPage:0,color:"bg-indigo-500"}]),[Z,re]=z.useState(!1),[ue,N]=z.useState(10),[U,J]=z.useState("debounced"),[W,oe]=z.useState(["FastScroller initialized."]),[fe,Te]=z.useState(!0),[st,Xe]=z.useState(!0),[ka,Ms]=z.useState(!0),[un,Cs]=z.useState(!1),[At,Dn]=z.useState(12),[Ds,ks]=z.useState(0),[Xi,Ra]=z.useState(0),[zt,kn]=z.useState("idle"),[Lr,Rs]=z.useState([]),Pe=z.useRef(null),Ur=z.useRef(0);z.useEffect(()=>()=>{R.current&&clearInterval(R.current),Pe.current&&clearInterval(Pe.current)},[]);const Os=()=>
337{if(f){R.current&&clearInterval(R.current),p(!1);return}p(!0);const ce=(he,ve)=>{g(Ne=>[{id:w.current++,text:he,status:ve},...Ne.slice(0,8)])};ce(`Initiating gateway simulation with ${d.toUpperCase()} traffic...`,"info"),R.current=setInterval(()=>{const he=d==="attack"?Math.random()<.85:Math.random()<.15,ve=he?`198.51.100.${Math.floor(Math.random()*254+1)}`:`157.45.23.${Math.floor(Math.random()*254+1)}`,Ne=he?`+1 900 555 ${Math.floor(Math.random()*9e3+1e3)}`:`+91 98765 ${Math.floor(Math.random()*9e4+1e4)}`;if(he&&o){b(Qt=>Qt+1);const qe=Math.random()<.5?"Blocked by JA3 Bot Fingerprint":"Leaky Bucket IP Limit exceeded";ce(`ð¨ BLOCKED: Request to ${Ne} from IP ${ve}. Reason: ${qe}`,"blocked")}else E(qe=>qe+1),B(qe=>qe+.02),ce(`â ALLOWED: Dispatched OTP SMS code to ${Ne} via Carrier gateway`,"success")},1200)},zs=ce=>{m(ce),f&&(R.current&&clearInterval(R.current),p(!1),setTimeout(()=>Os(),200))},Oa=()=>{const ce=[{message:"Step 1: User requests login. Client App generates state data and hashes temporal signature.",token:"No token yet..."},{message:"Step 2: Core server generates a one-time cryptographic verification token with a secure 10s TTL, inserting it instantly into Redis.",token:"tok_sso_smallcase_"+Math.random().toString(36).substring(2,10).toUpperCase()},{message:"Step 3: User transitions to the target broker platform carrying the temporal verification token in the redirect header.",token:"tok_sso_smallcase_"+Math.random().toString(36).substring(2,10).toUpperCase()},{message:"Step 4: Target broker validates token back to Smallcase API. Verification succeeds, token is instantly evicted from Redis cache memory to avoid replaying.",token:"[ EXPIRED / EVICTED ]"}],he=(Y+1)%5;if(L(he),he===0)X(""),K("Flow reset. Click 'Initiate SSO Handoff' to run the transition again.");else{const ve=ce[he-1];X(ve.token),K(ve.message)}},Pi=ce=>{const he=ce==="next"?Math.min(6,P+1):Math.max(1,P-1);he!==P&&(ae(he),F?(Q(ve=>{const Ne=[...ve];return Ne.sort((qe,Qt)=>qe.lastUsedPage-Qt.lastUsedPage),Ne[0].lastUsedPage=he,Ne}),Le(ve=>Math.max(14.8,15+Math.random()*.4))):(Ce(ve=>ve+1),Le(ve=>{const Ne=ve+8.5;return setTimeout(()=>{re(!0),setTimeout(()=>{re(!1),Le(15.2)},600)},800),Ne})))},Ki=ce=>{const he=parseInt(ce.target.value);if(N(he),U==="debounced"){const ve=Math.floor(he*5);(ve%50===0||ve===500)&&oe(Ne=>[`ð¢ Speech [Debounced]: "Page ${ve} of 500. Local section: ${ve<150?"Intro":ve<350?"Core Specs":"Appendix"}"`,...Ne.slice(0,4)])}else{const ve=Math.floor(he*5);oe(Ne=>[`ð¨ Speech [RAW]: "Page ${ve}..."`,`ð¨ Speech [RAW]: "Page ${Math.max(0,ve-1)}..."`,`ð¨ Speech [RAW]: "Page ${Math.max(0,ve-2)}..."`,...Ne.slice(0,4)])}},Hr=()=>{if(un){Pe.current&&clearInterval(Pe.current),Cs(!1),Rs([]),kn("idle");return}Cs(!0),kn("idle"),Dn(15),ks(0),Ra(0),Pe.current=setInterval(()=>{const he=["HUB-Setup-A","HUB-Setup-B","HUB-Setup-C"][Math.floor(Math.random()*3)],ve=st?he==="HUB-Setup-A"?"8080":he==="HUB-Setup-B"?"8081":"8082":"8080",Ne={id:Ur.current++,hubId:he,payload:`mDNS _http._tcp.local. HUB_ID:${he} PORT:${ve}`,isDuplicate:Math.random()<.6,x:Math.random()*30+10,y:Math.random()*80+10};Rs(qe=>[...qe,Ne]),setTimeout(()=>{Rs(qe=>qe.filter(Qt=>Qt.id!==Ne.id)),Ne.isDuplicate&&fe?Ra(qe=>qe+1):(ks(qe=>{const Qt=qe+1;return!fe&&Qt>15&&(kn("crashed"),Dn(100),Pe.current&&clearInterval(Pe.current)),Qt}),Dn(qe=>fe?Math.min(45,qe+Math.random()*2):Math.min(100,qe+8)))},1e3),ks(qe=>(qe>=18&&!fe||qe>=18&&zt==="idle"&&(kn("success"),Dn(12),Pe.current&&clearInterval(Pe.current)),qe))},350)},Gr=()=>{switch(a.id){case"scaling-otp-gateway":return c.jsxs("div",{className:"space-y-8 font-sans max-w-3xl mx-auto text-slate-300",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsx("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight",children:" Introduction "}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"When scaling consumer platforms or fintech apps, user authentication is the single most critical gateway.If login drops, your entire business is effectively down."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"During my tenure at Smallcase, we designed and deployed a custom, secure OTP(One - Time Password) service from scratch to handle over 500,000 monthly authentication requests across SMS, email, and SSO.To ensure high availability and protect our infrastru
337cture from financial and security risks, we focused on two major engineering milestones:"})]}),c.jsx("hr",{className:"border-slate-900 my-8"}),c.jsxs("div",{className:"space-y-6",children:[c.jsxs("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight flex items-center gap-2",children:[c.jsxs("span",{className:"p-1.5 rounded bg-blue-500/10 text-blue-400",children:[" ",c.jsx(yN,{className:"w-5 h-5"})," "]}),"1. Defending Against Distributed SMS Pump Attacks"]}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"SMS pump fraud occurs when automated botnets trigger massive spikes of OTP requests to high - cost premium carrier destinations, running up thousands of dollars in toll charges."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"To mitigate this abuse by over 90 % and save $15,000 USD in infrastructure overhead, we implemented a layered defense strategy at both the network edge and the application tier:"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 my-4",children:[c.jsxs("div",{className:"bg-[#030612] border border-blue-900/20 p-4 rounded-xl space-y-2",children:[c.jsx("span",{className:"text-xs font-mono text-blue-400 font-bold block uppercase",children:" JA3 Fingerprinting "}),c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed",children:"We analyzed incoming TLS handshakes to identify the cryptographic signatures of automated bots, dropping requests that attempted to bypass standard browser headers."})]}),c.jsxs("div",{className:"bg-[#030612] border border-blue-900/20 p-4 rounded-xl space-y-2",children:[c.jsx("span",{className:"text-xs font-mono text-blue-400 font-bold block uppercase",children:" IP Reputation & Geo - Fencing "}),c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed",children:"We integrated AWS WAF and CloudFront rules to monitor incoming traffic trends and throttle suspicious request frequencies dynamically based on risk profiles."})]}),c.jsxs("div",{className:"bg-[#030612] border border-blue-900/20 p-4 rounded-xl space-y-2",children:[c.jsx("span",{className:"text-xs font-mono text-blue-400 font-bold block uppercase",children:" Leaky Bucket Throttling "}),c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed",children:"We designed custom rate - limiting queues in Redis.These throttles were mapped not just to individual user accounts, but directly to device signatures and destination phone subnets to catch distributed attacks."})]})]}),c.jsxs("div",{className:"bg-[#02040a] border border-slate-900 rounded-xl p-5 md:p-6 my-6 relative overflow-hidden",children:[c.jsx("span",{className:"text-[10px] font-mono text-slate-500 block uppercase tracking-wider mb-4 text-center",children:"Live Interactive Sandbox: SMS Pump & Rate Limiting Pipeline"}),c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6",children:[c.jsxs("div",{className:"lg:col-span-5 space-y-4",children:[c.jsxs("div",{className:"p-3.5 bg-slate-950/80 border border-slate-900 rounded-lg space-y-3 text-xs",children:[c.jsx("span",{className:"font-mono text-slate-400 block font-bold",children:" SIMULATION SETTINGS "}),c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsx("span",{className:"text-slate-400",children:" Layer Security Filters: "}),c.jsx("button",{onClick:()=>l(!o),className:`px-3 py-1 rounded text-[10px] font-mono font-bold uppercase transition-colors cursor-pointer ${o?"bg-blue-950 text-blue-400 border border-blue-900/40":"bg-red-950/60 text-red-400 border border-red-900/30"}`,children:o?"ACTIVE (ON)":"DISABLED (OFF)"})]}),c.jsxs("div",{className:"space-y-1",children:[c.jsx("span",{className:"text-slate-500 text-[10px] block",children:" TRAFFIC PATTERN: "}),c.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[c.jsx("button",{onClick:()=>zs("normal"),className:`py-1 rounded text-[10px] font-mono uppercase cursor-pointer ${d==="normal"?"bg-slate-900 text-slate-100 font-bold border border-slate-700":"bg-slate-950 text-slate-500 border border-transparent hover:text-slate-300"}`,children:"Normal Users"}),c.jsx("button",{onClick:()=>
337zs("attack"),className:`py-1 rounded text-[10px] font-mono uppercase cursor-pointer ${d==="attack"?"bg-red-950/40 text-red-400 font-bold border border-red-900/40":"bg-slate-950 text-slate-500 border border-transparent hover:text-slate-300"}`,children:"Botnet Burst"})]})]}),c.jsxs("button",{onClick:Os,className:`w-full py-2 rounded font-mono text-xs font-bold uppercase flex items-center justify-center gap-1.5 transition-colors cursor-pointer ${f?"bg-amber-950/60 text-amber-400 border border-amber-900/40":"bg-blue-600 text-white hover:bg-blue-500"}`,children:[f?c.jsx(sg,{className:"w-3.5 h-3.5"}):c.jsx(ig,{className:"w-3.5 h-3.5"}),f?"Pause Simulator":"Activate Traffic Stream"]})]}),c.jsxs("div",{className:"grid grid-cols-3 gap-2 text-center",children:[c.jsxs("div",{className:"bg-slate-950/50 p-2.5 rounded-lg border border-slate-900",children:[c.jsx("span",{className:"text-[9px] text-slate-500 block uppercase font-mono",children:" Allowed "}),c.jsxs("span",{className:"text-sm font-mono font-bold text-emerald-400",children:[" ",S," "]})]}),c.jsxs("div",{className:"bg-slate-950/50 p-2.5 rounded-lg border border-slate-900",children:[c.jsx("span",{className:"text-[9px] text-slate-500 block uppercase font-mono",children:" Blocked "}),c.jsxs("span",{className:"text-sm font-mono font-bold text-red-400",children:[" ",v," "]})]}),c.jsxs("div",{className:"bg-slate-950/50 p-2.5 rounded-lg border border-slate-900",children:[c.jsx("span",{className:"text-[9px] text-slate-500 block uppercase font-mono",children:" Carrier Cost "}),c.jsxs("span",{className:"text-sm font-mono font-bold text-amber-500",children:[" $",M.toFixed(2)," "]})]})]})]}),c.jsxs("div",{className:"lg:col-span-7 flex flex-col h-48 bg-slate-950 border border-slate-900 rounded-lg p-3 text-left font-mono",children:[c.jsxs("span",{className:"text-[9px] text-slate-500 uppercase border-b border-slate-900 pb-1.5 mb-2 block font-bold flex items-center gap-1.5",children:[c.jsx(Px,{className:"w-3 h-3 text-blue-400 animate-pulse"}),"Live Gateway Transaction Log"]}),c.jsx("div",{className:"flex-1 overflow-y-auto space-y-1.5 text-[10px] scrollbar-thin",children:x.length===0?c.jsx("div",{className:"h-full flex items-center justify-center text-slate-600 text-[11px] italic",children:"Click 'Activate Traffic Stream' to stream requests"}):c.jsx(on,{initial:!1,children:x.map(ce=>c.jsx(Ge.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:`leading-normal border-l-2 pl-2 py-0.5 ${ce.status==="blocked"?"border-red-500 text-red-400 bg-red-950/5":ce.status==="success"?"border-emerald-500 text-emerald-400 bg-emerald-950/5":"border-blue-500 text-blue-400 bg-blue-950/5"}`,children:ce.text},ce.id))})})]})]})]})]}),c.jsx("hr",{className:"border-slate-900 my-8"}),c.jsxs("div",{className:"space-y-6",children:[c.jsxs("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight flex items-center gap-2",children:[c.jsxs("span",{className:"p-1.5 rounded bg-blue-500/10 text-blue-400",children:[" ",c.jsx(lN,{className:"w-5 h-5"})," "]}),"2. Safeguarding Session Transitions"]}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"Single Sign - On(SSO) transitions and token handshakes must happen atomically.If a session handover fails mid - stream, it creates a terrible user experience; if it is intercepted, it compromises account security."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"To ensure seamless, highly secure session handovers:"}),c.jsxs("ul",{className:"space-y-2.5 pl-5 list-disc text-slate-300",children:[c.jsxs("li",{children:[c.jsx("strong",{className:"text-slate-100",children:" Transient Token Cache "}),": We leveraged a high-performance Redis cache to store and manage transient verification tokens."]}),c.jsxs("li",{children:[c.jsx("strong",{className:"text-slate-100",children:" Strict TTL Expirations "}),": Every token was bound to a strict, short-lived Time-To-Live (TTL) expiration window (e.g. 10 seconds). Once used or expired, the token was instantly evicted from memory."]})]}),c.jsxs("div",{className:"bg-[#030612] border border-slate-900 rounded-xl p-6 my-6 text-center",children:[c.jsx("span",{className:"text-[10px] font-mono text-slate-500 block mb-5 uppercase tracking-wider",children:"Interactive Node Step - Through: Secure SSO Transition Pipeline"}),c.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-around ga
337p-4 mb-6 relative",children:[c.jsxs("div",{className:`p-3 rounded-lg border text-left space-y-1 flex-1 w-full max-w-xs transition-all ${Y===1?"border-blue-500 bg-blue-950/20 shadow-lg shadow-blue-950/10":"border-slate-900 bg-slate-950/40"}`,children:[c.jsx("span",{className:"text-[9px] font-mono text-slate-500 block",children:" NODE A "}),c.jsx("span",{className:"font-bold text-slate-200 block text-xs",children:" Client Application "}),c.jsx("span",{className:"text-[10px] text-slate-500 block leading-tight",children:" Requests token with credentials "})]}),c.jsx(Ju,{className:"w-4 h-4 text-slate-700 hidden md:block shrink-0"}),c.jsx(tg,{className:"w-4 h-4 text-slate-700 md:hidden shrink-0"}),c.jsxs("div",{className:`p-3 rounded-lg border text-left space-y-1 flex-1 w-full max-w-xs transition-all ${Y===2?"border-blue-500 bg-blue-950/20 shadow-lg shadow-blue-950/10":"border-slate-900 bg-slate-950/40"}`,children:[c.jsx("span",{className:"text-[9px] font-mono text-slate-500 block",children:" NODE B "}),c.jsx("span",{className:"font-bold text-slate-200 block text-xs",children:" Redis Session Cache "}),c.jsx("span",{className:"text-[10px] text-slate-500 block leading-tight",children:" Stores Token(10s TTL expiration) "})]}),c.jsx(Ju,{className:"w-4 h-4 text-slate-700 hidden md:block shrink-0"}),c.jsx(tg,{className:"w-4 h-4 text-slate-700 md:hidden shrink-0"}),c.jsxs("div",{className:`p-3 rounded-lg border text-left space-y-1 flex-1 w-full max-w-xs transition-all ${Y===3||Y===4?"border-blue-500 bg-blue-950/20 shadow-lg shadow-blue-950/10":"border-slate-900 bg-slate-950/40"}`,children:[c.jsx("span",{className:"text-[9px] font-mono text-slate-500 block",children:" NODE C "}),c.jsx("span",{className:"font-bold text-slate-200 block text-xs",children:" Target Integration Broker "}),c.jsx("span",{className:"text-[10px] text-slate-500 block leading-tight",children:" Verifies and immediately consumes token "})]})]}),c.jsxs("div",{className:"bg-slate-950 border border-slate-900 rounded-lg p-4 max-w-xl mx-auto space-y-3",children:[c.jsxs("div",{className:"flex justify-between items-center text-[10px] font-mono text-slate-500 border-b border-slate-900 pb-2",children:[c.jsx("span",{children:"SSO TRANSITION MONITOR "}),c.jsx("span",{className:"bg-blue-950 text-blue-400 px-2 py-0.5 rounded font-bold uppercase tracking-wider",children:Y===4?"COMPLETE (SECURE)":Y>0?`Stage ${Y}/4`:"IDLE"})]}),c.jsx("p",{className:"text-xs text-slate-300 font-sans leading-relaxed text-left",children:te}),c.jsxs("div",{className:"flex items-center gap-3 bg-[#020409] px-3 py-2 rounded border border-slate-900 font-mono text-xs text-left",children:[c.jsx("span",{className:"text-slate-500 text-[10px]",children:" VERIFICATION_TOKEN: "}),c.jsx("span",{className:`font-bold shrink-0 ${Y===4?"text-red-500":Y>0?"text-emerald-400":"text-slate-600"}`,children:G||"[ Awaiting handoff... ]"})]}),c.jsx("button",{onClick:Oa,className:"mt-2 px-4 py-1.5 rounded bg-blue-600 hover:bg-blue-500 text-white font-mono text-xs font-bold uppercase transition-colors cursor-pointer",children:Y===0?"Initiate SSO Handoff":Y===4?"Reset Simulation":"Proceed to Next Step"})]})]}),c.jsxs("div",{className:"bg-gradient-to-r from-blue-950/10 to-slate-950 border border-blue-900/30 p-5 rounded-lg space-y-2",children:[c.jsxs("p",{className:"text-sm font-semibold text-slate-100 flex items-center gap-1.5 font-display uppercase tracking-wide",children:[c.jsx(mr,{className:"w-5 h-5 text-blue-400"}),"The Engineering Win"]}),c.jsx("p",{className:"text-xs text-slate-400 leading-relaxed font-sans",children:"By recycling and rate - limiting memory block allocations, caching transient handovers with strict short - lived TTLs, and filtering traffic at both the CloudFront edge and core, we saved over $15,000 USD in billing while keeping our gateway operating at a locked 99.99 % operational uptime."})]})]})]});case"android-pdf-rendering":return c.jsxs("div",{className:"space-y-8 font-sans max-w-3xl mx-auto text-slate-300",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsx("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight",children:" Introduction "}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"Most developers assume that displaying a PDF on a mobile device is as simple as launching a system intent.However, if you are building a native, interactive document viewer, you quickly run into severe hardware constraints."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"In large, vector - rich PDFs(especially those exceeding 100 pages), swift zooming and panning can instantly trigger massive memory allocation spikes.On Android, this leads to aggressive Garbage Collection(GC) pauses and stuttering frame rates."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"To solve this, we re - engineered the rendering pipeline, achieving a locked 60 FPS scroll and a 35 % reduction in peak memory usage through two primary optimizations:"})]}),c.jsx("hr",{className:"border-slate-900 my-8"}),c.jsxs("div",{className:"space-y-6",children:[c.jsxs("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight flex items-center gap-2",children:[c.jsxs("span",{className:"p-1.5 rounded bg-emerald-500/10 text-emerald-400",children:[" ",c.jsx(Dd,{className:"w-5 h-5"})," "]}),"1. Eliminating Runtime Allocations with Bitmap Pooling"]}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"Allocating a brand - new, high - resolution bitmap every time a user pinches, zooms, or pans is a performance killer.Bitmaps are incredibly heavy objects; constantly creating and destroying them forces the JVM to run stop - the - world garbage collection cycles."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"To bypass this overhead, we implemented a Bitmap Pool pattern:"}),c.jsxs("ul",{className:"space-y-2.5 pl-5 list-disc text-slate-300",children:[c.jsxs("li",{children:[c.jsx("strong",{className:"text-slate-100",children:" The Recycle Loop "}),': When a PDF page scrolls out of the active viewport, its underlying bitmap is not released for garbage collection. Instead, it is retained and marked as "recyclable" within an in-memory pool.']}),c.jsxs("li",{children:[c.jsx("strong",{className:"text-slate-100",children:" In - Place Re - rendering "}),": When a new page enters the screen, the rendering engine avoids a fresh memory allocation. Instead, it pulls a bitmap of matching dimensions from the pool and re-renders the new vector content directly onto the existing memory canvas."]})]}),c.jsxs("div",{className:"bg-[#02040a] border border-slate-900 rounded-xl p-5 md:p-6 my-6 text-center",children:[c.jsx("span",{className:"text-[10px] font-mono text-slate-500 block uppercase tracking-wider mb-5",children:"Interactive Simulator: Bitmap Pool vs Traditional Allocator"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-6 items-stretch",children:[c.jsxs("div",{className:"md:col-span-5 flex flex-col justify-between space-y-4",children:[c.jsxs("div",{className:"bg-slate-950/80 border border-slate-900 p-3.5 rounded-lg text-left text-xs space-y-3",children:[c.jsx("span",{className:"font-mono text-slate-400 block font-bold",children:" RECYCLER CONFIG "}),c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsx("span",{className:"text-slate-400",children:" Bitmap Pooling: "}),c.jsx("button",{onClick:()=>le(!F),className:`px-3 py-1 rounded text-[10px] font-mono font-bold uppercase transition-colors cursor-pointer ${F?"bg-emerald-950 text-emerald-400 border border-emerald-900/40":"bg-red-950/60 text-red-400 border border-red-900/30"}`,children:F?"ENABLED":"DISABLED"})]}),c.jsxs("div",{className:"space-y-1",children:[c.jsx("span",{className:"text-slate-500 text-[9px] block",children:" FLIP DOCUMENT PAGE: "}),c.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[c.jsx("button",{onClick:()=>Pi("prev"),disabled:P===1,className:"py-1 rounded text-xs font-semibold bg-slate-900 border border-slate-800 text-slate-300 hover:text-slate-100 disabled:opacity-30 curs
337or-pointer",children:"â Prev Page"}),c.jsx("button",{onClick:()=>Pi("next"),disabled:P===6,className:"py-1 rounded text-xs font-semibold bg-slate-900 border border-slate-800 text-slate-300 hover:text-slate-100 disabled:opacity-30 cursor-pointer",children:"Next Page â"})]})]})]}),c.jsxs("div",{className:"bg-slate-950/50 border border-slate-900 rounded-lg p-3 text-left space-y-2 relative overflow-hidden",children:[Z&&c.jsx("div",{className:"absolute inset-0 bg-red-950/25 flex items-center justify-center animate-pulse",children:c.jsx("span",{className:"text-[10px] font-mono font-bold text-red-400 uppercase tracking-widest animate-bounce",children:"â ï¸ JVM GARBAGE COLLECTION RUNNING(LAG)"})}),c.jsxs("div",{className:"flex justify-between items-center text-[10px] font-mono text-slate-500",children:[c.jsx("span",{children:"HEAP ALLOCATOR METRIC "}),c.jsxs("span",{className:"font-bold text-slate-300",children:[" ",I.toFixed(1)," MB "]})]}),c.jsx("div",{className:"w-full h-3.5 bg-slate-950 border border-slate-900 rounded-full overflow-hidden relative",children:c.jsx("div",{className:`h-full transition-all duration-300 ${F?"bg-emerald-500":"bg-red-500 animate-pulse"}`,style:{width:`${Math.min(100,I/40*100)}%`}})}),c.jsxs("div",{className:"flex justify-between text-[9px] font-mono text-slate-500",children:[c.jsx("span",{children:"GC Allocation Spikes: "}),c.jsxs("span",{className:`font-bold ${Me>0?"text-red-400":"text-emerald-400"}`,children:[Me," spikes"]})]})]})]}),c.jsxs("div",{className:"md:col-span-7 bg-slate-950 border border-slate-900 rounded-lg p-4 flex flex-col justify-between text-left relative overflow-hidden",children:[c.jsx("div",{className:"absolute top-2 right-3 text-[9px] font-mono text-slate-500 uppercase tracking-wide",children:"Active Rendering Canvas"}),c.jsx("div",{className:"flex-1 flex items-center justify-center py-6",children:c.jsxs("div",{className:"relative w-44 h-56 bg-slate-900 rounded-md border border-slate-800 flex flex-col justify-between p-3 shadow-xl",children:[c.jsxs("div",{className:"flex justify-between items-center text-[9px] font-mono text-slate-500 border-b border-slate-800 pb-1",children:[c.jsx("span",{children:"DOCUMENT VIEW "}),c.jsxs("span",{children:[" PAGE ",P," /6"]})]}),c.jsxs("div",{className:"flex-1 flex flex-col justify-center space-y-2 mt-2",children:[c.jsx("div",{className:"h-2 w-11/12 bg-slate-800 rounded animate-pulse"}),c.jsx("div",{className:"h-2 w-full bg-slate-800 rounded animate-pulse"}),c.jsx("div",{className:"h-2 w-10/12 bg-slate-800 rounded animate-pulse"}),c.jsx("div",{className:"h-2 w-8/12 bg-slate-800 rounded animate-pulse"})]}),c.jsx("div",{className:"absolute bottom-2 right-2 px-1.5 py-0.5 rounded bg-emerald-950/40 border border-emerald-900/30 text-[8px] font-mono text-emerald-400",children:F?"Recycled Mem: Match Found":"Fresh Allocate: Heap Write"})]})}),c.jsxs("div",{className:"pt-2 border-t border-slate-900/60 mt-2",children:[c.jsx("span",{className:"text-[9px] font-mono text-slate-500 block uppercase mb-1.5",children:" In - Memory Bitmap Pool: "}),c.jsx("div",{className:"flex gap-2 text-[9px] font-mono",children:O.map(ce=>c.jsxs("div",{className:`px-2 py-1 rounded flex items-center gap-1 border border-slate-800 ${ce.lastUsedPage===P?"bg-emerald-950/30 text-emerald-400 border-emerald-800/40":"bg-slate-900/50 text-slate-400"}`,children:[c.jsx("span",{className:`w-1.5 h-1.5 rounded-full ${ce.color}`}),c.jsxs("span",{children:[" ",ce.id," "]}),ce.lastUsedPage>0&&c.jsxs("span",{className:"text-slate-500 text-[8px]",children:[" Page ",ce.lastUsedPage," "]})]},ce.id))})]})]})]})]}),c.jsx("p",{className:"text-sm text-slate-300 leading-relaxed font-sans",children:"By recycling memory block allocations rather than constant garbage collector churn, we completely eliminated runtime heap allocation spikes and locked the scrolling performance at a smooth, stutter - free 60 FPS."})]}),c.jsx("hr",{className:"border-slate-900 my-8"}),c.jsxs("div",{className:"space-y-6",children:[c.jsxs("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight flex items-center gap-2",children:[c.jsxs("span",{className:"p-1.5 rounded bg-emerald-500/10 text-emerald-400",children:[" ",c.jsx(bN,{className:"w-5 h-5"})," "]}),"2. Accessible Architecture: Smarter FastScroller Navigation"]}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"System software should never sacrifice accessibility for raw performance.A major goal of this overhaul was ensuring that heavy document navigation remained smooth and intuitive for all users, including those relying on screen readers."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"We refactored the FastScroller component to deeply integrate with Android's accessibility framework:"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[c.jsxs("div",{className:"bg-[#030612] border border-slate-900 p-4 rounded-xl space-y-1.5",children:[c.jsx("span",{className:"text-xs font-mono text-emerald-400 font-bold block uppercase",children:" Real - Time Spoken Feedback "}),c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed",children:"As a user drags the fast - scroll thumb through a 500 - page document, the system dynamically intercepts the touch event loop and announces precise, localized page markers in real time."})]}),c.jsxs("div",{className:"bg-[#030612] border border-slate-900 p-4 rounded-xl space-y-1.5",children:[c.jsx("span",{className:"text-xs font-mono text-emerald-400 font-bold block uppercase",children:" Deterministic Focus "}),c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed",children:"Instead of overwhelming screen readers with continuous layout updates during rapid scrolling, the system intelligently debounces announcements.This provides clear, high - fidelity audio feedback without lagging the UI thread."})]})]}),c.jsxs("div",{className:"bg-[#02040a] border border-slate-900 rounded-xl p-5 md:p-6 my-6",children:[c.jsx("span",{className:"text-[10px] font-mono text-slate-500 block uppercase tracking-wider mb-5 text-center",children:"Accessibility Sandbox: FastScroller Announcement Debouncer"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-6 items-stretch",children:[c.jsx("div",{className:"md:col-span-5 flex flex-col justify-between space-y-4",children:c.jsxs("div",{className:"bg-slate-950/80 border border-slate-900 p-3.5 rounded-lg text-left text-xs space-y-3",children:[c.jsx("span",{className:"font-mono text-slate-400 block font-bold",children:" SCROLLER CONFIG "}),c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsx("span",{className:"text-slate-400",children:" Speech Throttling: "}),c.jsxs("div",{className:"flex bg-slate-950 border border-slate-800 rounded p-0.5",children:[c.jsx("button",{onClick:()=>J("standard"),className:`px-2 py-0.5 rounded text-[9px] font-mono font-bold uppercase transition-colors cursor-pointer ${U==="standard"?"bg-red-950 text-red-400":"text-slate-500 hover:text-slate-300"}`,children:"Raw"}),c.jsx("button",{onClick:()=>J("debounced"),className:`px-2 py-0.5 rounded text-[9px] font-mono font-bold uppercase transition-colors cursor-pointer ${U==="debounced"?"bg-emerald-950 text-emerald-400":"text-slate-500 hover:text-slate-300"}`,children:"Debounced"})]})]}),c.jsxs("div",{className:"space-y-1.5 pt-1",children:[c.jsx("span",{className:"text-slate-500 text-[9px] block",children:" DRAG FAST - SCROLL THUMB: "}),c.jsx("input",{type:"range",min:"1",max:"100",value:ue,onChange:Ki,className:"w-full h-1 bg-slate-800 rounded-lg appearance-none cursor-pointer accent-emerald-500"}),c.jsxs("div",{className:"flex justify-between text-[10px] font-mono text-slate-500",children:[c.jsx("span",{children:"Page 1 "}),c.jsxs("span",{className:"text-emerald-400 font-bold",children:[" Page ",ue*5," / 500"]}),c.jsx("span",{children:"Page 500 "})]})]})]})}),c.jsxs("div",{className:"md:col-span-7 bg-slate-950 border border-slate-900 rounded-lg p-3 text-left font-mono h-40 flex flex-col justify-between",children:[c.jsxs("span",{className:"text-[9px] text-slate-500 uppercase border-b border-slate-900 pb-1 mb-2 block font-bold flex items-center gap-1",children:[c.jsx(EN,{className:"w-3.5 h-3.5 text-emerald-400 animate-pulse"}),"Auditory Accessibility Stream Output"]}),c.jsx("div",{className:"flex-1 overflow-y-auto space-y-1 text-[10px]",children:W.map((ce,he)=>c.jsx("div",{className:`pl-2 border-l py-0.5 ${ce.startsWith("ð¨")?"border-red-500/50 text-red-400 bg-red-950/5 animate-pulse":"border-emerald-500/50 text-emerald-400 bg-emerald-950/5"}`,children:ce},he))})]})]})]}),c.jsxs("div",{className:"bg-gradient-to-r from-emerald-950/10 to-slate-950 border border-emerald-900/30 p-5 rounded-lg space-y-2",children:[c.jsxs("p",{className:"text-sm font-semibold text-slate-100 flex items-center gap-1.5 font-display uppercase tracking-wide",children:[c.jsx(mr,{className:"w-5 h-5 text-emerald-400"}),"The Engineering Win"]}),c.jsx("p",{className:"text-xs text-slate-400 leading-relaxed font-sans",children:"Integrating our FastScroller announcement loops directly with Android's accessibility tree, but throttling spoken page calls to a debounced 200ms sliding window, enabled beautiful, screen-reader compliant audio feedback without introducing main-thread lagging."})]})]})]});case"mdns-discovery-stability":return c.jsxs("div",{className:"space-y-8 font-sans max-w-3xl mx-auto text-slate-300",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsx("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight",children:" Introduction "}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"Setting up screenless smart - home devices is notorious for flaky, unpredictable user experiences.During the GHP 3P Hub Activation(OOBE 2.0) project, our goal was to remove all manual friction and completely automate the hub onboarding flow using local Multicast DNS (mDNS) broadcasting."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"The initial architecture was designed around a clean, lightweight discovery loop:"}),c.jsxs("ul",{className:"space-y-2 pl-5 list-disc text-slate-300",children:[c.jsxs("li",{children:[c.jsx("strong",{className:"text-slate-100",children:" The Device - Side Server "}),": The smart hub spins up an embedded, lightweight setup server using NanoHTTPD."]}),c.jsxs("li",{children:[c.jsx("strong",{className:"text-slate-100",children:" The Discovery Broadcast "}
337),": A custom HubAdvertisingClient begins broadcasting the server's operational port and unique discovery codes across the local network using DNS-Based Service Discovery (DNS-SD) over mDNS."]}),c.jsxs("li",{children:[c.jsx("strong",{className:"text-slate-100",children:" The Automated Handshake "}),": The mobile setup app listens for these specific network broadcasts, intercepts the connection parameters, and automatically initiates a secure provisioning handshake without requiring the user to type in pins or switch Wi-Fi networks."]})]})]}),c.jsx("hr",{className:"border-slate-900 my-8"}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight flex items-center gap-2",children:[c.jsxs("span",{className:"p-1 px-1.5 rounded bg-red-500/10 text-red-400",children:[" ",c.jsx(lg,{className:"w-4 h-4"})," "]}),"The Subnet Collision Challenge"]}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"While the architecture worked flawlessly in isolated lab environments, field testing exposed a critical edge case. When multiple smart hubs sharing the exact same partner ID were powered on simultaneously within the same local subnet, the discovery pipeline completely collapsed."}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"The flood of identical, overlapping incoming broadcast packets triggered a severe race condition in the app's discovery parser. Instead of gracefully ignoring or merging the duplicate network advertisements, the parsing thread fell into an infinite lookup loop. This rapidly led to thread exhaustion, completely locking up the app's network stack and causing the setup application to crash."})]}),c.jsx("hr",{className:"border-slate-900 my-8"}),c.jsxs("div",{className:"space-y-6",children:[c.jsxs("h3",{className:"text-xl font-display font-semibold text-slate-100 tracking-tight flex items-center gap-2",children:[c.jsxs("span",{className:"p-1.5 rounded bg-blue-500/10 text-blue-400",children:[" ",c.jsx(Qx,{className:"w-5 h-5"})," "]}),"The Stabilization Strategy"]}),c.jsx("p",{className:"leading-relaxed text-slate-300",children:"To fix this routing loop and harden the onboarding pipeline, we implemented a three - tiered network defense strategy:"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 my-4",children:[c.jsxs("div",{className:"bg-[#030612] border border-blue-900/20 p-4 rounded-xl space-y-1.5",children:[c.jsx("span",{className:"text-xs font-mono text-blue-400 font-bold block uppercase",children:" Strict Packet Deduplication "}),c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed",children:"We refactored the discovery parser to include a lightweight, memory - bounded sliding window cache.Incoming mDNS packets are fingerprinted, and identical duplicate broadcasts from the same subnet are dropped instantly."})]}),c.jsxs("div",{className:"bg-[#030612] border border-blue-900/20 p-4 rounded-xl space-y-1.5",children:[c.jsx("span",{className:"text-xs font-mono text-blue-400 font-bold block uppercase",children:" mDNS Port Collision Stabilization "}),c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed",children:"We updated the HubAdvert
337isingClient to dynamically detect and resolve port conflicts on the local interface.If a port is bound, the client cleanly negotiates an alternative socket."})]}),c.jsxs("div",{className:"bg-[#030612] border border-blue-900/20 p-4 rounded-xl space-y-1.5",children:[c.jsx("span",{className:"text-xs font-mono text-blue-400 font-bold block uppercase",children:" Defensive Server Validation "}),c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed",children:"We hardened the device - side NanoHTTPD server to defensively sanitize incoming request payloads and validate transport layers, ensuring malicious packets are rejected early."})]})]}),c.jsxs("div",{className:"bg-[#02040a] border border-slate-900 rounded-xl p-5 md:p-6 my-6 relative overflow-hidden",children:[c.jsx("span",{className:"text-[10px] font-mono text-slate-500 block uppercase tracking-wider mb-5 text-center",children:"Live Interactive Sandbox: mDNS Subnet Packet Storm"}),c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 items-stretch",children:[c.jsxs("div",{className:"lg:col-span-5 flex flex-col justify-between space-y-4",children:[c.jsxs("div",{className:"bg-slate-950/80 border border-slate-900 p-3.5 rounded-lg text-left text-xs space-y-3",children:[c.jsx("span",{className:"font-mono text-slate-400 block font-bold",children:" HUB SECURITY FLAGS "}),c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsx("span",{className:"text-slate-400",children:" Packet Deduplication: "}),c.jsx("input",{type:"checkbox",checked:fe,onChange:ce=>Te(ce.target.checked),className:"w-4 h-4 rounded text-blue-500 accent-blue-500 cursor-pointer"})]}),c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsx("span",{className:"text-slate-400",children:" mDNS Port Collision Negotiator: "}),c.jsx("input",{type:"checkbox",checked:st,onChange:ce=>Xe(ce.target.checked),className:"w-4 h-4 rounded text-blue-500 accent-blue-500 cursor-pointer"})]}),c.jsxs("button",{onClick:Hr,className:`w-full py-2 rounded font-mono text-xs font-bold uppercase flex items-center justify-center gap-1.5 transition-colors cursor-pointer ${un?"bg-amber-950/60 text-amber-400 border border-amber-900/40":"bg-blue-600 text-white hover:bg-blue-500"}`,children:[un?c.jsx(sg,{className:"w-3.5 h-3.5"}):c.jsx(ig,{className:"w-3.5 h-3.5"}),un?"Stop Simulation":"Trigger Setup Broadcasts"]})]}),c.jsxs("div",{className:"grid grid-cols-2 gap-2 text-center text-xs",children:[c.jsxs("div",{className:"bg-slate-950/50 p-2 border border-slate-900",children:[c.jsx("span",{className:"text-[9px] text-slate-500 block uppercase font-mono",children:" Parsed Packets "}),c.jsxs("span",{className:"text-xs font-mono font-bold text-emerald-400",children:[" ",Ds," "]})]}),c.jsxs("div",{className:"bg-slate-950/50 p-2 border border-slate-900",children:[c.jsx("span",{className:"text-[9px] text-slate-500 block uppercase font-mono",children:" Dropped Duplicates "}),c.jsxs("span",{className:"text-xs font-mono font-bold text-blue-400",children:[" ",Xi," "]})]})]})]}),c.jsxs("div",{className:"lg:col-span-7 bg-slate-950 border border-slate-900 rounded-lg p-3 text-left font-mono flex flex-col justify-between h-56 relative overflow-hidden",children:[c.jsxs("div",{className:"flex justify-between items-center text-[9px] text-slate-500 border-b border-slate-900 pb-1.5 mb-2",children:[c.jsx("span",{children:"mDNS SUBNET MONITOR "}),c.jsx("span",{className:`px-2 py-0.5 rounded uppercase tracking-wider font-bold ${zt==="crashed"?"bg-red-950 text-red-400 border border-red-900/40":zt==="success"?"bg-emerald-950 text-emerald-400 border border-emerald-900/40":"bg-slate-900 text-slate-400"}`,children:zt==="crashed"?"â CRASHED (Thread Exhaustion)":zt==="success"?"â SUCCESS (Handshake Ok)":"â SCANNING"})]}),c.jsxs("div",{className:"space-y-1 mb-2",children:[c.jsxs("div",{className:"flex justify-between items-center text-[9px] text-slate-500",children:[c.jsx("span",{children:"CPU PARSING THREAD QUEUE UTILIZATION "}),c.jsxs("span",{className:At>80?"text-red-400 font-bold animate-pulse":"text-slate-300",children:[At," %"]})]}),c.jsx("div",{className:"w-full h-2 bg-slate-950 border border-slate-900 rounded-full overflow-hidden",children:c.jsx("div",{className:`h-full transition-all duration-300 ${At>80?"bg-red-500 animate-pulse":At>45?"bg-amber-500":"bg-blue-500"}`,style:{width:`${At}%`}})})]}),c.jsxs("div",{className:"flex-1 bg-[#010309] border border-slate-900 rounded relative overflow-hidden",children:[un&&zt==="idle"&&c.jsxs("div",{className:"absolute inset-0 flex items-center justify-between px-6 text-[8px] text-slate-600",children:[c.jsx("span",{children:"Hub Hubs "}),c.jsx("span",{children:" Setup Application Parser "})]}),Lr.map(ce=>c.jsx(Ge.div,{initial:{x:10,y:ce.y,opacity:1},animate:{x:260,opacity:0}
337,transition:{duration:1,ease:"linear"},className:`absolute w-2.5 h-2.5 rounded-full ${ce.isDuplicate?"bg-blue-400":"bg-indigo-400"}`},ce.id)),zt==="crashed"&&c.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center bg-red-950/20 backdrop-blur-xs text-center p-2 text-[10px]",children:[c.jsx(lg,{className:"w-5 h-5 text-red-500 mb-1 animate-bounce"}),c.jsx("span",{className:"text-slate-200 font-bold block",children:" Thread Pool Locked "}),c.jsx("span",{className:"text-slate-500 text-[8px]",children:" Overlap packets flooded CPU threads.Deduplication recommended."})]}),zt==="success"&&c.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center bg-emerald-950/20 backdrop-blur-xs text-center p-2 text-[10px]",children:[c.jsx(mr,{className:"w-5 h-5 text-emerald-400 mb-1"}),c.jsx("span",{className:"text-slate-200 font-bold block",children:" Automated Onboarding Complete "}),c.jsx("span",{className:"text-slate-500 text-[8px]",children:" Device Handshake resolved with 0 friction "})]})]})]})]})]}),c.jsxs("div",{className:"bg-gradient-to-r from-blue-950/10 to-slate-950 border border-blue-900/30 p-5 rounded-lg space-y-2",children:[c.jsxs("p",{className:"text-sm font-semibold text-slate-100 flex items-center gap-1.5 font-display uppercase tracking-wide",children:[c.jsx(mr,{className:"w-5 h-5 text-blue-400"}),"The Engineering Win"]}),c.jsx("p",{className:"text-xs text-slate-400 leading-relaxed font-sans",children:"Eliminating this parsing race condition completely solved the thread exhaustion bugs, boosting our smart hub discovery success rates by 40 % and delivering a rock - solid, zero - touch onboarding experience for screenless devices."})]})]})]});default:return c.jsx("div",{className:"space-y-6 font-sans",children:a.content.split(` 338 339`).map((ce,he)=>ce.startsWith("### ")?c.jsx("h4",{className:"font-display text-base font-semibold text-slate-100 pt-4 tracking-tight",children:ce.replace("### ","")},he):ce.startsWith("* ")?c.jsx("ul",{className:"list-disc pl-5 space-y-2",children:ce.split(` 340`).map((ve,Ne)=>c.jsxs("li",{className:"text-slate-400 text-xs sm:text-sm",children:[" ",ve.replace("* ","")," "]},Ne))},he):c.jsx("p",{className:"text-slate-400 text-xs sm:text-sm leading-relaxed",children:ce},he))})}};return c.jsx("div",{className:"fixed inset-0 bg-slate-950/95 backdrop-blur-md z-50 flex items-center justify-center p-4",children:c.jsxs(Ge.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.3},className:"bg-[#050816] border border-slate-800 rounded-xl max-w-4xl w-full h-[85vh] flex flex-col justify-between shadow-2xl overflow-hidden font-sans text-left",children:[c.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-slate-900 text-left bg-slate-950/50",children:[c.jsxs("div",{className:"space-y-1",children:[c.jsxs("span",{className:"text-[9px] text-blue-400 uppercase tracking-widest font-mono",children:[" ",a.category," Note "]}),c.jsxs("h3",{className:"font-display font-semibold text-slate-100 text-base sm:text-lg leading-snug line-clamp-1",children:[" ",a.title," "]})]}),c.jsx("button",{onClick:i,className:"p-1.5 rounded-full bg-slate-900 border border-slate-800 text-slate-500 hover:text-slate-200 transition-colors cursor-pointer ml-4",children:c.jsx(Zx,{className:"w-4 h-4"})})]}),c.jsxs("div",{className:"flex-1 overflow-y-auto p-6 md:p-10 text-left text-sm text-slate-300 space-y-6 leading-relaxed",children:[c.jsxs("div",{className:"flex items-center gap-4 text-xs text-slate-500 font-mono pb-4 border-b border-slate-900/60",children:[c.jsxs("div",{className:"flex items-center gap-1.5",children:[c.jsx(Xj,{className:"w-3.5 h-3.5"}),c.jsxs("span",{children:[a.readTime," "]})]}),c.jsxs("div",{className:"flex items-center gap-1.5",children:[c.jsx(zi,{className:"w-3.5 h-3.5"}),c.jsxs("span",{children:[a.date," "]})]})]}),Gr()]}),c.jsxs("div",{className:"flex justify-between items-center px-6 py-4 bg-slate-950/50 border-t border-slate-900 text-[10px] text-slate-500 font-mono",children:[c.jsx("span",{children:"SECURE SYSTEM ARCHIVE TRANSLATION "}),c.jsx("span",{children:" SYSTEM VERIFIED â"})]})]})})};function YN(){const[a,i]=z.useState(!1),[o,l]=z.useState("cosmos"),[d,m]=z.useState(0),[f,p]=z.useState(null),[x,g]=z.useState(!1),[v,b]=z.useState(2);z.useEffect(()=>{if(!a)return;const w=setInterval(()=>{m(R=>(R+1)%ys.length)},8500);return()=>clearInterval(w)},[a]);const S=(w,R)=>{R&&l(R);const Y=document.getElementById(w);Y&&Y.scrollIntoView({behavior:"smooth"}),g(!1)},E=()=>{m(w=>(w+1)%ys.length)},M=()=>{m(w=>(w-1+ys.length)%ys.length)},B=ys[d];return a?c.jsxs("div",{className:"relative min-h-screen text-slate-300 font-sans bg-[#03050c] overflow-x-hidden selection:bg-blue-500/10 selection:text-blue-100",children:[c.jsx(kN,{}),c.jsx(Ge.header,{initial:{y:-30,opacity:0}
340,animate:{y:0,opacity:1},transition:{duration:.6,delay:.2},className:"fixed top-0 inset-x-0 z-40 bg-[#040612]/75 backdrop-blur-md border-b border-slate-900/40",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-6 h-16 flex items-center justify-between",children:[c.jsxs("div",{onClick:()=>S("hero"),className:"flex items-center space-x-2.5 cursor-pointer group",children:[c.jsxs("div",{className:"w-8 h-8 rounded-full border border-slate-800 flex items-center justify-center relative overflow-hidden bg-slate-950",children:[c.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-blue-500 animate-pulse"}),c.jsx("div",{className:"absolute inset-0 border border-dashed border-slate-700 rounded-full group-hover:rotate-185 transition-transform duration-1000"})]}),c.jsxs("div",{className:"text-left",children:[c.jsx("span",{className:"font-display font-bold tracking-tight text-slate-100 text-sm block group-hover:text-blue-400 transition-colors",children:"Hardeep Kaur"}),c.jsx("span",{className:"font-mono text-[9px] text-slate-500 block uppercase tracking-wider leading-none",children:"PORTFOLIO & JOURNAL"})]})]}),c.jsxs("nav",{className:"hidden md:flex items-center space-x-1 font-mono text-[11px] text-slate-400",children:[c.jsxs("button",{onClick:()=>S("about"),className:"px-3.5 py-1.5 hover:text-slate-100 transition-colors cursor-pointer",children:[" ","STORY"," "]}),c.jsxs("button",{onClick:()=>S("experience"),className:"px-3.5 py-1.5 hover:text-slate-100 transition-colors cursor-pointer",children:[" ","EXPERIENCE"," "]}),c.jsxs("button",{onClick:()=>S("projects"),className:"px-3.5 py-1.5 hover:text-slate-100 transition-colors cursor-pointer",children:[" ","PROJECTS"," "]}),c.jsxs("button",{onClick:()=>S("blog"),className:"px-3.5 py-1.5 hover:text-slate-100 transition-colors cursor-pointer",children:[" ","WRITING"," "]}),c.jsxs("button",{onClick:()=>S("interests"),className:"px-3.5 py-1.5 hover:text-slate-100 transition-colors cursor-pointer",children:[" ","CURIOSITY HUB"," "]}),c.jsxs("button",{onClick:()=>S("timeline"),className:"px-3.5 py-1.5 hover:text-slate-100 transition-colors cursor-pointer",children:[" ","THE JOURNEY"," "]})]}),c.jsxs("div",{className:"hidden md:flex items-center space-x-3",children:[c.jsx("button",{onClick:()=>S("contact"),className:"px-4 py-1.5 rounded-full border border-slate-800 hover:border-slate-500 text-[10px] font-mono text-slate-400 hover:text-slate-100 transition-all cursor-pointer bg-slate-950/20",children:"SAY HELLO"}),c.jsx("span",{className:"text-[10px] font-mono text-slate-600 border border-slate-900 px-1.5 py-0.5 rounded bg-slate-950/40",children:"âK"})]}),c.jsx("button",{onClick:()=>g(!x),className:"md:hidden p-2 rounded-lg border border-slate-900 bg-slate-950/40 text-slate-400",children:c.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:x?c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 18L18 6M6 6l12 12"}):c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4 6h16M4 12h16m-7 6h7"})})})]})}),c.jsx(on,{children:x&&c.jsx(Ge.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"md:hidden fixed top-16 inset-x-0 bg-[#040612]/95 backdrop-blur-lg border-b border-slate-900 z-30 font-mono text-xs text-left",children:c.jsxs("div",{className:"px-6 py-4 flex flex-col space-y-4",children:[c.jsxs("button",{onClick:()=>S("about"),className:"text-slate-300 py-1 text-left",children:[" ","STORY"," "]}),c.jsxs("button",{onClick:()=>S("experience"),className:"text-slate-300 py-1 text-left",children:[" ","EXPERIENCE"," "]}),c.jsxs("button",{onClick:()=>S("projects"),className:"text-slate-300 py-1 text-left",children:[" ","PROJECTS"," "]}),c.jsxs("button",{onClick:()=>S("blog"),className:"text-slate-300 py-1 text-left",children:[" ","WRITING"," "]}),c.jsxs("button",{onClick:()=>S("interests"),className:"text-slate-300 py-1 text-left",children:[" ","CURIOSITY HUB"," "]}),c.jsxs("button",{onClick:()=>S("timeline"),className:"text-slate-300 py-1 text-left",children:[" ","THE JOURNEY"," "]}),c.jsxs("button",{onClick:()=>S("contact"),className:"text-slate-300 py-1 text-left",children:[" ","SAY HELLO"," "]})]})})}),c.jsxs("section",{id:"hero",className:"relative min-h-screen flex items-center justify-center px-6 pt-28 pb-12 overflow-hidden",children:[c.jsxs("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none opacity-40",children:[c.jsx("div",{className:"w-[350px] md:w-[600px] h-[350px] md:h-[600px] rounded-full border border-slate-900/60 absolute animate-pulse"}),c.jsx("div",{className:"w-[500px] md:w-[850px] h-[500px] md:h-[850px] rounded-full border border-dashed border-slate-900/30 absolute"})]}),c.jsxs("div",{className:"max-w-7xl mx-auto w-full grid grid-cols-1 lg:grid-cols-12 gap-12 items-center relative z-10",children:[c.jsxs("div",{className:"lg:col-span-7 space-y-8 text-left",children:[c.jsxs(Ge.div,{initial:{opacity:0,scale:.95}
340,animate:{opacity:1,scale:1},transition:{duration:.6},className:"inline-flex items-center space-x-2 bg-blue-500/10 border border-blue-500/20 px-3.5 py-1.5 rounded-full text-[10px] font-mono text-blue-300 uppercase tracking-widest",children:[c.jsx(Px,{className:"w-3.5 h-3.5 animate-pulse text-blue-400"}),c.jsx("span",{children:"Currently: Software Engineer @Google Taiwan "})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs(Ge.h1,{initial:{opacity:0,y:25},animate:{opacity:1,y:0},transition:{duration:.7,delay:.15},className:"font-display text-4xl sm:text-5xl md:text-6xl font-bold tracking-tight text-slate-100 leading-[1.1]",children:["Hi, I'm"," ",c.jsx("span",{className:"bg-gradient-to-r from-blue-400 via-purple-400 to-amber-300 bg-clip-text text-transparent",children:"Hardeep"})," ","ð"]}),c.jsxs("div",{className:"space-y-4 text-sm md:text-base text-slate-400 font-sans leading-relaxed pt-2",children:[c.jsx(Ge.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.25},className:"font-display text-lg sm:text-xl font-medium tracking-tight text-slate-200 leading-snug",children:"Software engineer."}),c.jsx(Ge.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},className:"text-slate-400 font-medium",children:"Currently in Taiwan. Soon moving to Ireland."}),c.jsx(Ge.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.35},children:"I build software, read about the universe, and write down things I find interesting."}),c.jsx(Ge.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.4},className:"text-blue-400 font-mono text-xs uppercase tracking-widest font-semibold pt-1",children:"This website is where those worlds meet."})]})]}),c.jsxs(Ge.div,{initial:{opacity:0,y:15},animate:{opacity:1,y:0},transition:{duration:.6,delay:.45},className:"flex flex-col sm:flex-row items-center gap-4 pt-2",children:[c.jsxs("button",{onClick:()=>S("projects"),className:"w-full sm:w-auto px-6 py-3 rounded-full bg-slate-100 text-slate-950 font-medium text-xs tracking-wider uppercase hover:bg-slate-200 transition-all flex items-center justify-center space-x-2 shadow-lg cursor-pointer font-mono",children:[c.jsx("span",{children:"View My Work "}),c.jsx(wj,{className:"w-4 h-4"})]}),c.jsxs("button",{onClick:()=>S("interests"),className:"w-full sm:w-auto px-6 py-3 rounded-full border border-slate-800 hover:border-slate-600 bg-slate-950/30 text-slate-400 hover:text-slate-100 text-xs tracking-wider uppercase transition-all flex items-center justify-center space-x-2 cursor-pointer font-mono",children:[c.jsx("span",{children:"Read My Notes "}),c.jsx(jN,{className:"w-4 h-4 text-amber-400"})]})]})]}),c.jsxs("div",{className:"lg:col-span-5 flex flex-col gap-6 w-full max-w-md mx-auto",children:[c.jsxs(Ge.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.7,delay:.3},className:"relative group w-full aspect-[2/3] max-w-[280px] sm:max-w-[320px] mx-auto mb-4",children:[c.jsx("div",{className:"absolute inset-0 border-2 border-purple-500/80 rounded-2xl translate-x-4 translate-y-4 group-hover:translate-x-2.5 group-hover:translate-y-2.5 transition-transform duration-300 ease-out z-0"}),c.jsxs("div",{className:"relative rounded-2xl overflow-hidden border border-slate-800 bg-slate-950/80 w-full h-full z-10 transition-transform duration-300 group-hover:-translate-x-1 group-hover:-translate-y-1",children:[c.jsx("img",{src:"assets/Hardeep-Kaur.jpg",alt:"Hardeep Kaur",referrerPolicy:"no-referrer",className:"w-full h-full object-cover grayscale brightness-95 group-hover:grayscale-0 group-hover:brightness-105 transition-all duration-500 scale-100 group-hover:scale-105"}),c.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-transparent via-blue-500/5 to-transparent pointer-events-none"})]})]}),c.jsxs(Ge.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.5},className:"bg-slate-950/85 border border-slate-900 rounded-2xl p-5 md:p-6 space-y-4 text-left shadow-xl",children:[c.jsxs("div",{className:"flex items-center justify-between border-b border-slate-900 pb-3",children:[c.jsx("div",{className:"flex items-center space-x-2",children:c.jsxs("span",{className:"text-xs font-display font-semibold text-slate-200 uppercase tracking-wider",children:[" ","Currently"," "]})}),c.jsxs("div",{className:"flex items-center space-x-1.5 bg-emerald-500/10 border border-emerald-500/20 px-2 py-0.5 rounded-full",children:[c.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse"}),c.jsxs("span",{className:"text-[9px] font-mono text-emerald-400 uppercase tracking-widest font-semibold",children:[" ","Live"," "]})]})]}),c.jsxs("div",{className:"space-y-3 text-xs",children:[c.jsxs("div",{className:"flex items-start justify-between gap-4",children:[c.jsx("span",{className:"text-slate-500 font-mono",children:" Living "}),c.jsxs("span",{className:"text-slate-200 font-medium text-right",children:[" ","New Taipei City, Taiwan"," "]})]}),c.jsxs("div",{className:"flex items-start justify-between gap-4",children:[c.jsx("span",{className:"text-slate-500 font-mono",children:" Next stop "}),c.jsxs("span",{className:"text-slate-200 font-medium text-right text-blue-400",children:[" ","Dublin, Ireland"," "]})]}),c.jsxs("div",{className:"flex items-start justify-between gap-4",children:[c.jsx("span",{className:"text-slate-500 font-mono",children:" Working "}),c.jsxs("span",{className:"text-slate-200 font-medium text-right",children:[" ","Google"," "]})]}),c.jsxs("div",{className:"flex items-start justify-between gap-4",children:[c.jsxs("span",{className:"text-slate-500 font-mono shrink-0",children:[" ","Reading"," "]}),c.jsxs("span",{className:"text-slate-200 text-right font-medium",children:[" ","Astro
340physics for People in a Hurry"," "]})]}),c.jsxs("div",{className:"flex items-start justify-between gap-4",children:[c.jsxs("span",{className:"text-slate-500 font-mono shrink-0",children:[" ","Curious about"," "]}),c.jsxs("span",{className:"text-slate-200 text-right font-medium text-purple-400",children:[" ","Chaos Theory"," "]})]}),c.jsxs("div",{className:"flex items-center justify-between border-t border-slate-900/60 pt-3",children:[c.jsxs("div",{className:"flex flex-col",children:[c.jsxs("span",{className:"text-slate-500 font-mono text-[10px]",children:["ð§ Milk Tea Intake"," "]}),c.jsxs("span",{className:"text-slate-400 text-[9px] italic",children:[" ","Fueling exploration"," "]})]}),c.jsxs("div",{className:"flex items-center space-x-2",children:[c.jsxs("span",{className:"px-2 py-0.5 rounded bg-slate-900 border border-slate-800 text-slate-200 font-bold font-mono text-[11px]",children:[v," ",v===1?"cup":"cups"]}),c.jsx("button",{onClick:()=>b(w=>w+1),className:"px-2 py-0.5 rounded bg-blue-500/10 border border-blue-500/30 hover:bg-blue-500/20 text-blue-400 text-[9px] font-mono font-bold uppercase transition-all hover:scale-105 active:scale-95 cursor-pointer",children:"+ Sip"})]})]})]})]})]})]}),c.jsxs("div",{className:"absolute bottom-6 left-1/2 -translate-x-1/2 flex flex-col items-center space-y-1 text-[9px] text-slate-600 font-mono tracking-widest uppercase",children:[c.jsx("span",{className:"animate-bounce text-blue-400",children:"â"}),c.jsx("span",{children:" Inbound Orbit "})]})]}),c.jsx("section",{id:"about",className:"py-24 border-t border-slate-900/60 max-w-7xl mx-auto px-6 relative",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 items-start",children:[c.jsxs("div",{className:"lg:col-span-5 space-y-6 text-left",children:[c.jsxs("div",{className:"space-y-1",children:[c.jsxs("span",{className:"font-mono text-[10px] text-blue-400 tracking-widest uppercase block",children:["01_BIOGRAPHY"," "]}),c.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold tracking-tight text-slate-100",children:"Software engineer. Lifelong learner."})]}),c.jsxs("div",{className:"space-y-4 font-sans text-xs sm:text-sm text-slate-400 leading-relaxed font-normal",children:[c.jsxs("p",{children:["I'm a Software Engineer at"," ",c.jsx("strong",{className:"text-slate-200 font-semibold",children:"Google"})," ","working on the Google Home platform. Soon, I'll be joining the Pricing & Analytics team at"," ",c.jsxs("strong",{className:"text-slate-200 font-semibold",children:[" ","Bloomberg Ireland"," "]}),"."]}),c.jsx("p",{children:"My professional experience covers Android internals, high - performance SDKs, secure authentication backends, and distributed systems. I specialize in building reliable, low - latency architectures and optimizing performance pipelines."}),c.jsx("p",{children:"Outside of software engineering, I am endlessly fascinated by cosmology, black holes, and general relativity. I spend my free time sketching, exploring astrophotography, and reading up on deep - space physics."})]}),c.jsxs("div",{className:"flex flex-wrap gap-2 pt-2",children:[c.jsxs("a",{href:"https://github.com/hardeep0598",target:"_blank",rel:"noreferrer",className:"flex items-center space-x-2 px-3 py-1.5 rounded-full border border-slate-900 bg-slate-950/20 text-[10px] text-slate-400 hover:text-slate-100 hover:border-slate-700 transition-all font-mono",children:[c.jsx(Fj,{className:"w-3.5 h-3.5 text-blue-400"}),c.jsx("span",{children:"GitHub "})]}),c.jsxs("a",{href:"https://www.linkedin.com/in/hardeepkaur0598/",target:"_blank",rel:"noreferrer",className:"flex items-center space-x-2 px-3 py-1.5 rounded-full border border-slate-900 bg-slate-950/20 text-[10px] text-slate-400 hover:text-slate-100 hover:border-slate-700 transition-all font-mono",children:[c.jsx(sN,{className:"w-3.5 h-3.5 text-blue-400"}),c.jsx("span",{children:"LinkedIn "})]}),c.jsxs("a",{href:"https://www.instagram.com/icosmoetic/",target:"_blank",rel:"noreferrer",className:"flex items-center space-x-2 px-3 py-1.5 rounded-full border border-slate-900 bg-slate-950/20 text-[10px] text-slate-400 hover:text-slate-100 hover:border-slate-700 transition-all font-mono",children:[c.jsx(ag,{className:"w-3.5 h-3.5 text-pink-400"}),c.jsx("span",{children:"Instagram(Personal) "})]}),c.jsxs("a",{href:"https://www.instagram.com/krhardeep/",target:"_blank",rel:"noreferrer",className:"flex items-center space-x-2 px-3 py-1.5 rounded-full border border-slate-900 bg-slate-950/20 text-[10px] text-slate-400 hover:text-slate-100 hover:border-slate-700 transition-all font-mono",children:[c.jsx(ag,{className:"w-3.5 h-3.5 text-purple-400"}),c.jsx("span",{children:"Instagram(Art Archive) "})]}),c.jsxs("a",{href:"https://www.quora.com/profile/Hardeep-Kaur-230",target:"_blank",rel:"noreferrer",className:"flex items-center space-x-2 px-3 py-1.5 rounded-full border border-slate-900 bg-slate-950/20 text-[10px] text-slate-400 hover:text-slate-100 hover:border-slate-700 transition-all font-mono",children:[c.jsx(Kx,{className:"w-3.5 h-3.5 text-red-400"}),c.jsx("span",{children:"Quora "})]}),c.jsxs("a",{href:"https://medium.com/@hardeep-kaur",target:"_blank",rel:"noreferrer",className:"flex items-center space-x-2 px-3 py-1.5 rounded-full border border-slate-900 bg-slate-950/20 text-[10px] text-slate-400 hover:text-slate-100 hover:border-slate-700 transition-all font-mono",children:[c.jsx(zi,{className:"w-3.5 h-3.5 text-emerald-400"}),c.jsx("span",{children:"Medium "})]}),c.jsxs("a",{href:"https://www.facebook.com/hardeepkaur0598",target:"_blank",rel:"noreferrer",className:"flex items-center space-x-2 px-3 py-1.5 rounded-full border border-slate-900 bg-slate-950/20 text-[10px] text-slate-400 hover:text-slate-100 hover:border-slate-700 transition-all font-mono",children:[c.jsx(Zj,{className:"w-3.5 h-3.5 text-blue-500"}),c.jsx("span",{children:"Facebook "})]}),c.jsxs("button",{onClick:()=>S("contact"),className:"flex items-center space-x-2 px-3 py-1.5 rounded-full border border-slate-900 bg-slate-950/20 text-[10px] text-slate-400 hover:text-slate-100 hover:border-slate-700 transition-all font-mono curs
340or-pointer",children:[c.jsx(Iu,{className:"w-3.5 h-3.5 text-amber-400"}),c.jsx("span",{children:"Direct Transmission "})]})]})]}),c.jsxs("div",{className:"lg:col-span-7 bg-slate-950/20 border border-slate-900/80 rounded-xl p-6 md:p-8 space-y-8 text-left",children:[c.jsxs("span",{className:"font-mono text-[10px] text-slate-500 tracking-wider block uppercase",children:[" ","SYSTEM CORES(CAPABILITIES)"," "]}),c.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[c.jsxs("div",{className:"p-4 bg-[#050816] border border-slate-900 rounded-lg",children:[c.jsxs("span",{className:"font-mono text-[9px] text-slate-500 block",children:[" ","LANGUAGES"," "]}),c.jsxs("span",{className:"font-display font-bold text-slate-200 block text-lg mt-1",children:[" ","Go / C++"," "]}),c.jsxs("span",{className:"text-[9px] text-blue-400 font-mono block mt-1",children:[" ","Java / Kotlin"," "]})]}),c.jsxs("div",{className:"p-4 bg-[#050816] border border-slate-900 rounded-lg",children:[c.jsxs("span",{className:"font-mono text-[9px] text-slate-500 block",children:[" ","SYSTEMS"," "]}),c.jsxs("span",{className:"font-display font-bold text-slate-200 block text-lg mt-1",children:[" ","Distributed"," "]}),c.jsxs("span",{className:"text-[9px] text-purple-400 font-mono block mt-1",children:[" ","Low - Latency API"," "]})]}),c.jsxs("div",{className:"p-4 bg-[#050816] border border-slate-900 rounded-lg",children:[c.jsxs("span",{className:"font-mono text-[9px] text-slate-500 block",children:[" ","DATABASES"," "]}),c.jsxs("span",{className:"font-display font-bold text-slate-200 block text-lg mt-1",children:[" ","SQL / NoSQL"," "]}),c.jsxs("span",{className:"text-[9px] text-amber-400 font-mono block mt-1",children:[" ","MongoDB / Redis / Kafka"," "]})]}),c.jsxs("div",{className:"p-4 bg-[#050816] border border-slate-900 rounded-lg",children:[c.jsxs("span",{className:"font-mono text-[9px] text-slate-500 block",children:[" ","SYSTEMS DESIGN"," "]}),c.jsxs("span",{className:"font-display font-bold text-slate-200 block text-lg mt-1",children:[" ","gRPC / REST"," "]}),c.jsxs("span",{className:"text-[9px] text-emerald-400 font-mono block mt-1",children:[" ","Protocol Buffers / API"," "]})]})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("span",{className:"font-mono text-[10px] text-slate-500 tracking-wider block uppercase",children:[" ","ACTIVE TELEMETRY OF SKILLS"," "]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:zN.slice(0,6).map(w=>c.jsxs("div",{className:"space-y-1 bg-slate-950/60 p-3 rounded border border-slate-900",children:[c.jsxs("div",{className:"flex justify-between items-center text-[10px] font-mono",children:[c.jsxs("span",{className:"text-slate-300 font-semibold",children:[" ",w.name," "]}),c.jsxs("span",{className:"text-slate-500",children:[" ",w.category," "]})]}),c.jsx("p",{className:"text-[10px] text-slate-400 leading-normal font-sans pt-1",children:w.description})]},w.name))})]})]})]})}),c.jsx("section",{id:"experience",className:"py-24 border-t border-slate-900/60 max-w-7xl mx-auto px-6 relative",children:c.jsxs("div",{className:"max-w-3xl mx-auto space-y-12",children:[c.jsxs("div",{className:"space-y-2 text-center",children:[c.jsxs("span",{className:"font-mono text-[10px] text-blue-400 tracking-widest uppercase block",children:["02_EXPERIENCE"," "]}),c.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold tracking-tight text-slate-100",children:"Career Journey"}),c.jsx("p",{className:"max-w-md mx-auto text-xs sm:text-sm text-slate-400 font-sans leading-relaxed",children:"Engineering reliable distributed platforms and solving complex infrastructure bottlenecks at top - tier companies."})]}),c.jsx(LN,{})]})}),c.jsx("section",{id:"projects",className:"py-24 border-t border-slate-900/60 max-w-7xl mx-auto px-6 relative",children:c.jsxs("div",{className:"space-y-12",children:[c.jsxs("div",{className:"space-y-2 text-center",children:[c.jsxs("span",{className:"font-mono text-[10px] text-blue-400 tracking-widest uppercase block",children:["03_PROJECTS"," "]}),c.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold tracking-tight text-slate-100",children:"Featured Projects"}),c.jsx("p",{className:"max-w-md mx-auto text-xs sm:text-sm text-slate-400 font-sans leading-relaxed",children:"Custom engineering systems addressing concurrency pipelines, file parsers, and low - latency APIs."})]}),c.jsx(UN,{})]})}),c.jsx("section",{id:"blog",className:"py-24 border-t border-slate-900/60 max-w-7xl mx-auto px-6 relative",children:c.jsxs("div",{className:"space-y-12",children:[c.jsxs("div",{className:"space-y-2 text-center",children:[c.jsx("span",{className:"font-mono text-[10px] text-blue-400 tracking-widest uppercase block",children:"04_TECHNICAL_WRITING"}),c.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold tracking-tight text-slate-100",children:"Technical Writing"}),c.jsxs("p",{className:"max-w-xl mx-auto text-xs sm:text-sm text-slate-400 font-sans leading-relaxed",children:["Deep dives into system internals, auth gateways, and smart-home topologies. Find other articles originally published on my"," ",c.jsx("a",{href:"https://medium.com/@hardeep-kaur",target:"_blank",rel:"noreferrer",className:"text-blue-400 hover:text-blue-300 underline underline-offset-4 transition-colors font-medium",children:"Medium Profile"}),"."]})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:VN.map(w=>c.jsxs("div",{className:"bg-slate-950/20 border border-slate-900 rounded-xl p-6 hover:border-slate-800 hover:bg-slate-900/20 transition-all flex flex-col justify-between text-left",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex justify-between items-center text-[10px] font-mono text-slate-500",children:[c.jsxs("span",{children:[w.date," "]}),c.jsxs("span",{className:"px-2 py-0.5 rounded bg-slate-900 text-slate-400 uppercase tracking-wider",children:[" ",w.category," "]})]}),c.jsx("h3",{className:"font-display text-base font-semibold text-slate-100 tracking-tight leading-snug line-clamp-2",children:w.title}),c.jsx("p",{className:"text-xs text-slate-400 leading-relaxed font-sans line-clamp-3",children:w.excerpt})]}),c.jsxs("div",{className:"pt-6 border-t border-slate-900/80 mt-6 flex items-center justify-between text-[10px] font-mono",children:[c.jsxs("span",{className:"text-slate-500",children:[" ",w.readTime," "]}),c.jsxs("button",{onClick:()=>p(w),className:"text-blue-400 hover:text-blue-300 transition-colors flex items-center space-x-1 cursor-pointer",children:[c.jsx("span",{children:"Read Note "}),c.jsx(ng,{className:"w-3.5 h-3.5"})]})]})]},w.id))})]})}),c.jsx("section",{id:"interests",className:"py-24 border-t border-slate-900/60 max-w-7xl mx-auto px-6 relative",children:c.jsxs("div",{className:"space-y-12",children:[c.jsxs("div",{className:"space-y-2 text-center",children:[c.jsxs("span",{className:"font-mono text-[10px] text-purple-400 tracking-widest uppercase block",children:["05_BEYOND_ENGINEERING"," "]}),c.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold tracking-tight text-slate-100",children:"Curiosity Hub"}),c.jsx("p",{className:"max-w-md mx-auto text-xs sm:text-sm text-slate-400 font-sans leading-relaxed",children:"Where physics meets creative arts.Read my research study logs, view my gallery sketches, or browse my personal digital notebook."})]}),c.jsxs("div",{className:"max-w-2xl mx-auto p-5 bg-purple-950/10 border border-purple-900/25 rounded-xl text-center text-xs text-slate-400 font-sans leading-relaxed",children:[c.jsxs("span",{className:"font-mono text-[10px] text-purple-400 tracking-wider up
340percase font-bold block mb-1",children:[" ","Learning Philosophy"," "]}),"This hub serves as an interactive catalog for tracking my intellectual journey, conceptual visualization, and ongoing learning of complex physical phenomena."]}),c.jsxs("div",{className:"flex border-b border-slate-900 max-w-lg mx-auto",children:[c.jsx("button",{onClick:()=>l("cosmos"),className:`flex-1 pb-3 text-center text-xs font-mono tracking-widest uppercase transition-all cursor-pointer ${o==="cosmos"?"border-b-2 border-purple-500 text-purple-300 font-semibold":"text-slate-500 hover:text-slate-300"}`,children:"Cosmos & Physics"}),c.jsx("button",{onClick:()=>l("art"),className:`flex-1 pb-3 text-center text-xs font-mono tracking-widest uppercase transition-all cursor-pointer ${o==="art"?"border-b-2 border-purple-500 text-purple-300 font-semibold":"text-slate-500 hover:text-slate-300"}`,children:"Art Gallery"}),c.jsx("button",{onClick:()=>l("notebook"),className:`flex-1 pb-3 text-center text-xs font-mono tracking-widest uppercase transition-all cursor-pointer ${o==="notebook"?"border-b-2 border-purple-500 text-purple-300 font-semibold":"text-slate-500 hover:text-slate-300"}`,children:"Reading Journal"})]}),c.jsxs("div",{className:"pt-4",children:[o==="cosmos"&&c.jsx(HN,{}),o==="art"&&c.jsx(GN,{}),o==="notebook"&&c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-5xl mx-auto font-mono text-left",children:_i.notebook.map(w=>c.jsxs("div",{className:"bg-slate-950/35 border border-slate-900 rounded-xl p-6 flex flex-col justify-between hover:border-slate-800 transition-all",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:`h-36 rounded-lg bg-gradient-to-br ${w.coverColor} border border-slate-800/80 p-4 flex flex-col justify-between text-[11px]`,children:[c.jsxs("span",{className:"text-slate-500 text-[9px] uppercase tracking-wider",children:[" ","BOOK_CATALOG"," "]}),c.jsxs("div",{children:[c.jsxs("h4",{className:"font-display font-bold text-slate-100 text-sm leading-tight",children:[" ",w.title," "]}),c.jsxs("span",{className:"text-slate-400 text-[10px] mt-0.5 block",children:[" ",w.author," "]})]})]}),c.jsxs("div",{className:"flex items-center justify-between text-[10px]",children:[c.jsxs("span",{className:"text-slate-500",children:[" ","READING STATUS:"," "]}),c.jsx("span",{className:`px-2 py-0.5 rounded uppercase tracking-wider text-[8px] ${w.status==="completed"?"bg-emerald-950/40 text-emerald-400 border border-emerald-900/30":w.status==="reading"?"bg-blue-950/40 text-blue-400 border border-blue-900/30 animate-pulse":"bg-slate-900 text-slate-500"}`,children:w.status})]}),w.review&&c.jsx("p",{className:"text-[11px] text-slate-400 leading-relaxed font-sans",children:w.review})]}),c.jsxs("div",{className:"pt-4 border-t border-slate-900/60 mt-4 flex items-center justify-between text-[10px]",children:[c.jsx("span",{className:"text-slate-600",children:" SUMMARY ARCHIVE "}),w.rating&&c.jsx("div",{className:"flex items-center space-x-1 text-amber-500",children:Array.from({length:w.rating}).map((R,Y)=>c.jsx("span",{children:"â
"},Y))})]})]},w.title))})]})]})}),c.jsx("section",{id:"timeline",className:"py-24 border-t border-slate-900/60 max-w-7xl mx-auto px-6 relative",children:c.jsxs("div",{className:"max-w-4xl mx-auto space-y-12",children:[c.jsxs("div",{className:"space-y-2 text-center",children:[c.jsxs("span",{className:"font-mono text-[10px] text-blue-400 tracking-widest uppercase block",children:["06_JOURNEY_TIMELINE"," "]}),c.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold tracking-tight text-slate-100",children:"The Journey Timeline"}),c.jsx("p",{className:"max-w-md mx-auto text-xs sm:text-sm text-slate-400 font-sans leading-relaxed",children:"Reflections and historical milestones of my professional career, learning checkpoints, and astronomy observations."})]}),c.jsx("div",{className:"relative border-l-2 border-slate-900/40 ml-6 md:ml-32 space-y-16 py-8",children:BN.map((w,R)=>c.jsxs("div",{className:"relative pl-10 text-left group",children:[c.jsx("div",{className:"absolute -left-[14px] md:-left-28 top-0 flex items-center md:justify-end md:w-20",children:c.jsx("span",{className:"font-mono text-xs md:text-sm font-bold bg-[#03050c] px-3 py-1 border border-slate-800/80 rounded-full text-blue-400 shadow-sm",children:w.year})}),c.jsxs("div",{className:"space-y-2",children:[c.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-1.5 sm:gap-3",children:[c.jsx("span",{className:"font-mono text-[9px] text-purple-400 uppercase tracking-widest bg-purple-950/20 border border-purple-900/30 px-2.5 py-0.5 rounded w-max",children:w.event}),c.jsx("h4",{className:"font-display text-slate-100 text-sm md:text-base font-bold tracking-tight",children:w.title})]}),c.jsx("p",{className:"font-sans text-xs md:text-sm text-slate-400 leading-relaxed max-w-xl",children:w.description})]})]},R))})]})}),c.jsx("section",{className:"py-24 border-t border-slate-900/60 bg-slate-950/15 relative",children:c.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center space-y-8 font-mono",children:[c.jsx("div",{className:"relative h-44 flex flex-col justify-center items-center",children:c.jsx(on,{mode:"wait",children:c.jsxs(Ge.div,{initial:{opacity:0,y:15}
340,animate:{opacity:1,y:0},exit:{opacity:0,y:-15},transition:{duration:.5},className:"space-y-4",children:[c.jsxs("span",{className:"text-[9px] text-amber-400 uppercase tracking-widest block border border-amber-900/30 bg-amber-950/10 px-2.5 py-1 rounded-full w-max mx-auto",children:[B.category," Quote"]}),c.jsx("p",{className:"font-display text-base md:text-xl text-slate-100 font-normal italic leading-relaxed max-w-2xl mx-auto",children:B.text}),c.jsxs("span",{className:"text-slate-500 text-[10px] block font-mono",children:["â ",B.author," "]})]},d)})}),c.jsxs("div",{className:"flex items-center justify-center space-x-4 pt-4 text-slate-600",children:[c.jsx("button",{onClick:M,className:"p-1 rounded bg-slate-950 border border-slate-900 text-slate-500 hover:text-slate-300 cursor-pointer",children:c.jsx(Lj,{className:"w-4 h-4"})}),c.jsx("div",{className:"flex space-x-1",children:ys.map((w,R)=>c.jsx("div",{className:`w-1.5 h-1.5 rounded-full transition-colors ${R===d?"bg-blue-400":"bg-slate-900"}`},R))}),c.jsx("button",{onClick:E,className:"p-1 rounded bg-slate-950 border border-slate-900 text-slate-500 hover:text-slate-300 cursor-pointer",children:c.jsx(ng,{className:"w-4 h-4"})})]})]})}),c.jsx("section",{id:"contact",className:"py-24 border-t border-slate-900/60 max-w-7xl mx-auto px-6 relative",children:c.jsxs("div",{className:"max-w-xl mx-auto text-center space-y-12",children:[c.jsxs("div",{className:"space-y-3",children:[c.jsxs("span",{className:"font-mono text-[10px] text-blue-400 tracking-widest uppercase block",children:["07_CONTACT"," "]}),c.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold tracking-tight text-slate-100",children:"Say Hello"}),c.jsx("p",{className:"font-sans text-xs sm:text-sm text-slate-400 leading-relaxed",children:"My inbox is always open.Whether you want to discuss distributed systems engineering, astrophysics, books, or potential collaborationsâfeel free to drop a line!"})]}),c.jsxs("div",{className:"bg-slate-950/45 border border-slate-900 rounded-xl p-8 max-w-sm mx-auto",children:[c.jsxs("div",{className:"flex items-center justify-center space-x-3 text-sm text-slate-300 font-mono",children:[c.jsx(Iu,{className:"w-4 h-4 text-blue-400"}),c.jsx("span",{children:"[email protected]"})]}),c.jsx("div",{className:"mt-5 flex justify-center",children:c.jsx("a",{href:"https://mail.google.com/mail/?view=cm&fs=1&[email protected]",target:"_blank",rel:"noopener noreferrer",className:"px-6 py-2.5 rounded-full bg-blue-500 hover:bg-blue-600 text-slate-100 font-medium text-xs uppercase tracking-wider transition-all inline-block cursor-pointer font-mono",children:"Send Email"})})]})]})}),c.jsx("footer",{className:"border-t border-slate-900/60 py-8 bg-[#02040b]",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-6 flex flex-col md:flex-row items-center justify-between text-[11px] text-slate-600 font-mono gap-4",children:[c.jsx("div",{children:c.jsxs("span",{children:["© ",new Date().getFullYear()," HARDEEP KAUR ⢠ALL RIGHTS RESERVED"," "]})}),c.jsxs("div",{className:"flex flex-wrap justify-center md:justify-end gap-x-4 gap-y-2",children:[c.jsxs("a",{href:"https://github.com/hardeep0598",target:"_blank",rel:"noreferrer",className:"hover:text-slate-400 transition-colors",children:[" ","GITHUB"," "]}),c.jsxs("a",{href:"https://linkedin.com",target:"_blank",rel:"noreferrer",className:"hover:text-slate-400 transition-colors",children:[" ","LINKEDIN"," "]}),c.jsxs("a",{href:"https://instagram.com",target:"_blank",rel:"noreferrer",className:"hover:text-slate-400 transition-colors",children:[" ","INSTAGRAM(PERSONAL)"," "]}),c.jsxs("a",{href:"https://instagram.com",target:"_blank",rel:"noreferrer",className:"hover:text-slate-400 transition-colors",children:[" ","INSTAGRAM(ART ARCHIVE)"," "]}),c.jsxs("a",{href:"https://twitter.com",target:"_blank",rel:"noreferrer",className:"hover:text-slate-400 transition-colors",children:[" ","TWITTER"," "]}),c.jsxs("a",{href:"https://quora.com",target:"_blank",rel:"noreferrer",className:"hover:text-slate-400 transition-colors",children:[" ","QUORA"," "]}),c.jsxs("button",{onClick:()=>S("hero"),className:"hover:text-slate-400 transition-colors cursor-pointer",children:[" ","BACK TO TOP"," "]})]})]})}),c.jsx(ON,{onNavigate:S}),c.jsx(on,{children:f&&c.jsx(qN,{post:f,onClose:()=>p(null)})})]}):c.jsx(RN,{onComplete:()=>i(!0)})}yb.createRoot(document.getElementById("root")).render(c.jsx(z.StrictMode,{children:c.jsx(YN,{})}));
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.