forked from izu/student-web-if-development-kit
170 lines
245 KiB
JavaScript
170 lines
245 KiB
JavaScript
(function(){const E=document.createElement("link").relList;if(E&&E.supports&&E.supports("modulepreload"))return;for(const U of document.querySelectorAll('link[rel="modulepreload"]'))s(U);new MutationObserver(U=>{for(const H of U)if(H.type==="childList")for(const Y of H.addedNodes)Y.tagName==="LINK"&&Y.rel==="modulepreload"&&s(Y)}).observe(document,{childList:!0,subtree:!0});function A(U){const H={};return U.integrity&&(H.integrity=U.integrity),U.referrerPolicy&&(H.referrerPolicy=U.referrerPolicy),U.crossOrigin==="use-credentials"?H.credentials="include":U.crossOrigin==="anonymous"?H.credentials="omit":H.credentials="same-origin",H}function s(U){if(U.ep)return;U.ep=!0;const H=A(U);fetch(U.href,H)}})();var vf={exports:{}},_n={};/**
|
|
* @license React
|
|
* react-jsx-runtime.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Ed;function Sh(){if(Ed)return _n;Ed=1;var r=Symbol.for("react.transitional.element"),E=Symbol.for("react.fragment");function A(s,U,H){var Y=null;if(H!==void 0&&(Y=""+H),U.key!==void 0&&(Y=""+U.key),"key"in U){H={};for(var $ in U)$!=="key"&&(H[$]=U[$])}else H=U;return U=H.ref,{$$typeof:r,type:s,key:Y,ref:U!==void 0?U:null,props:H}}return _n.Fragment=E,_n.jsx=A,_n.jsxs=A,_n}var _d;function Nh(){return _d||(_d=1,vf.exports=Sh()),vf.exports}var f=Nh(),gf={exports:{}},V={};/**
|
|
* @license React
|
|
* react.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Md;function jh(){if(Md)return V;Md=1;var r=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),X=Symbol.iterator;function Z(m){return m===null||typeof m!="object"?null:(m=X&&m[X]||m["@@iterator"],typeof m=="function"?m:null)}var tl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Nl=Object.assign,Sl={};function _l(m,T,O){this.props=m,this.context=T,this.refs=Sl,this.updater=O||tl}_l.prototype.isReactComponent={},_l.prototype.setState=function(m,T){if(typeof m!="object"&&typeof m!="function"&&m!=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,m,T,"setState")},_l.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function Vl(){}Vl.prototype=_l.prototype;function yl(m,T,O){this.props=m,this.context=T,this.refs=Sl,this.updater=O||tl}var Ml=yl.prototype=new Vl;Ml.constructor=yl,Nl(Ml,_l.prototype),Ml.isPureReactComponent=!0;var Kl=Array.isArray;function Rl(){}var W={H:null,A:null,T:null,S:null},Dl=Object.prototype.hasOwnProperty;function Il(m,T,O){var R=O.ref;return{$$typeof:r,type:m,key:T,ref:R!==void 0?R:null,props:O}}function Et(m,T){return Il(m.type,T,m.props)}function z(m){return typeof m=="object"&&m!==null&&m.$$typeof===r}function G(m){var T={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(O){return T[O]})}var kl=/\/+/g;function it(m,T){return typeof m=="object"&&m!==null&&m.key!=null?G(""+m.key):T.toString(36)}function $l(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(Rl,Rl):(m.status="pending",m.then(function(T){m.status==="pending"&&(m.status="fulfilled",m.value=T)},function(T){m.status==="pending"&&(m.status="rejected",m.reason=T)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function S(m,T,O,R,K){var I=typeof m;(I==="undefined"||I==="boolean")&&(m=null);var fl=!1;if(m===null)fl=!0;else switch(I){case"bigint":case"string":case"number":fl=!0;break;case"object":switch(m.$$typeof){case r:case E:fl=!0;break;case q:return fl=m._init,S(fl(m._payload),T,O,R,K)}}if(fl)return K=K(m),fl=R===""?"."+it(m,0):R,Kl(K)?(O="",fl!=null&&(O=fl.replace(kl,"$&/")+"/"),S(K,T,O,"",function(Ha){return Ha})):K!=null&&(z(K)&&(K=Et(K,O+(K.key==null||m&&m.key===K.key?"":(""+K.key).replace(kl,"$&/")+"/")+fl)),T.push(K)),1;fl=0;var Wl=R===""?".":R+":";if(Kl(m))for(var zl=0;zl<m.length;zl++)R=m[zl],I=Wl+it(R,zl),fl+=S(R,T,O,I,K);else if(zl=Z(m),typeof zl=="function")for(m=zl.call(m),zl=0;!(R=m.next()).done;)R=R.value,I=Wl+it(R,zl++),fl+=S(R,T,O,I,K);else if(I==="object"){if(typeof m.then=="function")return S($l(m),T,O,R,K);throw T=String(m),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.")}return fl}function D(m,T,O){if(m==null)return m;var R=[],K=0;return S(m,R,"","",function(I){return T.call(O,I,K++)}),R}function Q(m){if(m._status===-1){var T=m._result;T=T(),T.then(function(O){(m._status===0||m._status===-1)&&(m._status=1,m._result=O)},function(O){(m._status===0||m._status===-1)&&(m._status=2,m._result=O)}),m._status===-1&&(m._status=0,m._result=T)}if(m._status===1)return m._result.default;throw m._result}var rl=typeof reportError=="function"?reportError:function(m){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var T=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m=="object"&&m!==null&&typeof m.message=="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(T))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",m);return}console.error(m)},vl={map:D,forEach:function(m,T,O){D(m,function(){T.apply(this,arguments)},O)},count:function(m){var T=0;return D(m,function(){T++}),T},toArray:function(m){return D(m,function(T){return T})||[]},only:function(m){if(!z(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};return V.Activity=_,V.Children=vl,V.Component=_l,V.Fragment=A,V.Profiler=U,V.PureComponent=yl,V.StrictMode=s,V.Suspense=M,V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,V.__COMPILER_RUNTIME={__proto__:null,c:function(m){return W.H.useMemoCache(m)}},V.cache=function(m){return function(){return m.apply(null,arguments)}},V.cacheSignal=function(){return null},V.cloneElement=function(m,T,O){if(m==null)throw Error("The argument must be a React element, but you passed "+m+".");var R=Nl({},m.props),K=m.key;if(T!=null)for(I in T.key!==void 0&&(K=""+T.key),T)!Dl.call(T,I)||I==="key"||I==="__self"||I==="__source"||I==="ref"&&T.ref===void 0||(R[I]=T[I]);var I=arguments.length-2;if(I===1)R.children=O;else if(1<I){for(var fl=Array(I),Wl=0;Wl<I;Wl++)fl[Wl]=arguments[Wl+2];R.children=fl}return Il(m.type,K,R)},V.createContext=function(m){return m={$$typeof:Y,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:H,_context:m},m},V.createElement=function(m,T,O){var R,K={},I=null;if(T!=null)for(R in T.key!==void 0&&(I=""+T.key),T)Dl.call(T,R)&&R!=="key"&&R!=="__self"&&R!=="__source"&&(K[R]=T[R]);var fl=arguments.length-2;if(fl===1)K.children=O;else if(1<fl){for(var Wl=Array(fl),zl=0;zl<fl;zl++)Wl[zl]=arguments[zl+2];K.children=Wl}if(m&&m.defaultProps)for(R in fl=m.defaultProps,fl)K[R]===void 0&&(K[R]=fl[R]);return Il(m,I,K)},V.createRef=function(){return{current:null}},V.forwardRef=function(m){return{$$typeof:$,render:m}},V.isValidElement=z,V.lazy=function(m){return{$$typeof:q,_payload:{_status:-1,_result:m},_init:Q}},V.memo=function(m,T){return{$$typeof:p,type:m,compare:T===void 0?null:T}},V.startTransition=function(m){var T=W.T,O={};W.T=O;try{var R=m(),K=W.S;K!==null&&K(O,R),typeof R=="object"&&R!==null&&typeof R.then=="function"&&R.then(Rl,rl)}catch(I){rl(I)}finally{T!==null&&O.types!==null&&(T.types=O.types),W.T=T}},V.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},V.use=function(m){return W.H.use(m)},V.useActionState=function(m,T,O){return W.H.useActionState(m,T,O)},V.useCallback=function(m,T){return W.H.useCallback(m,T)},V.useContext=function(m){return W.H.useContext(m)},V.useDebugValue=function(){},V.useDeferredValue=function(m,T){return W.H.useDeferredValue(m,T)},V.useEffect=function(m,T){return W.H.useEffect(m,T)},V.useEffectEvent=function(m){return W.H.useEffectEvent(m)},V.useId=function(){return W.H.useId()},V.useImperativeHandle=function(m,T,O){return W.H.useImperativeHandle(m,T,O)},V.useInsertionEffect=function(m,T){return W.H.useInsertionEffect(m,T)},V.useLayoutEffect=function(m,T){return W.H.useLayoutEffect(m,T)},V.useMemo=function(m,T){return W.H.useMemo(m,T)},V.useOptimistic=function(m,T){return W.H.useOptimistic(m,T)},V.useReducer=function(m,T,O){return W.H.useReducer(m,T,O)},V.useRef=function(m){return W.H.useRef(m)},V.useState=function(m){return W.H.useState(m)},V.useSyncExternalStore=function(m,T,O){return W.H.useSyncExternalStore(m,T,O)},V.useTransition=function(){return W.H.useTransition()},V.version="19.2.6",V}var Dd;function jf(){return Dd||(Dd=1,gf.exports=jh()),gf.exports}var F=jf(),bf={exports:{}},Mn={},pf={exports:{}},xf={};/**
|
|
* @license React
|
|
* scheduler.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Od;function Th(){return Od||(Od=1,(function(r){function E(S,D){var Q=S.length;S.push(D);l:for(;0<Q;){var rl=Q-1>>>1,vl=S[rl];if(0<U(vl,D))S[rl]=D,S[Q]=vl,Q=rl;else break l}}function A(S){return S.length===0?null:S[0]}function s(S){if(S.length===0)return null;var D=S[0],Q=S.pop();if(Q!==D){S[0]=Q;l:for(var rl=0,vl=S.length,m=vl>>>1;rl<m;){var T=2*(rl+1)-1,O=S[T],R=T+1,K=S[R];if(0>U(O,Q))R<vl&&0>U(K,O)?(S[rl]=K,S[R]=Q,rl=R):(S[rl]=O,S[T]=Q,rl=T);else if(R<vl&&0>U(K,Q))S[rl]=K,S[R]=Q,rl=R;else break l}}return D}function U(S,D){var Q=S.sortIndex-D.sortIndex;return Q!==0?Q:S.id-D.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var H=performance;r.unstable_now=function(){return H.now()}}else{var Y=Date,$=Y.now();r.unstable_now=function(){return Y.now()-$}}var M=[],p=[],q=1,_=null,X=3,Z=!1,tl=!1,Nl=!1,Sl=!1,_l=typeof setTimeout=="function"?setTimeout:null,Vl=typeof clearTimeout=="function"?clearTimeout:null,yl=typeof setImmediate<"u"?setImmediate:null;function Ml(S){for(var D=A(p);D!==null;){if(D.callback===null)s(p);else if(D.startTime<=S)s(p),D.sortIndex=D.expirationTime,E(M,D);else break;D=A(p)}}function Kl(S){if(Nl=!1,Ml(S),!tl)if(A(M)!==null)tl=!0,Rl||(Rl=!0,G());else{var D=A(p);D!==null&&$l(Kl,D.startTime-S)}}var Rl=!1,W=-1,Dl=5,Il=-1;function Et(){return Sl?!0:!(r.unstable_now()-Il<Dl)}function z(){if(Sl=!1,Rl){var S=r.unstable_now();Il=S;var D=!0;try{l:{tl=!1,Nl&&(Nl=!1,Vl(W),W=-1),Z=!0;var Q=X;try{t:{for(Ml(S),_=A(M);_!==null&&!(_.expirationTime>S&&Et());){var rl=_.callback;if(typeof rl=="function"){_.callback=null,X=_.priorityLevel;var vl=rl(_.expirationTime<=S);if(S=r.unstable_now(),typeof vl=="function"){_.callback=vl,Ml(S),D=!0;break t}_===A(M)&&s(M),Ml(S)}else s(M);_=A(M)}if(_!==null)D=!0;else{var m=A(p);m!==null&&$l(Kl,m.startTime-S),D=!1}}break l}finally{_=null,X=Q,Z=!1}D=void 0}}finally{D?G():Rl=!1}}}var G;if(typeof yl=="function")G=function(){yl(z)};else if(typeof MessageChannel<"u"){var kl=new MessageChannel,it=kl.port2;kl.port1.onmessage=z,G=function(){it.postMessage(null)}}else G=function(){_l(z,0)};function $l(S,D){W=_l(function(){S(r.unstable_now())},D)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(S){S.callback=null},r.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Dl=0<S?Math.floor(1e3/S):5},r.unstable_getCurrentPriorityLevel=function(){return X},r.unstable_next=function(S){switch(X){case 1:case 2:case 3:var D=3;break;default:D=X}var Q=X;X=D;try{return S()}finally{X=Q}},r.unstable_requestPaint=function(){Sl=!0},r.unstable_runWithPriority=function(S,D){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var Q=X;X=S;try{return D()}finally{X=Q}},r.unstable_scheduleCallback=function(S,D,Q){var rl=r.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?rl+Q:rl):Q=rl,S){case 1:var vl=-1;break;case 2:vl=250;break;case 5:vl=1073741823;break;case 4:vl=1e4;break;default:vl=5e3}return vl=Q+vl,S={id:q++,callback:D,priorityLevel:S,startTime:Q,expirationTime:vl,sortIndex:-1},Q>rl?(S.sortIndex=Q,E(p,S),A(M)===null&&S===A(p)&&(Nl?(Vl(W),W=-1):Nl=!0,$l(Kl,Q-rl))):(S.sortIndex=vl,E(M,S),tl||Z||(tl=!0,Rl||(Rl=!0,G()))),S},r.unstable_shouldYield=Et,r.unstable_wrapCallback=function(S){var D=X;return function(){var Q=X;X=D;try{return S.apply(this,arguments)}finally{X=Q}}}})(xf)),xf}var Ud;function zh(){return Ud||(Ud=1,pf.exports=Th()),pf.exports}var Sf={exports:{}},Jl={};/**
|
|
* @license React
|
|
* react-dom.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Cd;function Ah(){if(Cd)return Jl;Cd=1;var r=jf();function E(M){var p="https://react.dev/errors/"+M;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var q=2;q<arguments.length;q++)p+="&args[]="+encodeURIComponent(arguments[q])}return"Minified React error #"+M+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function A(){}var s={d:{f:A,r:function(){throw Error(E(522))},D:A,C:A,L:A,m:A,X:A,S:A,M:A},p:0,findDOMNode:null},U=Symbol.for("react.portal");function H(M,p,q){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:_==null?null:""+_,children:M,containerInfo:p,implementation:q}}var Y=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function $(M,p){if(M==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Jl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Jl.createPortal=function(M,p){var q=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(E(299));return H(M,p,null,q)},Jl.flushSync=function(M){var p=Y.T,q=s.p;try{if(Y.T=null,s.p=2,M)return M()}finally{Y.T=p,s.p=q,s.d.f()}},Jl.preconnect=function(M,p){typeof M=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,s.d.C(M,p))},Jl.prefetchDNS=function(M){typeof M=="string"&&s.d.D(M)},Jl.preinit=function(M,p){if(typeof M=="string"&&p&&typeof p.as=="string"){var q=p.as,_=$(q,p.crossOrigin),X=typeof p.integrity=="string"?p.integrity:void 0,Z=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;q==="style"?s.d.S(M,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:_,integrity:X,fetchPriority:Z}):q==="script"&&s.d.X(M,{crossOrigin:_,integrity:X,fetchPriority:Z,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Jl.preinitModule=function(M,p){if(typeof M=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var q=$(p.as,p.crossOrigin);s.d.M(M,{crossOrigin:q,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&s.d.M(M)},Jl.preload=function(M,p){if(typeof M=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var q=p.as,_=$(q,p.crossOrigin);s.d.L(M,q,{crossOrigin:_,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Jl.preloadModule=function(M,p){if(typeof M=="string")if(p){var q=$(p.as,p.crossOrigin);s.d.m(M,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:q,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else s.d.m(M)},Jl.requestFormReset=function(M){s.d.r(M)},Jl.unstable_batchedUpdates=function(M,p){return M(p)},Jl.useFormState=function(M,p,q){return Y.H.useFormState(M,p,q)},Jl.useFormStatus=function(){return Y.H.useHostTransitionStatus()},Jl.version="19.2.6",Jl}var Hd;function Eh(){if(Hd)return Sf.exports;Hd=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(E){console.error(E)}}return r(),Sf.exports=Ah(),Sf.exports}/**
|
|
* @license React
|
|
* react-dom-client.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Rd;function _h(){if(Rd)return Mn;Rd=1;var r=zh(),E=jf(),A=Eh();function s(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function U(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function H(l){var t=l,e=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;while(l)}return t.tag===3?e:null}function Y(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function $(l){if(l.tag===31){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function M(l){if(H(l)!==l)throw Error(s(188))}function p(l){var t=l.alternate;if(!t){if(t=H(l),t===null)throw Error(s(188));return t!==l?null:l}for(var e=l,a=t;;){var n=e.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){e=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===e)return M(n),l;if(u===a)return M(n),t;u=u.sibling}throw Error(s(188))}if(e.return!==a.return)e=n,a=u;else{for(var i=!1,c=n.child;c;){if(c===e){i=!0,e=n,a=u;break}if(c===a){i=!0,a=n,e=u;break}c=c.sibling}if(!i){for(c=u.child;c;){if(c===e){i=!0,e=u,a=n;break}if(c===a){i=!0,a=u,e=n;break}c=c.sibling}if(!i)throw Error(s(189))}}if(e.alternate!==a)throw Error(s(190))}if(e.tag!==3)throw Error(s(188));return e.stateNode.current===e?l:t}function q(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=q(l),t!==null)return t;l=l.sibling}return null}var _=Object.assign,X=Symbol.for("react.element"),Z=Symbol.for("react.transitional.element"),tl=Symbol.for("react.portal"),Nl=Symbol.for("react.fragment"),Sl=Symbol.for("react.strict_mode"),_l=Symbol.for("react.profiler"),Vl=Symbol.for("react.consumer"),yl=Symbol.for("react.context"),Ml=Symbol.for("react.forward_ref"),Kl=Symbol.for("react.suspense"),Rl=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),Dl=Symbol.for("react.lazy"),Il=Symbol.for("react.activity"),Et=Symbol.for("react.memo_cache_sentinel"),z=Symbol.iterator;function G(l){return l===null||typeof l!="object"?null:(l=z&&l[z]||l["@@iterator"],typeof l=="function"?l:null)}var kl=Symbol.for("react.client.reference");function it(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===kl?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Nl:return"Fragment";case _l:return"Profiler";case Sl:return"StrictMode";case Kl:return"Suspense";case Rl:return"SuspenseList";case Il:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case tl:return"Portal";case yl:return l.displayName||"Context";case Vl:return(l._context.displayName||"Context")+".Consumer";case Ml:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case W:return t=l.displayName||null,t!==null?t:it(l.type)||"Memo";case Dl:t=l._payload,l=l._init;try{return it(l(t))}catch{}}return null}var $l=Array.isArray,S=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=A.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},rl=[],vl=-1;function m(l){return{current:l}}function T(l){0>vl||(l.current=rl[vl],rl[vl]=null,vl--)}function O(l,t){vl++,rl[vl]=l.current,l.current=t}var R=m(null),K=m(null),I=m(null),fl=m(null);function Wl(l,t){switch(O(I,t),O(K,l),O(R,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?Wr(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=Wr(t),l=Fr(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}T(R),O(R,l)}function zl(){T(R),T(K),T(I)}function Ha(l){l.memoizedState!==null&&O(fl,l);var t=R.current,e=Fr(t,l.type);t!==e&&(O(K,l),O(R,e))}function On(l){K.current===l&&(T(R),T(K)),fl.current===l&&(T(fl),Tn._currentValue=Q)}var Fu,zf;function _e(l){if(Fu===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Fu=t&&t[1]||"",zf=-1<e.stack.indexOf(`
|
|
at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
`+Fu+l+zf}var Iu=!1;function Pu(l,t){if(!l||Iu)return"";Iu=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(b){var g=b}Reflect.construct(l,[],j)}else{try{j.call()}catch(b){g=b}l.call(j.prototype)}}else{try{throw Error()}catch(b){g=b}(j=l())&&typeof j.catch=="function"&&j.catch(function(){})}}catch(b){if(b&&g&&typeof b.stack=="string")return[b.stack,g.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),i=u[0],c=u[1];if(i&&c){var o=i.split(`
|
|
`),v=c.split(`
|
|
`);for(n=a=0;a<o.length&&!o[a].includes("DetermineComponentFrameRoot");)a++;for(;n<v.length&&!v[n].includes("DetermineComponentFrameRoot");)n++;if(a===o.length||n===v.length)for(a=o.length-1,n=v.length-1;1<=a&&0<=n&&o[a]!==v[n];)n--;for(;1<=a&&0<=n;a--,n--)if(o[a]!==v[n]){if(a!==1||n!==1)do if(a--,n--,0>n||o[a]!==v[n]){var x=`
|
|
`+o[a].replace(" at new "," at ");return l.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",l.displayName)),x}while(1<=a&&0<=n);break}}}finally{Iu=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?_e(e):""}function Id(l,t){switch(l.tag){case 26:case 27:case 5:return _e(l.type);case 16:return _e("Lazy");case 13:return l.child!==t&&t!==null?_e("Suspense Fallback"):_e("Suspense");case 19:return _e("SuspenseList");case 0:case 15:return Pu(l.type,!1);case 11:return Pu(l.type.render,!1);case 1:return Pu(l.type,!0);case 31:return _e("Activity");default:return""}}function Af(l){try{var t="",e=null;do t+=Id(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
|
|
Error generating stack: `+a.message+`
|
|
`+a.stack}}var li=Object.prototype.hasOwnProperty,ti=r.unstable_scheduleCallback,ei=r.unstable_cancelCallback,Pd=r.unstable_shouldYield,lm=r.unstable_requestPaint,ct=r.unstable_now,tm=r.unstable_getCurrentPriorityLevel,Ef=r.unstable_ImmediatePriority,_f=r.unstable_UserBlockingPriority,Un=r.unstable_NormalPriority,em=r.unstable_LowPriority,Mf=r.unstable_IdlePriority,am=r.log,nm=r.unstable_setDisableYieldValue,Ra=null,ft=null;function le(l){if(typeof am=="function"&&nm(l),ft&&typeof ft.setStrictMode=="function")try{ft.setStrictMode(Ra,l)}catch{}}var st=Math.clz32?Math.clz32:cm,um=Math.log,im=Math.LN2;function cm(l){return l>>>=0,l===0?32:31-(um(l)/im|0)|0}var Cn=256,Hn=262144,Rn=4194304;function Me(l){var t=l&42;if(t!==0)return t;switch(l&-l){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 l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Bn(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var n=0,u=l.suspendedLanes,i=l.pingedLanes;l=l.warmLanes;var c=a&134217727;return c!==0?(a=c&~u,a!==0?n=Me(a):(i&=c,i!==0?n=Me(i):e||(e=c&~l,e!==0&&(n=Me(e))))):(c=a&~u,c!==0?n=Me(c):i!==0?n=Me(i):e||(e=a&~l,e!==0&&(n=Me(e)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,e=t&-t,u>=e||u===32&&(e&4194048)!==0)?t:n}function Ba(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function fm(l,t){switch(l){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 Df(){var l=Rn;return Rn<<=1,(Rn&62914560)===0&&(Rn=4194304),l}function ai(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function qa(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function sm(l,t,e,a,n,u){var i=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var c=l.entanglements,o=l.expirationTimes,v=l.hiddenUpdates;for(e=i&~e;0<e;){var x=31-st(e),j=1<<x;c[x]=0,o[x]=-1;var g=v[x];if(g!==null)for(v[x]=null,x=0;x<g.length;x++){var b=g[x];b!==null&&(b.lane&=-536870913)}e&=~j}a!==0&&Of(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(i&~t))}function Of(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-st(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function Uf(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-st(e),n=1<<a;n&t|l[a]&t&&(l[a]|=t),e&=~n}}function Cf(l,t){var e=t&-t;return e=(e&42)!==0?1:ni(e),(e&(l.suspendedLanes|t))!==0?0:e}function ni(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function ui(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Hf(){var l=D.p;return l!==0?l:(l=window.event,l===void 0?32:xd(l.type))}function Rf(l,t){var e=D.p;try{return D.p=l,t()}finally{D.p=e}}var te=Math.random().toString(36).slice(2),Ll="__reactFiber$"+te,Pl="__reactProps$"+te,ke="__reactContainer$"+te,ii="__reactEvents$"+te,om="__reactListeners$"+te,rm="__reactHandles$"+te,Bf="__reactResources$"+te,Ya="__reactMarker$"+te;function ci(l){delete l[Ll],delete l[Pl],delete l[ii],delete l[om],delete l[rm]}function Je(l){var t=l[Ll];if(t)return t;for(var e=l.parentNode;e;){if(t=e[ke]||e[Ll]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=nd(l);l!==null;){if(e=l[Ll])return e;l=nd(l)}return t}l=e,e=l.parentNode}return null}function $e(l){if(l=l[Ll]||l[ke]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function La(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(s(33))}function We(l){var t=l[Bf];return t||(t=l[Bf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ql(l){l[Ya]=!0}var qf=new Set,Yf={};function De(l,t){Fe(l,t),Fe(l+"Capture",t)}function Fe(l,t){for(Yf[l]=t,l=0;l<t.length;l++)qf.add(t[l])}var dm=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]*$"),Lf={},wf={};function mm(l){return li.call(wf,l)?!0:li.call(Lf,l)?!1:dm.test(l)?wf[l]=!0:(Lf[l]=!0,!1)}function qn(l,t,e){if(mm(t))if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+e)}}function Yn(l,t,e){if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+e)}}function Rt(l,t,e,a){if(a===null)l.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttributeNS(t,e,""+a)}}function gt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Gf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hm(l,t,e){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){e=""+i,u.call(this,i)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function fi(l){if(!l._valueTracker){var t=Gf(l)?"checked":"value";l._valueTracker=hm(l,t,""+l[t])}}function Qf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=Gf(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Ln(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var ym=/[\n"\\]/g;function bt(l){return l.replace(ym,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function si(l,t,e,a,n,u,i,c){l.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.type=i:l.removeAttribute("type"),t!=null?i==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+gt(t)):l.value!==""+gt(t)&&(l.value=""+gt(t)):i!=="submit"&&i!=="reset"||l.removeAttribute("value"),t!=null?oi(l,i,gt(t)):e!=null?oi(l,i,gt(e)):a!=null&&l.removeAttribute("value"),n==null&&u!=null&&(l.defaultChecked=!!u),n!=null&&(l.checked=n&&typeof n!="function"&&typeof n!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+gt(c):l.removeAttribute("name")}function Xf(l,t,e,a,n,u,i,c){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(l.type=u),t!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){fi(l);return}e=e!=null?""+gt(e):"",t=t!=null?""+gt(t):e,c||t===l.value||(l.value=t),l.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=c?l.checked:!!a,l.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(l.name=i),fi(l)}function oi(l,t,e){t==="number"&&Ln(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function Ie(l,t,e,a){if(l=l.options,t){t={};for(var n=0;n<e.length;n++)t["$"+e[n]]=!0;for(e=0;e<l.length;e++)n=t.hasOwnProperty("$"+l[e].value),l[e].selected!==n&&(l[e].selected=n),n&&a&&(l[e].defaultSelected=!0)}else{for(e=""+gt(e),t=null,n=0;n<l.length;n++){if(l[n].value===e){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}t!==null||l[n].disabled||(t=l[n])}t!==null&&(t.selected=!0)}}function Zf(l,t,e){if(t!=null&&(t=""+gt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+gt(e):""}function Vf(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(s(92));if($l(a)){if(1<a.length)throw Error(s(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=gt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),fi(l)}function Pe(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var vm=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 Kf(l,t,e){var a=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":a?l.setProperty(t,e):typeof e!="number"||e===0||vm.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function kf(l,t,e){if(t!=null&&typeof t!="object")throw Error(s(62));if(l=l.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&e[n]!==a&&Kf(l,n,a)}else for(var u in t)t.hasOwnProperty(u)&&Kf(l,u,t[u])}function ri(l){if(l.indexOf("-")===-1)return!1;switch(l){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 gm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),bm=/^[\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 wn(l){return bm.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Bt(){}var di=null;function mi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var la=null,ta=null;function Jf(l){var t=$e(l);if(t&&(l=t.stateNode)){var e=l[Pl]||null;l:switch(l=t.stateNode,t.type){case"input":if(si(l,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=l;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+bt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var n=a[Pl]||null;if(!n)throw Error(s(90));si(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&Qf(a)}break l;case"textarea":Zf(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&Ie(l,!!e.multiple,t,!1)}}}var hi=!1;function $f(l,t,e){if(hi)return l(t,e);hi=!0;try{var a=l(t);return a}finally{if(hi=!1,(la!==null||ta!==null)&&(Eu(),la&&(t=la,l=ta,ta=la=null,Jf(t),l)))for(t=0;t<l.length;t++)Jf(l[t])}}function wa(l,t){var e=l.stateNode;if(e===null)return null;var a=e[Pl]||null;if(a===null)return null;e=a[t];l:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(e&&typeof e!="function")throw Error(s(231,t,typeof e));return e}var qt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yi=!1;if(qt)try{var Ga={};Object.defineProperty(Ga,"passive",{get:function(){yi=!0}}),window.addEventListener("test",Ga,Ga),window.removeEventListener("test",Ga,Ga)}catch{yi=!1}var ee=null,vi=null,Gn=null;function Wf(){if(Gn)return Gn;var l,t=vi,e=t.length,a,n="value"in ee?ee.value:ee.textContent,u=n.length;for(l=0;l<e&&t[l]===n[l];l++);var i=e-l;for(a=1;a<=i&&t[e-a]===n[u-a];a++);return Gn=n.slice(l,1<a?1-a:void 0)}function Qn(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}function Xn(){return!0}function Ff(){return!1}function lt(l){function t(e,a,n,u,i){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var c in l)l.hasOwnProperty(c)&&(e=l[c],this[c]=e?e(u):u[c]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Xn:Ff,this.isPropagationStopped=Ff,this}return _(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=Xn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Xn)},persist:function(){},isPersistent:Xn}),t}var Oe={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zn=lt(Oe),Qa=_({},Oe,{view:0,detail:0}),pm=lt(Qa),gi,bi,Xa,Vn=_({},Qa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xi,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Xa&&(Xa&&l.type==="mousemove"?(gi=l.screenX-Xa.screenX,bi=l.screenY-Xa.screenY):bi=gi=0,Xa=l),gi)},movementY:function(l){return"movementY"in l?l.movementY:bi}}),If=lt(Vn),xm=_({},Vn,{dataTransfer:0}),Sm=lt(xm),Nm=_({},Qa,{relatedTarget:0}),pi=lt(Nm),jm=_({},Oe,{animationName:0,elapsedTime:0,pseudoElement:0}),Tm=lt(jm),zm=_({},Oe,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),Am=lt(zm),Em=_({},Oe,{data:0}),Pf=lt(Em),_m={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mm={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"},Dm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Om(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=Dm[l])?!!t[l]:!1}function xi(){return Om}var Um=_({},Qa,{key:function(l){if(l.key){var t=_m[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Qn(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?Mm[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xi,charCode:function(l){return l.type==="keypress"?Qn(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Qn(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),Cm=lt(Um),Hm=_({},Vn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ls=lt(Hm),Rm=_({},Qa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xi}),Bm=lt(Rm),qm=_({},Oe,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ym=lt(qm),Lm=_({},Vn,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),wm=lt(Lm),Gm=_({},Oe,{newState:0,oldState:0}),Qm=lt(Gm),Xm=[9,13,27,32],Si=qt&&"CompositionEvent"in window,Za=null;qt&&"documentMode"in document&&(Za=document.documentMode);var Zm=qt&&"TextEvent"in window&&!Za,ts=qt&&(!Si||Za&&8<Za&&11>=Za),es=" ",as=!1;function ns(l,t){switch(l){case"keyup":return Xm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function us(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ea=!1;function Vm(l,t){switch(l){case"compositionend":return us(t);case"keypress":return t.which!==32?null:(as=!0,es);case"textInput":return l=t.data,l===es&&as?null:l;default:return null}}function Km(l,t){if(ea)return l==="compositionend"||!Si&&ns(l,t)?(l=Wf(),Gn=vi=ee=null,ea=!1,l):null;switch(l){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 ts&&t.locale!=="ko"?null:t.data;default:return null}}var km={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 is(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!km[l.type]:t==="textarea"}function cs(l,t,e,a){la?ta?ta.push(a):ta=[a]:la=a,t=Hu(t,"onChange"),0<t.length&&(e=new Zn("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var Va=null,Ka=null;function Jm(l){Zr(l,0)}function Kn(l){var t=La(l);if(Qf(t))return l}function fs(l,t){if(l==="change")return t}var ss=!1;if(qt){var Ni;if(qt){var ji="oninput"in document;if(!ji){var os=document.createElement("div");os.setAttribute("oninput","return;"),ji=typeof os.oninput=="function"}Ni=ji}else Ni=!1;ss=Ni&&(!document.documentMode||9<document.documentMode)}function rs(){Va&&(Va.detachEvent("onpropertychange",ds),Ka=Va=null)}function ds(l){if(l.propertyName==="value"&&Kn(Ka)){var t=[];cs(t,Ka,l,mi(l)),$f(Jm,t)}}function $m(l,t,e){l==="focusin"?(rs(),Va=t,Ka=e,Va.attachEvent("onpropertychange",ds)):l==="focusout"&&rs()}function Wm(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Kn(Ka)}function Fm(l,t){if(l==="click")return Kn(t)}function Im(l,t){if(l==="input"||l==="change")return Kn(t)}function Pm(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var ot=typeof Object.is=="function"?Object.is:Pm;function ka(l,t){if(ot(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var e=Object.keys(l),a=Object.keys(t);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var n=e[a];if(!li.call(t,n)||!ot(l[n],t[n]))return!1}return!0}function ms(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function hs(l,t){var e=ms(l);l=0;for(var a;e;){if(e.nodeType===3){if(a=l+e.textContent.length,l<=t&&a>=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=ms(e)}}function ys(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?ys(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function vs(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Ln(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=Ln(l.document)}return t}function Ti(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var l0=qt&&"documentMode"in document&&11>=document.documentMode,aa=null,zi=null,Ja=null,Ai=!1;function gs(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Ai||aa==null||aa!==Ln(a)||(a=aa,"selectionStart"in a&&Ti(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ja&&ka(Ja,a)||(Ja=a,a=Hu(zi,"onSelect"),0<a.length&&(t=new Zn("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=aa)))}function Ue(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var na={animationend:Ue("Animation","AnimationEnd"),animationiteration:Ue("Animation","AnimationIteration"),animationstart:Ue("Animation","AnimationStart"),transitionrun:Ue("Transition","TransitionRun"),transitionstart:Ue("Transition","TransitionStart"),transitioncancel:Ue("Transition","TransitionCancel"),transitionend:Ue("Transition","TransitionEnd")},Ei={},bs={};qt&&(bs=document.createElement("div").style,"AnimationEvent"in window||(delete na.animationend.animation,delete na.animationiteration.animation,delete na.animationstart.animation),"TransitionEvent"in window||delete na.transitionend.transition);function Ce(l){if(Ei[l])return Ei[l];if(!na[l])return l;var t=na[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in bs)return Ei[l]=t[e];return l}var ps=Ce("animationend"),xs=Ce("animationiteration"),Ss=Ce("animationstart"),t0=Ce("transitionrun"),e0=Ce("transitionstart"),a0=Ce("transitioncancel"),Ns=Ce("transitionend"),js=new Map,_i="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(" ");_i.push("scrollEnd");function _t(l,t){js.set(l,t),De(t,[l])}var kn=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},pt=[],ua=0,Mi=0;function Jn(){for(var l=ua,t=Mi=ua=0;t<l;){var e=pt[t];pt[t++]=null;var a=pt[t];pt[t++]=null;var n=pt[t];pt[t++]=null;var u=pt[t];if(pt[t++]=null,a!==null&&n!==null){var i=a.pending;i===null?n.next=n:(n.next=i.next,i.next=n),a.pending=n}u!==0&&Ts(e,n,u)}}function $n(l,t,e,a){pt[ua++]=l,pt[ua++]=t,pt[ua++]=e,pt[ua++]=a,Mi|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Di(l,t,e,a){return $n(l,t,e,a),Wn(l)}function He(l,t){return $n(l,null,null,t),Wn(l)}function Ts(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=l.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(l=u.stateNode,l===null||l._visibility&1||(n=!0)),l=u,u=u.return;return l.tag===3?(u=l.stateNode,n&&t!==null&&(n=31-st(e),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[t]:a.push(t),t.lane=e|536870912),u):null}function Wn(l){if(50<gn)throw gn=0,Lc=null,Error(s(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var ia={};function n0(l,t,e,a){this.tag=l,this.key=e,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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rt(l,t,e,a){return new n0(l,t,e,a)}function Oi(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Yt(l,t){var e=l.alternate;return e===null?(e=rt(l.tag,t,l.key,l.mode),e.elementType=l.elementType,e.type=l.type,e.stateNode=l.stateNode,e.alternate=l,l.alternate=e):(e.pendingProps=t,e.type=l.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=l.flags&65011712,e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=l.sibling,e.index=l.index,e.ref=l.ref,e.refCleanup=l.refCleanup,e}function zs(l,t){l.flags&=65011714;var e=l.alternate;return e===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.type=e.type,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function Fn(l,t,e,a,n,u){var i=0;if(a=l,typeof l=="function")Oi(l)&&(i=1);else if(typeof l=="string")i=sh(l,e,R.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case Il:return l=rt(31,e,t,n),l.elementType=Il,l.lanes=u,l;case Nl:return Re(e.children,n,u,t);case Sl:i=8,n|=24;break;case _l:return l=rt(12,e,t,n|2),l.elementType=_l,l.lanes=u,l;case Kl:return l=rt(13,e,t,n),l.elementType=Kl,l.lanes=u,l;case Rl:return l=rt(19,e,t,n),l.elementType=Rl,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case yl:i=10;break l;case Vl:i=9;break l;case Ml:i=11;break l;case W:i=14;break l;case Dl:i=16,a=null;break l}i=29,e=Error(s(130,l===null?"null":typeof l,"")),a=null}return t=rt(i,e,t,n),t.elementType=l,t.type=a,t.lanes=u,t}function Re(l,t,e,a){return l=rt(7,l,a,t),l.lanes=e,l}function Ui(l,t,e){return l=rt(6,l,null,t),l.lanes=e,l}function As(l){var t=rt(18,null,null,0);return t.stateNode=l,t}function Ci(l,t,e){return t=rt(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var Es=new WeakMap;function xt(l,t){if(typeof l=="object"&&l!==null){var e=Es.get(l);return e!==void 0?e:(t={value:l,source:t,stack:Af(t)},Es.set(l,t),t)}return{value:l,source:t,stack:Af(t)}}var ca=[],fa=0,In=null,$a=0,St=[],Nt=0,ae=null,Ot=1,Ut="";function Lt(l,t){ca[fa++]=$a,ca[fa++]=In,In=l,$a=t}function _s(l,t,e){St[Nt++]=Ot,St[Nt++]=Ut,St[Nt++]=ae,ae=l;var a=Ot;l=Ut;var n=32-st(a)-1;a&=~(1<<n),e+=1;var u=32-st(t)+n;if(30<u){var i=n-n%5;u=(a&(1<<i)-1).toString(32),a>>=i,n-=i,Ot=1<<32-st(t)+n|e<<n|a,Ut=u+l}else Ot=1<<u|e<<n|a,Ut=l}function Hi(l){l.return!==null&&(Lt(l,1),_s(l,1,0))}function Ri(l){for(;l===In;)In=ca[--fa],ca[fa]=null,$a=ca[--fa],ca[fa]=null;for(;l===ae;)ae=St[--Nt],St[Nt]=null,Ut=St[--Nt],St[Nt]=null,Ot=St[--Nt],St[Nt]=null}function Ms(l,t){St[Nt++]=Ot,St[Nt++]=Ut,St[Nt++]=ae,Ot=t.id,Ut=t.overflow,ae=l}var wl=null,bl=null,nl=!1,ne=null,jt=!1,Bi=Error(s(519));function ue(l){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Wa(xt(t,l)),Bi}function Ds(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Ll]=l,t[Pl]=a,e){case"dialog":ll("cancel",t),ll("close",t);break;case"iframe":case"object":case"embed":ll("load",t);break;case"video":case"audio":for(e=0;e<pn.length;e++)ll(pn[e],t);break;case"source":ll("error",t);break;case"img":case"image":case"link":ll("error",t),ll("load",t);break;case"details":ll("toggle",t);break;case"input":ll("invalid",t),Xf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ll("invalid",t);break;case"textarea":ll("invalid",t),Vf(t,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||Jr(t.textContent,e)?(a.popover!=null&&(ll("beforetoggle",t),ll("toggle",t)),a.onScroll!=null&&ll("scroll",t),a.onScrollEnd!=null&&ll("scrollend",t),a.onClick!=null&&(t.onclick=Bt),t=!0):t=!1,t||ue(l,!0)}function Os(l){for(wl=l.return;wl;)switch(wl.tag){case 5:case 31:case 13:jt=!1;return;case 27:case 3:jt=!0;return;default:wl=wl.return}}function sa(l){if(l!==wl)return!1;if(!nl)return Os(l),nl=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||lf(l.type,l.memoizedProps)),e=!e),e&&bl&&ue(l),Os(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(s(317));bl=ad(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(s(317));bl=ad(l)}else t===27?(t=bl,pe(l.type)?(l=uf,uf=null,bl=l):bl=t):bl=wl?zt(l.stateNode.nextSibling):null;return!0}function Be(){bl=wl=null,nl=!1}function qi(){var l=ne;return l!==null&&(nt===null?nt=l:nt.push.apply(nt,l),ne=null),l}function Wa(l){ne===null?ne=[l]:ne.push(l)}var Yi=m(null),qe=null,wt=null;function ie(l,t,e){O(Yi,t._currentValue),t._currentValue=e}function Gt(l){l._currentValue=Yi.current,T(Yi)}function Li(l,t,e){for(;l!==null;){var a=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),l===e)break;l=l.return}}function wi(l,t,e,a){var n=l.child;for(n!==null&&(n.return=l);n!==null;){var u=n.dependencies;if(u!==null){var i=n.child;u=u.firstContext;l:for(;u!==null;){var c=u;u=n;for(var o=0;o<t.length;o++)if(c.context===t[o]){u.lanes|=e,c=u.alternate,c!==null&&(c.lanes|=e),Li(u.return,e,l),a||(i=null);break l}u=c.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(s(341));i.lanes|=e,u=i.alternate,u!==null&&(u.lanes|=e),Li(i,e,l),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===l){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function oa(l,t,e,a){l=null;for(var n=t,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(s(387));if(i=i.memoizedProps,i!==null){var c=n.type;ot(n.pendingProps.value,i.value)||(l!==null?l.push(c):l=[c])}}else if(n===fl.current){if(i=n.alternate,i===null)throw Error(s(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Tn):l=[Tn])}n=n.return}l!==null&&wi(t,l,e,a),t.flags|=262144}function Pn(l){for(l=l.firstContext;l!==null;){if(!ot(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Ye(l){qe=l,wt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Gl(l){return Us(qe,l)}function lu(l,t){return qe===null&&Ye(l),Us(l,t)}function Us(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},wt===null){if(l===null)throw Error(s(308));wt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else wt=wt.next=t;return e}var u0=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(e,a){l.push(a)}};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},i0=r.unstable_scheduleCallback,c0=r.unstable_NormalPriority,Ol={$$typeof:yl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Gi(){return{controller:new u0,data:new Map,refCount:0}}function Fa(l){l.refCount--,l.refCount===0&&i0(c0,function(){l.controller.abort()})}var Ia=null,Qi=0,ra=0,da=null;function f0(l,t){if(Ia===null){var e=Ia=[];Qi=0,ra=Vc(),da={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Qi++,t.then(Cs,Cs),t}function Cs(){if(--Qi===0&&Ia!==null){da!==null&&(da.status="fulfilled");var l=Ia;Ia=null,ra=0,da=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function s0(l,t){var e=[],a={status:"pending",value:null,reason:null,then:function(n){e.push(n)}};return l.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<e.length;n++)(0,e[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}var Hs=S.S;S.S=function(l,t){br=ct(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&f0(l,t),Hs!==null&&Hs(l,t)};var Le=m(null);function Xi(){var l=Le.current;return l!==null?l:gl.pooledCache}function tu(l,t){t===null?O(Le,Le.current):O(Le,t.pool)}function Rs(){var l=Xi();return l===null?null:{parent:Ol._currentValue,pool:l}}var ma=Error(s(460)),Zi=Error(s(474)),eu=Error(s(542)),au={then:function(){}};function Bs(l){return l=l.status,l==="fulfilled"||l==="rejected"}function qs(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(Bt,Bt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Ls(l),l;default:if(typeof t.status=="string")t.then(Bt,Bt);else{if(l=gl,l!==null&&100<l.shellSuspendCounter)throw Error(s(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Ls(l),l}throw Ge=t,ma}}function we(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ge=e,ma):e}}var Ge=null;function Ys(){if(Ge===null)throw Error(s(459));var l=Ge;return Ge=null,l}function Ls(l){if(l===ma||l===eu)throw Error(s(483))}var ha=null,Pa=0;function nu(l){var t=Pa;return Pa+=1,ha===null&&(ha=[]),qs(ha,l,t)}function ln(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function uu(l,t){throw t.$$typeof===X?Error(s(525)):(l=Object.prototype.toString.call(t),Error(s(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function ws(l){function t(h,d){if(l){var y=h.deletions;y===null?(h.deletions=[d],h.flags|=16):y.push(d)}}function e(h,d){if(!l)return null;for(;d!==null;)t(h,d),d=d.sibling;return null}function a(h){for(var d=new Map;h!==null;)h.key!==null?d.set(h.key,h):d.set(h.index,h),h=h.sibling;return d}function n(h,d){return h=Yt(h,d),h.index=0,h.sibling=null,h}function u(h,d,y){return h.index=y,l?(y=h.alternate,y!==null?(y=y.index,y<d?(h.flags|=67108866,d):y):(h.flags|=67108866,d)):(h.flags|=1048576,d)}function i(h){return l&&h.alternate===null&&(h.flags|=67108866),h}function c(h,d,y,N){return d===null||d.tag!==6?(d=Ui(y,h.mode,N),d.return=h,d):(d=n(d,y),d.return=h,d)}function o(h,d,y,N){var L=y.type;return L===Nl?x(h,d,y.props.children,N,y.key):d!==null&&(d.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===Dl&&we(L)===d.type)?(d=n(d,y.props),ln(d,y),d.return=h,d):(d=Fn(y.type,y.key,y.props,null,h.mode,N),ln(d,y),d.return=h,d)}function v(h,d,y,N){return d===null||d.tag!==4||d.stateNode.containerInfo!==y.containerInfo||d.stateNode.implementation!==y.implementation?(d=Ci(y,h.mode,N),d.return=h,d):(d=n(d,y.children||[]),d.return=h,d)}function x(h,d,y,N,L){return d===null||d.tag!==7?(d=Re(y,h.mode,N,L),d.return=h,d):(d=n(d,y),d.return=h,d)}function j(h,d,y){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Ui(""+d,h.mode,y),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Z:return y=Fn(d.type,d.key,d.props,null,h.mode,y),ln(y,d),y.return=h,y;case tl:return d=Ci(d,h.mode,y),d.return=h,d;case Dl:return d=we(d),j(h,d,y)}if($l(d)||G(d))return d=Re(d,h.mode,y,null),d.return=h,d;if(typeof d.then=="function")return j(h,nu(d),y);if(d.$$typeof===yl)return j(h,lu(h,d),y);uu(h,d)}return null}function g(h,d,y,N){var L=d!==null?d.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return L!==null?null:c(h,d,""+y,N);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Z:return y.key===L?o(h,d,y,N):null;case tl:return y.key===L?v(h,d,y,N):null;case Dl:return y=we(y),g(h,d,y,N)}if($l(y)||G(y))return L!==null?null:x(h,d,y,N,null);if(typeof y.then=="function")return g(h,d,nu(y),N);if(y.$$typeof===yl)return g(h,d,lu(h,y),N);uu(h,y)}return null}function b(h,d,y,N,L){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return h=h.get(y)||null,c(d,h,""+N,L);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Z:return h=h.get(N.key===null?y:N.key)||null,o(d,h,N,L);case tl:return h=h.get(N.key===null?y:N.key)||null,v(d,h,N,L);case Dl:return N=we(N),b(h,d,y,N,L)}if($l(N)||G(N))return h=h.get(y)||null,x(d,h,N,L,null);if(typeof N.then=="function")return b(h,d,y,nu(N),L);if(N.$$typeof===yl)return b(h,d,y,lu(d,N),L);uu(d,N)}return null}function C(h,d,y,N){for(var L=null,ul=null,B=d,J=d=0,al=null;B!==null&&J<y.length;J++){B.index>J?(al=B,B=null):al=B.sibling;var il=g(h,B,y[J],N);if(il===null){B===null&&(B=al);break}l&&B&&il.alternate===null&&t(h,B),d=u(il,d,J),ul===null?L=il:ul.sibling=il,ul=il,B=al}if(J===y.length)return e(h,B),nl&&Lt(h,J),L;if(B===null){for(;J<y.length;J++)B=j(h,y[J],N),B!==null&&(d=u(B,d,J),ul===null?L=B:ul.sibling=B,ul=B);return nl&&Lt(h,J),L}for(B=a(B);J<y.length;J++)al=b(B,h,J,y[J],N),al!==null&&(l&&al.alternate!==null&&B.delete(al.key===null?J:al.key),d=u(al,d,J),ul===null?L=al:ul.sibling=al,ul=al);return l&&B.forEach(function(Te){return t(h,Te)}),nl&&Lt(h,J),L}function w(h,d,y,N){if(y==null)throw Error(s(151));for(var L=null,ul=null,B=d,J=d=0,al=null,il=y.next();B!==null&&!il.done;J++,il=y.next()){B.index>J?(al=B,B=null):al=B.sibling;var Te=g(h,B,il.value,N);if(Te===null){B===null&&(B=al);break}l&&B&&Te.alternate===null&&t(h,B),d=u(Te,d,J),ul===null?L=Te:ul.sibling=Te,ul=Te,B=al}if(il.done)return e(h,B),nl&&Lt(h,J),L;if(B===null){for(;!il.done;J++,il=y.next())il=j(h,il.value,N),il!==null&&(d=u(il,d,J),ul===null?L=il:ul.sibling=il,ul=il);return nl&&Lt(h,J),L}for(B=a(B);!il.done;J++,il=y.next())il=b(B,h,J,il.value,N),il!==null&&(l&&il.alternate!==null&&B.delete(il.key===null?J:il.key),d=u(il,d,J),ul===null?L=il:ul.sibling=il,ul=il);return l&&B.forEach(function(xh){return t(h,xh)}),nl&&Lt(h,J),L}function hl(h,d,y,N){if(typeof y=="object"&&y!==null&&y.type===Nl&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Z:l:{for(var L=y.key;d!==null;){if(d.key===L){if(L=y.type,L===Nl){if(d.tag===7){e(h,d.sibling),N=n(d,y.props.children),N.return=h,h=N;break l}}else if(d.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===Dl&&we(L)===d.type){e(h,d.sibling),N=n(d,y.props),ln(N,y),N.return=h,h=N;break l}e(h,d);break}else t(h,d);d=d.sibling}y.type===Nl?(N=Re(y.props.children,h.mode,N,y.key),N.return=h,h=N):(N=Fn(y.type,y.key,y.props,null,h.mode,N),ln(N,y),N.return=h,h=N)}return i(h);case tl:l:{for(L=y.key;d!==null;){if(d.key===L)if(d.tag===4&&d.stateNode.containerInfo===y.containerInfo&&d.stateNode.implementation===y.implementation){e(h,d.sibling),N=n(d,y.children||[]),N.return=h,h=N;break l}else{e(h,d);break}else t(h,d);d=d.sibling}N=Ci(y,h.mode,N),N.return=h,h=N}return i(h);case Dl:return y=we(y),hl(h,d,y,N)}if($l(y))return C(h,d,y,N);if(G(y)){if(L=G(y),typeof L!="function")throw Error(s(150));return y=L.call(y),w(h,d,y,N)}if(typeof y.then=="function")return hl(h,d,nu(y),N);if(y.$$typeof===yl)return hl(h,d,lu(h,y),N);uu(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,d!==null&&d.tag===6?(e(h,d.sibling),N=n(d,y),N.return=h,h=N):(e(h,d),N=Ui(y,h.mode,N),N.return=h,h=N),i(h)):e(h,d)}return function(h,d,y,N){try{Pa=0;var L=hl(h,d,y,N);return ha=null,L}catch(B){if(B===ma||B===eu)throw B;var ul=rt(29,B,null,h.mode);return ul.lanes=N,ul.return=h,ul}finally{}}}var Qe=ws(!0),Gs=ws(!1),ce=!1;function Vi(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ki(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function fe(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function se(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(cl&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Wn(l),Ts(l,null,e),t}return $n(l,a,t,e),Wn(l)}function tn(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Uf(l,e)}}function ki(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,e=e.next}while(e!==null);u===null?n=u=t:u=u.next=t}else n=u=t;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}var Ji=!1;function en(){if(Ji){var l=da;if(l!==null)throw l}}function an(l,t,e,a){Ji=!1;var n=l.updateQueue;ce=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,c=n.shared.pending;if(c!==null){n.shared.pending=null;var o=c,v=o.next;o.next=null,i===null?u=v:i.next=v,i=o;var x=l.alternate;x!==null&&(x=x.updateQueue,c=x.lastBaseUpdate,c!==i&&(c===null?x.firstBaseUpdate=v:c.next=v,x.lastBaseUpdate=o))}if(u!==null){var j=n.baseState;i=0,x=v=o=null,c=u;do{var g=c.lane&-536870913,b=g!==c.lane;if(b?(el&g)===g:(a&g)===g){g!==0&&g===ra&&(Ji=!0),x!==null&&(x=x.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var C=l,w=c;g=t;var hl=e;switch(w.tag){case 1:if(C=w.payload,typeof C=="function"){j=C.call(hl,j,g);break l}j=C;break l;case 3:C.flags=C.flags&-65537|128;case 0:if(C=w.payload,g=typeof C=="function"?C.call(hl,j,g):C,g==null)break l;j=_({},j,g);break l;case 2:ce=!0}}g=c.callback,g!==null&&(l.flags|=64,b&&(l.flags|=8192),b=n.callbacks,b===null?n.callbacks=[g]:b.push(g))}else b={lane:g,tag:c.tag,payload:c.payload,callback:c.callback,next:null},x===null?(v=x=b,o=j):x=x.next=b,i|=g;if(c=c.next,c===null){if(c=n.shared.pending,c===null)break;b=c,c=b.next,b.next=null,n.lastBaseUpdate=b,n.shared.pending=null}}while(!0);x===null&&(o=j),n.baseState=o,n.firstBaseUpdate=v,n.lastBaseUpdate=x,u===null&&(n.shared.lanes=0),he|=i,l.lanes=i,l.memoizedState=j}}function Qs(l,t){if(typeof l!="function")throw Error(s(191,l));l.call(t)}function Xs(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)Qs(e[l],t)}var ya=m(null),iu=m(0);function Zs(l,t){l=Wt,O(iu,l),O(ya,t),Wt=l|t.baseLanes}function $i(){O(iu,Wt),O(ya,ya.current)}function Wi(){Wt=iu.current,T(ya),T(iu)}var dt=m(null),Tt=null;function oe(l){var t=l.alternate;O(Al,Al.current&1),O(dt,l),Tt===null&&(t===null||ya.current!==null||t.memoizedState!==null)&&(Tt=l)}function Fi(l){O(Al,Al.current),O(dt,l),Tt===null&&(Tt=l)}function Vs(l){l.tag===22?(O(Al,Al.current),O(dt,l),Tt===null&&(Tt=l)):re()}function re(){O(Al,Al.current),O(dt,dt.current)}function mt(l){T(dt),Tt===l&&(Tt=null),T(Al)}var Al=m(0);function cu(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||af(e)||nf(e)))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===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Qt=0,k=null,dl=null,Ul=null,fu=!1,va=!1,Xe=!1,su=0,nn=0,ga=null,o0=0;function jl(){throw Error(s(321))}function Ii(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!ot(l[e],t[e]))return!1;return!0}function Pi(l,t,e,a,n,u){return Qt=u,k=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,S.H=l===null||l.memoizedState===null?Mo:hc,Xe=!1,u=e(a,n),Xe=!1,va&&(u=ks(t,e,a,n)),Ks(l),u}function Ks(l){S.H=fn;var t=dl!==null&&dl.next!==null;if(Qt=0,Ul=dl=k=null,fu=!1,nn=0,ga=null,t)throw Error(s(300));l===null||Cl||(l=l.dependencies,l!==null&&Pn(l)&&(Cl=!0))}function ks(l,t,e,a){k=l;var n=0;do{if(va&&(ga=null),nn=0,va=!1,25<=n)throw Error(s(301));if(n+=1,Ul=dl=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}S.H=Do,u=t(e,a)}while(va);return u}function r0(){var l=S.H,t=l.useState()[0];return t=typeof t.then=="function"?un(t):t,l=l.useState()[0],(dl!==null?dl.memoizedState:null)!==l&&(k.flags|=1024),t}function lc(){var l=su!==0;return su=0,l}function tc(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function ec(l){if(fu){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}fu=!1}Qt=0,Ul=dl=k=null,va=!1,nn=su=0,ga=null}function Fl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ul===null?k.memoizedState=Ul=l:Ul=Ul.next=l,Ul}function El(){if(dl===null){var l=k.alternate;l=l!==null?l.memoizedState:null}else l=dl.next;var t=Ul===null?k.memoizedState:Ul.next;if(t!==null)Ul=t,dl=l;else{if(l===null)throw k.alternate===null?Error(s(467)):Error(s(310));dl=l,l={memoizedState:dl.memoizedState,baseState:dl.baseState,baseQueue:dl.baseQueue,queue:dl.queue,next:null},Ul===null?k.memoizedState=Ul=l:Ul=Ul.next=l}return Ul}function ou(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function un(l){var t=nn;return nn+=1,ga===null&&(ga=[]),l=qs(ga,l,t),t=k,(Ul===null?t.memoizedState:Ul.next)===null&&(t=t.alternate,S.H=t===null||t.memoizedState===null?Mo:hc),l}function ru(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return un(l);if(l.$$typeof===yl)return Gl(l)}throw Error(s(438,String(l)))}function ac(l){var t=null,e=k.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=k.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=ou(),k.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(l),a=0;a<l;a++)e[a]=Et;return t.index++,e}function Xt(l,t){return typeof t=="function"?t(l):t}function du(l){var t=El();return nc(t,dl,l)}function nc(l,t,e){var a=l.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=e;var n=l.baseQueue,u=a.pending;if(u!==null){if(n!==null){var i=n.next;n.next=u.next,u.next=i}t.baseQueue=n=u,a.pending=null}if(u=l.baseState,n===null)l.memoizedState=u;else{t=n.next;var c=i=null,o=null,v=t,x=!1;do{var j=v.lane&-536870913;if(j!==v.lane?(el&j)===j:(Qt&j)===j){var g=v.revertLane;if(g===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),j===ra&&(x=!0);else if((Qt&g)===g){v=v.next,g===ra&&(x=!0);continue}else j={lane:0,revertLane:v.revertLane,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},o===null?(c=o=j,i=u):o=o.next=j,k.lanes|=g,he|=g;j=v.action,Xe&&e(u,j),u=v.hasEagerState?v.eagerState:e(u,j)}else g={lane:j,revertLane:v.revertLane,gesture:v.gesture,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},o===null?(c=o=g,i=u):o=o.next=g,k.lanes|=j,he|=j;v=v.next}while(v!==null&&v!==t);if(o===null?i=u:o.next=c,!ot(u,l.memoizedState)&&(Cl=!0,x&&(e=da,e!==null)))throw e;l.memoizedState=u,l.baseState=i,l.baseQueue=o,a.lastRenderedState=u}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function uc(l){var t=El(),e=t.queue;if(e===null)throw Error(s(311));e.lastRenderedReducer=l;var a=e.dispatch,n=e.pending,u=t.memoizedState;if(n!==null){e.pending=null;var i=n=n.next;do u=l(u,i.action),i=i.next;while(i!==n);ot(u,t.memoizedState)||(Cl=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),e.lastRenderedState=u}return[u,a]}function Js(l,t,e){var a=k,n=El(),u=nl;if(u){if(e===void 0)throw Error(s(407));e=e()}else e=t();var i=!ot((dl||n).memoizedState,e);if(i&&(n.memoizedState=e,Cl=!0),n=n.queue,fc(Fs.bind(null,a,n,l),[l]),n.getSnapshot!==t||i||Ul!==null&&Ul.memoizedState.tag&1){if(a.flags|=2048,ba(9,{destroy:void 0},Ws.bind(null,a,n,e,t),null),gl===null)throw Error(s(349));u||(Qt&127)!==0||$s(a,t,e)}return e}function $s(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=k.updateQueue,t===null?(t=ou(),k.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Ws(l,t,e,a){t.value=e,t.getSnapshot=a,Is(t)&&Ps(l)}function Fs(l,t,e){return e(function(){Is(t)&&Ps(l)})}function Is(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!ot(l,e)}catch{return!0}}function Ps(l){var t=He(l,2);t!==null&&ut(t,l,2)}function ic(l){var t=Fl();if(typeof l=="function"){var e=l;if(l=e(),Xe){le(!0);try{e()}finally{le(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:l},t}function lo(l,t,e,a){return l.baseState=e,nc(l,dl,typeof a=="function"?a:Xt)}function d0(l,t,e,a,n){if(yu(l))throw Error(s(485));if(l=t.action,l!==null){var u={payload:n,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){u.listeners.push(i)}};S.T!==null?e(!0):u.isTransition=!1,a(u),e=t.pending,e===null?(u.next=t.pending=u,to(t,u)):(u.next=e.next,t.pending=e.next=u)}}function to(l,t){var e=t.action,a=t.payload,n=l.state;if(t.isTransition){var u=S.T,i={};S.T=i;try{var c=e(n,a),o=S.S;o!==null&&o(i,c),eo(l,t,c)}catch(v){cc(l,t,v)}finally{u!==null&&i.types!==null&&(u.types=i.types),S.T=u}}else try{u=e(n,a),eo(l,t,u)}catch(v){cc(l,t,v)}}function eo(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){ao(l,t,a)},function(a){return cc(l,t,a)}):ao(l,t,e)}function ao(l,t,e){t.status="fulfilled",t.value=e,no(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,to(l,e)))}function cc(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,no(t),t=t.next;while(t!==a)}l.action=null}function no(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function uo(l,t){return t}function io(l,t){if(nl){var e=gl.formState;if(e!==null){l:{var a=k;if(nl){if(bl){t:{for(var n=bl,u=jt;n.nodeType!==8;){if(!u){n=null;break t}if(n=zt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){bl=zt(n.nextSibling),a=n.data==="F!";break l}}ue(a)}a=!1}a&&(t=e[0])}}return e=Fl(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:uo,lastRenderedState:t},e.queue=a,e=Ao.bind(null,k,a),a.dispatch=e,a=ic(!1),u=mc.bind(null,k,!1,a.queue),a=Fl(),n={state:t,dispatch:null,action:l,pending:null},a.queue=n,e=d0.bind(null,k,n,u,e),n.dispatch=e,a.memoizedState=l,[t,e,!1]}function co(l){var t=El();return fo(t,dl,l)}function fo(l,t,e){if(t=nc(l,t,uo)[0],l=du(Xt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=un(t)}catch(i){throw i===ma?eu:i}else a=t;t=El();var n=t.queue,u=n.dispatch;return e!==t.memoizedState&&(k.flags|=2048,ba(9,{destroy:void 0},m0.bind(null,n,e),null)),[a,u,l]}function m0(l,t){l.action=t}function so(l){var t=El(),e=dl;if(e!==null)return fo(t,e,l);El(),t=t.memoizedState,e=El();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function ba(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=k.updateQueue,t===null&&(t=ou(),k.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=l.next=l:(a=e.next,e.next=l,l.next=a,t.lastEffect=l),l}function oo(){return El().memoizedState}function mu(l,t,e,a){var n=Fl();k.flags|=l,n.memoizedState=ba(1|t,{destroy:void 0},e,a===void 0?null:a)}function hu(l,t,e,a){var n=El();a=a===void 0?null:a;var u=n.memoizedState.inst;dl!==null&&a!==null&&Ii(a,dl.memoizedState.deps)?n.memoizedState=ba(t,u,e,a):(k.flags|=l,n.memoizedState=ba(1|t,u,e,a))}function ro(l,t){mu(8390656,8,l,t)}function fc(l,t){hu(2048,8,l,t)}function h0(l){k.flags|=4;var t=k.updateQueue;if(t===null)t=ou(),k.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function mo(l){var t=El().memoizedState;return h0({ref:t,nextImpl:l}),function(){if((cl&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function ho(l,t){return hu(4,2,l,t)}function yo(l,t){return hu(4,4,l,t)}function vo(l,t){if(typeof t=="function"){l=l();var e=t(l);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function go(l,t,e){e=e!=null?e.concat([l]):null,hu(4,4,vo.bind(null,t,l),e)}function sc(){}function bo(l,t){var e=El();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Ii(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function po(l,t){var e=El();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Ii(t,a[1]))return a[0];if(a=l(),Xe){le(!0);try{l()}finally{le(!1)}}return e.memoizedState=[a,t],a}function oc(l,t,e){return e===void 0||(Qt&1073741824)!==0&&(el&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=xr(),k.lanes|=l,he|=l,e)}function xo(l,t,e,a){return ot(e,t)?e:ya.current!==null?(l=oc(l,e,a),ot(l,t)||(Cl=!0),l):(Qt&42)===0||(Qt&1073741824)!==0&&(el&261930)===0?(Cl=!0,l.memoizedState=e):(l=xr(),k.lanes|=l,he|=l,t)}function So(l,t,e,a,n){var u=D.p;D.p=u!==0&&8>u?u:8;var i=S.T,c={};S.T=c,mc(l,!1,t,e);try{var o=n(),v=S.S;if(v!==null&&v(c,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var x=s0(o,a);cn(l,t,x,vt(l))}else cn(l,t,a,vt(l))}catch(j){cn(l,t,{then:function(){},status:"rejected",reason:j},vt())}finally{D.p=u,i!==null&&c.types!==null&&(i.types=c.types),S.T=i}}function y0(){}function rc(l,t,e,a){if(l.tag!==5)throw Error(s(476));var n=No(l).queue;So(l,n,t,Q,e===null?y0:function(){return jo(l),e(a)})}function No(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:Q},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function jo(l){var t=No(l);t.next===null&&(t=l.alternate.memoizedState),cn(l,t.next.queue,{},vt())}function dc(){return Gl(Tn)}function To(){return El().memoizedState}function zo(){return El().memoizedState}function v0(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=vt();l=fe(e);var a=se(t,l,e);a!==null&&(ut(a,t,e),tn(a,t,e)),t={cache:Gi()},l.payload=t;return}t=t.return}}function g0(l,t,e){var a=vt();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},yu(l)?Eo(t,e):(e=Di(l,t,e,a),e!==null&&(ut(e,l,a),_o(e,t,a)))}function Ao(l,t,e){var a=vt();cn(l,t,e,a)}function cn(l,t,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(yu(l))Eo(t,n);else{var u=l.alternate;if(l.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var i=t.lastRenderedState,c=u(i,e);if(n.hasEagerState=!0,n.eagerState=c,ot(c,i))return $n(l,t,n,0),gl===null&&Jn(),!1}catch{}finally{}if(e=Di(l,t,n,a),e!==null)return ut(e,l,a),_o(e,t,a),!0}return!1}function mc(l,t,e,a){if(a={lane:2,revertLane:Vc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},yu(l)){if(t)throw Error(s(479))}else t=Di(l,e,a,2),t!==null&&ut(t,l,2)}function yu(l){var t=l.alternate;return l===k||t!==null&&t===k}function Eo(l,t){va=fu=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function _o(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Uf(l,e)}}var fn={readContext:Gl,use:ru,useCallback:jl,useContext:jl,useEffect:jl,useImperativeHandle:jl,useLayoutEffect:jl,useInsertionEffect:jl,useMemo:jl,useReducer:jl,useRef:jl,useState:jl,useDebugValue:jl,useDeferredValue:jl,useTransition:jl,useSyncExternalStore:jl,useId:jl,useHostTransitionStatus:jl,useFormState:jl,useActionState:jl,useOptimistic:jl,useMemoCache:jl,useCacheRefresh:jl};fn.useEffectEvent=jl;var Mo={readContext:Gl,use:ru,useCallback:function(l,t){return Fl().memoizedState=[l,t===void 0?null:t],l},useContext:Gl,useEffect:ro,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,mu(4194308,4,vo.bind(null,t,l),e)},useLayoutEffect:function(l,t){return mu(4194308,4,l,t)},useInsertionEffect:function(l,t){mu(4,2,l,t)},useMemo:function(l,t){var e=Fl();t=t===void 0?null:t;var a=l();if(Xe){le(!0);try{l()}finally{le(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=Fl();if(e!==void 0){var n=e(t);if(Xe){le(!0);try{e(t)}finally{le(!1)}}}else n=t;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=g0.bind(null,k,l),[a.memoizedState,l]},useRef:function(l){var t=Fl();return l={current:l},t.memoizedState=l},useState:function(l){l=ic(l);var t=l.queue,e=Ao.bind(null,k,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:sc,useDeferredValue:function(l,t){var e=Fl();return oc(e,l,t)},useTransition:function(){var l=ic(!1);return l=So.bind(null,k,l.queue,!0,!1),Fl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=k,n=Fl();if(nl){if(e===void 0)throw Error(s(407));e=e()}else{if(e=t(),gl===null)throw Error(s(349));(el&127)!==0||$s(a,t,e)}n.memoizedState=e;var u={value:e,getSnapshot:t};return n.queue=u,ro(Fs.bind(null,a,u,l),[l]),a.flags|=2048,ba(9,{destroy:void 0},Ws.bind(null,a,u,e,t),null),e},useId:function(){var l=Fl(),t=gl.identifierPrefix;if(nl){var e=Ut,a=Ot;e=(a&~(1<<32-st(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=su++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=o0++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:dc,useFormState:io,useActionState:io,useOptimistic:function(l){var t=Fl();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=mc.bind(null,k,!0,e),e.dispatch=t,[l,t]},useMemoCache:ac,useCacheRefresh:function(){return Fl().memoizedState=v0.bind(null,k)},useEffectEvent:function(l){var t=Fl(),e={impl:l};return t.memoizedState=e,function(){if((cl&2)!==0)throw Error(s(440));return e.impl.apply(void 0,arguments)}}},hc={readContext:Gl,use:ru,useCallback:bo,useContext:Gl,useEffect:fc,useImperativeHandle:go,useInsertionEffect:ho,useLayoutEffect:yo,useMemo:po,useReducer:du,useRef:oo,useState:function(){return du(Xt)},useDebugValue:sc,useDeferredValue:function(l,t){var e=El();return xo(e,dl.memoizedState,l,t)},useTransition:function(){var l=du(Xt)[0],t=El().memoizedState;return[typeof l=="boolean"?l:un(l),t]},useSyncExternalStore:Js,useId:To,useHostTransitionStatus:dc,useFormState:co,useActionState:co,useOptimistic:function(l,t){var e=El();return lo(e,dl,l,t)},useMemoCache:ac,useCacheRefresh:zo};hc.useEffectEvent=mo;var Do={readContext:Gl,use:ru,useCallback:bo,useContext:Gl,useEffect:fc,useImperativeHandle:go,useInsertionEffect:ho,useLayoutEffect:yo,useMemo:po,useReducer:uc,useRef:oo,useState:function(){return uc(Xt)},useDebugValue:sc,useDeferredValue:function(l,t){var e=El();return dl===null?oc(e,l,t):xo(e,dl.memoizedState,l,t)},useTransition:function(){var l=uc(Xt)[0],t=El().memoizedState;return[typeof l=="boolean"?l:un(l),t]},useSyncExternalStore:Js,useId:To,useHostTransitionStatus:dc,useFormState:so,useActionState:so,useOptimistic:function(l,t){var e=El();return dl!==null?lo(e,dl,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:ac,useCacheRefresh:zo};Do.useEffectEvent=mo;function yc(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:_({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var vc={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=vt(),n=fe(a);n.payload=t,e!=null&&(n.callback=e),t=se(l,n,a),t!==null&&(ut(t,l,a),tn(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=vt(),n=fe(a);n.tag=1,n.payload=t,e!=null&&(n.callback=e),t=se(l,n,a),t!==null&&(ut(t,l,a),tn(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=vt(),a=fe(e);a.tag=2,t!=null&&(a.callback=t),t=se(l,a,e),t!==null&&(ut(t,l,e),tn(t,l,e))}};function Oo(l,t,e,a,n,u,i){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,i):t.prototype&&t.prototype.isPureReactComponent?!ka(e,a)||!ka(n,u):!0}function Uo(l,t,e,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,a),t.state!==l&&vc.enqueueReplaceState(t,t.state,null)}function Ze(l,t){var e=t;if("ref"in t){e={};for(var a in t)a!=="ref"&&(e[a]=t[a])}if(l=l.defaultProps){e===t&&(e=_({},e));for(var n in l)e[n]===void 0&&(e[n]=l[n])}return e}function Co(l){kn(l)}function Ho(l){console.error(l)}function Ro(l){kn(l)}function vu(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Bo(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function gc(l,t,e){return e=fe(e),e.tag=3,e.payload={element:null},e.callback=function(){vu(l,t)},e}function qo(l){return l=fe(l),l.tag=3,l}function Yo(l,t,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;l.payload=function(){return n(u)},l.callback=function(){Bo(t,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(l.callback=function(){Bo(t,e,a),typeof n!="function"&&(ye===null?ye=new Set([this]):ye.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function b0(l,t,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&oa(t,e,n,!0),e=dt.current,e!==null){switch(e.tag){case 31:case 13:return Tt===null?_u():e.alternate===null&&Tl===0&&(Tl=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===au?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),Qc(l,a,n)),!1;case 22:return e.flags|=65536,a===au?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([a]):e.add(a)),Qc(l,a,n)),!1}throw Error(s(435,e.tag))}return Qc(l,a,n),_u(),!1}if(nl)return t=dt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==Bi&&(l=Error(s(422),{cause:a}),Wa(xt(l,e)))):(a!==Bi&&(t=Error(s(423),{cause:a}),Wa(xt(t,e))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=xt(a,e),n=gc(l.stateNode,a,n),ki(l,n),Tl!==4&&(Tl=2)),!1;var u=Error(s(520),{cause:a});if(u=xt(u,e),vn===null?vn=[u]:vn.push(u),Tl!==4&&(Tl=2),t===null)return!0;a=xt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=n&-n,e.lanes|=l,l=gc(e.stateNode,a,l),ki(e,l),!1;case 1:if(t=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(ye===null||!ye.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=qo(n),Yo(n,l,e,a),ki(e,n),!1}e=e.return}while(e!==null);return!1}var bc=Error(s(461)),Cl=!1;function Ql(l,t,e,a){t.child=l===null?Gs(t,null,e,a):Qe(t,l.child,e,a)}function Lo(l,t,e,a,n){e=e.render;var u=t.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return Ye(t),a=Pi(l,t,e,i,u,n),c=lc(),l!==null&&!Cl?(tc(l,t,n),Zt(l,t,n)):(nl&&c&&Hi(t),t.flags|=1,Ql(l,t,a,n),t.child)}function wo(l,t,e,a,n){if(l===null){var u=e.type;return typeof u=="function"&&!Oi(u)&&u.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=u,Go(l,t,u,a,n)):(l=Fn(e.type,null,a,t,t.mode,n),l.ref=t.ref,l.return=t,t.child=l)}if(u=l.child,!Ac(l,n)){var i=u.memoizedProps;if(e=e.compare,e=e!==null?e:ka,e(i,a)&&l.ref===t.ref)return Zt(l,t,n)}return t.flags|=1,l=Yt(u,a),l.ref=t.ref,l.return=t,t.child=l}function Go(l,t,e,a,n){if(l!==null){var u=l.memoizedProps;if(ka(u,a)&&l.ref===t.ref)if(Cl=!1,t.pendingProps=a=u,Ac(l,n))(l.flags&131072)!==0&&(Cl=!0);else return t.lanes=l.lanes,Zt(l,t,n)}return pc(l,t,e,a,n)}function Qo(l,t,e,a){var n=a.children,u=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|e:e,l!==null){for(a=t.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return Xo(l,t,u,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&tu(t,u!==null?u.cachePool:null),u!==null?Zs(t,u):$i(),Vs(t);else return a=t.lanes=536870912,Xo(l,t,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(tu(t,u.cachePool),Zs(t,u),re(),t.memoizedState=null):(l!==null&&tu(t,null),$i(),re());return Ql(l,t,n,e),t.child}function sn(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Xo(l,t,e,a,n){var u=Xi();return u=u===null?null:{parent:Ol._currentValue,pool:u},t.memoizedState={baseLanes:e,cachePool:u},l!==null&&tu(t,null),$i(),Vs(t),l!==null&&oa(l,t,a,!0),t.childLanes=n,null}function gu(l,t){return t=pu({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function Zo(l,t,e){return Qe(t,l.child,null,e),l=gu(t,t.pendingProps),l.flags|=2,mt(t),t.memoizedState=null,l}function p0(l,t,e){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(nl){if(a.mode==="hidden")return l=gu(t,a),t.lanes=536870912,sn(null,l);if(Fi(t),(l=bl)?(l=ed(l,jt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ae!==null?{id:Ot,overflow:Ut}:null,retryLane:536870912,hydrationErrors:null},e=As(l),e.return=t,t.child=e,wl=t,bl=null)):l=null,l===null)throw ue(t);return t.lanes=536870912,null}return gu(t,a)}var u=l.memoizedState;if(u!==null){var i=u.dehydrated;if(Fi(t),n)if(t.flags&256)t.flags&=-257,t=Zo(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(s(558));else if(Cl||oa(l,t,e,!1),n=(e&l.childLanes)!==0,Cl||n){if(a=gl,a!==null&&(i=Cf(a,e),i!==0&&i!==u.retryLane))throw u.retryLane=i,He(l,i),ut(a,l,i),bc;_u(),t=Zo(l,t,e)}else l=u.treeContext,bl=zt(i.nextSibling),wl=t,nl=!0,ne=null,jt=!1,l!==null&&Ms(t,l),t=gu(t,a),t.flags|=4096;return t}return l=Yt(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function bu(l,t){var e=t.ref;if(e===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(s(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function pc(l,t,e,a,n){return Ye(t),e=Pi(l,t,e,a,void 0,n),a=lc(),l!==null&&!Cl?(tc(l,t,n),Zt(l,t,n)):(nl&&a&&Hi(t),t.flags|=1,Ql(l,t,e,n),t.child)}function Vo(l,t,e,a,n,u){return Ye(t),t.updateQueue=null,e=ks(t,a,e,n),Ks(l),a=lc(),l!==null&&!Cl?(tc(l,t,u),Zt(l,t,u)):(nl&&a&&Hi(t),t.flags|=1,Ql(l,t,e,u),t.child)}function Ko(l,t,e,a,n){if(Ye(t),t.stateNode===null){var u=ia,i=e.contextType;typeof i=="object"&&i!==null&&(u=Gl(i)),u=new e(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=vc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Vi(t),i=e.contextType,u.context=typeof i=="object"&&i!==null?Gl(i):ia,u.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(yc(t,e,i,a),u.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(i=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),i!==u.state&&vc.enqueueReplaceState(u,u.state,null),an(t,a,u,n),en(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){u=t.stateNode;var c=t.memoizedProps,o=Ze(e,c);u.props=o;var v=u.context,x=e.contextType;i=ia,typeof x=="object"&&x!==null&&(i=Gl(x));var j=e.getDerivedStateFromProps;x=typeof j=="function"||typeof u.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,x||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c||v!==i)&&Uo(t,u,a,i),ce=!1;var g=t.memoizedState;u.state=g,an(t,a,u,n),en(),v=t.memoizedState,c||g!==v||ce?(typeof j=="function"&&(yc(t,e,j,a),v=t.memoizedState),(o=ce||Oo(t,e,o,a,g,v,i))?(x||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=a,t.memoizedState=v),u.props=a,u.state=v,u.context=i,a=o):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Ki(l,t),i=t.memoizedProps,x=Ze(e,i),u.props=x,j=t.pendingProps,g=u.context,v=e.contextType,o=ia,typeof v=="object"&&v!==null&&(o=Gl(v)),c=e.getDerivedStateFromProps,(v=typeof c=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==j||g!==o)&&Uo(t,u,a,o),ce=!1,g=t.memoizedState,u.state=g,an(t,a,u,n),en();var b=t.memoizedState;i!==j||g!==b||ce||l!==null&&l.dependencies!==null&&Pn(l.dependencies)?(typeof c=="function"&&(yc(t,e,c,a),b=t.memoizedState),(x=ce||Oo(t,e,x,a,g,b,o)||l!==null&&l.dependencies!==null&&Pn(l.dependencies))?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,b,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,b,o)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===l.memoizedProps&&g===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&g===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=b),u.props=a,u.state=b,u.context=o,a=x):(typeof u.componentDidUpdate!="function"||i===l.memoizedProps&&g===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&g===l.memoizedState||(t.flags|=1024),a=!1)}return u=a,bu(l,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,l!==null&&a?(t.child=Qe(t,l.child,null,n),t.child=Qe(t,null,e,n)):Ql(l,t,e,n),t.memoizedState=u.state,l=t.child):l=Zt(l,t,n),l}function ko(l,t,e,a){return Be(),t.flags|=256,Ql(l,t,e,a),t.child}var xc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sc(l){return{baseLanes:l,cachePool:Rs()}}function Nc(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=yt),l}function Jo(l,t,e){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,i;if((i=u)||(i=l!==null&&l.memoizedState===null?!1:(Al.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,l===null){if(nl){if(n?oe(t):re(),(l=bl)?(l=ed(l,jt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ae!==null?{id:Ot,overflow:Ut}:null,retryLane:536870912,hydrationErrors:null},e=As(l),e.return=t,t.child=e,wl=t,bl=null)):l=null,l===null)throw ue(t);return nf(l)?t.lanes=32:t.lanes=536870912,null}var c=a.children;return a=a.fallback,n?(re(),n=t.mode,c=pu({mode:"hidden",children:c},n),a=Re(a,n,e,null),c.return=t,a.return=t,c.sibling=a,t.child=c,a=t.child,a.memoizedState=Sc(e),a.childLanes=Nc(l,i,e),t.memoizedState=xc,sn(null,a)):(oe(t),jc(t,c))}var o=l.memoizedState;if(o!==null&&(c=o.dehydrated,c!==null)){if(u)t.flags&256?(oe(t),t.flags&=-257,t=Tc(l,t,e)):t.memoizedState!==null?(re(),t.child=l.child,t.flags|=128,t=null):(re(),c=a.fallback,n=t.mode,a=pu({mode:"visible",children:a.children},n),c=Re(c,n,e,null),c.flags|=2,a.return=t,c.return=t,a.sibling=c,t.child=a,Qe(t,l.child,null,e),a=t.child,a.memoizedState=Sc(e),a.childLanes=Nc(l,i,e),t.memoizedState=xc,t=sn(null,a));else if(oe(t),nf(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var v=i.dgst;i=v,a=Error(s(419)),a.stack="",a.digest=i,Wa({value:a,source:null,stack:null}),t=Tc(l,t,e)}else if(Cl||oa(l,t,e,!1),i=(e&l.childLanes)!==0,Cl||i){if(i=gl,i!==null&&(a=Cf(i,e),a!==0&&a!==o.retryLane))throw o.retryLane=a,He(l,a),ut(i,l,a),bc;af(c)||_u(),t=Tc(l,t,e)}else af(c)?(t.flags|=192,t.child=l.child,t=null):(l=o.treeContext,bl=zt(c.nextSibling),wl=t,nl=!0,ne=null,jt=!1,l!==null&&Ms(t,l),t=jc(t,a.children),t.flags|=4096);return t}return n?(re(),c=a.fallback,n=t.mode,o=l.child,v=o.sibling,a=Yt(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,v!==null?c=Yt(v,c):(c=Re(c,n,e,null),c.flags|=2),c.return=t,a.return=t,a.sibling=c,t.child=a,sn(null,a),a=t.child,c=l.child.memoizedState,c===null?c=Sc(e):(n=c.cachePool,n!==null?(o=Ol._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=Rs(),c={baseLanes:c.baseLanes|e,cachePool:n}),a.memoizedState=c,a.childLanes=Nc(l,i,e),t.memoizedState=xc,sn(l.child,a)):(oe(t),e=l.child,l=e.sibling,e=Yt(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(i=t.deletions,i===null?(t.deletions=[l],t.flags|=16):i.push(l)),t.child=e,t.memoizedState=null,e)}function jc(l,t){return t=pu({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function pu(l,t){return l=rt(22,l,null,t),l.lanes=0,l}function Tc(l,t,e){return Qe(t,l.child,null,e),l=jc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function $o(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Li(l.return,t,e)}function zc(l,t,e,a,n,u){var i=l.memoizedState;i===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n,treeForkCount:u}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=n,i.treeForkCount=u)}function Wo(l,t,e){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var i=Al.current,c=(i&2)!==0;if(c?(i=i&1|2,t.flags|=128):i&=1,O(Al,i),Ql(l,t,a,e),a=nl?$a:0,!c&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&$o(l,e,t);else if(l.tag===19)$o(l,e,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"forwards":for(e=t.child,n=null;e!==null;)l=e.alternate,l!==null&&cu(l)===null&&(n=e),e=e.sibling;e=n,e===null?(n=t.child,t.child=null):(n=e.sibling,e.sibling=null),zc(t,!1,n,e,u,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,n=t.child,t.child=null;n!==null;){if(l=n.alternate,l!==null&&cu(l)===null){t.child=n;break}l=n.sibling,n.sibling=e,e=n,n=l}zc(t,!0,e,null,u,a);break;case"together":zc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Zt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),he|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(oa(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(s(153));if(t.child!==null){for(l=t.child,e=Yt(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=Yt(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Ac(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Pn(l)))}function x0(l,t,e){switch(t.tag){case 3:Wl(t,t.stateNode.containerInfo),ie(t,Ol,l.memoizedState.cache),Be();break;case 27:case 5:Ha(t);break;case 4:Wl(t,t.stateNode.containerInfo);break;case 10:ie(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Fi(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(oe(t),t.flags|=128,null):(e&t.child.childLanes)!==0?Jo(l,t,e):(oe(t),l=Zt(l,t,e),l!==null?l.sibling:null);oe(t);break;case 19:var n=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(oa(l,t,e,!1),a=(e&t.childLanes)!==0),n){if(a)return Wo(l,t,e);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),O(Al,Al.current),a)break;return null;case 22:return t.lanes=0,Qo(l,t,e,t.pendingProps);case 24:ie(t,Ol,l.memoizedState.cache)}return Zt(l,t,e)}function Fo(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Cl=!0;else{if(!Ac(l,e)&&(t.flags&128)===0)return Cl=!1,x0(l,t,e);Cl=(l.flags&131072)!==0}else Cl=!1,nl&&(t.flags&1048576)!==0&&_s(t,$a,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=we(t.elementType),t.type=l,typeof l=="function")Oi(l)?(a=Ze(l,a),t.tag=1,t=Ko(null,t,l,a,e)):(t.tag=0,t=pc(null,t,l,a,e));else{if(l!=null){var n=l.$$typeof;if(n===Ml){t.tag=11,t=Lo(null,t,l,a,e);break l}else if(n===W){t.tag=14,t=wo(null,t,l,a,e);break l}}throw t=it(l)||l,Error(s(306,t,""))}}return t;case 0:return pc(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,n=Ze(a,t.pendingProps),Ko(l,t,a,n,e);case 3:l:{if(Wl(t,t.stateNode.containerInfo),l===null)throw Error(s(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,Ki(l,t),an(t,a,null,e);var i=t.memoizedState;if(a=i.cache,ie(t,Ol,a),a!==u.cache&&wi(t,[Ol],e,!0),en(),a=i.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=ko(l,t,a,e);break l}else if(a!==n){n=xt(Error(s(424)),t),Wa(n),t=ko(l,t,a,e);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(bl=zt(l.firstChild),wl=t,nl=!0,ne=null,jt=!0,e=Gs(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Be(),a===n){t=Zt(l,t,e);break l}Ql(l,t,a,e)}t=t.child}return t;case 26:return bu(l,t),l===null?(e=fd(t.type,null,t.pendingProps,null))?t.memoizedState=e:nl||(e=t.type,l=t.pendingProps,a=Ru(I.current).createElement(e),a[Ll]=t,a[Pl]=l,Xl(a,e,l),ql(a),t.stateNode=a):t.memoizedState=fd(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Ha(t),l===null&&nl&&(a=t.stateNode=ud(t.type,t.pendingProps,I.current),wl=t,jt=!0,n=bl,pe(t.type)?(uf=n,bl=zt(a.firstChild)):bl=n),Ql(l,t,t.pendingProps.children,e),bu(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&nl&&((n=a=bl)&&(a=W0(a,t.type,t.pendingProps,jt),a!==null?(t.stateNode=a,wl=t,bl=zt(a.firstChild),jt=!1,n=!0):n=!1),n||ue(t)),Ha(t),n=t.type,u=t.pendingProps,i=l!==null?l.memoizedProps:null,a=u.children,lf(n,u)?a=null:i!==null&&lf(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=Pi(l,t,r0,null,null,e),Tn._currentValue=n),bu(l,t),Ql(l,t,a,e),t.child;case 6:return l===null&&nl&&((l=e=bl)&&(e=F0(e,t.pendingProps,jt),e!==null?(t.stateNode=e,wl=t,bl=null,l=!0):l=!1),l||ue(t)),null;case 13:return Jo(l,t,e);case 4:return Wl(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=Qe(t,null,a,e):Ql(l,t,a,e),t.child;case 11:return Lo(l,t,t.type,t.pendingProps,e);case 7:return Ql(l,t,t.pendingProps,e),t.child;case 8:return Ql(l,t,t.pendingProps.children,e),t.child;case 12:return Ql(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,ie(t,t.type,a.value),Ql(l,t,a.children,e),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Ye(t),n=Gl(n),a=a(n),t.flags|=1,Ql(l,t,a,e),t.child;case 14:return wo(l,t,t.type,t.pendingProps,e);case 15:return Go(l,t,t.type,t.pendingProps,e);case 19:return Wo(l,t,e);case 31:return p0(l,t,e);case 22:return Qo(l,t,e,t.pendingProps);case 24:return Ye(t),a=Gl(Ol),l===null?(n=Xi(),n===null&&(n=gl,u=Gi(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),t.memoizedState={parent:a,cache:n},Vi(t),ie(t,Ol,n)):((l.lanes&e)!==0&&(Ki(l,t),an(t,null,null,e),en()),n=l.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ie(t,Ol,a)):(a=u.cache,ie(t,Ol,a),a!==n.cache&&wi(t,[Ol],e,!0))),Ql(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function Vt(l){l.flags|=4}function Ec(l,t,e,a,n){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if(Tr())l.flags|=8192;else throw Ge=au,Zi}else l.flags&=-16777217}function Io(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!md(t))if(Tr())l.flags|=8192;else throw Ge=au,Zi}function xu(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Df():536870912,l.lanes|=t,Na|=t)}function on(l,t){if(!nl)switch(l.tailMode){case"hidden":t=l.tail;for(var e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?l.tail=null:e.sibling=null;break;case"collapsed":e=l.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}function pl(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=l,n=n.sibling;else for(n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}function S0(l,t,e){var a=t.pendingProps;switch(Ri(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pl(t),null;case 1:return pl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Gt(Ol),zl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(sa(t)?Vt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,qi())),pl(t),null;case 26:var n=t.type,u=t.memoizedState;return l===null?(Vt(t),u!==null?(pl(t),Io(t,u)):(pl(t),Ec(t,n,null,a,e))):u?u!==l.memoizedState?(Vt(t),pl(t),Io(t,u)):(pl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Vt(t),pl(t),Ec(t,n,l,a,e)),null;case 27:if(On(t),e=I.current,n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Vt(t);else{if(!a){if(t.stateNode===null)throw Error(s(166));return pl(t),null}l=R.current,sa(t)?Ds(t):(l=ud(n,a,e),t.stateNode=l,Vt(t))}return pl(t),null;case 5:if(On(t),n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Vt(t);else{if(!a){if(t.stateNode===null)throw Error(s(166));return pl(t),null}if(u=R.current,sa(t))Ds(t);else{var i=Ru(I.current);switch(u){case 1:u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=i.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}u[Ll]=t,u[Pl]=a;l:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)u.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break l;for(;i.sibling===null;){if(i.return===null||i.return===t)break l;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=u;l:switch(Xl(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Vt(t)}}return pl(t),Ec(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Vt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(s(166));if(l=I.current,sa(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,n=wl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[Ll]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Jr(l.nodeValue,e)),l||ue(t,!0)}else l=Ru(l).createTextNode(a),l[Ll]=t,t.stateNode=l}return pl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=sa(t),e!==null){if(l===null){if(!a)throw Error(s(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(s(557));l[Ll]=t}else Be(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pl(t),l=!1}else e=qi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(mt(t),t):(mt(t),null);if((t.flags&128)!==0)throw Error(s(558))}return pl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=sa(t),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(s(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[Ll]=t}else Be(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pl(t),n=!1}else n=qi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(mt(t),t):(mt(t),null)}return mt(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),e!==l&&e&&(t.child.flags|=8192),xu(t,t.updateQueue),pl(t),null);case 4:return zl(),l===null&&$c(t.stateNode.containerInfo),pl(t),null;case 10:return Gt(t.type),pl(t),null;case 19:if(T(Al),a=t.memoizedState,a===null)return pl(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)on(a,!1);else{if(Tl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(u=cu(l),u!==null){for(t.flags|=128,on(a,!1),l=u.updateQueue,t.updateQueue=l,xu(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)zs(e,l),e=e.sibling;return O(Al,Al.current&1|2),nl&&Lt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&ct()>zu&&(t.flags|=128,n=!0,on(a,!1),t.lanes=4194304)}else{if(!n)if(l=cu(u),l!==null){if(t.flags|=128,n=!0,l=l.updateQueue,t.updateQueue=l,xu(t,l),on(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!nl)return pl(t),null}else 2*ct()-a.renderingStartTime>zu&&e!==536870912&&(t.flags|=128,n=!0,on(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(l=a.last,l!==null?l.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=ct(),l.sibling=null,e=Al.current,O(Al,n?e&1|2:e&1),nl&&Lt(t,a.treeForkCount),l):(pl(t),null);case 22:case 23:return mt(t),Wi(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(pl(t),t.subtreeFlags&6&&(t.flags|=8192)):pl(t),e=t.updateQueue,e!==null&&xu(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&T(Le),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Gt(Ol),pl(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function N0(l,t){switch(Ri(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Gt(Ol),zl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return On(t),null;case 31:if(t.memoizedState!==null){if(mt(t),t.alternate===null)throw Error(s(340));Be()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(mt(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Be()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return T(Al),null;case 4:return zl(),null;case 10:return Gt(t.type),null;case 22:case 23:return mt(t),Wi(),l!==null&&T(Le),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Gt(Ol),null;case 25:return null;default:return null}}function Po(l,t){switch(Ri(t),t.tag){case 3:Gt(Ol),zl();break;case 26:case 27:case 5:On(t);break;case 4:zl();break;case 31:t.memoizedState!==null&&mt(t);break;case 13:mt(t);break;case 19:T(Al);break;case 10:Gt(t.type);break;case 22:case 23:mt(t),Wi(),l!==null&&T(Le);break;case 24:Gt(Ol)}}function rn(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&l)===l){a=void 0;var u=e.create,i=e.inst;a=u(),i.destroy=a}e=e.next}while(e!==n)}}catch(c){ol(t,t.return,c)}}function de(l,t,e){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&l)===l){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,n=t;var o=e,v=c;try{v()}catch(x){ol(n,o,x)}}}a=a.next}while(a!==u)}}catch(x){ol(t,t.return,x)}}function lr(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{Xs(t,e)}catch(a){ol(l,l.return,a)}}}function tr(l,t,e){e.props=Ze(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){ol(l,t,a)}}function dn(l,t){try{var e=l.ref;if(e!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof e=="function"?l.refCleanup=e(a):e.current=a}}catch(n){ol(l,t,n)}}function Ct(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){ol(l,t,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){ol(l,t,n)}else e.current=null}function er(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){ol(l,l.return,n)}}function _c(l,t,e){try{var a=l.stateNode;Z0(a,l.type,e,t),a[Pl]=t}catch(n){ol(l,l.return,n)}}function ar(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&pe(l.type)||l.tag===4}function Mc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||ar(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&pe(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Dc(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(l,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(l),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=Bt));else if(a!==4&&(a===27&&pe(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Dc(l,t,e),l=l.sibling;l!==null;)Dc(l,t,e),l=l.sibling}function Su(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?e.insertBefore(l,t):e.appendChild(l);else if(a!==4&&(a===27&&pe(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(Su(l,t,e),l=l.sibling;l!==null;)Su(l,t,e),l=l.sibling}function nr(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Xl(t,a,e),t[Ll]=l,t[Pl]=e}catch(u){ol(l,l.return,u)}}var Kt=!1,Hl=!1,Oc=!1,ur=typeof WeakSet=="function"?WeakSet:Set,Yl=null;function j0(l,t){if(l=l.containerInfo,Ic=Qu,l=vs(l),Ti(l)){if("selectionStart"in l)var e={start:l.selectionStart,end:l.selectionEnd};else l:{e=(e=l.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break l}var i=0,c=-1,o=-1,v=0,x=0,j=l,g=null;t:for(;;){for(var b;j!==e||n!==0&&j.nodeType!==3||(c=i+n),j!==u||a!==0&&j.nodeType!==3||(o=i+a),j.nodeType===3&&(i+=j.nodeValue.length),(b=j.firstChild)!==null;)g=j,j=b;for(;;){if(j===l)break t;if(g===e&&++v===n&&(c=i),g===u&&++x===a&&(o=i),(b=j.nextSibling)!==null)break;j=g,g=j.parentNode}j=b}e=c===-1||o===-1?null:{start:c,end:o}}else e=null}e=e||{start:0,end:0}}else e=null;for(Pc={focusedElem:l,selectionRange:e},Qu=!1,Yl=t;Yl!==null;)if(t=Yl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Yl=l;else for(;Yl!==null;){switch(t=Yl,u=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(e=0;e<l.length;e++)n=l[e],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&u!==null){l=void 0,e=t,n=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var C=Ze(e.type,n);l=a.getSnapshotBeforeUpdate(C,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(w){ol(e,e.return,w)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)ef(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":ef(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(s(163))}if(l=t.sibling,l!==null){l.return=t.return,Yl=l;break}Yl=t.return}}function ir(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Jt(l,e),a&4&&rn(5,e);break;case 1:if(Jt(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(i){ol(e,e.return,i)}else{var n=Ze(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(n,t,l.__reactInternalSnapshotBeforeUpdate)}catch(i){ol(e,e.return,i)}}a&64&&lr(e),a&512&&dn(e,e.return);break;case 3:if(Jt(l,e),a&64&&(l=e.updateQueue,l!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{Xs(l,t)}catch(i){ol(e,e.return,i)}}break;case 27:t===null&&a&4&&nr(e);case 26:case 5:Jt(l,e),t===null&&a&4&&er(e),a&512&&dn(e,e.return);break;case 12:Jt(l,e);break;case 31:Jt(l,e),a&4&&sr(l,e);break;case 13:Jt(l,e),a&4&&or(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=U0.bind(null,e),I0(l,e))));break;case 22:if(a=e.memoizedState!==null||Kt,!a){t=t!==null&&t.memoizedState!==null||Hl,n=Kt;var u=Hl;Kt=a,(Hl=t)&&!u?$t(l,e,(e.subtreeFlags&8772)!==0):Jt(l,e),Kt=n,Hl=u}break;case 30:break;default:Jt(l,e)}}function cr(l){var t=l.alternate;t!==null&&(l.alternate=null,cr(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&ci(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var xl=null,tt=!1;function kt(l,t,e){for(e=e.child;e!==null;)fr(l,t,e),e=e.sibling}function fr(l,t,e){if(ft&&typeof ft.onCommitFiberUnmount=="function")try{ft.onCommitFiberUnmount(Ra,e)}catch{}switch(e.tag){case 26:Hl||Ct(e,t),kt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Hl||Ct(e,t);var a=xl,n=tt;pe(e.type)&&(xl=e.stateNode,tt=!1),kt(l,t,e),Sn(e.stateNode),xl=a,tt=n;break;case 5:Hl||Ct(e,t);case 6:if(a=xl,n=tt,xl=null,kt(l,t,e),xl=a,tt=n,xl!==null)if(tt)try{(xl.nodeType===9?xl.body:xl.nodeName==="HTML"?xl.ownerDocument.body:xl).removeChild(e.stateNode)}catch(u){ol(e,t,u)}else try{xl.removeChild(e.stateNode)}catch(u){ol(e,t,u)}break;case 18:xl!==null&&(tt?(l=xl,ld(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Da(l)):ld(xl,e.stateNode));break;case 4:a=xl,n=tt,xl=e.stateNode.containerInfo,tt=!0,kt(l,t,e),xl=a,tt=n;break;case 0:case 11:case 14:case 15:de(2,e,t),Hl||de(4,e,t),kt(l,t,e);break;case 1:Hl||(Ct(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&tr(e,t,a)),kt(l,t,e);break;case 21:kt(l,t,e);break;case 22:Hl=(a=Hl)||e.memoizedState!==null,kt(l,t,e),Hl=a;break;default:kt(l,t,e)}}function sr(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Da(l)}catch(e){ol(t,t.return,e)}}}function or(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Da(l)}catch(e){ol(t,t.return,e)}}function T0(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new ur),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new ur),t;default:throw Error(s(435,l.tag))}}function Nu(l,t){var e=T0(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var n=C0.bind(null,l,a);a.then(n,n)}})}function et(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a],u=l,i=t,c=i;l:for(;c!==null;){switch(c.tag){case 27:if(pe(c.type)){xl=c.stateNode,tt=!1;break l}break;case 5:xl=c.stateNode,tt=!1;break l;case 3:case 4:xl=c.stateNode.containerInfo,tt=!0;break l}c=c.return}if(xl===null)throw Error(s(160));fr(u,i,n),xl=null,tt=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)rr(t,l),t=t.sibling}var Mt=null;function rr(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:et(t,l),at(l),a&4&&(de(3,l,l.return),rn(3,l),de(5,l,l.return));break;case 1:et(t,l),at(l),a&512&&(Hl||e===null||Ct(e,e.return)),a&64&&Kt&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(e=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var n=Mt;if(et(t,l),at(l),a&512&&(Hl||e===null||Ct(e,e.return)),a&4){var u=e!==null?e.memoizedState:null;if(a=l.memoizedState,e===null)if(a===null)if(l.stateNode===null){l:{a=l.type,e=l.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Ya]||u[Ll]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Xl(u,a,e),u[Ll]=l,ql(u),a=u;break l;case"link":var i=rd("link","href",n).get(a+(e.href||""));if(i){for(var c=0;c<i.length;c++)if(u=i[c],u.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){i.splice(c,1);break t}}u=n.createElement(a),Xl(u,a,e),n.head.appendChild(u);break;case"meta":if(i=rd("meta","content",n).get(a+(e.content||""))){for(c=0;c<i.length;c++)if(u=i[c],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){i.splice(c,1);break t}}u=n.createElement(a),Xl(u,a,e),n.head.appendChild(u);break;default:throw Error(s(468,a))}u[Ll]=l,ql(u),a=u}l.stateNode=a}else dd(n,l.type,l.stateNode);else l.stateNode=od(n,a,l.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?dd(n,l.type,l.stateNode):od(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&_c(l,l.memoizedProps,e.memoizedProps)}break;case 27:et(t,l),at(l),a&512&&(Hl||e===null||Ct(e,e.return)),e!==null&&a&4&&_c(l,l.memoizedProps,e.memoizedProps);break;case 5:if(et(t,l),at(l),a&512&&(Hl||e===null||Ct(e,e.return)),l.flags&32){n=l.stateNode;try{Pe(n,"")}catch(C){ol(l,l.return,C)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,_c(l,n,e!==null?e.memoizedProps:n)),a&1024&&(Oc=!0);break;case 6:if(et(t,l),at(l),a&4){if(l.stateNode===null)throw Error(s(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(C){ol(l,l.return,C)}}break;case 3:if(Yu=null,n=Mt,Mt=Bu(t.containerInfo),et(t,l),Mt=n,at(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Da(t.containerInfo)}catch(C){ol(l,l.return,C)}Oc&&(Oc=!1,dr(l));break;case 4:a=Mt,Mt=Bu(l.stateNode.containerInfo),et(t,l),at(l),Mt=a;break;case 12:et(t,l),at(l);break;case 31:et(t,l),at(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Nu(l,a)));break;case 13:et(t,l),at(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Tu=ct()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Nu(l,a)));break;case 22:n=l.memoizedState!==null;var o=e!==null&&e.memoizedState!==null,v=Kt,x=Hl;if(Kt=v||n,Hl=x||o,et(t,l),Hl=x,Kt=v,at(l),a&8192)l:for(t=l.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(e===null||o||Kt||Hl||Ve(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){o=e=t;try{if(u=o.stateNode,n)i=u.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=o.stateNode;var j=o.memoizedProps.style,g=j!=null&&j.hasOwnProperty("display")?j.display:null;c.style.display=g==null||typeof g=="boolean"?"":(""+g).trim()}}catch(C){ol(o,o.return,C)}}}else if(t.tag===6){if(e===null){o=t;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(C){ol(o,o.return,C)}}}else if(t.tag===18){if(e===null){o=t;try{var b=o.stateNode;n?td(b,!0):td(o.stateNode,!1)}catch(C){ol(o,o.return,C)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;e===t&&(e=null),t=t.return}e===t&&(e=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=l.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,Nu(l,e))));break;case 19:et(t,l),at(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Nu(l,a)));break;case 30:break;case 21:break;default:et(t,l),at(l)}}function at(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(ar(a)){e=a;break}a=a.return}if(e==null)throw Error(s(160));switch(e.tag){case 27:var n=e.stateNode,u=Mc(l);Su(l,u,n);break;case 5:var i=e.stateNode;e.flags&32&&(Pe(i,""),e.flags&=-33);var c=Mc(l);Su(l,c,i);break;case 3:case 4:var o=e.stateNode.containerInfo,v=Mc(l);Dc(l,v,o);break;default:throw Error(s(161))}}catch(x){ol(l,l.return,x)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function dr(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;dr(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function Jt(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ir(l,t.alternate,t),t=t.sibling}function Ve(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:de(4,t,t.return),Ve(t);break;case 1:Ct(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&tr(t,t.return,e),Ve(t);break;case 27:Sn(t.stateNode);case 26:case 5:Ct(t,t.return),Ve(t);break;case 22:t.memoizedState===null&&Ve(t);break;case 30:Ve(t);break;default:Ve(t)}l=l.sibling}}function $t(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=l,u=t,i=u.flags;switch(u.tag){case 0:case 11:case 15:$t(n,u,e),rn(4,u);break;case 1:if($t(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(v){ol(a,a.return,v)}if(a=u,n=a.updateQueue,n!==null){var c=a.stateNode;try{var o=n.shared.hiddenCallbacks;if(o!==null)for(n.shared.hiddenCallbacks=null,n=0;n<o.length;n++)Qs(o[n],c)}catch(v){ol(a,a.return,v)}}e&&i&64&&lr(u),dn(u,u.return);break;case 27:nr(u);case 26:case 5:$t(n,u,e),e&&a===null&&i&4&&er(u),dn(u,u.return);break;case 12:$t(n,u,e);break;case 31:$t(n,u,e),e&&i&4&&sr(n,u);break;case 13:$t(n,u,e),e&&i&4&&or(n,u);break;case 22:u.memoizedState===null&&$t(n,u,e),dn(u,u.return);break;case 30:break;default:$t(n,u,e)}t=t.sibling}}function Uc(l,t){var e=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==e&&(l!=null&&l.refCount++,e!=null&&Fa(e))}function Cc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Fa(l))}function Dt(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)mr(l,t,e,a),t=t.sibling}function mr(l,t,e,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Dt(l,t,e,a),n&2048&&rn(9,t);break;case 1:Dt(l,t,e,a);break;case 3:Dt(l,t,e,a),n&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Fa(l)));break;case 12:if(n&2048){Dt(l,t,e,a),l=t.stateNode;try{var u=t.memoizedProps,i=u.id,c=u.onPostCommit;typeof c=="function"&&c(i,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(o){ol(t,t.return,o)}}else Dt(l,t,e,a);break;case 31:Dt(l,t,e,a);break;case 13:Dt(l,t,e,a);break;case 23:break;case 22:u=t.stateNode,i=t.alternate,t.memoizedState!==null?u._visibility&2?Dt(l,t,e,a):mn(l,t):u._visibility&2?Dt(l,t,e,a):(u._visibility|=2,pa(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Uc(i,t);break;case 24:Dt(l,t,e,a),n&2048&&Cc(t.alternate,t);break;default:Dt(l,t,e,a)}}function pa(l,t,e,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=l,i=t,c=e,o=a,v=i.flags;switch(i.tag){case 0:case 11:case 15:pa(u,i,c,o,n),rn(8,i);break;case 23:break;case 22:var x=i.stateNode;i.memoizedState!==null?x._visibility&2?pa(u,i,c,o,n):mn(u,i):(x._visibility|=2,pa(u,i,c,o,n)),n&&v&2048&&Uc(i.alternate,i);break;case 24:pa(u,i,c,o,n),n&&v&2048&&Cc(i.alternate,i);break;default:pa(u,i,c,o,n)}t=t.sibling}}function mn(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,n=a.flags;switch(a.tag){case 22:mn(e,a),n&2048&&Uc(a.alternate,a);break;case 24:mn(e,a),n&2048&&Cc(a.alternate,a);break;default:mn(e,a)}t=t.sibling}}var hn=8192;function xa(l,t,e){if(l.subtreeFlags&hn)for(l=l.child;l!==null;)hr(l,t,e),l=l.sibling}function hr(l,t,e){switch(l.tag){case 26:xa(l,t,e),l.flags&hn&&l.memoizedState!==null&&oh(e,Mt,l.memoizedState,l.memoizedProps);break;case 5:xa(l,t,e);break;case 3:case 4:var a=Mt;Mt=Bu(l.stateNode.containerInfo),xa(l,t,e),Mt=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=hn,hn=16777216,xa(l,t,e),hn=a):xa(l,t,e));break;default:xa(l,t,e)}}function yr(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}function yn(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Yl=a,gr(a,l)}yr(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)vr(l),l=l.sibling}function vr(l){switch(l.tag){case 0:case 11:case 15:yn(l),l.flags&2048&&de(9,l,l.return);break;case 3:yn(l);break;case 12:yn(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,ju(l)):yn(l);break;default:yn(l)}}function ju(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Yl=a,gr(a,l)}yr(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:de(8,t,t.return),ju(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,ju(t));break;default:ju(t)}l=l.sibling}}function gr(l,t){for(;Yl!==null;){var e=Yl;switch(e.tag){case 0:case 11:case 15:de(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Fa(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Yl=a;else l:for(e=l;Yl!==null;){a=Yl;var n=a.sibling,u=a.return;if(cr(a),a===e){Yl=null;break l}if(n!==null){n.return=u,Yl=n;break l}Yl=u}}}var z0={getCacheForType:function(l){var t=Gl(Ol),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return Gl(Ol).controller.signal}},A0=typeof WeakMap=="function"?WeakMap:Map,cl=0,gl=null,P=null,el=0,sl=0,ht=null,me=!1,Sa=!1,Hc=!1,Wt=0,Tl=0,he=0,Ke=0,Rc=0,yt=0,Na=0,vn=null,nt=null,Bc=!1,Tu=0,br=0,zu=1/0,Au=null,ye=null,Bl=0,ve=null,ja=null,Ft=0,qc=0,Yc=null,pr=null,gn=0,Lc=null;function vt(){return(cl&2)!==0&&el!==0?el&-el:S.T!==null?Vc():Hf()}function xr(){if(yt===0)if((el&536870912)===0||nl){var l=Hn;Hn<<=1,(Hn&3932160)===0&&(Hn=262144),yt=l}else yt=536870912;return l=dt.current,l!==null&&(l.flags|=32),yt}function ut(l,t,e){(l===gl&&(sl===2||sl===9)||l.cancelPendingCommit!==null)&&(Ta(l,0),ge(l,el,yt,!1)),qa(l,e),((cl&2)===0||l!==gl)&&(l===gl&&((cl&2)===0&&(Ke|=e),Tl===4&&ge(l,el,yt,!1)),Ht(l))}function Sr(l,t,e){if((cl&6)!==0)throw Error(s(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||Ba(l,t),n=a?M0(l,t):Gc(l,t,!0),u=a;do{if(n===0){Sa&&!a&&ge(l,t,0,!1);break}else{if(e=l.current.alternate,u&&!E0(e)){n=Gc(l,t,!1),u=!1;continue}if(n===2){if(u=t,l.errorRecoveryDisabledLanes&u)var i=0;else i=l.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;l:{var c=l;n=vn;var o=c.current.memoizedState.isDehydrated;if(o&&(Ta(c,i).flags|=256),i=Gc(c,i,!1),i!==2){if(Hc&&!o){c.errorRecoveryDisabledLanes|=u,Ke|=u,n=4;break l}u=nt,nt=n,u!==null&&(nt===null?nt=u:nt.push.apply(nt,u))}n=i}if(u=!1,n!==2)continue}}if(n===1){Ta(l,0),ge(l,t,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:ge(a,t,yt,!me);break l;case 2:nt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(n=Tu+300-ct(),10<n)){if(ge(a,t,yt,!me),Bn(a,0,!0)!==0)break l;Ft=t,a.timeoutHandle=Ir(Nr.bind(null,a,e,nt,Au,Bc,t,yt,Ke,Na,me,u,"Throttled",-0,0),n);break l}Nr(a,e,nt,Au,Bc,t,yt,Ke,Na,me,u,null,-0,0)}}break}while(!0);Ht(l)}function Nr(l,t,e,a,n,u,i,c,o,v,x,j,g,b){if(l.timeoutHandle=-1,j=t.subtreeFlags,j&8192||(j&16785408)===16785408){j={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Bt},hr(t,u,j);var C=(u&62914560)===u?Tu-ct():(u&4194048)===u?br-ct():0;if(C=rh(j,C),C!==null){Ft=u,l.cancelPendingCommit=C(Dr.bind(null,l,t,u,e,a,n,i,c,o,x,j,null,g,b)),ge(l,u,i,!v);return}}Dr(l,t,u,e,a,n,i,c,o)}function E0(l){for(var t=l;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var n=e[a],u=n.getSnapshot;n=n.value;try{if(!ot(u(),n))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ge(l,t,e,a){t&=~Rc,t&=~Ke,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var n=t;0<n;){var u=31-st(n),i=1<<u;a[u]=-1,n&=~i}e!==0&&Of(l,e,t)}function Eu(){return(cl&6)===0?(bn(0),!1):!0}function wc(){if(P!==null){if(sl===0)var l=P.return;else l=P,wt=qe=null,ec(l),ha=null,Pa=0,l=P;for(;l!==null;)Po(l.alternate,l),l=l.return;P=null}}function Ta(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,k0(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),Ft=0,wc(),gl=l,P=e=Yt(l.current,null),el=t,sl=0,ht=null,me=!1,Sa=Ba(l,t),Hc=!1,Na=yt=Rc=Ke=he=Tl=0,nt=vn=null,Bc=!1,(t&8)!==0&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var n=31-st(a),u=1<<n;t|=l[n],a&=~u}return Wt=t,Jn(),e}function jr(l,t){k=null,S.H=fn,t===ma||t===eu?(t=Ys(),sl=3):t===Zi?(t=Ys(),sl=4):sl=t===bc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ht=t,P===null&&(Tl=1,vu(l,xt(t,l.current)))}function Tr(){var l=dt.current;return l===null?!0:(el&4194048)===el?Tt===null:(el&62914560)===el||(el&536870912)!==0?l===Tt:!1}function zr(){var l=S.H;return S.H=fn,l===null?fn:l}function Ar(){var l=S.A;return S.A=z0,l}function _u(){Tl=4,me||(el&4194048)!==el&&dt.current!==null||(Sa=!0),(he&134217727)===0&&(Ke&134217727)===0||gl===null||ge(gl,el,yt,!1)}function Gc(l,t,e){var a=cl;cl|=2;var n=zr(),u=Ar();(gl!==l||el!==t)&&(Au=null,Ta(l,t)),t=!1;var i=Tl;l:do try{if(sl!==0&&P!==null){var c=P,o=ht;switch(sl){case 8:wc(),i=6;break l;case 3:case 2:case 9:case 6:dt.current===null&&(t=!0);var v=sl;if(sl=0,ht=null,za(l,c,o,v),e&&Sa){i=0;break l}break;default:v=sl,sl=0,ht=null,za(l,c,o,v)}}_0(),i=Tl;break}catch(x){jr(l,x)}while(!0);return t&&l.shellSuspendCounter++,wt=qe=null,cl=a,S.H=n,S.A=u,P===null&&(gl=null,el=0,Jn()),i}function _0(){for(;P!==null;)Er(P)}function M0(l,t){var e=cl;cl|=2;var a=zr(),n=Ar();gl!==l||el!==t?(Au=null,zu=ct()+500,Ta(l,t)):Sa=Ba(l,t);l:do try{if(sl!==0&&P!==null){t=P;var u=ht;t:switch(sl){case 1:sl=0,ht=null,za(l,t,u,1);break;case 2:case 9:if(Bs(u)){sl=0,ht=null,_r(t);break}t=function(){sl!==2&&sl!==9||gl!==l||(sl=7),Ht(l)},u.then(t,t);break l;case 3:sl=7;break l;case 4:sl=5;break l;case 7:Bs(u)?(sl=0,ht=null,_r(t)):(sl=0,ht=null,za(l,t,u,7));break;case 5:var i=null;switch(P.tag){case 26:i=P.memoizedState;case 5:case 27:var c=P;if(i?md(i):c.stateNode.complete){sl=0,ht=null;var o=c.sibling;if(o!==null)P=o;else{var v=c.return;v!==null?(P=v,Mu(v)):P=null}break t}}sl=0,ht=null,za(l,t,u,5);break;case 6:sl=0,ht=null,za(l,t,u,6);break;case 8:wc(),Tl=6;break l;default:throw Error(s(462))}}D0();break}catch(x){jr(l,x)}while(!0);return wt=qe=null,S.H=a,S.A=n,cl=e,P!==null?0:(gl=null,el=0,Jn(),Tl)}function D0(){for(;P!==null&&!Pd();)Er(P)}function Er(l){var t=Fo(l.alternate,l,Wt);l.memoizedProps=l.pendingProps,t===null?Mu(l):P=t}function _r(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=Vo(e,t,t.pendingProps,t.type,void 0,el);break;case 11:t=Vo(e,t,t.pendingProps,t.type.render,t.ref,el);break;case 5:ec(t);default:Po(e,t),t=P=zs(t,Wt),t=Fo(e,t,Wt)}l.memoizedProps=l.pendingProps,t===null?Mu(l):P=t}function za(l,t,e,a){wt=qe=null,ec(t),ha=null,Pa=0;var n=t.return;try{if(b0(l,n,t,e,el)){Tl=1,vu(l,xt(e,l.current)),P=null;return}}catch(u){if(n!==null)throw P=n,u;Tl=1,vu(l,xt(e,l.current)),P=null;return}t.flags&32768?(nl||a===1?l=!0:Sa||(el&536870912)!==0?l=!1:(me=l=!0,(a===2||a===9||a===3||a===6)&&(a=dt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Mr(t,l)):Mu(t)}function Mu(l){var t=l;do{if((t.flags&32768)!==0){Mr(t,me);return}l=t.return;var e=S0(t.alternate,t,Wt);if(e!==null){P=e;return}if(t=t.sibling,t!==null){P=t;return}P=t=l}while(t!==null);Tl===0&&(Tl=5)}function Mr(l,t){do{var e=N0(l.alternate,l);if(e!==null){e.flags&=32767,P=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){P=l;return}P=l=e}while(l!==null);Tl=6,P=null}function Dr(l,t,e,a,n,u,i,c,o){l.cancelPendingCommit=null;do Du();while(Bl!==0);if((cl&6)!==0)throw Error(s(327));if(t!==null){if(t===l.current)throw Error(s(177));if(u=t.lanes|t.childLanes,u|=Mi,sm(l,e,u,i,c,o),l===gl&&(P=gl=null,el=0),ja=t,ve=l,Ft=e,qc=u,Yc=n,pr=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,H0(Un,function(){return Rr(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=S.T,S.T=null,n=D.p,D.p=2,i=cl,cl|=4;try{j0(l,t,e)}finally{cl=i,D.p=n,S.T=a}}Bl=1,Or(),Ur(),Cr()}}function Or(){if(Bl===1){Bl=0;var l=ve,t=ja,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=S.T,S.T=null;var a=D.p;D.p=2;var n=cl;cl|=4;try{rr(t,l);var u=Pc,i=vs(l.containerInfo),c=u.focusedElem,o=u.selectionRange;if(i!==c&&c&&c.ownerDocument&&ys(c.ownerDocument.documentElement,c)){if(o!==null&&Ti(c)){var v=o.start,x=o.end;if(x===void 0&&(x=v),"selectionStart"in c)c.selectionStart=v,c.selectionEnd=Math.min(x,c.value.length);else{var j=c.ownerDocument||document,g=j&&j.defaultView||window;if(g.getSelection){var b=g.getSelection(),C=c.textContent.length,w=Math.min(o.start,C),hl=o.end===void 0?w:Math.min(o.end,C);!b.extend&&w>hl&&(i=hl,hl=w,w=i);var h=hs(c,w),d=hs(c,hl);if(h&&d&&(b.rangeCount!==1||b.anchorNode!==h.node||b.anchorOffset!==h.offset||b.focusNode!==d.node||b.focusOffset!==d.offset)){var y=j.createRange();y.setStart(h.node,h.offset),b.removeAllRanges(),w>hl?(b.addRange(y),b.extend(d.node,d.offset)):(y.setEnd(d.node,d.offset),b.addRange(y))}}}}for(j=[],b=c;b=b.parentNode;)b.nodeType===1&&j.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<j.length;c++){var N=j[c];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}Qu=!!Ic,Pc=Ic=null}finally{cl=n,D.p=a,S.T=e}}l.current=t,Bl=2}}function Ur(){if(Bl===2){Bl=0;var l=ve,t=ja,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=S.T,S.T=null;var a=D.p;D.p=2;var n=cl;cl|=4;try{ir(l,t.alternate,t)}finally{cl=n,D.p=a,S.T=e}}Bl=3}}function Cr(){if(Bl===4||Bl===3){Bl=0,lm();var l=ve,t=ja,e=Ft,a=pr;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Bl=5:(Bl=0,ja=ve=null,Hr(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(ye=null),ui(e),t=t.stateNode,ft&&typeof ft.onCommitFiberRoot=="function")try{ft.onCommitFiberRoot(Ra,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=S.T,n=D.p,D.p=2,S.T=null;try{for(var u=l.onRecoverableError,i=0;i<a.length;i++){var c=a[i];u(c.value,{componentStack:c.stack})}}finally{S.T=t,D.p=n}}(Ft&3)!==0&&Du(),Ht(l),n=l.pendingLanes,(e&261930)!==0&&(n&42)!==0?l===Lc?gn++:(gn=0,Lc=l):gn=0,bn(0)}}function Hr(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Fa(t)))}function Du(){return Or(),Ur(),Cr(),Rr()}function Rr(){if(Bl!==5)return!1;var l=ve,t=qc;qc=0;var e=ui(Ft),a=S.T,n=D.p;try{D.p=32>e?32:e,S.T=null,e=Yc,Yc=null;var u=ve,i=Ft;if(Bl=0,ja=ve=null,Ft=0,(cl&6)!==0)throw Error(s(331));var c=cl;if(cl|=4,vr(u.current),mr(u,u.current,i,e),cl=c,bn(0,!1),ft&&typeof ft.onPostCommitFiberRoot=="function")try{ft.onPostCommitFiberRoot(Ra,u)}catch{}return!0}finally{D.p=n,S.T=a,Hr(l,t)}}function Br(l,t,e){t=xt(e,t),t=gc(l.stateNode,t,2),l=se(l,t,2),l!==null&&(qa(l,2),Ht(l))}function ol(l,t,e){if(l.tag===3)Br(l,l,e);else for(;t!==null;){if(t.tag===3){Br(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ye===null||!ye.has(a))){l=xt(e,l),e=qo(2),a=se(t,e,2),a!==null&&(Yo(e,a,t,l),qa(a,2),Ht(a));break}}t=t.return}}function Qc(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new A0;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(e)||(Hc=!0,n.add(e),l=O0.bind(null,l,t,e),t.then(l,l))}function O0(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,gl===l&&(el&e)===e&&(Tl===4||Tl===3&&(el&62914560)===el&&300>ct()-Tu?(cl&2)===0&&Ta(l,0):Rc|=e,Na===el&&(Na=0)),Ht(l)}function qr(l,t){t===0&&(t=Df()),l=He(l,t),l!==null&&(qa(l,t),Ht(l))}function U0(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),qr(l,e)}function C0(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(t),qr(l,e)}function H0(l,t){return ti(l,t)}var Ou=null,Aa=null,Xc=!1,Uu=!1,Zc=!1,be=0;function Ht(l){l!==Aa&&l.next===null&&(Aa===null?Ou=Aa=l:Aa=Aa.next=l),Uu=!0,Xc||(Xc=!0,B0())}function bn(l,t){if(!Zc&&Uu){Zc=!0;do for(var e=!1,a=Ou;a!==null;){if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var i=a.suspendedLanes,c=a.pingedLanes;u=(1<<31-st(42|l)+1)-1,u&=n&~(i&~c),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,Gr(a,u))}else u=el,u=Bn(a,a===gl?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Ba(a,u)||(e=!0,Gr(a,u));a=a.next}while(e);Zc=!1}}function R0(){Yr()}function Yr(){Uu=Xc=!1;var l=0;be!==0&&K0()&&(l=be);for(var t=ct(),e=null,a=Ou;a!==null;){var n=a.next,u=Lr(a,t);u===0?(a.next=null,e===null?Ou=n:e.next=n,n===null&&(Aa=e)):(e=a,(l!==0||(u&3)!==0)&&(Uu=!0)),a=n}Bl!==0&&Bl!==5||bn(l),be!==0&&(be=0)}function Lr(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var i=31-st(u),c=1<<i,o=n[i];o===-1?((c&e)===0||(c&a)!==0)&&(n[i]=fm(c,t)):o<=t&&(l.expiredLanes|=c),u&=~c}if(t=gl,e=el,e=Bn(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(sl===2||sl===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&ei(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Ba(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&ei(a),ui(e)){case 2:case 8:e=_f;break;case 32:e=Un;break;case 268435456:e=Mf;break;default:e=Un}return a=wr.bind(null,l),e=ti(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&ei(a),l.callbackPriority=2,l.callbackNode=null,2}function wr(l,t){if(Bl!==0&&Bl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Du()&&l.callbackNode!==e)return null;var a=el;return a=Bn(l,l===gl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(Sr(l,a,t),Lr(l,ct()),l.callbackNode!=null&&l.callbackNode===e?wr.bind(null,l):null)}function Gr(l,t){if(Du())return null;Sr(l,t,!0)}function B0(){J0(function(){(cl&6)!==0?ti(Ef,R0):Yr()})}function Vc(){if(be===0){var l=ra;l===0&&(l=Cn,Cn<<=1,(Cn&261888)===0&&(Cn=256)),be=l}return be}function Qr(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:wn(""+l)}function Xr(l,t){var e=t.ownerDocument.createElement("input");return e.name=t.name,e.value=t.value,l.id&&e.setAttribute("form",l.id),t.parentNode.insertBefore(e,t),l=new FormData(l),e.parentNode.removeChild(e),l}function q0(l,t,e,a,n){if(t==="submit"&&e&&e.stateNode===n){var u=Qr((n[Pl]||null).action),i=a.submitter;i&&(t=(t=i[Pl]||null)?Qr(t.formAction):i.getAttribute("formAction"),t!==null&&(u=t,i=null));var c=new Zn("action","action",null,a,n);l.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(be!==0){var o=i?Xr(n,i):new FormData(n);rc(e,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(c.preventDefault(),o=i?Xr(n,i):new FormData(n),rc(e,{pending:!0,data:o,method:n.method,action:u},u,o))},currentTarget:n}]})}}for(var Kc=0;Kc<_i.length;Kc++){var kc=_i[Kc],Y0=kc.toLowerCase(),L0=kc[0].toUpperCase()+kc.slice(1);_t(Y0,"on"+L0)}_t(ps,"onAnimationEnd"),_t(xs,"onAnimationIteration"),_t(Ss,"onAnimationStart"),_t("dblclick","onDoubleClick"),_t("focusin","onFocus"),_t("focusout","onBlur"),_t(t0,"onTransitionRun"),_t(e0,"onTransitionStart"),_t(a0,"onTransitionCancel"),_t(Ns,"onTransitionEnd"),Fe("onMouseEnter",["mouseout","mouseover"]),Fe("onMouseLeave",["mouseout","mouseover"]),Fe("onPointerEnter",["pointerout","pointerover"]),Fe("onPointerLeave",["pointerout","pointerover"]),De("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),De("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),De("onBeforeInput",["compositionend","keypress","textInput","paste"]),De("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),De("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),De("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pn="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(" "),w0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(pn));function Zr(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],n=a.event;a=a.listeners;l:{var u=void 0;if(t)for(var i=a.length-1;0<=i;i--){var c=a[i],o=c.instance,v=c.currentTarget;if(c=c.listener,o!==u&&n.isPropagationStopped())break l;u=c,n.currentTarget=v;try{u(n)}catch(x){kn(x)}n.currentTarget=null,u=o}else for(i=0;i<a.length;i++){if(c=a[i],o=c.instance,v=c.currentTarget,c=c.listener,o!==u&&n.isPropagationStopped())break l;u=c,n.currentTarget=v;try{u(n)}catch(x){kn(x)}n.currentTarget=null,u=o}}}}function ll(l,t){var e=t[ii];e===void 0&&(e=t[ii]=new Set);var a=l+"__bubble";e.has(a)||(Vr(t,l,2,!1),e.add(a))}function Jc(l,t,e){var a=0;t&&(a|=4),Vr(e,l,a,t)}var Cu="_reactListening"+Math.random().toString(36).slice(2);function $c(l){if(!l[Cu]){l[Cu]=!0,qf.forEach(function(e){e!=="selectionchange"&&(w0.has(e)||Jc(e,!1,l),Jc(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Cu]||(t[Cu]=!0,Jc("selectionchange",!1,t))}}function Vr(l,t,e,a){switch(xd(t)){case 2:var n=hh;break;case 8:n=yh;break;default:n=rf}e=n.bind(null,t,e,l),n=void 0,!yi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(t,e,{capture:!0,passive:n}):l.addEventListener(t,e,!0):n!==void 0?l.addEventListener(t,e,{passive:n}):l.addEventListener(t,e,!1)}function Wc(l,t,e,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===n)break;if(i===4)for(i=a.return;i!==null;){var o=i.tag;if((o===3||o===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;c!==null;){if(i=Je(c),i===null)return;if(o=i.tag,o===5||o===6||o===26||o===27){a=u=i;continue l}c=c.parentNode}}a=a.return}$f(function(){var v=u,x=mi(e),j=[];l:{var g=js.get(l);if(g!==void 0){var b=Zn,C=l;switch(l){case"keypress":if(Qn(e)===0)break l;case"keydown":case"keyup":b=Cm;break;case"focusin":C="focus",b=pi;break;case"focusout":C="blur",b=pi;break;case"beforeblur":case"afterblur":b=pi;break;case"click":if(e.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=If;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=Sm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=Bm;break;case ps:case xs:case Ss:b=Tm;break;case Ns:b=Ym;break;case"scroll":case"scrollend":b=pm;break;case"wheel":b=wm;break;case"copy":case"cut":case"paste":b=Am;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=ls;break;case"toggle":case"beforetoggle":b=Qm}var w=(t&4)!==0,hl=!w&&(l==="scroll"||l==="scrollend"),h=w?g!==null?g+"Capture":null:g;w=[];for(var d=v,y;d!==null;){var N=d;if(y=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||y===null||h===null||(N=wa(d,h),N!=null&&w.push(xn(d,N,y))),hl)break;d=d.return}0<w.length&&(g=new b(g,C,null,e,x),j.push({event:g,listeners:w}))}}if((t&7)===0){l:{if(g=l==="mouseover"||l==="pointerover",b=l==="mouseout"||l==="pointerout",g&&e!==di&&(C=e.relatedTarget||e.fromElement)&&(Je(C)||C[ke]))break l;if((b||g)&&(g=x.window===x?x:(g=x.ownerDocument)?g.defaultView||g.parentWindow:window,b?(C=e.relatedTarget||e.toElement,b=v,C=C?Je(C):null,C!==null&&(hl=H(C),w=C.tag,C!==hl||w!==5&&w!==27&&w!==6)&&(C=null)):(b=null,C=v),b!==C)){if(w=If,N="onMouseLeave",h="onMouseEnter",d="mouse",(l==="pointerout"||l==="pointerover")&&(w=ls,N="onPointerLeave",h="onPointerEnter",d="pointer"),hl=b==null?g:La(b),y=C==null?g:La(C),g=new w(N,d+"leave",b,e,x),g.target=hl,g.relatedTarget=y,N=null,Je(x)===v&&(w=new w(h,d+"enter",C,e,x),w.target=y,w.relatedTarget=hl,N=w),hl=N,b&&C)t:{for(w=G0,h=b,d=C,y=0,N=h;N;N=w(N))y++;N=0;for(var L=d;L;L=w(L))N++;for(;0<y-N;)h=w(h),y--;for(;0<N-y;)d=w(d),N--;for(;y--;){if(h===d||d!==null&&h===d.alternate){w=h;break t}h=w(h),d=w(d)}w=null}else w=null;b!==null&&Kr(j,g,b,w,!1),C!==null&&hl!==null&&Kr(j,hl,C,w,!0)}}l:{if(g=v?La(v):window,b=g.nodeName&&g.nodeName.toLowerCase(),b==="select"||b==="input"&&g.type==="file")var ul=fs;else if(is(g))if(ss)ul=Im;else{ul=Wm;var B=$m}else b=g.nodeName,!b||b.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?v&&ri(v.elementType)&&(ul=fs):ul=Fm;if(ul&&(ul=ul(l,v))){cs(j,ul,e,x);break l}B&&B(l,g,v),l==="focusout"&&v&&g.type==="number"&&v.memoizedProps.value!=null&&oi(g,"number",g.value)}switch(B=v?La(v):window,l){case"focusin":(is(B)||B.contentEditable==="true")&&(aa=B,zi=v,Ja=null);break;case"focusout":Ja=zi=aa=null;break;case"mousedown":Ai=!0;break;case"contextmenu":case"mouseup":case"dragend":Ai=!1,gs(j,e,x);break;case"selectionchange":if(l0)break;case"keydown":case"keyup":gs(j,e,x)}var J;if(Si)l:{switch(l){case"compositionstart":var al="onCompositionStart";break l;case"compositionend":al="onCompositionEnd";break l;case"compositionupdate":al="onCompositionUpdate";break l}al=void 0}else ea?ns(l,e)&&(al="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(al="onCompositionStart");al&&(ts&&e.locale!=="ko"&&(ea||al!=="onCompositionStart"?al==="onCompositionEnd"&&ea&&(J=Wf()):(ee=x,vi="value"in ee?ee.value:ee.textContent,ea=!0)),B=Hu(v,al),0<B.length&&(al=new Pf(al,l,null,e,x),j.push({event:al,listeners:B}),J?al.data=J:(J=us(e),J!==null&&(al.data=J)))),(J=Zm?Vm(l,e):Km(l,e))&&(al=Hu(v,"onBeforeInput"),0<al.length&&(B=new Pf("onBeforeInput","beforeinput",null,e,x),j.push({event:B,listeners:al}),B.data=J)),q0(j,l,v,e,x)}Zr(j,t)})}function xn(l,t,e){return{instance:l,listener:t,currentTarget:e}}function Hu(l,t){for(var e=t+"Capture",a=[];l!==null;){var n=l,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=wa(l,e),n!=null&&a.unshift(xn(l,n,u)),n=wa(l,t),n!=null&&a.push(xn(l,n,u))),l.tag===3)return a;l=l.return}return[]}function G0(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Kr(l,t,e,a,n){for(var u=t._reactName,i=[];e!==null&&e!==a;){var c=e,o=c.alternate,v=c.stateNode;if(c=c.tag,o!==null&&o===a)break;c!==5&&c!==26&&c!==27||v===null||(o=v,n?(v=wa(e,u),v!=null&&i.unshift(xn(e,v,o))):n||(v=wa(e,u),v!=null&&i.push(xn(e,v,o)))),e=e.return}i.length!==0&&l.push({event:t,listeners:i})}var Q0=/\r\n?/g,X0=/\u0000|\uFFFD/g;function kr(l){return(typeof l=="string"?l:""+l).replace(Q0,`
|
|
`).replace(X0,"")}function Jr(l,t){return t=kr(t),kr(l)===t}function ml(l,t,e,a,n,u){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Pe(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Pe(l,""+a);break;case"className":Yn(l,"class",a);break;case"tabIndex":Yn(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Yn(l,e,a);break;case"style":kf(l,a,u);break;case"data":if(t!=="object"){Yn(l,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||e!=="href")){l.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=wn(""+a),l.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(e,"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"&&(e==="formAction"?(t!=="input"&&ml(l,t,"name",n.name,n,null),ml(l,t,"formEncType",n.formEncType,n,null),ml(l,t,"formMethod",n.formMethod,n,null),ml(l,t,"formTarget",n.formTarget,n,null)):(ml(l,t,"encType",n.encType,n,null),ml(l,t,"method",n.method,n,null),ml(l,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=wn(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=Bt);break;case"onScroll":a!=null&&ll("scroll",l);break;case"onScrollEnd":a!=null&&ll("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(s(60));l.innerHTML=e}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}e=wn(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""+a):l.removeAttribute(e);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":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""):l.removeAttribute(e);break;case"capture":case"download":a===!0?l.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(e,a):l.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(e):l.setAttribute(e,a);break;case"popover":ll("beforetoggle",l),ll("toggle",l),qn(l,"popover",a);break;case"xlinkActuate":Rt(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Rt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Rt(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Rt(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Rt(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Rt(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Rt(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Rt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Rt(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":qn(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=gm.get(e)||e,qn(l,e,a))}}function Fc(l,t,e,a,n,u){switch(e){case"style":kf(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(s(60));l.innerHTML=e}}break;case"children":typeof a=="string"?Pe(l,a):(typeof a=="number"||typeof a=="bigint")&&Pe(l,""+a);break;case"onScroll":a!=null&&ll("scroll",l);break;case"onScrollEnd":a!=null&&ll("scrollend",l);break;case"onClick":a!=null&&(l.onclick=Bt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Yf.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),t=e.slice(2,n?e.length-7:void 0),u=l[Pl]||null,u=u!=null?u[e]:null,typeof u=="function"&&l.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(t,a,n);break l}e in l?l[e]=a:a===!0?l.setAttribute(e,""):qn(l,e,a)}}}function Xl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ll("error",l),ll("load",l);var a=!1,n=!1,u;for(u in e)if(e.hasOwnProperty(u)){var i=e[u];if(i!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:ml(l,t,u,i,e,null)}}n&&ml(l,t,"srcSet",e.srcSet,e,null),a&&ml(l,t,"src",e.src,e,null);return;case"input":ll("invalid",l);var c=u=i=n=null,o=null,v=null;for(a in e)if(e.hasOwnProperty(a)){var x=e[a];if(x!=null)switch(a){case"name":n=x;break;case"type":i=x;break;case"checked":o=x;break;case"defaultChecked":v=x;break;case"value":u=x;break;case"defaultValue":c=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(s(137,t));break;default:ml(l,t,a,x,e,null)}}Xf(l,u,c,o,v,i,n,!1);return;case"select":ll("invalid",l),a=i=u=null;for(n in e)if(e.hasOwnProperty(n)&&(c=e[n],c!=null))switch(n){case"value":u=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:ml(l,t,n,c,e,null)}t=u,e=i,l.multiple=!!a,t!=null?Ie(l,!!a,t,!1):e!=null&&Ie(l,!!a,e,!0);return;case"textarea":ll("invalid",l),u=n=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":n=c;break;case"children":u=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(s(91));break;default:ml(l,t,i,c,e,null)}Vf(l,a,n,u);return;case"option":for(o in e)if(e.hasOwnProperty(o)&&(a=e[o],a!=null))switch(o){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:ml(l,t,o,a,e,null)}return;case"dialog":ll("beforetoggle",l),ll("toggle",l),ll("cancel",l),ll("close",l);break;case"iframe":case"object":ll("load",l);break;case"video":case"audio":for(a=0;a<pn.length;a++)ll(pn[a],l);break;case"image":ll("error",l),ll("load",l);break;case"details":ll("toggle",l);break;case"embed":case"source":case"link":ll("error",l),ll("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(v in e)if(e.hasOwnProperty(v)&&(a=e[v],a!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:ml(l,t,v,a,e,null)}return;default:if(ri(t)){for(x in e)e.hasOwnProperty(x)&&(a=e[x],a!==void 0&&Fc(l,t,x,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&ml(l,t,c,a,e,null))}function Z0(l,t,e,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,i=null,c=null,o=null,v=null,x=null;for(b in e){var j=e[b];if(e.hasOwnProperty(b)&&j!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":o=j;default:a.hasOwnProperty(b)||ml(l,t,b,null,a,j)}}for(var g in a){var b=a[g];if(j=e[g],a.hasOwnProperty(g)&&(b!=null||j!=null))switch(g){case"type":u=b;break;case"name":n=b;break;case"checked":v=b;break;case"defaultChecked":x=b;break;case"value":i=b;break;case"defaultValue":c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(s(137,t));break;default:b!==j&&ml(l,t,g,b,a,j)}}si(l,i,c,o,v,x,u,n);return;case"select":b=i=c=g=null;for(u in e)if(o=e[u],e.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":b=o;default:a.hasOwnProperty(u)||ml(l,t,u,null,a,o)}for(n in a)if(u=a[n],o=e[n],a.hasOwnProperty(n)&&(u!=null||o!=null))switch(n){case"value":g=u;break;case"defaultValue":c=u;break;case"multiple":i=u;default:u!==o&&ml(l,t,n,u,a,o)}t=c,e=i,a=b,g!=null?Ie(l,!!e,g,!1):!!a!=!!e&&(t!=null?Ie(l,!!e,t,!0):Ie(l,!!e,e?[]:"",!1));return;case"textarea":b=g=null;for(c in e)if(n=e[c],e.hasOwnProperty(c)&&n!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:ml(l,t,c,null,a,n)}for(i in a)if(n=a[i],u=e[i],a.hasOwnProperty(i)&&(n!=null||u!=null))switch(i){case"value":g=n;break;case"defaultValue":b=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==u&&ml(l,t,i,n,a,u)}Zf(l,g,b);return;case"option":for(var C in e)if(g=e[C],e.hasOwnProperty(C)&&g!=null&&!a.hasOwnProperty(C))switch(C){case"selected":l.selected=!1;break;default:ml(l,t,C,null,a,g)}for(o in a)if(g=a[o],b=e[o],a.hasOwnProperty(o)&&g!==b&&(g!=null||b!=null))switch(o){case"selected":l.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:ml(l,t,o,g,a,b)}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 w in e)g=e[w],e.hasOwnProperty(w)&&g!=null&&!a.hasOwnProperty(w)&&ml(l,t,w,null,a,g);for(v in a)if(g=a[v],b=e[v],a.hasOwnProperty(v)&&g!==b&&(g!=null||b!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(s(137,t));break;default:ml(l,t,v,g,a,b)}return;default:if(ri(t)){for(var hl in e)g=e[hl],e.hasOwnProperty(hl)&&g!==void 0&&!a.hasOwnProperty(hl)&&Fc(l,t,hl,void 0,a,g);for(x in a)g=a[x],b=e[x],!a.hasOwnProperty(x)||g===b||g===void 0&&b===void 0||Fc(l,t,x,g,a,b);return}}for(var h in e)g=e[h],e.hasOwnProperty(h)&&g!=null&&!a.hasOwnProperty(h)&&ml(l,t,h,null,a,g);for(j in a)g=a[j],b=e[j],!a.hasOwnProperty(j)||g===b||g==null&&b==null||ml(l,t,j,g,a,b)}function $r(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function V0(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var n=e[a],u=n.transferSize,i=n.initiatorType,c=n.duration;if(u&&c&&$r(i)){for(i=0,c=n.responseEnd,a+=1;a<e.length;a++){var o=e[a],v=o.startTime;if(v>c)break;var x=o.transferSize,j=o.initiatorType;x&&$r(j)&&(o=o.responseEnd,i+=x*(o<c?1:(c-v)/(o-v)))}if(--a,t+=8*(u+i)/(n.duration/1e3),l++,10<l)break}}if(0<l)return t/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var Ic=null,Pc=null;function Ru(l){return l.nodeType===9?l:l.ownerDocument}function Wr(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Fr(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}function lf(l,t){return l==="textarea"||l==="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 tf=null;function K0(){var l=window.event;return l&&l.type==="popstate"?l===tf?!1:(tf=l,!0):(tf=null,!1)}var Ir=typeof setTimeout=="function"?setTimeout:void 0,k0=typeof clearTimeout=="function"?clearTimeout:void 0,Pr=typeof Promise=="function"?Promise:void 0,J0=typeof queueMicrotask=="function"?queueMicrotask:typeof Pr<"u"?function(l){return Pr.resolve(null).then(l).catch($0)}:Ir;function $0(l){setTimeout(function(){throw l})}function pe(l){return l==="head"}function ld(l,t){var e=t,a=0;do{var n=e.nextSibling;if(l.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(n),Da(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")Sn(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,Sn(e);for(var u=e.firstChild;u;){var i=u.nextSibling,c=u.nodeName;u[Ya]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=i}}else e==="body"&&Sn(l.ownerDocument.body);e=n}while(e);Da(t)}function td(l,t){var e=l;l=0;do{var a=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(l===0)break;l--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||l++;e=a}while(e)}function ef(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":ef(e),ci(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function W0(l,t,e,a){for(;l.nodeType===1;){var n=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[Ya])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(u=l.getAttribute("rel"),u==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(u!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(u=l.getAttribute("src"),(u!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===u)return l}else return l;if(l=zt(l.nextSibling),l===null)break}return null}function F0(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=zt(l.nextSibling),l===null))return null;return l}function ed(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=zt(l.nextSibling),l===null))return null;return l}function af(l){return l.data==="$?"||l.data==="$~"}function nf(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function I0(l,t){var e=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||e.readyState!=="loading")t();else{var a=function(){t(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function zt(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}var uf=null;function ad(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return zt(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function nd(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return l;t--}else e!=="/$"&&e!=="/&"||t++}l=l.previousSibling}return null}function ud(l,t,e){switch(t=Ru(e),l){case"html":if(l=t.documentElement,!l)throw Error(s(452));return l;case"head":if(l=t.head,!l)throw Error(s(453));return l;case"body":if(l=t.body,!l)throw Error(s(454));return l;default:throw Error(s(451))}}function Sn(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);ci(l)}var At=new Map,id=new Set;function Bu(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var It=D.d;D.d={f:P0,r:lh,D:th,C:eh,L:ah,m:nh,X:ih,S:uh,M:ch};function P0(){var l=It.f(),t=Eu();return l||t}function lh(l){var t=$e(l);t!==null&&t.tag===5&&t.type==="form"?jo(t):It.r(l)}var Ea=typeof document>"u"?null:document;function cd(l,t,e){var a=Ea;if(a&&typeof t=="string"&&t){var n=bt(t);n='link[rel="'+l+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),id.has(n)||(id.add(n),l={rel:l,crossOrigin:e,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Xl(t,"link",l),ql(t),a.head.appendChild(t)))}}function th(l){It.D(l),cd("dns-prefetch",l,null)}function eh(l,t){It.C(l,t),cd("preconnect",l,t)}function ah(l,t,e){It.L(l,t,e);var a=Ea;if(a&&l&&t){var n='link[rel="preload"][as="'+bt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+bt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+bt(e.imageSizes)+'"]')):n+='[href="'+bt(l)+'"]';var u=n;switch(t){case"style":u=_a(l);break;case"script":u=Ma(l)}At.has(u)||(l=_({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),At.set(u,l),a.querySelector(n)!==null||t==="style"&&a.querySelector(Nn(u))||t==="script"&&a.querySelector(jn(u))||(t=a.createElement("link"),Xl(t,"link",l),ql(t),a.head.appendChild(t)))}}function nh(l,t){It.m(l,t);var e=Ea;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+bt(a)+'"][href="'+bt(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ma(l)}if(!At.has(u)&&(l=_({rel:"modulepreload",href:l},t),At.set(u,l),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(jn(u)))return}a=e.createElement("link"),Xl(a,"link",l),ql(a),e.head.appendChild(a)}}}function uh(l,t,e){It.S(l,t,e);var a=Ea;if(a&&l){var n=We(a).hoistableStyles,u=_a(l);t=t||"default";var i=n.get(u);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(Nn(u)))c.loading=5;else{l=_({rel:"stylesheet",href:l,"data-precedence":t},e),(e=At.get(u))&&cf(l,e);var o=i=a.createElement("link");ql(o),Xl(o,"link",l),o._p=new Promise(function(v,x){o.onload=v,o.onerror=x}),o.addEventListener("load",function(){c.loading|=1}),o.addEventListener("error",function(){c.loading|=2}),c.loading|=4,qu(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:c},n.set(u,i)}}}function ih(l,t){It.X(l,t);var e=Ea;if(e&&l){var a=We(e).hoistableScripts,n=Ma(l),u=a.get(n);u||(u=e.querySelector(jn(n)),u||(l=_({src:l,async:!0},t),(t=At.get(n))&&ff(l,t),u=e.createElement("script"),ql(u),Xl(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function ch(l,t){It.M(l,t);var e=Ea;if(e&&l){var a=We(e).hoistableScripts,n=Ma(l),u=a.get(n);u||(u=e.querySelector(jn(n)),u||(l=_({src:l,async:!0,type:"module"},t),(t=At.get(n))&&ff(l,t),u=e.createElement("script"),ql(u),Xl(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function fd(l,t,e,a){var n=(n=I.current)?Bu(n):null;if(!n)throw Error(s(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=_a(e.href),e=We(n).hoistableStyles,a=e.get(t),a||(a={type:"style",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=_a(e.href);var u=We(n).hoistableStyles,i=u.get(l);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(l,i),(u=n.querySelector(Nn(l)))&&!u._p&&(i.instance=u,i.state.loading=5),At.has(l)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},At.set(l,e),u||fh(n,l,e,i.state))),t&&a===null)throw Error(s(528,""));return i}if(t&&a!==null)throw Error(s(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ma(e),e=We(n).hoistableScripts,a=e.get(t),a||(a={type:"script",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,l))}}function _a(l){return'href="'+bt(l)+'"'}function Nn(l){return'link[rel="stylesheet"]['+l+"]"}function sd(l){return _({},l,{"data-precedence":l.precedence,precedence:null})}function fh(l,t,e,a){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=l.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Xl(t,"link",e),ql(t),l.head.appendChild(t))}function Ma(l){return'[src="'+bt(l)+'"]'}function jn(l){return"script[async]"+l}function od(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+bt(e.href)+'"]');if(a)return t.instance=a,ql(a),a;var n=_({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),ql(a),Xl(a,"style",n),qu(a,e.precedence,l),t.instance=a;case"stylesheet":n=_a(e.href);var u=l.querySelector(Nn(n));if(u)return t.state.loading|=4,t.instance=u,ql(u),u;a=sd(e),(n=At.get(n))&&cf(a,n),u=(l.ownerDocument||l).createElement("link"),ql(u);var i=u;return i._p=new Promise(function(c,o){i.onload=c,i.onerror=o}),Xl(u,"link",a),t.state.loading|=4,qu(u,e.precedence,l),t.instance=u;case"script":return u=Ma(e.src),(n=l.querySelector(jn(u)))?(t.instance=n,ql(n),n):(a=e,(n=At.get(u))&&(a=_({},e),ff(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),ql(n),Xl(n,"link",a),l.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,qu(a,e.precedence,l));return t.instance}function qu(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===t)u=c;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}function cf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function ff(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Yu=null;function rd(l,t,e){if(Yu===null){var a=new Map,n=Yu=new Map;n.set(e,a)}else n=Yu,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),n=0;n<e.length;n++){var u=e[n];if(!(u[Ya]||u[Ll]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var i=u.getAttribute(t)||"";i=l+i;var c=a.get(i);c?c.push(u):a.set(i,[u])}}return a}function dd(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function sh(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){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 l=t.disabled,typeof t.precedence=="string"&&l==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 md(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function oh(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=_a(a.href),u=t.querySelector(Nn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Lu.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=u,ql(u);return}u=t.ownerDocument||t,a=sd(a),(n=At.get(n))&&cf(a,n),u=u.createElement("link"),ql(u);var i=u;i._p=new Promise(function(c,o){i.onload=c,i.onerror=o}),Xl(u,"link",a),e.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Lu.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var sf=0;function rh(l,t){return l.stylesheets&&l.count===0&&Gu(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Gu(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+t);0<l.imgBytes&&sf===0&&(sf=62500*V0());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Gu(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>sf?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Lu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gu(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var wu=null;function Gu(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,wu=new Map,t.forEach(dh,l),wu=null,Lu.call(l))}function dh(l,t){if(!(t.state.loading&4)){var e=wu.get(l);if(e)var a=e.get(null);else{e=new Map,wu.set(l,e);for(var n=l.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var i=n[u];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}n=t.instance,i=n.getAttribute("data-precedence"),u=e.get(i)||a,u===a&&e.set(null,n),e.set(i,n),this.count++,a=Lu.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(n,l.firstChild)),t.state.loading|=4}}var Tn={$$typeof:yl,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function mh(l,t,e,a,n,u,i,c,o){this.tag=1,this.containerInfo=l,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=ai(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ai(0),this.hiddenUpdates=ai(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function hd(l,t,e,a,n,u,i,c,o,v,x,j){return l=new mh(l,t,e,i,o,v,x,j,c),t=1,u===!0&&(t|=24),u=rt(3,null,null,t),l.current=u,u.stateNode=l,t=Gi(),t.refCount++,l.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:t},Vi(u),l}function yd(l){return l?(l=ia,l):ia}function vd(l,t,e,a,n,u){n=yd(n),a.context===null?a.context=n:a.pendingContext=n,a=fe(t),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=se(l,a,t),e!==null&&(ut(e,l,t),tn(e,l,t))}function gd(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function of(l,t){gd(l,t),(l=l.alternate)&&gd(l,t)}function bd(l){if(l.tag===13||l.tag===31){var t=He(l,67108864);t!==null&&ut(t,l,67108864),of(l,67108864)}}function pd(l){if(l.tag===13||l.tag===31){var t=vt();t=ni(t);var e=He(l,t);e!==null&&ut(e,l,t),of(l,t)}}var Qu=!0;function hh(l,t,e,a){var n=S.T;S.T=null;var u=D.p;try{D.p=2,rf(l,t,e,a)}finally{D.p=u,S.T=n}}function yh(l,t,e,a){var n=S.T;S.T=null;var u=D.p;try{D.p=8,rf(l,t,e,a)}finally{D.p=u,S.T=n}}function rf(l,t,e,a){if(Qu){var n=df(a);if(n===null)Wc(l,t,a,Xu,e),Sd(l,a);else if(gh(n,l,t,e,a))a.stopPropagation();else if(Sd(l,a),t&4&&-1<vh.indexOf(l)){for(;n!==null;){var u=$e(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var i=Me(u.pendingLanes);if(i!==0){var c=u;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var o=1<<31-st(i);c.entanglements[1]|=o,i&=~o}Ht(u),(cl&6)===0&&(zu=ct()+500,bn(0))}}break;case 31:case 13:c=He(u,2),c!==null&&ut(c,u,2),Eu(),of(u,2)}if(u=df(a),u===null&&Wc(l,t,a,Xu,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else Wc(l,t,a,null,e)}}function df(l){return l=mi(l),mf(l)}var Xu=null;function mf(l){if(Xu=null,l=Je(l),l!==null){var t=H(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=Y(t),l!==null)return l;l=null}else if(e===31){if(l=$(t),l!==null)return l;l=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return Xu=l,null}function xd(l){switch(l){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(tm()){case Ef:return 2;case _f:return 8;case Un:case em:return 32;case Mf:return 268435456;default:return 32}default:return 32}}var hf=!1,xe=null,Se=null,Ne=null,zn=new Map,An=new Map,je=[],vh="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 Sd(l,t){switch(l){case"focusin":case"focusout":xe=null;break;case"dragenter":case"dragleave":Se=null;break;case"mouseover":case"mouseout":Ne=null;break;case"pointerover":case"pointerout":zn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":An.delete(t.pointerId)}}function En(l,t,e,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=$e(t),t!==null&&bd(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),l)}function gh(l,t,e,a,n){switch(t){case"focusin":return xe=En(xe,l,t,e,a,n),!0;case"dragenter":return Se=En(Se,l,t,e,a,n),!0;case"mouseover":return Ne=En(Ne,l,t,e,a,n),!0;case"pointerover":var u=n.pointerId;return zn.set(u,En(zn.get(u)||null,l,t,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,An.set(u,En(An.get(u)||null,l,t,e,a,n)),!0}return!1}function Nd(l){var t=Je(l.target);if(t!==null){var e=H(t);if(e!==null){if(t=e.tag,t===13){if(t=Y(e),t!==null){l.blockedOn=t,Rf(l.priority,function(){pd(e)});return}}else if(t===31){if(t=$(e),t!==null){l.blockedOn=t,Rf(l.priority,function(){pd(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Zu(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=df(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);di=a,e.target.dispatchEvent(a),di=null}else return t=$e(e),t!==null&&bd(t),l.blockedOn=e,!1;t.shift()}return!0}function jd(l,t,e){Zu(l)&&e.delete(t)}function bh(){hf=!1,xe!==null&&Zu(xe)&&(xe=null),Se!==null&&Zu(Se)&&(Se=null),Ne!==null&&Zu(Ne)&&(Ne=null),zn.forEach(jd),An.forEach(jd)}function Vu(l,t){l.blockedOn===t&&(l.blockedOn=null,hf||(hf=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,bh)))}var Ku=null;function Td(l){Ku!==l&&(Ku=l,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Ku===l&&(Ku=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],n=l[t+2];if(typeof a!="function"){if(mf(a||e)===null)continue;break}var u=$e(e);u!==null&&(l.splice(t,3),t-=3,rc(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}function Da(l){function t(o){return Vu(o,l)}xe!==null&&Vu(xe,l),Se!==null&&Vu(Se,l),Ne!==null&&Vu(Ne,l),zn.forEach(t),An.forEach(t);for(var e=0;e<je.length;e++){var a=je[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<je.length&&(e=je[0],e.blockedOn===null);)Nd(e),e.blockedOn===null&&je.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],i=n[Pl]||null;if(typeof u=="function")i||Td(e);else if(i){var c=null;if(u&&u.hasAttribute("formAction")){if(n=u,i=u[Pl]||null)c=i.formAction;else if(mf(n)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),Td(e)}}}function zd(){function l(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(e,20)}function e(){if(!a&&!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 a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function yf(l){this._internalRoot=l}ku.prototype.render=yf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(s(409));var e=t.current,a=vt();vd(e,a,l,t,null,null)},ku.prototype.unmount=yf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;vd(l.current,2,null,l,null,null),Eu(),t[ke]=null}};function ku(l){this._internalRoot=l}ku.prototype.unstable_scheduleHydration=function(l){if(l){var t=Hf();l={blockedOn:null,target:l,priority:t};for(var e=0;e<je.length&&t!==0&&t<je[e].priority;e++);je.splice(e,0,l),e===0&&Nd(l)}};var Ad=E.version;if(Ad!=="19.2.6")throw Error(s(527,Ad,"19.2.6"));D.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(s(188)):(l=Object.keys(l).join(","),Error(s(268,l)));return l=p(t),l=l!==null?q(l):null,l=l===null?null:l.stateNode,l};var ph={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:S,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ju.isDisabled&&Ju.supportsFiber)try{Ra=Ju.inject(ph),ft=Ju}catch{}}return Mn.createRoot=function(l,t){if(!U(l))throw Error(s(299));var e=!1,a="",n=Co,u=Ho,i=Ro;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=hd(l,1,!1,null,null,e,a,null,n,u,i,zd),l[ke]=t.current,$c(l),new yf(t)},Mn.hydrateRoot=function(l,t,e){if(!U(l))throw Error(s(299));var a=!1,n="",u=Co,i=Ho,c=Ro,o=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(o=e.formState)),t=hd(l,1,!0,t,e??null,a,n,o,u,i,c,zd),t.context=yd(null),e=t.current,a=vt(),a=ni(a),n=fe(a),n.callback=null,se(e,n,a),e=a,t.current.lanes=e,qa(t,e),Ht(t),l[ke]=t.current,$c(l),new ku(t)},Mn.version="19.2.6",Mn}var Bd;function Mh(){if(Bd)return bf.exports;Bd=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(E){console.error(E)}}return r(),bf.exports=_h(),bf.exports}var Dh=Mh();const Oh={id:{nav:{tentangKami:"Tentang Kami",program:"Program",sdm:"SDM",fasilitas:"Fasilitas",karyaAgenda:"Karya & Agenda",kontak:"Kontak",satuUntan:"SATU UNTAN"},hero:{badge:"MAHASISWA & PRESTASI",title:"Sorotan dan Prestasi Karya Mahasiswa",desc:"Galeri pencapaian, penghargaan, dan portofolio inovasi teknologi yang dikembangkan oleh mahasiswa Program Studi Informatika Universitas Tanjungpura."},about:{title:"Tentang Program Studi",desc:"Program Studi Informatika Universitas Tanjungpura adalah program yang berfokus pada pengembangan ilmu komputer, rekayasa perangkat lunak, dan inovasi teknologi informasi. Mahasiswa kami aktif berprestasi di tingkat regional, nasional, maupun internasional, membawa nama baik Kalimantan Barat ke panggung dunia.",tag:"Program Studi"},stats:{totalPrestasi:"Total Prestasi",totalProyek:"Total Proyek Mahasiswa"},achievement:{sectionTitle:"Prestasi Mahasiswa",sectionDesc:"Daftar pencapaian dan penghargaan yang diraih oleh mahasiswa Informatika UNTAN di berbagai kompetisi.",filterTitle:"Filter Prestasi",searchPlaceholder:"Cari nama, prestasi, bidang...",allLevel:"Semua Tingkat",allField:"Semua Bidang",allYear:"Semua Tahun",resetFilter:"Reset Filter",noData:"Tidak ada prestasi yang sesuai filter.",noDataSub:"Coba ubah pilihan filter atau kata kunci pencarian.",showing:"Menampilkan",matching:"prestasi yang sesuai filter",loadMore:"Muat Lebih Banyak",showLess:"Tampilkan Lebih Sedikit",allShown:"prestasi telah ditampilkan.",readMore:"Baca Selengkapnya"},project:{sectionTitle:"Top Projects & Portofolio",sectionDesc:"Jelajahi inovasi digital dan aplikasi nyata yang dikembangkan oleh mahasiswa Informatika UNTAN.",scrollHint:"← Geser untuk melihat lebih banyak →",explore:"Telusuri Lanjut",visitLink:"Kunjungi Proyek",noLink:"Link tidak tersedia",by:"oleh",readMore:"Baca Selengkapnya",filterTitle:"Filter Portofolio",searchPlaceholder:"Cari judul, mahasiswa, bidang...",allField:"Semua Bidang",allYear:"Semua Tahun",resetFilter:"Reset Filter",noData:"Tidak ada proyek yang sesuai filter.",noDataSub:"Coba ubah pilihan filter atau kata kunci pencarian.",showing:"Menampilkan",matching:"proyek yang sesuai filter",loadMore:"Muat Lebih Banyak",showLess:"Tampilkan Lebih Sedikit",allShown:"proyek telah ditampilkan."},modal:{close:"Tutup",nim:"NIM",angkatan:"Angkatan",tahun:"Tahun",tingkat:"Tingkat",bidang:"Bidang",kompetisi:"Kompetisi",peringkat:"Peringkat",tim:"Tim / Nama",deskripsi:"Deskripsi",mahasiswa:"Mahasiswa",link:"Link Proyek",namaProyek:"Nama Proyek"},cta:{badge:"HUBUNGI KAMI",title:"Ingin Tahu Lebih Lanjut?",desc:"Tertarik bergabung dengan Program Studi Informatika UNTAN, mendaftarkan prestasi mahasiswa, atau menjalin kerja sama? Hubungi kami sekarang.",waButton:"Chat via WhatsApp",webButton:"Kunjungi Website Kami",contactTitle:"Informasi Kontak",emailLabel:"Email",email:"informatika@untan.ac.id",phone:"+62 561 577963",address:"Jl. Prof. Dr. H. Hadari Nawawi, Bansir Laut, Pontianak Tenggara, 78124"},footer:{desc:`Program Studi Informatika, Universitas Tanjungpura.
|
|
Jl. Prof. Dr. H. Hadari Nawawi, Bansir Laut, Kec. Pontianak Tenggara, Kota Pontianak, Kalimantan Barat 78124`,kategori:"Kategori",tautan:"Tautan Penting",berita:"Berita & Informasi",pengumuman:"Pengumuman Akademik",prestasi:"Prestasi Mahasiswa",siakad:"SIAKAD UNTAN",elearning:"E-Learning UNTAN",privacy:"Kebijakan Privasi",terms:"Syarat & Ketentuan",rights:"All rights reserved."}},en:{nav:{tentangKami:"About Us",program:"Programs",sdm:"Human Resources",fasilitas:"Facilities",karyaAgenda:"Works & Events",kontak:"Contact",satuUntan:"SATU UNTAN"},hero:{badge:"STUDENTS & ACHIEVEMENTS",title:"Student Spotlights & Achievements",desc:"Gallery of accomplishments, awards, and technology innovation portfolios developed by Informatics students of Tanjungpura University."},about:{title:"About the Study Program",desc:"The Informatics Study Program at Tanjungpura University focuses on computer science, software engineering, and information technology innovation. Our students actively excel at regional, national, and international levels, representing West Kalimantan on the world stage.",tag:"Study Program"},stats:{totalPrestasi:"Total Achievements",totalProyek:"Total Student Projects"},achievement:{sectionTitle:"Student Achievements",sectionDesc:"List of awards and accomplishments by Informatics UNTAN students in various competitions.",filterTitle:"Filter Achievements",searchPlaceholder:"Search name, achievement, field...",allLevel:"All Levels",allField:"All Fields",allYear:"All Years",resetFilter:"Reset Filter",noData:"No achievements match the current filter.",noDataSub:"Try adjusting your filter or search keyword.",showing:"Showing",matching:"matching achievements",loadMore:"Load More",showLess:"Show Less",allShown:"achievements displayed.",readMore:"Read More"},project:{sectionTitle:"Top Projects & Portfolios",sectionDesc:"Explore digital innovations and real-world applications developed by Informatics UNTAN students.",scrollHint:"← Swipe to see more →",explore:"Explore More",visitLink:"Visit Project",noLink:"Link unavailable",by:"by",readMore:"Read More",filterTitle:"Filter Portfolios",searchPlaceholder:"Search title, student, field...",allField:"All Fields",allYear:"All Years",resetFilter:"Reset Filter",noData:"No projects match the current filter.",noDataSub:"Try adjusting your filter or search keyword.",showing:"Showing",matching:"matching projects",loadMore:"Load More",showLess:"Show Less",allShown:"projects displayed."},modal:{close:"Close",nim:"Student ID",angkatan:"Batch",tahun:"Year",tingkat:"Level",bidang:"Field",kompetisi:"Competition",peringkat:"Rank",tim:"Team / Name",deskripsi:"Description",mahasiswa:"Student",link:"Project Link",namaProyek:"Project Name"},cta:{badge:"CONTACT US",title:"Want to Know More?",desc:"Interested in joining the Informatics Study Program at UNTAN, registering a student achievement, or establishing a partnership? Contact us now.",waButton:"Chat via WhatsApp",webButton:"Visit Our Website",contactTitle:"Contact Information",emailLabel:"Email",address:"Jl. Prof. Dr. H. Hadari Nawawi, Bansir Laut, Pontianak Tenggara, 78124"},footer:{desc:`Informatics Study Program, Tanjungpura University.
|
|
Jl. Prof. Dr. H. Hadari Nawawi, Bansir Laut, Kec. Pontianak Tenggara, Pontianak City, West Kalimantan 78124`,kategori:"Categories",tautan:"Important Links",berita:"News & Information",pengumuman:"Academic Announcements",prestasi:"Student Achievements",siakad:"SIAKAD UNTAN",elearning:"E-Learning UNTAN",privacy:"Privacy Policy",terms:"Terms & Conditions",rights:"All rights reserved."}}},Uh="if_untan_lang";function Ch(){return localStorage.getItem(Uh)==="en"||(navigator.language||"id").toLowerCase().startsWith("en")?"en":"id"}const Gd=F.createContext(null);function Hh({children:r}){const[E,A]=F.useState(Ch);F.useEffect(()=>{const U=H=>{const Y=H.detail;((Y==null?void 0:Y.lang)==="en"||(Y==null?void 0:Y.lang)==="id")&&A(Y.lang)};return document.addEventListener("languageChanged",U),()=>document.removeEventListener("languageChanged",U)},[]);const s=()=>A(U=>U==="id"?"en":"id");return f.jsx(Gd.Provider,{value:{lang:E,t:Oh[E],toggleLang:s},children:r})}function Ee(){const r=F.useContext(Gd);if(!r)throw new Error("useLang must be used within LanguageProvider");return r}const Ua="https://api.ifuntanhub.dev",Qd={1:"Kecerdasan Buatan",2:"Cyber Security",3:"Data",4:"Software Engineering",5:"Competitive Programming",6:"IoT",7:"Smart City",8:"Web3",9:"Karya Tulis Ilmiah",10:"Robotik"};function Rh(r){const E=r.match(/(Juara\s+\d+|Juara\s+Harapan\s*\d*|Top\s+\d+|Finalis|Peringkat\s+\d+|Medali\s+\w+)/i);return E?E[0]:"Pemenang"}function Bh(r,E){const A=`${r} ${E}`.toLowerCase();return A.includes("internasional")||A.includes("international")||A.includes("global")||A.includes("world")||A.includes("asean")||A.includes("unesco")?"Internasional":A.includes("regional")||A.includes("kalbar")||A.includes("kalimantan")||A.includes("provinsi")||A.includes("kota")||A.includes("kabupaten")||A.includes("lokal")?"Regional":"Nasional"}function qh(r){return r.replace(/^(Juara\s+\d+|Juara\s+Harapan\s*\d*|Top\s+\d+|Finalis|Peringkat\s+\d+|Medali\s+\w+)\s+(di\s+|pada\s+|dalam\s+)?/i,"").trim()}async function Yh(){const r=await fetch(`${Ua}/items/prestasi?fields=*.*`);if(!r.ok)throw new Error(`Failed to fetch achievements: ${r.statusText}`);return((await r.json()).data||[]).filter(s=>s.status==="published").map(s=>{const U=String(s.id),H=s.nama_prestasi||"Untitled Achievement";let Y="Umum";s.bidang_id&&(typeof s.bidang_id=="object"&&s.bidang_id.nama_bidang?Y=s.bidang_id.nama_bidang:Y=Qd[s.bidang_id]||"Umum");const $=Rh(H),M=Bh(H,Y),p=qh(H),q=parseInt(s.tahun)||new Date().getFullYear(),_=Array.isArray(s.anggota)?s.anggota:[],X=s.nama_tim||(_.length>0?_[0].nama:"Mahasiswa");let Z=`https://picsum.photos/seed/prestasi-${U}/800/600`;if(s.galeri&&Array.isArray(s.galeri)&&s.galeri.length>0){const Sl=s.galeri[0],_l=typeof Sl=="string"?Sl:Sl.directus_files_id||Sl.id;_l&&(Z=`${Ua}/assets/${_l}`)}else s.foto&&(Z=`${Ua}/assets/${s.foto}`);const tl=(s.nama_tim||s.nama_prestasi||"IF").substring(0,2).toUpperCase(),Nl=s.deskripsi||`${X} berhasil meraih prestasi luar biasa sebagai ${$} dalam ajang ${p} tahun ${q} pada bidang ${Y.toLowerCase()}.`;return{id:U,title:H,category:Y,competition:p,rank:$,year:q,level:M,description:Nl,team:X,nim:s.nim||void 0,generation:s.angkatan?`Angkatan ${s.angkatan}`:"Informatika",image:Z,avatar:tl,members:_.map(Sl=>({nama:Sl.nama,angkatan:Sl.angkatan?parseInt(Sl.angkatan):void 0}))}})}async function Lh(){const r=await fetch(`${Ua}/items/portfolio?fields=*,bidang.bidang_id.nama_bidang,galeri.*`);if(!r.ok)throw new Error(`Failed to fetch portfolio: ${r.statusText}`);return((await r.json()).data||[]).filter(s=>s.status==="published").map(s=>{const U=String(s.id),H=s.nama_proyek||"Untitled Project",Y=Array.isArray(s.anggota)?s.anggota:[],$=s.nama_mahasiswa||(Y.length>0?Y[0].nama:"Mahasiswa"),M=parseInt(s.tahun)||new Date().getFullYear(),p=s.deskripsi||"Tidak ada deskripsi.";let q=[];s.bidang&&Array.isArray(s.bidang)&&(q=s.bidang.map(Z=>Z.bidang_id&&typeof Z.bidang_id=="object"&&Z.bidang_id.nama_bidang?Z.bidang_id.nama_bidang:typeof Z.bidang_id=="number"&&Qd[Z.bidang_id]||"Umum").filter(Boolean)),q.length===0&&(q=["Umum"]);let _=s.url||void 0;_&&!/^https?:\/\//i.test(_)&&(_=`https://${_}`);let X=`https://picsum.photos/seed/project-${U}/800/600`;if(s.galeri&&Array.isArray(s.galeri)&&s.galeri.length>0){const Z=s.galeri[0],tl=typeof Z=="string"?Z:Z.directus_files_id||Z.id;tl&&(X=`${Ua}/assets/${tl}`)}else s.foto&&(X=`${Ua}/assets/${s.foto}`);return{id:U,title:H,studentName:$,nim:s.nim||void 0,year:M,category:q,description:p,image:X,link:_,catatan:s.catatan||void 0,members:Y.map(Z=>({nama:Z.nama,nim:Z.nim||void 0}))}})}const Xd=F.createContext(void 0);function wh({children:r}){const[E,A]=F.useState([]),[s,U]=F.useState([]),[H,Y]=F.useState(!0),[$,M]=F.useState(null),p=async()=>{Y(!0),M(null);try{const q=await Promise.allSettled([Yh(),Lh()]),_=q[0],X=q[1];let Z=!1,tl=[];_.status==="fulfilled"?A(_.value):(console.error("Failed to fetch achievements:",_.reason),tl.push("Gagal memuat data prestasi."),Z=!0),X.status==="fulfilled"?U(X.value):(console.error("Failed to fetch projects:",X.reason),tl.push("Gagal memuat data portofolio."),Z=!0),Z&&M(tl.join(" "))}catch(q){console.error("Unexpected error loading API data:",q),M("Terjadi kesalahan yang tidak terduga saat memuat data.")}finally{Y(!1)}};return F.useEffect(()=>{p()},[]),f.jsx(Xd.Provider,{value:{achievements:E,projects:s,loading:H,error:$,refetch:p},children:r})}function Tf(){const r=F.useContext(Xd);if(r===void 0)throw new Error("useData must be used within a DataProvider");return r}function Gh(){const{t:r}=Ee();return f.jsxs("div",{id:"hero",className:"acaab-full-bleed bg-untan-navy text-white pt-6 md:pt-8 lg:pt-10 mb-8 border-t border-white/10 relative",children:[f.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-6 lg:gap-10 items-center",children:[f.jsxs("div",{className:"max-w-3xl py-6 md:py-8 lg:py-10",children:[f.jsx("span",{className:"inline-block bg-untan-yellow text-slate-900 text-[10px] md:text-xs font-bold uppercase tracking-widest px-2 py-0.5 mb-3",children:r.hero.badge}),f.jsx("h1",{className:"text-2xl md:text-3xl lg:text-[36px] font-bold font-serif leading-tight md:leading-snug tracking-tight mb-3",children:r.hero.title}),f.jsx("p",{className:"text-slate-300 max-w-2xl text-sm md:text-base leading-relaxed",children:r.hero.desc})]}),f.jsxs("div",{className:"relative flex justify-center lg:justify-end items-end",children:[f.jsx("div",{className:"absolute bottom-0 w-[300px] h-[300px] bg-cyan-300/10 rounded-full blur-3xl"}),f.jsxs("div",{className:"relative",children:[f.jsx("img",{src:new URL(""+new URL("acaab-hero.png",import.meta.url).href,import.meta.url).href,alt:"Mahasiswa Informatika UNTAN",className:`\r
|
|
relative z-10\r
|
|
w-full\r
|
|
max-w-[300px]\r
|
|
md:max-w-[420px]\r
|
|
lg:max-w-[450px]\r
|
|
h-auto\r
|
|
object-contain\r
|
|
opacity-95\r
|
|
drop-shadow-[0_15px_35px_rgba(0,0,0,0.25)]\r
|
|
hover:scale-[1.02]\r
|
|
transition-all\r
|
|
duration-500\r
|
|
`}),f.jsx("div",{className:"absolute bottom-0 left-0 w-full h-40 bg-gradient-to-t from-untan-navy to-transparent z-20"}),f.jsx("div",{className:"absolute top-0 left-0 h-full w-20 bg-gradient-to-r from-untan-navy to-transparent z-20"})]})]})]})}),f.jsx("div",{className:"absolute top-0 right-0 -mr-20 -mt-20 w-80 h-80 bg-untan-yellow/10 rounded-full blur-3xl pointer-events-none"})]})}function Zd(r,E=1600){const[A,s]=F.useState(0),U=F.useRef(null),H=F.useRef(!1);return F.useEffect(()=>{H.current=!1;let Y,$;return $=new IntersectionObserver(([M])=>{if(M.isIntersecting&&!H.current){H.current=!0;let p=null;const q=_=>{p||(p=_);const X=Math.min((_-p)/E,1),Z=1-Math.pow(1-X,4);s(Math.round(r*Z)),X<1?Y=requestAnimationFrame(q):s(r)};Y=requestAnimationFrame(q)}},{threshold:.4}),U.current&&$.observe(U.current),()=>{$.disconnect(),Y&&cancelAnimationFrame(Y)}},[r,E]),{count:A,elRef:U}}function qd({value:r,label:E}){const{count:A,elRef:s}=Zd(r);return f.jsxs("div",{ref:s,className:"flex flex-col items-center justify-center gap-1 md:gap-1.5 px-2 h-full",children:[f.jsx("div",{className:"text-[3.5rem] md:text-[4.5rem] lg:text-[5rem] font-black font-display text-primary-navy leading-none tabular-nums",children:A}),f.jsx("div",{className:"text-[10px] md:text-[11px] lg:text-[13px] leading-none font-extrabold uppercase tracking-[0.1em] text-primary-navy text-center",children:E})]})}function Nf({label:r,value:E,delay:A=0}){const{count:s,elRef:U}=Zd(E,1600+A);return f.jsxs("div",{ref:U,className:"flex items-center gap-2 md:gap-3 lg:gap-4",children:[f.jsx("span",{className:"text-[10px] md:text-[11px] lg:text-[12px] leading-none font-extrabold uppercase tracking-[0.1em] text-primary-navy text-right",children:r}),f.jsx("span",{className:"text-lg md:text-xl lg:text-2xl leading-none font-black font-display text-primary-navy tabular-nums text-right w-[1rem] md:w-[1.25rem] lg:w-[1.5rem]",children:s})]})}function Yd(){return f.jsx("div",{className:"hidden md:flex items-center justify-center self-stretch",children:f.jsx("div",{className:"w-px h-full bg-primary-navy/10 rounded-full"})})}function Ld(){return f.jsx("div",{className:"block md:hidden h-px w-2/3 mx-auto bg-primary-navy/10 my-2 rounded-full"})}function Qh(){const{t:r,lang:E}=Ee(),{achievements:A,projects:s}=Tf(),U=A.length,H=s.length,Y=A.filter(_=>_.level==="Internasional").length,$=A.filter(_=>_.level==="Nasional").length,M=A.filter(_=>_.level==="Regional").length,p=new Date().toLocaleDateString(E==="id"?"id-ID":"en-US",{day:"numeric",month:"long",year:"numeric"}),q=E==="id"?`Data Terkumpul Per ${p}`:`Data Collected As Of ${p}`;return f.jsxs("div",{id:"tentang",children:[f.jsx("section",{className:"relative z-10 mb-2 rounded-xl overflow-hidden shadow-[0_10px_30px_-10px_rgba(253,184,19,0.4)]",children:f.jsxs("div",{className:"bg-[#FDB813] relative",children:[f.jsx("div",{className:"absolute inset-0 bg-white/5 mix-blend-overlay pointer-events-none"}),f.jsxs("div",{className:"relative grid grid-cols-1 stats-grid items-stretch px-4 md:px-6 lg:px-8 py-5 md:py-6 lg:py-7",children:[f.jsx("div",{className:"flex items-center justify-center",children:f.jsx(qd,{value:U,label:r.stats.totalPrestasi})}),f.jsx(Yd,{}),f.jsx(Ld,{}),f.jsx("div",{className:"flex items-center justify-center",children:f.jsx(qd,{value:H,label:r.stats.totalProyek})}),f.jsx(Yd,{}),f.jsx(Ld,{}),f.jsx("div",{className:"flex justify-center items-center px-4 md:px-0",children:f.jsxs("div",{className:"flex flex-col justify-center items-end gap-2 md:gap-3 lg:gap-3",children:[f.jsx(Nf,{label:"Internasional",value:Y,delay:0}),f.jsx(Nf,{label:"Nasional",value:$,delay:150}),f.jsx(Nf,{label:"Regional",value:M,delay:300})]})})]})]})}),f.jsx("p",{className:"text-[9px] md:text-[10px] font-semibold text-slate-400 tracking-wide mb-16 text-right pr-1",children:q})]})}/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const Xh=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Zh=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(E,A,s)=>s?s.toUpperCase():A.toLowerCase()),wd=r=>{const E=Zh(r);return E.charAt(0).toUpperCase()+E.slice(1)},Vd=(...r)=>r.filter((E,A,s)=>!!E&&E.trim()!==""&&s.indexOf(E)===A).join(" ").trim(),Vh=r=>{for(const E in r)if(E.startsWith("aria-")||E==="role"||E==="title")return!0};/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/var Kh={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"};/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const kh=F.forwardRef(({color:r="currentColor",size:E=24,strokeWidth:A=2,absoluteStrokeWidth:s,className:U="",children:H,iconNode:Y,...$},M)=>F.createElement("svg",{ref:M,...Kh,width:E,height:E,stroke:r,strokeWidth:s?Number(A)*24/Number(E):A,className:Vd("lucide",U),...!H&&!Vh($)&&{"aria-hidden":"true"},...$},[...Y.map(([p,q])=>F.createElement(p,q)),...Array.isArray(H)?H:[H]]));/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const Zl=(r,E)=>{const A=F.forwardRef(({className:s,...U},H)=>F.createElement(kh,{ref:H,iconNode:E,className:Vd(`lucide-${Xh(wd(r))}`,`lucide-${r}`,s),...U}));return A.displayName=wd(r),A};/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const Jh=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],$h=Zl("arrow-right",Jh);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const Wh=[["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"}]],Fh=Zl("award",Wh);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const Ih=[["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"}]],Kd=Zl("book-open",Ih);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const Ph=[["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"}]],Dn=Zl("calendar",Ph);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const ly=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Pt=Zl("chevron-down",ly);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const ty=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ey=Zl("chevron-left",ty);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const ay=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ny=Zl("chevron-right",ay);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const uy=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],kd=Zl("external-link",uy);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const iy=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],cy=Zl("file-text",iy);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const fy=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],Jd=Zl("funnel",fy);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const sy=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],oy=Zl("message-circle",sy);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const ry=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],$d=Zl("search",ry);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const dy=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],Wu=Zl("tag",dy);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const my=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],Wd=Zl("trophy",my);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const hy=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],yy=Zl("user",hy);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const vy=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Fd=Zl("users",vy);/**
|
|
* @license lucide-react v0.546.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const gy=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ca=Zl("x",gy);function by({achievement:r,onReadMore:E}){const{t:A}=Ee();return f.jsxs("article",{className:"bg-white rounded-lg overflow-hidden group hover:-translate-y-1 transition-all duration-300 shadow-md hover:shadow-xl border border-slate-200 flex flex-col h-full relative",children:[f.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-primary-navy z-10 group-hover:bg-primary-gold transition-colors"}),f.jsxs("div",{className:"relative h-56 overflow-hidden bg-slate-100",children:[f.jsx("img",{src:r.image,alt:r.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",referrerPolicy:"no-referrer",onError:s=>{s.target.src="https://placehold.co/800x600/003150/FDB813?text=Informatika+UNTAN"}}),f.jsxs("div",{className:"absolute top-3 left-3 bg-white/95 backdrop-blur text-primary-navy font-bold px-3 py-1 rounded shadow-sm flex items-center gap-1.5 text-xs",children:[f.jsx(Wd,{size:14,className:"text-primary-gold"}),r.rank]})]}),f.jsxs("div",{className:"p-6 flex flex-col flex-grow",children:[f.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[f.jsx("span",{className:"text-untan-blue text-xs font-bold uppercase tracking-wider",children:r.category}),f.jsxs("span",{className:"text-slate-400 text-xs font-medium flex items-center gap-1 border-l border-slate-300 pl-3",children:[f.jsx(Dn,{size:12}),r.year]})]}),f.jsx("h3",{className:"text-xl font-bold font-display text-primary-navy mb-3 leading-snug group-hover:text-untan-blue transition-colors",children:r.title}),f.jsx("p",{className:"text-slate-600 text-sm leading-relaxed mb-6 line-clamp-3",children:r.description}),f.jsxs("div",{className:"mt-auto border-t border-slate-100 pt-4",children:[f.jsxs("div",{className:"flex justify-between items-center mb-4",children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"w-8 h-8 rounded bg-primary-navy/5 flex items-center justify-center text-primary-navy font-bold text-xs ring-1 ring-primary-navy/10",children:r.avatar}),f.jsxs("div",{children:[f.jsx("span",{className:"font-bold text-slate-800 block text-sm",children:r.team}),f.jsx("span",{className:"text-slate-500 block text-xs",children:r.generation})]})]}),f.jsx("span",{className:"bg-slate-100 text-slate-600 text-[10px] px-2 py-1 rounded font-bold uppercase tracking-wide",children:r.level})]}),f.jsx("button",{onClick:()=>E(r),className:"w-full py-2.5 rounded bg-primary-navy/5 text-primary-navy font-bold hover:bg-primary-navy hover:text-white transition-all duration-300 text-sm min-h-[44px]",children:A.achievement.readMore})]})]})]})}function Oa({icon:r,label:E,value:A}){return f.jsxs("div",{className:"flex gap-2.5 items-start",children:[f.jsx("span",{className:"text-primary-gold mt-0.5 shrink-0",children:r}),f.jsxs("div",{children:[f.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-slate-400 leading-none mb-1",children:E}),f.jsx("p",{className:"text-sm font-semibold text-slate-800 leading-snug",children:A})]})]})}function py({achievement:r,onClose:E}){const{t:A}=Ee();return r?f.jsx("div",{className:"fixed inset-0 z-[300] flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm",onClick:E,"aria-modal":"true",role:"dialog","aria-label":r.title,children:f.jsxs("div",{className:"bg-white rounded-xl max-w-2xl w-full max-h-[90vh] overflow-y-auto shadow-2xl animate-fade-in",onClick:s=>s.stopPropagation(),children:[f.jsxs("div",{className:"relative h-56 overflow-hidden rounded-t-xl bg-slate-200 shrink-0",children:[f.jsx("img",{src:r.image,alt:r.title,className:"w-full h-full object-cover",referrerPolicy:"no-referrer"}),f.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"}),f.jsx("button",{onClick:E,"aria-label":A.modal.close,className:"absolute top-3 right-3 w-9 h-9 bg-white/90 backdrop-blur rounded-full flex items-center justify-center hover:bg-white transition-colors shadow-md",children:f.jsx(Ca,{size:18,className:"text-slate-700"})}),f.jsxs("div",{className:"absolute bottom-4 left-4 flex gap-2",children:[f.jsxs("span",{className:"bg-primary-gold text-slate-900 text-xs font-bold px-3 py-1.5 rounded flex items-center gap-1.5",children:[f.jsx(Wd,{size:12}),r.rank]}),f.jsx("span",{className:"bg-white/20 backdrop-blur text-white text-xs font-bold px-3 py-1.5 rounded uppercase tracking-wide",children:r.level})]})]}),f.jsxs("div",{className:"p-6",children:[f.jsx("div",{className:"mb-1",children:f.jsx("span",{className:"text-primary-untan-blue text-xs font-bold uppercase tracking-wider",children:r.category})}),f.jsx("h2",{className:"text-xl font-bold text-primary-navy leading-snug mb-5",children:r.title}),f.jsxs("div",{className:"grid grid-cols-2 gap-4 p-4 bg-slate-50 rounded-lg mb-5",children:[f.jsx(Oa,{icon:f.jsx(Fd,{size:14}),label:A.modal.tim,value:r.team}),r.nim&&f.jsx(Oa,{icon:f.jsx(Kd,{size:14}),label:A.modal.nim,value:r.nim}),f.jsx(Oa,{icon:f.jsx(Dn,{size:14}),label:A.modal.angkatan,value:r.generation}),f.jsx(Oa,{icon:f.jsx(Dn,{size:14}),label:A.modal.tahun,value:String(r.year)}),f.jsx(Oa,{icon:f.jsx(Fh,{size:14}),label:A.modal.kompetisi,value:r.competition}),f.jsx(Oa,{icon:f.jsx(Wu,{size:14}),label:A.modal.bidang,value:r.category})]}),r.members&&r.members.length>0&&f.jsxs("div",{className:"border-t border-slate-100 pt-4 mb-4",children:[f.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-slate-400 mb-2",children:"Anggota Tim"}),f.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:r.members.map((s,U)=>f.jsxs("li",{className:"flex items-center gap-2 bg-slate-50 px-3 py-2 rounded-md",children:[f.jsx("span",{className:"w-6 h-6 rounded-full bg-primary-gold/20 text-primary-gold flex items-center justify-center text-xs font-bold shrink-0",children:s.nama.charAt(0).toUpperCase()}),f.jsxs("div",{className:"flex flex-col",children:[f.jsx("span",{className:"text-sm font-semibold text-slate-700 leading-none",children:s.nama}),s.angkatan&&f.jsxs("span",{className:"text-[10px] text-slate-500 mt-1",children:["Angkatan ",s.angkatan]})]})]},U))})]}),f.jsxs("div",{className:"border-t border-slate-100 pt-4",children:[f.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-slate-400 mb-2",children:A.modal.deskripsi}),f.jsx("p",{className:"text-slate-600 text-sm leading-relaxed",children:r.description.replace(/\*\*/g,"")})]}),f.jsx("button",{onClick:E,className:"mt-6 w-full py-3 bg-primary-navy text-white font-bold rounded-lg hover:bg-untan-blue transition-colors duration-200 text-sm",children:A.modal.close})]})]})}):null}const ze=3,xy=3;function Sy(){const{t:r}=Ee(),{achievements:E,loading:A,error:s,refetch:U}=Tf(),[H,Y]=F.useState(""),[$,M]=F.useState(""),[p,q]=F.useState(""),[_,X]=F.useState(""),[Z,tl]=F.useState(ze),[Nl,Sl]=F.useState(null),_l=F.useMemo(()=>[...new Set(E.map(z=>z.category))].sort(),[E]),Vl=F.useMemo(()=>[...new Set(E.map(z=>z.year))].sort((z,G)=>G-z),[E]),yl=F.useMemo(()=>{const z=H.toLowerCase().trim();return E.filter(G=>{const kl=!z||G.title.toLowerCase().includes(z)||G.team.toLowerCase().includes(z)||G.category.toLowerCase().includes(z)||G.competition.toLowerCase().includes(z),it=!$||G.level===$,$l=!p||G.category===p,S=!_||String(G.year)===_;return kl&&it&&$l&&S})},[H,$,p,_,E]),Ml=yl.slice(0,Z),Kl=Z<yl.length,Rl=H||$||p||_,W=()=>{Y(""),M(""),q(""),X(""),tl(ze)},Dl=z=>G=>{z(G),tl(ze)},Il=()=>tl(z=>z+xy),Et=()=>{var z;tl(ze),(z=document.getElementById("achievement-grid-section"))==null||z.scrollIntoView({behavior:"smooth",block:"start"})};return f.jsxs(f.Fragment,{children:[f.jsx(py,{achievement:Nl,onClose:()=>Sl(null)}),f.jsxs("section",{id:"achievement-grid-section",className:"py-8 bg-white",children:[f.jsxs("div",{className:"max-w-7xl mx-auto px-4 lg:px-8 mb-8",children:[f.jsx("h2",{className:"text-3xl md:text-4xl font-black font-display text-primary-navy mb-2",children:r.achievement.sectionTitle}),f.jsx("p",{className:"text-slate-500 text-base max-w-2xl",children:r.achievement.sectionDesc})]}),f.jsxs("div",{className:"max-w-7xl mx-auto px-4 lg:px-8",children:[f.jsxs("div",{className:"bg-white/80 backdrop-blur-md p-4 rounded-lg shadow-sm border-t-4 border-primary-gold mb-8 space-y-3",children:[f.jsxs("div",{className:"flex items-center justify-between",children:[f.jsxs("div",{className:"text-base font-bold font-display text-primary-navy flex items-center gap-2",children:[f.jsx(Jd,{className:"text-primary-navy",size:18}),r.achievement.filterTitle]}),Rl&&f.jsxs("button",{onClick:W,className:"flex items-center gap-1 text-xs font-bold text-slate-500 hover:text-primary-navy transition-colors",children:[f.jsx(Ca,{size:13}),r.achievement.resetFilter]})]}),f.jsxs("div",{className:"relative",children:[f.jsx($d,{size:15,className:"absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none"}),f.jsx("input",{id:"search-achievement",type:"text",value:H,onChange:z=>{Y(z.target.value),tl(ze)},placeholder:r.achievement.searchPlaceholder,className:"w-full bg-slate-50 text-slate-700 text-sm rounded py-2 pl-9 pr-4 border border-slate-200 focus:outline-none focus:ring-2 focus:ring-primary-gold"}),H&&f.jsx("button",{onClick:()=>{Y(""),tl(ze)},className:"absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 hover:text-slate-600","aria-label":"Hapus pencarian",children:f.jsx(Ca,{size:14})})]}),f.jsxs("div",{className:"flex flex-wrap gap-3",children:[f.jsxs("div",{className:"relative flex-1 min-w-[130px]",children:[f.jsxs("select",{id:"filter-level",value:$,onChange:z=>Dl(M)(z.target.value),className:"w-full bg-slate-50 text-slate-700 font-bold text-sm rounded py-2 pl-4 pr-9 shadow-sm focus:ring-2 focus:ring-primary-gold appearance-none cursor-pointer border border-slate-200",children:[f.jsx("option",{value:"",children:r.achievement.allLevel}),f.jsx("option",{value:"Internasional",children:"Internasional"}),f.jsx("option",{value:"Nasional",children:"Nasional"}),f.jsx("option",{value:"Regional",children:"Regional"})]}),f.jsx(Pt,{size:14,className:"absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none"})]}),f.jsxs("div",{className:"relative flex-1 min-w-[130px]",children:[f.jsxs("select",{id:"filter-category",value:p,onChange:z=>Dl(q)(z.target.value),className:"w-full bg-slate-50 text-slate-700 font-bold text-sm rounded py-2 pl-4 pr-9 shadow-sm focus:ring-2 focus:ring-primary-gold appearance-none cursor-pointer border border-slate-200",children:[f.jsx("option",{value:"",children:r.achievement.allField}),_l.map(z=>f.jsx("option",{value:z,children:z},z))]}),f.jsx(Pt,{size:14,className:"absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none"})]}),f.jsxs("div",{className:"relative flex-1 min-w-[100px]",children:[f.jsxs("select",{id:"filter-year",value:_,onChange:z=>Dl(X)(z.target.value),className:"w-full bg-slate-50 text-slate-700 font-bold text-sm rounded py-2 pl-4 pr-9 shadow-sm focus:ring-2 focus:ring-primary-gold appearance-none cursor-pointer border border-slate-200",children:[f.jsx("option",{value:"",children:r.achievement.allYear}),Vl.map(z=>f.jsx("option",{value:String(z),children:z},z))]}),f.jsx(Pt,{size:14,className:"absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none"})]})]})]}),Rl&&f.jsxs("p",{className:"text-sm text-slate-500 font-medium mb-6",children:[r.achievement.showing," ",f.jsx("span",{className:"font-bold text-primary-navy",children:yl.length})," ",r.achievement.matching]}),A?f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10",children:[1,2,3].map(z=>f.jsxs("div",{className:"bg-white rounded-lg border border-slate-200 overflow-hidden shadow-sm animate-pulse",children:[f.jsx("div",{className:"h-52 bg-slate-200 w-full"}),f.jsxs("div",{className:"p-6 space-y-4",children:[f.jsx("div",{className:"h-4 bg-slate-200 rounded w-1/4"}),f.jsx("div",{className:"h-6 bg-slate-200 rounded w-3/4"}),f.jsx("div",{className:"h-4 bg-slate-200 rounded w-5/6"}),f.jsx("div",{className:"h-4 bg-slate-200 rounded w-2/3"}),f.jsx("div",{className:"h-10 bg-slate-200 rounded w-1/3 mt-4"})]})]},z))}):s?f.jsxs("div",{className:"text-center py-20 text-red-500",children:[f.jsx("p",{className:"text-lg font-semibold",children:"Gagal memuat data"}),f.jsx("p",{className:"text-sm mt-1",children:s}),f.jsx("button",{onClick:U,className:"mt-4 px-4 py-2 bg-primary-navy text-white font-bold rounded hover:bg-opacity-95 transition-all text-sm",children:"Coba Lagi"})]}):Ml.length===0?f.jsxs("div",{className:"text-center py-20 text-slate-400",children:[f.jsx("p",{className:"text-lg font-semibold",children:r.achievement.noData}),f.jsx("p",{className:"text-sm mt-1",children:r.achievement.noDataSub})]}):f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10",children:Ml.map(z=>f.jsx("div",{className:"animate-fade-in",children:f.jsx(by,{achievement:z,onReadMore:G=>Sl(G)})},z.id))}),f.jsxs("div",{className:"mt-20 flex flex-wrap items-center justify-center gap-6",children:[Kl&&f.jsxs("button",{id:"load-more-achievement",onClick:Il,className:"text-primary-navy font-black text-lg underline underline-offset-[12px] decoration-primary-gold decoration-4 hover:text-primary-gold transition-colors flex items-center gap-2",children:[r.achievement.loadMore,f.jsx(Pt,{size:20})]}),!Kl&&Ml.length>0&&yl.length>ze&&f.jsxs("p",{className:"text-slate-400 text-sm font-medium",children:[r.achievement.showing," ",yl.length," ",r.achievement.allShown]}),Z>ze&&Ml.length>0&&f.jsxs("button",{onClick:Et,className:"text-slate-400 font-bold text-sm underline underline-offset-4 decoration-slate-300 decoration-2 hover:text-slate-600 transition-colors flex items-center gap-1.5",children:[f.jsx(Pt,{size:16,className:"rotate-180"}),r.achievement.showLess]})]})]})]})]})}function $u({icon:r,label:E,value:A}){return f.jsxs("div",{className:"flex gap-2.5 items-start",children:[f.jsx("span",{className:"text-primary-gold mt-0.5 shrink-0",children:r}),f.jsxs("div",{children:[f.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-slate-400 leading-none mb-1",children:E}),f.jsx("p",{className:"text-sm font-semibold text-slate-800 leading-snug",children:A})]})]})}function Ny({project:r,onClose:E}){const{t:A}=Ee();return r?f.jsx("div",{className:"fixed inset-0 z-[300] flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm",onClick:E,"aria-modal":"true",role:"dialog","aria-label":r.title,children:f.jsxs("div",{className:"bg-white rounded-xl max-w-2xl w-full max-h-[90vh] overflow-y-auto shadow-2xl animate-fade-in",onClick:s=>s.stopPropagation(),children:[f.jsxs("div",{className:"relative h-56 overflow-hidden rounded-t-xl bg-slate-200 shrink-0",children:[f.jsx("img",{src:r.image,alt:r.title,className:"w-full h-full object-cover",referrerPolicy:"no-referrer"}),f.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"}),f.jsx("button",{onClick:E,"aria-label":A.modal.close,className:"absolute top-3 right-3 w-9 h-9 bg-white/90 backdrop-blur rounded-full flex items-center justify-center hover:bg-white transition-colors shadow-md",children:f.jsx(Ca,{size:18,className:"text-slate-700"})}),r.category&&r.category.length>0&&f.jsx("div",{className:"absolute bottom-4 left-4 flex flex-wrap gap-2",children:r.category.map((s,U)=>f.jsxs("span",{className:"bg-primary-gold text-slate-900 text-xs font-bold px-3 py-1.5 rounded flex items-center gap-1.5 uppercase tracking-wide",children:[f.jsx(Wu,{size:12}),s]},U))})]}),f.jsxs("div",{className:"p-6",children:[f.jsx("h2",{className:"text-xl font-bold text-primary-navy leading-snug mb-5",children:r.title}),f.jsxs("div",{className:"grid grid-cols-2 gap-4 p-4 bg-slate-50 rounded-lg mb-5",children:[r.studentName&&f.jsx($u,{icon:f.jsx(Fd,{size:14}),label:A.modal.mahasiswa,value:r.studentName}),r.nim&&f.jsx($u,{icon:f.jsx(Kd,{size:14}),label:A.modal.nim,value:r.nim}),r.year&&f.jsx($u,{icon:f.jsx(Dn,{size:14}),label:A.modal.tahun,value:String(r.year)}),r.category&&r.category.length>0&&f.jsx($u,{icon:f.jsx(Wu,{size:14}),label:A.modal.bidang,value:r.category.join(", ")})]}),r.members&&r.members.length>0&&f.jsxs("div",{className:"border-t border-slate-100 pt-4 mb-4",children:[f.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-slate-400 mb-2",children:"Anggota Tim"}),f.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:r.members.map((s,U)=>f.jsxs("li",{className:"flex items-center gap-2 bg-slate-50 px-3 py-2 rounded-md border border-slate-100",children:[f.jsx("span",{className:"w-6 h-6 rounded-full bg-primary-gold/20 text-primary-gold flex items-center justify-center text-xs font-bold shrink-0",children:s.nama.charAt(0).toUpperCase()}),f.jsxs("div",{className:"flex flex-col",children:[f.jsx("span",{className:"text-sm font-semibold text-slate-700 leading-none",children:s.nama}),s.nim&&f.jsx("span",{className:"text-[10px] text-slate-500 mt-1",children:s.nim})]})]},U))})]}),f.jsxs("div",{className:"border-t border-slate-100 pt-4 mb-5",children:[f.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-slate-400 mb-2",children:A.modal.deskripsi}),f.jsx("p",{className:"text-slate-600 text-sm leading-relaxed",children:r.description}),r.catatan&&f.jsxs("div",{className:"mt-4 p-3 bg-blue-50/50 border border-blue-100 rounded-lg",children:[f.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-blue-400 mb-1",children:"Catatan Tambahan"}),f.jsx("p",{className:"text-sm text-slate-600 italic",children:r.catatan})]})]}),r.link?f.jsxs("a",{href:r.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full py-3 bg-primary-navy text-white font-bold rounded-lg hover:bg-untan-blue transition-colors duration-200 text-sm mb-3",children:[f.jsx(kd,{size:16}),A.project.visitLink]}):f.jsxs("div",{className:"flex items-center justify-center gap-2 w-full py-3 bg-slate-100 text-slate-400 font-bold rounded-lg text-sm mb-3 cursor-not-allowed",children:[f.jsx(cy,{size:16}),A.project.noLink]}),f.jsx("button",{onClick:E,className:"w-full py-2.5 border-2 border-slate-200 text-slate-600 font-bold rounded-lg hover:border-slate-300 hover:bg-slate-50 transition-colors duration-200 text-sm",children:A.modal.close})]})]})}):null}const Ae=6,jy=3;function Ty(){const{t:r}=Ee(),{projects:E,loading:A,error:s,refetch:U}=Tf(),H=F.useRef(null),[Y,$]=F.useState(null),[M,p]=F.useState(Ae),[q,_]=F.useState(""),[X,Z]=F.useState(""),[tl,Nl]=F.useState(""),Sl=F.useMemo(()=>[...new Set(E.flatMap(z=>z.category))].sort(),[E]),_l=F.useMemo(()=>[...new Set(E.map(z=>z.year))].sort((z,G)=>G-z),[E]),Vl=F.useMemo(()=>{const z=q.toLowerCase().trim();return E.filter(G=>{const kl=!z||G.title.toLowerCase().includes(z)||G.studentName.toLowerCase().includes(z)||G.category.join(" ").toLowerCase().includes(z)||G.description.toLowerCase().includes(z),it=!X||G.category.includes(X),$l=!tl||String(G.year)===tl;return kl&&it&&$l})},[q,X,tl,E]),yl=Vl.slice(0,M),Ml=M<Vl.length,Kl=q||X||tl,Rl=()=>{_(""),Z(""),Nl(""),p(Ae)},W=z=>G=>{z(G),p(Ae)},Dl=()=>p(z=>z+jy),Il=()=>{var z;p(Ae),(z=document.getElementById("portofolio"))==null||z.scrollIntoView({behavior:"smooth",block:"start"})},Et=z=>{const G=H.current;if(!G)return;const kl=G.firstElementChild?G.firstElementChild.offsetWidth+24:400;G.scrollBy({left:z==="right"?kl:-kl,behavior:"smooth"})};return f.jsxs(f.Fragment,{children:[f.jsx(Ny,{project:Y,onClose:()=>$(null)}),f.jsx("section",{id:"portofolio",className:"py-16 bg-white relative overflow-hidden border-t border-slate-100",children:f.jsxs("div",{className:"max-w-7xl mx-auto px-4 lg:px-8",children:[f.jsxs("div",{className:"flex items-start justify-between mb-8 gap-4",children:[f.jsxs("div",{children:[f.jsx("h2",{className:"text-3xl md:text-4xl font-black font-display text-primary-navy mb-3",children:r.project.sectionTitle}),f.jsx("p",{className:"text-base text-slate-500 font-medium max-w-2xl",children:r.project.sectionDesc})]}),f.jsxs("div",{className:"flex items-center gap-2 shrink-0 mt-1",children:[f.jsx("button",{onClick:()=>Et("left"),"aria-label":"Geser kiri",className:"w-10 h-10 rounded-full border-2 border-primary-navy/20 flex items-center justify-center text-primary-navy hover:bg-primary-navy hover:text-white hover:border-primary-navy transition-all duration-200 shadow-sm",children:f.jsx(ey,{size:20})}),f.jsx("button",{onClick:()=>Et("right"),"aria-label":"Geser kanan",className:"w-10 h-10 rounded-full border-2 border-primary-navy/20 flex items-center justify-center text-primary-navy hover:bg-primary-navy hover:text-white hover:border-primary-navy transition-all duration-200 shadow-sm",children:f.jsx(ny,{size:20})})]})]}),f.jsxs("div",{className:"bg-white/80 backdrop-blur-md p-4 rounded-lg shadow-sm border-t-4 border-primary-gold mb-8 space-y-3",children:[f.jsxs("div",{className:"flex items-center justify-between",children:[f.jsxs("div",{className:"text-base font-bold font-display text-primary-navy flex items-center gap-2",children:[f.jsx(Jd,{className:"text-primary-navy",size:18}),r.project.filterTitle]}),Kl&&f.jsxs("button",{onClick:Rl,className:"flex items-center gap-1 text-xs font-bold text-slate-500 hover:text-primary-navy transition-colors",children:[f.jsx(Ca,{size:13}),r.project.resetFilter]})]}),f.jsxs("div",{className:"relative",children:[f.jsx($d,{size:15,className:"absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none"}),f.jsx("input",{id:"search-project",type:"text",value:q,onChange:z=>{_(z.target.value),p(Ae)},placeholder:r.project.searchPlaceholder,className:"w-full bg-slate-50 text-slate-700 text-sm rounded py-2 pl-9 pr-4 border border-slate-200 focus:outline-none focus:ring-2 focus:ring-primary-gold"}),q&&f.jsx("button",{onClick:()=>{_(""),p(Ae)},className:"absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 hover:text-slate-600","aria-label":"Hapus pencarian",children:f.jsx(Ca,{size:14})})]}),f.jsxs("div",{className:"flex flex-wrap gap-3",children:[f.jsxs("div",{className:"relative flex-1 min-w-[160px]",children:[f.jsxs("select",{id:"filter-project-category",value:X,onChange:z=>W(Z)(z.target.value),className:"w-full bg-slate-50 text-slate-700 font-bold text-sm rounded py-2 pl-4 pr-9 shadow-sm focus:ring-2 focus:ring-primary-gold appearance-none cursor-pointer border border-slate-200",children:[f.jsx("option",{value:"",children:r.project.allField}),Sl.map(z=>f.jsx("option",{value:z,children:z},z))]}),f.jsx(Pt,{size:14,className:"absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none"})]}),f.jsxs("div",{className:"relative flex-1 min-w-[120px]",children:[f.jsxs("select",{id:"filter-project-year",value:tl,onChange:z=>W(Nl)(z.target.value),className:"w-full bg-slate-50 text-slate-700 font-bold text-sm rounded py-2 pl-4 pr-9 shadow-sm focus:ring-2 focus:ring-primary-gold appearance-none cursor-pointer border border-slate-200",children:[f.jsx("option",{value:"",children:r.project.allYear}),_l.map(z=>f.jsx("option",{value:String(z),children:z},z))]}),f.jsx(Pt,{size:14,className:"absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none"})]})]})]}),Kl&&f.jsxs("p",{className:"text-sm text-slate-500 font-medium mb-6",children:[r.project.showing," ",f.jsx("span",{className:"font-bold text-primary-navy",children:Vl.length})," ",r.project.matching]}),A?f.jsx("div",{className:"flex gap-6 overflow-x-auto pb-10 hide-scrollbar",children:[1,2,3].map(z=>f.jsxs("div",{className:"snap-start shrink-0 proj-card bg-white rounded-lg border border-slate-200 overflow-hidden shadow-md animate-pulse flex flex-col",children:[f.jsx("div",{className:"h-52 bg-slate-200 w-full"}),f.jsxs("div",{className:"p-5 space-y-4 flex-grow flex flex-col justify-between",children:[f.jsxs("div",{className:"space-y-2",children:[f.jsx("div",{className:"h-4 bg-slate-200 rounded w-1/4"}),f.jsx("div",{className:"h-5 bg-slate-200 rounded w-3/4"}),f.jsx("div",{className:"h-4 bg-slate-200 rounded w-5/6"}),f.jsx("div",{className:"h-4 bg-slate-200 rounded w-2/3"})]}),f.jsx("div",{className:"h-10 bg-slate-200 rounded w-1/3 mt-4"})]})]},z))}):s?f.jsxs("div",{className:"text-center py-10 text-red-500 w-full",children:[f.jsx("p",{className:"text-lg font-semibold",children:"Gagal memuat portofolio"}),f.jsx("p",{className:"text-sm mt-1",children:s}),f.jsx("button",{onClick:U,className:"mt-4 px-4 py-2 bg-primary-navy text-white font-bold rounded hover:bg-opacity-95 transition-all text-sm",children:"Coba Lagi"})]}):yl.length===0?f.jsxs("div",{className:"text-center py-20 text-slate-400",children:[f.jsx("p",{className:"text-lg font-semibold",children:r.project.noData}),f.jsx("p",{className:"text-sm mt-1",children:r.project.noDataSub})]}):f.jsxs(f.Fragment,{children:[f.jsx("div",{ref:H,className:"flex gap-6 overflow-x-auto pb-10 hide-scrollbar snap-x snap-mandatory",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:yl.map(z=>f.jsxs("div",{className:"snap-start shrink-0 proj-card bg-white rounded-lg overflow-hidden shadow-md border border-slate-200 group flex flex-col relative",children:[f.jsx("div",{className:"absolute top-0 left-0 w-1 h-full bg-primary-gold z-10 transition-transform origin-bottom group-hover:scale-y-110"}),f.jsxs("div",{className:"h-52 overflow-hidden relative",children:[f.jsx("img",{src:z.image,alt:z.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",referrerPolicy:"no-referrer",onError:G=>{G.target.src="https://placehold.co/800x600/003150/FDB813?text=Informatika+UNTAN"}}),f.jsxs("div",{className:"absolute inset-0 bg-gradient-to-t from-primary-navy/80 to-transparent p-5 flex flex-col justify-end",children:[f.jsx("h4",{className:"text-lg font-bold font-display text-white leading-snug mb-1",children:z.title}),z.category&&z.category.length>0&&f.jsx("div",{className:"flex flex-wrap gap-2 mt-1",children:z.category.map((G,kl)=>f.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] font-bold text-primary-gold uppercase tracking-wider bg-black/30 px-2 py-1 rounded backdrop-blur-sm",children:[f.jsx(Wu,{size:10}),G]},kl))})]})]}),f.jsxs("div",{className:"p-5 flex flex-col flex-grow",children:[f.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-3 text-xs text-slate-500 font-medium",children:[z.studentName&&f.jsxs("span",{className:"flex items-center gap-1",children:[f.jsx(yy,{size:11,className:"text-slate-400"}),z.studentName]}),z.year&&f.jsxs("span",{className:"flex items-center gap-1",children:[f.jsx(Dn,{size:11,className:"text-slate-400"}),z.year]})]}),f.jsx("p",{className:"text-slate-600 text-sm leading-relaxed mb-5 flex-grow line-clamp-3",children:z.description}),f.jsxs("div",{className:"flex items-center gap-3 mt-auto",children:[f.jsxs("button",{onClick:()=>$(z),className:"text-primary-navy font-bold text-sm tracking-wide hover:text-untan-blue flex items-center gap-2 group/btn",style:{minHeight:"44px"},children:[r.project.readMore,f.jsx($h,{size:15,className:"group-hover/btn:translate-x-1 transition-transform"})]}),z.link&&f.jsxs("a",{href:z.link,target:"_blank",rel:"noopener noreferrer",className:"ml-auto flex items-center gap-1.5 text-xs font-bold text-slate-500 hover:text-primary-navy transition-colors border border-slate-200 hover:border-primary-navy/30 rounded px-3 py-2",style:{minHeight:"44px"},children:[f.jsx(kd,{size:13}),r.project.visitLink]})]})]})]},z.id))}),f.jsx("p",{className:"text-center text-xs text-slate-400 font-medium mt-2 select-none",children:r.project.scrollHint}),f.jsxs("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-6",children:[Ml&&f.jsxs("button",{id:"load-more-project",onClick:Dl,className:"text-primary-navy font-black text-base underline underline-offset-[10px] decoration-primary-gold decoration-4 hover:text-primary-gold transition-colors flex items-center gap-2",children:[r.project.loadMore,f.jsx(Pt,{size:18})]}),!Ml&&yl.length>0&&Vl.length>Ae&&f.jsxs("p",{className:"text-slate-400 text-sm font-medium",children:[r.project.showing," ",Vl.length," ",r.project.allShown]}),M>Ae&&yl.length>0&&f.jsxs("button",{onClick:Il,className:"text-slate-400 font-bold text-sm underline underline-offset-4 decoration-slate-300 decoration-2 hover:text-slate-600 transition-colors flex items-center gap-1.5",children:[f.jsx(Pt,{size:16,className:"rotate-180"}),r.project.showLess]})]})]})]})})]})}const zy="6285123456789";function Ay(){const{t:r,lang:E}=Ee(),A=`https://wa.me/${zy}?text=${encodeURIComponent(E==="id"?"Halo, saya ingin mendaftarkan prestasi atau karya saya.":"Hello, I would like to register my achievement or work.")}`;return f.jsx("section",{className:"acaab-full-bleed bg-untan-navy py-14 md:py-16 border-t border-white/10",children:f.jsx("div",{className:"max-w-7xl mx-auto px-4 lg:px-8",children:f.jsxs("div",{className:"bg-untan-yellow/10 border border-untan-yellow/20 rounded-2xl px-8 py-10 md:py-12 flex flex-col md:flex-row items-center justify-between gap-8",children:[f.jsxs("div",{className:"text-center md:text-left",children:[f.jsx("span",{className:"inline-block bg-untan-yellow text-slate-900 text-[10px] font-bold uppercase tracking-widest px-2 py-0.5 mb-4 rounded-sm",children:r.cta.badge}),f.jsx("h2",{className:"text-white text-2xl md:text-3xl font-bold font-serif leading-snug mb-3",children:r.cta.title}),f.jsx("p",{className:"text-slate-300 text-sm md:text-base leading-relaxed max-w-lg",children:r.cta.desc})]}),f.jsx("div",{className:"flex flex-col items-center gap-3 shrink-0",children:f.jsxs("a",{href:A,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2.5 bg-[#25D366] hover:bg-[#20c05a] text-white text-sm font-bold px-6 py-3 rounded-full transition-all hover:scale-105 shadow-lg shadow-[#25D366]/20 whitespace-nowrap",children:[f.jsx(oy,{size:18}),r.cta.waButton]})})]})})})}function Ey(){return f.jsx(Hh,{children:f.jsxs(wh,{children:[f.jsx("nav",{className:"py-4","aria-label":"Breadcrumb",children:f.jsxs("ol",{className:"flex items-center text-[10px] md:text-xs text-slate-500 font-medium tracking-wide uppercase",children:[f.jsx("li",{children:f.jsx("a",{href:"https://informatika.untan.ac.id",target:"_blank",rel:"noopener noreferrer",className:"hover:text-untan-blue transition-colors",children:"Beranda"})}),f.jsx("li",{children:f.jsx("span",{className:"mx-2 text-slate-300","aria-hidden":"true",children:"/"})}),f.jsx("li",{children:f.jsx("span",{className:"text-slate-800 font-bold","aria-current":"page",children:"Mahasiswa & Prestasi"})})]})}),f.jsx(Gh,{}),f.jsxs("section",{className:"acaab-full-bleed pb-20",children:[f.jsx("div",{className:"max-w-7xl mx-auto px-4 lg:px-8",children:f.jsx(Qh,{})}),f.jsx(Sy,{}),f.jsx(Ty,{})]}),f.jsx(Ay,{})]})})}Dh.createRoot(document.getElementById("root")).render(f.jsx(F.StrictMode,{children:f.jsx(Ey,{})}));
|