(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const v of d)if(v.type==="childList")for(const m of v.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&c(m)}).observe(document,{childList:!0,subtree:!0});function l(d){const v={};return d.integrity&&(v.integrity=d.integrity),d.referrerPolicy&&(v.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?v.credentials="include":d.crossOrigin==="anonymous"?v.credentials="omit":v.credentials="same-origin",v}function c(d){if(d.ep)return;d.ep=!0;const v=l(d);fetch(d.href,v)}})();var rg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function FD(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Wv={exports:{}},dh={};/**
 * @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 ZD;function RA(){if(ZD)return dh;ZD=1;var r=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function l(c,d,v){var m=null;if(v!==void 0&&(m=""+v),d.key!==void 0&&(m=""+d.key),"key"in d){v={};for(var E in d)E!=="key"&&(v[E]=d[E])}else v=d;return d=v.ref,{$$typeof:r,type:c,key:m,ref:d!==void 0?d:null,props:v}}return dh.Fragment=s,dh.jsx=l,dh.jsxs=l,dh}var KD;function NA(){return KD||(KD=1,Wv.exports=RA()),Wv.exports}var p=NA(),Pv={exports:{}},gh={},tD={exports:{}},eD={};/**
 * @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 XD;function jA(){return XD||(XD=1,(function(r){function s(B,V){var Q=B.length;B.push(V);t:for(;0<Q;){var ht=Q-1>>>1,S=B[ht];if(0<d(S,V))B[ht]=V,B[Q]=S,Q=ht;else break t}}function l(B){return B.length===0?null:B[0]}function c(B){if(B.length===0)return null;var V=B[0],Q=B.pop();if(Q!==V){B[0]=Q;t:for(var ht=0,S=B.length,q=S>>>1;ht<q;){var ut=2*(ht+1)-1,nt=B[ut],vt=ut+1,mt=B[vt];if(0>d(nt,Q))vt<S&&0>d(mt,nt)?(B[ht]=mt,B[vt]=Q,ht=vt):(B[ht]=nt,B[ut]=Q,ht=ut);else if(vt<S&&0>d(mt,Q))B[ht]=mt,B[vt]=Q,ht=vt;else break t}}return V}function d(B,V){var Q=B.sortIndex-V.sortIndex;return Q!==0?Q:B.id-V.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;r.unstable_now=function(){return v.now()}}else{var m=Date,E=m.now();r.unstable_now=function(){return m.now()-E}}var x=[],C=[],O=1,H=null,Y=3,et=!1,it=!1,st=!1,pt=!1,Tt=typeof setTimeout=="function"?setTimeout:null,Dt=typeof clearTimeout=="function"?clearTimeout:null,at=typeof setImmediate<"u"?setImmediate:null;function ct(B){for(var V=l(C);V!==null;){if(V.callback===null)c(C);else if(V.startTime<=B)c(C),V.sortIndex=V.expirationTime,s(x,V);else break;V=l(C)}}function X(B){if(st=!1,ct(B),!it)if(l(x)!==null)it=!0,ot||(ot=!0,oe());else{var V=l(C);V!==null&&rt(X,V.startTime-B)}}var ot=!1,wt=-1,It=5,re=-1;function Ht(){return pt?!0:!(r.unstable_now()-re<It)}function Ut(){if(pt=!1,ot){var B=r.unstable_now();re=B;var V=!0;try{t:{it=!1,st&&(st=!1,Dt(wt),wt=-1),et=!0;var Q=Y;try{e:{for(ct(B),H=l(x);H!==null&&!(H.expirationTime>B&&Ht());){var ht=H.callback;if(typeof ht=="function"){H.callback=null,Y=H.priorityLevel;var S=ht(H.expirationTime<=B);if(B=r.unstable_now(),typeof S=="function"){H.callback=S,ct(B),V=!0;break e}H===l(x)&&c(x),ct(B)}else c(x);H=l(x)}if(H!==null)V=!0;else{var q=l(C);q!==null&&rt(X,q.startTime-B),V=!1}}break t}finally{H=null,Y=Q,et=!1}V=void 0}}finally{V?oe():ot=!1}}}var oe;if(typeof at=="function")oe=function(){at(Ut)};else if(typeof MessageChannel<"u"){var dn=new MessageChannel,bt=dn.port2;dn.port1.onmessage=Ut,oe=function(){bt.postMessage(null)}}else oe=function(){Tt(Ut,0)};function rt(B,V){wt=Tt(function(){B(r.unstable_now())},V)}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(B){B.callback=null},r.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):It=0<B?Math.floor(1e3/B):5},r.unstable_getCurrentPriorityLevel=function(){return Y},r.unstable_next=function(B){switch(Y){case 1:case 2:case 3:var V=3;break;default:V=Y}var Q=Y;Y=V;try{return B()}finally{Y=Q}},r.unstable_requestPaint=function(){pt=!0},r.unstable_runWithPriority=function(B,V){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var Q=Y;Y=B;try{return V()}finally{Y=Q}},r.unstable_scheduleCallback=function(B,V,Q){var ht=r.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?ht+Q:ht):Q=ht,B){case 1:var S=-1;break;case 2:S=250;break;case 5:S=1073741823;break;case 4:S=1e4;break;default:S=5e3}return S=Q+S,B={id:O++,callback:V,priorityLevel:B,startTime:Q,expirationTime:S,sortIndex:-1},Q>ht?(B.sortIndex=Q,s(C,B),l(x)===null&&B===l(C)&&(st?(Dt(wt),wt=-1):st=!0,rt(X,Q-ht))):(B.sortIndex=S,s(x,B),it||et||(it=!0,ot||(ot=!0,oe()))),B},r.unstable_shouldYield=Ht,r.unstable_wrapCallback=function(B){var V=Y;return function(){var Q=Y;Y=V;try{return B.apply(this,arguments)}finally{Y=Q}}}})(eD)),eD}var ID;function LA(){return ID||(ID=1,tD.exports=jA()),tD.exports}var nD={exports:{}},Yt={};/**
 * @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 JD;function zA(){if(JD)return Yt;JD=1;var r=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),m=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),H=Symbol.iterator;function Y(S){return S===null||typeof S!="object"?null:(S=H&&S[H]||S["@@iterator"],typeof S=="function"?S:null)}var et={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},it=Object.assign,st={};function pt(S,q,ut){this.props=S,this.context=q,this.refs=st,this.updater=ut||et}pt.prototype.isReactComponent={},pt.prototype.setState=function(S,q){if(typeof S!="object"&&typeof S!="function"&&S!=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,S,q,"setState")},pt.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function Tt(){}Tt.prototype=pt.prototype;function Dt(S,q,ut){this.props=S,this.context=q,this.refs=st,this.updater=ut||et}var at=Dt.prototype=new Tt;at.constructor=Dt,it(at,pt.prototype),at.isPureReactComponent=!0;var ct=Array.isArray,X={H:null,A:null,T:null,S:null,V:null},ot=Object.prototype.hasOwnProperty;function wt(S,q,ut,nt,vt,mt){return ut=mt.ref,{$$typeof:r,type:S,key:q,ref:ut!==void 0?ut:null,props:mt}}function It(S,q){return wt(S.type,q,void 0,void 0,void 0,S.props)}function re(S){return typeof S=="object"&&S!==null&&S.$$typeof===r}function Ht(S){var q={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(ut){return q[ut]})}var Ut=/\/+/g;function oe(S,q){return typeof S=="object"&&S!==null&&S.key!=null?Ht(""+S.key):q.toString(36)}function dn(){}function bt(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(dn,dn):(S.status="pending",S.then(function(q){S.status==="pending"&&(S.status="fulfilled",S.value=q)},function(q){S.status==="pending"&&(S.status="rejected",S.reason=q)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function rt(S,q,ut,nt,vt){var mt=typeof S;(mt==="undefined"||mt==="boolean")&&(S=null);var xt=!1;if(S===null)xt=!0;else switch(mt){case"bigint":case"string":case"number":xt=!0;break;case"object":switch(S.$$typeof){case r:case s:xt=!0;break;case O:return xt=S._init,rt(xt(S._payload),q,ut,nt,vt)}}if(xt)return vt=vt(S),xt=nt===""?"."+oe(S,0):nt,ct(vt)?(ut="",xt!=null&&(ut=xt.replace(Ut,"$&/")+"/"),rt(vt,q,ut,"",function(Le){return Le})):vt!=null&&(re(vt)&&(vt=It(vt,ut+(vt.key==null||S&&S.key===vt.key?"":(""+vt.key).replace(Ut,"$&/")+"/")+xt)),q.push(vt)),1;xt=0;var be=nt===""?".":nt+":";if(ct(S))for(var Zt=0;Zt<S.length;Zt++)nt=S[Zt],mt=be+oe(nt,Zt),xt+=rt(nt,q,ut,mt,vt);else if(Zt=Y(S),typeof Zt=="function")for(S=Zt.call(S),Zt=0;!(nt=S.next()).done;)nt=nt.value,mt=be+oe(nt,Zt++),xt+=rt(nt,q,ut,mt,vt);else if(mt==="object"){if(typeof S.then=="function")return rt(bt(S),q,ut,nt,vt);throw q=String(S),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return xt}function B(S,q,ut){if(S==null)return S;var nt=[],vt=0;return rt(S,nt,"","",function(mt){return q.call(ut,mt,vt++)}),nt}function V(S){if(S._status===-1){var q=S._result;q=q(),q.then(function(ut){(S._status===0||S._status===-1)&&(S._status=1,S._result=ut)},function(ut){(S._status===0||S._status===-1)&&(S._status=2,S._result=ut)}),S._status===-1&&(S._status=0,S._result=q)}if(S._status===1)return S._result.default;throw S._result}var Q=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)};function ht(){}return Yt.Children={map:B,forEach:function(S,q,ut){B(S,function(){q.apply(this,arguments)},ut)},count:function(S){var q=0;return B(S,function(){q++}),q},toArray:function(S){return B(S,function(q){return q})||[]},only:function(S){if(!re(S))throw Error("React.Children.only expected to receive a single React element child.");return S}},Yt.Component=pt,Yt.Fragment=l,Yt.Profiler=d,Yt.PureComponent=Dt,Yt.StrictMode=c,Yt.Suspense=x,Yt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,Yt.__COMPILER_RUNTIME={__proto__:null,c:function(S){return X.H.useMemoCache(S)}},Yt.cache=function(S){return function(){return S.apply(null,arguments)}},Yt.cloneElement=function(S,q,ut){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var nt=it({},S.props),vt=S.key,mt=void 0;if(q!=null)for(xt in q.ref!==void 0&&(mt=void 0),q.key!==void 0&&(vt=""+q.key),q)!ot.call(q,xt)||xt==="key"||xt==="__self"||xt==="__source"||xt==="ref"&&q.ref===void 0||(nt[xt]=q[xt]);var xt=arguments.length-2;if(xt===1)nt.children=ut;else if(1<xt){for(var be=Array(xt),Zt=0;Zt<xt;Zt++)be[Zt]=arguments[Zt+2];nt.children=be}return wt(S.type,vt,void 0,void 0,mt,nt)},Yt.createContext=function(S){return S={$$typeof:m,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:v,_context:S},S},Yt.createElement=function(S,q,ut){var nt,vt={},mt=null;if(q!=null)for(nt in q.key!==void 0&&(mt=""+q.key),q)ot.call(q,nt)&&nt!=="key"&&nt!=="__self"&&nt!=="__source"&&(vt[nt]=q[nt]);var xt=arguments.length-2;if(xt===1)vt.children=ut;else if(1<xt){for(var be=Array(xt),Zt=0;Zt<xt;Zt++)be[Zt]=arguments[Zt+2];vt.children=be}if(S&&S.defaultProps)for(nt in xt=S.defaultProps,xt)vt[nt]===void 0&&(vt[nt]=xt[nt]);return wt(S,mt,void 0,void 0,null,vt)},Yt.createRef=function(){return{current:null}},Yt.forwardRef=function(S){return{$$typeof:E,render:S}},Yt.isValidElement=re,Yt.lazy=function(S){return{$$typeof:O,_payload:{_status:-1,_result:S},_init:V}},Yt.memo=function(S,q){return{$$typeof:C,type:S,compare:q===void 0?null:q}},Yt.startTransition=function(S){var q=X.T,ut={};X.T=ut;try{var nt=S(),vt=X.S;vt!==null&&vt(ut,nt),typeof nt=="object"&&nt!==null&&typeof nt.then=="function"&&nt.then(ht,Q)}catch(mt){Q(mt)}finally{X.T=q}},Yt.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},Yt.use=function(S){return X.H.use(S)},Yt.useActionState=function(S,q,ut){return X.H.useActionState(S,q,ut)},Yt.useCallback=function(S,q){return X.H.useCallback(S,q)},Yt.useContext=function(S){return X.H.useContext(S)},Yt.useDebugValue=function(){},Yt.useDeferredValue=function(S,q){return X.H.useDeferredValue(S,q)},Yt.useEffect=function(S,q,ut){var nt=X.H;if(typeof ut=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return nt.useEffect(S,q)},Yt.useId=function(){return X.H.useId()},Yt.useImperativeHandle=function(S,q,ut){return X.H.useImperativeHandle(S,q,ut)},Yt.useInsertionEffect=function(S,q){return X.H.useInsertionEffect(S,q)},Yt.useLayoutEffect=function(S,q){return X.H.useLayoutEffect(S,q)},Yt.useMemo=function(S,q){return X.H.useMemo(S,q)},Yt.useOptimistic=function(S,q){return X.H.useOptimistic(S,q)},Yt.useReducer=function(S,q,ut){return X.H.useReducer(S,q,ut)},Yt.useRef=function(S){return X.H.useRef(S)},Yt.useState=function(S){return X.H.useState(S)},Yt.useSyncExternalStore=function(S,q,ut){return X.H.useSyncExternalStore(S,q,ut)},Yt.useTransition=function(){return X.H.useTransition()},Yt.version="19.1.1",Yt}var $D;function Tg(){return $D||($D=1,nD.exports=zA()),nD.exports}var uD={exports:{}},qn={};/**
 * @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 WD;function UA(){if(WD)return qn;WD=1;var r=Tg();function s(x){var C="https://react.dev/errors/"+x;if(1<arguments.length){C+="?args[]="+encodeURIComponent(arguments[1]);for(var O=2;O<arguments.length;O++)C+="&args[]="+encodeURIComponent(arguments[O])}return"Minified React error #"+x+"; visit "+C+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var c={d:{f:l,r:function(){throw Error(s(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},d=Symbol.for("react.portal");function v(x,C,O){var H=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:H==null?null:""+H,children:x,containerInfo:C,implementation:O}}var m=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function E(x,C){if(x==="font")return"";if(typeof C=="string")return C==="use-credentials"?C:""}return qn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,qn.createPortal=function(x,C){var O=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error(s(299));return v(x,C,null,O)},qn.flushSync=function(x){var C=m.T,O=c.p;try{if(m.T=null,c.p=2,x)return x()}finally{m.T=C,c.p=O,c.d.f()}},qn.preconnect=function(x,C){typeof x=="string"&&(C?(C=C.crossOrigin,C=typeof C=="string"?C==="use-credentials"?C:"":void 0):C=null,c.d.C(x,C))},qn.prefetchDNS=function(x){typeof x=="string"&&c.d.D(x)},qn.preinit=function(x,C){if(typeof x=="string"&&C&&typeof C.as=="string"){var O=C.as,H=E(O,C.crossOrigin),Y=typeof C.integrity=="string"?C.integrity:void 0,et=typeof C.fetchPriority=="string"?C.fetchPriority:void 0;O==="style"?c.d.S(x,typeof C.precedence=="string"?C.precedence:void 0,{crossOrigin:H,integrity:Y,fetchPriority:et}):O==="script"&&c.d.X(x,{crossOrigin:H,integrity:Y,fetchPriority:et,nonce:typeof C.nonce=="string"?C.nonce:void 0})}},qn.preinitModule=function(x,C){if(typeof x=="string")if(typeof C=="object"&&C!==null){if(C.as==null||C.as==="script"){var O=E(C.as,C.crossOrigin);c.d.M(x,{crossOrigin:O,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0})}}else C==null&&c.d.M(x)},qn.preload=function(x,C){if(typeof x=="string"&&typeof C=="object"&&C!==null&&typeof C.as=="string"){var O=C.as,H=E(O,C.crossOrigin);c.d.L(x,O,{crossOrigin:H,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0,type:typeof C.type=="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority=="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy=="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet=="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes=="string"?C.imageSizes:void 0,media:typeof C.media=="string"?C.media:void 0})}},qn.preloadModule=function(x,C){if(typeof x=="string")if(C){var O=E(C.as,C.crossOrigin);c.d.m(x,{as:typeof C.as=="string"&&C.as!=="script"?C.as:void 0,crossOrigin:O,integrity:typeof C.integrity=="string"?C.integrity:void 0})}else c.d.m(x)},qn.requestFormReset=function(x){c.d.r(x)},qn.unstable_batchedUpdates=function(x,C){return x(C)},qn.useFormState=function(x,C,O){return m.H.useFormState(x,C,O)},qn.useFormStatus=function(){return m.H.useHostTransitionStatus()},qn.version="19.1.1",qn}var PD;function Zp(){if(PD)return uD.exports;PD=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(s){console.error(s)}}return r(),uD.exports=UA(),uD.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 tp;function HA(){if(tp)return gh;tp=1;var r=LA(),s=Tg(),l=Zp();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function v(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function m(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function E(t){if(v(t)!==t)throw Error(c(188))}function x(t){var e=t.alternate;if(!e){if(e=v(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,i=e;;){var o=n.return;if(o===null)break;var h=o.alternate;if(h===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===h.child){for(h=o.child;h;){if(h===n)return E(o),t;if(h===i)return E(o),e;h=h.sibling}throw Error(c(188))}if(n.return!==i.return)n=o,i=h;else{for(var D=!1,b=o.child;b;){if(b===n){D=!0,n=o,i=h;break}if(b===i){D=!0,i=o,n=h;break}b=b.sibling}if(!D){for(b=h.child;b;){if(b===n){D=!0,n=h,i=o;break}if(b===i){D=!0,i=h,n=o;break}b=b.sibling}if(!D)throw Error(c(189))}}if(n.alternate!==i)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function C(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=C(t),e!==null)return e;t=t.sibling}return null}var O=Object.assign,H=Symbol.for("react.element"),Y=Symbol.for("react.transitional.element"),et=Symbol.for("react.portal"),it=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),pt=Symbol.for("react.profiler"),Tt=Symbol.for("react.provider"),Dt=Symbol.for("react.consumer"),at=Symbol.for("react.context"),ct=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),ot=Symbol.for("react.suspense_list"),wt=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),re=Symbol.for("react.activity"),Ht=Symbol.for("react.memo_cache_sentinel"),Ut=Symbol.iterator;function oe(t){return t===null||typeof t!="object"?null:(t=Ut&&t[Ut]||t["@@iterator"],typeof t=="function"?t:null)}var dn=Symbol.for("react.client.reference");function bt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===dn?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case it:return"Fragment";case pt:return"Profiler";case st:return"StrictMode";case X:return"Suspense";case ot:return"SuspenseList";case re:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case et:return"Portal";case at:return(t.displayName||"Context")+".Provider";case Dt:return(t._context.displayName||"Context")+".Consumer";case ct:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case wt:return e=t.displayName||null,e!==null?e:bt(t.type)||"Memo";case It:e=t._payload,t=t._init;try{return bt(t(e))}catch{}}return null}var rt=Array.isArray,B=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},ht=[],S=-1;function q(t){return{current:t}}function ut(t){0>S||(t.current=ht[S],ht[S]=null,S--)}function nt(t,e){S++,ht[S]=t.current,t.current=e}var vt=q(null),mt=q(null),xt=q(null),be=q(null);function Zt(t,e){switch(nt(xt,e),nt(mt,t),nt(vt,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Re(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Re(e),t=je(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}ut(vt),nt(vt,t)}function Le(){ut(vt),ut(mt),ut(xt)}function ke(t){t.memoizedState!==null&&nt(be,t);var e=vt.current,n=je(e,t.type);e!==n&&(nt(mt,t),nt(vt,n))}function tn(t){mt.current===t&&(ut(vt),ut(mt)),be.current===t&&(ut(be),Yr._currentValue=Q)}var Cn=Object.prototype.hasOwnProperty,Du=r.unstable_scheduleCallback,St=r.unstable_cancelCallback,en=r.unstable_shouldYield,Tu=r.unstable_requestPaint,pe=r.unstable_now,si=r.unstable_getCurrentPriorityLevel,$r=r.unstable_ImmediatePriority,_a=r.unstable_UserBlockingPriority,Sn=r.unstable_NormalPriority,Wr=r.unstable_LowPriority,Pr=r.unstable_IdlePriority,qg=r.log,tl=r.unstable_setDisableYieldValue,el=null,cn=null;function Yn(t){if(typeof qg=="function"&&tl(t),cn&&typeof cn.setStrictMode=="function")try{cn.setStrictMode(el,t)}catch{}}var An=Math.clz32?Math.clz32:po,vo=Math.log,Do=Math.LN2;function po(t){return t>>>=0,t===0?32:31-(vo(t)/Do|0)|0}var ki=256,Vi=4194304;function Ju(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Qi(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var o=0,h=t.suspendedLanes,D=t.pingedLanes;t=t.warmLanes;var b=i&134217727;return b!==0?(i=b&~h,i!==0?o=Ju(i):(D&=b,D!==0?o=Ju(D):n||(n=b&~t,n!==0&&(o=Ju(n))))):(b=i&~h,b!==0?o=Ju(b):D!==0?o=Ju(D):n||(n=i&~t,n!==0&&(o=Ju(n)))),o===0?0:e!==0&&e!==o&&(e&h)===0&&(h=o&-o,n=e&-e,h>=n||h===32&&(n&4194048)!==0)?e:o}function ci(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Yg(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Nh(){var t=ki;return ki<<=1,(ki&4194048)===0&&(ki=256),t}function jh(){var t=Vi;return Vi<<=1,(Vi&62914560)===0&&(Vi=4194304),t}function xs(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Zi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function kg(t,e,n,i,o,h){var D=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var b=t.entanglements,w=t.expirationTimes,z=t.hiddenUpdates;for(n=D&~n;0<n;){var I=31-An(n),W=1<<I;b[I]=0,w[I]=-1;var G=z[I];if(G!==null)for(z[I]=null,I=0;I<G.length;I++){var U=G[I];U!==null&&(U.lane&=-536870913)}n&=~W}i!==0&&Lh(t,i,0),h!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=h&~(D&~e))}function Lh(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-An(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|n&4194090}function zh(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-An(n),o=1<<i;o&e|t[i]&e&&(t[i]|=e),n&=~o}}function Ao(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Es(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Uh(){var t=V.p;return t!==0?t:(t=window.event,t===void 0?32:tg(t.type))}function Vg(t,e){var n=V.p;try{return V.p=t,e()}finally{V.p=n}}var xa=Math.random().toString(36).slice(2),nn="__reactFiber$"+xa,Fn="__reactProps$"+xa,Ea="__reactContainer$"+xa,mo="__reactEvents$"+xa,Qg="__reactListeners$"+xa,Zg="__reactHandles$"+xa,Hh="__reactResources$"+xa,nl="__reactMarker$"+xa;function yo(t){delete t[nn],delete t[Fn],delete t[mo],delete t[Qg],delete t[Zg]}function Ki(t){var e=t[nn];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Ea]||n[nn]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Y0(t);t!==null;){if(n=t[nn])return n;t=Y0(t)}return e}t=n,n=t.parentNode}return null}function Xi(t){if(t=t[nn]||t[Ea]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function Ii(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Ji(t){var e=t[Hh];return e||(e=t[Hh]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function un(t){t[nl]=!0}var Gh=new Set,qh={};function oi(t,e){$i(t,e),$i(t+"Capture",e)}function $i(t,e){for(qh[t]=e,t=0;t<e.length;t++)Gh.add(e[t])}var Cs=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]*$"),Yh={},ul={};function Kg(t){return Cn.call(ul,t)?!0:Cn.call(Yh,t)?!1:Cs.test(t)?ul[t]=!0:(Yh[t]=!0,!1)}function Ss(t,e,n){if(Kg(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Fs(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function Bu(t,e,n,i){if(i===null)t.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+i)}}var ws,bo;function Wi(t){if(ws===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);ws=e&&e[1]||"",bo=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ws+t+bo}var _o=!1;function xo(t,e){if(!t||_o)return"";_o=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(U){var G=U}Reflect.construct(t,[],W)}else{try{W.call()}catch(U){G=U}t.call(W.prototype)}}else{try{throw Error()}catch(U){G=U}(W=t())&&typeof W.catch=="function"&&W.catch(function(){})}}catch(U){if(U&&G&&typeof U.stack=="string")return[U.stack,G.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=i.DetermineComponentFrameRoot(),D=h[0],b=h[1];if(D&&b){var w=D.split(`
`),z=b.split(`
`);for(o=i=0;i<w.length&&!w[i].includes("DetermineComponentFrameRoot");)i++;for(;o<z.length&&!z[o].includes("DetermineComponentFrameRoot");)o++;if(i===w.length||o===z.length)for(i=w.length-1,o=z.length-1;1<=i&&0<=o&&w[i]!==z[o];)o--;for(;1<=i&&0<=o;i--,o--)if(w[i]!==z[o]){if(i!==1||o!==1)do if(i--,o--,0>o||w[i]!==z[o]){var I=`
`+w[i].replace(" at new "," at ");return t.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",t.displayName)),I}while(1<=i&&0<=o);break}}}finally{_o=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Wi(n):""}function Xg(t){switch(t.tag){case 26:case 27:case 5:return Wi(t.type);case 16:return Wi("Lazy");case 13:return Wi("Suspense");case 19:return Wi("SuspenseList");case 0:case 15:return xo(t.type,!1);case 11:return xo(t.type.render,!1);case 1:return xo(t.type,!0);case 31:return Wi("Activity");default:return""}}function Eo(t){try{var e="";do e+=Xg(t),t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function kn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Co(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function So(t){var e=Co(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),i=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,h=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(D){i=""+D,h.call(this,D)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(D){i=""+D},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Ms(t){t._valueTracker||(t._valueTracker=So(t))}function Fo(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=Co(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}function fi(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var kh=/[\n"\\]/g;function eu(t){return t.replace(kh,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Os(t,e,n,i,o,h,D,b){t.name="",D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?t.type=D:t.removeAttribute("type"),e!=null?D==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+kn(e)):t.value!==""+kn(e)&&(t.value=""+kn(e)):D!=="submit"&&D!=="reset"||t.removeAttribute("value"),e!=null?al(t,D,kn(e)):n!=null?al(t,D,kn(n)):i!=null&&t.removeAttribute("value"),o==null&&h!=null&&(t.defaultChecked=!!h),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.name=""+kn(b):t.removeAttribute("name")}function wo(t,e,n,i,o,h,D,b){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),e!=null||n!=null){if(!(h!=="submit"&&h!=="reset"||e!=null))return;n=n!=null?""+kn(n):"",e=e!=null?""+kn(e):n,b||e===t.value||(t.value=e),t.defaultValue=e}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=b?t.checked:!!i,t.defaultChecked=!!i,D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(t.name=D)}function al(t,e,n){e==="number"&&fi(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Pi(t,e,n,i){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&i&&(t[n].defaultSelected=!0)}else{for(n=""+kn(n),e=null,o=0;o<t.length;o++){if(t[o].value===n){t[o].selected=!0,i&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function Mo(t,e,n){if(e!=null&&(e=""+kn(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+kn(n):""}function Ts(t,e,n,i){if(e==null){if(i!=null){if(n!=null)throw Error(c(92));if(rt(i)){if(1<i.length)throw Error(c(93));i=i[0]}n=i}n==null&&(n=""),e=n}n=kn(e),t.defaultValue=n,i=t.textContent,i===n&&i!==""&&i!==null&&(t.value=i)}function Ca(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var tr=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 Oo(t,e,n){var i=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,n):typeof n!="number"||n===0||tr.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function To(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="");for(var o in e)i=e[o],e.hasOwnProperty(o)&&n[o]!==i&&Oo(t,o,i)}else for(var h in e)e.hasOwnProperty(h)&&Oo(t,h,e[h])}function Bo(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Vh=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"]]),Qh=/^[\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 il(t){return Qh.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Bs=null;function Ro(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var er=null,nr=null;function No(t){var e=Xi(t);if(e&&(t=e.stateNode)){var n=t[Fn]||null;t:switch(t=e.stateNode,e.type){case"input":if(Os(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+eu(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var o=i[Fn]||null;if(!o)throw Error(c(90));Os(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(e=0;e<n.length;e++)i=n[e],i.form===t.form&&Fo(i)}break t;case"textarea":Mo(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Pi(t,!!n.multiple,e,!1)}}}var jo=!1;function Zh(t,e,n){if(jo)return t(e,n);jo=!0;try{var i=t(e);return i}finally{if(jo=!1,(er!==null||nr!==null)&&(Bc(),er&&(e=er,t=nr,nr=er=null,No(e),t)))for(e=0;e<t.length;e++)No(t[e])}}function rl(t,e){var n=t.stateNode;if(n===null)return null;var i=n[Fn]||null;if(i===null)return null;n=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var $u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ll=!1;if($u)try{var sl={};Object.defineProperty(sl,"passive",{get:function(){ll=!0}}),window.addEventListener("test",sl,sl),window.removeEventListener("test",sl,sl)}catch{ll=!1}var Sa=null,Lo=null,Rs=null;function Kh(){if(Rs)return Rs;var t,e=Lo,n=e.length,i,o="value"in Sa?Sa.value:Sa.textContent,h=o.length;for(t=0;t<n&&e[t]===o[t];t++);var D=n-t;for(i=1;i<=D&&e[n-i]===o[h-i];i++);return Rs=o.slice(t,1<i?1-i:void 0)}function Ae(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function de(){return!0}function Xh(){return!1}function wn(t){function e(n,i,o,h,D){this._reactName=n,this._targetInst=o,this.type=i,this.nativeEvent=h,this.target=D,this.currentTarget=null;for(var b in t)t.hasOwnProperty(b)&&(n=t[b],this[b]=n?n(h):h[b]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?de:Xh,this.isPropagationStopped=Xh,this}return O(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=de)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=de)},persist:function(){},isPersistent:de}),e}var hi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ns=wn(hi),cl=O({},hi,{view:0,detail:0}),Ig=wn(cl),js,zo,Ye,ur=O({},cl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ru,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ye&&(Ye&&t.type==="mousemove"?(js=t.screenX-Ye.screenX,zo=t.screenY-Ye.screenY):zo=js=0,Ye=t),js)},movementY:function(t){return"movementY"in t?t.movementY:zo}}),Fa=wn(ur),Ih=O({},ur,{dataTransfer:0}),Uo=wn(Ih),nu=O({},cl,{relatedTarget:0}),Ls=wn(nu),Jh=O({},hi,{animationName:0,elapsedTime:0,pseudoElement:0}),$h=wn(Jh),Wh=O({},hi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Ph=wn(Wh),td=O({},hi,{data:0}),Mn=wn(td),Jg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uu={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"},$g={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ed(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=$g[t])?!!e[t]:!1}function Ru(){return ed}var zs=O({},cl,{key:function(t){if(t.key){var e=Jg[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ae(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?uu[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ru,charCode:function(t){return t.type==="keypress"?Ae(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ae(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ho=wn(zs),Me=O({},ur,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wu=wn(Me),Go=O({},cl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ru}),Wg=wn(Go),qo=O({},hi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pg=wn(qo),tv=O({},ur,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),ev=wn(tv),nd=O({},hi,{newState:0,oldState:0}),Us=wn(nd),ar=[9,13,27,32],Yo=$u&&"CompositionEvent"in window,ir=null;$u&&"documentMode"in document&&(ir=document.documentMode);var ud=$u&&"TextEvent"in window&&!ir,Hs=$u&&(!Yo||ir&&8<ir&&11>=ir),Gs=" ",ko=!1;function ad(t,e){switch(t){case"keyup":return ar.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var wa=!1;function nv(t,e){switch(t){case"compositionend":return qs(e);case"keypress":return e.which!==32?null:(ko=!0,Gs);case"textInput":return t=e.data,t===Gs&&ko?null:t;default:return null}}function id(t,e){if(wa)return t==="compositionend"||!Yo&&ad(t,e)?(t=Kh(),Rs=Lo=Sa=null,wa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Hs&&e.locale!=="ko"?null:e.data;default:return null}}var Vn={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 Ys(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Vn[t.type]:e==="textarea"}function rr(t,e,n,i){er?nr?nr.push(i):nr=[i]:er=i,e=Hc(e,"onChange"),0<e.length&&(n=new Ns("onChange","change",null,n,i),t.push({event:n,listeners:e}))}var lr=null,sr=null;function uv(t){N0(t,0)}function ks(t){var e=Ii(t);if(Fo(e))return t}function rd(t,e){if(t==="change")return e}var ld=!1;if($u){var Vo;if($u){var Ma="oninput"in document;if(!Ma){var sd=document.createElement("div");sd.setAttribute("oninput","return;"),Ma=typeof sd.oninput=="function"}Vo=Ma}else Vo=!1;ld=Vo&&(!document.documentMode||9<document.documentMode)}function cd(){lr&&(lr.detachEvent("onpropertychange",Vs),sr=lr=null)}function Vs(t){if(t.propertyName==="value"&&ks(sr)){var e=[];rr(e,sr,t,Ro(t)),Zh(uv,e)}}function od(t,e,n){t==="focusin"?(cd(),lr=e,sr=n,lr.attachEvent("onpropertychange",Vs)):t==="focusout"&&cd()}function Oa(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ks(sr)}function Qs(t,e){if(t==="click")return ks(e)}function av(t,e){if(t==="input"||t==="change")return ks(e)}function iv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Qn=typeof Object.is=="function"?Object.is:iv;function Nu(t,e){if(Qn(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!Cn.call(e,o)||!Qn(t[o],e[o]))return!1}return!0}function au(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Qo(t,e){var n=au(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=au(n)}}function fd(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?fd(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function hd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=fi(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=fi(t.document)}return e}function Zo(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var rv=$u&&"documentMode"in document&&11>=document.documentMode,cr=null,Ta=null,R=null,Z=!1;function k(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Z||cr==null||cr!==fi(i)||(i=cr,"selectionStart"in i&&Zo(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),R&&Nu(R,i)||(R=i,i=Hc(Ta,"onSelect"),0<i.length&&(e=new Ns("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=cr)))}function dt(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Bt={animationend:dt("Animation","AnimationEnd"),animationiteration:dt("Animation","AnimationIteration"),animationstart:dt("Animation","AnimationStart"),transitionrun:dt("Transition","TransitionRun"),transitionstart:dt("Transition","TransitionStart"),transitioncancel:dt("Transition","TransitionCancel"),transitionend:dt("Transition","TransitionEnd")},ne={},Ve={};$u&&(Ve=document.createElement("div").style,"AnimationEvent"in window||(delete Bt.animationend.animation,delete Bt.animationiteration.animation,delete Bt.animationstart.animation),"TransitionEvent"in window||delete Bt.transitionend.transition);function ue(t){if(ne[t])return ne[t];if(!Bt[t])return t;var e=Bt[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Ve)return ne[t]=e[n];return t}var Zs=ue("animationend"),dd=ue("animationiteration"),Zn=ue("animationstart"),Ks=ue("transitionrun"),lv=ue("transitionstart"),or=ue("transitioncancel"),ol=ue("transitionend"),fl=new Map,se="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(" ");se.push("scrollEnd");function pu(t,e){fl.set(t,e),oi(e,[t])}var Ko=new WeakMap;function mn(t,e){if(typeof t=="object"&&t!==null){var n=Ko.get(t);return n!==void 0?n:(e={value:t,source:e,stack:Eo(e)},Ko.set(t,e),e)}return{value:t,source:e,stack:Eo(e)}}var iu=[],fr=0,Xo=0;function di(){for(var t=fr,e=Xo=fr=0;e<t;){var n=iu[e];iu[e++]=null;var i=iu[e];iu[e++]=null;var o=iu[e];iu[e++]=null;var h=iu[e];if(iu[e++]=null,i!==null&&o!==null){var D=i.pending;D===null?o.next=o:(o.next=D.next,D.next=o),i.pending=o}h!==0&&hl(n,o,h)}}function Au(t,e,n,i){iu[fr++]=t,iu[fr++]=e,iu[fr++]=n,iu[fr++]=i,Xo|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function hr(t,e,n,i){return Au(t,e,n,i),dl(t)}function gi(t,e){return Au(t,null,null,e),dl(t)}function hl(t,e,n){t.lanes|=n;var i=t.alternate;i!==null&&(i.lanes|=n);for(var o=!1,h=t.return;h!==null;)h.childLanes|=n,i=h.alternate,i!==null&&(i.childLanes|=n),h.tag===22&&(t=h.stateNode,t===null||t._visibility&1||(o=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,o&&e!==null&&(o=31-An(n),t=h.hiddenUpdates,i=t[o],i===null?t[o]=[e]:i.push(e),e.lane=n|536870912),h):null}function dl(t){if(50<Nr)throw Nr=0,kf=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var vi={};function Xs(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function On(t,e,n,i){return new Xs(t,e,n,i)}function Di(t){return t=t.prototype,!(!t||!t.isReactComponent)}function yn(t,e){var n=t.alternate;return n===null?(n=On(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function gl(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Is(t,e,n,i,o,h){var D=0;if(i=t,typeof t=="function")Di(t)&&(D=1);else if(typeof t=="string")D=Uv(t,n,vt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case re:return t=On(31,n,e,o),t.elementType=re,t.lanes=h,t;case it:return pi(n.children,o,h,e);case st:D=8,o|=24;break;case pt:return t=On(12,n,e,o|2),t.elementType=pt,t.lanes=h,t;case X:return t=On(13,n,e,o),t.elementType=X,t.lanes=h,t;case ot:return t=On(19,n,e,o),t.elementType=ot,t.lanes=h,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Tt:case at:D=10;break t;case Dt:D=9;break t;case ct:D=11;break t;case wt:D=14;break t;case It:D=16,i=null;break t}D=29,n=Error(c(130,t===null?"null":typeof t,"")),i=null}return e=On(D,n,e,o),e.elementType=t,e.type=i,e.lanes=h,e}function pi(t,e,n,i){return t=On(7,t,i,e),t.lanes=n,t}function Io(t,e,n){return t=On(6,t,null,e),t.lanes=n,t}function dr(t,e,n){return e=On(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Pu=[],Ba=0,Js=null,vl=0,ru=[],lu=0,Se=null,Oe=1,ta="";function Ai(t,e){Pu[Ba++]=vl,Pu[Ba++]=Js,Js=t,vl=e}function Jo(t,e,n){ru[lu++]=Oe,ru[lu++]=ta,ru[lu++]=Se,Se=t;var i=Oe;t=ta;var o=32-An(i)-1;i&=~(1<<o),n+=1;var h=32-An(e)+o;if(30<h){var D=o-o%5;h=(i&(1<<D)-1).toString(32),i>>=D,o-=D,Oe=1<<32-An(e)+o|n<<o|i,ta=h+t}else Oe=1<<h|n<<o|i,ta=t}function $o(t){t.return!==null&&(Ai(t,1),Jo(t,1,0))}function Dl(t){for(;t===Js;)Js=Pu[--Ba],Pu[Ba]=null,vl=Pu[--Ba],Pu[Ba]=null;for(;t===Se;)Se=ru[--lu],ru[lu]=null,ta=ru[--lu],ru[lu]=null,Oe=ru[--lu],ru[lu]=null}var Ze=null,Te=null,Jt=!1,mu=null,Tn=!1,gr=Error(c(519));function su(t){var e=Error(c(418,""));throw Ra(mn(e,t)),gr}function gd(t){var e=t.stateNode,n=t.type,i=t.memoizedProps;switch(e[nn]=t,e[Fn]=i,n){case"dialog":Xt("cancel",e),Xt("close",e);break;case"iframe":case"object":case"embed":Xt("load",e);break;case"video":case"audio":for(n=0;n<as.length;n++)Xt(as[n],e);break;case"source":Xt("error",e);break;case"img":case"image":case"link":Xt("error",e),Xt("load",e);break;case"details":Xt("toggle",e);break;case"input":Xt("invalid",e),wo(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),Ms(e);break;case"select":Xt("invalid",e);break;case"textarea":Xt("invalid",e),Ts(e,i.value,i.defaultValue,i.children),Ms(e)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||i.suppressHydrationWarning===!0||z0(e.textContent,n)?(i.popover!=null&&(Xt("beforetoggle",e),Xt("toggle",e)),i.onScroll!=null&&Xt("scroll",e),i.onScrollEnd!=null&&Xt("scrollend",e),i.onClick!=null&&(e.onclick=Gc),e=!0):e=!1,e||su(t)}function vd(t){for(Ze=t.return;Ze;)switch(Ze.tag){case 5:case 13:Tn=!1;return;case 27:case 3:Tn=!0;return;default:Ze=Ze.return}}function pl(t){if(t!==Ze)return!1;if(!Jt)return vd(t),Jt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Yc(t.type,t.memoizedProps)),n=!n),n&&Te&&su(t),vd(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(n=t.data,n==="/$"){if(e===0){Te=Cu(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++;t=t.nextSibling}Te=null}}else e===27?(e=Te,gu(t.type)?(t=uh,uh=null,Te=t):Te=e):Te=Ze?Cu(t.stateNode.nextSibling):null;return!0}function Al(){Te=Ze=null,Jt=!1}function Dd(){var t=mu;return t!==null&&(Hn===null?Hn=t:Hn.push.apply(Hn,t),mu=null),t}function Ra(t){mu===null?mu=[t]:mu.push(t)}var mi=q(null),Na=null,y=null;function Kn(t,e,n){nt(mi,e._currentValue),e._currentValue=n}function cu(t){t._currentValue=mi.current,ut(mi)}function Bn(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}function kt(t,e,n,i){var o=t.child;for(o!==null&&(o.return=t);o!==null;){var h=o.dependencies;if(h!==null){var D=o.child;h=h.firstContext;t:for(;h!==null;){var b=h;h=o;for(var w=0;w<e.length;w++)if(b.context===e[w]){h.lanes|=n,b=h.alternate,b!==null&&(b.lanes|=n),Bn(h.return,n,t),i||(D=null);break t}h=b.next}}else if(o.tag===18){if(D=o.return,D===null)throw Error(c(341));D.lanes|=n,h=D.alternate,h!==null&&(h.lanes|=n),Bn(D,n,t),D=null}else D=o.child;if(D!==null)D.return=o;else for(D=o;D!==null;){if(D===t){D=null;break}if(o=D.sibling,o!==null){o.return=D.return,D=o;break}D=D.return}o=D}}function ml(t,e,n,i){t=null;for(var o=e,h=!1;o!==null;){if(!h){if((o.flags&524288)!==0)h=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var D=o.alternate;if(D===null)throw Error(c(387));if(D=D.memoizedProps,D!==null){var b=o.type;Qn(o.pendingProps.value,D.value)||(t!==null?t.push(b):t=[b])}}else if(o===be.current){if(D=o.alternate,D===null)throw Error(c(387));D.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(t!==null?t.push(Yr):t=[Yr])}o=o.return}t!==null&&kt(e,t,n,i),e.flags|=262144}function $s(t){for(t=t.firstContext;t!==null;){if(!Qn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function yi(t){Na=t,y=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ze(t){return pd(Na,t)}function Ws(t,e){return Na===null&&yi(t),pd(t,e)}function pd(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},y===null){if(t===null)throw Error(c(308));y=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else y=y.next=e;return n}var sv=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},cv=r.unstable_scheduleCallback,ov=r.unstable_NormalPriority,_e={$$typeof:at,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Wo(){return{controller:new sv,data:new Map,refCount:0}}function yl(t){t.refCount--,t.refCount===0&&cv(ov,function(){t.controller.abort()})}var bl=null,Po=0,vr=0,Rn=null;function fv(t,e){if(bl===null){var n=bl=[];Po=0,vr=Uc(),Rn={status:"pending",value:void 0,then:function(i){n.push(i)}}}return Po++,e.then(Ad,Ad),e}function Ad(){if(--Po===0&&bl!==null){Rn!==null&&(Rn.status="fulfilled");var t=bl;bl=null,vr=0,Rn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function hv(t,e){var n=[],i={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var o=0;o<n.length;o++)(0,n[o])(e)},function(o){for(i.status="rejected",i.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),i}var md=B.S;B.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&fv(t,e),md!==null&&md(t,e)};var bi=q(null);function ea(){var t=bi.current;return t!==null?t:Ce.pooledCache}function Ps(t,e){e===null?nt(bi,bi.current):nt(bi,e.pool)}function yd(){var t=ea();return t===null?null:{parent:_e._currentValue,pool:t}}var bn=Error(c(460)),bd=Error(c(474)),tc=Error(c(542)),tf={then:function(){}};function _d(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ec(){}function ef(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(ec,ec),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ed(t),t;default:if(typeof e.status=="string")e.then(ec,ec);else{if(t=Ce,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var o=e;o.status="fulfilled",o.value=i}},function(i){if(e.status==="pending"){var o=e;o.status="rejected",o.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ed(t),t}throw Dr=e,bn}}var Dr=null;function xd(){if(Dr===null)throw Error(c(459));var t=Dr;return Dr=null,t}function Ed(t){if(t===bn||t===tc)throw Error(c(483))}var ju=!1;function _i(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function pr(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ja(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function na(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(ve&2)!==0){var o=i.pending;return o===null?e.next=e:(e.next=o.next,o.next=e),i.pending=e,e=dl(t),hl(t,null,n),e}return Au(t,i,e,n),dl(t)}function _l(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,zh(t,n)}}function yu(t,e){var n=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var o=null,h=null;if(n=n.firstBaseUpdate,n!==null){do{var D={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};h===null?o=h=D:h=h.next=D,n=n.next}while(n!==null);h===null?o=h=e:h=h.next=e}else o=h=e;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:h,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var xl=!1;function bu(){if(xl){var t=Rn;if(t!==null)throw t}}function gn(t,e,n,i){xl=!1;var o=t.updateQueue;ju=!1;var h=o.firstBaseUpdate,D=o.lastBaseUpdate,b=o.shared.pending;if(b!==null){o.shared.pending=null;var w=b,z=w.next;w.next=null,D===null?h=z:D.next=z,D=w;var I=t.alternate;I!==null&&(I=I.updateQueue,b=I.lastBaseUpdate,b!==D&&(b===null?I.firstBaseUpdate=z:b.next=z,I.lastBaseUpdate=w))}if(h!==null){var W=o.baseState;D=0,I=z=w=null,b=h;do{var G=b.lane&-536870913,U=G!==b.lane;if(U?(te&G)===G:(i&G)===G){G!==0&&G===vr&&(xl=!0),I!==null&&(I=I.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});t:{var Mt=t,Ft=b;G=e;var ye=n;switch(Ft.tag){case 1:if(Mt=Ft.payload,typeof Mt=="function"){W=Mt.call(ye,W,G);break t}W=Mt;break t;case 3:Mt.flags=Mt.flags&-65537|128;case 0:if(Mt=Ft.payload,G=typeof Mt=="function"?Mt.call(ye,W,G):Mt,G==null)break t;W=O({},W,G);break t;case 2:ju=!0}}G=b.callback,G!==null&&(t.flags|=64,U&&(t.flags|=8192),U=o.callbacks,U===null?o.callbacks=[G]:U.push(G))}else U={lane:G,tag:b.tag,payload:b.payload,callback:b.callback,next:null},I===null?(z=I=U,w=W):I=I.next=U,D|=G;if(b=b.next,b===null){if(b=o.shared.pending,b===null)break;U=b,b=U.next,U.next=null,o.lastBaseUpdate=U,o.shared.pending=null}}while(!0);I===null&&(w=W),o.baseState=w,o.firstBaseUpdate=z,o.lastBaseUpdate=I,h===null&&(o.shared.lanes=0),Va|=D,t.lanes=D,t.memoizedState=W}}function Cd(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function nf(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)Cd(n[t],e)}var xi=q(null),La=q(0);function ua(t,e){t=ha,nt(La,t),nt(xi,e),ha=t|e.baseLanes}function nc(){nt(La,ha),nt(xi,xi.current)}function uf(){ha=La.current,ut(xi),ut(La)}var _u=0,qt=null,ge=null,$t=null,Ar=!1,Ei=!1,vn=!1,mr=0,za=0,ou=null,Sd=0;function Wt(){throw Error(c(321))}function El(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Qn(t[n],e[n]))return!1;return!0}function af(t,e,n,i,o,h){return _u=h,qt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=t===null||t.memoizedState===null?Hd:xf,vn=!1,h=n(i,o),vn=!1,Ei&&(h=wd(e,n,i,o)),Fd(t),h}function Fd(t){B.H=jl;var e=ge!==null&&ge.next!==null;if(_u=0,$t=ge=qt=null,Ar=!1,za=0,ou=null,e)throw Error(c(300));t===null||an||(t=t.dependencies,t!==null&&$s(t)&&(an=!0))}function wd(t,e,n,i){qt=t;var o=0;do{if(Ei&&(ou=null),za=0,Ei=!1,25<=o)throw Error(c(301));if(o+=1,$t=ge=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}B.H=Gd,h=e(n,i)}while(Ei);return h}function rf(){var t=B.H,e=t.useState()[0];return e=typeof e.then=="function"?Cl(e):e,t=t.useState()[0],(ge!==null?ge.memoizedState:null)!==t&&(qt.flags|=1024),e}function lf(){var t=mr!==0;return mr=0,t}function Ci(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function uc(t){if(Ar){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Ar=!1}_u=0,$t=ge=qt=null,Ei=!1,za=mr=0,ou=null}function Nn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $t===null?qt.memoizedState=$t=t:$t=$t.next=t,$t}function Qe(){if(ge===null){var t=qt.alternate;t=t!==null?t.memoizedState:null}else t=ge.next;var e=$t===null?qt.memoizedState:$t.next;if(e!==null)$t=e,ge=t;else{if(t===null)throw qt.alternate===null?Error(c(467)):Error(c(310));ge=t,t={memoizedState:ge.memoizedState,baseState:ge.baseState,baseQueue:ge.baseQueue,queue:ge.queue,next:null},$t===null?qt.memoizedState=$t=t:$t=$t.next=t}return $t}function Si(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Cl(t){var e=za;return za+=1,ou===null&&(ou=[]),t=ef(ou,t,e),e=qt,($t===null?e.memoizedState:$t.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?Hd:xf),t}function ac(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Cl(t);if(t.$$typeof===at)return ze(t)}throw Error(c(438,String(t)))}function Sl(t){var e=null,n=qt.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var i=qt.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(o){return o.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Si(),qt.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),i=0;i<t;i++)n[i]=Ht;return e.index++,n}function Lu(t,e){return typeof e=="function"?e(t):e}function ic(t){var e=Qe();return sf(e,ge,t)}function sf(t,e,n){var i=t.queue;if(i===null)throw Error(c(311));i.lastRenderedReducer=n;var o=t.baseQueue,h=i.pending;if(h!==null){if(o!==null){var D=o.next;o.next=h.next,h.next=D}e.baseQueue=o=h,i.pending=null}if(h=t.baseState,o===null)t.memoizedState=h;else{e=o.next;var b=D=null,w=null,z=e,I=!1;do{var W=z.lane&-536870913;if(W!==z.lane?(te&W)===W:(_u&W)===W){var G=z.revertLane;if(G===0)w!==null&&(w=w.next={lane:0,revertLane:0,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),W===vr&&(I=!0);else if((_u&G)===G){z=z.next,G===vr&&(I=!0);continue}else W={lane:0,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},w===null?(b=w=W,D=h):w=w.next=W,qt.lanes|=G,Va|=G;W=z.action,vn&&n(h,W),h=z.hasEagerState?z.eagerState:n(h,W)}else G={lane:W,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},w===null?(b=w=G,D=h):w=w.next=G,qt.lanes|=W,Va|=W;z=z.next}while(z!==null&&z!==e);if(w===null?D=h:w.next=b,!Qn(h,t.memoizedState)&&(an=!0,I&&(n=Rn,n!==null)))throw n;t.memoizedState=h,t.baseState=D,t.baseQueue=w,i.lastRenderedState=h}return o===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function cf(t){var e=Qe(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var i=n.dispatch,o=n.pending,h=e.memoizedState;if(o!==null){n.pending=null;var D=o=o.next;do h=t(h,D.action),D=D.next;while(D!==o);Qn(h,e.memoizedState)||(an=!0),e.memoizedState=h,e.baseQueue===null&&(e.baseState=h),n.lastRenderedState=h}return[h,i]}function of(t,e,n){var i=qt,o=Qe(),h=Jt;if(h){if(n===void 0)throw Error(c(407));n=n()}else n=e();var D=!Qn((ge||o).memoizedState,n);D&&(o.memoizedState=n,an=!0),o=o.queue;var b=lc.bind(null,i,o,t);if(Ml(2048,8,b,[t]),o.getSnapshot!==e||D||$t!==null&&$t.memoizedState.tag&1){if(i.flags|=2048,yr(9,hc(),Md.bind(null,i,o,n,e),null),Ce===null)throw Error(c(349));h||(_u&124)!==0||rc(i,e,n)}return n}function rc(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=qt.updateQueue,e===null?(e=Si(),qt.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Md(t,e,n,i){e.value=n,e.getSnapshot=i,ff(e)&&hf(t)}function lc(t,e,n){return n(function(){ff(e)&&hf(t)})}function ff(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Qn(t,n)}catch{return!0}}function hf(t){var e=gi(t,2);e!==null&&Wn(e,t,2)}function sc(t){var e=Nn();if(typeof t=="function"){var n=t;if(t=n(),vn){Yn(!0);try{n()}finally{Yn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lu,lastRenderedState:t},e}function Fl(t,e,n,i){return t.baseState=n,sf(t,ge,typeof i=="function"?i:Lu)}function dv(t,e,n,i,o){if(Dc(t))throw Error(c(485));if(t=e.action,t!==null){var h={payload:o,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(D){h.listeners.push(D)}};B.T!==null?n(!0):h.isTransition=!1,i(h),n=e.pending,n===null?(h.next=e.pending=h,df(e,h)):(h.next=n.next,e.pending=n.next=h)}}function df(t,e){var n=e.action,i=e.payload,o=t.state;if(e.isTransition){var h=B.T,D={};B.T=D;try{var b=n(o,i),w=B.S;w!==null&&w(D,b),gf(t,e,b)}catch(z){cc(t,e,z)}finally{B.T=h}}else try{h=n(o,i),gf(t,e,h)}catch(z){cc(t,e,z)}}function gf(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){Od(t,e,i)},function(i){return cc(t,e,i)}):Od(t,e,n)}function Od(t,e,n){e.status="fulfilled",e.value=n,Td(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,df(t,n)))}function cc(t,e,n){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=n,Td(e),e=e.next;while(e!==i)}t.action=null}function Td(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function oc(t,e){return e}function vf(t,e){if(Jt){var n=Ce.formState;if(n!==null){t:{var i=qt;if(Jt){if(Te){e:{for(var o=Te,h=Tn;o.nodeType!==8;){if(!h){o=null;break e}if(o=Cu(o.nextSibling),o===null){o=null;break e}}h=o.data,o=h==="F!"||h==="F"?o:null}if(o){Te=Cu(o.nextSibling),i=o.data==="F!";break t}}su(i)}i=!1}i&&(e=n[0])}}return n=Nn(),n.memoizedState=n.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oc,lastRenderedState:e},n.queue=i,n=yf.bind(null,qt,i),i.dispatch=n,i=sc(!1),h=bf.bind(null,qt,!1,i.queue),i=Nn(),o={state:e,dispatch:null,action:t,pending:null},i.queue=o,n=dv.bind(null,qt,o,h,n),o.dispatch=n,i.memoizedState=t,[e,n,!1]}function fc(t){var e=Qe();return Bd(e,ge,t)}function Bd(t,e,n){if(e=sf(t,e,oc)[0],t=ic(Lu)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=Cl(e)}catch(D){throw D===bn?tc:D}else i=e;e=Qe();var o=e.queue,h=o.dispatch;return n!==e.memoizedState&&(qt.flags|=2048,yr(9,hc(),Df.bind(null,o,n),null)),[i,h,t]}function Df(t,e){t.action=e}function Gt(t){var e=Qe(),n=ge;if(n!==null)return Bd(e,n,t);Qe(),e=e.memoizedState,n=Qe();var i=n.queue.dispatch;return n.memoizedState=t,[e,i,!1]}function yr(t,e,n,i){return t={tag:t,create:n,deps:i,inst:e,next:null},e=qt.updateQueue,e===null&&(e=Si(),qt.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t),t}function hc(){return{destroy:void 0,resource:void 0}}function br(){return Qe().memoizedState}function wl(t,e,n,i){var o=Nn();i=i===void 0?null:i,qt.flags|=t,o.memoizedState=yr(1|e,hc(),n,i)}function Ml(t,e,n,i){var o=Qe();i=i===void 0?null:i;var h=o.memoizedState.inst;ge!==null&&i!==null&&El(i,ge.memoizedState.deps)?o.memoizedState=yr(e,h,n,i):(qt.flags|=t,o.memoizedState=yr(1|e,h,n,i))}function Rd(t,e){wl(8390656,8,t,e)}function Xn(t,e){Ml(2048,8,t,e)}function Nd(t,e){return Ml(4,2,t,e)}function Ol(t,e){return Ml(4,4,t,e)}function dc(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function pf(t,e,n){n=n!=null?n.concat([t]):null,Ml(4,4,dc.bind(null,e,t),n)}function gc(){}function jn(t,e){var n=Qe();e=e===void 0?null:e;var i=n.memoizedState;return e!==null&&El(e,i[1])?i[0]:(n.memoizedState=[t,e],t)}function aa(t,e){var n=Qe();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&El(e,i[1]))return i[0];if(i=t(),vn){Yn(!0);try{t()}finally{Yn(!1)}}return n.memoizedState=[i,e],i}function Tl(t,e,n){return n===void 0||(_u&1073741824)!==0?t.memoizedState=e:(t.memoizedState=n,t=d0(),qt.lanes|=t,Va|=t,n)}function Af(t,e,n,i){return Qn(n,e)?n:xi.current!==null?(t=Tl(t,n,i),Qn(t,e)||(an=!0),t):(_u&42)===0?(an=!0,t.memoizedState=n):(t=d0(),qt.lanes|=t,Va|=t,e)}function Bl(t,e,n,i,o){var h=V.p;V.p=h!==0&&8>h?h:8;var D=B.T,b={};B.T=b,bf(t,!1,e,n);try{var w=o(),z=B.S;if(z!==null&&z(b,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){var I=hv(w,i);Fi(t,e,I,pn(t))}else Fi(t,e,i,pn(t))}catch(W){Fi(t,e,{then:function(){},status:"rejected",reason:W},pn())}finally{V.p=h,B.T=D}}function jd(){}function Rl(t,e,n,i){if(t.tag!==5)throw Error(c(476));var o=mf(t).queue;Bl(t,o,e,Q,n===null?jd:function(){return vc(t),n(i)})}function mf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lu,lastRenderedState:Q},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lu,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function vc(t){var e=mf(t).next.queue;Fi(t,e,{},pn())}function Nl(){return ze(Yr)}function ia(){return Qe().memoizedState}function Ld(){return Qe().memoizedState}function Ua(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=pn();t=ja(n);var i=na(e,t,n);i!==null&&(Wn(i,e,n),_l(i,e,n)),e={cache:Wo()},t.payload=e;return}e=e.return}}function zd(t,e,n){var i=pn();n={lane:i,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Dc(t)?Ud(e,n):(n=hr(t,e,n,i),n!==null&&(Wn(n,t,i),_f(n,e,i)))}function yf(t,e,n){var i=pn();Fi(t,e,n,i)}function Fi(t,e,n,i){var o={lane:i,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Dc(t))Ud(e,o);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=e.lastRenderedReducer,h!==null))try{var D=e.lastRenderedState,b=h(D,n);if(o.hasEagerState=!0,o.eagerState=b,Qn(b,D))return Au(t,e,o,0),Ce===null&&di(),!1}catch{}finally{}if(n=hr(t,e,o,i),n!==null)return Wn(n,t,i),_f(n,e,i),!0}return!1}function bf(t,e,n,i){if(i={lane:2,revertLane:Uc(),action:i,hasEagerState:!1,eagerState:null,next:null},Dc(t)){if(e)throw Error(c(479))}else e=hr(t,n,i,2),e!==null&&Wn(e,t,2)}function Dc(t){var e=t.alternate;return t===qt||e!==null&&e===qt}function Ud(t,e){Ei=Ar=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function _f(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,zh(t,n)}}var jl={readContext:ze,use:ac,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt,useHostTransitionStatus:Wt,useFormState:Wt,useActionState:Wt,useOptimistic:Wt,useMemoCache:Wt,useCacheRefresh:Wt},Hd={readContext:ze,use:ac,useCallback:function(t,e){return Nn().memoizedState=[t,e===void 0?null:e],t},useContext:ze,useEffect:Rd,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,wl(4194308,4,dc.bind(null,e,t),n)},useLayoutEffect:function(t,e){return wl(4194308,4,t,e)},useInsertionEffect:function(t,e){wl(4,2,t,e)},useMemo:function(t,e){var n=Nn();e=e===void 0?null:e;var i=t();if(vn){Yn(!0);try{t()}finally{Yn(!1)}}return n.memoizedState=[i,e],i},useReducer:function(t,e,n){var i=Nn();if(n!==void 0){var o=n(e);if(vn){Yn(!0);try{n(e)}finally{Yn(!1)}}}else o=e;return i.memoizedState=i.baseState=o,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},i.queue=t,t=t.dispatch=zd.bind(null,qt,t),[i.memoizedState,t]},useRef:function(t){var e=Nn();return t={current:t},e.memoizedState=t},useState:function(t){t=sc(t);var e=t.queue,n=yf.bind(null,qt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:gc,useDeferredValue:function(t,e){var n=Nn();return Tl(n,t,e)},useTransition:function(){var t=sc(!1);return t=Bl.bind(null,qt,t.queue,!0,!1),Nn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var i=qt,o=Nn();if(Jt){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),Ce===null)throw Error(c(349));(te&124)!==0||rc(i,e,n)}o.memoizedState=n;var h={value:n,getSnapshot:e};return o.queue=h,Rd(lc.bind(null,i,h,t),[t]),i.flags|=2048,yr(9,hc(),Md.bind(null,i,h,n,e),null),n},useId:function(){var t=Nn(),e=Ce.identifierPrefix;if(Jt){var n=ta,i=Oe;n=(i&~(1<<32-An(i)-1)).toString(32)+n,e="«"+e+"R"+n,n=mr++,0<n&&(e+="H"+n.toString(32)),e+="»"}else n=Sd++,e="«"+e+"r"+n.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Nl,useFormState:vf,useActionState:vf,useOptimistic:function(t){var e=Nn();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=bf.bind(null,qt,!0,n),n.dispatch=e,[t,e]},useMemoCache:Sl,useCacheRefresh:function(){return Nn().memoizedState=Ua.bind(null,qt)}},xf={readContext:ze,use:ac,useCallback:jn,useContext:ze,useEffect:Xn,useImperativeHandle:pf,useInsertionEffect:Nd,useLayoutEffect:Ol,useMemo:aa,useReducer:ic,useRef:br,useState:function(){return ic(Lu)},useDebugValue:gc,useDeferredValue:function(t,e){var n=Qe();return Af(n,ge.memoizedState,t,e)},useTransition:function(){var t=ic(Lu)[0],e=Qe().memoizedState;return[typeof t=="boolean"?t:Cl(t),e]},useSyncExternalStore:of,useId:ia,useHostTransitionStatus:Nl,useFormState:fc,useActionState:fc,useOptimistic:function(t,e){var n=Qe();return Fl(n,ge,t,e)},useMemoCache:Sl,useCacheRefresh:Ld},Gd={readContext:ze,use:ac,useCallback:jn,useContext:ze,useEffect:Xn,useImperativeHandle:pf,useInsertionEffect:Nd,useLayoutEffect:Ol,useMemo:aa,useReducer:cf,useRef:br,useState:function(){return cf(Lu)},useDebugValue:gc,useDeferredValue:function(t,e){var n=Qe();return ge===null?Tl(n,t,e):Af(n,ge.memoizedState,t,e)},useTransition:function(){var t=cf(Lu)[0],e=Qe().memoizedState;return[typeof t=="boolean"?t:Cl(t),e]},useSyncExternalStore:of,useId:ia,useHostTransitionStatus:Nl,useFormState:Gt,useActionState:Gt,useOptimistic:function(t,e){var n=Qe();return ge!==null?Fl(n,ge,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Sl,useCacheRefresh:Ld},Ke=null,Ln=0;function pc(t){var e=Ln;return Ln+=1,Ke===null&&(Ke=[]),ef(Ke,t,e)}function Ll(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function wi(t,e){throw e.$$typeof===H?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Mi(t){var e=t._init;return e(t._payload)}function Ef(t){function e(N,T){if(t){var L=N.deletions;L===null?(N.deletions=[T],N.flags|=16):L.push(T)}}function n(N,T){if(!t)return null;for(;T!==null;)e(N,T),T=T.sibling;return null}function i(N){for(var T=new Map;N!==null;)N.key!==null?T.set(N.key,N):T.set(N.index,N),N=N.sibling;return T}function o(N,T){return N=yn(N,T),N.index=0,N.sibling=null,N}function h(N,T,L){return N.index=L,t?(L=N.alternate,L!==null?(L=L.index,L<T?(N.flags|=67108866,T):L):(N.flags|=67108866,T)):(N.flags|=1048576,T)}function D(N){return t&&N.alternate===null&&(N.flags|=67108866),N}function b(N,T,L,J){return T===null||T.tag!==6?(T=Io(L,N.mode,J),T.return=N,T):(T=o(T,L),T.return=N,T)}function w(N,T,L,J){var At=L.type;return At===it?I(N,T,L.props.children,J,L.key):T!==null&&(T.elementType===At||typeof At=="object"&&At!==null&&At.$$typeof===It&&Mi(At)===T.type)?(T=o(T,L.props),Ll(T,L),T.return=N,T):(T=Is(L.type,L.key,L.props,null,N.mode,J),Ll(T,L),T.return=N,T)}function z(N,T,L,J){return T===null||T.tag!==4||T.stateNode.containerInfo!==L.containerInfo||T.stateNode.implementation!==L.implementation?(T=dr(L,N.mode,J),T.return=N,T):(T=o(T,L.children||[]),T.return=N,T)}function I(N,T,L,J,At){return T===null||T.tag!==7?(T=pi(L,N.mode,J,At),T.return=N,T):(T=o(T,L),T.return=N,T)}function W(N,T,L){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=Io(""+T,N.mode,L),T.return=N,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Y:return L=Is(T.type,T.key,T.props,null,N.mode,L),Ll(L,T),L.return=N,L;case et:return T=dr(T,N.mode,L),T.return=N,T;case It:var J=T._init;return T=J(T._payload),W(N,T,L)}if(rt(T)||oe(T))return T=pi(T,N.mode,L,null),T.return=N,T;if(typeof T.then=="function")return W(N,pc(T),L);if(T.$$typeof===at)return W(N,Ws(N,T),L);wi(N,T)}return null}function G(N,T,L,J){var At=T!==null?T.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return At!==null?null:b(N,T,""+L,J);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case Y:return L.key===At?w(N,T,L,J):null;case et:return L.key===At?z(N,T,L,J):null;case It:return At=L._init,L=At(L._payload),G(N,T,L,J)}if(rt(L)||oe(L))return At!==null?null:I(N,T,L,J,null);if(typeof L.then=="function")return G(N,T,pc(L),J);if(L.$$typeof===at)return G(N,T,Ws(N,L),J);wi(N,L)}return null}function U(N,T,L,J,At){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return N=N.get(L)||null,b(T,N,""+J,At);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case Y:return N=N.get(J.key===null?L:J.key)||null,w(T,N,J,At);case et:return N=N.get(J.key===null?L:J.key)||null,z(T,N,J,At);case It:var Vt=J._init;return J=Vt(J._payload),U(N,T,L,J,At)}if(rt(J)||oe(J))return N=N.get(L)||null,I(T,N,J,At,null);if(typeof J.then=="function")return U(N,T,L,pc(J),At);if(J.$$typeof===at)return U(N,T,L,Ws(T,J),At);wi(T,J)}return null}function Mt(N,T,L,J){for(var At=null,Vt=null,_t=T,Ot=T=0,sn=null;_t!==null&&Ot<L.length;Ot++){_t.index>Ot?(sn=_t,_t=null):sn=_t.sibling;var ae=G(N,_t,L[Ot],J);if(ae===null){_t===null&&(_t=sn);break}t&&_t&&ae.alternate===null&&e(N,_t),T=h(ae,T,Ot),Vt===null?At=ae:Vt.sibling=ae,Vt=ae,_t=sn}if(Ot===L.length)return n(N,_t),Jt&&Ai(N,Ot),At;if(_t===null){for(;Ot<L.length;Ot++)_t=W(N,L[Ot],J),_t!==null&&(T=h(_t,T,Ot),Vt===null?At=_t:Vt.sibling=_t,Vt=_t);return Jt&&Ai(N,Ot),At}for(_t=i(_t);Ot<L.length;Ot++)sn=U(_t,N,Ot,L[Ot],J),sn!==null&&(t&&sn.alternate!==null&&_t.delete(sn.key===null?Ot:sn.key),T=h(sn,T,Ot),Vt===null?At=sn:Vt.sibling=sn,Vt=sn);return t&&_t.forEach(function(ti){return e(N,ti)}),Jt&&Ai(N,Ot),At}function Ft(N,T,L,J){if(L==null)throw Error(c(151));for(var At=null,Vt=null,_t=T,Ot=T=0,sn=null,ae=L.next();_t!==null&&!ae.done;Ot++,ae=L.next()){_t.index>Ot?(sn=_t,_t=null):sn=_t.sibling;var ti=G(N,_t,ae.value,J);if(ti===null){_t===null&&(_t=sn);break}t&&_t&&ti.alternate===null&&e(N,_t),T=h(ti,T,Ot),Vt===null?At=ti:Vt.sibling=ti,Vt=ti,_t=sn}if(ae.done)return n(N,_t),Jt&&Ai(N,Ot),At;if(_t===null){for(;!ae.done;Ot++,ae=L.next())ae=W(N,ae.value,J),ae!==null&&(T=h(ae,T,Ot),Vt===null?At=ae:Vt.sibling=ae,Vt=ae);return Jt&&Ai(N,Ot),At}for(_t=i(_t);!ae.done;Ot++,ae=L.next())ae=U(_t,N,Ot,ae.value,J),ae!==null&&(t&&ae.alternate!==null&&_t.delete(ae.key===null?Ot:ae.key),T=h(ae,T,Ot),Vt===null?At=ae:Vt.sibling=ae,Vt=ae);return t&&_t.forEach(function(Iv){return e(N,Iv)}),Jt&&Ai(N,Ot),At}function ye(N,T,L,J){if(typeof L=="object"&&L!==null&&L.type===it&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case Y:t:{for(var At=L.key;T!==null;){if(T.key===At){if(At=L.type,At===it){if(T.tag===7){n(N,T.sibling),J=o(T,L.props.children),J.return=N,N=J;break t}}else if(T.elementType===At||typeof At=="object"&&At!==null&&At.$$typeof===It&&Mi(At)===T.type){n(N,T.sibling),J=o(T,L.props),Ll(J,L),J.return=N,N=J;break t}n(N,T);break}else e(N,T);T=T.sibling}L.type===it?(J=pi(L.props.children,N.mode,J,L.key),J.return=N,N=J):(J=Is(L.type,L.key,L.props,null,N.mode,J),Ll(J,L),J.return=N,N=J)}return D(N);case et:t:{for(At=L.key;T!==null;){if(T.key===At)if(T.tag===4&&T.stateNode.containerInfo===L.containerInfo&&T.stateNode.implementation===L.implementation){n(N,T.sibling),J=o(T,L.children||[]),J.return=N,N=J;break t}else{n(N,T);break}else e(N,T);T=T.sibling}J=dr(L,N.mode,J),J.return=N,N=J}return D(N);case It:return At=L._init,L=At(L._payload),ye(N,T,L,J)}if(rt(L))return Mt(N,T,L,J);if(oe(L)){if(At=oe(L),typeof At!="function")throw Error(c(150));return L=At.call(L),Ft(N,T,L,J)}if(typeof L.then=="function")return ye(N,T,pc(L),J);if(L.$$typeof===at)return ye(N,T,Ws(N,L),J);wi(N,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,T!==null&&T.tag===6?(n(N,T.sibling),J=o(T,L),J.return=N,N=J):(n(N,T),J=Io(L,N.mode,J),J.return=N,N=J),D(N)):n(N,T)}return function(N,T,L,J){try{Ln=0;var At=ye(N,T,L,J);return Ke=null,At}catch(_t){if(_t===bn||_t===tc)throw _t;var Vt=On(29,_t,null,N.mode);return Vt.lanes=J,Vt.return=N,Vt}finally{}}}var Oi=Ef(!0),qd=Ef(!1),In=q(null),_n=null;function fu(t){var e=t.alternate;nt(Ue,Ue.current&1),nt(In,t),_n===null&&(e===null||xi.current!==null||e.memoizedState!==null)&&(_n=t)}function Yd(t){if(t.tag===22){if(nt(Ue,Ue.current),nt(In,t),_n===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(_n=t)}}else ra()}function ra(){nt(Ue,Ue.current),nt(In,In.current)}function zu(t){ut(In),_n===t&&(_n=null),ut(Ue)}var Ue=q(0);function zl(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||En(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function _r(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n==null?e:O({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Ul={enqueueSetState:function(t,e,n){t=t._reactInternals;var i=pn(),o=ja(i);o.payload=e,n!=null&&(o.callback=n),e=na(t,o,i),e!==null&&(Wn(e,t,i),_l(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var i=pn(),o=ja(i);o.tag=1,o.payload=e,n!=null&&(o.callback=n),e=na(t,o,i),e!==null&&(Wn(e,t,i),_l(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=pn(),i=ja(n);i.tag=2,e!=null&&(i.callback=e),e=na(t,i,n),e!==null&&(Wn(e,t,n),_l(e,t,n))}};function Hl(t,e,n,i,o,h,D){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(i,h,D):e.prototype&&e.prototype.isPureReactComponent?!Nu(n,i)||!Nu(o,h):!0}function kd(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&Ul.enqueueReplaceState(e,e.state,null)}function Ha(t,e){var n=e;if("ref"in e){n={};for(var i in e)i!=="ref"&&(n[i]=e[i])}if(t=t.defaultProps){n===e&&(n=O({},n));for(var o in t)n[o]===void 0&&(n[o]=t[o])}return n}var Ti=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Cf(t){Ti(t)}function Ac(t){console.error(t)}function Vd(t){Ti(t)}function Gl(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function Uu(t,e,n){try{var i=t.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function mc(t,e,n){return n=ja(n),n.tag=3,n.payload={element:null},n.callback=function(){Gl(t,e)},n}function Sf(t){return t=ja(t),t.tag=3,t}function Qd(t,e,n,i){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var h=i.value;t.payload=function(){return o(h)},t.callback=function(){Uu(e,n,i)}}var D=n.stateNode;D!==null&&typeof D.componentDidCatch=="function"&&(t.callback=function(){Uu(e,n,i),typeof o!="function"&&(Qa===null?Qa=new Set([this]):Qa.add(this));var b=i.stack;this.componentDidCatch(i.value,{componentStack:b!==null?b:""})})}function Zd(t,e,n,i,o){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=n.alternate,e!==null&&ml(e,n,o,!0),n=In.current,n!==null){switch(n.tag){case 13:return _n===null?Qf():n.alternate===null&&He===0&&(He=3),n.flags&=-257,n.flags|=65536,n.lanes=o,i===tf?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([i]):e.add(i),Xf(t,i,o)),!1;case 22:return n.flags|=65536,i===tf?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([i]):n.add(i)),Xf(t,i,o)),!1}throw Error(c(435,n.tag))}return Xf(t,i,o),Qf(),!1}if(Jt)return e=In.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=o,i!==gr&&(t=Error(c(422),{cause:i}),Ra(mn(t,n)))):(i!==gr&&(e=Error(c(423),{cause:i}),Ra(mn(e,n))),t=t.current.alternate,t.flags|=65536,o&=-o,t.lanes|=o,i=mn(i,n),o=mc(t.stateNode,i,o),yu(t,o),He!==4&&(He=2)),!1;var h=Error(c(520),{cause:i});if(h=mn(h,n),Jl===null?Jl=[h]:Jl.push(h),He!==4&&(He=2),e===null)return!0;i=mn(i,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=o&-o,n.lanes|=t,t=mc(n.stateNode,i,t),yu(n,t),!1;case 1:if(e=n.type,h=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Qa===null||!Qa.has(h))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Sf(o),Qd(o,t,n,i),yu(n,o),!1}n=n.return}while(n!==null);return!1}var Kd=Error(c(461)),an=!1;function Fe(t,e,n,i){e.child=t===null?qd(e,null,n,i):Oi(e,t.child,n,i)}function yc(t,e,n,i,o){n=n.render;var h=e.ref;if("ref"in i){var D={};for(var b in i)b!=="ref"&&(D[b]=i[b])}else D=i;return yi(e),i=af(t,e,n,D,h,o),b=lf(),t!==null&&!an?(Ci(t,e,o),la(t,e,o)):(Jt&&b&&$o(e),e.flags|=1,Fe(t,e,i,o),e.child)}function bc(t,e,n,i,o){if(t===null){var h=n.type;return typeof h=="function"&&!Di(h)&&h.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=h,_c(t,e,h,i,o)):(t=Is(n.type,null,i,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(h=t.child,!xu(t,o)){var D=h.memoizedProps;if(n=n.compare,n=n!==null?n:Nu,n(D,i)&&t.ref===e.ref)return la(t,e,o)}return e.flags|=1,t=yn(h,i),t.ref=e.ref,t.return=e,e.child=t}function _c(t,e,n,i,o){if(t!==null){var h=t.memoizedProps;if(Nu(h,i)&&t.ref===e.ref)if(an=!1,e.pendingProps=i=h,xu(t,o))(t.flags&131072)!==0&&(an=!0);else return e.lanes=t.lanes,la(t,e,o)}return xr(t,e,n,i,o)}function ql(t,e,n){var i=e.pendingProps,o=i.children,h=t!==null?t.memoizedState:null;if(i.mode==="hidden"){if((e.flags&128)!==0){if(i=h!==null?h.baseLanes|n:n,t!==null){for(o=e.child=t.child,h=0;o!==null;)h=h|o.lanes|o.childLanes,o=o.sibling;e.childLanes=h&~i}else e.childLanes=0,e.child=null;return Bi(t,e,i,n)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ps(e,h!==null?h.cachePool:null),h!==null?ua(e,h):nc(),Yd(e);else return e.lanes=e.childLanes=536870912,Bi(t,e,h!==null?h.baseLanes|n:n,n)}else h!==null?(Ps(e,h.cachePool),ua(e,h),ra(),e.memoizedState=null):(t!==null&&Ps(e,null),nc(),ra());return Fe(t,e,o,n),e.child}function Bi(t,e,n,i){var o=ea();return o=o===null?null:{parent:_e._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&Ps(e,null),nc(),Yd(e),t!==null&&ml(t,e,i,!0),null}function Ct(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(c(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function xr(t,e,n,i,o){return yi(e),n=af(t,e,n,i,void 0,o),i=lf(),t!==null&&!an?(Ci(t,e,o),la(t,e,o)):(Jt&&i&&$o(e),e.flags|=1,Fe(t,e,n,o),e.child)}function xc(t,e,n,i,o,h){return yi(e),e.updateQueue=null,n=wd(e,i,n,o),Fd(t),i=lf(),t!==null&&!an?(Ci(t,e,h),la(t,e,h)):(Jt&&i&&$o(e),e.flags|=1,Fe(t,e,n,h),e.child)}function Ga(t,e,n,i,o){if(yi(e),e.stateNode===null){var h=vi,D=n.contextType;typeof D=="object"&&D!==null&&(h=ze(D)),h=new n(i,h),e.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Ul,e.stateNode=h,h._reactInternals=e,h=e.stateNode,h.props=i,h.state=e.memoizedState,h.refs={},_i(e),D=n.contextType,h.context=typeof D=="object"&&D!==null?ze(D):vi,h.state=e.memoizedState,D=n.getDerivedStateFromProps,typeof D=="function"&&(_r(e,n,D,i),h.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(D=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),D!==h.state&&Ul.enqueueReplaceState(h,h.state,null),gn(e,i,h,o),bu(),h.state=e.memoizedState),typeof h.componentDidMount=="function"&&(e.flags|=4194308),i=!0}else if(t===null){h=e.stateNode;var b=e.memoizedProps,w=Ha(n,b);h.props=w;var z=h.context,I=n.contextType;D=vi,typeof I=="object"&&I!==null&&(D=ze(I));var W=n.getDerivedStateFromProps;I=typeof W=="function"||typeof h.getSnapshotBeforeUpdate=="function",b=e.pendingProps!==b,I||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(b||z!==D)&&kd(e,h,i,D),ju=!1;var G=e.memoizedState;h.state=G,gn(e,i,h,o),bu(),z=e.memoizedState,b||G!==z||ju?(typeof W=="function"&&(_r(e,n,W,i),z=e.memoizedState),(w=ju||Hl(e,n,w,i,G,z,D))?(I||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(e.flags|=4194308)):(typeof h.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=z),h.props=i,h.state=z,h.context=D,i=w):(typeof h.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{h=e.stateNode,pr(t,e),D=e.memoizedProps,I=Ha(n,D),h.props=I,W=e.pendingProps,G=h.context,z=n.contextType,w=vi,typeof z=="object"&&z!==null&&(w=ze(z)),b=n.getDerivedStateFromProps,(z=typeof b=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(D!==W||G!==w)&&kd(e,h,i,w),ju=!1,G=e.memoizedState,h.state=G,gn(e,i,h,o),bu();var U=e.memoizedState;D!==W||G!==U||ju||t!==null&&t.dependencies!==null&&$s(t.dependencies)?(typeof b=="function"&&(_r(e,n,b,i),U=e.memoizedState),(I=ju||Hl(e,n,I,i,G,U,w)||t!==null&&t.dependencies!==null&&$s(t.dependencies))?(z||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(i,U,w),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(i,U,w)),typeof h.componentDidUpdate=="function"&&(e.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof h.componentDidUpdate!="function"||D===t.memoizedProps&&G===t.memoizedState||(e.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||D===t.memoizedProps&&G===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=U),h.props=i,h.state=U,h.context=w,i=I):(typeof h.componentDidUpdate!="function"||D===t.memoizedProps&&G===t.memoizedState||(e.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||D===t.memoizedProps&&G===t.memoizedState||(e.flags|=1024),i=!1)}return h=i,Ct(t,e),i=(e.flags&128)!==0,h||i?(h=e.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:h.render(),e.flags|=1,t!==null&&i?(e.child=Oi(e,t.child,null,o),e.child=Oi(e,null,n,o)):Fe(t,e,n,o),e.memoizedState=h.state,t=e.child):t=la(t,e,o),t}function Xd(t,e,n,i){return Al(),e.flags|=256,Fe(t,e,n,i),e.child}var Yl={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ec(t){return{baseLanes:t,cachePool:yd()}}function rn(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=du),t}function Id(t,e,n){var i=e.pendingProps,o=!1,h=(e.flags&128)!==0,D;if((D=h)||(D=t!==null&&t.memoizedState===null?!1:(Ue.current&2)!==0),D&&(o=!0,e.flags&=-129),D=(e.flags&32)!==0,e.flags&=-33,t===null){if(Jt){if(o?fu(e):ra(),Jt){var b=Te,w;if(w=b){t:{for(w=b,b=Tn;w.nodeType!==8;){if(!b){b=null;break t}if(w=Cu(w.nextSibling),w===null){b=null;break t}}b=w}b!==null?(e.memoizedState={dehydrated:b,treeContext:Se!==null?{id:Oe,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},w=On(18,null,null,0),w.stateNode=b,w.return=e,e.child=w,Ze=e,Te=null,w=!0):w=!1}w||su(e)}if(b=e.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return En(b)?e.lanes=32:e.lanes=536870912,null;zu(e)}return b=i.children,i=i.fallback,o?(ra(),o=e.mode,b=kl({mode:"hidden",children:b},o),i=pi(i,o,n,null),b.return=e,i.return=e,b.sibling=i,e.child=b,o=e.child,o.memoizedState=Ec(n),o.childLanes=rn(t,D,n),e.memoizedState=Yl,i):(fu(e),Ff(e,b))}if(w=t.memoizedState,w!==null&&(b=w.dehydrated,b!==null)){if(h)e.flags&256?(fu(e),e.flags&=-257,e=wf(t,e,n)):e.memoizedState!==null?(ra(),e.child=t.child,e.flags|=128,e=null):(ra(),o=i.fallback,b=e.mode,i=kl({mode:"visible",children:i.children},b),o=pi(o,b,n,null),o.flags|=2,i.return=e,o.return=e,i.sibling=o,e.child=i,Oi(e,t.child,null,n),i=e.child,i.memoizedState=Ec(n),i.childLanes=rn(t,D,n),e.memoizedState=Yl,e=o);else if(fu(e),En(b)){if(D=b.nextSibling&&b.nextSibling.dataset,D)var z=D.dgst;D=z,i=Error(c(419)),i.stack="",i.digest=D,Ra({value:i,source:null,stack:null}),e=wf(t,e,n)}else if(an||ml(t,e,n,!1),D=(n&t.childLanes)!==0,an||D){if(D=Ce,D!==null&&(i=n&-n,i=(i&42)!==0?1:Ao(i),i=(i&(D.suspendedLanes|n))!==0?0:i,i!==0&&i!==w.retryLane))throw w.retryLane=i,gi(t,i),Wn(D,t,i),Kd;b.data==="$?"||Qf(),e=wf(t,e,n)}else b.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=w.treeContext,Te=Cu(b.nextSibling),Ze=e,Jt=!0,mu=null,Tn=!1,t!==null&&(ru[lu++]=Oe,ru[lu++]=ta,ru[lu++]=Se,Oe=t.id,ta=t.overflow,Se=e),e=Ff(e,i.children),e.flags|=4096);return e}return o?(ra(),o=i.fallback,b=e.mode,w=t.child,z=w.sibling,i=yn(w,{mode:"hidden",children:i.children}),i.subtreeFlags=w.subtreeFlags&65011712,z!==null?o=yn(z,o):(o=pi(o,b,n,null),o.flags|=2),o.return=e,i.return=e,i.sibling=o,e.child=i,i=o,o=e.child,b=t.child.memoizedState,b===null?b=Ec(n):(w=b.cachePool,w!==null?(z=_e._currentValue,w=w.parent!==z?{parent:z,pool:z}:w):w=yd(),b={baseLanes:b.baseLanes|n,cachePool:w}),o.memoizedState=b,o.childLanes=rn(t,D,n),e.memoizedState=Yl,i):(fu(e),n=t.child,t=n.sibling,n=yn(n,{mode:"visible",children:i.children}),n.return=e,n.sibling=null,t!==null&&(D=e.deletions,D===null?(e.deletions=[t],e.flags|=16):D.push(t)),e.child=n,e.memoizedState=null,n)}function Ff(t,e){return e=kl({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function kl(t,e){return t=On(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function wf(t,e,n){return Oi(e,t.child,null,n),t=Ff(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Mf(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),Bn(t.return,e,n)}function Of(t,e,n,i,o){var h=t.memoizedState;h===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o}:(h.isBackwards=e,h.rendering=null,h.renderingStartTime=0,h.last=i,h.tail=n,h.tailMode=o)}function Jd(t,e,n){var i=e.pendingProps,o=i.revealOrder,h=i.tail;if(Fe(t,e,i.children,n),i=Ue.current,(i&2)!==0)i=i&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Mf(t,n,e);else if(t.tag===19)Mf(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}i&=1}switch(nt(Ue,i),o){case"forwards":for(n=e.child,o=null;n!==null;)t=n.alternate,t!==null&&zl(t)===null&&(o=n),n=n.sibling;n=o,n===null?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),Of(e,!1,o,n,h);break;case"backwards":for(n=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&zl(t)===null){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}Of(e,!0,n,null,h);break;case"together":Of(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function la(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Va|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ml(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=yn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=yn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function xu(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&$s(t)))}function xn(t,e,n){switch(e.tag){case 3:Zt(e,e.stateNode.containerInfo),Kn(e,_e,t.memoizedState.cache),Al();break;case 27:case 5:ke(e);break;case 4:Zt(e,e.stateNode.containerInfo);break;case 10:Kn(e,e.type,e.memoizedProps.value);break;case 13:var i=e.memoizedState;if(i!==null)return i.dehydrated!==null?(fu(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Id(t,e,n):(fu(e),t=la(t,e,n),t!==null?t.sibling:null);fu(e);break;case 19:var o=(t.flags&128)!==0;if(i=(n&e.childLanes)!==0,i||(ml(t,e,n,!1),i=(n&e.childLanes)!==0),o){if(i)return Jd(t,e,n);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),nt(Ue,Ue.current),i)break;return null;case 22:case 23:return e.lanes=0,ql(t,e,n);case 24:Kn(e,_e,t.memoizedState.cache)}return la(t,e,n)}function Cc(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)an=!0;else{if(!xu(t,n)&&(e.flags&128)===0)return an=!1,xn(t,e,n);an=(t.flags&131072)!==0}else an=!1,Jt&&(e.flags&1048576)!==0&&Jo(e,vl,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var i=e.elementType,o=i._init;if(i=o(i._payload),e.type=i,typeof i=="function")Di(i)?(t=Ha(i,t),e.tag=1,e=Ga(null,e,i,t,n)):(e.tag=0,e=xr(null,e,i,t,n));else{if(i!=null){if(o=i.$$typeof,o===ct){e.tag=11,e=yc(null,e,i,t,n);break t}else if(o===wt){e.tag=14,e=bc(null,e,i,t,n);break t}}throw e=bt(i)||i,Error(c(306,e,""))}}return e;case 0:return xr(t,e,e.type,e.pendingProps,n);case 1:return i=e.type,o=Ha(i,e.pendingProps),Ga(t,e,i,o,n);case 3:t:{if(Zt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));i=e.pendingProps;var h=e.memoizedState;o=h.element,pr(t,e),gn(e,i,null,n);var D=e.memoizedState;if(i=D.cache,Kn(e,_e,i),i!==h.cache&&kt(e,[_e],n,!0),bu(),i=D.element,h.isDehydrated)if(h={element:i,isDehydrated:!1,cache:D.cache},e.updateQueue.baseState=h,e.memoizedState=h,e.flags&256){e=Xd(t,e,i,n);break t}else if(i!==o){o=mn(Error(c(424)),e),Ra(o),e=Xd(t,e,i,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Te=Cu(t.firstChild),Ze=e,Jt=!0,mu=null,Tn=!0,n=qd(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Al(),i===o){e=la(t,e,n);break t}Fe(t,e,i,n)}e=e.child}return e;case 26:return Ct(t,e),t===null?(n=Z0(e.type,null,e.pendingProps,null))?e.memoizedState=n:Jt||(n=e.type,t=e.pendingProps,i=ji(xt.current).createElement(n),i[nn]=e,i[Fn]=t,Je(i,n,t),un(i),e.stateNode=i):e.memoizedState=Z0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ke(e),t===null&&Jt&&(i=e.stateNode=k0(e.type,e.pendingProps,xt.current),Ze=e,Tn=!0,o=Te,gu(e.type)?(uh=o,Te=Cu(i.firstChild)):Te=o),Fe(t,e,e.pendingProps.children,n),Ct(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Jt&&((o=i=Te)&&(i=q0(i,e.type,e.pendingProps,Tn),i!==null?(e.stateNode=i,Ze=e,Te=Cu(i.firstChild),Tn=!1,o=!0):o=!1),o||su(e)),ke(e),o=e.type,h=e.pendingProps,D=t!==null?t.memoizedProps:null,i=h.children,Yc(o,h)?i=null:D!==null&&Yc(o,D)&&(e.flags|=32),e.memoizedState!==null&&(o=af(t,e,rf,null,null,n),Yr._currentValue=o),Ct(t,e),Fe(t,e,i,n),e.child;case 6:return t===null&&Jt&&((t=n=Te)&&(n=Vc(n,e.pendingProps,Tn),n!==null?(e.stateNode=n,Ze=e,Te=null,t=!0):t=!1),t||su(e)),null;case 13:return Id(t,e,n);case 4:return Zt(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=Oi(e,null,i,n):Fe(t,e,i,n),e.child;case 11:return yc(t,e,e.type,e.pendingProps,n);case 7:return Fe(t,e,e.pendingProps,n),e.child;case 8:return Fe(t,e,e.pendingProps.children,n),e.child;case 12:return Fe(t,e,e.pendingProps.children,n),e.child;case 10:return i=e.pendingProps,Kn(e,e.type,i.value),Fe(t,e,i.children,n),e.child;case 9:return o=e.type._context,i=e.pendingProps.children,yi(e),o=ze(o),i=i(o),e.flags|=1,Fe(t,e,i,n),e.child;case 14:return bc(t,e,e.type,e.pendingProps,n);case 15:return _c(t,e,e.type,e.pendingProps,n);case 19:return Jd(t,e,n);case 31:return i=e.pendingProps,n=e.mode,i={mode:i.mode,children:i.children},t===null?(n=kl(i,n),n.ref=e.ref,e.child=n,n.return=e,e=n):(n=yn(t.child,i),n.ref=e.ref,e.child=n,n.return=e,e=n),e;case 22:return ql(t,e,n);case 24:return yi(e),i=ze(_e),t===null?(o=ea(),o===null&&(o=Ce,h=Wo(),o.pooledCache=h,h.refCount++,h!==null&&(o.pooledCacheLanes|=n),o=h),e.memoizedState={parent:i,cache:o},_i(e),Kn(e,_e,o)):((t.lanes&n)!==0&&(pr(t,e),gn(e,null,null,n),bu()),o=t.memoizedState,h=e.memoizedState,o.parent!==i?(o={parent:i,cache:i},e.memoizedState=o,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=o),Kn(e,_e,i)):(i=h.cache,Kn(e,_e,i),i!==o.cache&&kt(e,[_e],n,!0))),Fe(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function sa(t){t.flags|=4}function Sc(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!$e(e)){if(e=In.current,e!==null&&((te&4194048)===te?_n!==null:(te&62914560)!==te&&(te&536870912)===0||e!==_n))throw Dr=tf,bd;t.flags|=8192}}function Fc(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?jh():536870912,t.lanes|=e,Or|=e)}function Vl(t,e){if(!Jt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}function xe(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var o=t.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function $d(t,e,n){var i=e.pendingProps;switch(Dl(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xe(e),null;case 1:return xe(e),null;case 3:return n=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),cu(_e),Le(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(pl(e)?sa(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Dd())),xe(e),null;case 26:return n=e.memoizedState,t===null?(sa(e),n!==null?(xe(e),Sc(e,n)):(xe(e),e.flags&=-16777217)):n?n!==t.memoizedState?(sa(e),xe(e),Sc(e,n)):(xe(e),e.flags&=-16777217):(t.memoizedProps!==i&&sa(e),xe(e),e.flags&=-16777217),null;case 27:tn(e),n=xt.current;var o=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==i&&sa(e);else{if(!i){if(e.stateNode===null)throw Error(c(166));return xe(e),null}t=vt.current,pl(e)?gd(e):(t=k0(o,i,n),e.stateNode=t,sa(e))}return xe(e),null;case 5:if(tn(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&sa(e);else{if(!i){if(e.stateNode===null)throw Error(c(166));return xe(e),null}if(t=vt.current,pl(e))gd(e);else{switch(o=ji(xt.current),t){case 1:t=o.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=o.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":t=o.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof i.is=="string"?o.createElement("select",{is:i.is}):o.createElement("select"),i.multiple?t.multiple=!0:i.size&&(t.size=i.size);break;default:t=typeof i.is=="string"?o.createElement(n,{is:i.is}):o.createElement(n)}}t[nn]=e,t[Fn]=i;t:for(o=e.child;o!==null;){if(o.tag===5||o.tag===6)t.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)break t;for(;o.sibling===null;){if(o.return===null||o.return===e)break t;o=o.return}o.sibling.return=o.return,o=o.sibling}e.stateNode=t;t:switch(Je(t,n,i),n){case"button":case"input":case"select":case"textarea":t=!!i.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&sa(e)}}return xe(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&sa(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(c(166));if(t=xt.current,pl(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,o=Ze,o!==null)switch(o.tag){case 27:case 5:i=o.memoizedProps}t[nn]=e,t=!!(t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||z0(t.nodeValue,n)),t||su(e)}else t=ji(t).createTextNode(i),t[nn]=e,e.stateNode=t}return xe(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(o=pl(e),i!==null&&i.dehydrated!==null){if(t===null){if(!o)throw Error(c(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(c(317));o[nn]=e}else Al(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;xe(e),o=!1}else o=Dd(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),o=!0;if(!o)return e.flags&256?(zu(e),e):(zu(e),null)}if(zu(e),(e.flags&128)!==0)return e.lanes=n,e;if(n=i!==null,t=t!==null&&t.memoizedState!==null,n){i=e.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool);var h=null;i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(h=i.memoizedState.cachePool.pool),h!==o&&(i.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),Fc(e,e.updateQueue),xe(e),null;case 4:return Le(),t===null&&Pf(e.stateNode.containerInfo),xe(e),null;case 10:return cu(e.type),xe(e),null;case 19:if(ut(Ue),o=e.memoizedState,o===null)return xe(e),null;if(i=(e.flags&128)!==0,h=o.rendering,h===null)if(i)Vl(o,!1);else{if(He!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(h=zl(t),h!==null){for(e.flags|=128,Vl(o,!1),t=h.updateQueue,e.updateQueue=t,Fc(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)gl(n,t),n=n.sibling;return nt(Ue,Ue.current&1|2),e.child}t=t.sibling}o.tail!==null&&pe()>Tr&&(e.flags|=128,i=!0,Vl(o,!1),e.lanes=4194304)}else{if(!i)if(t=zl(h),t!==null){if(e.flags|=128,i=!0,t=t.updateQueue,e.updateQueue=t,Fc(e,t),Vl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!h.alternate&&!Jt)return xe(e),null}else 2*pe()-o.renderingStartTime>Tr&&n!==536870912&&(e.flags|=128,i=!0,Vl(o,!1),e.lanes=4194304);o.isBackwards?(h.sibling=e.child,e.child=h):(t=o.last,t!==null?t.sibling=h:e.child=h,o.last=h)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=pe(),e.sibling=null,t=Ue.current,nt(Ue,i?t&1|2:t&1),e):(xe(e),null);case 22:case 23:return zu(e),uf(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(xe(e),e.subtreeFlags&6&&(e.flags|=8192)):xe(e),n=e.updateQueue,n!==null&&Fc(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&ut(bi),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),cu(_e),xe(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Wd(t,e){switch(Dl(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return cu(_e),Le(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return tn(e),null;case 13:if(zu(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));Al()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return ut(Ue),null;case 4:return Le(),null;case 10:return cu(e.type),null;case 22:case 23:return zu(e),uf(),t!==null&&ut(bi),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return cu(_e),null;case 25:return null;default:return null}}function Pd(t,e){switch(Dl(e),e.tag){case 3:cu(_e),Le();break;case 26:case 27:case 5:tn(e);break;case 4:Le();break;case 13:zu(e);break;case 19:ut(Ue);break;case 10:cu(e.type);break;case 22:case 23:zu(e),uf(),t!==null&&ut(bi);break;case 24:cu(_e)}}function Ql(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var o=i.next;n=o;do{if((n.tag&t)===t){i=void 0;var h=n.create,D=n.inst;i=h(),D.destroy=i}n=n.next}while(n!==o)}}catch(b){Ee(e,e.return,b)}}function qa(t,e,n){try{var i=e.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var h=o.next;i=h;do{if((i.tag&t)===t){var D=i.inst,b=D.destroy;if(b!==void 0){D.destroy=void 0,o=e;var w=n,z=b;try{z()}catch(I){Ee(o,w,I)}}}i=i.next}while(i!==h)}}catch(I){Ee(e,e.return,I)}}function t0(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{nf(e,n)}catch(i){Ee(t,t.return,i)}}}function Tf(t,e,n){n.props=Ha(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){Ee(t,e,i)}}function Er(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:i=t.stateNode;break;default:i=t.stateNode}typeof n=="function"?t.refCleanup=n(i):n.current=i}}catch(o){Ee(t,e,o)}}function Hu(t,e){var n=t.ref,i=t.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(o){Ee(t,e,o)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){Ee(t,e,o)}else n.current=null}function wc(t){var e=t.type,n=t.memoizedProps,i=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(o){Ee(t,t.return,o)}}function Mc(t,e,n){try{var i=t.stateNode;wv(i,t.type,n,e),i[Fn]=e}catch(o){Ee(t,t.return,o)}}function Cr(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&gu(t.type)||t.tag===4}function Zl(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Cr(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&gu(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Oc(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Gc));else if(i!==4&&(i===27&&gu(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Oc(t,e,n),t=t.sibling;t!==null;)Oc(t,e,n),t=t.sibling}function Kl(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(i!==4&&(i===27&&gu(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(Kl(t,e,n),t=t.sibling;t!==null;)Kl(t,e,n),t=t.sibling}function Xl(t){var e=t.stateNode,n=t.memoizedProps;try{for(var i=t.type,o=e.attributes;o.length;)e.removeAttributeNode(o[0]);Je(e,i,n),e[nn]=t,e[Fn]=n}catch(h){Ee(t,t.return,h)}}var Gu=!1,fe=!1,ca=!1,e0=typeof WeakSet=="function"?WeakSet:Set,Xe=null;function gv(t,e){if(t=t.containerInfo,Eu=Xc,t=hd(t),Zo(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,h=i.focusNode;i=i.focusOffset;try{n.nodeType,h.nodeType}catch{n=null;break t}var D=0,b=-1,w=-1,z=0,I=0,W=t,G=null;e:for(;;){for(var U;W!==n||o!==0&&W.nodeType!==3||(b=D+o),W!==h||i!==0&&W.nodeType!==3||(w=D+i),W.nodeType===3&&(D+=W.nodeValue.length),(U=W.firstChild)!==null;)G=W,W=U;for(;;){if(W===t)break e;if(G===n&&++z===o&&(b=D),G===h&&++I===i&&(w=D),(U=W.nextSibling)!==null)break;W=G,G=W.parentNode}W=U}n=b===-1||w===-1?null:{start:b,end:w}}else n=null}n=n||{start:0,end:0}}else n=null;for(qc={focusedElem:t,selectionRange:n},Xc=!1,Xe=e;Xe!==null;)if(e=Xe,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Xe=t;else for(;Xe!==null;){switch(e=Xe,h=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&h!==null){t=void 0,n=e,o=h.memoizedProps,h=h.memoizedState,i=n.stateNode;try{var Mt=Ha(n.type,o,n.elementType===n.type);t=i.getSnapshotBeforeUpdate(Mt,h),i.__reactInternalSnapshotBeforeUpdate=t}catch(Ft){Ee(n,n.return,Ft)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)nh(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":nh(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,Xe=t;break}Xe=e.return}}function n0(t,e,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:Ya(t,n),i&4&&Ql(5,n);break;case 1:if(Ya(t,n),i&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(D){Ee(n,n.return,D)}else{var o=Ha(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(o,e,t.__reactInternalSnapshotBeforeUpdate)}catch(D){Ee(n,n.return,D)}}i&64&&t0(n),i&512&&Er(n,n.return);break;case 3:if(Ya(t,n),i&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{nf(t,e)}catch(D){Ee(n,n.return,D)}}break;case 27:e===null&&i&4&&Xl(n);case 26:case 5:Ya(t,n),e===null&&i&4&&wc(n),i&512&&Er(n,n.return);break;case 12:Ya(t,n);break;case 13:Ya(t,n),i&4&&i0(t,n),i&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=jc.bind(null,n),zr(t,n))));break;case 22:if(i=n.memoizedState!==null||Gu,!i){e=e!==null&&e.memoizedState!==null||fe,o=Gu;var h=fe;Gu=i,(fe=e)&&!h?fa(t,n,(n.subtreeFlags&8772)!==0):Ya(t,n),Gu=o,fe=h}break;case 30:break;default:Ya(t,n)}}function u0(t){var e=t.alternate;e!==null&&(t.alternate=null,u0(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&yo(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Be=null,zn=!1;function oa(t,e,n){for(n=n.child;n!==null;)a0(t,e,n),n=n.sibling}function a0(t,e,n){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(el,n)}catch{}switch(n.tag){case 26:fe||Hu(n,e),oa(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:fe||Hu(n,e);var i=Be,o=zn;gu(n.type)&&(Be=n.stateNode,zn=!1),oa(t,e,n),is(n.stateNode),Be=i,zn=o;break;case 5:fe||Hu(n,e);case 6:if(i=Be,o=zn,Be=null,oa(t,e,n),Be=i,zn=o,Be!==null)if(zn)try{(Be.nodeType===9?Be.body:Be.nodeName==="HTML"?Be.ownerDocument.body:Be).removeChild(n.stateNode)}catch(h){Ee(n,e,h)}else try{Be.removeChild(n.stateNode)}catch(h){Ee(n,e,h)}break;case 18:Be!==null&&(zn?(t=Be,kc(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),ds(t)):kc(Be,n.stateNode));break;case 4:i=Be,o=zn,Be=n.stateNode.containerInfo,zn=!0,oa(t,e,n),Be=i,zn=o;break;case 0:case 11:case 14:case 15:fe||qa(2,n,e),fe||qa(4,n,e),oa(t,e,n);break;case 1:fe||(Hu(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"&&Tf(n,e,i)),oa(t,e,n);break;case 21:oa(t,e,n);break;case 22:fe=(i=fe)||n.memoizedState!==null,oa(t,e,n),fe=i;break;default:oa(t,e,n)}}function i0(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ds(t)}catch(n){Ee(e,e.return,n)}}function vv(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new e0),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new e0),e;default:throw Error(c(435,t.tag))}}function Bf(t,e){var n=vv(t);e.forEach(function(i){var o=bv.bind(null,t,i);n.has(i)||(n.add(i),i.then(o,o))})}function Jn(t,e){var n=e.deletions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i],h=t,D=e,b=D;t:for(;b!==null;){switch(b.tag){case 27:if(gu(b.type)){Be=b.stateNode,zn=!1;break t}break;case 5:Be=b.stateNode,zn=!1;break t;case 3:case 4:Be=b.stateNode.containerInfo,zn=!0;break t}b=b.return}if(Be===null)throw Error(c(160));a0(h,D,o),Be=null,zn=!1,h=o.alternate,h!==null&&(h.return=null),o.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Rf(e,t),e=e.sibling}var hu=null;function Rf(t,e){var n=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Jn(e,t),Un(t),i&4&&(qa(3,t,t.return),Ql(3,t),qa(5,t,t.return));break;case 1:Jn(e,t),Un(t),i&512&&(fe||n===null||Hu(n,n.return)),i&64&&Gu&&(t=t.updateQueue,t!==null&&(i=t.callbacks,i!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var o=hu;if(Jn(e,t),Un(t),i&512&&(fe||n===null||Hu(n,n.return)),i&4){var h=n!==null?n.memoizedState:null;if(i=t.memoizedState,n===null)if(i===null)if(t.stateNode===null){t:{i=t.type,n=t.memoizedProps,o=o.ownerDocument||o;e:switch(i){case"title":h=o.getElementsByTagName("title")[0],(!h||h[nl]||h[nn]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=o.createElement(i),o.head.insertBefore(h,o.querySelector("head > title"))),Je(h,i,n),h[nn]=t,un(h),i=h;break t;case"link":var D=I0("link","href",o).get(i+(n.href||""));if(D){for(var b=0;b<D.length;b++)if(h=D[b],h.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&h.getAttribute("rel")===(n.rel==null?null:n.rel)&&h.getAttribute("title")===(n.title==null?null:n.title)&&h.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){D.splice(b,1);break e}}h=o.createElement(i),Je(h,i,n),o.head.appendChild(h);break;case"meta":if(D=I0("meta","content",o).get(i+(n.content||""))){for(b=0;b<D.length;b++)if(h=D[b],h.getAttribute("content")===(n.content==null?null:""+n.content)&&h.getAttribute("name")===(n.name==null?null:n.name)&&h.getAttribute("property")===(n.property==null?null:n.property)&&h.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&h.getAttribute("charset")===(n.charSet==null?null:n.charSet)){D.splice(b,1);break e}}h=o.createElement(i),Je(h,i,n),o.head.appendChild(h);break;default:throw Error(c(468,i))}h[nn]=t,un(h),i=h}t.stateNode=i}else J0(o,t.type,t.stateNode);else t.stateNode=X0(o,i,t.memoizedProps);else h!==i?(h===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):h.count--,i===null?J0(o,t.type,t.stateNode):X0(o,i,t.memoizedProps)):i===null&&t.stateNode!==null&&Mc(t,t.memoizedProps,n.memoizedProps)}break;case 27:Jn(e,t),Un(t),i&512&&(fe||n===null||Hu(n,n.return)),n!==null&&i&4&&Mc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Jn(e,t),Un(t),i&512&&(fe||n===null||Hu(n,n.return)),t.flags&32){o=t.stateNode;try{Ca(o,"")}catch(U){Ee(t,t.return,U)}}i&4&&t.stateNode!=null&&(o=t.memoizedProps,Mc(t,o,n!==null?n.memoizedProps:o)),i&1024&&(ca=!0);break;case 6:if(Jn(e,t),Un(t),i&4){if(t.stateNode===null)throw Error(c(162));i=t.memoizedProps,n=t.stateNode;try{n.nodeValue=i}catch(U){Ee(t,t.return,U)}}break;case 3:if(qr=null,o=hu,hu=zt(e.containerInfo),Jn(e,t),hu=o,Un(t),i&4&&n!==null&&n.memoizedState.isDehydrated)try{ds(e.containerInfo)}catch(U){Ee(t,t.return,U)}ca&&(ca=!1,r0(t));break;case 4:i=hu,hu=zt(t.stateNode.containerInfo),Jn(e,t),Un(t),hu=i;break;case 12:Jn(e,t),Un(t);break;case 13:Jn(e,t),Un(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Gf=pe()),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,Bf(t,i)));break;case 22:o=t.memoizedState!==null;var w=n!==null&&n.memoizedState!==null,z=Gu,I=fe;if(Gu=z||o,fe=I||w,Jn(e,t),fe=I,Gu=z,Un(t),i&8192)t:for(e=t.stateNode,e._visibility=o?e._visibility&-2:e._visibility|1,o&&(n===null||w||Gu||fe||Ri(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){w=n=e;try{if(h=w.stateNode,o)D=h.style,typeof D.setProperty=="function"?D.setProperty("display","none","important"):D.display="none";else{b=w.stateNode;var W=w.memoizedProps.style,G=W!=null&&W.hasOwnProperty("display")?W.display:null;b.style.display=G==null||typeof G=="boolean"?"":(""+G).trim()}}catch(U){Ee(w,w.return,U)}}}else if(e.tag===6){if(n===null){w=e;try{w.stateNode.nodeValue=o?"":w.memoizedProps}catch(U){Ee(w,w.return,U)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}i&4&&(i=t.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,Bf(t,n))));break;case 19:Jn(e,t),Un(t),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,Bf(t,i)));break;case 30:break;case 21:break;default:Jn(e,t),Un(t)}}function Un(t){var e=t.flags;if(e&2){try{for(var n,i=t.return;i!==null;){if(Cr(i)){n=i;break}i=i.return}if(n==null)throw Error(c(160));switch(n.tag){case 27:var o=n.stateNode,h=Zl(t);Kl(t,h,o);break;case 5:var D=n.stateNode;n.flags&32&&(Ca(D,""),n.flags&=-33);var b=Zl(t);Kl(t,b,D);break;case 3:case 4:var w=n.stateNode.containerInfo,z=Zl(t);Oc(t,z,w);break;default:throw Error(c(161))}}catch(I){Ee(t,t.return,I)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function r0(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;r0(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Ya(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)n0(t,e.alternate,e),e=e.sibling}function Ri(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:qa(4,e,e.return),Ri(e);break;case 1:Hu(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Tf(e,e.return,n),Ri(e);break;case 27:is(e.stateNode);case 26:case 5:Hu(e,e.return),Ri(e);break;case 22:e.memoizedState===null&&Ri(e);break;case 30:Ri(e);break;default:Ri(e)}t=t.sibling}}function fa(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var i=e.alternate,o=t,h=e,D=h.flags;switch(h.tag){case 0:case 11:case 15:fa(o,h,n),Ql(4,h);break;case 1:if(fa(o,h,n),i=h,o=i.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(z){Ee(i,i.return,z)}if(i=h,o=i.updateQueue,o!==null){var b=i.stateNode;try{var w=o.shared.hiddenCallbacks;if(w!==null)for(o.shared.hiddenCallbacks=null,o=0;o<w.length;o++)Cd(w[o],b)}catch(z){Ee(i,i.return,z)}}n&&D&64&&t0(h),Er(h,h.return);break;case 27:Xl(h);case 26:case 5:fa(o,h,n),n&&i===null&&D&4&&wc(h),Er(h,h.return);break;case 12:fa(o,h,n);break;case 13:fa(o,h,n),n&&D&4&&i0(o,h);break;case 22:h.memoizedState===null&&fa(o,h,n),Er(h,h.return);break;case 30:break;default:fa(o,h,n)}e=e.sibling}}function Nf(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&yl(n))}function jf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&yl(t))}function qu(t,e,n,i){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)l0(t,e,n,i),e=e.sibling}function l0(t,e,n,i){var o=e.flags;switch(e.tag){case 0:case 11:case 15:qu(t,e,n,i),o&2048&&Ql(9,e);break;case 1:qu(t,e,n,i);break;case 3:qu(t,e,n,i),o&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&yl(t)));break;case 12:if(o&2048){qu(t,e,n,i),t=e.stateNode;try{var h=e.memoizedProps,D=h.id,b=h.onPostCommit;typeof b=="function"&&b(D,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(w){Ee(e,e.return,w)}}else qu(t,e,n,i);break;case 13:qu(t,e,n,i);break;case 23:break;case 22:h=e.stateNode,D=e.alternate,e.memoizedState!==null?h._visibility&2?qu(t,e,n,i):Il(t,e):h._visibility&2?qu(t,e,n,i):(h._visibility|=2,Sr(t,e,n,i,(e.subtreeFlags&10256)!==0)),o&2048&&Nf(D,e);break;case 24:qu(t,e,n,i),o&2048&&jf(e.alternate,e);break;default:qu(t,e,n,i)}}function Sr(t,e,n,i,o){for(o=o&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var h=t,D=e,b=n,w=i,z=D.flags;switch(D.tag){case 0:case 11:case 15:Sr(h,D,b,w,o),Ql(8,D);break;case 23:break;case 22:var I=D.stateNode;D.memoizedState!==null?I._visibility&2?Sr(h,D,b,w,o):Il(h,D):(I._visibility|=2,Sr(h,D,b,w,o)),o&&z&2048&&Nf(D.alternate,D);break;case 24:Sr(h,D,b,w,o),o&&z&2048&&jf(D.alternate,D);break;default:Sr(h,D,b,w,o)}e=e.sibling}}function Il(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,i=e,o=i.flags;switch(i.tag){case 22:Il(n,i),o&2048&&Nf(i.alternate,i);break;case 24:Il(n,i),o&2048&&jf(i.alternate,i);break;default:Il(n,i)}e=e.sibling}}var Dn=8192;function Fr(t){if(t.subtreeFlags&Dn)for(t=t.child;t!==null;)s0(t),t=t.sibling}function s0(t){switch(t.tag){case 26:Fr(t),t.flags&Dn&&t.memoizedState!==null&&Gv(hu,t.memoizedState,t.memoizedProps);break;case 5:Fr(t);break;case 3:case 4:var e=hu;hu=zt(t.stateNode.containerInfo),Fr(t),hu=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Dn,Dn=16777216,Fr(t),Dn=e):Fr(t));break;default:Fr(t)}}function c0(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function wr(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Xe=i,f0(i,t)}c0(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)o0(t),t=t.sibling}function o0(t){switch(t.tag){case 0:case 11:case 15:wr(t),t.flags&2048&&qa(9,t,t.return);break;case 3:wr(t);break;case 12:wr(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Tc(t)):wr(t);break;default:wr(t)}}function Tc(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Xe=i,f0(i,t)}c0(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:qa(8,e,e.return),Tc(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,Tc(e));break;default:Tc(e)}t=t.sibling}}function f0(t,e){for(;Xe!==null;){var n=Xe;switch(n.tag){case 0:case 11:case 15:qa(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:yl(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,Xe=i;else t:for(n=t;Xe!==null;){i=Xe;var o=i.sibling,h=i.return;if(u0(i),i===n){Xe=null;break t}if(o!==null){o.return=h,Xe=o;break t}Xe=h}}}var Dv={getCacheForType:function(t){var e=ze(_e),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},Lf=typeof WeakMap=="function"?WeakMap:Map,ve=0,Ce=null,Kt=null,te=0,De=0,$n=null,ka=!1,Mr=!1,zf=!1,ha=0,He=0,Va=0,Ni=0,Uf=0,du=0,Or=0,Jl=null,Hn=null,Hf=!1,Gf=0,Tr=1/0,$l=null,Qa=null,on=0,Za=null,Br=null,Rr=0,qf=0,Yf=null,h0=null,Nr=0,kf=null;function pn(){if((ve&2)!==0&&te!==0)return te&-te;if(B.T!==null){var t=vr;return t!==0?t:Uc()}return Uh()}function d0(){du===0&&(du=(te&536870912)===0||Jt?Nh():536870912);var t=In.current;return t!==null&&(t.flags|=32),du}function Wn(t,e,n){(t===Ce&&(De===2||De===9)||t.cancelPendingCommit!==null)&&(jr(t,0),Ka(t,te,du,!1)),Zi(t,n),((ve&2)===0||t!==Ce)&&(t===Ce&&((ve&2)===0&&(Ni|=n),He===4&&Ka(t,te,du,!1)),Yu(t))}function g0(t,e,n){if((ve&6)!==0)throw Error(c(327));var i=!n&&(e&124)===0&&(e&t.expiredLanes)===0||ci(t,e),o=i?mv(t,e):Zf(t,e,!0),h=i;do{if(o===0){Mr&&!i&&Ka(t,e,0,!1);break}else{if(n=t.current.alternate,h&&!pv(n)){o=Zf(t,e,!1),h=!1;continue}if(o===2){if(h=e,t.errorRecoveryDisabledLanes&h)var D=0;else D=t.pendingLanes&-536870913,D=D!==0?D:D&536870912?536870912:0;if(D!==0){e=D;t:{var b=t;o=Jl;var w=b.current.memoizedState.isDehydrated;if(w&&(jr(b,D).flags|=256),D=Zf(b,D,!1),D!==2){if(zf&&!w){b.errorRecoveryDisabledLanes|=h,Ni|=h,o=4;break t}h=Hn,Hn=o,h!==null&&(Hn===null?Hn=h:Hn.push.apply(Hn,h))}o=D}if(h=!1,o!==2)continue}}if(o===1){jr(t,0),Ka(t,e,0,!0);break}t:{switch(i=t,h=o,h){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Ka(i,e,du,!ka);break t;case 2:Hn=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(o=Gf+300-pe(),10<o)){if(Ka(i,e,du,!ka),Qi(i,0,!0)!==0)break t;i.timeoutHandle=U0(v0.bind(null,i,n,Hn,$l,Hf,e,du,Ni,Or,ka,h,2,-0,0),o);break t}v0(i,n,Hn,$l,Hf,e,du,Ni,Or,ka,h,0,-0,0)}}break}while(!0);Yu(t)}function v0(t,e,n,i,o,h,D,b,w,z,I,W,G,U){if(t.timeoutHandle=-1,W=e.subtreeFlags,(W&8192||(W&16785408)===16785408)&&(ln={stylesheets:null,count:0,unsuspend:Hv},s0(e),W=qv(),W!==null)){t.cancelPendingCommit=W(Wl.bind(null,t,e,h,n,i,o,D,b,w,I,1,G,U)),Ka(t,h,D,!z);return}Wl(t,e,h,n,i,o,D,b,w)}function pv(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var o=n[i],h=o.getSnapshot;o=o.value;try{if(!Qn(h(),o))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Ka(t,e,n,i){e&=~Uf,e&=~Ni,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var o=e;0<o;){var h=31-An(o),D=1<<h;i[h]=-1,o&=~D}n!==0&&Lh(t,n,e)}function Bc(){return(ve&6)===0?(es(0),!1):!0}function Vf(){if(Kt!==null){if(De===0)var t=Kt.return;else t=Kt,y=Na=null,uc(t),Ke=null,Ln=0,t=Kt;for(;t!==null;)Pd(t.alternate,t),t=t.return;Kt=null}}function jr(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,Ov(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Vf(),Ce=t,Kt=n=yn(t.current,null),te=e,De=0,$n=null,ka=!1,Mr=ci(t,e),zf=!1,Or=du=Uf=Ni=Va=He=0,Hn=Jl=null,Hf=!1,(e&8)!==0&&(e|=e&32);var i=t.entangledLanes;if(i!==0)for(t=t.entanglements,i&=e;0<i;){var o=31-An(i),h=1<<o;e|=t[o],i&=~h}return ha=e,di(),n}function D0(t,e){qt=null,B.H=jl,e===bn||e===tc?(e=xd(),De=3):e===bd?(e=xd(),De=4):De=e===Kd?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,$n=e,Kt===null&&(He=1,Gl(t,mn(e,t.current)))}function p0(){var t=B.H;return B.H=jl,t===null?jl:t}function A0(){var t=B.A;return B.A=Dv,t}function Qf(){He=4,ka||(te&4194048)!==te&&In.current!==null||(Mr=!0),(Va&134217727)===0&&(Ni&134217727)===0||Ce===null||Ka(Ce,te,du,!1)}function Zf(t,e,n){var i=ve;ve|=2;var o=p0(),h=A0();(Ce!==t||te!==e)&&($l=null,jr(t,e)),e=!1;var D=He;t:do try{if(De!==0&&Kt!==null){var b=Kt,w=$n;switch(De){case 8:Vf(),D=6;break t;case 3:case 2:case 9:case 6:In.current===null&&(e=!0);var z=De;if(De=0,$n=null,Lr(t,b,w,z),n&&Mr){D=0;break t}break;default:z=De,De=0,$n=null,Lr(t,b,w,z)}}Av(),D=He;break}catch(I){D0(t,I)}while(!0);return e&&t.shellSuspendCounter++,y=Na=null,ve=i,B.H=o,B.A=h,Kt===null&&(Ce=null,te=0,di()),D}function Av(){for(;Kt!==null;)Kf(Kt)}function mv(t,e){var n=ve;ve|=2;var i=p0(),o=A0();Ce!==t||te!==e?($l=null,Tr=pe()+500,jr(t,e)):Mr=ci(t,e);t:do try{if(De!==0&&Kt!==null){e=Kt;var h=$n;e:switch(De){case 1:De=0,$n=null,Lr(t,e,h,1);break;case 2:case 9:if(_d(h)){De=0,$n=null,y0(e);break}e=function(){De!==2&&De!==9||Ce!==t||(De=7),Yu(t)},h.then(e,e);break t;case 3:De=7;break t;case 4:De=5;break t;case 7:_d(h)?(De=0,$n=null,y0(e)):(De=0,$n=null,Lr(t,e,h,7));break;case 5:var D=null;switch(Kt.tag){case 26:D=Kt.memoizedState;case 5:case 27:var b=Kt;if(!D||$e(D)){De=0,$n=null;var w=b.sibling;if(w!==null)Kt=w;else{var z=b.return;z!==null?(Kt=z,Rc(z)):Kt=null}break e}}De=0,$n=null,Lr(t,e,h,5);break;case 6:De=0,$n=null,Lr(t,e,h,6);break;case 8:Vf(),He=6;break t;default:throw Error(c(462))}}m0();break}catch(I){D0(t,I)}while(!0);return y=Na=null,B.H=i,B.A=o,ve=n,Kt!==null?0:(Ce=null,te=0,di(),He)}function m0(){for(;Kt!==null&&!en();)Kf(Kt)}function Kf(t){var e=Cc(t.alternate,t,ha);t.memoizedProps=t.pendingProps,e===null?Rc(t):Kt=e}function y0(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=xc(n,e,e.pendingProps,e.type,void 0,te);break;case 11:e=xc(n,e,e.pendingProps,e.type.render,e.ref,te);break;case 5:uc(e);default:Pd(n,e),e=Kt=gl(e,ha),e=Cc(n,e,ha)}t.memoizedProps=t.pendingProps,e===null?Rc(t):Kt=e}function Lr(t,e,n,i){y=Na=null,uc(e),Ke=null,Ln=0;var o=e.return;try{if(Zd(t,o,e,n,te)){He=1,Gl(t,mn(n,t.current)),Kt=null;return}}catch(h){if(o!==null)throw Kt=o,h;He=1,Gl(t,mn(n,t.current)),Kt=null;return}e.flags&32768?(Jt||i===1?t=!0:Mr||(te&536870912)!==0?t=!1:(ka=t=!0,(i===2||i===9||i===3||i===6)&&(i=In.current,i!==null&&i.tag===13&&(i.flags|=16384))),b0(e,t)):Rc(e)}function Rc(t){var e=t;do{if((e.flags&32768)!==0){b0(e,ka);return}t=e.return;var n=$d(e.alternate,e,ha);if(n!==null){Kt=n;return}if(e=e.sibling,e!==null){Kt=e;return}Kt=e=t}while(e!==null);He===0&&(He=5)}function b0(t,e){do{var n=Wd(t.alternate,t);if(n!==null){n.flags&=32767,Kt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){Kt=t;return}Kt=t=n}while(t!==null);He=6,Kt=null}function Wl(t,e,n,i,o,h,D,b,w){t.cancelPendingCommit=null;do Nc();while(on!==0);if((ve&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(h=e.lanes|e.childLanes,h|=Xo,kg(t,n,h,D,b,w),t===Ce&&(Kt=Ce=null,te=0),Br=e,Za=t,Rr=n,qf=h,Yf=o,h0=i,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,M0(Sn,function(){return S0(),null})):(t.callbackNode=null,t.callbackPriority=0),i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=B.T,B.T=null,o=V.p,V.p=2,D=ve,ve|=4;try{gv(t,e,n)}finally{ve=D,V.p=o,B.T=i}}on=1,_0(),x0(),E0()}}function _0(){if(on===1){on=0;var t=Za,e=Br,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=B.T,B.T=null;var i=V.p;V.p=2;var o=ve;ve|=4;try{Rf(e,t);var h=qc,D=hd(t.containerInfo),b=h.focusedElem,w=h.selectionRange;if(D!==b&&b&&b.ownerDocument&&fd(b.ownerDocument.documentElement,b)){if(w!==null&&Zo(b)){var z=w.start,I=w.end;if(I===void 0&&(I=z),"selectionStart"in b)b.selectionStart=z,b.selectionEnd=Math.min(I,b.value.length);else{var W=b.ownerDocument||document,G=W&&W.defaultView||window;if(G.getSelection){var U=G.getSelection(),Mt=b.textContent.length,Ft=Math.min(w.start,Mt),ye=w.end===void 0?Ft:Math.min(w.end,Mt);!U.extend&&Ft>ye&&(D=ye,ye=Ft,Ft=D);var N=Qo(b,Ft),T=Qo(b,ye);if(N&&T&&(U.rangeCount!==1||U.anchorNode!==N.node||U.anchorOffset!==N.offset||U.focusNode!==T.node||U.focusOffset!==T.offset)){var L=W.createRange();L.setStart(N.node,N.offset),U.removeAllRanges(),Ft>ye?(U.addRange(L),U.extend(T.node,T.offset)):(L.setEnd(T.node,T.offset),U.addRange(L))}}}}for(W=[],U=b;U=U.parentNode;)U.nodeType===1&&W.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<W.length;b++){var J=W[b];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}Xc=!!Eu,qc=Eu=null}finally{ve=o,V.p=i,B.T=n}}t.current=e,on=2}}function x0(){if(on===2){on=0;var t=Za,e=Br,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=B.T,B.T=null;var i=V.p;V.p=2;var o=ve;ve|=4;try{n0(t,e.alternate,e)}finally{ve=o,V.p=i,B.T=n}}on=3}}function E0(){if(on===4||on===3){on=0,Tu();var t=Za,e=Br,n=Rr,i=h0;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?on=5:(on=0,Br=Za=null,C0(t,t.pendingLanes));var o=t.pendingLanes;if(o===0&&(Qa=null),Es(n),e=e.stateNode,cn&&typeof cn.onCommitFiberRoot=="function")try{cn.onCommitFiberRoot(el,e,void 0,(e.current.flags&128)===128)}catch{}if(i!==null){e=B.T,o=V.p,V.p=2,B.T=null;try{for(var h=t.onRecoverableError,D=0;D<i.length;D++){var b=i[D];h(b.value,{componentStack:b.stack})}}finally{B.T=e,V.p=o}}(Rr&3)!==0&&Nc(),Yu(t),o=t.pendingLanes,(n&4194090)!==0&&(o&42)!==0?t===kf?Nr++:(Nr=0,kf=t):Nr=0,es(0)}}function C0(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,yl(e)))}function Nc(t){return _0(),x0(),E0(),S0()}function S0(){if(on!==5)return!1;var t=Za,e=qf;qf=0;var n=Es(Rr),i=B.T,o=V.p;try{V.p=32>n?32:n,B.T=null,n=Yf,Yf=null;var h=Za,D=Rr;if(on=0,Br=Za=null,Rr=0,(ve&6)!==0)throw Error(c(331));var b=ve;if(ve|=4,o0(h.current),l0(h,h.current,D,n),ve=b,es(0,!1),cn&&typeof cn.onPostCommitFiberRoot=="function")try{cn.onPostCommitFiberRoot(el,h)}catch{}return!0}finally{V.p=o,B.T=i,C0(t,e)}}function F0(t,e,n){e=mn(n,e),e=mc(t.stateNode,e,2),t=na(t,e,2),t!==null&&(Zi(t,2),Yu(t))}function Ee(t,e,n){if(t.tag===3)F0(t,t,n);else for(;e!==null;){if(e.tag===3){F0(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Qa===null||!Qa.has(i))){t=mn(n,t),n=Sf(2),i=na(e,n,2),i!==null&&(Qd(n,i,e,t),Zi(i,2),Yu(i));break}}e=e.return}}function Xf(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new Lf;var o=new Set;i.set(e,o)}else o=i.get(e),o===void 0&&(o=new Set,i.set(e,o));o.has(n)||(zf=!0,o.add(n),t=yv.bind(null,t,e,n),e.then(t,t))}function yv(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Ce===t&&(te&n)===n&&(He===4||He===3&&(te&62914560)===te&&300>pe()-Gf?(ve&2)===0&&jr(t,0):Uf|=n,Or===te&&(Or=0)),Yu(t)}function w0(t,e){e===0&&(e=jh()),t=gi(t,e),t!==null&&(Zi(t,e),Yu(t))}function jc(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),w0(t,n)}function bv(t,e){var n=0;switch(t.tag){case 13:var i=t.stateNode,o=t.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(c(314))}i!==null&&i.delete(e),w0(t,n)}function M0(t,e){return Du(t,e)}var Pl=null,Xa=null,Lc=!1,ts=!1,zc=!1,Ia=0;function Yu(t){t!==Xa&&t.next===null&&(Xa===null?Pl=Xa=t:Xa=Xa.next=t),ts=!0,Lc||(Lc=!0,If())}function es(t,e){if(!zc&&ts){zc=!0;do for(var n=!1,i=Pl;i!==null;){if(t!==0){var o=i.pendingLanes;if(o===0)var h=0;else{var D=i.suspendedLanes,b=i.pingedLanes;h=(1<<31-An(42|t)+1)-1,h&=o&~(D&~b),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(n=!0,T0(i,h))}else h=te,h=Qi(i,i===Ce?h:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(h&3)===0||ci(i,h)||(n=!0,T0(i,h));i=i.next}while(n);zc=!1}}function _v(){ns()}function ns(){ts=Lc=!1;var t=0;Ia!==0&&(Mv()&&(t=Ia),Ia=0);for(var e=pe(),n=null,i=Pl;i!==null;){var o=i.next,h=us(i,e);h===0?(i.next=null,n===null?Pl=o:n.next=o,o===null&&(Xa=n)):(n=i,(t!==0||(h&3)!==0)&&(ts=!0)),i=o}es(t)}function us(t,e){for(var n=t.suspendedLanes,i=t.pingedLanes,o=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var D=31-An(h),b=1<<D,w=o[D];w===-1?((b&n)===0||(b&i)!==0)&&(o[D]=Yg(b,e)):w<=e&&(t.expiredLanes|=b),h&=~b}if(e=Ce,n=te,n=Qi(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,n===0||t===e&&(De===2||De===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&St(i),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||ci(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(i!==null&&St(i),Es(n)){case 2:case 8:n=_a;break;case 32:n=Sn;break;case 268435456:n=Pr;break;default:n=Sn}return i=O0.bind(null,t),n=Du(n,i),t.callbackPriority=e,t.callbackNode=n,e}return i!==null&&i!==null&&St(i),t.callbackPriority=2,t.callbackNode=null,2}function O0(t,e){if(on!==0&&on!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Nc()&&t.callbackNode!==n)return null;var i=te;return i=Qi(t,t===Ce?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0?null:(g0(t,i,e),us(t,pe()),t.callbackNode!=null&&t.callbackNode===n?O0.bind(null,t):null)}function T0(t,e){if(Nc())return null;g0(t,e,!0)}function If(){Tv(function(){(ve&6)!==0?Du($r,_v):ns()})}function Uc(){return Ia===0&&(Ia=Nh()),Ia}function B0(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:il(""+t)}function R0(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function xv(t,e,n,i,o){if(e==="submit"&&n&&n.stateNode===o){var h=B0((o[Fn]||null).action),D=i.submitter;D&&(e=(e=D[Fn]||null)?B0(e.formAction):D.getAttribute("formAction"),e!==null&&(h=e,D=null));var b=new Ns("action","action",null,i,o);t.push({event:b,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Ia!==0){var w=D?R0(o,D):new FormData(o);Rl(n,{pending:!0,data:w,method:o.method,action:h},null,w)}}else typeof h=="function"&&(b.preventDefault(),w=D?R0(o,D):new FormData(o),Rl(n,{pending:!0,data:w,method:o.method,action:h},h,w))},currentTarget:o}]})}}for(var Jf=0;Jf<se.length;Jf++){var $f=se[Jf],Ev=$f.toLowerCase(),Cv=$f[0].toUpperCase()+$f.slice(1);pu(Ev,"on"+Cv)}pu(Zs,"onAnimationEnd"),pu(dd,"onAnimationIteration"),pu(Zn,"onAnimationStart"),pu("dblclick","onDoubleClick"),pu("focusin","onFocus"),pu("focusout","onBlur"),pu(Ks,"onTransitionRun"),pu(lv,"onTransitionStart"),pu(or,"onTransitionCancel"),pu(ol,"onTransitionEnd"),$i("onMouseEnter",["mouseout","mouseover"]),$i("onMouseLeave",["mouseout","mouseover"]),$i("onPointerEnter",["pointerout","pointerover"]),$i("onPointerLeave",["pointerout","pointerover"]),oi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),oi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),oi("onBeforeInput",["compositionend","keypress","textInput","paste"]),oi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),oi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),oi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var as="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(" "),Sv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(as));function N0(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],o=i.event;i=i.listeners;t:{var h=void 0;if(e)for(var D=i.length-1;0<=D;D--){var b=i[D],w=b.instance,z=b.currentTarget;if(b=b.listener,w!==h&&o.isPropagationStopped())break t;h=b,o.currentTarget=z;try{h(o)}catch(I){Ti(I)}o.currentTarget=null,h=w}else for(D=0;D<i.length;D++){if(b=i[D],w=b.instance,z=b.currentTarget,b=b.listener,w!==h&&o.isPropagationStopped())break t;h=b,o.currentTarget=z;try{h(o)}catch(I){Ti(I)}o.currentTarget=null,h=w}}}}function Xt(t,e){var n=e[mo];n===void 0&&(n=e[mo]=new Set);var i=t+"__bubble";n.has(i)||(j0(e,t,2,!1),n.add(i))}function Wf(t,e,n){var i=0;e&&(i|=4),j0(n,t,i,e)}var Gn="_reactListening"+Math.random().toString(36).slice(2);function Pf(t){if(!t[Gn]){t[Gn]=!0,Gh.forEach(function(n){n!=="selectionchange"&&(Sv.has(n)||Wf(n,!1,t),Wf(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Gn]||(e[Gn]=!0,Wf("selectionchange",!1,e))}}function j0(t,e,n,i){switch(tg(e)){case 2:var o=Vv;break;case 8:o=kr;break;default:o=ch}n=o.bind(null,e,n,t),o=void 0,!ll||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),i?o!==void 0?t.addEventListener(e,n,{capture:!0,passive:o}):t.addEventListener(e,n,!0):o!==void 0?t.addEventListener(e,n,{passive:o}):t.addEventListener(e,n,!1)}function da(t,e,n,i,o){var h=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var D=i.tag;if(D===3||D===4){var b=i.stateNode.containerInfo;if(b===o)break;if(D===4)for(D=i.return;D!==null;){var w=D.tag;if((w===3||w===4)&&D.stateNode.containerInfo===o)return;D=D.return}for(;b!==null;){if(D=Ki(b),D===null)return;if(w=D.tag,w===5||w===6||w===26||w===27){i=h=D;continue t}b=b.parentNode}}i=i.return}Zh(function(){var z=h,I=Ro(n),W=[];t:{var G=fl.get(t);if(G!==void 0){var U=Ns,Mt=t;switch(t){case"keypress":if(Ae(n)===0)break t;case"keydown":case"keyup":U=Ho;break;case"focusin":Mt="focus",U=Ls;break;case"focusout":Mt="blur",U=Ls;break;case"beforeblur":case"afterblur":U=Ls;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=Fa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=Uo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=Wg;break;case Zs:case dd:case Zn:U=$h;break;case ol:U=Pg;break;case"scroll":case"scrollend":U=Ig;break;case"wheel":U=ev;break;case"copy":case"cut":case"paste":U=Ph;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Wu;break;case"toggle":case"beforetoggle":U=Us}var Ft=(e&4)!==0,ye=!Ft&&(t==="scroll"||t==="scrollend"),N=Ft?G!==null?G+"Capture":null:G;Ft=[];for(var T=z,L;T!==null;){var J=T;if(L=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||L===null||N===null||(J=rl(T,N),J!=null&&Ft.push(jt(T,J,L))),ye)break;T=T.return}0<Ft.length&&(G=new U(G,Mt,null,n,I),W.push({event:G,listeners:Ft}))}}if((e&7)===0){t:{if(G=t==="mouseover"||t==="pointerover",U=t==="mouseout"||t==="pointerout",G&&n!==Bs&&(Mt=n.relatedTarget||n.fromElement)&&(Ki(Mt)||Mt[Ea]))break t;if((U||G)&&(G=I.window===I?I:(G=I.ownerDocument)?G.defaultView||G.parentWindow:window,U?(Mt=n.relatedTarget||n.toElement,U=z,Mt=Mt?Ki(Mt):null,Mt!==null&&(ye=v(Mt),Ft=Mt.tag,Mt!==ye||Ft!==5&&Ft!==27&&Ft!==6)&&(Mt=null)):(U=null,Mt=z),U!==Mt)){if(Ft=Fa,J="onMouseLeave",N="onMouseEnter",T="mouse",(t==="pointerout"||t==="pointerover")&&(Ft=Wu,J="onPointerLeave",N="onPointerEnter",T="pointer"),ye=U==null?G:Ii(U),L=Mt==null?G:Ii(Mt),G=new Ft(J,T+"leave",U,n,I),G.target=ye,G.relatedTarget=L,J=null,Ki(I)===z&&(Ft=new Ft(N,T+"enter",Mt,n,I),Ft.target=L,Ft.relatedTarget=ye,J=Ft),ye=J,U&&Mt)e:{for(Ft=U,N=Mt,T=0,L=Ft;L;L=Ie(L))T++;for(L=0,J=N;J;J=Ie(J))L++;for(;0<T-L;)Ft=Ie(Ft),T--;for(;0<L-T;)N=Ie(N),L--;for(;T--;){if(Ft===N||N!==null&&Ft===N.alternate)break e;Ft=Ie(Ft),N=Ie(N)}Ft=null}else Ft=null;U!==null&&Ge(W,G,U,Ft,!1),Mt!==null&&ye!==null&&Ge(W,ye,Mt,Ft,!0)}}t:{if(G=z?Ii(z):window,U=G.nodeName&&G.nodeName.toLowerCase(),U==="select"||U==="input"&&G.type==="file")var At=rd;else if(Ys(G))if(ld)At=av;else{At=Oa;var Vt=od}else U=G.nodeName,!U||U.toLowerCase()!=="input"||G.type!=="checkbox"&&G.type!=="radio"?z&&Bo(z.elementType)&&(At=rd):At=Qs;if(At&&(At=At(t,z))){rr(W,At,n,I);break t}Vt&&Vt(t,G,z),t==="focusout"&&z&&G.type==="number"&&z.memoizedProps.value!=null&&al(G,"number",G.value)}switch(Vt=z?Ii(z):window,t){case"focusin":(Ys(Vt)||Vt.contentEditable==="true")&&(cr=Vt,Ta=z,R=null);break;case"focusout":R=Ta=cr=null;break;case"mousedown":Z=!0;break;case"contextmenu":case"mouseup":case"dragend":Z=!1,k(W,n,I);break;case"selectionchange":if(rv)break;case"keydown":case"keyup":k(W,n,I)}var _t;if(Yo)t:{switch(t){case"compositionstart":var Ot="onCompositionStart";break t;case"compositionend":Ot="onCompositionEnd";break t;case"compositionupdate":Ot="onCompositionUpdate";break t}Ot=void 0}else wa?ad(t,n)&&(Ot="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(Ot="onCompositionStart");Ot&&(Hs&&n.locale!=="ko"&&(wa||Ot!=="onCompositionStart"?Ot==="onCompositionEnd"&&wa&&(_t=Kh()):(Sa=I,Lo="value"in Sa?Sa.value:Sa.textContent,wa=!0)),Vt=Hc(z,Ot),0<Vt.length&&(Ot=new Mn(Ot,t,null,n,I),W.push({event:Ot,listeners:Vt}),_t?Ot.data=_t:(_t=qs(n),_t!==null&&(Ot.data=_t)))),(_t=ud?nv(t,n):id(t,n))&&(Ot=Hc(z,"onBeforeInput"),0<Ot.length&&(Vt=new Mn("onBeforeInput","beforeinput",null,n,I),W.push({event:Vt,listeners:Ot}),Vt.data=_t)),xv(W,t,z,n,I)}N0(W,e)})}function jt(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Hc(t,e){for(var n=e+"Capture",i=[];t!==null;){var o=t,h=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||h===null||(o=rl(t,n),o!=null&&i.unshift(jt(t,o,h)),o=rl(t,e),o!=null&&i.push(jt(t,o,h))),t.tag===3)return i;t=t.return}return[]}function Ie(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ge(t,e,n,i,o){for(var h=e._reactName,D=[];n!==null&&n!==i;){var b=n,w=b.alternate,z=b.stateNode;if(b=b.tag,w!==null&&w===i)break;b!==5&&b!==26&&b!==27||z===null||(w=z,o?(z=rl(n,h),z!=null&&D.unshift(jt(n,z,w))):o||(z=rl(n,h),z!=null&&D.push(jt(n,z,w)))),n=n.return}D.length!==0&&t.push({event:e,listeners:D})}var Fv=/\r\n?/g,Ja=/\u0000|\uFFFD/g;function L0(t){return(typeof t=="string"?t:""+t).replace(Fv,`
`).replace(Ja,"")}function z0(t,e){return e=L0(e),L0(t)===e}function Gc(){}function me(t,e,n,i,o,h){switch(n){case"children":typeof i=="string"?e==="body"||e==="textarea"&&i===""||Ca(t,i):(typeof i=="number"||typeof i=="bigint")&&e!=="body"&&Ca(t,""+i);break;case"className":Fs(t,"class",i);break;case"tabIndex":Fs(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Fs(t,n,i);break;case"style":To(t,i,h);break;case"data":if(e!=="object"){Fs(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=il(""+i),t.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(n==="formAction"?(e!=="input"&&me(t,e,"name",o.name,o,null),me(t,e,"formEncType",o.formEncType,o,null),me(t,e,"formMethod",o.formMethod,o,null),me(t,e,"formTarget",o.formTarget,o,null)):(me(t,e,"encType",o.encType,o,null),me(t,e,"method",o.method,o,null),me(t,e,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=il(""+i),t.setAttribute(n,i);break;case"onClick":i!=null&&(t.onclick=Gc);break;case"onScroll":i!=null&&Xt("scroll",t);break;case"onScrollEnd":i!=null&&Xt("scrollend",t);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(c(61));if(n=i.__html,n!=null){if(o.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){t.removeAttribute("xlink:href");break}n=il(""+i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""+i):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":i===!0?t.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(n,i):t.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(n):t.setAttribute(n,i);break;case"popover":Xt("beforetoggle",t),Xt("toggle",t),Ss(t,"popover",i);break;case"xlinkActuate":Bu(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Bu(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Bu(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Bu(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Bu(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Bu(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Bu(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Bu(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Bu(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Ss(t,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Vh.get(n)||n,Ss(t,n,i))}}function th(t,e,n,i,o,h){switch(n){case"style":To(t,i,h);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(c(61));if(n=i.__html,n!=null){if(o.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof i=="string"?Ca(t,i):(typeof i=="number"||typeof i=="bigint")&&Ca(t,""+i);break;case"onScroll":i!=null&&Xt("scroll",t);break;case"onScrollEnd":i!=null&&Xt("scrollend",t);break;case"onClick":i!=null&&(t.onclick=Gc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qh.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),e=n.slice(2,o?n.length-7:void 0),h=t[Fn]||null,h=h!=null?h[n]:null,typeof h=="function"&&t.removeEventListener(e,h,o),typeof i=="function")){typeof h!="function"&&h!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,i,o);break t}n in t?t[n]=i:i===!0?t.setAttribute(n,""):Ss(t,n,i)}}}function Je(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xt("error",t),Xt("load",t);var i=!1,o=!1,h;for(h in n)if(n.hasOwnProperty(h)){var D=n[h];if(D!=null)switch(h){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:me(t,e,h,D,n,null)}}o&&me(t,e,"srcSet",n.srcSet,n,null),i&&me(t,e,"src",n.src,n,null);return;case"input":Xt("invalid",t);var b=h=D=o=null,w=null,z=null;for(i in n)if(n.hasOwnProperty(i)){var I=n[i];if(I!=null)switch(i){case"name":o=I;break;case"type":D=I;break;case"checked":w=I;break;case"defaultChecked":z=I;break;case"value":h=I;break;case"defaultValue":b=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(c(137,e));break;default:me(t,e,i,I,n,null)}}wo(t,h,b,w,z,D,o,!1),Ms(t);return;case"select":Xt("invalid",t),i=D=h=null;for(o in n)if(n.hasOwnProperty(o)&&(b=n[o],b!=null))switch(o){case"value":h=b;break;case"defaultValue":D=b;break;case"multiple":i=b;default:me(t,e,o,b,n,null)}e=h,n=D,t.multiple=!!i,e!=null?Pi(t,!!i,e,!1):n!=null&&Pi(t,!!i,n,!0);return;case"textarea":Xt("invalid",t),h=o=i=null;for(D in n)if(n.hasOwnProperty(D)&&(b=n[D],b!=null))switch(D){case"value":i=b;break;case"defaultValue":o=b;break;case"children":h=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(c(91));break;default:me(t,e,D,b,n,null)}Ts(t,i,o,h),Ms(t);return;case"option":for(w in n)if(n.hasOwnProperty(w)&&(i=n[w],i!=null))switch(w){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:me(t,e,w,i,n,null)}return;case"dialog":Xt("beforetoggle",t),Xt("toggle",t),Xt("cancel",t),Xt("close",t);break;case"iframe":case"object":Xt("load",t);break;case"video":case"audio":for(i=0;i<as.length;i++)Xt(as[i],t);break;case"image":Xt("error",t),Xt("load",t);break;case"details":Xt("toggle",t);break;case"embed":case"source":case"link":Xt("error",t),Xt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in n)if(n.hasOwnProperty(z)&&(i=n[z],i!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:me(t,e,z,i,n,null)}return;default:if(Bo(e)){for(I in n)n.hasOwnProperty(I)&&(i=n[I],i!==void 0&&th(t,e,I,i,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(i=n[b],i!=null&&me(t,e,b,i,n,null))}function wv(t,e,n,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,h=null,D=null,b=null,w=null,z=null,I=null;for(U in n){var W=n[U];if(n.hasOwnProperty(U)&&W!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":w=W;default:i.hasOwnProperty(U)||me(t,e,U,null,i,W)}}for(var G in i){var U=i[G];if(W=n[G],i.hasOwnProperty(G)&&(U!=null||W!=null))switch(G){case"type":h=U;break;case"name":o=U;break;case"checked":z=U;break;case"defaultChecked":I=U;break;case"value":D=U;break;case"defaultValue":b=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(c(137,e));break;default:U!==W&&me(t,e,G,U,i,W)}}Os(t,D,b,w,z,I,h,o);return;case"select":U=D=b=G=null;for(h in n)if(w=n[h],n.hasOwnProperty(h)&&w!=null)switch(h){case"value":break;case"multiple":U=w;default:i.hasOwnProperty(h)||me(t,e,h,null,i,w)}for(o in i)if(h=i[o],w=n[o],i.hasOwnProperty(o)&&(h!=null||w!=null))switch(o){case"value":G=h;break;case"defaultValue":b=h;break;case"multiple":D=h;default:h!==w&&me(t,e,o,h,i,w)}e=b,n=D,i=U,G!=null?Pi(t,!!n,G,!1):!!i!=!!n&&(e!=null?Pi(t,!!n,e,!0):Pi(t,!!n,n?[]:"",!1));return;case"textarea":U=G=null;for(b in n)if(o=n[b],n.hasOwnProperty(b)&&o!=null&&!i.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:me(t,e,b,null,i,o)}for(D in i)if(o=i[D],h=n[D],i.hasOwnProperty(D)&&(o!=null||h!=null))switch(D){case"value":G=o;break;case"defaultValue":U=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(c(91));break;default:o!==h&&me(t,e,D,o,i,h)}Mo(t,G,U);return;case"option":for(var Mt in n)if(G=n[Mt],n.hasOwnProperty(Mt)&&G!=null&&!i.hasOwnProperty(Mt))switch(Mt){case"selected":t.selected=!1;break;default:me(t,e,Mt,null,i,G)}for(w in i)if(G=i[w],U=n[w],i.hasOwnProperty(w)&&G!==U&&(G!=null||U!=null))switch(w){case"selected":t.selected=G&&typeof G!="function"&&typeof G!="symbol";break;default:me(t,e,w,G,i,U)}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 Ft in n)G=n[Ft],n.hasOwnProperty(Ft)&&G!=null&&!i.hasOwnProperty(Ft)&&me(t,e,Ft,null,i,G);for(z in i)if(G=i[z],U=n[z],i.hasOwnProperty(z)&&G!==U&&(G!=null||U!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(c(137,e));break;default:me(t,e,z,G,i,U)}return;default:if(Bo(e)){for(var ye in n)G=n[ye],n.hasOwnProperty(ye)&&G!==void 0&&!i.hasOwnProperty(ye)&&th(t,e,ye,void 0,i,G);for(I in i)G=i[I],U=n[I],!i.hasOwnProperty(I)||G===U||G===void 0&&U===void 0||th(t,e,I,G,i,U);return}}for(var N in n)G=n[N],n.hasOwnProperty(N)&&G!=null&&!i.hasOwnProperty(N)&&me(t,e,N,null,i,G);for(W in i)G=i[W],U=n[W],!i.hasOwnProperty(W)||G===U||G==null&&U==null||me(t,e,W,G,i,U)}var Eu=null,qc=null;function ji(t){return t.nodeType===9?t:t.ownerDocument}function Re(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function je(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Yc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var eh=null;function Mv(){var t=window.event;return t&&t.type==="popstate"?t===eh?!1:(eh=t,!0):(eh=null,!1)}var U0=typeof setTimeout=="function"?setTimeout:void 0,Ov=typeof clearTimeout=="function"?clearTimeout:void 0,H0=typeof Promise=="function"?Promise:void 0,Tv=typeof queueMicrotask=="function"?queueMicrotask:typeof H0<"u"?function(t){return H0.resolve(null).then(t).catch(G0)}:U0;function G0(t){setTimeout(function(){throw t})}function gu(t){return t==="head"}function kc(t,e){var n=e,i=0,o=0;do{var h=n.nextSibling;if(t.removeChild(n),h&&h.nodeType===8)if(n=h.data,n==="/$"){if(0<i&&8>i){n=i;var D=t.ownerDocument;if(n&1&&is(D.documentElement),n&2&&is(D.body),n&4)for(n=D.head,is(n),D=n.firstChild;D;){var b=D.nextSibling,w=D.nodeName;D[nl]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&D.rel.toLowerCase()==="stylesheet"||n.removeChild(D),D=b}}if(o===0){t.removeChild(h),ds(e);return}o--}else n==="$"||n==="$?"||n==="$!"?o++:i=n.charCodeAt(0)-48;else i=0;n=h}while(n);ds(e)}function nh(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":nh(n),yo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function q0(t,e,n,i){for(;t.nodeType===1;){var o=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[nl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==o.rel||t.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||t.getAttribute("title")!==(o.title==null?null:o.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(h=t.getAttribute("src"),(h!==(o.src==null?null:o.src)||t.getAttribute("type")!==(o.type==null?null:o.type)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var h=o.name==null?null:""+o.name;if(o.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=Cu(t.nextSibling),t===null)break}return null}function Vc(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Cu(t.nextSibling),t===null))return null;return t}function En(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function zr(t,e){var n=t.ownerDocument;if(t.data!=="$?"||n.readyState==="complete")e();else{var i=function(){e(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function Cu(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var uh=null;function Y0(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}function k0(t,e,n){switch(e=ji(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function is(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);yo(t)}var Pn=new Map,ku=new Set;function zt(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Vu=V.d;V.d={f:vu,r:V0,D:Bv,C:Q0,L:Qc,m:Rv,X:jv,S:Nv,M:Lv};function vu(){var t=Vu.f(),e=Bc();return t||e}function V0(t){var e=Xi(t);e!==null&&e.tag===5&&e.type==="form"?vc(e):Vu.r(t)}var Ur=typeof document>"u"?null:document;function ce(t,e,n){var i=Ur;if(i&&typeof e=="string"&&e){var o=eu(e);o='link[rel="'+t+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),ku.has(o)||(ku.add(o),t={rel:t,crossOrigin:n,href:e},i.querySelector(o)===null&&(e=i.createElement("link"),Je(e,"link",t),un(e),i.head.appendChild(e)))}}function Bv(t){Vu.D(t),ce("dns-prefetch",t,null)}function Q0(t,e){Vu.C(t,e),ce("preconnect",t,e)}function Qc(t,e,n){Vu.L(t,e,n);var i=Ur;if(i&&t&&e){var o='link[rel="preload"][as="'+eu(e)+'"]';e==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+eu(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+eu(n.imageSizes)+'"]')):o+='[href="'+eu(t)+'"]';var h=o;switch(e){case"style":h=Hr(t);break;case"script":h=Gr(t)}Pn.has(h)||(t=O({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Pn.set(h,t),i.querySelector(o)!==null||e==="style"&&i.querySelector(rs(h))||e==="script"&&i.querySelector(ls(h))||(e=i.createElement("link"),Je(e,"link",t),un(e),i.head.appendChild(e)))}}function Rv(t,e){Vu.m(t,e);var n=Ur;if(n&&t){var i=e&&typeof e.as=="string"?e.as:"script",o='link[rel="modulepreload"][as="'+eu(i)+'"][href="'+eu(t)+'"]',h=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Gr(t)}if(!Pn.has(h)&&(t=O({rel:"modulepreload",href:t},e),Pn.set(h,t),n.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ls(h)))return}i=n.createElement("link"),Je(i,"link",t),un(i),n.head.appendChild(i)}}}function Nv(t,e,n){Vu.S(t,e,n);var i=Ur;if(i&&t){var o=Ji(i).hoistableStyles,h=Hr(t);e=e||"default";var D=o.get(h);if(!D){var b={loading:0,preload:null};if(D=i.querySelector(rs(h)))b.loading=5;else{t=O({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Pn.get(h))&&ss(t,n);var w=D=i.createElement("link");un(w),Je(w,"link",t),w._p=new Promise(function(z,I){w.onload=z,w.onerror=I}),w.addEventListener("load",function(){b.loading|=1}),w.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Zc(D,e,i)}D={type:"stylesheet",instance:D,count:1,state:b},o.set(h,D)}}}function jv(t,e){Vu.X(t,e);var n=Ur;if(n&&t){var i=Ji(n).hoistableScripts,o=Gr(t),h=i.get(o);h||(h=n.querySelector(ls(o)),h||(t=O({src:t,async:!0},e),(e=Pn.get(o))&&ah(t,e),h=n.createElement("script"),un(h),Je(h,"link",t),n.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},i.set(o,h))}}function Lv(t,e){Vu.M(t,e);var n=Ur;if(n&&t){var i=Ji(n).hoistableScripts,o=Gr(t),h=i.get(o);h||(h=n.querySelector(ls(o)),h||(t=O({src:t,async:!0,type:"module"},e),(e=Pn.get(o))&&ah(t,e),h=n.createElement("script"),un(h),Je(h,"link",t),n.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},i.set(o,h))}}function Z0(t,e,n,i){var o=(o=xt.current)?zt(o):null;if(!o)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Hr(n.href),n=Ji(o).hoistableStyles,i=n.get(e),i||(i={type:"style",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Hr(n.href);var h=Ji(o).hoistableStyles,D=h.get(t);if(D||(o=o.ownerDocument||o,D={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,D),(h=o.querySelector(rs(t)))&&!h._p&&(D.instance=h,D.state.loading=5),Pn.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Pn.set(t,n),h||zv(o,t,n,D.state))),e&&i===null)throw Error(c(528,""));return D}if(e&&i!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Gr(n),n=Ji(o).hoistableScripts,i=n.get(e),i||(i={type:"script",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function Hr(t){return'href="'+eu(t)+'"'}function rs(t){return'link[rel="stylesheet"]['+t+"]"}function K0(t){return O({},t,{"data-precedence":t.precedence,precedence:null})}function zv(t,e,n,i){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=1:(e=t.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2}),Je(e,"link",n),un(e),t.head.appendChild(e))}function Gr(t){return'[src="'+eu(t)+'"]'}function ls(t){return"script[async]"+t}function X0(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+eu(n.href)+'"]');if(i)return e.instance=i,un(i),i;var o=O({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),un(i),Je(i,"style",o),Zc(i,n.precedence,t),e.instance=i;case"stylesheet":o=Hr(n.href);var h=t.querySelector(rs(o));if(h)return e.state.loading|=4,e.instance=h,un(h),h;i=K0(n),(o=Pn.get(o))&&ss(i,o),h=(t.ownerDocument||t).createElement("link"),un(h);var D=h;return D._p=new Promise(function(b,w){D.onload=b,D.onerror=w}),Je(h,"link",i),e.state.loading|=4,Zc(h,n.precedence,t),e.instance=h;case"script":return h=Gr(n.src),(o=t.querySelector(ls(h)))?(e.instance=o,un(o),o):(i=n,(o=Pn.get(h))&&(i=O({},n),ah(i,o)),t=t.ownerDocument||t,o=t.createElement("script"),un(o),Je(o,"link",i),t.head.appendChild(o),e.instance=o);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,Zc(i,n.precedence,t));return e.instance}function Zc(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,h=o,D=0;D<i.length;D++){var b=i[D];if(b.dataset.precedence===e)h=b;else if(h!==o)break}h?h.parentNode.insertBefore(t,h.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function ss(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function ah(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var qr=null;function I0(t,e,n){if(qr===null){var i=new Map,o=qr=new Map;o.set(n,i)}else o=qr,i=o.get(n),i||(i=new Map,o.set(n,i));if(i.has(t))return i;for(i.set(t,null),n=n.getElementsByTagName(t),o=0;o<n.length;o++){var h=n[o];if(!(h[nl]||h[nn]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var D=h.getAttribute(e)||"";D=t+D;var b=i.get(D);b?b.push(h):i.set(D,[h])}}return i}function J0(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Uv(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function $e(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var ln=null;function Hv(){}function Gv(t,e,n){if(ln===null)throw Error(c(475));var i=ln;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var o=Hr(n.href),h=t.querySelector(rs(o));if(h){t=h._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(i.count++,i=cs.bind(i),t.then(i,i)),e.state.loading|=4,e.instance=h,un(h);return}h=t.ownerDocument||t,n=K0(n),(o=Pn.get(o))&&ss(n,o),h=h.createElement("link"),un(h);var D=h;D._p=new Promise(function(b,w){D.onload=b,D.onerror=w}),Je(h,"link",n),e.instance=h}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(i.count++,e=cs.bind(i),t.addEventListener("load",e),t.addEventListener("error",e))}}function qv(){if(ln===null)throw Error(c(475));var t=ln;return t.stylesheets&&t.count===0&&ih(t,t.stylesheets),0<t.count?function(e){var n=setTimeout(function(){if(t.stylesheets&&ih(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(n)}}:null}function cs(){if(this.count--,this.count===0){if(this.stylesheets)ih(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Kc=null;function ih(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Kc=new Map,e.forEach(Yv,t),Kc=null,cs.call(t))}function Yv(t,e){if(!(e.state.loading&4)){var n=Kc.get(t);if(n)var i=n.get(null);else{n=new Map,Kc.set(t,n);for(var o=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<o.length;h++){var D=o[h];(D.nodeName==="LINK"||D.getAttribute("media")!=="not all")&&(n.set(D.dataset.precedence,D),i=D)}i&&n.set(null,i)}o=e.instance,D=o.getAttribute("data-precedence"),h=n.get(D)||i,h===i&&n.set(null,o),n.set(D,o),this.count++,i=cs.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),h?h.parentNode.insertBefore(o,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(o,t.firstChild)),e.state.loading|=4}}var Yr={$$typeof:at,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function kv(t,e,n,i,o,h,D,b){this.tag=1,this.containerInfo=t,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=xs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xs(0),this.hiddenUpdates=xs(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=h,this.onRecoverableError=D,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function $0(t,e,n,i,o,h,D,b,w,z,I,W){return t=new kv(t,e,n,D,b,w,z,W),e=1,h===!0&&(e|=24),h=On(3,null,null,e),t.current=h,h.stateNode=t,e=Wo(),e.refCount++,t.pooledCache=e,e.refCount++,h.memoizedState={element:i,isDehydrated:n,cache:e},_i(h),t}function W0(t){return t?(t=vi,t):vi}function rh(t,e,n,i,o,h){o=W0(o),i.context===null?i.context=o:i.pendingContext=o,i=ja(e),i.payload={element:n},h=h===void 0?null:h,h!==null&&(i.callback=h),n=na(t,i,e),n!==null&&(Wn(n,t,e),_l(n,t,e))}function lh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function sh(t,e){lh(t,e),(t=t.alternate)&&lh(t,e)}function P0(t){if(t.tag===13){var e=gi(t,67108864);e!==null&&Wn(e,t,67108864),sh(t,67108864)}}var Xc=!0;function Vv(t,e,n,i){var o=B.T;B.T=null;var h=V.p;try{V.p=2,ch(t,e,n,i)}finally{V.p=h,B.T=o}}function kr(t,e,n,i){var o=B.T;B.T=null;var h=V.p;try{V.p=8,ch(t,e,n,i)}finally{V.p=h,B.T=o}}function ch(t,e,n,i){if(Xc){var o=oh(i);if(o===null)da(t,e,i,Ic,n),eg(t,i);else if(Zv(o,t,e,n,i))i.stopPropagation();else if(eg(t,i),e&4&&-1<Qv.indexOf(t)){for(;o!==null;){var h=Xi(o);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var D=Ju(h.pendingLanes);if(D!==0){var b=h;for(b.pendingLanes|=2,b.entangledLanes|=2;D;){var w=1<<31-An(D);b.entanglements[1]|=w,D&=~w}Yu(h),(ve&6)===0&&(Tr=pe()+500,es(0))}}break;case 13:b=gi(h,2),b!==null&&Wn(b,h,2),Bc(),sh(h,2)}if(h=oh(i),h===null&&da(t,e,i,Ic,n),h===o)break;o=h}o!==null&&i.stopPropagation()}else da(t,e,i,null,n)}}function oh(t){return t=Ro(t),fh(t)}var Ic=null;function fh(t){if(Ic=null,t=Ki(t),t!==null){var e=v(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=m(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ic=t,null}function tg(t){switch(t){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(si()){case $r:return 2;case _a:return 8;case Sn:case Wr:return 32;case Pr:return 268435456;default:return 32}default:return 32}}var Jc=!1,ga=null,$a=null,Wa=null,os=new Map,fs=new Map,Pa=[],Qv="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 eg(t,e){switch(t){case"focusin":case"focusout":ga=null;break;case"dragenter":case"dragleave":$a=null;break;case"mouseover":case"mouseout":Wa=null;break;case"pointerover":case"pointerout":os.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":fs.delete(e.pointerId)}}function hs(t,e,n,i,o,h){return t===null||t.nativeEvent!==h?(t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:h,targetContainers:[o]},e!==null&&(e=Xi(e),e!==null&&P0(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function Zv(t,e,n,i,o){switch(e){case"focusin":return ga=hs(ga,t,e,n,i,o),!0;case"dragenter":return $a=hs($a,t,e,n,i,o),!0;case"mouseover":return Wa=hs(Wa,t,e,n,i,o),!0;case"pointerover":var h=o.pointerId;return os.set(h,hs(os.get(h)||null,t,e,n,i,o)),!0;case"gotpointercapture":return h=o.pointerId,fs.set(h,hs(fs.get(h)||null,t,e,n,i,o)),!0}return!1}function ng(t){var e=Ki(t.target);if(e!==null){var n=v(e);if(n!==null){if(e=n.tag,e===13){if(e=m(n),e!==null){t.blockedOn=e,Vg(t.priority,function(){if(n.tag===13){var i=pn();i=Ao(i);var o=gi(n,i);o!==null&&Wn(o,n,i),sh(n,i)}});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function $c(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=oh(t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);Bs=i,n.target.dispatchEvent(i),Bs=null}else return e=Xi(n),e!==null&&P0(e),t.blockedOn=n,!1;e.shift()}return!0}function ug(t,e,n){$c(t)&&n.delete(e)}function Kv(){Jc=!1,ga!==null&&$c(ga)&&(ga=null),$a!==null&&$c($a)&&($a=null),Wa!==null&&$c(Wa)&&(Wa=null),os.forEach(ug),fs.forEach(ug)}function Wc(t,e){t.blockedOn===e&&(t.blockedOn=null,Jc||(Jc=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Kv)))}var Pc=null;function ag(t){Pc!==t&&(Pc=t,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Pc===t&&(Pc=null);for(var e=0;e<t.length;e+=3){var n=t[e],i=t[e+1],o=t[e+2];if(typeof i!="function"){if(fh(i||n)===null)continue;break}var h=Xi(n);h!==null&&(t.splice(e,3),e-=3,Rl(h,{pending:!0,data:o,method:n.method,action:i},i,o))}}))}function ds(t){function e(w){return Wc(w,t)}ga!==null&&Wc(ga,t),$a!==null&&Wc($a,t),Wa!==null&&Wc(Wa,t),os.forEach(e),fs.forEach(e);for(var n=0;n<Pa.length;n++){var i=Pa[n];i.blockedOn===t&&(i.blockedOn=null)}for(;0<Pa.length&&(n=Pa[0],n.blockedOn===null);)ng(n),n.blockedOn===null&&Pa.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var o=n[i],h=n[i+1],D=o[Fn]||null;if(typeof h=="function")D||ag(n);else if(D){var b=null;if(h&&h.hasAttribute("formAction")){if(o=h,D=h[Fn]||null)b=D.formAction;else if(fh(o)!==null)continue}else b=D.action;typeof b=="function"?n[i+1]=b:(n.splice(i,3),i-=3),ag(n)}}}function hh(t){this._internalRoot=t}to.prototype.render=hh.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,i=pn();rh(n,i,t,e,null,null)},to.prototype.unmount=hh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;rh(t.current,2,null,t,null,null),Bc(),e[Ea]=null}};function to(t){this._internalRoot=t}to.prototype.unstable_scheduleHydration=function(t){if(t){var e=Uh();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Pa.length&&e!==0&&e<Pa[n].priority;n++);Pa.splice(n,0,t),n===0&&ng(t)}};var ig=s.version;if(ig!=="19.1.1")throw Error(c(527,ig,"19.1.1"));V.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=x(e),t=t!==null?C(t):null,t=t===null?null:t.stateNode,t};var Xv={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var eo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!eo.isDisabled&&eo.supportsFiber)try{el=eo.inject(Xv),cn=eo}catch{}}return gh.createRoot=function(t,e){if(!d(t))throw Error(c(299));var n=!1,i="",o=Cf,h=Ac,D=Vd,b=null;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(o=e.onUncaughtError),e.onCaughtError!==void 0&&(h=e.onCaughtError),e.onRecoverableError!==void 0&&(D=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(b=e.unstable_transitionCallbacks)),e=$0(t,1,!1,null,null,n,i,o,h,D,b,null),t[Ea]=e.current,Pf(t),new hh(e)},gh.hydrateRoot=function(t,e,n){if(!d(t))throw Error(c(299));var i=!1,o="",h=Cf,D=Ac,b=Vd,w=null,z=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(h=n.onUncaughtError),n.onCaughtError!==void 0&&(D=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(w=n.unstable_transitionCallbacks),n.formState!==void 0&&(z=n.formState)),e=$0(t,1,!0,e,n??null,i,o,h,D,b,w,z),e.context=W0(null),n=e.current,i=pn(),i=Ao(i),o=ja(i),o.callback=null,na(n,o,i),n=i,e.current.lanes=n,Zi(e,n),Yu(e),t[Ea]=e.current,Pf(t),new to(e)},gh.version="19.1.1",gh}var ep;function GA(){if(ep)return Pv.exports;ep=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(s){console.error(s)}}return r(),Pv.exports=HA(),Pv.exports}var qA=GA(),vh={exports:{}};/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */var YA=vh.exports,np;function kA(){return np||(np=1,(function(r,s){(function(){var l,c="4.17.21",d=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",m="Expected a function",E="Invalid `variable` option passed into `_.template`",x="__lodash_hash_undefined__",C=500,O="__lodash_placeholder__",H=1,Y=2,et=4,it=1,st=2,pt=1,Tt=2,Dt=4,at=8,ct=16,X=32,ot=64,wt=128,It=256,re=512,Ht=30,Ut="...",oe=800,dn=16,bt=1,rt=2,B=3,V=1/0,Q=9007199254740991,ht=17976931348623157e292,S=NaN,q=4294967295,ut=q-1,nt=q>>>1,vt=[["ary",wt],["bind",pt],["bindKey",Tt],["curry",at],["curryRight",ct],["flip",re],["partial",X],["partialRight",ot],["rearg",It]],mt="[object Arguments]",xt="[object Array]",be="[object AsyncFunction]",Zt="[object Boolean]",Le="[object Date]",ke="[object DOMException]",tn="[object Error]",Cn="[object Function]",Du="[object GeneratorFunction]",St="[object Map]",en="[object Number]",Tu="[object Null]",pe="[object Object]",si="[object Promise]",$r="[object Proxy]",_a="[object RegExp]",Sn="[object Set]",Wr="[object String]",Pr="[object Symbol]",qg="[object Undefined]",tl="[object WeakMap]",el="[object WeakSet]",cn="[object ArrayBuffer]",Yn="[object DataView]",An="[object Float32Array]",vo="[object Float64Array]",Do="[object Int8Array]",po="[object Int16Array]",ki="[object Int32Array]",Vi="[object Uint8Array]",Ju="[object Uint8ClampedArray]",Qi="[object Uint16Array]",ci="[object Uint32Array]",Yg=/\b__p \+= '';/g,Nh=/\b(__p \+=) '' \+/g,jh=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xs=/&(?:amp|lt|gt|quot|#39);/g,Zi=/[&<>"']/g,kg=RegExp(xs.source),Lh=RegExp(Zi.source),zh=/<%-([\s\S]+?)%>/g,Ao=/<%([\s\S]+?)%>/g,Es=/<%=([\s\S]+?)%>/g,Uh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vg=/^\w*$/,xa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nn=/[\\^$.*+?()[\]{}|]/g,Fn=RegExp(nn.source),Ea=/^\s+/,mo=/\s/,Qg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Zg=/\{\n\/\* \[wrapped with (.+)\] \*/,Hh=/,? & /,nl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yo=/[()=,{}\[\]\/\s]/,Ki=/\\(\\)?/g,Xi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ii=/\w*$/,Ji=/^[-+]0x[0-9a-f]+$/i,un=/^0b[01]+$/i,Gh=/^\[object .+?Constructor\]$/,qh=/^0o[0-7]+$/i,oi=/^(?:0|[1-9]\d*)$/,$i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cs=/($^)/,Yh=/['\n\r\u2028\u2029\\]/g,ul="\\ud800-\\udfff",Kg="\\u0300-\\u036f",Ss="\\ufe20-\\ufe2f",Fs="\\u20d0-\\u20ff",Bu=Kg+Ss+Fs,ws="\\u2700-\\u27bf",bo="a-z\\xdf-\\xf6\\xf8-\\xff",Wi="\\xac\\xb1\\xd7\\xf7",_o="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xo="\\u2000-\\u206f",Xg=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Eo="A-Z\\xc0-\\xd6\\xd8-\\xde",kn="\\ufe0e\\ufe0f",Co=Wi+_o+xo+Xg,So="['’]",Ms="["+ul+"]",Fo="["+Co+"]",fi="["+Bu+"]",kh="\\d+",eu="["+ws+"]",Os="["+bo+"]",wo="[^"+ul+Co+kh+ws+bo+Eo+"]",al="\\ud83c[\\udffb-\\udfff]",Pi="(?:"+fi+"|"+al+")",Mo="[^"+ul+"]",Ts="(?:\\ud83c[\\udde6-\\uddff]){2}",Ca="[\\ud800-\\udbff][\\udc00-\\udfff]",tr="["+Eo+"]",Oo="\\u200d",To="(?:"+Os+"|"+wo+")",Bo="(?:"+tr+"|"+wo+")",Vh="(?:"+So+"(?:d|ll|m|re|s|t|ve))?",Qh="(?:"+So+"(?:D|LL|M|RE|S|T|VE))?",il=Pi+"?",Bs="["+kn+"]?",Ro="(?:"+Oo+"(?:"+[Mo,Ts,Ca].join("|")+")"+Bs+il+")*",er="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",No=Bs+il+Ro,jo="(?:"+[eu,Ts,Ca].join("|")+")"+No,Zh="(?:"+[Mo+fi+"?",fi,Ts,Ca,Ms].join("|")+")",rl=RegExp(So,"g"),$u=RegExp(fi,"g"),ll=RegExp(al+"(?="+al+")|"+Zh+No,"g"),sl=RegExp([tr+"?"+Os+"+"+Vh+"(?="+[Fo,tr,"$"].join("|")+")",Bo+"+"+Qh+"(?="+[Fo,tr+To,"$"].join("|")+")",tr+"?"+To+"+"+Vh,tr+"+"+Qh,nr,er,kh,jo].join("|"),"g"),Sa=RegExp("["+Oo+ul+Bu+kn+"]"),Lo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kh=-1,Ae={};Ae[An]=Ae[vo]=Ae[Do]=Ae[po]=Ae[ki]=Ae[Vi]=Ae[Ju]=Ae[Qi]=Ae[ci]=!0,Ae[mt]=Ae[xt]=Ae[cn]=Ae[Zt]=Ae[Yn]=Ae[Le]=Ae[tn]=Ae[Cn]=Ae[St]=Ae[en]=Ae[pe]=Ae[_a]=Ae[Sn]=Ae[Wr]=Ae[tl]=!1;var de={};de[mt]=de[xt]=de[cn]=de[Yn]=de[Zt]=de[Le]=de[An]=de[vo]=de[Do]=de[po]=de[ki]=de[St]=de[en]=de[pe]=de[_a]=de[Sn]=de[Wr]=de[Pr]=de[Vi]=de[Ju]=de[Qi]=de[ci]=!0,de[tn]=de[Cn]=de[tl]=!1;var Xh={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"},wn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},hi={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ns={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},cl=parseFloat,Ig=parseInt,js=typeof rg=="object"&&rg&&rg.Object===Object&&rg,zo=typeof self=="object"&&self&&self.Object===Object&&self,Ye=js||zo||Function("return this")(),ur=s&&!s.nodeType&&s,Fa=ur&&!0&&r&&!r.nodeType&&r,Ih=Fa&&Fa.exports===ur,Uo=Ih&&js.process,nu=(function(){try{var R=Fa&&Fa.require&&Fa.require("util").types;return R||Uo&&Uo.binding&&Uo.binding("util")}catch{}})(),Ls=nu&&nu.isArrayBuffer,Jh=nu&&nu.isDate,$h=nu&&nu.isMap,Wh=nu&&nu.isRegExp,Ph=nu&&nu.isSet,td=nu&&nu.isTypedArray;function Mn(R,Z,k){switch(k.length){case 0:return R.call(Z);case 1:return R.call(Z,k[0]);case 2:return R.call(Z,k[0],k[1]);case 3:return R.call(Z,k[0],k[1],k[2])}return R.apply(Z,k)}function Jg(R,Z,k,dt){for(var Bt=-1,ne=R==null?0:R.length;++Bt<ne;){var Ve=R[Bt];Z(dt,Ve,k(Ve),R)}return dt}function uu(R,Z){for(var k=-1,dt=R==null?0:R.length;++k<dt&&Z(R[k],k,R)!==!1;);return R}function $g(R,Z){for(var k=R==null?0:R.length;k--&&Z(R[k],k,R)!==!1;);return R}function ed(R,Z){for(var k=-1,dt=R==null?0:R.length;++k<dt;)if(!Z(R[k],k,R))return!1;return!0}function Ru(R,Z){for(var k=-1,dt=R==null?0:R.length,Bt=0,ne=[];++k<dt;){var Ve=R[k];Z(Ve,k,R)&&(ne[Bt++]=Ve)}return ne}function zs(R,Z){var k=R==null?0:R.length;return!!k&&ar(R,Z,0)>-1}function Ho(R,Z,k){for(var dt=-1,Bt=R==null?0:R.length;++dt<Bt;)if(k(Z,R[dt]))return!0;return!1}function Me(R,Z){for(var k=-1,dt=R==null?0:R.length,Bt=Array(dt);++k<dt;)Bt[k]=Z(R[k],k,R);return Bt}function Wu(R,Z){for(var k=-1,dt=Z.length,Bt=R.length;++k<dt;)R[Bt+k]=Z[k];return R}function Go(R,Z,k,dt){var Bt=-1,ne=R==null?0:R.length;for(dt&&ne&&(k=R[++Bt]);++Bt<ne;)k=Z(k,R[Bt],Bt,R);return k}function Wg(R,Z,k,dt){var Bt=R==null?0:R.length;for(dt&&Bt&&(k=R[--Bt]);Bt--;)k=Z(k,R[Bt],Bt,R);return k}function qo(R,Z){for(var k=-1,dt=R==null?0:R.length;++k<dt;)if(Z(R[k],k,R))return!0;return!1}var Pg=Hs("length");function tv(R){return R.split("")}function ev(R){return R.match(nl)||[]}function nd(R,Z,k){var dt;return k(R,function(Bt,ne,Ve){if(Z(Bt,ne,Ve))return dt=ne,!1}),dt}function Us(R,Z,k,dt){for(var Bt=R.length,ne=k+(dt?1:-1);dt?ne--:++ne<Bt;)if(Z(R[ne],ne,R))return ne;return-1}function ar(R,Z,k){return Z===Z?iv(R,Z,k):Us(R,ir,k)}function Yo(R,Z,k,dt){for(var Bt=k-1,ne=R.length;++Bt<ne;)if(dt(R[Bt],Z))return Bt;return-1}function ir(R){return R!==R}function ud(R,Z){var k=R==null?0:R.length;return k?qs(R,Z)/k:S}function Hs(R){return function(Z){return Z==null?l:Z[R]}}function Gs(R){return function(Z){return R==null?l:R[Z]}}function ko(R,Z,k,dt,Bt){return Bt(R,function(ne,Ve,ue){k=dt?(dt=!1,ne):Z(k,ne,Ve,ue)}),k}function ad(R,Z){var k=R.length;for(R.sort(Z);k--;)R[k]=R[k].value;return R}function qs(R,Z){for(var k,dt=-1,Bt=R.length;++dt<Bt;){var ne=Z(R[dt]);ne!==l&&(k=k===l?ne:k+ne)}return k}function wa(R,Z){for(var k=-1,dt=Array(R);++k<R;)dt[k]=Z(k);return dt}function nv(R,Z){return Me(Z,function(k){return[k,R[k]]})}function id(R){return R&&R.slice(0,Qo(R)+1).replace(Ea,"")}function Vn(R){return function(Z){return R(Z)}}function Ys(R,Z){return Me(Z,function(k){return R[k]})}function rr(R,Z){return R.has(Z)}function lr(R,Z){for(var k=-1,dt=R.length;++k<dt&&ar(Z,R[k],0)>-1;);return k}function sr(R,Z){for(var k=R.length;k--&&ar(Z,R[k],0)>-1;);return k}function uv(R,Z){for(var k=R.length,dt=0;k--;)R[k]===Z&&++dt;return dt}var ks=Gs(Xh),rd=Gs(wn);function ld(R){return"\\"+Ns[R]}function Vo(R,Z){return R==null?l:R[Z]}function Ma(R){return Sa.test(R)}function sd(R){return Lo.test(R)}function cd(R){for(var Z,k=[];!(Z=R.next()).done;)k.push(Z.value);return k}function Vs(R){var Z=-1,k=Array(R.size);return R.forEach(function(dt,Bt){k[++Z]=[Bt,dt]}),k}function od(R,Z){return function(k){return R(Z(k))}}function Oa(R,Z){for(var k=-1,dt=R.length,Bt=0,ne=[];++k<dt;){var Ve=R[k];(Ve===Z||Ve===O)&&(R[k]=O,ne[Bt++]=k)}return ne}function Qs(R){var Z=-1,k=Array(R.size);return R.forEach(function(dt){k[++Z]=dt}),k}function av(R){var Z=-1,k=Array(R.size);return R.forEach(function(dt){k[++Z]=[dt,dt]}),k}function iv(R,Z,k){for(var dt=k-1,Bt=R.length;++dt<Bt;)if(R[dt]===Z)return dt;return-1}function Qn(R,Z,k){for(var dt=k+1;dt--;)if(R[dt]===Z)return dt;return dt}function Nu(R){return Ma(R)?hd(R):Pg(R)}function au(R){return Ma(R)?Zo(R):tv(R)}function Qo(R){for(var Z=R.length;Z--&&mo.test(R.charAt(Z)););return Z}var fd=Gs(hi);function hd(R){for(var Z=ll.lastIndex=0;ll.test(R);)++Z;return Z}function Zo(R){return R.match(ll)||[]}function rv(R){return R.match(sl)||[]}var cr=(function R(Z){Z=Z==null?Ye:Ta.defaults(Ye.Object(),Z,Ta.pick(Ye,Rs));var k=Z.Array,dt=Z.Date,Bt=Z.Error,ne=Z.Function,Ve=Z.Math,ue=Z.Object,Zs=Z.RegExp,dd=Z.String,Zn=Z.TypeError,Ks=k.prototype,lv=ne.prototype,or=ue.prototype,ol=Z["__core-js_shared__"],fl=lv.toString,se=or.hasOwnProperty,pu=0,Ko=(function(){var u=/[^.]+$/.exec(ol&&ol.keys&&ol.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""})(),mn=or.toString,iu=fl.call(ue),fr=Ye._,Xo=Zs("^"+fl.call(se).replace(nn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),di=Ih?Z.Buffer:l,Au=Z.Symbol,hr=Z.Uint8Array,gi=di?di.allocUnsafe:l,hl=od(ue.getPrototypeOf,ue),dl=ue.create,vi=or.propertyIsEnumerable,Xs=Ks.splice,On=Au?Au.isConcatSpreadable:l,Di=Au?Au.iterator:l,yn=Au?Au.toStringTag:l,gl=(function(){try{var u=Ga(ue,"defineProperty");return u({},"",{}),u}catch{}})(),Is=Z.clearTimeout!==Ye.clearTimeout&&Z.clearTimeout,pi=dt&&dt.now!==Ye.Date.now&&dt.now,Io=Z.setTimeout!==Ye.setTimeout&&Z.setTimeout,dr=Ve.ceil,Pu=Ve.floor,Ba=ue.getOwnPropertySymbols,Js=di?di.isBuffer:l,vl=Z.isFinite,ru=Ks.join,lu=od(ue.keys,ue),Se=Ve.max,Oe=Ve.min,ta=dt.now,Ai=Z.parseInt,Jo=Ve.random,$o=Ks.reverse,Dl=Ga(Z,"DataView"),Ze=Ga(Z,"Map"),Te=Ga(Z,"Promise"),Jt=Ga(Z,"Set"),mu=Ga(Z,"WeakMap"),Tn=Ga(ue,"create"),gr=mu&&new mu,su={},gd=ca(Dl),vd=ca(Ze),pl=ca(Te),Al=ca(Jt),Dd=ca(mu),Ra=Au?Au.prototype:l,mi=Ra?Ra.valueOf:l,Na=Ra?Ra.toString:l;function y(u){if(je(u)&&!jt(u)&&!(u instanceof kt)){if(u instanceof Bn)return u;if(se.call(u,"__wrapped__"))return Xe(u)}return new Bn(u)}var Kn=(function(){function u(){}return function(a){if(!Re(a))return{};if(dl)return dl(a);u.prototype=a;var f=new u;return u.prototype=l,f}})();function cu(){}function Bn(u,a){this.__wrapped__=u,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=l}y.templateSettings={escape:zh,evaluate:Ao,interpolate:Es,variable:"",imports:{_:y}},y.prototype=cu.prototype,y.prototype.constructor=y,Bn.prototype=Kn(cu.prototype),Bn.prototype.constructor=Bn;function kt(u){this.__wrapped__=u,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=q,this.__views__=[]}function ml(){var u=new kt(this.__wrapped__);return u.__actions__=Ke(this.__actions__),u.__dir__=this.__dir__,u.__filtered__=this.__filtered__,u.__iteratees__=Ke(this.__iteratees__),u.__takeCount__=this.__takeCount__,u.__views__=Ke(this.__views__),u}function $s(){if(this.__filtered__){var u=new kt(this);u.__dir__=-1,u.__filtered__=!0}else u=this.clone(),u.__dir__*=-1;return u}function yi(){var u=this.__wrapped__.value(),a=this.__dir__,f=jt(u),g=a<0,A=f?u.length:0,_=Id(0,A,this.__views__),F=_.start,M=_.end,j=M-F,$=g?M:F-1,P=this.__iteratees__,tt=P.length,gt=0,yt=Oe(j,this.__takeCount__);if(!f||!g&&A==j&&yt==j)return jd(u,this.__actions__);var Rt=[];t:for(;j--&&gt<yt;){$+=a;for(var Qt=-1,Nt=u[$];++Qt<tt;){var Pt=P[Qt],ie=Pt.iteratee,Su=Pt.type,tu=ie(Nt);if(Su==rt)Nt=tu;else if(!tu){if(Su==bt)continue t;break t}}Rt[gt++]=Nt}return Rt}kt.prototype=Kn(cu.prototype),kt.prototype.constructor=kt;function ze(u){var a=-1,f=u==null?0:u.length;for(this.clear();++a<f;){var g=u[a];this.set(g[0],g[1])}}function Ws(){this.__data__=Tn?Tn(null):{},this.size=0}function pd(u){var a=this.has(u)&&delete this.__data__[u];return this.size-=a?1:0,a}function sv(u){var a=this.__data__;if(Tn){var f=a[u];return f===x?l:f}return se.call(a,u)?a[u]:l}function cv(u){var a=this.__data__;return Tn?a[u]!==l:se.call(a,u)}function ov(u,a){var f=this.__data__;return this.size+=this.has(u)?0:1,f[u]=Tn&&a===l?x:a,this}ze.prototype.clear=Ws,ze.prototype.delete=pd,ze.prototype.get=sv,ze.prototype.has=cv,ze.prototype.set=ov;function _e(u){var a=-1,f=u==null?0:u.length;for(this.clear();++a<f;){var g=u[a];this.set(g[0],g[1])}}function Wo(){this.__data__=[],this.size=0}function yl(u){var a=this.__data__,f=pr(a,u);if(f<0)return!1;var g=a.length-1;return f==g?a.pop():Xs.call(a,f,1),--this.size,!0}function bl(u){var a=this.__data__,f=pr(a,u);return f<0?l:a[f][1]}function Po(u){return pr(this.__data__,u)>-1}function vr(u,a){var f=this.__data__,g=pr(f,u);return g<0?(++this.size,f.push([u,a])):f[g][1]=a,this}_e.prototype.clear=Wo,_e.prototype.delete=yl,_e.prototype.get=bl,_e.prototype.has=Po,_e.prototype.set=vr;function Rn(u){var a=-1,f=u==null?0:u.length;for(this.clear();++a<f;){var g=u[a];this.set(g[0],g[1])}}function fv(){this.size=0,this.__data__={hash:new ze,map:new(Ze||_e),string:new ze}}function Ad(u){var a=xr(this,u).delete(u);return this.size-=a?1:0,a}function hv(u){return xr(this,u).get(u)}function md(u){return xr(this,u).has(u)}function bi(u,a){var f=xr(this,u),g=f.size;return f.set(u,a),this.size+=f.size==g?0:1,this}Rn.prototype.clear=fv,Rn.prototype.delete=Ad,Rn.prototype.get=hv,Rn.prototype.has=md,Rn.prototype.set=bi;function ea(u){var a=-1,f=u==null?0:u.length;for(this.__data__=new Rn;++a<f;)this.add(u[a])}function Ps(u){return this.__data__.set(u,x),this}function yd(u){return this.__data__.has(u)}ea.prototype.add=ea.prototype.push=Ps,ea.prototype.has=yd;function bn(u){var a=this.__data__=new _e(u);this.size=a.size}function bd(){this.__data__=new _e,this.size=0}function tc(u){var a=this.__data__,f=a.delete(u);return this.size=a.size,f}function tf(u){return this.__data__.get(u)}function _d(u){return this.__data__.has(u)}function ec(u,a){var f=this.__data__;if(f instanceof _e){var g=f.__data__;if(!Ze||g.length<d-1)return g.push([u,a]),this.size=++f.size,this;f=this.__data__=new Rn(g)}return f.set(u,a),this.size=f.size,this}bn.prototype.clear=bd,bn.prototype.delete=tc,bn.prototype.get=tf,bn.prototype.has=_d,bn.prototype.set=ec;function ef(u,a){var f=jt(u),g=!f&&da(u),A=!f&&!g&&Ja(u),_=!f&&!g&&!A&&zr(u),F=f||g||A||_,M=F?wa(u.length,dd):[],j=M.length;for(var $ in u)(a||se.call(u,$))&&!(F&&($=="length"||A&&($=="offset"||$=="parent")||_&&($=="buffer"||$=="byteLength"||$=="byteOffset")||xu($,j)))&&M.push($);return M}function Dr(u){var a=u.length;return a?u[fc(0,a-1)]:l}function xd(u,a){return Xl(Ke(u),bu(a,0,u.length))}function Ed(u){return Xl(Ke(u))}function ju(u,a,f){(f!==l&&!Gn(u[a],f)||f===l&&!(a in u))&&yu(u,a,f)}function _i(u,a,f){var g=u[a];(!(se.call(u,a)&&Gn(g,f))||f===l&&!(a in u))&&yu(u,a,f)}function pr(u,a){for(var f=u.length;f--;)if(Gn(u[f][0],a))return f;return-1}function ja(u,a,f,g){return ua(u,function(A,_,F){a(g,A,f(A),F)}),g}function na(u,a){return u&&Ln(a,$e(a),u)}function _l(u,a){return u&&Ln(a,ln(a),u)}function yu(u,a,f){a=="__proto__"&&gl?gl(u,a,{configurable:!0,enumerable:!0,value:f,writable:!0}):u[a]=f}function xl(u,a){for(var f=-1,g=a.length,A=k(g),_=u==null;++f<g;)A[f]=_?l:ss(u,a[f]);return A}function bu(u,a,f){return u===u&&(f!==l&&(u=u<=f?u:f),a!==l&&(u=u>=a?u:a)),u}function gn(u,a,f,g,A,_){var F,M=a&H,j=a&Y,$=a&et;if(f&&(F=A?f(u,g,A,_):f(u)),F!==l)return F;if(!Re(u))return u;var P=jt(u);if(P){if(F=wf(u),!M)return Ke(u,F)}else{var tt=rn(u),gt=tt==Cn||tt==Du;if(Ja(u))return yf(u,M);if(tt==pe||tt==mt||gt&&!A){if(F=j||gt?{}:Mf(u),!M)return j?Ll(u,_l(F,u)):pc(u,na(F,u))}else{if(!de[tt])return A?u:{};F=Of(u,tt,M)}}_||(_=new bn);var yt=_.get(u);if(yt)return yt;_.set(u,F),q0(u)?u.forEach(function(Nt){F.add(gn(Nt,a,f,Nt,u,_))}):Yc(u)&&u.forEach(function(Nt,Pt){F.set(Pt,gn(Nt,a,f,Pt,u,_))});var Rt=$?j?bc:yc:j?ln:$e,Qt=P?l:Rt(u);return uu(Qt||u,function(Nt,Pt){Qt&&(Pt=Nt,Nt=u[Pt]),_i(F,Pt,gn(Nt,a,f,Pt,u,_))}),F}function Cd(u){var a=$e(u);return function(f){return nf(f,u,a)}}function nf(u,a,f){var g=f.length;if(u==null)return!g;for(u=ue(u);g--;){var A=f[g],_=a[A],F=u[A];if(F===l&&!(A in u)||!_(F))return!1}return!0}function xi(u,a,f){if(typeof u!="function")throw new Zn(m);return Cr(function(){u.apply(l,f)},a)}function La(u,a,f,g){var A=-1,_=zs,F=!0,M=u.length,j=[],$=a.length;if(!M)return j;f&&(a=Me(a,Vn(f))),g?(_=Ho,F=!1):a.length>=d&&(_=rr,F=!1,a=new ea(a));t:for(;++A<M;){var P=u[A],tt=f==null?P:f(P);if(P=g||P!==0?P:0,F&&tt===tt){for(var gt=$;gt--;)if(a[gt]===tt)continue t;j.push(P)}else _(a,tt,g)||j.push(P)}return j}var ua=Ef(vn),nc=Ef(mr,!0);function uf(u,a){var f=!0;return ua(u,function(g,A,_){return f=!!a(g,A,_),f}),f}function _u(u,a,f){for(var g=-1,A=u.length;++g<A;){var _=u[g],F=a(_);if(F!=null&&(M===l?F===F&&!En(F):f(F,M)))var M=F,j=_}return j}function qt(u,a,f,g){var A=u.length;for(f=zt(f),f<0&&(f=-f>A?0:A+f),g=g===l||g>A?A:zt(g),g<0&&(g+=A),g=f>g?0:Vu(g);f<g;)u[f++]=a;return u}function ge(u,a){var f=[];return ua(u,function(g,A,_){a(g,A,_)&&f.push(g)}),f}function $t(u,a,f,g,A){var _=-1,F=u.length;for(f||(f=la),A||(A=[]);++_<F;){var M=u[_];a>0&&f(M)?a>1?$t(M,a-1,f,g,A):Wu(A,M):g||(A[A.length]=M)}return A}var Ar=Oi(),Ei=Oi(!0);function vn(u,a){return u&&Ar(u,a,$e)}function mr(u,a){return u&&Ei(u,a,$e)}function za(u,a){return Ru(a,function(f){return Eu(u[f])})}function ou(u,a){a=ia(a,u);for(var f=0,g=a.length;u!=null&&f<g;)u=u[fe(a[f++])];return f&&f==g?u:l}function Sd(u,a,f){var g=a(u);return jt(u)?g:Wu(g,f(u))}function Wt(u){return u==null?u===l?qg:Tu:yn&&yn in ue(u)?Xd(u):t0(u)}function El(u,a){return u>a}function af(u,a){return u!=null&&se.call(u,a)}function Fd(u,a){return u!=null&&a in ue(u)}function wd(u,a,f){return u>=Oe(a,f)&&u<Se(a,f)}function rf(u,a,f){for(var g=f?Ho:zs,A=u[0].length,_=u.length,F=_,M=k(_),j=1/0,$=[];F--;){var P=u[F];F&&a&&(P=Me(P,Vn(a))),j=Oe(P.length,j),M[F]=!f&&(a||A>=120&&P.length>=120)?new ea(F&&P):l}P=u[0];var tt=-1,gt=M[0];t:for(;++tt<A&&$.length<j;){var yt=P[tt],Rt=a?a(yt):yt;if(yt=f||yt!==0?yt:0,!(gt?rr(gt,Rt):g($,Rt,f))){for(F=_;--F;){var Qt=M[F];if(!(Qt?rr(Qt,Rt):g(u[F],Rt,f)))continue t}gt&&gt.push(Rt),$.push(yt)}}return $}function lf(u,a,f,g){return vn(u,function(A,_,F){a(g,f(A),_,F)}),g}function Ci(u,a,f){a=ia(a,u),u=Er(u,a);var g=u==null?u:u[fe(Dn(a))];return g==null?l:Mn(g,u,f)}function uc(u){return je(u)&&Wt(u)==mt}function Nn(u){return je(u)&&Wt(u)==cn}function Qe(u){return je(u)&&Wt(u)==Le}function Si(u,a,f,g,A){return u===a?!0:u==null||a==null||!je(u)&&!je(a)?u!==u&&a!==a:Cl(u,a,f,g,Si,A)}function Cl(u,a,f,g,A,_){var F=jt(u),M=jt(a),j=F?xt:rn(u),$=M?xt:rn(a);j=j==mt?pe:j,$=$==mt?pe:$;var P=j==pe,tt=$==pe,gt=j==$;if(gt&&Ja(u)){if(!Ja(a))return!1;F=!0,P=!1}if(gt&&!P)return _||(_=new bn),F||zr(u)?Zd(u,a,f,g,A,_):Kd(u,a,j,f,g,A,_);if(!(f&it)){var yt=P&&se.call(u,"__wrapped__"),Rt=tt&&se.call(a,"__wrapped__");if(yt||Rt){var Qt=yt?u.value():u,Nt=Rt?a.value():a;return _||(_=new bn),A(Qt,Nt,f,g,_)}}return gt?(_||(_=new bn),an(u,a,f,g,A,_)):!1}function ac(u){return je(u)&&rn(u)==St}function Sl(u,a,f,g){var A=f.length,_=A,F=!g;if(u==null)return!_;for(u=ue(u);A--;){var M=f[A];if(F&&M[2]?M[1]!==u[M[0]]:!(M[0]in u))return!1}for(;++A<_;){M=f[A];var j=M[0],$=u[j],P=M[1];if(F&&M[2]){if($===l&&!(j in u))return!1}else{var tt=new bn;if(g)var gt=g($,P,j,u,a,tt);if(!(gt===l?Si(P,$,it|st,g,tt):gt))return!1}}return!0}function Lu(u){if(!Re(u)||Fc(u))return!1;var a=Eu(u)?Xo:Gh;return a.test(ca(u))}function ic(u){return je(u)&&Wt(u)==_a}function sf(u){return je(u)&&rn(u)==Sn}function cf(u){return je(u)&&ji(u.length)&&!!Ae[Wt(u)]}function of(u){return typeof u=="function"?u:u==null?U:typeof u=="object"?jt(u)?sc(u[0],u[1]):hf(u):ae(u)}function rc(u){if(!xe(u))return lu(u);var a=[];for(var f in ue(u))se.call(u,f)&&f!="constructor"&&a.push(f);return a}function Md(u){if(!Re(u))return qa(u);var a=xe(u),f=[];for(var g in u)g=="constructor"&&(a||!se.call(u,g))||f.push(g);return f}function lc(u,a){return u<a}function ff(u,a){var f=-1,g=Ie(u)?k(u.length):[];return ua(u,function(A,_,F){g[++f]=a(A,_,F)}),g}function hf(u){var a=xc(u);return a.length==1&&a[0][2]?Wd(a[0][0],a[0][1]):function(f){return f===u||Sl(f,u,a)}}function sc(u,a){return Cc(u)&&$d(a)?Wd(fe(u),a):function(f){var g=ss(f,u);return g===l&&g===a?qr(f,u):Si(a,g,it|st)}}function Fl(u,a,f,g,A){u!==a&&Ar(a,function(_,F){if(A||(A=new bn),Re(_))dv(u,a,F,f,Fl,g,A);else{var M=g?g(wc(u,F),_,F+"",u,a,A):l;M===l&&(M=_),ju(u,F,M)}},ln)}function dv(u,a,f,g,A,_,F){var M=wc(u,f),j=wc(a,f),$=F.get(j);if($){ju(u,f,$);return}var P=_?_(M,j,f+"",u,a,F):l,tt=P===l;if(tt){var gt=jt(j),yt=!gt&&Ja(j),Rt=!gt&&!yt&&zr(j);P=j,gt||yt||Rt?jt(M)?P=M:Ge(M)?P=Ke(M):yt?(tt=!1,P=yf(j,!0)):Rt?(tt=!1,P=_f(j,!0)):P=[]:gu(j)||da(j)?(P=M,da(M)?P=V0(M):(!Re(M)||Eu(M))&&(P=Mf(j))):tt=!1}tt&&(F.set(j,P),A(P,j,g,_,F),F.delete(j)),ju(u,f,P)}function df(u,a){var f=u.length;if(f)return a+=a<0?f:0,xu(a,f)?u[a]:l}function gf(u,a,f){a.length?a=Me(a,function(_){return jt(_)?function(F){return ou(F,_.length===1?_[0]:_)}:_}):a=[U];var g=-1;a=Me(a,Vn(Ct()));var A=ff(u,function(_,F,M){var j=Me(a,function($){return $(_)});return{criteria:j,index:++g,value:_}});return ad(A,function(_,F){return Hd(_,F,f)})}function Od(u,a){return cc(u,a,function(f,g){return qr(u,g)})}function cc(u,a,f){for(var g=-1,A=a.length,_={};++g<A;){var F=a[g],M=ou(u,F);f(M,F)&&br(_,ia(F,u),M)}return _}function Td(u){return function(a){return ou(a,u)}}function oc(u,a,f,g){var A=g?Yo:ar,_=-1,F=a.length,M=u;for(u===a&&(a=Ke(a)),f&&(M=Me(u,Vn(f)));++_<F;)for(var j=0,$=a[_],P=f?f($):$;(j=A(M,P,j,g))>-1;)M!==u&&Xs.call(M,j,1),Xs.call(u,j,1);return u}function vf(u,a){for(var f=u?a.length:0,g=f-1;f--;){var A=a[f];if(f==g||A!==_){var _=A;xu(A)?Xs.call(u,A,1):Tl(u,A)}}return u}function fc(u,a){return u+Pu(Jo()*(a-u+1))}function Bd(u,a,f,g){for(var A=-1,_=Se(dr((a-u)/(f||1)),0),F=k(_);_--;)F[g?_:++A]=u,u+=f;return F}function Df(u,a){var f="";if(!u||a<1||a>Q)return f;do a%2&&(f+=u),a=Pu(a/2),a&&(u+=u);while(a);return f}function Gt(u,a){return Zl(Tf(u,a,U),u+"")}function yr(u){return Dr(kr(u))}function hc(u,a){var f=kr(u);return Xl(f,bu(a,0,f.length))}function br(u,a,f,g){if(!Re(u))return u;a=ia(a,u);for(var A=-1,_=a.length,F=_-1,M=u;M!=null&&++A<_;){var j=fe(a[A]),$=f;if(j==="__proto__"||j==="constructor"||j==="prototype")return u;if(A!=F){var P=M[j];$=g?g(P,j,M):l,$===l&&($=Re(P)?P:xu(a[A+1])?[]:{})}_i(M,j,$),M=M[j]}return u}var wl=gr?function(u,a){return gr.set(u,a),u}:U,Ml=gl?function(u,a){return gl(u,"toString",{configurable:!0,enumerable:!1,value:z(a),writable:!0})}:U;function Rd(u){return Xl(kr(u))}function Xn(u,a,f){var g=-1,A=u.length;a<0&&(a=-a>A?0:A+a),f=f>A?A:f,f<0&&(f+=A),A=a>f?0:f-a>>>0,a>>>=0;for(var _=k(A);++g<A;)_[g]=u[g+a];return _}function Nd(u,a){var f;return ua(u,function(g,A,_){return f=a(g,A,_),!f}),!!f}function Ol(u,a,f){var g=0,A=u==null?g:u.length;if(typeof a=="number"&&a===a&&A<=nt){for(;g<A;){var _=g+A>>>1,F=u[_];F!==null&&!En(F)&&(f?F<=a:F<a)?g=_+1:A=_}return A}return dc(u,a,U,f)}function dc(u,a,f,g){var A=0,_=u==null?0:u.length;if(_===0)return 0;a=f(a);for(var F=a!==a,M=a===null,j=En(a),$=a===l;A<_;){var P=Pu((A+_)/2),tt=f(u[P]),gt=tt!==l,yt=tt===null,Rt=tt===tt,Qt=En(tt);if(F)var Nt=g||Rt;else $?Nt=Rt&&(g||gt):M?Nt=Rt&&gt&&(g||!yt):j?Nt=Rt&&gt&&!yt&&(g||!Qt):yt||Qt?Nt=!1:Nt=g?tt<=a:tt<a;Nt?A=P+1:_=P}return Oe(_,ut)}function pf(u,a){for(var f=-1,g=u.length,A=0,_=[];++f<g;){var F=u[f],M=a?a(F):F;if(!f||!Gn(M,j)){var j=M;_[A++]=F===0?0:F}}return _}function gc(u){return typeof u=="number"?u:En(u)?S:+u}function jn(u){if(typeof u=="string")return u;if(jt(u))return Me(u,jn)+"";if(En(u))return Na?Na.call(u):"";var a=u+"";return a=="0"&&1/u==-V?"-0":a}function aa(u,a,f){var g=-1,A=zs,_=u.length,F=!0,M=[],j=M;if(f)F=!1,A=Ho;else if(_>=d){var $=a?null:Vd(u);if($)return Qs($);F=!1,A=rr,j=new ea}else j=a?[]:M;t:for(;++g<_;){var P=u[g],tt=a?a(P):P;if(P=f||P!==0?P:0,F&&tt===tt){for(var gt=j.length;gt--;)if(j[gt]===tt)continue t;a&&j.push(tt),M.push(P)}else A(j,tt,f)||(j!==M&&j.push(tt),M.push(P))}return M}function Tl(u,a){return a=ia(a,u),u=Er(u,a),u==null||delete u[fe(Dn(a))]}function Af(u,a,f,g){return br(u,a,f(ou(u,a)),g)}function Bl(u,a,f,g){for(var A=u.length,_=g?A:-1;(g?_--:++_<A)&&a(u[_],_,u););return f?Xn(u,g?0:_,g?_+1:A):Xn(u,g?_+1:0,g?A:_)}function jd(u,a){var f=u;return f instanceof kt&&(f=f.value()),Go(a,function(g,A){return A.func.apply(A.thisArg,Wu([g],A.args))},f)}function Rl(u,a,f){var g=u.length;if(g<2)return g?aa(u[0]):[];for(var A=-1,_=k(g);++A<g;)for(var F=u[A],M=-1;++M<g;)M!=A&&(_[A]=La(_[A]||F,u[M],a,f));return aa($t(_,1),a,f)}function mf(u,a,f){for(var g=-1,A=u.length,_=a.length,F={};++g<A;){var M=g<_?a[g]:l;f(F,u[g],M)}return F}function vc(u){return Ge(u)?u:[]}function Nl(u){return typeof u=="function"?u:U}function ia(u,a){return jt(u)?u:Cc(u,a)?[u]:Gu(ce(u))}var Ld=Gt;function Ua(u,a,f){var g=u.length;return f=f===l?g:f,!a&&f>=g?u:Xn(u,a,f)}var zd=Is||function(u){return Ye.clearTimeout(u)};function yf(u,a){if(a)return u.slice();var f=u.length,g=gi?gi(f):new u.constructor(f);return u.copy(g),g}function Fi(u){var a=new u.constructor(u.byteLength);return new hr(a).set(new hr(u)),a}function bf(u,a){var f=a?Fi(u.buffer):u.buffer;return new u.constructor(f,u.byteOffset,u.byteLength)}function Dc(u){var a=new u.constructor(u.source,Ii.exec(u));return a.lastIndex=u.lastIndex,a}function Ud(u){return mi?ue(mi.call(u)):{}}function _f(u,a){var f=a?Fi(u.buffer):u.buffer;return new u.constructor(f,u.byteOffset,u.length)}function jl(u,a){if(u!==a){var f=u!==l,g=u===null,A=u===u,_=En(u),F=a!==l,M=a===null,j=a===a,$=En(a);if(!M&&!$&&!_&&u>a||_&&F&&j&&!M&&!$||g&&F&&j||!f&&j||!A)return 1;if(!g&&!_&&!$&&u<a||$&&f&&A&&!g&&!_||M&&f&&A||!F&&A||!j)return-1}return 0}function Hd(u,a,f){for(var g=-1,A=u.criteria,_=a.criteria,F=A.length,M=f.length;++g<F;){var j=jl(A[g],_[g]);if(j){if(g>=M)return j;var $=f[g];return j*($=="desc"?-1:1)}}return u.index-a.index}function xf(u,a,f,g){for(var A=-1,_=u.length,F=f.length,M=-1,j=a.length,$=Se(_-F,0),P=k(j+$),tt=!g;++M<j;)P[M]=a[M];for(;++A<F;)(tt||A<_)&&(P[f[A]]=u[A]);for(;$--;)P[M++]=u[A++];return P}function Gd(u,a,f,g){for(var A=-1,_=u.length,F=-1,M=f.length,j=-1,$=a.length,P=Se(_-M,0),tt=k(P+$),gt=!g;++A<P;)tt[A]=u[A];for(var yt=A;++j<$;)tt[yt+j]=a[j];for(;++F<M;)(gt||A<_)&&(tt[yt+f[F]]=u[A++]);return tt}function Ke(u,a){var f=-1,g=u.length;for(a||(a=k(g));++f<g;)a[f]=u[f];return a}function Ln(u,a,f,g){var A=!f;f||(f={});for(var _=-1,F=a.length;++_<F;){var M=a[_],j=g?g(f[M],u[M],M,f,u):l;j===l&&(j=u[M]),A?yu(f,M,j):_i(f,M,j)}return f}function pc(u,a){return Ln(u,Yl(u),a)}function Ll(u,a){return Ln(u,Ec(u),a)}function wi(u,a){return function(f,g){var A=jt(f)?Jg:ja,_=a?a():{};return A(f,u,Ct(g,2),_)}}function Mi(u){return Gt(function(a,f){var g=-1,A=f.length,_=A>1?f[A-1]:l,F=A>2?f[2]:l;for(_=u.length>3&&typeof _=="function"?(A--,_):l,F&&xn(f[0],f[1],F)&&(_=A<3?l:_,A=1),a=ue(a);++g<A;){var M=f[g];M&&u(a,M,g,_)}return a})}function Ef(u,a){return function(f,g){if(f==null)return f;if(!Ie(f))return u(f,g);for(var A=f.length,_=a?A:-1,F=ue(f);(a?_--:++_<A)&&g(F[_],_,F)!==!1;);return f}}function Oi(u){return function(a,f,g){for(var A=-1,_=ue(a),F=g(a),M=F.length;M--;){var j=F[u?M:++A];if(f(_[j],j,_)===!1)break}return a}}function qd(u,a,f){var g=a&pt,A=fu(u);function _(){var F=this&&this!==Ye&&this instanceof _?A:u;return F.apply(g?f:this,arguments)}return _}function In(u){return function(a){a=ce(a);var f=Ma(a)?au(a):l,g=f?f[0]:a.charAt(0),A=f?Ua(f,1).join(""):a.slice(1);return g[u]()+A}}function _n(u){return function(a){return Go(o(ga(a).replace(rl,"")),u,"")}}function fu(u){return function(){var a=arguments;switch(a.length){case 0:return new u;case 1:return new u(a[0]);case 2:return new u(a[0],a[1]);case 3:return new u(a[0],a[1],a[2]);case 4:return new u(a[0],a[1],a[2],a[3]);case 5:return new u(a[0],a[1],a[2],a[3],a[4]);case 6:return new u(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new u(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var f=Kn(u.prototype),g=u.apply(f,a);return Re(g)?g:f}}function Yd(u,a,f){var g=fu(u);function A(){for(var _=arguments.length,F=k(_),M=_,j=Bi(A);M--;)F[M]=arguments[M];var $=_<3&&F[0]!==j&&F[_-1]!==j?[]:Oa(F,j);if(_-=$.length,_<f)return Cf(u,a,Ue,A.placeholder,l,F,$,l,l,f-_);var P=this&&this!==Ye&&this instanceof A?g:u;return Mn(P,this,F)}return A}function ra(u){return function(a,f,g){var A=ue(a);if(!Ie(a)){var _=Ct(f,3);a=$e(a),f=function(M){return _(A[M],M,A)}}var F=u(a,f,g);return F>-1?A[_?a[F]:F]:l}}function zu(u){return Fe(function(a){var f=a.length,g=f,A=Bn.prototype.thru;for(u&&a.reverse();g--;){var _=a[g];if(typeof _!="function")throw new Zn(m);if(A&&!F&&ql(_)=="wrapper")var F=new Bn([],!0)}for(g=F?g:f;++g<f;){_=a[g];var M=ql(_),j=M=="wrapper"?_c(_):l;j&&Sc(j[0])&&j[1]==(wt|at|X|It)&&!j[4].length&&j[9]==1?F=F[ql(j[0])].apply(F,j[3]):F=_.length==1&&Sc(_)?F[M]():F.thru(_)}return function(){var $=arguments,P=$[0];if(F&&$.length==1&&jt(P))return F.plant(P).value();for(var tt=0,gt=f?a[tt].apply(this,$):P;++tt<f;)gt=a[tt].call(this,gt);return gt}})}function Ue(u,a,f,g,A,_,F,M,j,$){var P=a&wt,tt=a&pt,gt=a&Tt,yt=a&(at|ct),Rt=a&re,Qt=gt?l:fu(u);function Nt(){for(var Pt=arguments.length,ie=k(Pt),Su=Pt;Su--;)ie[Su]=arguments[Su];if(yt)var tu=Bi(Nt),Fu=uv(ie,tu);if(g&&(ie=xf(ie,g,A,yt)),_&&(ie=Gd(ie,_,F,yt)),Pt-=Fu,yt&&Pt<$){var We=Oa(ie,tu);return Cf(u,a,Ue,Nt.placeholder,f,ie,We,M,j,$-Pt)}var va=tt?f:this,Li=gt?va[u]:u;return Pt=ie.length,M?ie=Hu(ie,M):Rt&&Pt>1&&ie.reverse(),P&&j<Pt&&(ie.length=j),this&&this!==Ye&&this instanceof Nt&&(Li=Qt||fu(Li)),Li.apply(va,ie)}return Nt}function zl(u,a){return function(f,g){return lf(f,u,a(g),{})}}function _r(u,a){return function(f,g){var A;if(f===l&&g===l)return a;if(f!==l&&(A=f),g!==l){if(A===l)return g;typeof f=="string"||typeof g=="string"?(f=jn(f),g=jn(g)):(f=gc(f),g=gc(g)),A=u(f,g)}return A}}function Ul(u){return Fe(function(a){return a=Me(a,Vn(Ct())),Gt(function(f){var g=this;return u(a,function(A){return Mn(A,g,f)})})})}function Hl(u,a){a=a===l?" ":jn(a);var f=a.length;if(f<2)return f?Df(a,u):a;var g=Df(a,dr(u/Nu(a)));return Ma(a)?Ua(au(g),0,u).join(""):g.slice(0,u)}function kd(u,a,f,g){var A=a&pt,_=fu(u);function F(){for(var M=-1,j=arguments.length,$=-1,P=g.length,tt=k(P+j),gt=this&&this!==Ye&&this instanceof F?_:u;++$<P;)tt[$]=g[$];for(;j--;)tt[$++]=arguments[++M];return Mn(gt,A?f:this,tt)}return F}function Ha(u){return function(a,f,g){return g&&typeof g!="number"&&xn(a,f,g)&&(f=g=l),a=ku(a),f===l?(f=a,a=0):f=ku(f),g=g===l?a<f?1:-1:ku(g),Bd(a,f,g,u)}}function Ti(u){return function(a,f){return typeof a=="string"&&typeof f=="string"||(a=vu(a),f=vu(f)),u(a,f)}}function Cf(u,a,f,g,A,_,F,M,j,$){var P=a&at,tt=P?F:l,gt=P?l:F,yt=P?_:l,Rt=P?l:_;a|=P?X:ot,a&=~(P?ot:X),a&Dt||(a&=-4);var Qt=[u,a,A,yt,tt,Rt,gt,M,j,$],Nt=f.apply(l,Qt);return Sc(u)&&Mc(Nt,Qt),Nt.placeholder=g,Oc(Nt,u,a)}function Ac(u){var a=Ve[u];return function(f,g){if(f=vu(f),g=g==null?0:Oe(zt(g),292),g&&vl(f)){var A=(ce(f)+"e").split("e"),_=a(A[0]+"e"+(+A[1]+g));return A=(ce(_)+"e").split("e"),+(A[0]+"e"+(+A[1]-g))}return a(f)}}var Vd=Jt&&1/Qs(new Jt([,-0]))[1]==V?function(u){return new Jt(u)}:At;function Gl(u){return function(a){var f=rn(a);return f==St?Vs(a):f==Sn?av(a):nv(a,u(a))}}function Uu(u,a,f,g,A,_,F,M){var j=a&Tt;if(!j&&typeof u!="function")throw new Zn(m);var $=g?g.length:0;if($||(a&=-97,g=A=l),F=F===l?F:Se(zt(F),0),M=M===l?M:zt(M),$-=A?A.length:0,a&ot){var P=g,tt=A;g=A=l}var gt=j?l:_c(u),yt=[u,a,f,g,A,P,tt,_,F,M];if(gt&&Ql(yt,gt),u=yt[0],a=yt[1],f=yt[2],g=yt[3],A=yt[4],M=yt[9]=yt[9]===l?j?0:u.length:Se(yt[9]-$,0),!M&&a&(at|ct)&&(a&=-25),!a||a==pt)var Rt=qd(u,a,f);else a==at||a==ct?Rt=Yd(u,a,M):(a==X||a==(pt|X))&&!A.length?Rt=kd(u,a,f,g):Rt=Ue.apply(l,yt);var Qt=gt?wl:Mc;return Oc(Qt(Rt,yt),u,a)}function mc(u,a,f,g){return u===l||Gn(u,or[f])&&!se.call(g,f)?a:u}function Sf(u,a,f,g,A,_){return Re(u)&&Re(a)&&(_.set(a,u),Fl(u,a,l,Sf,_),_.delete(a)),u}function Qd(u){return gu(u)?l:u}function Zd(u,a,f,g,A,_){var F=f&it,M=u.length,j=a.length;if(M!=j&&!(F&&j>M))return!1;var $=_.get(u),P=_.get(a);if($&&P)return $==a&&P==u;var tt=-1,gt=!0,yt=f&st?new ea:l;for(_.set(u,a),_.set(a,u);++tt<M;){var Rt=u[tt],Qt=a[tt];if(g)var Nt=F?g(Qt,Rt,tt,a,u,_):g(Rt,Qt,tt,u,a,_);if(Nt!==l){if(Nt)continue;gt=!1;break}if(yt){if(!qo(a,function(Pt,ie){if(!rr(yt,ie)&&(Rt===Pt||A(Rt,Pt,f,g,_)))return yt.push(ie)})){gt=!1;break}}else if(!(Rt===Qt||A(Rt,Qt,f,g,_))){gt=!1;break}}return _.delete(u),_.delete(a),gt}function Kd(u,a,f,g,A,_,F){switch(f){case Yn:if(u.byteLength!=a.byteLength||u.byteOffset!=a.byteOffset)return!1;u=u.buffer,a=a.buffer;case cn:return!(u.byteLength!=a.byteLength||!_(new hr(u),new hr(a)));case Zt:case Le:case en:return Gn(+u,+a);case tn:return u.name==a.name&&u.message==a.message;case _a:case Wr:return u==a+"";case St:var M=Vs;case Sn:var j=g&it;if(M||(M=Qs),u.size!=a.size&&!j)return!1;var $=F.get(u);if($)return $==a;g|=st,F.set(u,a);var P=Zd(M(u),M(a),g,A,_,F);return F.delete(u),P;case Pr:if(mi)return mi.call(u)==mi.call(a)}return!1}function an(u,a,f,g,A,_){var F=f&it,M=yc(u),j=M.length,$=yc(a),P=$.length;if(j!=P&&!F)return!1;for(var tt=j;tt--;){var gt=M[tt];if(!(F?gt in a:se.call(a,gt)))return!1}var yt=_.get(u),Rt=_.get(a);if(yt&&Rt)return yt==a&&Rt==u;var Qt=!0;_.set(u,a),_.set(a,u);for(var Nt=F;++tt<j;){gt=M[tt];var Pt=u[gt],ie=a[gt];if(g)var Su=F?g(ie,Pt,gt,a,u,_):g(Pt,ie,gt,u,a,_);if(!(Su===l?Pt===ie||A(Pt,ie,f,g,_):Su)){Qt=!1;break}Nt||(Nt=gt=="constructor")}if(Qt&&!Nt){var tu=u.constructor,Fu=a.constructor;tu!=Fu&&"constructor"in u&&"constructor"in a&&!(typeof tu=="function"&&tu instanceof tu&&typeof Fu=="function"&&Fu instanceof Fu)&&(Qt=!1)}return _.delete(u),_.delete(a),Qt}function Fe(u){return Zl(Tf(u,l,Un),u+"")}function yc(u){return Sd(u,$e,Yl)}function bc(u){return Sd(u,ln,Ec)}var _c=gr?function(u){return gr.get(u)}:At;function ql(u){for(var a=u.name+"",f=su[a],g=se.call(su,a)?f.length:0;g--;){var A=f[g],_=A.func;if(_==null||_==u)return A.name}return a}function Bi(u){var a=se.call(y,"placeholder")?y:u;return a.placeholder}function Ct(){var u=y.iteratee||Mt;return u=u===Mt?of:u,arguments.length?u(arguments[0],arguments[1]):u}function xr(u,a){var f=u.__data__;return sa(a)?f[typeof a=="string"?"string":"hash"]:f.map}function xc(u){for(var a=$e(u),f=a.length;f--;){var g=a[f],A=u[g];a[f]=[g,A,$d(A)]}return a}function Ga(u,a){var f=Vo(u,a);return Lu(f)?f:l}function Xd(u){var a=se.call(u,yn),f=u[yn];try{u[yn]=l;var g=!0}catch{}var A=mn.call(u);return g&&(a?u[yn]=f:delete u[yn]),A}var Yl=Ba?function(u){return u==null?[]:(u=ue(u),Ru(Ba(u),function(a){return vi.call(u,a)}))}:Jv,Ec=Ba?function(u){for(var a=[];u;)Wu(a,Yl(u)),u=hl(u);return a}:Jv,rn=Wt;(Dl&&rn(new Dl(new ArrayBuffer(1)))!=Yn||Ze&&rn(new Ze)!=St||Te&&rn(Te.resolve())!=si||Jt&&rn(new Jt)!=Sn||mu&&rn(new mu)!=tl)&&(rn=function(u){var a=Wt(u),f=a==pe?u.constructor:l,g=f?ca(f):"";if(g)switch(g){case gd:return Yn;case vd:return St;case pl:return si;case Al:return Sn;case Dd:return tl}return a});function Id(u,a,f){for(var g=-1,A=f.length;++g<A;){var _=f[g],F=_.size;switch(_.type){case"drop":u+=F;break;case"dropRight":a-=F;break;case"take":a=Oe(a,u+F);break;case"takeRight":u=Se(u,a-F);break}}return{start:u,end:a}}function Ff(u){var a=u.match(Zg);return a?a[1].split(Hh):[]}function kl(u,a,f){a=ia(a,u);for(var g=-1,A=a.length,_=!1;++g<A;){var F=fe(a[g]);if(!(_=u!=null&&f(u,F)))break;u=u[F]}return _||++g!=A?_:(A=u==null?0:u.length,!!A&&ji(A)&&xu(F,A)&&(jt(u)||da(u)))}function wf(u){var a=u.length,f=new u.constructor(a);return a&&typeof u[0]=="string"&&se.call(u,"index")&&(f.index=u.index,f.input=u.input),f}function Mf(u){return typeof u.constructor=="function"&&!xe(u)?Kn(hl(u)):{}}function Of(u,a,f){var g=u.constructor;switch(a){case cn:return Fi(u);case Zt:case Le:return new g(+u);case Yn:return bf(u,f);case An:case vo:case Do:case po:case ki:case Vi:case Ju:case Qi:case ci:return _f(u,f);case St:return new g;case en:case Wr:return new g(u);case _a:return Dc(u);case Sn:return new g;case Pr:return Ud(u)}}function Jd(u,a){var f=a.length;if(!f)return u;var g=f-1;return a[g]=(f>1?"& ":"")+a[g],a=a.join(f>2?", ":" "),u.replace(Qg,`{
/* [wrapped with `+a+`] */
`)}function la(u){return jt(u)||da(u)||!!(On&&u&&u[On])}function xu(u,a){var f=typeof u;return a=a??Q,!!a&&(f=="number"||f!="symbol"&&oi.test(u))&&u>-1&&u%1==0&&u<a}function xn(u,a,f){if(!Re(f))return!1;var g=typeof a;return(g=="number"?Ie(f)&&xu(a,f.length):g=="string"&&a in f)?Gn(f[a],u):!1}function Cc(u,a){if(jt(u))return!1;var f=typeof u;return f=="number"||f=="symbol"||f=="boolean"||u==null||En(u)?!0:Vg.test(u)||!Uh.test(u)||a!=null&&u in ue(a)}function sa(u){var a=typeof u;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?u!=="__proto__":u===null}function Sc(u){var a=ql(u),f=y[a];if(typeof f!="function"||!(a in kt.prototype))return!1;if(u===f)return!0;var g=_c(f);return!!g&&u===g[0]}function Fc(u){return!!Ko&&Ko in u}var Vl=ol?Eu:$v;function xe(u){var a=u&&u.constructor,f=typeof a=="function"&&a.prototype||or;return u===f}function $d(u){return u===u&&!Re(u)}function Wd(u,a){return function(f){return f==null?!1:f[u]===a&&(a!==l||u in ue(f))}}function Pd(u){var a=ns(u,function(g){return f.size===C&&f.clear(),g}),f=a.cache;return a}function Ql(u,a){var f=u[1],g=a[1],A=f|g,_=A<(pt|Tt|wt),F=g==wt&&f==at||g==wt&&f==It&&u[7].length<=a[8]||g==(wt|It)&&a[7].length<=a[8]&&f==at;if(!(_||F))return u;g&pt&&(u[2]=a[2],A|=f&pt?0:Dt);var M=a[3];if(M){var j=u[3];u[3]=j?xf(j,M,a[4]):M,u[4]=j?Oa(u[3],O):a[4]}return M=a[5],M&&(j=u[5],u[5]=j?Gd(j,M,a[6]):M,u[6]=j?Oa(u[5],O):a[6]),M=a[7],M&&(u[7]=M),g&wt&&(u[8]=u[8]==null?a[8]:Oe(u[8],a[8])),u[9]==null&&(u[9]=a[9]),u[0]=a[0],u[1]=A,u}function qa(u){var a=[];if(u!=null)for(var f in ue(u))a.push(f);return a}function t0(u){return mn.call(u)}function Tf(u,a,f){return a=Se(a===l?u.length-1:a,0),function(){for(var g=arguments,A=-1,_=Se(g.length-a,0),F=k(_);++A<_;)F[A]=g[a+A];A=-1;for(var M=k(a+1);++A<a;)M[A]=g[A];return M[a]=f(F),Mn(u,this,M)}}function Er(u,a){return a.length<2?u:ou(u,Xn(a,0,-1))}function Hu(u,a){for(var f=u.length,g=Oe(a.length,f),A=Ke(u);g--;){var _=a[g];u[g]=xu(_,f)?A[_]:l}return u}function wc(u,a){if(!(a==="constructor"&&typeof u[a]=="function")&&a!="__proto__")return u[a]}var Mc=Kl(wl),Cr=Io||function(u,a){return Ye.setTimeout(u,a)},Zl=Kl(Ml);function Oc(u,a,f){var g=a+"";return Zl(u,Jd(g,e0(Ff(g),f)))}function Kl(u){var a=0,f=0;return function(){var g=ta(),A=dn-(g-f);if(f=g,A>0){if(++a>=oe)return arguments[0]}else a=0;return u.apply(l,arguments)}}function Xl(u,a){var f=-1,g=u.length,A=g-1;for(a=a===l?g:a;++f<a;){var _=fc(f,A),F=u[_];u[_]=u[f],u[f]=F}return u.length=a,u}var Gu=Pd(function(u){var a=[];return u.charCodeAt(0)===46&&a.push(""),u.replace(xa,function(f,g,A,_){a.push(A?_.replace(Ki,"$1"):g||f)}),a});function fe(u){if(typeof u=="string"||En(u))return u;var a=u+"";return a=="0"&&1/u==-V?"-0":a}function ca(u){if(u!=null){try{return fl.call(u)}catch{}try{return u+""}catch{}}return""}function e0(u,a){return uu(vt,function(f){var g="_."+f[0];a&f[1]&&!zs(u,g)&&u.push(g)}),u.sort()}function Xe(u){if(u instanceof kt)return u.clone();var a=new Bn(u.__wrapped__,u.__chain__);return a.__actions__=Ke(u.__actions__),a.__index__=u.__index__,a.__values__=u.__values__,a}function gv(u,a,f){(f?xn(u,a,f):a===l)?a=1:a=Se(zt(a),0);var g=u==null?0:u.length;if(!g||a<1)return[];for(var A=0,_=0,F=k(dr(g/a));A<g;)F[_++]=Xn(u,A,A+=a);return F}function n0(u){for(var a=-1,f=u==null?0:u.length,g=0,A=[];++a<f;){var _=u[a];_&&(A[g++]=_)}return A}function u0(){var u=arguments.length;if(!u)return[];for(var a=k(u-1),f=arguments[0],g=u;g--;)a[g-1]=arguments[g];return Wu(jt(f)?Ke(f):[f],$t(a,1))}var Be=Gt(function(u,a){return Ge(u)?La(u,$t(a,1,Ge,!0)):[]}),zn=Gt(function(u,a){var f=Dn(a);return Ge(f)&&(f=l),Ge(u)?La(u,$t(a,1,Ge,!0),Ct(f,2)):[]}),oa=Gt(function(u,a){var f=Dn(a);return Ge(f)&&(f=l),Ge(u)?La(u,$t(a,1,Ge,!0),l,f):[]});function a0(u,a,f){var g=u==null?0:u.length;return g?(a=f||a===l?1:zt(a),Xn(u,a<0?0:a,g)):[]}function i0(u,a,f){var g=u==null?0:u.length;return g?(a=f||a===l?1:zt(a),a=g-a,Xn(u,0,a<0?0:a)):[]}function vv(u,a){return u&&u.length?Bl(u,Ct(a,3),!0,!0):[]}function Bf(u,a){return u&&u.length?Bl(u,Ct(a,3),!0):[]}function Jn(u,a,f,g){var A=u==null?0:u.length;return A?(f&&typeof f!="number"&&xn(u,a,f)&&(f=0,g=A),qt(u,a,f,g)):[]}function hu(u,a,f){var g=u==null?0:u.length;if(!g)return-1;var A=f==null?0:zt(f);return A<0&&(A=Se(g+A,0)),Us(u,Ct(a,3),A)}function Rf(u,a,f){var g=u==null?0:u.length;if(!g)return-1;var A=g-1;return f!==l&&(A=zt(f),A=f<0?Se(g+A,0):Oe(A,g-1)),Us(u,Ct(a,3),A,!0)}function Un(u){var a=u==null?0:u.length;return a?$t(u,1):[]}function r0(u){var a=u==null?0:u.length;return a?$t(u,V):[]}function Ya(u,a){var f=u==null?0:u.length;return f?(a=a===l?1:zt(a),$t(u,a)):[]}function Ri(u){for(var a=-1,f=u==null?0:u.length,g={};++a<f;){var A=u[a];g[A[0]]=A[1]}return g}function fa(u){return u&&u.length?u[0]:l}function Nf(u,a,f){var g=u==null?0:u.length;if(!g)return-1;var A=f==null?0:zt(f);return A<0&&(A=Se(g+A,0)),ar(u,a,A)}function jf(u){var a=u==null?0:u.length;return a?Xn(u,0,-1):[]}var qu=Gt(function(u){var a=Me(u,vc);return a.length&&a[0]===u[0]?rf(a):[]}),l0=Gt(function(u){var a=Dn(u),f=Me(u,vc);return a===Dn(f)?a=l:f.pop(),f.length&&f[0]===u[0]?rf(f,Ct(a,2)):[]}),Sr=Gt(function(u){var a=Dn(u),f=Me(u,vc);return a=typeof a=="function"?a:l,a&&f.pop(),f.length&&f[0]===u[0]?rf(f,l,a):[]});function Il(u,a){return u==null?"":ru.call(u,a)}function Dn(u){var a=u==null?0:u.length;return a?u[a-1]:l}function Fr(u,a,f){var g=u==null?0:u.length;if(!g)return-1;var A=g;return f!==l&&(A=zt(f),A=A<0?Se(g+A,0):Oe(A,g-1)),a===a?Qn(u,a,A):Us(u,ir,A,!0)}function s0(u,a){return u&&u.length?df(u,zt(a)):l}var c0=Gt(wr);function wr(u,a){return u&&u.length&&a&&a.length?oc(u,a):u}function o0(u,a,f){return u&&u.length&&a&&a.length?oc(u,a,Ct(f,2)):u}function Tc(u,a,f){return u&&u.length&&a&&a.length?oc(u,a,l,f):u}var f0=Fe(function(u,a){var f=u==null?0:u.length,g=xl(u,a);return vf(u,Me(a,function(A){return xu(A,f)?+A:A}).sort(jl)),g});function Dv(u,a){var f=[];if(!(u&&u.length))return f;var g=-1,A=[],_=u.length;for(a=Ct(a,3);++g<_;){var F=u[g];a(F,g,u)&&(f.push(F),A.push(g))}return vf(u,A),f}function Lf(u){return u==null?u:$o.call(u)}function ve(u,a,f){var g=u==null?0:u.length;return g?(f&&typeof f!="number"&&xn(u,a,f)?(a=0,f=g):(a=a==null?0:zt(a),f=f===l?g:zt(f)),Xn(u,a,f)):[]}function Ce(u,a){return Ol(u,a)}function Kt(u,a,f){return dc(u,a,Ct(f,2))}function te(u,a){var f=u==null?0:u.length;if(f){var g=Ol(u,a);if(g<f&&Gn(u[g],a))return g}return-1}function De(u,a){return Ol(u,a,!0)}function $n(u,a,f){return dc(u,a,Ct(f,2),!0)}function ka(u,a){var f=u==null?0:u.length;if(f){var g=Ol(u,a,!0)-1;if(Gn(u[g],a))return g}return-1}function Mr(u){return u&&u.length?pf(u):[]}function zf(u,a){return u&&u.length?pf(u,Ct(a,2)):[]}function ha(u){var a=u==null?0:u.length;return a?Xn(u,1,a):[]}function He(u,a,f){return u&&u.length?(a=f||a===l?1:zt(a),Xn(u,0,a<0?0:a)):[]}function Va(u,a,f){var g=u==null?0:u.length;return g?(a=f||a===l?1:zt(a),a=g-a,Xn(u,a<0?0:a,g)):[]}function Ni(u,a){return u&&u.length?Bl(u,Ct(a,3),!1,!0):[]}function Uf(u,a){return u&&u.length?Bl(u,Ct(a,3)):[]}var du=Gt(function(u){return aa($t(u,1,Ge,!0))}),Or=Gt(function(u){var a=Dn(u);return Ge(a)&&(a=l),aa($t(u,1,Ge,!0),Ct(a,2))}),Jl=Gt(function(u){var a=Dn(u);return a=typeof a=="function"?a:l,aa($t(u,1,Ge,!0),l,a)});function Hn(u){return u&&u.length?aa(u):[]}function Hf(u,a){return u&&u.length?aa(u,Ct(a,2)):[]}function Gf(u,a){return a=typeof a=="function"?a:l,u&&u.length?aa(u,l,a):[]}function Tr(u){if(!(u&&u.length))return[];var a=0;return u=Ru(u,function(f){if(Ge(f))return a=Se(f.length,a),!0}),wa(a,function(f){return Me(u,Hs(f))})}function $l(u,a){if(!(u&&u.length))return[];var f=Tr(u);return a==null?f:Me(f,function(g){return Mn(a,l,g)})}var Qa=Gt(function(u,a){return Ge(u)?La(u,a):[]}),on=Gt(function(u){return Rl(Ru(u,Ge))}),Za=Gt(function(u){var a=Dn(u);return Ge(a)&&(a=l),Rl(Ru(u,Ge),Ct(a,2))}),Br=Gt(function(u){var a=Dn(u);return a=typeof a=="function"?a:l,Rl(Ru(u,Ge),l,a)}),Rr=Gt(Tr);function qf(u,a){return mf(u||[],a||[],_i)}function Yf(u,a){return mf(u||[],a||[],br)}var h0=Gt(function(u){var a=u.length,f=a>1?u[a-1]:l;return f=typeof f=="function"?(u.pop(),f):l,$l(u,f)});function Nr(u){var a=y(u);return a.__chain__=!0,a}function kf(u,a){return a(u),u}function pn(u,a){return a(u)}var d0=Fe(function(u){var a=u.length,f=a?u[0]:0,g=this.__wrapped__,A=function(_){return xl(_,u)};return a>1||this.__actions__.length||!(g instanceof kt)||!xu(f)?this.thru(A):(g=g.slice(f,+f+(a?1:0)),g.__actions__.push({func:pn,args:[A],thisArg:l}),new Bn(g,this.__chain__).thru(function(_){return a&&!_.length&&_.push(l),_}))});function Wn(){return Nr(this)}function g0(){return new Bn(this.value(),this.__chain__)}function v0(){this.__values__===l&&(this.__values__=Pn(this.value()));var u=this.__index__>=this.__values__.length,a=u?l:this.__values__[this.__index__++];return{done:u,value:a}}function pv(){return this}function Ka(u){for(var a,f=this;f instanceof cu;){var g=Xe(f);g.__index__=0,g.__values__=l,a?A.__wrapped__=g:a=g;var A=g;f=f.__wrapped__}return A.__wrapped__=u,a}function Bc(){var u=this.__wrapped__;if(u instanceof kt){var a=u;return this.__actions__.length&&(a=new kt(this)),a=a.reverse(),a.__actions__.push({func:pn,args:[Lf],thisArg:l}),new Bn(a,this.__chain__)}return this.thru(Lf)}function Vf(){return jd(this.__wrapped__,this.__actions__)}var jr=wi(function(u,a,f){se.call(u,f)?++u[f]:yu(u,f,1)});function D0(u,a,f){var g=jt(u)?ed:uf;return f&&xn(u,a,f)&&(a=l),g(u,Ct(a,3))}function p0(u,a){var f=jt(u)?Ru:ge;return f(u,Ct(a,3))}var A0=ra(hu),Qf=ra(Rf);function Zf(u,a){return $t(Wl(u,a),1)}function Av(u,a){return $t(Wl(u,a),V)}function mv(u,a,f){return f=f===l?1:zt(f),$t(Wl(u,a),f)}function m0(u,a){var f=jt(u)?uu:ua;return f(u,Ct(a,3))}function Kf(u,a){var f=jt(u)?$g:nc;return f(u,Ct(a,3))}var y0=wi(function(u,a,f){se.call(u,f)?u[f].push(a):yu(u,f,[a])});function Lr(u,a,f,g){u=Ie(u)?u:kr(u),f=f&&!g?zt(f):0;var A=u.length;return f<0&&(f=Se(A+f,0)),Vc(u)?f<=A&&u.indexOf(a,f)>-1:!!A&&ar(u,a,f)>-1}var Rc=Gt(function(u,a,f){var g=-1,A=typeof a=="function",_=Ie(u)?k(u.length):[];return ua(u,function(F){_[++g]=A?Mn(a,F,f):Ci(F,a,f)}),_}),b0=wi(function(u,a,f){yu(u,f,a)});function Wl(u,a){var f=jt(u)?Me:ff;return f(u,Ct(a,3))}function _0(u,a,f,g){return u==null?[]:(jt(a)||(a=a==null?[]:[a]),f=g?l:f,jt(f)||(f=f==null?[]:[f]),gf(u,a,f))}var x0=wi(function(u,a,f){u[f?0:1].push(a)},function(){return[[],[]]});function E0(u,a,f){var g=jt(u)?Go:ko,A=arguments.length<3;return g(u,Ct(a,4),f,A,ua)}function C0(u,a,f){var g=jt(u)?Wg:ko,A=arguments.length<3;return g(u,Ct(a,4),f,A,nc)}function Nc(u,a){var f=jt(u)?Ru:ge;return f(u,us(Ct(a,3)))}function S0(u){var a=jt(u)?Dr:yr;return a(u)}function F0(u,a,f){(f?xn(u,a,f):a===l)?a=1:a=zt(a);var g=jt(u)?xd:hc;return g(u,a)}function Ee(u){var a=jt(u)?Ed:Rd;return a(u)}function Xf(u){if(u==null)return 0;if(Ie(u))return Vc(u)?Nu(u):u.length;var a=rn(u);return a==St||a==Sn?u.size:rc(u).length}function yv(u,a,f){var g=jt(u)?qo:Nd;return f&&xn(u,a,f)&&(a=l),g(u,Ct(a,3))}var w0=Gt(function(u,a){if(u==null)return[];var f=a.length;return f>1&&xn(u,a[0],a[1])?a=[]:f>2&&xn(a[0],a[1],a[2])&&(a=[a[0]]),gf(u,$t(a,1),[])}),jc=pi||function(){return Ye.Date.now()};function bv(u,a){if(typeof a!="function")throw new Zn(m);return u=zt(u),function(){if(--u<1)return a.apply(this,arguments)}}function M0(u,a,f){return a=f?l:a,a=u&&a==null?u.length:a,Uu(u,wt,l,l,l,l,a)}function Pl(u,a){var f;if(typeof a!="function")throw new Zn(m);return u=zt(u),function(){return--u>0&&(f=a.apply(this,arguments)),u<=1&&(a=l),f}}var Xa=Gt(function(u,a,f){var g=pt;if(f.length){var A=Oa(f,Bi(Xa));g|=X}return Uu(u,g,a,f,A)}),Lc=Gt(function(u,a,f){var g=pt|Tt;if(f.length){var A=Oa(f,Bi(Lc));g|=X}return Uu(a,g,u,f,A)});function ts(u,a,f){a=f?l:a;var g=Uu(u,at,l,l,l,l,l,a);return g.placeholder=ts.placeholder,g}function zc(u,a,f){a=f?l:a;var g=Uu(u,ct,l,l,l,l,l,a);return g.placeholder=zc.placeholder,g}function Ia(u,a,f){var g,A,_,F,M,j,$=0,P=!1,tt=!1,gt=!0;if(typeof u!="function")throw new Zn(m);a=vu(a)||0,Re(f)&&(P=!!f.leading,tt="maxWait"in f,_=tt?Se(vu(f.maxWait)||0,a):_,gt="trailing"in f?!!f.trailing:gt);function yt(We){var va=g,Li=A;return g=A=l,$=We,F=u.apply(Li,va),F}function Rt(We){return $=We,M=Cr(Pt,a),P?yt(We):F}function Qt(We){var va=We-j,Li=We-$,QD=a-va;return tt?Oe(QD,_-Li):QD}function Nt(We){var va=We-j,Li=We-$;return j===l||va>=a||va<0||tt&&Li>=_}function Pt(){var We=jc();if(Nt(We))return ie(We);M=Cr(Pt,Qt(We))}function ie(We){return M=l,gt&&g?yt(We):(g=A=l,F)}function Su(){M!==l&&zd(M),$=0,g=j=A=M=l}function tu(){return M===l?F:ie(jc())}function Fu(){var We=jc(),va=Nt(We);if(g=arguments,A=this,j=We,va){if(M===l)return Rt(j);if(tt)return zd(M),M=Cr(Pt,a),yt(j)}return M===l&&(M=Cr(Pt,a)),F}return Fu.cancel=Su,Fu.flush=tu,Fu}var Yu=Gt(function(u,a){return xi(u,1,a)}),es=Gt(function(u,a,f){return xi(u,vu(a)||0,f)});function _v(u){return Uu(u,re)}function ns(u,a){if(typeof u!="function"||a!=null&&typeof a!="function")throw new Zn(m);var f=function(){var g=arguments,A=a?a.apply(this,g):g[0],_=f.cache;if(_.has(A))return _.get(A);var F=u.apply(this,g);return f.cache=_.set(A,F)||_,F};return f.cache=new(ns.Cache||Rn),f}ns.Cache=Rn;function us(u){if(typeof u!="function")throw new Zn(m);return function(){var a=arguments;switch(a.length){case 0:return!u.call(this);case 1:return!u.call(this,a[0]);case 2:return!u.call(this,a[0],a[1]);case 3:return!u.call(this,a[0],a[1],a[2])}return!u.apply(this,a)}}function O0(u){return Pl(2,u)}var T0=Ld(function(u,a){a=a.length==1&&jt(a[0])?Me(a[0],Vn(Ct())):Me($t(a,1),Vn(Ct()));var f=a.length;return Gt(function(g){for(var A=-1,_=Oe(g.length,f);++A<_;)g[A]=a[A].call(this,g[A]);return Mn(u,this,g)})}),If=Gt(function(u,a){var f=Oa(a,Bi(If));return Uu(u,X,l,a,f)}),Uc=Gt(function(u,a){var f=Oa(a,Bi(Uc));return Uu(u,ot,l,a,f)}),B0=Fe(function(u,a){return Uu(u,It,l,l,l,a)});function R0(u,a){if(typeof u!="function")throw new Zn(m);return a=a===l?a:zt(a),Gt(u,a)}function xv(u,a){if(typeof u!="function")throw new Zn(m);return a=a==null?0:Se(zt(a),0),Gt(function(f){var g=f[a],A=Ua(f,0,a);return g&&Wu(A,g),Mn(u,this,A)})}function Jf(u,a,f){var g=!0,A=!0;if(typeof u!="function")throw new Zn(m);return Re(f)&&(g="leading"in f?!!f.leading:g,A="trailing"in f?!!f.trailing:A),Ia(u,a,{leading:g,maxWait:a,trailing:A})}function $f(u){return M0(u,1)}function Ev(u,a){return If(Nl(a),u)}function Cv(){if(!arguments.length)return[];var u=arguments[0];return jt(u)?u:[u]}function as(u){return gn(u,et)}function Sv(u,a){return a=typeof a=="function"?a:l,gn(u,et,a)}function N0(u){return gn(u,H|et)}function Xt(u,a){return a=typeof a=="function"?a:l,gn(u,H|et,a)}function Wf(u,a){return a==null||nf(u,a,$e(a))}function Gn(u,a){return u===a||u!==u&&a!==a}var Pf=Ti(El),j0=Ti(function(u,a){return u>=a}),da=uc((function(){return arguments})())?uc:function(u){return je(u)&&se.call(u,"callee")&&!vi.call(u,"callee")},jt=k.isArray,Hc=Ls?Vn(Ls):Nn;function Ie(u){return u!=null&&ji(u.length)&&!Eu(u)}function Ge(u){return je(u)&&Ie(u)}function Fv(u){return u===!0||u===!1||je(u)&&Wt(u)==Zt}var Ja=Js||$v,L0=Jh?Vn(Jh):Qe;function z0(u){return je(u)&&u.nodeType===1&&!gu(u)}function Gc(u){if(u==null)return!0;if(Ie(u)&&(jt(u)||typeof u=="string"||typeof u.splice=="function"||Ja(u)||zr(u)||da(u)))return!u.length;var a=rn(u);if(a==St||a==Sn)return!u.size;if(xe(u))return!rc(u).length;for(var f in u)if(se.call(u,f))return!1;return!0}function me(u,a){return Si(u,a)}function th(u,a,f){f=typeof f=="function"?f:l;var g=f?f(u,a):l;return g===l?Si(u,a,l,f):!!g}function Je(u){if(!je(u))return!1;var a=Wt(u);return a==tn||a==ke||typeof u.message=="string"&&typeof u.name=="string"&&!gu(u)}function wv(u){return typeof u=="number"&&vl(u)}function Eu(u){if(!Re(u))return!1;var a=Wt(u);return a==Cn||a==Du||a==be||a==$r}function qc(u){return typeof u=="number"&&u==zt(u)}function ji(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=Q}function Re(u){var a=typeof u;return u!=null&&(a=="object"||a=="function")}function je(u){return u!=null&&typeof u=="object"}var Yc=$h?Vn($h):ac;function eh(u,a){return u===a||Sl(u,a,xc(a))}function Mv(u,a,f){return f=typeof f=="function"?f:l,Sl(u,a,xc(a),f)}function U0(u){return G0(u)&&u!=+u}function Ov(u){if(Vl(u))throw new Bt(v);return Lu(u)}function H0(u){return u===null}function Tv(u){return u==null}function G0(u){return typeof u=="number"||je(u)&&Wt(u)==en}function gu(u){if(!je(u)||Wt(u)!=pe)return!1;var a=hl(u);if(a===null)return!0;var f=se.call(a,"constructor")&&a.constructor;return typeof f=="function"&&f instanceof f&&fl.call(f)==iu}var kc=Wh?Vn(Wh):ic;function nh(u){return qc(u)&&u>=-Q&&u<=Q}var q0=Ph?Vn(Ph):sf;function Vc(u){return typeof u=="string"||!jt(u)&&je(u)&&Wt(u)==Wr}function En(u){return typeof u=="symbol"||je(u)&&Wt(u)==Pr}var zr=td?Vn(td):cf;function Cu(u){return u===l}function uh(u){return je(u)&&rn(u)==tl}function Y0(u){return je(u)&&Wt(u)==el}var k0=Ti(lc),is=Ti(function(u,a){return u<=a});function Pn(u){if(!u)return[];if(Ie(u))return Vc(u)?au(u):Ke(u);if(Di&&u[Di])return cd(u[Di]());var a=rn(u),f=a==St?Vs:a==Sn?Qs:kr;return f(u)}function ku(u){if(!u)return u===0?u:0;if(u=vu(u),u===V||u===-V){var a=u<0?-1:1;return a*ht}return u===u?u:0}function zt(u){var a=ku(u),f=a%1;return a===a?f?a-f:a:0}function Vu(u){return u?bu(zt(u),0,q):0}function vu(u){if(typeof u=="number")return u;if(En(u))return S;if(Re(u)){var a=typeof u.valueOf=="function"?u.valueOf():u;u=Re(a)?a+"":a}if(typeof u!="string")return u===0?u:+u;u=id(u);var f=un.test(u);return f||qh.test(u)?Ig(u.slice(2),f?2:8):Ji.test(u)?S:+u}function V0(u){return Ln(u,ln(u))}function Ur(u){return u?bu(zt(u),-Q,Q):u===0?u:0}function ce(u){return u==null?"":jn(u)}var Bv=Mi(function(u,a){if(xe(a)||Ie(a)){Ln(a,$e(a),u);return}for(var f in a)se.call(a,f)&&_i(u,f,a[f])}),Q0=Mi(function(u,a){Ln(a,ln(a),u)}),Qc=Mi(function(u,a,f,g){Ln(a,ln(a),u,g)}),Rv=Mi(function(u,a,f,g){Ln(a,$e(a),u,g)}),Nv=Fe(xl);function jv(u,a){var f=Kn(u);return a==null?f:na(f,a)}var Lv=Gt(function(u,a){u=ue(u);var f=-1,g=a.length,A=g>2?a[2]:l;for(A&&xn(a[0],a[1],A)&&(g=1);++f<g;)for(var _=a[f],F=ln(_),M=-1,j=F.length;++M<j;){var $=F[M],P=u[$];(P===l||Gn(P,or[$])&&!se.call(u,$))&&(u[$]=_[$])}return u}),Z0=Gt(function(u){return u.push(l,Sf),Mn(cs,l,u)});function Hr(u,a){return nd(u,Ct(a,3),vn)}function rs(u,a){return nd(u,Ct(a,3),mr)}function K0(u,a){return u==null?u:Ar(u,Ct(a,3),ln)}function zv(u,a){return u==null?u:Ei(u,Ct(a,3),ln)}function Gr(u,a){return u&&vn(u,Ct(a,3))}function ls(u,a){return u&&mr(u,Ct(a,3))}function X0(u){return u==null?[]:za(u,$e(u))}function Zc(u){return u==null?[]:za(u,ln(u))}function ss(u,a,f){var g=u==null?l:ou(u,a);return g===l?f:g}function ah(u,a){return u!=null&&kl(u,a,af)}function qr(u,a){return u!=null&&kl(u,a,Fd)}var I0=zl(function(u,a,f){a!=null&&typeof a.toString!="function"&&(a=mn.call(a)),u[a]=f},z(U)),J0=zl(function(u,a,f){a!=null&&typeof a.toString!="function"&&(a=mn.call(a)),se.call(u,a)?u[a].push(f):u[a]=[f]},Ct),Uv=Gt(Ci);function $e(u){return Ie(u)?ef(u):rc(u)}function ln(u){return Ie(u)?ef(u,!0):Md(u)}function Hv(u,a){var f={};return a=Ct(a,3),vn(u,function(g,A,_){yu(f,a(g,A,_),g)}),f}function Gv(u,a){var f={};return a=Ct(a,3),vn(u,function(g,A,_){yu(f,A,a(g,A,_))}),f}var qv=Mi(function(u,a,f){Fl(u,a,f)}),cs=Mi(function(u,a,f,g){Fl(u,a,f,g)}),Kc=Fe(function(u,a){var f={};if(u==null)return f;var g=!1;a=Me(a,function(_){return _=ia(_,u),g||(g=_.length>1),_}),Ln(u,bc(u),f),g&&(f=gn(f,H|Y|et,Qd));for(var A=a.length;A--;)Tl(f,a[A]);return f});function ih(u,a){return Yr(u,us(Ct(a)))}var Yv=Fe(function(u,a){return u==null?{}:Od(u,a)});function Yr(u,a){if(u==null)return{};var f=Me(bc(u),function(g){return[g]});return a=Ct(a),cc(u,f,function(g,A){return a(g,A[0])})}function kv(u,a,f){a=ia(a,u);var g=-1,A=a.length;for(A||(A=1,u=l);++g<A;){var _=u==null?l:u[fe(a[g])];_===l&&(g=A,_=f),u=Eu(_)?_.call(u):_}return u}function $0(u,a,f){return u==null?u:br(u,a,f)}function W0(u,a,f,g){return g=typeof g=="function"?g:l,u==null?u:br(u,a,f,g)}var rh=Gl($e),lh=Gl(ln);function sh(u,a,f){var g=jt(u),A=g||Ja(u)||zr(u);if(a=Ct(a,4),f==null){var _=u&&u.constructor;A?f=g?new _:[]:Re(u)?f=Eu(_)?Kn(hl(u)):{}:f={}}return(A?uu:vn)(u,function(F,M,j){return a(f,F,M,j)}),f}function P0(u,a){return u==null?!0:Tl(u,a)}function Xc(u,a,f){return u==null?u:Af(u,a,Nl(f))}function Vv(u,a,f,g){return g=typeof g=="function"?g:l,u==null?u:Af(u,a,Nl(f),g)}function kr(u){return u==null?[]:Ys(u,$e(u))}function ch(u){return u==null?[]:Ys(u,ln(u))}function oh(u,a,f){return f===l&&(f=a,a=l),f!==l&&(f=vu(f),f=f===f?f:0),a!==l&&(a=vu(a),a=a===a?a:0),bu(vu(u),a,f)}function Ic(u,a,f){return a=ku(a),f===l?(f=a,a=0):f=ku(f),u=vu(u),wd(u,a,f)}function fh(u,a,f){if(f&&typeof f!="boolean"&&xn(u,a,f)&&(a=f=l),f===l&&(typeof a=="boolean"?(f=a,a=l):typeof u=="boolean"&&(f=u,u=l)),u===l&&a===l?(u=0,a=1):(u=ku(u),a===l?(a=u,u=0):a=ku(a)),u>a){var g=u;u=a,a=g}if(f||u%1||a%1){var A=Jo();return Oe(u+A*(a-u+cl("1e-"+((A+"").length-1))),a)}return fc(u,a)}var tg=_n(function(u,a,f){return a=a.toLowerCase(),u+(f?Jc(a):a)});function Jc(u){return i(ce(u).toLowerCase())}function ga(u){return u=ce(u),u&&u.replace($i,ks).replace($u,"")}function $a(u,a,f){u=ce(u),a=jn(a);var g=u.length;f=f===l?g:bu(zt(f),0,g);var A=f;return f-=a.length,f>=0&&u.slice(f,A)==a}function Wa(u){return u=ce(u),u&&Lh.test(u)?u.replace(Zi,rd):u}function os(u){return u=ce(u),u&&Fn.test(u)?u.replace(nn,"\\$&"):u}var fs=_n(function(u,a,f){return u+(f?"-":"")+a.toLowerCase()}),Pa=_n(function(u,a,f){return u+(f?" ":"")+a.toLowerCase()}),Qv=In("toLowerCase");function eg(u,a,f){u=ce(u),a=zt(a);var g=a?Nu(u):0;if(!a||g>=a)return u;var A=(a-g)/2;return Hl(Pu(A),f)+u+Hl(dr(A),f)}function hs(u,a,f){u=ce(u),a=zt(a);var g=a?Nu(u):0;return a&&g<a?u+Hl(a-g,f):u}function Zv(u,a,f){u=ce(u),a=zt(a);var g=a?Nu(u):0;return a&&g<a?Hl(a-g,f)+u:u}function ng(u,a,f){return f||a==null?a=0:a&&(a=+a),Ai(ce(u).replace(Ea,""),a||0)}function $c(u,a,f){return(f?xn(u,a,f):a===l)?a=1:a=zt(a),Df(ce(u),a)}function ug(){var u=arguments,a=ce(u[0]);return u.length<3?a:a.replace(u[1],u[2])}var Kv=_n(function(u,a,f){return u+(f?"_":"")+a.toLowerCase()});function Wc(u,a,f){return f&&typeof f!="number"&&xn(u,a,f)&&(a=f=l),f=f===l?q:f>>>0,f?(u=ce(u),u&&(typeof a=="string"||a!=null&&!kc(a))&&(a=jn(a),!a&&Ma(u))?Ua(au(u),0,f):u.split(a,f)):[]}var Pc=_n(function(u,a,f){return u+(f?" ":"")+i(a)});function ag(u,a,f){return u=ce(u),f=f==null?0:bu(zt(f),0,u.length),a=jn(a),u.slice(f,f+a.length)==a}function ds(u,a,f){var g=y.templateSettings;f&&xn(u,a,f)&&(a=l),u=ce(u),a=Qc({},a,g,mc);var A=Qc({},a.imports,g.imports,mc),_=$e(A),F=Ys(A,_),M,j,$=0,P=a.interpolate||Cs,tt="__p += '",gt=Zs((a.escape||Cs).source+"|"+P.source+"|"+(P===Es?Xi:Cs).source+"|"+(a.evaluate||Cs).source+"|$","g"),yt="//# sourceURL="+(se.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kh+"]")+`
`;u.replace(gt,function(Nt,Pt,ie,Su,tu,Fu){return ie||(ie=Su),tt+=u.slice($,Fu).replace(Yh,ld),Pt&&(M=!0,tt+=`' +
__e(`+Pt+`) +
'`),tu&&(j=!0,tt+=`';
`+tu+`;
__p += '`),ie&&(tt+=`' +
((__t = (`+ie+`)) == null ? '' : __t) +
'`),$=Fu+Nt.length,Nt}),tt+=`';
`;var Rt=se.call(a,"variable")&&a.variable;if(!Rt)tt=`with (obj) {
`+tt+`
}
`;else if(yo.test(Rt))throw new Bt(E);tt=(j?tt.replace(Yg,""):tt).replace(Nh,"$1").replace(jh,"$1;"),tt="function("+(Rt||"obj")+`) {
`+(Rt?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(M?", __e = _.escape":"")+(j?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+tt+`return __p
}`;var Qt=h(function(){return ne(_,yt+"return "+tt).apply(l,F)});if(Qt.source=tt,Je(Qt))throw Qt;return Qt}function hh(u){return ce(u).toLowerCase()}function to(u){return ce(u).toUpperCase()}function ig(u,a,f){if(u=ce(u),u&&(f||a===l))return id(u);if(!u||!(a=jn(a)))return u;var g=au(u),A=au(a),_=lr(g,A),F=sr(g,A)+1;return Ua(g,_,F).join("")}function Xv(u,a,f){if(u=ce(u),u&&(f||a===l))return u.slice(0,Qo(u)+1);if(!u||!(a=jn(a)))return u;var g=au(u),A=sr(g,au(a))+1;return Ua(g,0,A).join("")}function eo(u,a,f){if(u=ce(u),u&&(f||a===l))return u.replace(Ea,"");if(!u||!(a=jn(a)))return u;var g=au(u),A=lr(g,au(a));return Ua(g,A).join("")}function t(u,a){var f=Ht,g=Ut;if(Re(a)){var A="separator"in a?a.separator:A;f="length"in a?zt(a.length):f,g="omission"in a?jn(a.omission):g}u=ce(u);var _=u.length;if(Ma(u)){var F=au(u);_=F.length}if(f>=_)return u;var M=f-Nu(g);if(M<1)return g;var j=F?Ua(F,0,M).join(""):u.slice(0,M);if(A===l)return j+g;if(F&&(M+=j.length-M),kc(A)){if(u.slice(M).search(A)){var $,P=j;for(A.global||(A=Zs(A.source,ce(Ii.exec(A))+"g")),A.lastIndex=0;$=A.exec(P);)var tt=$.index;j=j.slice(0,tt===l?M:tt)}}else if(u.indexOf(jn(A),M)!=M){var gt=j.lastIndexOf(A);gt>-1&&(j=j.slice(0,gt))}return j+g}function e(u){return u=ce(u),u&&kg.test(u)?u.replace(xs,fd):u}var n=_n(function(u,a,f){return u+(f?" ":"")+a.toUpperCase()}),i=In("toUpperCase");function o(u,a,f){return u=ce(u),a=f?l:a,a===l?sd(u)?rv(u):ev(u):u.match(a)||[]}var h=Gt(function(u,a){try{return Mn(u,l,a)}catch(f){return Je(f)?f:new Bt(f)}}),D=Fe(function(u,a){return uu(a,function(f){f=fe(f),yu(u,f,Xa(u[f],u))}),u});function b(u){var a=u==null?0:u.length,f=Ct();return u=a?Me(u,function(g){if(typeof g[1]!="function")throw new Zn(m);return[f(g[0]),g[1]]}):[],Gt(function(g){for(var A=-1;++A<a;){var _=u[A];if(Mn(_[0],this,g))return Mn(_[1],this,g)}})}function w(u){return Cd(gn(u,H))}function z(u){return function(){return u}}function I(u,a){return u==null||u!==u?a:u}var W=zu(),G=zu(!0);function U(u){return u}function Mt(u){return of(typeof u=="function"?u:gn(u,H))}function Ft(u){return hf(gn(u,H))}function ye(u,a){return sc(u,gn(a,H))}var N=Gt(function(u,a){return function(f){return Ci(f,u,a)}}),T=Gt(function(u,a){return function(f){return Ci(u,f,a)}});function L(u,a,f){var g=$e(a),A=za(a,g);f==null&&!(Re(a)&&(A.length||!g.length))&&(f=a,a=u,u=this,A=za(a,$e(a)));var _=!(Re(f)&&"chain"in f)||!!f.chain,F=Eu(u);return uu(A,function(M){var j=a[M];u[M]=j,F&&(u.prototype[M]=function(){var $=this.__chain__;if(_||$){var P=u(this.__wrapped__),tt=P.__actions__=Ke(this.__actions__);return tt.push({func:j,args:arguments,thisArg:u}),P.__chain__=$,P}return j.apply(u,Wu([this.value()],arguments))})}),u}function J(){return Ye._===this&&(Ye._=fr),this}function At(){}function Vt(u){return u=zt(u),Gt(function(a){return df(a,u)})}var _t=Ul(Me),Ot=Ul(ed),sn=Ul(qo);function ae(u){return Cc(u)?Hs(fe(u)):Td(u)}function ti(u){return function(a){return u==null?l:ou(u,a)}}var Iv=Ha(),fA=Ha(!0);function Jv(){return[]}function $v(){return!1}function hA(){return{}}function dA(){return""}function gA(){return!0}function vA(u,a){if(u=zt(u),u<1||u>Q)return[];var f=q,g=Oe(u,q);a=Ct(a),u-=q;for(var A=wa(g,a);++f<u;)a(f);return A}function DA(u){return jt(u)?Me(u,fe):En(u)?[u]:Ke(Gu(ce(u)))}function pA(u){var a=++pu;return ce(u)+a}var AA=_r(function(u,a){return u+a},0),mA=Ac("ceil"),yA=_r(function(u,a){return u/a},1),bA=Ac("floor");function _A(u){return u&&u.length?_u(u,U,El):l}function xA(u,a){return u&&u.length?_u(u,Ct(a,2),El):l}function EA(u){return ud(u,U)}function CA(u,a){return ud(u,Ct(a,2))}function SA(u){return u&&u.length?_u(u,U,lc):l}function FA(u,a){return u&&u.length?_u(u,Ct(a,2),lc):l}var wA=_r(function(u,a){return u*a},1),MA=Ac("round"),OA=_r(function(u,a){return u-a},0);function TA(u){return u&&u.length?qs(u,U):0}function BA(u,a){return u&&u.length?qs(u,Ct(a,2)):0}return y.after=bv,y.ary=M0,y.assign=Bv,y.assignIn=Q0,y.assignInWith=Qc,y.assignWith=Rv,y.at=Nv,y.before=Pl,y.bind=Xa,y.bindAll=D,y.bindKey=Lc,y.castArray=Cv,y.chain=Nr,y.chunk=gv,y.compact=n0,y.concat=u0,y.cond=b,y.conforms=w,y.constant=z,y.countBy=jr,y.create=jv,y.curry=ts,y.curryRight=zc,y.debounce=Ia,y.defaults=Lv,y.defaultsDeep=Z0,y.defer=Yu,y.delay=es,y.difference=Be,y.differenceBy=zn,y.differenceWith=oa,y.drop=a0,y.dropRight=i0,y.dropRightWhile=vv,y.dropWhile=Bf,y.fill=Jn,y.filter=p0,y.flatMap=Zf,y.flatMapDeep=Av,y.flatMapDepth=mv,y.flatten=Un,y.flattenDeep=r0,y.flattenDepth=Ya,y.flip=_v,y.flow=W,y.flowRight=G,y.fromPairs=Ri,y.functions=X0,y.functionsIn=Zc,y.groupBy=y0,y.initial=jf,y.intersection=qu,y.intersectionBy=l0,y.intersectionWith=Sr,y.invert=I0,y.invertBy=J0,y.invokeMap=Rc,y.iteratee=Mt,y.keyBy=b0,y.keys=$e,y.keysIn=ln,y.map=Wl,y.mapKeys=Hv,y.mapValues=Gv,y.matches=Ft,y.matchesProperty=ye,y.memoize=ns,y.merge=qv,y.mergeWith=cs,y.method=N,y.methodOf=T,y.mixin=L,y.negate=us,y.nthArg=Vt,y.omit=Kc,y.omitBy=ih,y.once=O0,y.orderBy=_0,y.over=_t,y.overArgs=T0,y.overEvery=Ot,y.overSome=sn,y.partial=If,y.partialRight=Uc,y.partition=x0,y.pick=Yv,y.pickBy=Yr,y.property=ae,y.propertyOf=ti,y.pull=c0,y.pullAll=wr,y.pullAllBy=o0,y.pullAllWith=Tc,y.pullAt=f0,y.range=Iv,y.rangeRight=fA,y.rearg=B0,y.reject=Nc,y.remove=Dv,y.rest=R0,y.reverse=Lf,y.sampleSize=F0,y.set=$0,y.setWith=W0,y.shuffle=Ee,y.slice=ve,y.sortBy=w0,y.sortedUniq=Mr,y.sortedUniqBy=zf,y.split=Wc,y.spread=xv,y.tail=ha,y.take=He,y.takeRight=Va,y.takeRightWhile=Ni,y.takeWhile=Uf,y.tap=kf,y.throttle=Jf,y.thru=pn,y.toArray=Pn,y.toPairs=rh,y.toPairsIn=lh,y.toPath=DA,y.toPlainObject=V0,y.transform=sh,y.unary=$f,y.union=du,y.unionBy=Or,y.unionWith=Jl,y.uniq=Hn,y.uniqBy=Hf,y.uniqWith=Gf,y.unset=P0,y.unzip=Tr,y.unzipWith=$l,y.update=Xc,y.updateWith=Vv,y.values=kr,y.valuesIn=ch,y.without=Qa,y.words=o,y.wrap=Ev,y.xor=on,y.xorBy=Za,y.xorWith=Br,y.zip=Rr,y.zipObject=qf,y.zipObjectDeep=Yf,y.zipWith=h0,y.entries=rh,y.entriesIn=lh,y.extend=Q0,y.extendWith=Qc,L(y,y),y.add=AA,y.attempt=h,y.camelCase=tg,y.capitalize=Jc,y.ceil=mA,y.clamp=oh,y.clone=as,y.cloneDeep=N0,y.cloneDeepWith=Xt,y.cloneWith=Sv,y.conformsTo=Wf,y.deburr=ga,y.defaultTo=I,y.divide=yA,y.endsWith=$a,y.eq=Gn,y.escape=Wa,y.escapeRegExp=os,y.every=D0,y.find=A0,y.findIndex=hu,y.findKey=Hr,y.findLast=Qf,y.findLastIndex=Rf,y.findLastKey=rs,y.floor=bA,y.forEach=m0,y.forEachRight=Kf,y.forIn=K0,y.forInRight=zv,y.forOwn=Gr,y.forOwnRight=ls,y.get=ss,y.gt=Pf,y.gte=j0,y.has=ah,y.hasIn=qr,y.head=fa,y.identity=U,y.includes=Lr,y.indexOf=Nf,y.inRange=Ic,y.invoke=Uv,y.isArguments=da,y.isArray=jt,y.isArrayBuffer=Hc,y.isArrayLike=Ie,y.isArrayLikeObject=Ge,y.isBoolean=Fv,y.isBuffer=Ja,y.isDate=L0,y.isElement=z0,y.isEmpty=Gc,y.isEqual=me,y.isEqualWith=th,y.isError=Je,y.isFinite=wv,y.isFunction=Eu,y.isInteger=qc,y.isLength=ji,y.isMap=Yc,y.isMatch=eh,y.isMatchWith=Mv,y.isNaN=U0,y.isNative=Ov,y.isNil=Tv,y.isNull=H0,y.isNumber=G0,y.isObject=Re,y.isObjectLike=je,y.isPlainObject=gu,y.isRegExp=kc,y.isSafeInteger=nh,y.isSet=q0,y.isString=Vc,y.isSymbol=En,y.isTypedArray=zr,y.isUndefined=Cu,y.isWeakMap=uh,y.isWeakSet=Y0,y.join=Il,y.kebabCase=fs,y.last=Dn,y.lastIndexOf=Fr,y.lowerCase=Pa,y.lowerFirst=Qv,y.lt=k0,y.lte=is,y.max=_A,y.maxBy=xA,y.mean=EA,y.meanBy=CA,y.min=SA,y.minBy=FA,y.stubArray=Jv,y.stubFalse=$v,y.stubObject=hA,y.stubString=dA,y.stubTrue=gA,y.multiply=wA,y.nth=s0,y.noConflict=J,y.noop=At,y.now=jc,y.pad=eg,y.padEnd=hs,y.padStart=Zv,y.parseInt=ng,y.random=fh,y.reduce=E0,y.reduceRight=C0,y.repeat=$c,y.replace=ug,y.result=kv,y.round=MA,y.runInContext=R,y.sample=S0,y.size=Xf,y.snakeCase=Kv,y.some=yv,y.sortedIndex=Ce,y.sortedIndexBy=Kt,y.sortedIndexOf=te,y.sortedLastIndex=De,y.sortedLastIndexBy=$n,y.sortedLastIndexOf=ka,y.startCase=Pc,y.startsWith=ag,y.subtract=OA,y.sum=TA,y.sumBy=BA,y.template=ds,y.times=vA,y.toFinite=ku,y.toInteger=zt,y.toLength=Vu,y.toLower=hh,y.toNumber=vu,y.toSafeInteger=Ur,y.toString=ce,y.toUpper=to,y.trim=ig,y.trimEnd=Xv,y.trimStart=eo,y.truncate=t,y.unescape=e,y.uniqueId=pA,y.upperCase=n,y.upperFirst=i,y.each=m0,y.eachRight=Kf,y.first=fa,L(y,(function(){var u={};return vn(y,function(a,f){se.call(y.prototype,f)||(u[f]=a)}),u})(),{chain:!1}),y.VERSION=c,uu(["bind","bindKey","curry","curryRight","partial","partialRight"],function(u){y[u].placeholder=y}),uu(["drop","take"],function(u,a){kt.prototype[u]=function(f){f=f===l?1:Se(zt(f),0);var g=this.__filtered__&&!a?new kt(this):this.clone();return g.__filtered__?g.__takeCount__=Oe(f,g.__takeCount__):g.__views__.push({size:Oe(f,q),type:u+(g.__dir__<0?"Right":"")}),g},kt.prototype[u+"Right"]=function(f){return this.reverse()[u](f).reverse()}}),uu(["filter","map","takeWhile"],function(u,a){var f=a+1,g=f==bt||f==B;kt.prototype[u]=function(A){var _=this.clone();return _.__iteratees__.push({iteratee:Ct(A,3),type:f}),_.__filtered__=_.__filtered__||g,_}}),uu(["head","last"],function(u,a){var f="take"+(a?"Right":"");kt.prototype[u]=function(){return this[f](1).value()[0]}}),uu(["initial","tail"],function(u,a){var f="drop"+(a?"":"Right");kt.prototype[u]=function(){return this.__filtered__?new kt(this):this[f](1)}}),kt.prototype.compact=function(){return this.filter(U)},kt.prototype.find=function(u){return this.filter(u).head()},kt.prototype.findLast=function(u){return this.reverse().find(u)},kt.prototype.invokeMap=Gt(function(u,a){return typeof u=="function"?new kt(this):this.map(function(f){return Ci(f,u,a)})}),kt.prototype.reject=function(u){return this.filter(us(Ct(u)))},kt.prototype.slice=function(u,a){u=zt(u);var f=this;return f.__filtered__&&(u>0||a<0)?new kt(f):(u<0?f=f.takeRight(-u):u&&(f=f.drop(u)),a!==l&&(a=zt(a),f=a<0?f.dropRight(-a):f.take(a-u)),f)},kt.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},kt.prototype.toArray=function(){return this.take(q)},vn(kt.prototype,function(u,a){var f=/^(?:filter|find|map|reject)|While$/.test(a),g=/^(?:head|last)$/.test(a),A=y[g?"take"+(a=="last"?"Right":""):a],_=g||/^find/.test(a);A&&(y.prototype[a]=function(){var F=this.__wrapped__,M=g?[1]:arguments,j=F instanceof kt,$=M[0],P=j||jt(F),tt=function(Pt){var ie=A.apply(y,Wu([Pt],M));return g&&gt?ie[0]:ie};P&&f&&typeof $=="function"&&$.length!=1&&(j=P=!1);var gt=this.__chain__,yt=!!this.__actions__.length,Rt=_&&!gt,Qt=j&&!yt;if(!_&&P){F=Qt?F:new kt(this);var Nt=u.apply(F,M);return Nt.__actions__.push({func:pn,args:[tt],thisArg:l}),new Bn(Nt,gt)}return Rt&&Qt?u.apply(this,M):(Nt=this.thru(tt),Rt?g?Nt.value()[0]:Nt.value():Nt)})}),uu(["pop","push","shift","sort","splice","unshift"],function(u){var a=Ks[u],f=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",g=/^(?:pop|shift)$/.test(u);y.prototype[u]=function(){var A=arguments;if(g&&!this.__chain__){var _=this.value();return a.apply(jt(_)?_:[],A)}return this[f](function(F){return a.apply(jt(F)?F:[],A)})}}),vn(kt.prototype,function(u,a){var f=y[a];if(f){var g=f.name+"";se.call(su,g)||(su[g]=[]),su[g].push({name:a,func:f})}}),su[Ue(l,Tt).name]=[{name:"wrapper",func:l}],kt.prototype.clone=ml,kt.prototype.reverse=$s,kt.prototype.value=yi,y.prototype.at=d0,y.prototype.chain=Wn,y.prototype.commit=g0,y.prototype.next=v0,y.prototype.plant=Ka,y.prototype.reverse=Bc,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=Vf,y.prototype.first=y.prototype.head,Di&&(y.prototype[Di]=pv),y}),Ta=cr();Fa?((Fa.exports=Ta)._=Ta,ur._=Ta):Ye._=Ta}).call(YA)})(vh,vh.exports)),vh.exports}var hD=kA();const VA=FD(hD);function le(r){for(var s=arguments.length,l=new Array(s>1?s-1:0),c=1;c<s;c++)l[c-1]=arguments[c];throw new Error(typeof r=="number"?"[MobX] minified error nr: "+r+(l.length?" "+l.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+r)}var QA={};function Bg(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:QA}var Kp=Object.assign,pg=Object.getOwnPropertyDescriptor,ai=Object.defineProperty,xh=Object.prototype,dD=[];Object.freeze(dD);var Xp={};Object.freeze(Xp);var ZA=typeof Proxy<"u",KA=Object.toString();function Ip(){ZA||le("Proxy not available")}function Jp(r){var s=!1;return function(){if(!s)return s=!0,r.apply(this,arguments)}}var ao=function(){};function ma(r){return typeof r=="function"}function vs(r){var s=typeof r;switch(s){case"string":case"symbol":case"number":return!0}return!1}function Rg(r){return r!==null&&typeof r=="object"}function qi(r){if(!Rg(r))return!1;var s=Object.getPrototypeOf(r);if(s==null)return!0;var l=Object.hasOwnProperty.call(s,"constructor")&&s.constructor;return typeof l=="function"&&l.toString()===KA}function $p(r){var s=r?.constructor;return s?s.name==="GeneratorFunction"||s.displayName==="GeneratorFunction":!1}function Eh(r,s,l){ai(r,s,{enumerable:!1,writable:!0,configurable:!0,value:l})}function Wp(r,s,l){ai(r,s,{enumerable:!1,writable:!1,configurable:!0,value:l})}function Kr(r,s){var l="isMobX"+r;return s.prototype[l]=!0,function(c){return Rg(c)&&c[l]===!0}}function ho(r){return r!=null&&Object.prototype.toString.call(r)==="[object Map]"}function XA(r){var s=Object.getPrototypeOf(r),l=Object.getPrototypeOf(s),c=Object.getPrototypeOf(l);return c===null}function zi(r){return r!=null&&Object.prototype.toString.call(r)==="[object Set]"}var Pp=typeof Object.getOwnPropertySymbols<"u";function IA(r){var s=Object.keys(r);if(!Pp)return s;var l=Object.getOwnPropertySymbols(r);return l.length?[].concat(s,l.filter(function(c){return xh.propertyIsEnumerable.call(r,c)})):s}var co=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Pp?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames;function t1(r){return r===null?null:typeof r=="object"?""+r:r}function Hi(r,s){return xh.hasOwnProperty.call(r,s)}var JA=Object.getOwnPropertyDescriptors||function(s){var l={};return co(s).forEach(function(c){l[c]=pg(s,c)}),l};function wu(r,s){return!!(r&s)}function Mu(r,s,l){return l?r|=s:r&=~s,r}function up(r,s){(s==null||s>r.length)&&(s=r.length);for(var l=0,c=Array(s);l<s;l++)c[l]=r[l];return c}function $A(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,PA(c.key),c)}}function go(r,s,l){return s&&$A(r.prototype,s),Object.defineProperty(r,"prototype",{writable:!1}),r}function io(r,s){var l=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(l)return(l=l.call(r)).next.bind(l);if(Array.isArray(r)||(l=tm(r))||s){l&&(r=l);var c=0;return function(){return c>=r.length?{done:!0}:{done:!1,value:r[c++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ds(){return Ds=Object.assign?Object.assign.bind():function(r){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var c in l)({}).hasOwnProperty.call(l,c)&&(r[c]=l[c])}return r},Ds.apply(null,arguments)}function e1(r,s){r.prototype=Object.create(s.prototype),r.prototype.constructor=r,gD(r,s)}function gD(r,s){return gD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,c){return l.__proto__=c,l},gD(r,s)}function WA(r,s){if(typeof r!="object"||!r)return r;var l=r[Symbol.toPrimitive];if(l!==void 0){var c=l.call(r,s);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function PA(r){var s=WA(r,"string");return typeof s=="symbol"?s:s+""}function tm(r,s){if(r){if(typeof r=="string")return up(r,s);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?up(r,s):void 0}}var ni=Symbol("mobx-stored-annotations");function ii(r){function s(l,c){if(Sh(c))return r.decorate_20223_(l,c);Ch(l,c,r)}return Object.assign(s,r)}function Ch(r,s,l){Hi(r,ni)||Eh(r,ni,Ds({},r[ni])),lm(l)||(r[ni][s]=l)}function em(r){return Hi(r,ni)||Eh(r,ni,Ds({},r[ni])),r[ni]}function Sh(r){return typeof r=="object"&&typeof r.kind=="string"}var Lt=Symbol("mobx administration"),Xr=(function(){function r(l){l===void 0&&(l="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=he.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=l}var s=r.prototype;return s.onBO=function(){this.onBOL&&this.onBOL.forEach(function(c){return c()})},s.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(c){return c()})},s.reportObserved=function(){return A1(this)},s.reportChanged=function(){Ku(),m1(this),Xu()},s.toString=function(){return this.name_},go(r,[{key:"isBeingObserved",get:function(){return wu(this.flags_,r.isBeingObservedMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isBeingObservedMask_,c)}},{key:"isPendingUnobservation",get:function(){return wu(this.flags_,r.isPendingUnobservationMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isPendingUnobservationMask_,c)}},{key:"diffValue",get:function(){return wu(this.flags_,r.diffValueMask_)?1:0},set:function(c){this.flags_=Mu(this.flags_,r.diffValueMask_,c===1)}}])})();Xr.isBeingObservedMask_=1;Xr.isPendingUnobservationMask_=2;Xr.diffValueMask_=4;var wD=Kr("Atom",Xr);function n1(r,s,l){s===void 0&&(s=ao),l===void 0&&(l=ao);var c=new Xr(r);return s!==ao&&f2(c,s),l!==ao&&C1(c,l),c}function nm(r,s){return U1(r,s)}function um(r,s){return Object.is?Object.is(r,s):r===s?r!==0||1/r===1/s:r!==r&&s!==s}var Ag={structural:nm,default:um};function ps(r,s,l){return TD(r)?r:Array.isArray(r)?hn.array(r,{name:l}):qi(r)?hn.object(r,void 0,{name:l}):ho(r)?hn.map(r,{name:l}):zi(r)?hn.set(r,{name:l}):typeof r=="function"&&!oo(r)&&!mh(r)?$p(r)?fo(r):Ah(l,r):r}function am(r,s,l){if(r==null||Bh(r)||Th(r)||Ir(r)||Da(r))return r;if(Array.isArray(r))return hn.array(r,{name:l,deep:!1});if(qi(r))return hn.object(r,void 0,{name:l,deep:!1});if(ho(r))return hn.map(r,{name:l,deep:!1});if(zi(r))return hn.set(r,{name:l,deep:!1})}function Ng(r){return r}function im(r,s){return U1(r,s)?s:r}var rm="override";function lm(r){return r.annotationType_===rm}function Fh(r,s){return{annotationType_:r,options_:s,make_:sm,extend_:cm,decorate_20223_:om}}function sm(r,s,l,c){var d;if((d=this.options_)!=null&&d.bound)return this.extend_(r,s,l,!1)===null?0:1;if(c===r.target_)return this.extend_(r,s,l,!1)===null?0:2;if(oo(l.value))return 1;var v=u1(r,this,s,l,!1);return ai(c,s,v),2}function cm(r,s,l,c){var d=u1(r,this,s,l);return r.defineProperty_(s,d,c)}function om(r,s){var l=s.kind,c=s.name,d=s.addInitializer,v=this,m=function(C){var O,H,Y,et;return As((O=(H=v.options_)==null?void 0:H.name)!=null?O:c.toString(),C,(Y=(et=v.options_)==null?void 0:et.autoAction)!=null?Y:!1)};if(l=="field")return function(x){var C,O=x;return oo(O)||(O=m(O)),(C=v.options_)!=null&&C.bound&&(O=O.bind(this),O.isMobxAction=!0),O};if(l=="method"){var E;return oo(r)||(r=m(r)),(E=this.options_)!=null&&E.bound&&d(function(){var x=this,C=x[c].bind(x);C.isMobxAction=!0,x[c]=C}),r}le("Cannot apply '"+v.annotationType_+"' to '"+String(c)+"' (kind: "+l+"):"+(`
'`+v.annotationType_+"' can only be used on properties with a function value."))}function fm(r,s,l,c){s.annotationType_,c.value}function u1(r,s,l,c,d){var v,m,E,x,C,O,H;d===void 0&&(d=ft.safeDescriptors),fm(r,s,l,c);var Y=c.value;if((v=s.options_)!=null&&v.bound){var et;Y=Y.bind((et=r.proxy_)!=null?et:r.target_)}return{value:As((m=(E=s.options_)==null?void 0:E.name)!=null?m:l.toString(),Y,(x=(C=s.options_)==null?void 0:C.autoAction)!=null?x:!1,(O=s.options_)!=null&&O.bound?(H=r.proxy_)!=null?H:r.target_:void 0),configurable:d?r.isPlainObject_:!0,enumerable:!1,writable:!d}}function a1(r,s){return{annotationType_:r,options_:s,make_:hm,extend_:dm,decorate_20223_:gm}}function hm(r,s,l,c){var d;if(c===r.target_)return this.extend_(r,s,l,!1)===null?0:2;if((d=this.options_)!=null&&d.bound&&(!Hi(r.target_,s)||!mh(r.target_[s]))&&this.extend_(r,s,l,!1)===null)return 0;if(mh(l.value))return 1;var v=i1(r,this,s,l,!1,!1);return ai(c,s,v),2}function dm(r,s,l,c){var d,v=i1(r,this,s,l,(d=this.options_)==null?void 0:d.bound);return r.defineProperty_(s,v,c)}function gm(r,s){var l,c=s.name,d=s.addInitializer;return mh(r)||(r=fo(r)),(l=this.options_)!=null&&l.bound&&d(function(){var v=this,m=v[c].bind(v);m.isMobXFlow=!0,v[c]=m}),r}function vm(r,s,l,c){s.annotationType_,c.value}function i1(r,s,l,c,d,v){v===void 0&&(v=ft.safeDescriptors),vm(r,s,l,c);var m=c.value;if(mh(m)||(m=fo(m)),d){var E;m=m.bind((E=r.proxy_)!=null?E:r.target_),m.isMobXFlow=!0}return{value:m,configurable:v?r.isPlainObject_:!0,enumerable:!1,writable:!v}}function MD(r,s){return{annotationType_:r,options_:s,make_:Dm,extend_:pm,decorate_20223_:Am}}function Dm(r,s,l){return this.extend_(r,s,l,!1)===null?0:1}function pm(r,s,l,c){return mm(r,this,s,l),r.defineComputedProperty_(s,Ds({},this.options_,{get:l.get,set:l.set}),c)}function Am(r,s){var l=this,c=s.name,d=s.addInitializer;return d(function(){var v=ys(this)[Lt],m=Ds({},l.options_,{get:r,context:this});m.name||(m.name="ObservableObject."+c.toString()),v.values_.set(c,new ya(m))}),function(){return this[Lt].getObservablePropValue_(c)}}function mm(r,s,l,c){s.annotationType_,c.get}function jg(r,s){return{annotationType_:r,options_:s,make_:ym,extend_:bm,decorate_20223_:_m}}function ym(r,s,l){return this.extend_(r,s,l,!1)===null?0:1}function bm(r,s,l,c){var d,v;return xm(r,this),r.defineObservableProperty_(s,l.value,(d=(v=this.options_)==null?void 0:v.enhancer)!=null?d:ps,c)}function _m(r,s){var l=this,c=s.kind,d=s.name,v=new WeakSet;function m(E,x){var C,O,H=ys(E)[Lt],Y=new Zr(x,(C=(O=l.options_)==null?void 0:O.enhancer)!=null?C:ps,"ObservableObject."+d.toString(),!1);H.values_.set(d,Y),v.add(E)}if(c=="accessor")return{get:function(){return v.has(this)||m(this,r.get.call(this)),this[Lt].getObservablePropValue_(d)},set:function(x){return v.has(this)||m(this,x),this[Lt].setObservablePropValue_(d,x)},init:function(x){return v.has(this)||m(this,x),x}}}function xm(r,s,l,c){s.annotationType_}var Em="true",Cm=r1();function r1(r){return{annotationType_:Em,options_:r,make_:Sm,extend_:Fm,decorate_20223_:wm}}function Sm(r,s,l,c){var d,v;if(l.get)return Lg.make_(r,s,l,c);if(l.set){var m=oo(l.set)?l.set:As(s.toString(),l.set);return c===r.target_?r.defineProperty_(s,{configurable:ft.safeDescriptors?r.isPlainObject_:!0,set:m})===null?0:2:(ai(c,s,{configurable:!0,set:m}),2)}if(c!==r.target_&&typeof l.value=="function"){var E;if($p(l.value)){var x,C=(x=this.options_)!=null&&x.autoBind?fo.bound:fo;return C.make_(r,s,l,c)}var O=(E=this.options_)!=null&&E.autoBind?Ah.bound:Ah;return O.make_(r,s,l,c)}var H=((d=this.options_)==null?void 0:d.deep)===!1?hn.ref:hn;if(typeof l.value=="function"&&(v=this.options_)!=null&&v.autoBind){var Y;l.value=l.value.bind((Y=r.proxy_)!=null?Y:r.target_)}return H.make_(r,s,l,c)}function Fm(r,s,l,c){var d,v;if(l.get)return Lg.extend_(r,s,l,c);if(l.set)return r.defineProperty_(s,{configurable:ft.safeDescriptors?r.isPlainObject_:!0,set:As(s.toString(),l.set)},c);if(typeof l.value=="function"&&(d=this.options_)!=null&&d.autoBind){var m;l.value=l.value.bind((m=r.proxy_)!=null?m:r.target_)}var E=((v=this.options_)==null?void 0:v.deep)===!1?hn.ref:hn;return E.extend_(r,s,l,c)}function wm(r,s){le("'"+this.annotationType_+"' cannot be used as a decorator")}var Mm="observable",Om="observable.ref",Tm="observable.shallow",Bm="observable.struct",l1={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(l1);function lg(r){return r||l1}var vD=jg(Mm),Rm=jg(Om,{enhancer:Ng}),Nm=jg(Tm,{enhancer:am}),jm=jg(Bm,{enhancer:im}),s1=ii(vD);function sg(r){return r.deep===!0?ps:r.deep===!1?Ng:zm(r.defaultDecorator)}function Lm(r){var s;return r?(s=r.defaultDecorator)!=null?s:r1(r):void 0}function zm(r){var s,l;return r&&(s=(l=r.options_)==null?void 0:l.enhancer)!=null?s:ps}function c1(r,s,l){if(Sh(s))return vD.decorate_20223_(r,s);if(vs(s)){Ch(r,s,vD);return}return TD(r)?r:qi(r)?hn.object(r,s,l):Array.isArray(r)?hn.array(r,s):ho(r)?hn.map(r,s):zi(r)?hn.set(r,s):typeof r=="object"&&r!==null?r:hn.box(r,s)}Kp(c1,s1);var Um={box:function(s,l){var c=lg(l);return new Zr(s,sg(c),c.name,!0,c.equals)},array:function(s,l){var c=lg(l);return(ft.useProxies===!1||c.proxy===!1?z2:F2)(s,sg(c),c.name)},map:function(s,l){var c=lg(l);return new B1(s,sg(c),c.name)},set:function(s,l){var c=lg(l);return new R1(s,sg(c),c.name)},object:function(s,l,c){return Jr(function(){return F1(ft.useProxies===!1||c?.proxy===!1?ys({},c):x2({},c),s,l)})},ref:ii(Rm),shallow:ii(Nm),deep:s1,struct:ii(jm)},hn=Kp(c1,Um),o1="computed",Hm="computed.struct",DD=MD(o1),Gm=MD(Hm,{equals:Ag.structural}),Lg=function(s,l){if(Sh(l))return DD.decorate_20223_(s,l);if(vs(l))return Ch(s,l,DD);if(qi(s))return ii(MD(o1,s));var c=qi(l)?l:{};return c.get=s,c.name||(c.name=s.name||""),new ya(c)};Object.assign(Lg,DD);Lg.struct=ii(Gm);var ap,ip,mg=0,qm=1,Ym=(ap=(ip=pg(function(){},"name"))==null?void 0:ip.configurable)!=null?ap:!1,rp={value:"action",configurable:!0,writable:!1,enumerable:!1};function As(r,s,l,c){l===void 0&&(l=!1);function d(){return f1(r,l,s,c||this,arguments)}return d.isMobxAction=!0,d.toString=function(){return s.toString()},Ym&&(rp.value=r,ai(d,"name",rp)),d}function f1(r,s,l,c,d){var v=km(r,s);try{return l.apply(c,d)}catch(m){throw v.error_=m,m}finally{Vm(v)}}function km(r,s,l,c){var d=!1,v=0,m=ft.trackingDerivation,E=!s||!m;Ku();var x=ft.allowStateChanges;E&&(ms(),x=zg(!0));var C=OD(!0),O={runAsAction_:E,prevDerivation_:m,prevAllowStateChanges_:x,prevAllowStateReads_:C,notifySpy_:d,startTime_:v,actionId_:qm++,parentActionId_:mg};return mg=O.actionId_,O}function Vm(r){mg!==r.actionId_&&le(30),mg=r.parentActionId_,r.error_!==void 0&&(ft.suppressReactionErrors=!0),Ug(r.prevAllowStateChanges_),Dh(r.prevAllowStateReads_),Xu(),r.runAsAction_&&Gi(r.prevDerivation_),ft.suppressReactionErrors=!1}function Qm(r,s){var l=zg(r);try{return s()}finally{Ug(l)}}function zg(r){var s=ft.allowStateChanges;return ft.allowStateChanges=r,s}function Ug(r){ft.allowStateChanges=r}var Zr=(function(r){function s(c,d,v,m,E){var x;return v===void 0&&(v="ObservableValue"),E===void 0&&(E=Ag.default),x=r.call(this,v)||this,x.enhancer=void 0,x.name_=void 0,x.equals=void 0,x.hasUnreportedChange_=!1,x.interceptors_=void 0,x.changeListeners_=void 0,x.value_=void 0,x.dehancer=void 0,x.enhancer=d,x.name_=v,x.equals=E,x.value_=d(c,void 0,v),x}e1(s,r);var l=s.prototype;return l.dehanceValue=function(d){return this.dehancer!==void 0?this.dehancer(d):d},l.set=function(d){this.value_,d=this.prepareNewValue_(d),d!==ft.UNCHANGED&&this.setNewValue_(d)},l.prepareNewValue_=function(d){if(Qu(this)){var v=Zu(this,{object:this,type:ri,newValue:d});if(!v)return ft.UNCHANGED;d=v.newValue}return d=this.enhancer(d,this.value_,this.name_),this.equals(this.value_,d)?ft.UNCHANGED:d},l.setNewValue_=function(d){var v=this.value_;this.value_=d,this.reportChanged(),pa(this)&&Aa(this,{type:ri,object:this,newValue:d,oldValue:v})},l.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},l.intercept_=function(d){return Mh(this,d)},l.observe_=function(d,v){return v&&d({observableKind:"value",debugObjectName:this.name_,object:this,type:ri,newValue:this.value_,oldValue:void 0}),Oh(this,d)},l.raw=function(){return this.value_},l.toJSON=function(){return this.get()},l.toString=function(){return this.name_+"["+this.value_+"]"},l.valueOf=function(){return t1(this.get())},l[Symbol.toPrimitive]=function(){return this.valueOf()},s})(Xr),Zm=Kr("ObservableValue",Zr),ya=(function(){function r(l){this.dependenciesState_=he.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=he.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new bg(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=yg.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,l.get||le(31),this.derivation=l.get,this.name_=l.name||"ComputedValue",l.set&&(this.setter_=As("ComputedValue-setter",l.set)),this.equals_=l.equals||(l.compareStructural||l.struct?Ag.structural:Ag.default),this.scope_=l.context,this.requiresReaction_=l.requiresReaction,this.keepAlive_=!!l.keepAlive}var s=r.prototype;return s.onBecomeStale_=function(){$m(this)},s.onBO=function(){this.onBOL&&this.onBOL.forEach(function(c){return c()})},s.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(c){return c()})},s.get=function(){if(this.isComputing&&le(32,this.name_,this.derivation),ft.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)pD(this)&&(this.warnAboutUntrackedRead_(),Ku(),this.value_=this.computeValue_(!1),Xu());else if(A1(this),pD(this)){var c=ft.trackingContext;this.keepAlive_&&!c&&(ft.trackingContext=this),this.trackAndCompute()&&Jm(this),ft.trackingContext=c}var d=this.value_;if(hg(d))throw d.cause;return d},s.set=function(c){if(this.setter_){this.isRunningSetter&&le(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,c)}finally{this.isRunningSetter=!1}}else le(34,this.name_)},s.trackAndCompute=function(){var c=this.value_,d=this.dependenciesState_===he.NOT_TRACKING_,v=this.computeValue_(!0),m=d||hg(c)||hg(v)||!this.equals_(c,v);return m&&(this.value_=v),m},s.computeValue_=function(c){this.isComputing=!0;var d=zg(!1),v;if(c)v=h1(this,this.derivation,this.scope_);else if(ft.disableErrorBoundaries===!0)v=this.derivation.call(this.scope_);else try{v=this.derivation.call(this.scope_)}catch(m){v=new bg(m)}return Ug(d),this.isComputing=!1,v},s.suspend_=function(){this.keepAlive_||(AD(this),this.value_=void 0)},s.observe_=function(c,d){var v=this,m=!0,E=void 0;return r2(function(){var x=v.get();if(!m||d){var C=ms();c({observableKind:"computed",debugObjectName:v.name_,type:ri,object:v,newValue:x,oldValue:E}),Gi(C)}m=!1,E=x})},s.warnAboutUntrackedRead_=function(){},s.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},s.valueOf=function(){return t1(this.get())},s[Symbol.toPrimitive]=function(){return this.valueOf()},go(r,[{key:"isComputing",get:function(){return wu(this.flags_,r.isComputingMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isComputingMask_,c)}},{key:"isRunningSetter",get:function(){return wu(this.flags_,r.isRunningSetterMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isRunningSetterMask_,c)}},{key:"isBeingObserved",get:function(){return wu(this.flags_,r.isBeingObservedMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isBeingObservedMask_,c)}},{key:"isPendingUnobservation",get:function(){return wu(this.flags_,r.isPendingUnobservationMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isPendingUnobservationMask_,c)}},{key:"diffValue",get:function(){return wu(this.flags_,r.diffValueMask_)?1:0},set:function(c){this.flags_=Mu(this.flags_,r.diffValueMask_,c===1)}}])})();ya.isComputingMask_=1;ya.isRunningSetterMask_=2;ya.isBeingObservedMask_=4;ya.isPendingUnobservationMask_=8;ya.diffValueMask_=16;var wh=Kr("ComputedValue",ya),he;(function(r){r[r.NOT_TRACKING_=-1]="NOT_TRACKING_",r[r.UP_TO_DATE_=0]="UP_TO_DATE_",r[r.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",r[r.STALE_=2]="STALE_"})(he||(he={}));var yg;(function(r){r[r.NONE=0]="NONE",r[r.LOG=1]="LOG",r[r.BREAK=2]="BREAK"})(yg||(yg={}));var bg=function(s){this.cause=void 0,this.cause=s};function hg(r){return r instanceof bg}function pD(r){switch(r.dependenciesState_){case he.UP_TO_DATE_:return!1;case he.NOT_TRACKING_:case he.STALE_:return!0;case he.POSSIBLY_STALE_:{for(var s=OD(!0),l=ms(),c=r.observing_,d=c.length,v=0;v<d;v++){var m=c[v];if(wh(m)){if(ft.disableErrorBoundaries)m.get();else try{m.get()}catch{return Gi(l),Dh(s),!0}if(r.dependenciesState_===he.STALE_)return Gi(l),Dh(s),!0}}return g1(r),Gi(l),Dh(s),!1}}}function h1(r,s,l){var c=OD(!0);g1(r),r.newObserving_=new Array(r.runId_===0?100:r.observing_.length),r.unboundDepsCount_=0,r.runId_=++ft.runId;var d=ft.trackingDerivation;ft.trackingDerivation=r,ft.inBatch++;var v;if(ft.disableErrorBoundaries===!0)v=s.call(l);else try{v=s.call(l)}catch(m){v=new bg(m)}return ft.inBatch--,ft.trackingDerivation=d,Km(r),Dh(c),v}function Km(r){for(var s=r.observing_,l=r.observing_=r.newObserving_,c=he.UP_TO_DATE_,d=0,v=r.unboundDepsCount_,m=0;m<v;m++){var E=l[m];E.diffValue===0&&(E.diffValue=1,d!==m&&(l[d]=E),d++),E.dependenciesState_>c&&(c=E.dependenciesState_)}for(l.length=d,r.newObserving_=null,v=s.length;v--;){var x=s[v];x.diffValue===0&&D1(x,r),x.diffValue=0}for(;d--;){var C=l[d];C.diffValue===1&&(C.diffValue=0,Im(C,r))}c!==he.UP_TO_DATE_&&(r.dependenciesState_=c,r.onBecomeStale_())}function AD(r){var s=r.observing_;r.observing_=[];for(var l=s.length;l--;)D1(s[l],r);r.dependenciesState_=he.NOT_TRACKING_}function d1(r){var s=ms();try{return r()}finally{Gi(s)}}function ms(){var r=ft.trackingDerivation;return ft.trackingDerivation=null,r}function Gi(r){ft.trackingDerivation=r}function OD(r){var s=ft.allowStateReads;return ft.allowStateReads=r,s}function Dh(r){ft.allowStateReads=r}function g1(r){if(r.dependenciesState_!==he.UP_TO_DATE_){r.dependenciesState_=he.UP_TO_DATE_;for(var s=r.observing_,l=s.length;l--;)s[l].lowestObserverState_=he.UP_TO_DATE_}}var dg=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},gg=!0,v1=!1,ft=(function(){var r=Bg();return r.__mobxInstanceCount>0&&!r.__mobxGlobals&&(gg=!1),r.__mobxGlobals&&r.__mobxGlobals.version!==new dg().version&&(gg=!1),gg?r.__mobxGlobals?(r.__mobxInstanceCount+=1,r.__mobxGlobals.UNCHANGED||(r.__mobxGlobals.UNCHANGED={}),r.__mobxGlobals):(r.__mobxInstanceCount=1,r.__mobxGlobals=new dg):(setTimeout(function(){v1||le(35)},1),new dg)})();function Xm(){if((ft.pendingReactions.length||ft.inBatch||ft.isRunningReactions)&&le(36),v1=!0,gg){var r=Bg();--r.__mobxInstanceCount===0&&(r.__mobxGlobals=void 0),ft=new dg}}function Im(r,s){r.observers_.add(s),r.lowestObserverState_>s.dependenciesState_&&(r.lowestObserverState_=s.dependenciesState_)}function D1(r,s){r.observers_.delete(s),r.observers_.size===0&&p1(r)}function p1(r){r.isPendingUnobservation===!1&&(r.isPendingUnobservation=!0,ft.pendingUnobservations.push(r))}function Ku(){ft.inBatch++}function Xu(){if(--ft.inBatch===0){y1();for(var r=ft.pendingUnobservations,s=0;s<r.length;s++){var l=r[s];l.isPendingUnobservation=!1,l.observers_.size===0&&(l.isBeingObserved&&(l.isBeingObserved=!1,l.onBUO()),l instanceof ya&&l.suspend_())}ft.pendingUnobservations=[]}}function A1(r){var s=ft.trackingDerivation;return s!==null?(s.runId_!==r.lastAccessedBy_&&(r.lastAccessedBy_=s.runId_,s.newObserving_[s.unboundDepsCount_++]=r,!r.isBeingObserved&&ft.trackingContext&&(r.isBeingObserved=!0,r.onBO())),r.isBeingObserved):(r.observers_.size===0&&ft.inBatch>0&&p1(r),!1)}function m1(r){r.lowestObserverState_!==he.STALE_&&(r.lowestObserverState_=he.STALE_,r.observers_.forEach(function(s){s.dependenciesState_===he.UP_TO_DATE_&&s.onBecomeStale_(),s.dependenciesState_=he.STALE_}))}function Jm(r){r.lowestObserverState_!==he.STALE_&&(r.lowestObserverState_=he.STALE_,r.observers_.forEach(function(s){s.dependenciesState_===he.POSSIBLY_STALE_?s.dependenciesState_=he.STALE_:s.dependenciesState_===he.UP_TO_DATE_&&(r.lowestObserverState_=he.UP_TO_DATE_)}))}function $m(r){r.lowestObserverState_===he.UP_TO_DATE_&&(r.lowestObserverState_=he.POSSIBLY_STALE_,r.observers_.forEach(function(s){s.dependenciesState_===he.UP_TO_DATE_&&(s.dependenciesState_=he.POSSIBLY_STALE_,s.onBecomeStale_())}))}var li=(function(){function r(l,c,d,v){l===void 0&&(l="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=he.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=yg.NONE,this.name_=l,this.onInvalidate_=c,this.errorHandler_=d,this.requiresObservable_=v}var s=r.prototype;return s.onBecomeStale_=function(){this.schedule_()},s.schedule_=function(){this.isScheduled||(this.isScheduled=!0,ft.pendingReactions.push(this),y1())},s.runReaction_=function(){if(!this.isDisposed){Ku(),this.isScheduled=!1;var c=ft.trackingContext;if(ft.trackingContext=this,pD(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(d){this.reportExceptionInDerivation_(d)}}ft.trackingContext=c,Xu()}},s.track=function(c){if(!this.isDisposed){Ku(),this.isRunning=!0;var d=ft.trackingContext;ft.trackingContext=this;var v=h1(this,c,void 0);ft.trackingContext=d,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&AD(this),hg(v)&&this.reportExceptionInDerivation_(v.cause),Xu()}},s.reportExceptionInDerivation_=function(c){var d=this;if(this.errorHandler_){this.errorHandler_(c,this);return}if(ft.disableErrorBoundaries)throw c;var v="[mobx] uncaught error in '"+this+"'";ft.suppressReactionErrors||console.error(v,c),ft.globalReactionErrorHandlers.forEach(function(m){return m(c,d)})},s.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(Ku(),AD(this),Xu()))},s.getDisposer_=function(c){var d=this,v=function m(){d.dispose(),c==null||c.removeEventListener==null||c.removeEventListener("abort",m)};return c==null||c.addEventListener==null||c.addEventListener("abort",v),v[Lt]=this,"dispose"in Symbol&&typeof Symbol.dispose=="symbol"&&(v[Symbol.dispose]=v),v},s.toString=function(){return"Reaction["+this.name_+"]"},s.trace=function(c){},go(r,[{key:"isDisposed",get:function(){return wu(this.flags_,r.isDisposedMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isDisposedMask_,c)}},{key:"isScheduled",get:function(){return wu(this.flags_,r.isScheduledMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isScheduledMask_,c)}},{key:"isTrackPending",get:function(){return wu(this.flags_,r.isTrackPendingMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isTrackPendingMask_,c)}},{key:"isRunning",get:function(){return wu(this.flags_,r.isRunningMask_)},set:function(c){this.flags_=Mu(this.flags_,r.isRunningMask_,c)}},{key:"diffValue",get:function(){return wu(this.flags_,r.diffValueMask_)?1:0},set:function(c){this.flags_=Mu(this.flags_,r.diffValueMask_,c===1)}}])})();li.isDisposedMask_=1;li.isScheduledMask_=2;li.isTrackPendingMask_=4;li.isRunningMask_=8;li.diffValueMask_=16;var Wm=100,mD=function(s){return s()};function y1(){ft.inBatch>0||ft.isRunningReactions||mD(Pm)}function Pm(){ft.isRunningReactions=!0;for(var r=ft.pendingReactions,s=0;r.length>0;){++s===Wm&&(console.error("[mobx] cycle in reaction: "+r[0]),r.splice(0));for(var l=r.splice(0),c=0,d=l.length;c<d;c++)l[c].runReaction_()}ft.isRunningReactions=!1}var _g=Kr("Reaction",li);function t2(r){var s=mD;mD=function(c){return r(function(){return s(c)})}}function ph(){return!1}function e2(r){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var b1="action",n2="action.bound",_1="autoAction",u2="autoAction.bound",x1="<unnamed action>",yD=Fh(b1),a2=Fh(n2,{bound:!0}),bD=Fh(_1,{autoAction:!0}),i2=Fh(u2,{autoAction:!0,bound:!0});function E1(r){var s=function(c,d){if(ma(c))return As(c.name||x1,c,r);if(ma(d))return As(c,d,r);if(Sh(d))return(r?bD:yD).decorate_20223_(c,d);if(vs(d))return Ch(c,d,r?bD:yD);if(vs(c))return ii(Fh(r?_1:b1,{name:c,autoAction:r}))};return s}var ro=E1(!1);Object.assign(ro,yD);var Ah=E1(!0);Object.assign(Ah,bD);ro.bound=ii(a2);Ah.bound=ii(i2);function fn(r){return f1(r.name||x1,!1,r,this,void 0)}function oo(r){return ma(r)&&r.isMobxAction===!0}function r2(r,s){var l,c,d,v;s===void 0&&(s=Xp);var m=(l=(c=s)==null?void 0:c.name)!=null?l:"Autorun",E=!s.scheduler&&!s.delay,x;if(E)x=new li(m,function(){this.track(H)},s.onError,s.requiresObservable);else{var C=s2(s),O=!1;x=new li(m,function(){O||(O=!0,C(function(){O=!1,x.isDisposed||x.track(H)}))},s.onError,s.requiresObservable)}function H(){r(x)}return(d=s)!=null&&(d=d.signal)!=null&&d.aborted||x.schedule_(),x.getDisposer_((v=s)==null?void 0:v.signal)}var l2=function(s){return s()};function s2(r){return r.scheduler?r.scheduler:r.delay?function(s){return setTimeout(s,r.delay)}:l2}var c2="onBO",o2="onBUO";function f2(r,s,l){return S1(c2,r,s,l)}function C1(r,s,l){return S1(o2,r,s,l)}function S1(r,s,l,c){var d=Cg(s),v=ma(c)?c:l,m=r+"L";return d[m]?d[m].add(v):d[m]=new Set([v]),function(){var E=d[m];E&&(E.delete(v),E.size===0&&delete d[m])}}var h2="never",cg="always",d2="observed";function g2(r){r.isolateGlobalState===!0&&Xm();var s=r.useProxies,l=r.enforceActions;if(s!==void 0&&(ft.useProxies=s===cg?!0:s===h2?!1:typeof Proxy<"u"),s==="ifavailable"&&(ft.verifyProxies=!0),l!==void 0){var c=l===cg?cg:l===d2;ft.enforceActions=c,ft.allowStateChanges=!(c===!0||c===cg)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(d){d in r&&(ft[d]=!!r[d])}),ft.allowStateReads=!ft.observableRequiresReaction,r.reactionScheduler&&t2(r.reactionScheduler)}function F1(r,s,l,c){var d=JA(s);return Jr(function(){var v=ys(r,c)[Lt];co(d).forEach(function(m){v.extend_(m,d[m],l&&m in l?l[m]:!0)})}),r}function v2(r,s){return w1(Cg(r,s))}function w1(r){var s={name:r.name_};return r.observing_&&r.observing_.length>0&&(s.dependencies=D2(r.observing_).map(w1)),s}function D2(r){return Array.from(new Set(r))}var p2=0;function M1(){this.message="FLOW_CANCELLED"}M1.prototype=Object.create(Error.prototype);var aD=a1("flow"),A2=a1("flow.bound",{bound:!0}),fo=Object.assign(function(s,l){if(Sh(l))return aD.decorate_20223_(s,l);if(vs(l))return Ch(s,l,aD);var c=s,d=c.name||"<unnamed flow>",v=function(){var E=this,x=arguments,C=++p2,O=ro(d+" - runid: "+C+" - init",c).apply(E,x),H,Y=void 0,et=new Promise(function(it,st){var pt=0;H=st;function Tt(ct){Y=void 0;var X;try{X=ro(d+" - runid: "+C+" - yield "+pt++,O.next).call(O,ct)}catch(ot){return st(ot)}at(X)}function Dt(ct){Y=void 0;var X;try{X=ro(d+" - runid: "+C+" - yield "+pt++,O.throw).call(O,ct)}catch(ot){return st(ot)}at(X)}function at(ct){if(ma(ct?.then)){ct.then(at,st);return}return ct.done?it(ct.value):(Y=Promise.resolve(ct.value),Y.then(Tt,Dt))}Tt(void 0)});return et.cancel=ro(d+" - runid: "+C+" - cancel",function(){try{Y&&lp(Y);var it=O.return(void 0),st=Promise.resolve(it.value);st.then(ao,ao),lp(st),H(new M1)}catch(pt){H(pt)}}),et};return v.isMobXFlow=!0,v},aD);fo.bound=ii(A2);function lp(r){ma(r.cancel)&&r.cancel()}function mh(r){return r?.isMobXFlow===!0}function m2(r,s){return r?Bh(r)||!!r[Lt]||wD(r)||_g(r)||wh(r):!1}function TD(r){return m2(r)}function y2(r){if(Bh(r))return r[Lt].ownKeys_();le(38)}function og(r,s,l){return r.set(s,l),l}function uo(r,s){if(r==null||typeof r!="object"||r instanceof Date||!TD(r))return r;if(Zm(r)||wh(r))return uo(r.get(),s);if(s.has(r))return s.get(r);if(Th(r)){var l=og(s,r,new Array(r.length));return r.forEach(function(m,E){l[E]=uo(m,s)}),l}if(Da(r)){var c=og(s,r,new Set);return r.forEach(function(m){c.add(uo(m,s))}),c}if(Ir(r)){var d=og(s,r,new Map);return r.forEach(function(m,E){d.set(E,uo(m,s))}),d}else{var v=og(s,r,{});return y2(r).forEach(function(m){xh.propertyIsEnumerable.call(r,m)&&(v[m]=uo(r[m],s))}),v}}function b2(r,s){return uo(r,new Map)}function Ui(r,s){s===void 0&&(s=void 0),Ku();try{return r.apply(s)}finally{Xu()}}function no(r){return r[Lt]}var _2={has:function(s,l){return no(s).has_(l)},get:function(s,l){return no(s).get_(l)},set:function(s,l,c){var d;return vs(l)?(d=no(s).set_(l,c,!0))!=null?d:!0:!1},deleteProperty:function(s,l){var c;return vs(l)?(c=no(s).delete_(l,!0))!=null?c:!0:!1},defineProperty:function(s,l,c){var d;return(d=no(s).defineProperty_(l,c))!=null?d:!0},ownKeys:function(s){return no(s).ownKeys_()},preventExtensions:function(s){le(13)}};function x2(r,s){var l,c;return Ip(),r=ys(r,s),(c=(l=r[Lt]).proxy_)!=null?c:l.proxy_=new Proxy(r,_2)}function Qu(r){return r.interceptors_!==void 0&&r.interceptors_.length>0}function Mh(r,s){var l=r.interceptors_||(r.interceptors_=[]);return l.push(s),Jp(function(){var c=l.indexOf(s);c!==-1&&l.splice(c,1)})}function Zu(r,s){var l=ms();try{for(var c=[].concat(r.interceptors_||[]),d=0,v=c.length;d<v&&(s=c[d](s),s&&!s.type&&le(14),!!s);d++);return s}finally{Gi(l)}}function pa(r){return r.changeListeners_!==void 0&&r.changeListeners_.length>0}function Oh(r,s){var l=r.changeListeners_||(r.changeListeners_=[]);return l.push(s),Jp(function(){var c=l.indexOf(s);c!==-1&&l.splice(c,1)})}function Aa(r,s){var l=ms(),c=r.changeListeners_;if(c){c=c.slice();for(var d=0,v=c.length;d<v;d++)c[d](s);Gi(l)}}function E2(r,s,l){return Jr(function(){var c,d=ys(r,l)[Lt];(c=s)!=null||(s=em(r)),co(s).forEach(function(v){return d.make_(v,s[v])})}),r}var iD=Symbol("mobx-keys");function O1(r,s,l){return qi(r)?F1(r,r,s,l):(Jr(function(){var c=ys(r,l)[Lt];if(!r[iD]){var d=Object.getPrototypeOf(r),v=new Set([].concat(co(r),co(d)));v.delete("constructor"),v.delete(Lt),Eh(d,iD,v)}r[iD].forEach(function(m){return c.make_(m,s&&m in s?s[m]:!0)})}),r)}var sp="splice",ri="update",C2=1e4,S2={get:function(s,l){var c=s[Lt];return l===Lt?c:l==="length"?c.getArrayLength_():typeof l=="string"&&!isNaN(l)?c.get_(parseInt(l)):Hi(xg,l)?xg[l]:s[l]},set:function(s,l,c){var d=s[Lt];return l==="length"&&d.setArrayLength_(c),typeof l=="symbol"||isNaN(l)?s[l]=c:d.set_(parseInt(l),c),!0},preventExtensions:function(){le(15)}},BD=(function(){function r(l,c,d,v){l===void 0&&(l="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=d,this.legacyMode_=v,this.atom_=new Xr(l),this.enhancer_=function(m,E){return c(m,E,"ObservableArray[..]")}}var s=r.prototype;return s.dehanceValue_=function(c){return this.dehancer!==void 0?this.dehancer(c):c},s.dehanceValues_=function(c){return this.dehancer!==void 0&&c.length>0?c.map(this.dehancer):c},s.intercept_=function(c){return Mh(this,c)},s.observe_=function(c,d){return d===void 0&&(d=!1),d&&c({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Oh(this,c)},s.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},s.setArrayLength_=function(c){(typeof c!="number"||isNaN(c)||c<0)&&le("Out of range: "+c);var d=this.values_.length;if(c!==d)if(c>d){for(var v=new Array(c-d),m=0;m<c-d;m++)v[m]=void 0;this.spliceWithArray_(d,0,v)}else this.spliceWithArray_(c,d-c)},s.updateArrayLength_=function(c,d){c!==this.lastKnownLength_&&le(16),this.lastKnownLength_+=d,this.legacyMode_&&d>0&&z1(c+d+1)},s.spliceWithArray_=function(c,d,v){var m=this;this.atom_;var E=this.values_.length;if(c===void 0?c=0:c>E?c=E:c<0&&(c=Math.max(0,E+c)),arguments.length===1?d=E-c:d==null?d=0:d=Math.max(0,Math.min(d,E-c)),v===void 0&&(v=dD),Qu(this)){var x=Zu(this,{object:this.proxy_,type:sp,index:c,removedCount:d,added:v});if(!x)return dD;d=x.removedCount,v=x.added}if(v=v.length===0?v:v.map(function(H){return m.enhancer_(H,void 0)}),this.legacyMode_){var C=v.length-d;this.updateArrayLength_(E,C)}var O=this.spliceItemsIntoValues_(c,d,v);return(d!==0||v.length!==0)&&this.notifyArraySplice_(c,v,O),this.dehanceValues_(O)},s.spliceItemsIntoValues_=function(c,d,v){if(v.length<C2){var m;return(m=this.values_).splice.apply(m,[c,d].concat(v))}else{var E=this.values_.slice(c,c+d),x=this.values_.slice(c+d);this.values_.length+=v.length-d;for(var C=0;C<v.length;C++)this.values_[c+C]=v[C];for(var O=0;O<x.length;O++)this.values_[c+v.length+O]=x[O];return E}},s.notifyArrayChildUpdate_=function(c,d,v){var m=!this.owned_&&ph(),E=pa(this),x=E||m?{observableKind:"array",object:this.proxy_,type:ri,debugObjectName:this.atom_.name_,index:c,newValue:d,oldValue:v}:null;this.atom_.reportChanged(),E&&Aa(this,x)},s.notifyArraySplice_=function(c,d,v){var m=!this.owned_&&ph(),E=pa(this),x=E||m?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:sp,index:c,removed:v,added:d,removedCount:v.length,addedCount:d.length}:null;this.atom_.reportChanged(),E&&Aa(this,x)},s.get_=function(c){if(this.legacyMode_&&c>=this.values_.length){console.warn("[mobx] Out of bounds read: "+c);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[c])},s.set_=function(c,d){var v=this.values_;if(this.legacyMode_&&c>v.length&&le(17,c,v.length),c<v.length){this.atom_;var m=v[c];if(Qu(this)){var E=Zu(this,{type:ri,object:this.proxy_,index:c,newValue:d});if(!E)return;d=E.newValue}d=this.enhancer_(d,m);var x=d!==m;x&&(v[c]=d,this.notifyArrayChildUpdate_(c,d,m))}else{for(var C=new Array(c+1-v.length),O=0;O<C.length-1;O++)C[O]=void 0;C[C.length-1]=d,this.spliceWithArray_(v.length,0,C)}},r})();function F2(r,s,l,c){return l===void 0&&(l="ObservableArray"),c===void 0&&(c=!1),Ip(),Jr(function(){var d=new BD(l,s,c,!1);Wp(d.values_,Lt,d);var v=new Proxy(d.values_,S2);return d.proxy_=v,r&&r.length&&d.spliceWithArray_(0,0,r),v})}var xg={clear:function(){return this.splice(0)},replace:function(s){var l=this[Lt];return l.spliceWithArray_(0,l.values_.length,s)},toJSON:function(){return this.slice()},splice:function(s,l){for(var c=arguments.length,d=new Array(c>2?c-2:0),v=2;v<c;v++)d[v-2]=arguments[v];var m=this[Lt];switch(arguments.length){case 0:return[];case 1:return m.spliceWithArray_(s);case 2:return m.spliceWithArray_(s,l)}return m.spliceWithArray_(s,l,d)},spliceWithArray:function(s,l,c){return this[Lt].spliceWithArray_(s,l,c)},push:function(){for(var s=this[Lt],l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return s.spliceWithArray_(s.values_.length,0,c),s.values_.length},pop:function(){return this.splice(Math.max(this[Lt].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var s=this[Lt],l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return s.spliceWithArray_(0,0,c),s.values_.length},reverse:function(){return ft.trackingDerivation&&le(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ft.trackingDerivation&&le(37,"sort");var s=this.slice();return s.sort.apply(s,arguments),this.replace(s),this},remove:function(s){var l=this[Lt],c=l.dehanceValues_(l.values_).indexOf(s);return c>-1?(this.splice(c,1),!0):!1}};Ne("at",Ou);Ne("concat",Ou);Ne("flat",Ou);Ne("includes",Ou);Ne("indexOf",Ou);Ne("join",Ou);Ne("lastIndexOf",Ou);Ne("slice",Ou);Ne("toString",Ou);Ne("toLocaleString",Ou);Ne("toSorted",Ou);Ne("toSpliced",Ou);Ne("with",Ou);Ne("every",ba);Ne("filter",ba);Ne("find",ba);Ne("findIndex",ba);Ne("findLast",ba);Ne("findLastIndex",ba);Ne("flatMap",ba);Ne("forEach",ba);Ne("map",ba);Ne("some",ba);Ne("toReversed",ba);Ne("reduce",T1);Ne("reduceRight",T1);function Ne(r,s){typeof Array.prototype[r]=="function"&&(xg[r]=s(r))}function Ou(r){return function(){var s=this[Lt];s.atom_.reportObserved();var l=s.dehanceValues_(s.values_);return l[r].apply(l,arguments)}}function ba(r){return function(s,l){var c=this,d=this[Lt];d.atom_.reportObserved();var v=d.dehanceValues_(d.values_);return v[r](function(m,E){return s.call(l,m,E,c)})}}function T1(r){return function(){var s=this,l=this[Lt];l.atom_.reportObserved();var c=l.dehanceValues_(l.values_),d=arguments[0];return arguments[0]=function(v,m,E){return d(v,m,E,s)},c[r].apply(c,arguments)}}var w2=Kr("ObservableArrayAdministration",BD);function Th(r){return Rg(r)&&w2(r[Lt])}var M2={},Vr="add",Eg="delete",B1=(function(){function r(l,c,d){var v=this;c===void 0&&(c=ps),d===void 0&&(d="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Lt]=M2,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=c,this.name_=d,ma(Map)||le(18),Jr(function(){v.keysAtom_=n1("ObservableMap.keys()"),v.data_=new Map,v.hasMap_=new Map,l&&v.merge(l)})}var s=r.prototype;return s.has_=function(c){return this.data_.has(c)},s.has=function(c){var d=this;if(!ft.trackingDerivation)return this.has_(c);var v=this.hasMap_.get(c);if(!v){var m=v=new Zr(this.has_(c),Ng,"ObservableMap.key?",!1);this.hasMap_.set(c,m),C1(m,function(){return d.hasMap_.delete(c)})}return v.get()},s.set=function(c,d){var v=this.has_(c);if(Qu(this)){var m=Zu(this,{type:v?ri:Vr,object:this,newValue:d,name:c});if(!m)return this;d=m.newValue}return v?this.updateValue_(c,d):this.addValue_(c,d),this},s.delete=function(c){var d=this;if(this.keysAtom_,Qu(this)){var v=Zu(this,{type:Eg,object:this,name:c});if(!v)return!1}if(this.has_(c)){var m=ph(),E=pa(this),x=E||m?{observableKind:"map",debugObjectName:this.name_,type:Eg,object:this,oldValue:this.data_.get(c).value_,name:c}:null;return Ui(function(){var C;d.keysAtom_.reportChanged(),(C=d.hasMap_.get(c))==null||C.setNewValue_(!1);var O=d.data_.get(c);O.setNewValue_(void 0),d.data_.delete(c)}),E&&Aa(this,x),!0}return!1},s.updateValue_=function(c,d){var v=this.data_.get(c);if(d=v.prepareNewValue_(d),d!==ft.UNCHANGED){var m=ph(),E=pa(this),x=E||m?{observableKind:"map",debugObjectName:this.name_,type:ri,object:this,oldValue:v.value_,name:c,newValue:d}:null;v.setNewValue_(d),E&&Aa(this,x)}},s.addValue_=function(c,d){var v=this;this.keysAtom_,Ui(function(){var C,O=new Zr(d,v.enhancer_,"ObservableMap.key",!1);v.data_.set(c,O),d=O.value_,(C=v.hasMap_.get(c))==null||C.setNewValue_(!0),v.keysAtom_.reportChanged()});var m=ph(),E=pa(this),x=E||m?{observableKind:"map",debugObjectName:this.name_,type:Vr,object:this,name:c,newValue:d}:null;E&&Aa(this,x)},s.get=function(c){return this.has(c)?this.dehanceValue_(this.data_.get(c).get()):this.dehanceValue_(void 0)},s.dehanceValue_=function(c){return this.dehancer!==void 0?this.dehancer(c):c},s.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},s.values=function(){var c=this,d=this.keys();return cp({next:function(){var m=d.next(),E=m.done,x=m.value;return{done:E,value:E?void 0:c.get(x)}}})},s.entries=function(){var c=this,d=this.keys();return cp({next:function(){var m=d.next(),E=m.done,x=m.value;return{done:E,value:E?void 0:[x,c.get(x)]}}})},s[Symbol.iterator]=function(){return this.entries()},s.forEach=function(c,d){for(var v=io(this),m;!(m=v()).done;){var E=m.value,x=E[0],C=E[1];c.call(d,C,x,this)}},s.merge=function(c){var d=this;return Ir(c)&&(c=new Map(c)),Ui(function(){qi(c)?IA(c).forEach(function(v){return d.set(v,c[v])}):Array.isArray(c)?c.forEach(function(v){var m=v[0],E=v[1];return d.set(m,E)}):ho(c)?(XA(c)||le(19,c),c.forEach(function(v,m){return d.set(m,v)})):c!=null&&le(20,c)}),this},s.clear=function(){var c=this;Ui(function(){d1(function(){for(var d=io(c.keys()),v;!(v=d()).done;){var m=v.value;c.delete(m)}})})},s.replace=function(c){var d=this;return Ui(function(){for(var v=O2(c),m=new Map,E=!1,x=io(d.data_.keys()),C;!(C=x()).done;){var O=C.value;if(!v.has(O)){var H=d.delete(O);if(H)E=!0;else{var Y=d.data_.get(O);m.set(O,Y)}}}for(var et=io(v.entries()),it;!(it=et()).done;){var st=it.value,pt=st[0],Tt=st[1],Dt=d.data_.has(pt);if(d.set(pt,Tt),d.data_.has(pt)){var at=d.data_.get(pt);m.set(pt,at),Dt||(E=!0)}}if(!E)if(d.data_.size!==m.size)d.keysAtom_.reportChanged();else for(var ct=d.data_.keys(),X=m.keys(),ot=ct.next(),wt=X.next();!ot.done;){if(ot.value!==wt.value){d.keysAtom_.reportChanged();break}ot=ct.next(),wt=X.next()}d.data_=m}),this},s.toString=function(){return"[object ObservableMap]"},s.toJSON=function(){return Array.from(this)},s.observe_=function(c,d){return Oh(this,c)},s.intercept_=function(c){return Mh(this,c)},go(r,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])})(),Ir=Kr("ObservableMap",B1);function cp(r){return r[Symbol.toStringTag]="MapIterator",ND(r)}function O2(r){if(ho(r)||Ir(r))return r;if(Array.isArray(r))return new Map(r);if(qi(r)){var s=new Map;for(var l in r)s.set(l,r[l]);return s}else return le(21,r)}var T2={},R1=(function(){function r(l,c,d){var v=this;c===void 0&&(c=ps),d===void 0&&(d="ObservableSet"),this.name_=void 0,this[Lt]=T2,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=d,ma(Set)||le(22),this.enhancer_=function(m,E){return c(m,E,d)},Jr(function(){v.atom_=n1(v.name_),l&&v.replace(l)})}var s=r.prototype;return s.dehanceValue_=function(c){return this.dehancer!==void 0?this.dehancer(c):c},s.clear=function(){var c=this;Ui(function(){d1(function(){for(var d=io(c.data_.values()),v;!(v=d()).done;){var m=v.value;c.delete(m)}})})},s.forEach=function(c,d){for(var v=io(this),m;!(m=v()).done;){var E=m.value;c.call(d,E,E,this)}},s.add=function(c){var d=this;if(this.atom_,Qu(this)){var v=Zu(this,{type:Vr,object:this,newValue:c});if(!v)return this;c=v.newValue}if(!this.has(c)){Ui(function(){d.data_.add(d.enhancer_(c,void 0)),d.atom_.reportChanged()});var m=!1,E=pa(this),x=E||m?{observableKind:"set",debugObjectName:this.name_,type:Vr,object:this,newValue:c}:null;E&&Aa(this,x)}return this},s.delete=function(c){var d=this;if(Qu(this)){var v=Zu(this,{type:Eg,object:this,oldValue:c});if(!v)return!1}if(this.has(c)){var m=!1,E=pa(this),x=E||m?{observableKind:"set",debugObjectName:this.name_,type:Eg,object:this,oldValue:c}:null;return Ui(function(){d.atom_.reportChanged(),d.data_.delete(c)}),E&&Aa(this,x),!0}return!1},s.has=function(c){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(c))},s.entries=function(){var c=this.values();return op({next:function(){var v=c.next(),m=v.value,E=v.done;return E?{value:void 0,done:E}:{value:[m,m],done:E}}})},s.keys=function(){return this.values()},s.values=function(){this.atom_.reportObserved();var c=this,d=this.data_.values();return op({next:function(){var m=d.next(),E=m.value,x=m.done;return x?{value:void 0,done:x}:{value:c.dehanceValue_(E),done:x}}})},s.intersection=function(c){if(zi(c)&&!Da(c))return c.intersection(this);var d=new Set(this);return d.intersection(c)},s.union=function(c){if(zi(c)&&!Da(c))return c.union(this);var d=new Set(this);return d.union(c)},s.difference=function(c){return new Set(this).difference(c)},s.symmetricDifference=function(c){if(zi(c)&&!Da(c))return c.symmetricDifference(this);var d=new Set(this);return d.symmetricDifference(c)},s.isSubsetOf=function(c){return new Set(this).isSubsetOf(c)},s.isSupersetOf=function(c){return new Set(this).isSupersetOf(c)},s.isDisjointFrom=function(c){if(zi(c)&&!Da(c))return c.isDisjointFrom(this);var d=new Set(this);return d.isDisjointFrom(c)},s.replace=function(c){var d=this;return Da(c)&&(c=new Set(c)),Ui(function(){Array.isArray(c)?(d.clear(),c.forEach(function(v){return d.add(v)})):zi(c)?(d.clear(),c.forEach(function(v){return d.add(v)})):c!=null&&le("Cannot initialize set from "+c)}),this},s.observe_=function(c,d){return Oh(this,c)},s.intercept_=function(c){return Mh(this,c)},s.toJSON=function(){return Array.from(this)},s.toString=function(){return"[object ObservableSet]"},s[Symbol.iterator]=function(){return this.values()},go(r,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])})(),Da=Kr("ObservableSet",R1);function op(r){return r[Symbol.toStringTag]="SetIterator",ND(r)}var fp=Object.create(null),hp="remove",N1=(function(){function r(l,c,d,v){c===void 0&&(c=new Map),v===void 0&&(v=Cm),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=l,this.values_=c,this.name_=d,this.defaultAnnotation_=v,this.keysAtom_=new Xr("ObservableObject.keys"),this.isPlainObject_=qi(this.target_)}var s=r.prototype;return s.getObservablePropValue_=function(c){return this.values_.get(c).get()},s.setObservablePropValue_=function(c,d){var v=this.values_.get(c);if(v instanceof ya)return v.set(d),!0;if(Qu(this)){var m=Zu(this,{type:ri,object:this.proxy_||this.target_,name:c,newValue:d});if(!m)return null;d=m.newValue}if(d=v.prepareNewValue_(d),d!==ft.UNCHANGED){var E=pa(this),x=!1,C=E||x?{type:ri,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:v.value_,name:c,newValue:d}:null;v.setNewValue_(d),E&&Aa(this,C)}return!0},s.get_=function(c){return ft.trackingDerivation&&!Hi(this.target_,c)&&this.has_(c),this.target_[c]},s.set_=function(c,d,v){return v===void 0&&(v=!1),Hi(this.target_,c)?this.values_.has(c)?this.setObservablePropValue_(c,d):v?Reflect.set(this.target_,c,d):(this.target_[c]=d,!0):this.extend_(c,{value:d,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,v)},s.has_=function(c){if(!ft.trackingDerivation)return c in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var d=this.pendingKeys_.get(c);return d||(d=new Zr(c in this.target_,Ng,"ObservableObject.key?",!1),this.pendingKeys_.set(c,d)),d.get()},s.make_=function(c,d){if(d===!0&&(d=this.defaultAnnotation_),d!==!1){if(!(c in this.target_)){var v;if((v=this.target_[ni])!=null&&v[c])return;le(1,d.annotationType_,this.name_+"."+c.toString())}for(var m=this.target_;m&&m!==xh;){var E=pg(m,c);if(E){var x=d.make_(this,c,E,m);if(x===0)return;if(x===1)break}m=Object.getPrototypeOf(m)}gp(this,d,c)}},s.extend_=function(c,d,v,m){if(m===void 0&&(m=!1),v===!0&&(v=this.defaultAnnotation_),v===!1)return this.defineProperty_(c,d,m);var E=v.extend_(this,c,d,m);return E&&gp(this,v,c),E},s.defineProperty_=function(c,d,v){v===void 0&&(v=!1),this.keysAtom_;try{Ku();var m=this.delete_(c);if(!m)return m;if(Qu(this)){var E=Zu(this,{object:this.proxy_||this.target_,name:c,type:Vr,newValue:d.value});if(!E)return null;var x=E.newValue;d.value!==x&&(d=Ds({},d,{value:x}))}if(v){if(!Reflect.defineProperty(this.target_,c,d))return!1}else ai(this.target_,c,d);this.notifyPropertyAddition_(c,d.value)}finally{Xu()}return!0},s.defineObservableProperty_=function(c,d,v,m){m===void 0&&(m=!1),this.keysAtom_;try{Ku();var E=this.delete_(c);if(!E)return E;if(Qu(this)){var x=Zu(this,{object:this.proxy_||this.target_,name:c,type:Vr,newValue:d});if(!x)return null;d=x.newValue}var C=dp(c),O={configurable:ft.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:C.get,set:C.set};if(m){if(!Reflect.defineProperty(this.target_,c,O))return!1}else ai(this.target_,c,O);var H=new Zr(d,v,"ObservableObject.key",!1);this.values_.set(c,H),this.notifyPropertyAddition_(c,H.value_)}finally{Xu()}return!0},s.defineComputedProperty_=function(c,d,v){v===void 0&&(v=!1),this.keysAtom_;try{Ku();var m=this.delete_(c);if(!m)return m;if(Qu(this)){var E=Zu(this,{object:this.proxy_||this.target_,name:c,type:Vr,newValue:void 0});if(!E)return null}d.name||(d.name="ObservableObject.key"),d.context=this.proxy_||this.target_;var x=dp(c),C={configurable:ft.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:x.get,set:x.set};if(v){if(!Reflect.defineProperty(this.target_,c,C))return!1}else ai(this.target_,c,C);this.values_.set(c,new ya(d)),this.notifyPropertyAddition_(c,void 0)}finally{Xu()}return!0},s.delete_=function(c,d){if(d===void 0&&(d=!1),this.keysAtom_,!Hi(this.target_,c))return!0;if(Qu(this)){var v=Zu(this,{object:this.proxy_||this.target_,name:c,type:hp});if(!v)return null}try{var m;Ku();var E=pa(this),x=!1,C=this.values_.get(c),O=void 0;if(!C&&(E||x)){var H;O=(H=pg(this.target_,c))==null?void 0:H.value}if(d){if(!Reflect.deleteProperty(this.target_,c))return!1}else delete this.target_[c];if(C&&(this.values_.delete(c),C instanceof Zr&&(O=C.value_),m1(C)),this.keysAtom_.reportChanged(),(m=this.pendingKeys_)==null||(m=m.get(c))==null||m.set(c in this.target_),E||x){var Y={type:hp,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:O,name:c};E&&Aa(this,Y)}}finally{Xu()}return!0},s.observe_=function(c,d){return Oh(this,c)},s.intercept_=function(c){return Mh(this,c)},s.notifyPropertyAddition_=function(c,d){var v,m=pa(this),E=!1;if(m||E){var x=m||E?{type:Vr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:c,newValue:d}:null;m&&Aa(this,x)}(v=this.pendingKeys_)==null||(v=v.get(c))==null||v.set(!0),this.keysAtom_.reportChanged()},s.ownKeys_=function(){return this.keysAtom_.reportObserved(),co(this.target_)},s.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},r})();function ys(r,s){var l;if(Hi(r,Lt))return r;var c=(l=s?.name)!=null?l:"ObservableObject",d=new N1(r,new Map,String(c),Lm(s));return Eh(r,Lt,d),r}var B2=Kr("ObservableObjectAdministration",N1);function dp(r){return fp[r]||(fp[r]={get:function(){return this[Lt].getObservablePropValue_(r)},set:function(l){return this[Lt].setObservablePropValue_(r,l)}})}function Bh(r){return Rg(r)?B2(r[Lt]):!1}function gp(r,s,l){var c;(c=r.target_[ni])==null||delete c[l]}var R2=L1(0),N2=(function(){var r=!1,s={};return Object.defineProperty(s,"0",{set:function(){r=!0}}),Object.create(s)[0]=1,r===!1})(),rD=0,j1=function(){};function j2(r,s){Object.setPrototypeOf?Object.setPrototypeOf(r.prototype,s):r.prototype.__proto__!==void 0?r.prototype.__proto__=s:r.prototype=s}j2(j1,Array.prototype);var RD=(function(r){function s(c,d,v,m){var E;return v===void 0&&(v="ObservableArray"),m===void 0&&(m=!1),E=r.call(this)||this,Jr(function(){var x=new BD(v,d,m,!0);x.proxy_=E,Wp(E,Lt,x),c&&c.length&&E.spliceWithArray(0,0,c),N2&&Object.defineProperty(E,"0",R2)}),E}e1(s,r);var l=s.prototype;return l.concat=function(){this[Lt].atom_.reportObserved();for(var d=arguments.length,v=new Array(d),m=0;m<d;m++)v[m]=arguments[m];return Array.prototype.concat.apply(this.slice(),v.map(function(E){return Th(E)?E.slice():E}))},l[Symbol.iterator]=function(){var c=this,d=0;return ND({next:function(){return d<c.length?{value:c[d++],done:!1}:{done:!0,value:void 0}}})},go(s,[{key:"length",get:function(){return this[Lt].getArrayLength_()},set:function(d){this[Lt].setArrayLength_(d)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])})(j1);Object.entries(xg).forEach(function(r){var s=r[0],l=r[1];s!=="concat"&&Eh(RD.prototype,s,l)});function L1(r){return{enumerable:!1,configurable:!0,get:function(){return this[Lt].get_(r)},set:function(l){this[Lt].set_(r,l)}}}function L2(r){ai(RD.prototype,""+r,L1(r))}function z1(r){if(r>rD){for(var s=rD;s<r+100;s++)L2(s);rD=r}}z1(1e3);function z2(r,s,l){return new RD(r,s,l)}function Cg(r,s){if(typeof r=="object"&&r!==null){if(Th(r))return s!==void 0&&le(23),r[Lt].atom_;if(Da(r))return r.atom_;if(Ir(r)){if(s===void 0)return r.keysAtom_;var l=r.data_.get(s)||r.hasMap_.get(s);return l||le(25,s,_D(r)),l}if(Bh(r)){if(!s)return le(26);var c=r[Lt].values_.get(s);return c||le(27,s,_D(r)),c}if(wD(r)||wh(r)||_g(r))return r}else if(ma(r)&&_g(r[Lt]))return r[Lt];le(28)}function U2(r,s){if(r||le(29),wD(r)||wh(r)||_g(r)||Ir(r)||Da(r))return r;if(r[Lt])return r[Lt];le(24,r)}function _D(r,s){var l;if(s!==void 0)l=Cg(r,s);else{if(oo(r))return r.name;Bh(r)||Ir(r)||Da(r)?l=U2(r):l=Cg(r)}return l.name_}function Jr(r){var s=ms(),l=zg(!0);Ku();try{return r()}finally{Xu(),Ug(l),Gi(s)}}var vp=xh.toString;function U1(r,s,l){return l===void 0&&(l=-1),xD(r,s,l)}function xD(r,s,l,c,d){if(r===s)return r!==0||1/r===1/s;if(r==null||s==null)return!1;if(r!==r)return s!==s;var v=typeof r;if(v!=="function"&&v!=="object"&&typeof s!="object")return!1;var m=vp.call(r);if(m!==vp.call(s))return!1;switch(m){case"[object RegExp]":case"[object String]":return""+r==""+s;case"[object Number]":return+r!=+r?+s!=+s:+r==0?1/+r===1/s:+r==+s;case"[object Date]":case"[object Boolean]":return+r==+s;case"[object Symbol]":return typeof Symbol<"u"&&Symbol.valueOf.call(r)===Symbol.valueOf.call(s);case"[object Map]":case"[object Set]":l>=0&&l++;break}r=Dp(r),s=Dp(s);var E=m==="[object Array]";if(!E){if(typeof r!="object"||typeof s!="object")return!1;var x=r.constructor,C=s.constructor;if(x!==C&&!(ma(x)&&x instanceof x&&ma(C)&&C instanceof C)&&"constructor"in r&&"constructor"in s)return!1}if(l===0)return!1;l<0&&(l=-1),c=c||[],d=d||[];for(var O=c.length;O--;)if(c[O]===r)return d[O]===s;if(c.push(r),d.push(s),E){if(O=r.length,O!==s.length)return!1;for(;O--;)if(!xD(r[O],s[O],l-1,c,d))return!1}else{var H=Object.keys(r),Y=H.length;if(Object.keys(s).length!==Y)return!1;for(var et=0;et<Y;et++){var it=H[et];if(!(Hi(s,it)&&xD(r[it],s[it],l-1,c,d)))return!1}}return c.pop(),d.pop(),!0}function Dp(r){return Th(r)?r.slice():ho(r)||Ir(r)||zi(r)||Da(r)?Array.from(r.entries()):r}var pp,H2=((pp=Bg().Iterator)==null?void 0:pp.prototype)||{};function ND(r){return r[Symbol.iterator]=G2,Object.assign(Object.create(H2),r)}function G2(){return this}["Symbol","Map","Set"].forEach(function(r){var s=Bg();typeof s[r]>"u"&&le("MobX requires global '"+r+"' to be available or polyfilled")});typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:e2,extras:{getDebugName:_D},$mobx:Lt});const we={auth:r=>qe.call("auth",r,[]),channelClose:r=>qe.call("channelClose",r,[]),channelDeleteMessage:r=>qe.call("channelDeleteMessage",r,[]),channelDocumentUpload:r=>qe.callFormData("channelDocumentUpload",r),channelInfo:(r,s)=>qe.call("channelInfo",r,s),channelList:(r,s)=>qe.call("channelList",r,s),channelMessages:(r,s)=>qe.call("channelMessages",r,s),channelReaction:r=>qe.call("channelReaction",r,[]),channelSendMessage:(r,s)=>qe.call("channelSendMessage",r,s),channelVoiceUpload:r=>qe.callFormData("channelVoiceUpload",r),fastAnswers:()=>qe.call("fastAnswers",{},[]),joinChannel:r=>qe.call("joinChannel",r,[]),joinChannelList:(r,s)=>qe.call("joinChannelList",r,s),mFastAnswers:r=>qe.call("mFastAnswers",r,[]),mode:()=>qe.call("mode",{},[]),pinnedMessage:r=>qe.call("pinnedMessage",r,[]),profileID:()=>qe.call("profileID",{},[])},q2=we.mFastAnswers,Ap=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{const s=crypto.getRandomValues(new Uint8Array(1))[0]&15;return(r==="x"?s:s&3|8).toString(16)}),Y2=(r,s)=>{const l=new TextEncoder().encode(r),c=new TextEncoder().encode(s),d=new Uint8Array(l.length);for(let v=0;v<l.length;v++)d[v]=l[v]^c[v%c.length];return btoa(String.fromCharCode(...Array.from(d)))},fg=(r,s)=>{const l=atob(r),c=new Uint8Array(l.length);for(let m=0;m<l.length;m++)c[m]=l.charCodeAt(m);const d=new TextEncoder().encode(s),v=new Uint8Array(c.length);for(let m=0;m<c.length;m++)v[m]=c[m]^d[m%d.length];return new TextDecoder().decode(v)};class qe{static endpoints=[];static ENDPOINT_INDEX_KEY="rpcClient_endpointIndex";static currentEndpointIndex=0;static initialized=!1;static headers={};static tokenGetter=null;static tokenGetterAsync=null;static unauthorizedHandler=null;static networkErrorHandler=null;static toastHandler=null;static storage=null;static getRedirectURL(s){let l="/redirect?to="+encodeURIComponent(s);return this.getCurrentEndpointDomain()+l}static defaultExtensions=[];static setDefaultExtensions(s){this.defaultExtensions=s}static abortControllerTimeout=3e4;static setAbortControllerTimeout(s){this.abortControllerTimeout=s}static setStorage(s){this.storage=s}static useEncrypt=!1;static setUseEncrypt(s){this.useEncrypt=s}static setNetworkErrorHandler(s){this.networkErrorHandler=s}static async init(){if(!this.initialized){if(this.storage)try{const s=await this.storage.get(this.ENDPOINT_INDEX_KEY);if(s!==null){const l=parseInt(s,10);!isNaN(l)&&l>=0&&l<this.endpoints.length&&(this.currentEndpointIndex=l)}}catch(s){console.log("⚠️ Ошибка при загрузке индекса endpoint:",s)}else this.currentEndpointIndex=0;this.initialized=!0}}static async saveEndpointIndex(){if(this.storage)try{await this.storage.save(this.ENDPOINT_INDEX_KEY,this.currentEndpointIndex.toString())}catch(s){console.log("⚠️ Ошибка при сохранении индекса endpoint:",s)}}static switchToNextEndpoint(){this.endpoints.length<=1||(this.currentEndpointIndex=(this.currentEndpointIndex+1)%this.endpoints.length,this.saveEndpointIndex())}static async waitForEndpoints(){if(this.endpoints.length>0){await this.init();return}if(await new Promise(s=>setTimeout(s,1e3)),this.endpoints.length===0)throw new Error("Endpoints are not set")}static getCurrentEndpoint(){if(this.endpoints.length===0)throw new Error("Endpoints are not set");return this.endpoints[this.currentEndpointIndex]}static getCurrentEndpointDomain(){let s=this.getCurrentEndpoint().split("://")[0],c=this.getCurrentEndpoint().split("://")[1].split("/")[0];return`${s}://${c}`}static isNetworkError(s){return s.name==="AbortError"||s.name==="TimeoutError"||s.name==="TypeError"||s.message?.includes("Network request failed")||s.message?.includes("Failed to fetch")||s.message?.includes("NetworkError")}static setToken(s){this.tokenGetter=s}static setTokenAsync(s){this.tokenGetterAsync=s}static setUnauthorizedHandler(s){this.unauthorizedHandler=s}static setToast(s){this.toastHandler=s}static setEndpoints(s){this.endpoints=s,this.currentEndpointIndex=0,this.initialized=!1}static getToken(){return this.tokenGetter?this.tokenGetter():null}static async getTokenAsync(){return this.tokenGetter?this.tokenGetter():this.tokenGetterAsync?await this.tokenGetterAsync():null}static setHeaders(s){this.headers={...this.headers,...s}}static handleError(s){(s?.type==="UNAUTHORIZED"||s?.type==="UNAUTHENTICATED")&&this.unauthorizedHandler&&this.unauthorizedHandler(),s?.message&&this.toastHandler&&this.toastHandler(s.message)}static async callFormData(s,l){await this.waitForEndpoints();const c=this.getCurrentEndpoint();l.append("method",s);let d=await this.getTokenAsync();d&&l.append("token",d),l.append("timezone",Intl.DateTimeFormat().resolvedOptions().timeZone);const v=this.useEncrypt?Ap():void 0;this.useEncrypt&&v&&l.append("context",v);const m={...this.headers};delete m["Content-Type"];const E=new AbortController,x=setTimeout(()=>{E.abort()},this.abortControllerTimeout);return fetch(c,{method:"POST",headers:m,body:l,signal:E.signal}).then(C=>C.json()).then(C=>{if(clearTimeout(x),this.useEncrypt&&v&&(C.result&&(C.result=JSON.parse(fg(C.result,v))),C.extensions&&(C.extensions=JSON.parse(fg(C.extensions,v)))),C?.error)throw this.handleError(C.error),C.error;return this.saveEndpointIndex(),C.result}).catch(C=>{throw clearTimeout(x),this.isNetworkError(C)&&(this.networkErrorHandler&&this.networkErrorHandler(),this.switchToNextEndpoint()),C})}static async call(s,l,c){await this.waitForEndpoints();const d=this.getCurrentEndpoint(),v=this.useEncrypt?Ap():void 0;let m=c??this.defaultExtensions;const E=await this.getTokenAsync(),x={method:s,extensions:m,context:v,token:E,params:l?v?Y2(JSON.stringify(l??{}),v):l:void 0,id:Date.now().toString()};console.log("🚀🚀🚀 method: ",s," RPC Endpoint: ",d),console.log("🚀🚀🚀 method: ",s," RPC Body: ",JSON.stringify(x));const C=new AbortController,O=setTimeout(()=>{C.abort()},this.abortControllerTimeout);return fetch(d,{method:"POST",headers:{"Content-Type":"application/json",timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.headers},body:JSON.stringify(x),signal:C.signal}).then(H=>H.json()).then(H=>{if(clearTimeout(O),this.useEncrypt&&v&&(H.result&&(H.result=JSON.parse(fg(H.result,v))),H.extensions&&(H.extensions=JSON.parse(fg(H.extensions,v)))),console.log("🍪🍪🍪 method: ",s," RPC Response: ",JSON.stringify(H)),H?.error)throw this.handleError(H.error),H.error;return this.saveEndpointIndex(),H?.extensions&&jD.addToStore(H.extensions),H}).catch(H=>{throw clearTimeout(O),this.isNetworkError(H)&&(this.networkErrorHandler&&this.networkErrorHandler(),this.switchToNextEndpoint()),console.log("🛑🛑🛑 RPC Error: ",JSON.stringify(x)),H})}}class jD{static storage=null;static async loadFromStorage(){if(this.storage){const s=await this.storage.get("extensionsStore");if(s)try{let l=JSON.parse(s);hD.map(l,(c,d)=>{c&&(this.store?.[d]?this.store[d]={...this.store[d],...c}:this.store[d]=c)})}catch(l){console.error("⚠️ Ошибка при загрузке extensionsStore из storage:",l)}}}static saveToStorage=hD.debounce(()=>{this.storage&&this.storage.save("extensionsStore",JSON.stringify(b2(this.store)))},1e3);static store=hn({shmChannelMessages:{},shmChannels:{}});static addToStore(s){if(s?.shmChannelMessages&&s?.shmChannelMessages.length>0)for(const l of s?.shmChannelMessages)l?._id&&(this.store.shmChannelMessages[l._id]=l);if(s?.shmChannels&&s?.shmChannels.length>0)for(const l of s?.shmChannels)l?._id&&(this.store.shmChannels[l._id]=l);this.saveToStorage()}static shmChannelMessages(){return Object.values(this.store.shmChannelMessages)}static shmChannels(){return Object.values(this.store.shmChannels)}static shmChannelMessagesByID(s){return s?this.store.shmChannelMessages?.[s]?this.store.shmChannelMessages[s]:(console.info("📕 Extension shmChannelMessages not found by ID: "+s),null):null}static shmChannelsByID(s){return s?this.store.shmChannels?.[s]?this.store.shmChannels[s]:(console.info("📕 Extension shmChannels not found by ID: "+s),null):null}static shmChannelMessagesByIDs(s){if(!s)return[];let l=s.filter(d=>d!=null);const c=[];for(const d of l)this.store.shmChannelMessages[d]&&c.push(this.store.shmChannelMessages[d]);return c.length===0&&console.info("📕 Extensions shmChannelMessages not found by IDs: "+l.join(", ")),c}static shmChannelsByIDs(s){if(!s)return[];let l=s.filter(d=>d!=null);const c=[];for(const d of l)this.store.shmChannels[d]&&c.push(this.store.shmChannels[d]);return c.length===0&&console.info("📕 Extensions shmChannels not found by IDs: "+l.join(", ")),c}}var vg={exports:{}},Dg={exports:{}},k2=Dg.exports,mp;function H1(){return mp||(mp=1,(function(r,s){(function(l,c){r.exports=c()})(k2,(function(){var l=1e3,c=6e4,d=36e5,v="millisecond",m="second",E="minute",x="hour",C="day",O="week",H="month",Y="quarter",et="year",it="date",st="Invalid Date",pt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Tt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Dt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(bt){var rt=["th","st","nd","rd"],B=bt%100;return"["+bt+(rt[(B-20)%10]||rt[B]||rt[0])+"]"}},at=function(bt,rt,B){var V=String(bt);return!V||V.length>=rt?bt:""+Array(rt+1-V.length).join(B)+bt},ct={s:at,z:function(bt){var rt=-bt.utcOffset(),B=Math.abs(rt),V=Math.floor(B/60),Q=B%60;return(rt<=0?"+":"-")+at(V,2,"0")+":"+at(Q,2,"0")},m:function bt(rt,B){if(rt.date()<B.date())return-bt(B,rt);var V=12*(B.year()-rt.year())+(B.month()-rt.month()),Q=rt.clone().add(V,H),ht=B-Q<0,S=rt.clone().add(V+(ht?-1:1),H);return+(-(V+(B-Q)/(ht?Q-S:S-Q))||0)},a:function(bt){return bt<0?Math.ceil(bt)||0:Math.floor(bt)},p:function(bt){return{M:H,y:et,w:O,d:C,D:it,h:x,m:E,s:m,ms:v,Q:Y}[bt]||String(bt||"").toLowerCase().replace(/s$/,"")},u:function(bt){return bt===void 0}},X="en",ot={};ot[X]=Dt;var wt="$isDayjsObject",It=function(bt){return bt instanceof oe||!(!bt||!bt[wt])},re=function bt(rt,B,V){var Q;if(!rt)return X;if(typeof rt=="string"){var ht=rt.toLowerCase();ot[ht]&&(Q=ht),B&&(ot[ht]=B,Q=ht);var S=rt.split("-");if(!Q&&S.length>1)return bt(S[0])}else{var q=rt.name;ot[q]=rt,Q=q}return!V&&Q&&(X=Q),Q||!V&&X},Ht=function(bt,rt){if(It(bt))return bt.clone();var B=typeof rt=="object"?rt:{};return B.date=bt,B.args=arguments,new oe(B)},Ut=ct;Ut.l=re,Ut.i=It,Ut.w=function(bt,rt){return Ht(bt,{locale:rt.$L,utc:rt.$u,x:rt.$x,$offset:rt.$offset})};var oe=(function(){function bt(B){this.$L=re(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[wt]=!0}var rt=bt.prototype;return rt.parse=function(B){this.$d=(function(V){var Q=V.date,ht=V.utc;if(Q===null)return new Date(NaN);if(Ut.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var S=Q.match(pt);if(S){var q=S[2]-1||0,ut=(S[7]||"0").substring(0,3);return ht?new Date(Date.UTC(S[1],q,S[3]||1,S[4]||0,S[5]||0,S[6]||0,ut)):new Date(S[1],q,S[3]||1,S[4]||0,S[5]||0,S[6]||0,ut)}}return new Date(Q)})(B),this.init()},rt.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},rt.$utils=function(){return Ut},rt.isValid=function(){return this.$d.toString()!==st},rt.isSame=function(B,V){var Q=Ht(B);return this.startOf(V)<=Q&&Q<=this.endOf(V)},rt.isAfter=function(B,V){return Ht(B)<this.startOf(V)},rt.isBefore=function(B,V){return this.endOf(V)<Ht(B)},rt.$g=function(B,V,Q){return Ut.u(B)?this[V]:this.set(Q,B)},rt.unix=function(){return Math.floor(this.valueOf()/1e3)},rt.valueOf=function(){return this.$d.getTime()},rt.startOf=function(B,V){var Q=this,ht=!!Ut.u(V)||V,S=Ut.p(B),q=function(Le,ke){var tn=Ut.w(Q.$u?Date.UTC(Q.$y,ke,Le):new Date(Q.$y,ke,Le),Q);return ht?tn:tn.endOf(C)},ut=function(Le,ke){return Ut.w(Q.toDate()[Le].apply(Q.toDate("s"),(ht?[0,0,0,0]:[23,59,59,999]).slice(ke)),Q)},nt=this.$W,vt=this.$M,mt=this.$D,xt="set"+(this.$u?"UTC":"");switch(S){case et:return ht?q(1,0):q(31,11);case H:return ht?q(1,vt):q(0,vt+1);case O:var be=this.$locale().weekStart||0,Zt=(nt<be?nt+7:nt)-be;return q(ht?mt-Zt:mt+(6-Zt),vt);case C:case it:return ut(xt+"Hours",0);case x:return ut(xt+"Minutes",1);case E:return ut(xt+"Seconds",2);case m:return ut(xt+"Milliseconds",3);default:return this.clone()}},rt.endOf=function(B){return this.startOf(B,!1)},rt.$set=function(B,V){var Q,ht=Ut.p(B),S="set"+(this.$u?"UTC":""),q=(Q={},Q[C]=S+"Date",Q[it]=S+"Date",Q[H]=S+"Month",Q[et]=S+"FullYear",Q[x]=S+"Hours",Q[E]=S+"Minutes",Q[m]=S+"Seconds",Q[v]=S+"Milliseconds",Q)[ht],ut=ht===C?this.$D+(V-this.$W):V;if(ht===H||ht===et){var nt=this.clone().set(it,1);nt.$d[q](ut),nt.init(),this.$d=nt.set(it,Math.min(this.$D,nt.daysInMonth())).$d}else q&&this.$d[q](ut);return this.init(),this},rt.set=function(B,V){return this.clone().$set(B,V)},rt.get=function(B){return this[Ut.p(B)]()},rt.add=function(B,V){var Q,ht=this;B=Number(B);var S=Ut.p(V),q=function(vt){var mt=Ht(ht);return Ut.w(mt.date(mt.date()+Math.round(vt*B)),ht)};if(S===H)return this.set(H,this.$M+B);if(S===et)return this.set(et,this.$y+B);if(S===C)return q(1);if(S===O)return q(7);var ut=(Q={},Q[E]=c,Q[x]=d,Q[m]=l,Q)[S]||1,nt=this.$d.getTime()+B*ut;return Ut.w(nt,this)},rt.subtract=function(B,V){return this.add(-1*B,V)},rt.format=function(B){var V=this,Q=this.$locale();if(!this.isValid())return Q.invalidDate||st;var ht=B||"YYYY-MM-DDTHH:mm:ssZ",S=Ut.z(this),q=this.$H,ut=this.$m,nt=this.$M,vt=Q.weekdays,mt=Q.months,xt=Q.meridiem,be=function(ke,tn,Cn,Du){return ke&&(ke[tn]||ke(V,ht))||Cn[tn].slice(0,Du)},Zt=function(ke){return Ut.s(q%12||12,ke,"0")},Le=xt||function(ke,tn,Cn){var Du=ke<12?"AM":"PM";return Cn?Du.toLowerCase():Du};return ht.replace(Tt,(function(ke,tn){return tn||(function(Cn){switch(Cn){case"YY":return String(V.$y).slice(-2);case"YYYY":return Ut.s(V.$y,4,"0");case"M":return nt+1;case"MM":return Ut.s(nt+1,2,"0");case"MMM":return be(Q.monthsShort,nt,mt,3);case"MMMM":return be(mt,nt);case"D":return V.$D;case"DD":return Ut.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return be(Q.weekdaysMin,V.$W,vt,2);case"ddd":return be(Q.weekdaysShort,V.$W,vt,3);case"dddd":return vt[V.$W];case"H":return String(q);case"HH":return Ut.s(q,2,"0");case"h":return Zt(1);case"hh":return Zt(2);case"a":return Le(q,ut,!0);case"A":return Le(q,ut,!1);case"m":return String(ut);case"mm":return Ut.s(ut,2,"0");case"s":return String(V.$s);case"ss":return Ut.s(V.$s,2,"0");case"SSS":return Ut.s(V.$ms,3,"0");case"Z":return S}return null})(ke)||S.replace(":","")}))},rt.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},rt.diff=function(B,V,Q){var ht,S=this,q=Ut.p(V),ut=Ht(B),nt=(ut.utcOffset()-this.utcOffset())*c,vt=this-ut,mt=function(){return Ut.m(S,ut)};switch(q){case et:ht=mt()/12;break;case H:ht=mt();break;case Y:ht=mt()/3;break;case O:ht=(vt-nt)/6048e5;break;case C:ht=(vt-nt)/864e5;break;case x:ht=vt/d;break;case E:ht=vt/c;break;case m:ht=vt/l;break;default:ht=vt}return Q?ht:Ut.a(ht)},rt.daysInMonth=function(){return this.endOf(H).$D},rt.$locale=function(){return ot[this.$L]},rt.locale=function(B,V){if(!B)return this.$L;var Q=this.clone(),ht=re(B,V,!0);return ht&&(Q.$L=ht),Q},rt.clone=function(){return Ut.w(this.$d,this)},rt.toDate=function(){return new Date(this.valueOf())},rt.toJSON=function(){return this.isValid()?this.toISOString():null},rt.toISOString=function(){return this.$d.toISOString()},rt.toString=function(){return this.$d.toUTCString()},bt})(),dn=oe.prototype;return Ht.prototype=dn,[["$ms",v],["$s",m],["$m",E],["$H",x],["$W",C],["$M",H],["$y",et],["$D",it]].forEach((function(bt){dn[bt[1]]=function(rt){return this.$g(rt,bt[0],bt[1])}})),Ht.extend=function(bt,rt){return bt.$i||(bt(rt,oe,Ht),bt.$i=!0),Ht},Ht.locale=re,Ht.isDayjs=It,Ht.unix=function(bt){return Ht(1e3*bt)},Ht.en=ot[X],Ht.Ls=ot,Ht.p={},Ht}))})(Dg)),Dg.exports}var V2=vg.exports,yp;function Q2(){return yp||(yp=1,(function(r,s){(function(l,c){r.exports=c(H1())})(V2,(function(l){function c(it){return it&&typeof it=="object"&&"default"in it?it:{default:it}}var d=c(l),v="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),m="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),E="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),x="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),C=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function O(it,st,pt){var Tt,Dt;return pt==="m"?st?"минута":"минуту":it+" "+(Tt=+it,Dt={mm:st?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[pt].split("_"),Tt%10==1&&Tt%100!=11?Dt[0]:Tt%10>=2&&Tt%10<=4&&(Tt%100<10||Tt%100>=20)?Dt[1]:Dt[2])}var H=function(it,st){return C.test(st)?v[it.month()]:m[it.month()]};H.s=m,H.f=v;var Y=function(it,st){return C.test(st)?E[it.month()]:x[it.month()]};Y.s=x,Y.f=E;var et={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:H,monthsShort:Y,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:O,mm:O,h:"час",hh:O,d:"день",dd:O,M:"месяц",MM:O,y:"год",yy:O},ordinal:function(it){return it},meridiem:function(it){return it<4?"ночи":it<12?"утра":it<17?"дня":"вечера"}};return d.default.locale(et,null,!0),et}))})(vg)),vg.exports}Q2();var K=Tg();const Iu=FD(K);var Z2=H1();const Pe=FD(Z2);if(!K.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!E2)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var G1=Zp();function K2(r){r()}function X2(r){r||(r=K2),g2({reactionScheduler:r})}function I2(r){return v2(r)}var J2=1e4,$2=1e4,W2=(function(){function r(s){var l=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:s}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(c){c===void 0&&(c=J2),clearTimeout(l.sweepTimeout),l.sweepTimeout=void 0;var d=Date.now();l.registrations.forEach(function(v,m){d-v.registeredAt>=c&&(l.finalize(v.value),l.registrations.delete(m))}),l.registrations.size>0&&l.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){l.sweep(0)}})}return Object.defineProperty(r.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(s,l,c){this.registrations.set(c,{value:l,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(r.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(s){this.registrations.delete(s)}}),Object.defineProperty(r.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,$2))}}),r})(),P2=typeof FinalizationRegistry<"u"?FinalizationRegistry:W2,yh=new P2(function(r){var s;(s=r.reaction)===null||s===void 0||s.dispose(),r.reaction=null}),lD={exports:{}},sD={};/**
 * @license React
 * use-sync-external-store-shim.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 bp;function ty(){if(bp)return sD;bp=1;var r=Tg();function s(H,Y){return H===Y&&(H!==0||1/H===1/Y)||H!==H&&Y!==Y}var l=typeof Object.is=="function"?Object.is:s,c=r.useState,d=r.useEffect,v=r.useLayoutEffect,m=r.useDebugValue;function E(H,Y){var et=Y(),it=c({inst:{value:et,getSnapshot:Y}}),st=it[0].inst,pt=it[1];return v(function(){st.value=et,st.getSnapshot=Y,x(st)&&pt({inst:st})},[H,et,Y]),d(function(){return x(st)&&pt({inst:st}),H(function(){x(st)&&pt({inst:st})})},[H]),m(et),et}function x(H){var Y=H.getSnapshot;H=H.value;try{var et=Y();return!l(H,et)}catch{return!0}}function C(H,Y){return Y()}var O=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?C:E;return sD.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:O,sD}var _p;function ey(){return _p||(_p=1,lD.exports=ty()),lD.exports}var ny=ey();function xp(r){r.reaction=new li("observer".concat(r.name),function(){var s;r.stateVersion=Symbol(),(s=r.onStoreChange)===null||s===void 0||s.call(r)})}function uy(r,s){s===void 0&&(s="observed");var l=Iu.useRef(null);if(!l.current){var c={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:s,subscribe:function(E){return yh.unregister(c),c.onStoreChange=E,c.reaction||(xp(c),c.stateVersion=Symbol()),function(){var x;c.onStoreChange=null,(x=c.reaction)===null||x===void 0||x.dispose(),c.reaction=null}},getSnapshot:function(){return c.stateVersion}};l.current=c}var d=l.current;d.reaction||(xp(d),yh.register(l,d,d)),Iu.useDebugValue(d.reaction,I2),ny.useSyncExternalStore(d.subscribe,d.getSnapshot,d.getSnapshot);var v,m;if(d.reaction.track(function(){try{v=r()}catch(E){m=E}}),m)throw m;return v}var cD,oD,q1=typeof Symbol=="function"&&Symbol.for,ay=(oD=(cD=Object.getOwnPropertyDescriptor(function(){},"name"))===null||cD===void 0?void 0:cD.configurable)!==null&&oD!==void 0?oD:!1,Ep=q1?Symbol.for("react.forward_ref"):typeof K.forwardRef=="function"&&K.forwardRef(function(r){return null}).$$typeof,Cp=q1?Symbol.for("react.memo"):typeof K.memo=="function"&&K.memo(function(r){return null}).$$typeof;function iy(r,s){var l;if(Cp&&r.$$typeof===Cp)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var c=(l=void 0)!==null&&l!==void 0?l:!1,d=r,v=r.displayName||r.name;if(Ep&&r.$$typeof===Ep&&(c=!0,d=r.render,typeof d!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var m=function(E,x){return uy(function(){return d(E,x)},v)};return m.displayName=r.displayName,ay&&Object.defineProperty(m,"name",{value:r.name,writable:!0,configurable:!0}),r.contextTypes&&(m.contextTypes=r.contextTypes),c&&(m=K.forwardRef(m)),m=K.memo(m),ly(r,m),m}var ry={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function ly(r,s){Object.keys(r).forEach(function(l){ry[l]||Object.defineProperty(s,l,Object.getOwnPropertyDescriptor(r,l))})}var fD;X2(G1.unstable_batchedUpdates);fD=yh.finalizeAllImmediately;function sy(r,s){if(Sp(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var l=Object.keys(r),c=Object.keys(s);if(l.length!==c.length)return!1;for(var d=0;d<l.length;d++)if(!Object.hasOwnProperty.call(s,l[d])||!Sp(r[l[d]],s[l[d]]))return!1;return!0}function Sp(r,s){return r===s?r!==0||1/r===1/s:r!==r&&s!==s}var Fp=Symbol("patchMixins"),Y1=Symbol("patchedDefinition");function cy(r,s){var l=r[Fp]=r[Fp]||{},c=l[s]=l[s]||{};return c.locks=c.locks||0,c.methods=c.methods||[],c}function wp(r,s){for(var l=this,c=arguments.length,d=new Array(c>2?c-2:0),v=2;v<c;v++)d[v-2]=arguments[v];s.locks++;try{var m;return r!=null&&(m=r.apply(this,d)),m}finally{s.locks--,s.locks===0&&s.methods.forEach(function(E){E.apply(l,d)})}}function Mp(r,s){var l=function(){for(var d=arguments.length,v=new Array(d),m=0;m<d;m++)v[m]=arguments[m];wp.call.apply(wp,[this,r,s].concat(v))};return l}function oy(r,s,l){var c=cy(r,s);c.methods.indexOf(l)<0&&c.methods.push(l);var d=Object.getOwnPropertyDescriptor(r,s);if(!(d&&d[Y1])){var v=r[s],m=k1(r,s,d?d.enumerable:void 0,c,v);Object.defineProperty(r,s,m)}}function k1(r,s,l,c,d){var v,m=Mp(d,c);return v={},v[Y1]=!0,v.get=function(){return m},v.set=function(x){if(this===r)m=Mp(x,c);else{var C=k1(this,s,l,c,x);Object.defineProperty(this,s,C)}},v.configurable=!0,v.enumerable=l,v}var Op=Symbol("ObserverAdministration"),Tp=Symbol("isMobXReactObserver");function ED(r){var s;return(s=r[Op])!=null?s:r[Op]={reaction:null,mounted:!1,reactionInvalidatedBeforeMount:!1,forceUpdate:null,name:CD(r.constructor),state:void 0,props:void 0,context:void 0}}function fy(r){var s=r.prototype;if(r[Tp]){var l=CD(r);throw new Error("The provided component class ("+l+") has already been declared as an observer component.")}else r[Tp]=!0;if(s.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(r.__proto__!==K.PureComponent){if(!s.shouldComponentUpdate)s.shouldComponentUpdate=Bp;else if(s.shouldComponentUpdate!==Bp)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}var c=s.render;if(typeof c!="function"){var d=CD(r);throw new Error("[mobx-react] class component ("+d+") is missing `render` method.\n`observer` requires `render` being a function defined on prototype.\n`render = () => {}` or `render = function() {}` is not supported.")}s.render=function(){return Object.defineProperty(this,"render",{configurable:!1,writable:!1,value:hy.call(this,c)}),this.render()};var v=s.componentDidMount;return s.componentDidMount=function(){var m=this,E=ED(this);return E.mounted=!0,yh.unregister(this),E.forceUpdate=function(){return m.forceUpdate()},(!E.reaction||E.reactionInvalidatedBeforeMount)&&E.forceUpdate(),v?.apply(this,arguments)},oy(s,"componentWillUnmount",function(){var m,E=ED(this);(m=E.reaction)==null||m.dispose(),E.reaction=null,E.forceUpdate=null,E.mounted=!1,E.reactionInvalidatedBeforeMount=!1}),r}function CD(r){return r.displayName||r.name||"<component>"}function hy(r){var s=r.bind(this),l=ED(this);function c(){l.reaction||(l.reaction=dy(l),l.mounted||yh.register(this,l,this));var d=void 0,v=void 0;if(l.reaction.track(function(){try{v=Qm(!1,s)}catch(m){d=m}}),d)throw d;return v}return c}function dy(r){return new li(r.name+".render()",function(){if(!r.mounted){r.reactionInvalidatedBeforeMount=!0;return}try{r.forceUpdate==null||r.forceUpdate()}catch{var s;(s=r.reaction)==null||s.dispose(),r.reaction=null}})}function Bp(r,s){return this.state!==s?!0:!sy(this.props,r)}function Yi(r,s){return r.isMobxInjector===!0&&console.warn("Mobx observer: You are trying to use `observer` on a component that already has `inject`. Please apply `observer` before applying `inject`"),Object.prototype.isPrototypeOf.call(K.Component,r)||Object.prototype.isPrototypeOf.call(K.PureComponent,r)?fy(r):iy(r)}Iu.version.split(".")[0];if(!K.Component)throw new Error("mobx-react requires React to be available");if(!hn)throw new Error("mobx-react requires mobx to be available");const V1=({opened:r,onClose:s,children:l,className:c=""})=>{const[d,v]=K.useState(r),[m,E]=K.useState(!1);if(K.useEffect(()=>{if(r)v(!0),requestAnimationFrame(()=>E(!0));else{E(!1);const C=setTimeout(()=>v(!1),180);return()=>clearTimeout(C)}},[r]),K.useEffect(()=>{if(!r)return;const C=O=>{O.key==="Escape"&&s()};return window.addEventListener("keydown",C),()=>window.removeEventListener("keydown",C)},[r,s]),!d)return null;const x=p.jsxs("div",{className:"fixed inset-0 z-[300] flex items-center justify-center p-4",children:[p.jsx("div",{className:`absolute inset-0 bg-black/50 transition-opacity duration-200 ${m?"opacity-100":"opacity-0"}`,onClick:s}),p.jsx("div",{className:`relative z-[1] mx-auto box-border min-w-0 w-full max-w-[400px] shrink-0 rounded-2xl bg-[var(--tg-bg)]
          shadow-2xl overflow-hidden
          transition-all duration-200 ${c}
          ${m?"opacity-100 scale-100":"opacity-0 scale-95"}
        `,children:l})]});return G1.createPortal(x,document.body)},Q1=K.createRef(),LD=r=>{Q1.current?.show(r)},Z1=K.forwardRef((r,s)=>{const[l,c]=K.useState(null);return K.useImperativeHandle(s,()=>({show:d=>c(d)})),p.jsx(V1,{opened:!!l,onClose:()=>c(null),children:l&&p.jsxs("div",{className:"p-5",children:[p.jsx("div",{className:"text-[17px] font-semibold mb-2 text-[var(--tg-text-primary)]",children:l.title}),l.content&&p.jsx("div",{className:"text-[15px] text-[var(--tg-text-secondary)] mb-5 leading-relaxed",children:l.content}),p.jsx("div",{className:"flex flex-col gap-1.5",children:l.buttons.map((d,v)=>{const m=d.variant==="danger"||/удал|выйти|закры/i.test(d.text),x=m?"text-[var(--tg-danger)] hover:bg-[var(--tg-danger-soft)]":v===0&&!m?"text-[var(--tg-accent)] hover:bg-[var(--tg-accent-soft)]":"text-[var(--tg-text-primary)] hover:bg-[var(--tg-bg-secondary)]";return p.jsx("button",{type:"button",onClick:()=>{d.onClick?.(),c(null)},className:`w-full h-11 rounded-xl font-medium text-[15px]
                    tg-press transition-colors ${x}
                  `,children:d.text},v)})})]})})});Z1.displayName="AlertRoot";var K1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Rp=Iu.createContext&&Iu.createContext(K1),gy=["attr","size","title"];function vy(r,s){if(r==null)return{};var l=Dy(r,s),c,d;if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(r);for(d=0;d<v.length;d++)c=v[d],!(s.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(r,c)&&(l[c]=r[c])}return l}function Dy(r,s){if(r==null)return{};var l={};for(var c in r)if(Object.prototype.hasOwnProperty.call(r,c)){if(s.indexOf(c)>=0)continue;l[c]=r[c]}return l}function Sg(){return Sg=Object.assign?Object.assign.bind():function(r){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(r[c]=l[c])}return r},Sg.apply(this,arguments)}function Np(r,s){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);s&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(r,d).enumerable})),l.push.apply(l,c)}return l}function Fg(r){for(var s=1;s<arguments.length;s++){var l=arguments[s]!=null?arguments[s]:{};s%2?Np(Object(l),!0).forEach(function(c){py(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):Np(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}function py(r,s,l){return s=Ay(s),s in r?Object.defineProperty(r,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[s]=l,r}function Ay(r){var s=my(r,"string");return typeof s=="symbol"?s:s+""}function my(r,s){if(typeof r!="object"||!r)return r;var l=r[Symbol.toPrimitive];if(l!==void 0){var c=l.call(r,s);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(r)}function X1(r){return r&&r.map((s,l)=>Iu.createElement(s.tag,Fg({key:l},s.attr),X1(s.child)))}function ee(r){return s=>Iu.createElement(yy,Sg({attr:Fg({},r.attr)},s),X1(r.child))}function yy(r){var s=l=>{var{attr:c,size:d,title:v}=r,m=vy(r,gy),E=d||l.size||"1em",x;return l.className&&(x=l.className),r.className&&(x=(x?x+" ":"")+r.className),Iu.createElement("svg",Sg({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},l.attr,c,m,{className:x,style:Fg(Fg({color:r.color||l.color},l.style),r.style),height:E,width:E,xmlns:"http://www.w3.org/2000/svg"}),v&&Iu.createElement("title",null,v),r.children)};return Rp!==void 0?Iu.createElement(Rp.Consumer,null,l=>s(l)):s(K1)}function zD(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 5v14"},child:[]},{tag:"path",attr:{d:"m19 12-7 7-7-7"},child:[]}]})(r)}function by(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m12 19-7-7 7-7"},child:[]},{tag:"path",attr:{d:"M19 12H5"},child:[]}]})(r)}function _y(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"},child:[]}]})(r)}function xy(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"22 12 16 12 14 15 10 15 8 12 2 12"},child:[]},{tag:"path",attr:{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"},child:[]}]})(r)}function Ey(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"},child:[]},{tag:"polyline",attr:{points:"16 17 21 12 16 7"},child:[]},{tag:"line",attr:{x1:"21",x2:"9",y1:"12",y2:"12"},child:[]}]})(r)}function Cy(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"4",x2:"20",y1:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"4",x2:"20",y1:"6",y2:"6"},child:[]},{tag:"line",attr:{x1:"4",x2:"20",y1:"18",y2:"18"},child:[]}]})(r)}function I1(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"},child:[]}]})(r)}function Sy(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"},child:[]}]})(r)}function Fy(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 17v5"},child:[]},{tag:"path",attr:{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"},child:[]}]})(r)}function wy(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M5 12h14"},child:[]},{tag:"path",attr:{d:"M12 5v14"},child:[]}]})(r)}function My(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"},child:[]},{tag:"path",attr:{d:"M21 3v5h-5"},child:[]}]})(r)}function Oy(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"},child:[]},{tag:"path",attr:{d:"m21 21-4.3-4.3"},child:[]}]})(r)}function Ty(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11v1a10 10 0 1 1-9-10"},child:[]},{tag:"path",attr:{d:"M8 14s1.5 2 4 2 4-2 4-2"},child:[]},{tag:"line",attr:{x1:"9",x2:"9.01",y1:"9",y2:"9"},child:[]},{tag:"line",attr:{x1:"15",x2:"15.01",y1:"9",y2:"9"},child:[]},{tag:"path",attr:{d:"M16 5h6"},child:[]},{tag:"path",attr:{d:"M19 2v6"},child:[]}]})(r)}function By(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"path",attr:{d:"M8 14s1.5 2 4 2 4-2 4-2"},child:[]},{tag:"line",attr:{x1:"9",x2:"9.01",y1:"9",y2:"9"},child:[]},{tag:"line",attr:{x1:"15",x2:"15.01",y1:"9",y2:"9"},child:[]}]})(r)}function J1(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 6h18"},child:[]},{tag:"path",attr:{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"},child:[]},{tag:"path",attr:{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",x2:"10",y1:"11",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",x2:"14",y1:"11",y2:"17"},child:[]}]})(r)}function Ry(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"},child:[]}]})(r)}function Ny(r){return ee({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},child:[]}]})(r)}function jy(r){return ee({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14H9V8h2v8zm4 0h-2V8h2v8z"},child:[]}]})(r)}function Ly(r){return ee({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.5 16.5v-9l7 4.5-7 4.5z"},child:[]}]})(r)}function zy(r){return ee({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},child:[]},{tag:"path",attr:{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},child:[]}]})(r)}function Hg(r){return ee({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(r)}class Uy{constructor(){O1(this)}fastAnswers=[];loadFastAnswers(){this.mode=="full"&&we.fastAnswers().then(({result:s})=>{this.fastAnswers=s??[]})}mode="widget";setMode(s){this.mode=s}isFixedChannel=!1;setIsFixedChannel(s){this.isFixedChannel=s}userID=null;loadUser(){return new Promise(s=>{we.profileID().then(({result:l})=>{this.userID=l??null,s(!0)})})}viewportWidth=typeof window<"u"?window.innerWidth:1024;setViewportWidth(s){this.viewportWidth=s}isMobile=()=>this.viewportWidth<768||this.cap;cap=!1;setCap(s){this.cap=s}channelTab="member";setChannelTab(s){this.channelTab=s}selectChannel=null;setSelectChannel(s){this.selectChannel=s}dialogsLoading=!1;channelList=[];channelListLastHash=null;joinChannelListLastHash=null;channelListPollingInterval=null;loadChannelList(){const s=this.channelList.length===0;s&&(this.dialogsLoading=!0);const l=!this.channelTab||this.channelTab==="member";(l?we.channelList({},["shmChannelMessages"]):we.joinChannelList({},["shmChannelMessages"])).then(({result:d})=>{fn(()=>{this.channelList=d?.data??[],l?this.channelListLastHash=d?.hash??null:this.joinChannelListLastHash=d?.hash??null})}).finally(()=>{fn(()=>{s&&(this.dialogsLoading=!1)})})}startChannelListPolling(){this.stopChannelListPolling();const s=5e3;this.channelListPollingInterval=setInterval(()=>{const l=!this.channelTab||this.channelTab==="member";(l?we.channelList:we.joinChannelList)({limit:50,offset:0,onlyHash:!0}).then(({result:d})=>{const v=l?this.channelListLastHash:this.joinChannelListLastHash;d!=null&&d!==v&&this.loadChannelList()})},s)}stopChannelListPolling(){this.channelListPollingInterval&&(clearInterval(this.channelListPollingInterval),this.channelListPollingInterval=null)}}const Et=new Uy,wg=({children:r,onClick:s,disabled:l,loading:c,variant:d="primary",size:v="md",className:m="",type:E="button",fullWidth:x})=>{const C={primary:"bg-[var(--tg-accent)] text-white hover:opacity-90 active:opacity-80",secondary:"bg-[var(--tg-bg-secondary)] text-[var(--tg-text-primary)] hover:bg-[var(--tg-divider)]",ghost:"bg-transparent text-[var(--tg-accent)] hover:bg-[var(--tg-accent-soft)]",danger:"bg-[var(--tg-danger)] text-white hover:opacity-90 active:opacity-80"},O={sm:"h-8 px-3 text-sm rounded-lg",md:"h-10 px-4 text-[15px] rounded-xl",lg:"h-12 px-5 text-[15px] rounded-xl"};return p.jsx("button",{type:E,onClick:s,disabled:l||c,className:`
        inline-flex items-center justify-center gap-2 font-medium
        transition-all duration-150
        ${C[d]}
        ${O[v]}
        ${x?"w-full":""}
        ${l||c?"opacity-50 pointer-events-none":""}
        ${m}
      `,children:c?p.jsx("span",{className:"inline-block w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}):r})},UD=({left:r,center:s,right:l,subnavbar:c,className:d=""})=>p.jsxs("div",{className:`shrink-0 flex flex-col bg-[var(--tg-bg)]
        border-b border-[var(--tg-divider)] z-10 ${d}`,children:[p.jsxs("div",{className:"flex items-center h-14 px-2 gap-2",children:[p.jsx("div",{className:"flex items-center shrink-0",children:r}),p.jsx("div",{className:"flex-1 min-w-0 flex items-center",children:s}),p.jsx("div",{className:"flex items-center shrink-0 gap-1",children:l})]}),c&&p.jsx("div",{className:"px-3 pb-3",children:c})]}),ui=K.forwardRef(({children:r,onClick:s,className:l="",disabled:c,title:d,size:v="md",active:m},E)=>{const x={sm:"w-8 h-8 text-[18px]",md:"w-10 h-10 text-[20px]",lg:"w-12 h-12 text-[22px]"};return p.jsx("button",{ref:E,type:"button",title:d,disabled:c,onClick:s,className:`
          inline-flex items-center justify-center rounded-full
          text-[var(--tg-text-secondary)]
          transition-colors duration-150
          hover:bg-[var(--tg-bg-secondary)]
          active:bg-[var(--tg-divider)]
          ${m?"text-[var(--tg-accent)] bg-[var(--tg-accent-soft)]":""}
          ${x[v]}
          ${c?"opacity-40 pointer-events-none":""}
          ${l}
        `,children:r})});ui.displayName="IconButton";const Mg=({value:r,onChange:s,label:l,placeholder:c,type:d="text",className:v="",autoFocus:m,multiline:E,rows:x=3})=>{const C=`
    w-full bg-[var(--tg-bg-secondary)] border-2 border-transparent
    rounded-xl px-3.5 py-2.5 text-[16px] md:text-[15px]
    text-[var(--tg-text-primary)]
    placeholder:text-[var(--tg-text-secondary)]
    outline-none focus:border-[var(--tg-accent)]
    transition-colors duration-150
  `;return p.jsxs("label",{className:`block ${v}`,children:[l&&p.jsx("span",{className:"block text-[13px] font-medium text-[var(--tg-text-secondary)] mb-1.5 px-0.5",children:l}),E?p.jsx("textarea",{rows:x,value:r,onChange:O=>s(O.target.value),placeholder:c,autoFocus:m,className:`${C} resize-none`}):p.jsx("input",{type:d,value:r,onChange:O=>s(O.target.value),placeholder:c,autoFocus:m,className:C})]})},SD=K.createRef(),$1=K.forwardRef((r,s)=>{const[l,c]=K.useState(!1),[d,v]=K.useState({name:"",text:""});return K.useImperativeHandle(s,()=>({open:m=>{c(!0),v(m??{name:"",text:""})},close:()=>c(!1)})),l?p.jsxs("div",{className:"fixed inset-0 z-[250] flex flex-col bg-[var(--tg-bg)] tg-slide-up",children:[p.jsx(UD,{left:p.jsx(ui,{onClick:()=>c(!1),children:p.jsx(Hg,{})}),center:p.jsx("div",{className:"text-[17px] font-semibold pl-2",children:"Быстрый ответ"})}),p.jsxs("div",{className:"flex-1 overflow-y-auto tg-scroll p-4 space-y-3",children:[p.jsx(Mg,{label:"Название",placeholder:"Введите название",value:d.name??"",onChange:m=>v(E=>({...E,name:m}))}),p.jsx(Mg,{label:"Текст",placeholder:"Введите текст быстрого ответа",value:d.text??"",onChange:m=>v(E=>({...E,text:m})),multiline:!0,rows:5})]}),p.jsxs("div",{className:"shrink-0 px-4 py-3 border-t border-[var(--tg-divider)] flex gap-2",children:[p.jsx(wg,{fullWidth:!0,disabled:!d.name||!d.text,onClick:()=>{we.mFastAnswers({id:d._id,name:d.name,text:d.text}).then(()=>{Et.loadFastAnswers(),c(!1)})},children:"Сохранить"}),!!d._id&&p.jsx(wg,{variant:"danger",onClick:()=>{LD({title:"Удалить быстрый ответ?",content:"Это действие нельзя отменить.",buttons:[{text:"Удалить",variant:"danger",onClick:()=>{q2({delete:!0,id:d._id}).then(()=>{Et.loadFastAnswers(),c(!1)})}},{text:"Отмена"}]})},children:p.jsx(J1,{size:18})})]})]}):null});$1.displayName="FastAnswerPopupRoot";function Gg(r){return ee({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"square",strokeMiterlimit:"10",strokeWidth:"44",d:"M465 127 241 384l-92-92m-9 93-93-93m316-165L236 273"},child:[]}]})(r)}function Hy(r){return ee({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"square",strokeMiterlimit:"10",strokeWidth:"44",d:"M416 128 192 384l-96-96"},child:[]}]})(r)}function W1(r){return ee({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m476.59 227.05-.16-.07L49.35 49.84A23.56 23.56 0 0 0 27.14 52 24.65 24.65 0 0 0 16 72.59v113.29a24 24 0 0 0 19.52 23.57l232.93 43.07a4 4 0 0 1 0 7.86L35.53 303.45A24 24 0 0 0 16 327v113.31A23.57 23.57 0 0 0 26.59 460a23.94 23.94 0 0 0 13.22 4 24.55 24.55 0 0 0 9.52-1.93L476.4 285.94l.19-.09a32 32 0 0 0 0-58.8z"},child:[]}]})(r)}const Gy=({opened:r,onClose:s,children:l,className:c=""})=>{const[d,v]=K.useState(r),[m,E]=K.useState(!1);return K.useEffect(()=>{if(r)v(!0),requestAnimationFrame(()=>E(!0));else{E(!1);const x=setTimeout(()=>v(!1),220);return()=>clearTimeout(x)}},[r]),d?p.jsxs("div",{className:"fixed inset-0 z-[200] flex items-end justify-center",children:[p.jsx("div",{className:`absolute inset-0 bg-black/40 transition-opacity duration-200 ${m?"opacity-100":"opacity-0"}`,onClick:s}),p.jsxs("div",{className:`relative w-full max-w-[600px] rounded-t-2xl bg-[var(--tg-bg)]
          shadow-2xl pb-[max(env(safe-area-inset-bottom),12px)]
          transition-transform duration-200 ${c}
          ${m?"translate-y-0":"translate-y-full"}
        `,children:[p.jsx("div",{className:"flex justify-center pt-2",children:p.jsx("div",{className:"w-10 h-1 rounded-full bg-[var(--tg-divider)]"})}),l]})]}):null},Og=42,qy=()=>Array.from({length:Og},(r,s)=>{const l=s/Og;return 5+Math.sin(l*Math.PI*3)*3}),Yy=({onCancel:r,onSend:s})=>{const[l,c]=K.useState(0),[d,v]=K.useState(!1),[m,E]=K.useState(qy),x=K.useRef(null),C=K.useRef(null),O=K.useRef(null),H=K.useRef(null),Y=K.useRef([]),et=K.useRef(!1),it=K.useRef(null),st=K.useRef(null),pt=K.useRef(0),Tt=K.useRef(null);K.useEffect(()=>{const ot=setTimeout(()=>v(!0),50);return()=>clearTimeout(ot)},[]),K.useEffect(()=>{if(et.current)return;et.current=!0;const ot=It=>{const re=window.AudioContext||window.webkitAudioContext;if(!re)return;const Ht=new re;it.current=Ht,Ht.resume().catch(()=>{});const Ut=Ht.createMediaStreamSource(It),oe=Ht.createAnalyser();oe.fftSize=256,oe.smoothingTimeConstant=.72,st.current=oe,Ut.connect(oe);const dn=oe.frequencyBinCount,bt=new Uint8Array(new ArrayBuffer(dn));Tt.current=bt;const rt=()=>{const B=st.current,V=Tt.current;if(!B||!V)return;B.getByteFrequencyData(V);const Q=Math.max(1,Math.floor(dn/Og)),ht=[];for(let S=0;S<Og;S++){let q=0;const ut=S*Q;for(let mt=0;mt<Q&&ut+mt<dn;mt++)q+=V[ut+mt]??0;const vt=4+q/Q/255*26;ht.push(Math.max(4,Math.min(30,vt)))}E(ht),pt.current=requestAnimationFrame(rt)};pt.current=requestAnimationFrame(rt)};return(async()=>{try{const It=await navigator.mediaDevices.getUserMedia({audio:!0});O.current=It;const re=new MediaRecorder(It,{mimeType:"audio/webm"});re.ondataavailable=Ht=>Y.current.push(Ht.data),re.onstop=()=>{const Ht=new Blob(Y.current,{type:"audio/webm"});x.current=Ht,Y.current=[]},re.start(),C.current=re,H.current=setInterval(()=>c(Ht=>Ht+1),1e3),ot(It)}catch(It){console.error("🎙 Доступ к микрофону отклонён",It),r()}})(),()=>{H.current&&clearInterval(H.current),pt.current&&cancelAnimationFrame(pt.current),it.current?.close()}},[r]);const Dt=()=>{pt.current&&cancelAnimationFrame(pt.current),pt.current=0,it.current?.close(),it.current=null,st.current=null,Tt.current=null,C.current?.stop(),O.current?.getTracks().forEach(ot=>ot.stop()),H.current&&clearInterval(H.current)},at=()=>{Dt(),setTimeout(()=>{x.current&&s(x.current)},200)},ct=()=>{Dt(),r()},X=ot=>`${Math.floor(ot/60)}:${(ot%60).toString().padStart(2,"0")}`;return p.jsxs(Gy,{opened:d,onClose:ct,children:[p.jsxs("div",{className:`mx-3 mb-2 mt-1 flex items-center gap-2 rounded-[22px] bg-[var(--tg-bg-secondary)]
          px-2 py-2 pl-3 pr-2 shadow-[0_1px_0_rgba(0,0,0,0.06)]`,children:[p.jsx("button",{type:"button",onClick:ct,className:`flex h-11 w-11 shrink-0 items-center justify-center rounded-full
            bg-[var(--tg-bg)] text-[var(--tg-text-secondary)] tg-press
            shadow-sm`,"aria-label":"Удалить запись",children:p.jsx(J1,{size:22,strokeWidth:2})}),p.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[p.jsx("div",{className:"flex h-8 items-end justify-center gap-[2px] px-1",children:m.map((ot,wt)=>p.jsx("div",{className:"w-[2.5px] shrink-0 rounded-full bg-[var(--tg-accent)]",style:{height:`${ot}px`,opacity:.35+ot/30*.65}},wt))}),p.jsxs("div",{className:"flex items-center justify-center gap-1.5",children:[p.jsx("span",{className:"inline-block h-2 w-2 shrink-0 rounded-full bg-[#e53935] shadow-[0_0_0_2px_rgba(229,57,53,0.25)]","aria-hidden":!0}),p.jsx("span",{className:"font-mono text-[13px] tabular-nums text-[var(--tg-text-primary)]",children:X(l)})]})]}),p.jsx("button",{type:"button",onClick:at,className:`flex h-11 w-11 shrink-0 items-center justify-center rounded-full
            bg-[var(--tg-accent)] text-white tg-press shadow-md`,"aria-label":"Отправить голосовое",children:p.jsx(W1,{size:20,className:"-ml-0.5"})})]}),p.jsx("p",{className:"px-4 pb-4 text-center text-[12px] text-[var(--tg-text-secondary)]",children:"Запись… Отправьте или удалите сообщение"})]})},P1=K.createRef(),tA=K.forwardRef((r,s)=>{const[l,c]=K.useState(!1),d=K.useRef(null);return K.useImperativeHandle(s,()=>({open:v=>{d.current=v,c(!0)},close:()=>{c(!1),d.current=null}})),l?p.jsx(Yy,{onCancel:()=>{d.current?.onClose(),c(!1),d.current=null},onSend:v=>{d.current?.onSend(v),c(!1),d.current=null}}):null});tA.displayName="RecordingSheetRoot";const eA=K.createRef(),HD=r=>{eA.current?.show(r)},nA=K.forwardRef((r,s)=>{const[l,c]=K.useState(null),[d,v]=K.useState(!1);return K.useImperativeHandle(s,()=>({show:m=>{c(m),v(!0)}})),K.useEffect(()=>{if(!d)return;const m=setTimeout(()=>v(!1),3e3);return()=>clearTimeout(m)},[d,l]),K.useEffect(()=>{if(d)return;const m=setTimeout(()=>c(null),250);return()=>clearTimeout(m)},[d]),l?p.jsx("div",{className:"fixed left-1/2 -translate-x-1/2 z-[400] pointer-events-none",style:{bottom:"calc(env(safe-area-inset-bottom) + 24px)"},children:p.jsx("div",{className:`pointer-events-auto px-4 py-2.5 rounded-2xl shadow-xl
          bg-black/85 text-white text-[14px] backdrop-blur-sm cursor-pointer
          transition-all duration-200 max-w-[80vw]
          ${d?"opacity-100 translate-y-0":"opacity-0 translate-y-2"}
        `,onClick:()=>v(!1),children:l})}):null});nA.displayName="ToastRoot";const Rh=window.location.hostname==="localhost"&&window.location.port!="8888",ky="1.0.0",Vy=()=>{if(Rh)return"http://localhost:8888/chat/widget";let r=window.location.href;return r=r.split("#")[0],r=r.split("?")[0],r};function jp(r){const s=new URLSearchParams(r.startsWith("?")?r.slice(1):r).get("style")?.toLowerCase();return s==="whatsapp"?"whatsapp":s==="instagram"?"instagram":"telegram"}const Qy=r=>null,Lp=["🦁","🐯","🦅","🦉","🦄","🐎","🦌","🐺","🐆","🦢","🐬","🐳","🦖","🦕","🐉","😎","🙂","😊","🧐","🤓","🤖","👾","🐱","🦊","🐻","🐼","🐨","🐯","🦁","🐸","🐙","🐶","🐱","🐰","🐻","🐼","🐨"],GD=r=>{let s=0;for(let c=0;c<r.length;c++)s=r.charCodeAt(c)+((s<<5)-s);const l=Math.abs(s)%Lp.length;return Lp[l]},zp=[["#FF885E","#FF516A"],["#FFCD6A","#FFA85C"],["#82B1FF","#665FFF"],["#A0DE7E","#54CB68"],["#53EDD6","#28C9B7"],["#72D5FD","#2A9EF1"],["#E0A2F3","#D669ED"],["#FF8AAC","#F95887"]],Zy=r=>{let s=0;for(let l=0;l<r.length;l++)s=r.charCodeAt(l)+((s<<5)-s);return zp[Math.abs(s)%zp.length]},bs=({id:r,size:s=40,className:l="",online:c})=>{const d=r??"",[v,m]=Zy(d),E=GD(d),x=Math.round(s*.55);return p.jsxs("div",{className:`relative shrink-0 ${l}`,style:{width:s,height:s},children:[p.jsx("div",{className:"w-full h-full rounded-full overflow-hidden flex items-center justify-center",style:{background:`linear-gradient(135deg, ${v} 0%, ${m} 100%)`,fontSize:x,lineHeight:1},children:p.jsx("span",{style:{filter:"drop-shadow(0 1px 1px rgba(0,0,0,0.15))"},children:E})}),c&&p.jsx("div",{className:"absolute bottom-0 right-0 rounded-full ring-2",style:{width:Math.max(8,s*.25),height:Math.max(8,s*.25),background:"#4fae4e","--tw-ring-color":"var(--tg-bg)"}})]})},Ky=({title:r,status:s,statusTone:l,avatarId:c,avatarSize:d=40})=>p.jsxs("div",{className:"flex items-center gap-3 min-w-0 pl-0.5",children:[p.jsx(bs,{id:c,size:d}),p.jsxs("div",{className:"min-w-0 flex flex-col justify-center",children:[p.jsx("div",{className:"text-[16px] font-semibold leading-tight truncate text-[var(--tg-text-primary)]",children:r}),p.jsx("div",{className:`text-[13px] leading-snug truncate mt-0.5 font-normal ${l==="muted"?"text-[var(--tg-text-secondary)]":"text-[var(--tg-accent)]"}`,children:s})]})]}),Xy=({onClick:r})=>p.jsx("div",{className:"flex justify-center mt-4 mb-2",children:p.jsx("button",{type:"button",onClick:r,className:"text-[13px] font-bold text-[var(--tg-danger)] hover:opacity-80 active:opacity-70 tg-press",children:"Закрыть обращение"})}),Iy=({ts:r})=>{const s=Pe.unix(r),l=Pe();let c=s.format("D MMMM");return s.isSame(l,"day")?c="Сегодня":s.isSame(l.subtract(1,"day"),"day")?c="Вчера":s.isSame(l,"year")&&(c=s.format("D MMMM")),p.jsx("div",{className:"flex justify-center my-3 sticky top-2 z-[5]",children:p.jsx("div",{className:"px-3 py-0.5 rounded-md text-[11px] font-bold uppercase tracking-[0.12em] text-[var(--tg-text-secondary)] bg-transparent",children:c})})},Jy=({avatarId:r,title:s,preview:l,timeLabel:c,selected:d,closed:v,switchBlocked:m,onClick:E,showReadCheck:x,unread:C})=>p.jsx("div",{className:"px-0.5",children:p.jsxs("button",{type:"button",disabled:m,onClick:E,className:`
        relative w-full flex items-center gap-3 rounded-2xl px-3 py-2.5 text-left
        transition-all duration-150 tg-press
        ${d?"bg-[var(--tg-bg)] shadow-md ring-1 ring-black/[0.07] dark:ring-white/[0.12]":"bg-[var(--tg-bg)]/80 hover:bg-[var(--tg-bg)] shadow-sm"}
        ${v&&!d?"opacity-55":""}
        ${m?"opacity-45 cursor-not-allowed":""}
      `,children:[p.jsx(bs,{id:r,size:56,className:"shrink-0"}),p.jsxs("div",{className:"flex-1 min-w-0 flex flex-col gap-1",children:[p.jsxs("div",{className:"flex items-baseline justify-between gap-2 min-w-0",children:[p.jsx("span",{className:"truncate text-[15px] font-bold tracking-tight text-[var(--tg-text-primary)]",children:s}),p.jsx("span",{className:"shrink-0 text-[12px] tabular-nums text-[var(--tg-text-secondary)]",children:c})]}),p.jsxs("div",{className:"flex items-center gap-1.5 min-w-0",children:[x&&p.jsx(Gg,{size:14,className:"shrink-0 text-[var(--tg-accent)]"}),p.jsx("span",{className:`flex-1 min-w-0 truncate text-[14px] leading-snug ${C>0&&!d?"text-[var(--tg-text-primary)] font-semibold":"text-[var(--tg-text-secondary)] font-normal"}`,children:l}),C>0&&p.jsx("span",{className:"shrink-0 min-w-[22px] h-[22px] px-1.5 inline-flex items-center justify-center rounded-full text-[12px] font-bold bg-[var(--tg-accent)] text-white",children:C>99?"99+":C})]})]})]})}),$y=()=>p.jsx("div",{className:"flex flex-col gap-2 px-2 py-2 bg-[var(--tg-bg-secondary)] min-h-0",children:[1,2,3,4,5].map(r=>p.jsxs("div",{className:"rounded-2xl bg-[var(--tg-bg)]/90 shadow-sm px-3 py-2.5 flex items-center gap-3",children:[p.jsx("div",{className:"w-14 h-14 rounded-full bg-[var(--tg-bg-secondary)] animate-pulse shrink-0"}),p.jsxs("div",{className:"flex-1 space-y-2",children:[p.jsxs("div",{className:"flex justify-between gap-2",children:[p.jsx("div",{className:"h-3.5 w-2/5 rounded-lg bg-[var(--tg-bg-secondary)] animate-pulse"}),p.jsx("div",{className:"h-2.5 w-10 rounded bg-[var(--tg-bg-secondary)] animate-pulse shrink-0"})]}),p.jsx("div",{className:"h-2.5 w-4/5 rounded-lg bg-[var(--tg-bg-secondary)] animate-pulse"})]})]},r))}),Wy=()=>p.jsxs("div",{className:"flex flex-col items-center justify-center py-28 px-8 bg-[var(--tg-bg-secondary)] text-center",children:[p.jsx("div",{className:"w-20 h-20 rounded-full bg-[var(--tg-bg)] flex items-center justify-center mb-5 shadow-inner border border-[var(--tg-divider)]",children:p.jsx(xy,{size:36,strokeWidth:1.25,className:"text-[var(--tg-text-secondary)]"})}),p.jsx("div",{className:"text-[17px] font-bold text-[var(--tg-text-primary)] tracking-tight",children:"Нет активных диалогов"}),p.jsx("p",{className:"text-[14px] text-[var(--tg-text-secondary)] mt-2 max-w-[260px] leading-relaxed",children:"Когда появятся новые сообщения, они отобразятся здесь"})]}),Py=({children:r})=>p.jsx("div",{className:"shrink-0 px-4 py-3 border-t border-[var(--tg-divider)] bg-[var(--tg-bg)]",children:r}),tb=({children:r})=>p.jsx("div",{className:"w-[34%] min-w-[288px] max-w-[420px] shrink-0 flex flex-col border-r border-[var(--tg-divider)] bg-[var(--tg-bg-secondary)]",children:r}),eb=({searchActive:r,search:s,onSearchChange:l,onSearchBlur:c})=>r?p.jsx("input",{autoFocus:!0,value:s,onChange:d=>l(d.target.value),onBlur:c,placeholder:"Поиск",className:"w-full h-9 px-3 rounded-full bg-[var(--tg-bg-secondary)] outline-none text-[14px] text-[var(--tg-text-primary)] placeholder:text-[var(--tg-text-secondary)] border border-transparent focus:border-[var(--tg-divider)]"}):p.jsx("div",{className:"text-[18px] font-semibold pl-1 tracking-tight text-[var(--tg-text-primary)]",children:"Сообщения"}),nb=()=>p.jsx("div",{className:"flex flex-col gap-3 px-3 py-4",children:[{side:"in",w:220},{side:"out",w:200},{side:"in",w:160},{side:"out",w:260},{side:"in",w:240}].map((r,s)=>p.jsx("div",{className:`flex ${r.side==="out"?"justify-end":"justify-start"}`,children:p.jsx("div",{className:r.side==="out"?"h-10 rounded-[22px] animate-pulse bg-gradient-to-r from-amber-300/55 via-pink-400/50 to-violet-500/45 dark:from-violet-950/80 dark:via-fuchsia-900/70 dark:to-pink-900/65 shadow-[0_2px_10px_rgba(0,0,0,0.08)]":"h-10 rounded-[22px] animate-pulse border border-black/[0.06] dark:border-white/[0.08] bg-[var(--tg-bg)]/70 backdrop-blur-[1px] shadow-[0_1px_6px_rgba(0,0,0,0.05)]",style:{width:r.w}})},s))}),ub=()=>p.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center tg-chat-bg px-8",children:[p.jsx("div",{className:"w-24 h-24 rounded-full border-2 border-dashed border-[var(--tg-divider)] flex items-center justify-center mb-6",children:p.jsx("span",{className:"text-[32px] leading-none opacity-40",children:"✉"})}),p.jsx("p",{className:"text-[17px] font-bold text-[var(--tg-text-primary)] text-center",children:"Ваши сообщения"}),p.jsx("p",{className:"text-[14px] text-[var(--tg-text-secondary)] text-center mt-2 max-w-[280px] leading-relaxed",children:"Отправляйте фото и сообщения лично или группам"})]}),ab=({children:r})=>p.jsx("div",{className:`relative flex-1 min-w-0 flex items-center pl-2 pr-1
    bg-[var(--tg-bg-secondary)] rounded-[22px]
    border-0`,children:r}),ib=({children:r})=>p.jsx("div",{className:"shrink-0 relative bg-[var(--tg-bg)] border-t border-[var(--tg-divider)] pb-safe",children:r}),rb=({visible:r,onClick:s,unread:l})=>p.jsxs("button",{type:"button","aria-hidden":!r,onClick:s,className:`
      absolute right-4 bottom-4 z-10
      w-12 h-12 rounded-full
      bg-[var(--tg-bg)] text-[var(--tg-accent)]
      shadow-[0_2px_12px_rgba(0,0,0,0.15)] dark:shadow-[0_2px_16px_rgba(0,0,0,0.5)]
      ring-2 ring-[var(--tg-accent)]/25
      inline-flex items-center justify-center
      transition-all duration-200 tg-press
      ${r?"opacity-100 scale-100 pointer-events-auto":"opacity-0 scale-90 pointer-events-none"}
    `,children:[p.jsx(zD,{size:22,strokeWidth:2.5}),l>0&&p.jsx("span",{className:`absolute -top-1 -right-1 min-w-[20px] h-5 px-1
          rounded-full text-[10px] font-bold
          inline-flex items-center justify-center
          bg-[var(--tg-danger)] text-white`,children:l>99?"99+":l})]}),lb={MainSidebarHeaderCenter:eb,MainDesktopSidebarShell:tb,NoChannelSelected:ub,DialogRow:Jy,DialogsListSkeleton:$y,EmptyDialogs:Wy,ChannelHeaderCenter:Ky,JoinChannelBar:Py,MessagesSkeleton:nb,DateChip:Iy,ScrollToBottomButton:rb,CloseConversationButton:Xy,BubbleTail:Qy,RichMessagebarRoot:ib,RichMessagebarComposerWrap:ab},sb=({isOut:r})=>{const s=r?"var(--tg-bubble-out)":"var(--tg-bubble-in)",l=r?"M0 0 L11 0 C11 9, 7 16, 0 17 Z":"M11 0 L0 0 C0 9, 4 16, 11 17 Z";return p.jsx("svg",{className:`absolute -bottom-px pointer-events-none ${r?"-right-[10px]":"-left-[10px]"}`,width:"11",height:"17",viewBox:"0 0 11 17","aria-hidden":!0,children:p.jsx("path",{d:l,fill:s})})},cb=({title:r,status:s,statusTone:l,avatarId:c,avatarSize:d=40})=>p.jsxs("div",{className:"flex items-center gap-3 min-w-0 pl-1",children:[p.jsx(bs,{id:c,size:d}),p.jsxs("div",{className:"min-w-0",children:[p.jsx("div",{className:"font-semibold text-[15px] leading-5 truncate text-[var(--tg-text-primary)]",children:r}),p.jsx("div",{className:`text-[12px] leading-4 truncate ${l==="muted"?"text-[var(--tg-text-secondary)]":"text-[var(--tg-accent)]"}`,children:s})]})]}),ob=({onClick:r})=>p.jsx("div",{className:"flex justify-center mt-3 mb-1",children:p.jsx("button",{type:"button",onClick:r,className:`px-3 py-1.5 rounded-full bg-[var(--tg-bg)]
                      text-[var(--tg-danger)] text-[13px] font-medium
                      border border-[var(--tg-danger-soft)]
                      shadow-sm tg-press hover:bg-[var(--tg-danger-soft)]`,children:"Закрыть обращение"})}),fb=({ts:r})=>{const s=Pe.unix(r),l=Pe();let c=s.format("D MMMM");return s.isSame(l,"day")?c="Сегодня":s.isSame(l.subtract(1,"day"),"day")?c="Вчера":s.isSame(l,"year")&&(c=s.format("D MMMM")),p.jsx("div",{className:"flex justify-center my-3 sticky top-2 z-[5]",children:p.jsx("div",{className:"px-3 py-1 rounded-full bg-black/40 text-white text-[12px] backdrop-blur-sm",children:c})})},uA=({children:r,variant:s="accent",className:l=""})=>{const c=s==="accent"?"bg-[var(--tg-accent)] text-white":"bg-[var(--tg-bg-secondary)] text-[var(--tg-text-secondary)]";return p.jsx("span",{className:`inline-flex items-center justify-center min-w-[20px] h-5 px-1.5
        text-xs font-semibold rounded-full ${c} ${l}`,children:r})},hb=({avatarId:r,title:s,preview:l,timeLabel:c,selected:d,closed:v,switchBlocked:m,onClick:E,showReadCheck:x,unread:C})=>p.jsxs("button",{type:"button",disabled:m,onClick:E,className:`
        relative w-full flex items-center gap-3 px-3 py-2 rounded-xl
        text-left tg-press transition-colors duration-150
        ${d?"bg-[var(--tg-bg-selected)] text-[var(--tg-bg-selected-text)]":"hover:bg-[var(--tg-bg-secondary)]"}
        ${v&&!d?"opacity-60":""}
        ${m?"opacity-50 cursor-not-allowed":""}
      `,children:[p.jsx(bs,{id:r,size:52}),p.jsxs("div",{className:"flex-1 min-w-0",children:[p.jsxs("div",{className:"flex items-center gap-2 mb-0.5",children:[p.jsx("div",{className:`flex-1 min-w-0 truncate font-semibold text-[15px] ${d?"text-white":"text-[var(--tg-text-primary)]"}`,children:s}),p.jsx("div",{className:`shrink-0 text-[12px] ${d?"text-white/80":"text-[var(--tg-text-secondary)]"}`,children:c})]}),p.jsxs("div",{className:"flex items-center gap-2",children:[x&&p.jsx(Gg,{size:16,className:d?"text-white":"text-[var(--tg-accent)]"}),p.jsx("div",{className:`flex-1 min-w-0 truncate text-[14px] ${d?"text-white/80":"text-[var(--tg-text-secondary)]"}`,children:l}),C>0&&!d&&p.jsx(uA,{variant:"accent",children:C}),C>0&&d&&p.jsx("span",{className:"inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 text-xs font-semibold rounded-full bg-white text-[var(--tg-bg-selected)]",children:C})]})]})]}),db=()=>p.jsx("div",{className:"px-2 py-1",children:[1,2,3,4,5].map(r=>p.jsxs("div",{className:"flex items-center gap-3 py-2.5 px-2",children:[p.jsx("div",{className:"w-[52px] h-[52px] rounded-full bg-[var(--tg-bg-secondary)] animate-pulse"}),p.jsxs("div",{className:"flex-1 space-y-2",children:[p.jsx("div",{className:"h-3 w-1/3 rounded bg-[var(--tg-bg-secondary)] animate-pulse"}),p.jsx("div",{className:"h-3 w-3/4 rounded bg-[var(--tg-bg-secondary)] animate-pulse"})]})]},r))}),gb=()=>p.jsxs("div",{className:"flex flex-col items-center justify-center py-20 opacity-60",children:[p.jsx(I1,{size:36,className:"mb-3 text-[var(--tg-text-secondary)]"}),p.jsx("div",{className:"text-[15px] text-[var(--tg-text-secondary)]",children:"Нет диалогов"})]}),vb=({children:r})=>p.jsx("div",{className:"shrink-0 px-3 py-3 border-t border-[var(--tg-divider)] bg-[var(--tg-bg)]",children:r}),Db=({children:r})=>p.jsx("div",{className:"w-[380px] shrink-0 flex flex-col border-r border-[var(--tg-divider)]",children:r}),pb=({searchActive:r,search:s,onSearchChange:l,onSearchBlur:c})=>r?p.jsx("input",{autoFocus:!0,value:s,onChange:d=>l(d.target.value),onBlur:c,placeholder:"Поиск",className:"w-full bg-[var(--tg-bg-secondary)] rounded-full h-9 px-4 outline-none text-[15px]"}):p.jsx("div",{className:"text-[18px] font-semibold pl-2",children:"Чаты"}),Ab=()=>p.jsx("div",{className:"flex flex-col gap-3 px-3 py-4",children:[{side:"in",w:200},{side:"out",w:240},{side:"in",w:120},{side:"out",w:180},{side:"in",w:220}].map((r,s)=>p.jsx("div",{className:`flex ${r.side==="out"?"justify-end":"justify-start"}`,children:p.jsx("div",{className:"h-10 rounded-2xl bg-black/10 dark:bg-white/10 animate-pulse",style:{width:r.w}})},s))}),mb=()=>p.jsx("div",{className:"flex-1 flex items-center justify-center  tg-chat-bg",children:p.jsx("div",{className:"rounded-2xl bg-black/30 dark:bg-white/10 px-4 py-2 text-white text-[14px] backdrop-blur-sm",children:"Выберите чат, чтобы начать общение"})}),yb=({children:r})=>p.jsx("div",{className:"relative flex-1 min-w-0 bg-[var(--tg-bg-secondary)] rounded-2xl flex items-end pr-1",children:r}),bb=({children:r})=>p.jsx("div",{className:"shrink-0 relative bg-[var(--tg-bg)] border-t border-[var(--tg-divider)]",children:r}),_b=({visible:r,onClick:s,unread:l})=>p.jsxs("button",{type:"button","aria-hidden":!r,onClick:s,className:`
            absolute right-3 bottom-3 z-10
            w-11 h-11 rounded-full
            bg-[var(--tg-bg)] border border-[var(--tg-divider)]
            shadow-md
            inline-flex items-center justify-center
            text-[var(--tg-text-secondary)]
            transition-all duration-200 tg-press
            ${r?"opacity-100 translate-y-0 pointer-events-auto":"opacity-0 translate-y-2 pointer-events-none"}
          `,children:[p.jsx(zD,{size:20}),l>0&&p.jsx("span",{className:`absolute -top-1 -right-1 min-w-[20px] h-5 px-1.5
                  rounded-full text-[11px] font-semibold
                  inline-flex items-center justify-center
                  bg-[var(--tg-accent)] text-white`,children:l>99?"99+":l})]}),xb={MainSidebarHeaderCenter:pb,MainDesktopSidebarShell:Db,NoChannelSelected:mb,DialogRow:hb,DialogsListSkeleton:db,EmptyDialogs:gb,ChannelHeaderCenter:cb,JoinChannelBar:vb,MessagesSkeleton:Ab,DateChip:fb,ScrollToBottomButton:_b,CloseConversationButton:ob,BubbleTail:sb,RichMessagebarRoot:bb,RichMessagebarComposerWrap:yb},Eb=r=>null,Cb=({title:r,status:s,statusTone:l,avatarId:c,avatarSize:d=40})=>p.jsxs("div",{className:"flex items-center gap-3 min-w-0 pl-0.5",children:[p.jsx(bs,{id:c,size:d}),p.jsxs("div",{className:"min-w-0 flex flex-col justify-center",children:[p.jsx("div",{className:"text-[16px] font-medium leading-tight truncate text-[var(--tg-text-primary)]",children:r}),p.jsx("div",{className:`text-[13px] leading-snug truncate mt-0.5 ${l==="muted"?"text-[var(--tg-text-secondary)]":"text-[var(--tg-accent)]"}`,children:s})]})]}),Sb=({onClick:r})=>p.jsx("div",{className:"flex justify-center mt-3 mb-1",children:p.jsx("button",{type:"button",onClick:r,className:`px-4 py-2 rounded-lg text-[14px] font-medium
        text-[var(--tg-danger)] bg-[var(--tg-bg)]
        border border-[var(--tg-danger-soft)]
        shadow-sm tg-press hover:bg-[var(--tg-danger-soft)]`,children:"Закрыть обращение"})}),Fb=({ts:r})=>{const s=Pe.unix(r),l=Pe();let c=s.format("D MMMM");return s.isSame(l,"day")?c="Сегодня":s.isSame(l.subtract(1,"day"),"day")?c="Вчера":s.isSame(l,"year")&&(c=s.format("D MMMM")),p.jsx("div",{className:"flex justify-center my-2 sticky top-2 z-[5]",children:p.jsx("div",{className:`px-2.5 py-1 rounded-lg text-[12px] font-medium shadow-sm
          bg-[#e1f4e5] dark:bg-[#182c24]
          text-[var(--tg-text-secondary)]`,children:c})})},wb=({avatarId:r,title:s,preview:l,timeLabel:c,selected:d,closed:v,switchBlocked:m,onClick:E,showReadCheck:x,unread:C})=>p.jsxs("button",{type:"button",disabled:m,onClick:E,className:`
      relative w-full flex items-start gap-3 px-3 py-2.5 text-left
      border-b border-[var(--tg-divider)] tg-press transition-colors duration-100
      ${d?"bg-[var(--tg-bg-selected)]":"hover:bg-[var(--tg-bg-secondary)]"}
      ${v&&!d?"opacity-65":""}
      ${m?"opacity-50 cursor-not-allowed":""}
    `,children:[p.jsx(bs,{id:r,size:49,className:"shrink-0 mt-0.5"}),p.jsxs("div",{className:"flex-1 min-w-0 flex flex-col gap-0.5",children:[p.jsxs("div",{className:"flex items-baseline justify-between gap-2 min-w-0",children:[p.jsx("span",{className:`truncate text-[16px] font-medium ${d?"text-[var(--tg-bg-selected-text)]":"text-[var(--tg-text-primary)]"}`,children:s}),p.jsx("span",{className:`shrink-0 text-[12px] tabular-nums ${d?"text-[var(--tg-bg-selected-text)] opacity-80":"text-[var(--tg-accent)]"}`,children:c})]}),p.jsxs("div",{className:"flex items-center gap-1.5 min-w-0",children:[x&&p.jsx(Gg,{size:15,className:d?"text-[var(--tg-bg-selected-text)] shrink-0 opacity-90":"text-[var(--tg-accent)] shrink-0"}),p.jsx("span",{className:`flex-1 min-w-0 truncate text-[14px] leading-tight ${d?"text-[var(--tg-bg-selected-text)] opacity-85":"text-[var(--tg-text-secondary)]"}`,children:l}),C>0&&!d&&p.jsx(uA,{variant:"accent",className:"shrink-0 scale-95",children:C}),C>0&&d&&p.jsx("span",{className:"shrink-0 inline-flex min-w-[20px] h-5 px-1.5 items-center justify-center rounded-full text-[11px] font-semibold bg-[var(--tg-accent)] text-white",children:C})]})]})]}),Mb=()=>p.jsx("div",{className:"bg-[var(--tg-bg)]",children:[1,2,3,4,5,6].map(r=>p.jsxs("div",{className:"flex items-start gap-3 px-3 py-2.5 border-b border-[var(--tg-divider)]",children:[p.jsx("div",{className:"w-[49px] h-[49px] rounded-full bg-[var(--tg-bg-secondary)] animate-pulse shrink-0"}),p.jsxs("div",{className:"flex-1 space-y-2 pt-1",children:[p.jsxs("div",{className:"flex justify-between gap-2",children:[p.jsx("div",{className:"h-3 w-2/5 rounded bg-[var(--tg-bg-secondary)] animate-pulse"}),p.jsx("div",{className:"h-2.5 w-10 rounded bg-[var(--tg-bg-secondary)] animate-pulse shrink-0"})]}),p.jsx("div",{className:"h-2.5 w-4/5 rounded bg-[var(--tg-bg-secondary)] animate-pulse"})]})]},r))}),Ob=()=>p.jsxs("div",{className:"flex flex-col items-center justify-center py-24 px-6 bg-[var(--tg-bg)]",children:[p.jsx(I1,{size:40,strokeWidth:1.25,className:"mb-4 text-[var(--tg-text-secondary)] opacity-70"}),p.jsx("div",{className:"text-[15px] text-[var(--tg-text-secondary)] text-center",children:"Нет диалогов"})]}),Tb=({children:r})=>p.jsx("div",{className:"shrink-0 px-3 py-3 border-t border-[var(--tg-divider)] bg-[var(--tg-bg-secondary)]",children:r}),Bb=({children:r})=>p.jsx("div",{className:"w-[30%] min-w-[300px] max-w-[420px] shrink-0 flex flex-col border-r border-[var(--tg-divider)] bg-[var(--tg-bg)]",children:r}),Rb=({searchActive:r,search:s,onSearchChange:l,onSearchBlur:c})=>r?p.jsx("input",{autoFocus:!0,value:s,onChange:d=>l(d.target.value),onBlur:c,placeholder:"Поиск",className:"w-full h-9 px-3 rounded-lg bg-[var(--tg-bg-secondary)] outline-none text-[14px] text-[var(--tg-text-primary)] placeholder:text-[var(--tg-text-secondary)]"}):p.jsx("div",{className:"text-[17px] font-medium pl-1 text-[var(--tg-text-primary)]",children:"Чаты"}),Nb=()=>p.jsx("div",{className:"flex flex-col gap-2 px-3 py-3",children:[{side:"in",w:210},{side:"out",w:260},{side:"in",w:140},{side:"out",w:200},{side:"in",w:230}].map((r,s)=>p.jsx("div",{className:`flex ${r.side==="out"?"justify-end":"justify-start"}`,children:p.jsx("div",{className:"h-9 rounded-md shadow-sm bg-black/[0.08] dark:bg-white/[0.12] animate-pulse",style:{width:r.w,borderRadius:"7.5px"}})},s))}),jb=()=>p.jsx("div",{className:"flex-1 flex items-center justify-center tg-chat-bg px-6",children:p.jsx("p",{className:"text-center text-[15px] text-[var(--tg-text-secondary)] max-w-sm leading-snug",children:"Выберите чат, чтобы начать общение"})}),Lb=({children:r})=>p.jsx("div",{className:`relative flex-1 min-w-0 flex items-end pr-0.5 pl-0.5
    bg-white dark:bg-[#2a3942]
    rounded-lg border border-[var(--tg-divider)]
    shadow-[0_1px_0_rgba(0,0,0,0.04)] dark:shadow-none`,children:r}),zb=({children:r})=>p.jsx("div",{className:"shrink-0 relative bg-[var(--tg-bg-secondary)] border-t border-[var(--tg-divider)]",children:r}),Ub=({visible:r,onClick:s,unread:l})=>p.jsxs("button",{type:"button","aria-hidden":!r,onClick:s,className:`
      absolute right-3 bottom-3 z-10
      w-12 h-12 rounded-full
      bg-[var(--tg-bg)] shadow-lg
      inline-flex items-center justify-center
      text-[var(--tg-accent)]
      transition-all duration-200 tg-press
      ring-1 ring-black/[0.06] dark:ring-white/[0.08]
      ${r?"opacity-100 translate-y-0 pointer-events-auto":"opacity-0 translate-y-2 pointer-events-none"}
    `,children:[p.jsx(zD,{size:22,strokeWidth:2}),l>0&&p.jsx("span",{className:`absolute -top-0.5 -right-0.5 min-w-[20px] h-5 px-1.5
          rounded-full text-[11px] font-semibold
          inline-flex items-center justify-center
          bg-[var(--tg-accent)] text-white shadow-sm`,children:l>99?"99+":l})]}),Hb={MainSidebarHeaderCenter:Rb,MainDesktopSidebarShell:Bb,NoChannelSelected:jb,DialogRow:wb,DialogsListSkeleton:Mb,EmptyDialogs:Ob,ChannelHeaderCenter:Cb,JoinChannelBar:Tb,MessagesSkeleton:Nb,DateChip:Fb,ScrollToBottomButton:Ub,CloseConversationButton:Sb,BubbleTail:Eb,RichMessagebarRoot:zb,RichMessagebarComposerWrap:Lb},Gb="telegram",qb={telegram:xb,whatsapp:Hb,instagram:lb};function Yb(r){return qb[r]}const aA=K.createContext(null);function kb({id:r=Gb,children:s}){const l=K.useMemo(()=>({id:r,components:Yb(r)}),[r]);return p.jsx(aA.Provider,{value:l,children:s})}function _s(){const r=K.useContext(aA);if(!r)throw new Error("usePresentation must be used within PresentationProvider");return r}const Vb="data:audio/mpeg;base64, ",gs=4096,Qb=2500,Zb=1e4,Kb=new Audio(Vb),Xb=()=>"tmp-"+Math.random().toString(36).slice(2,10),Up=()=>typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():Xb();class Ib{channelID=void 0;channel=null;joinInChannel=null;messagesList=[];pendingMessages=[];messagesLoading=!1;messagesFetchInFlight=0;initialChannelSwitchReady=!0;messagesLastHash=null;loadMessagesPollingInterval=null;loadMessagesScrollCallback=null;visibilityHandler=null;replyMsg=null;sending=!1;messageText="";recording=!1;pendingScrollToBottom=!1;constructor(){O1(this)}get pinnedMessage(){const s=this.messagesList?.filter(l=>l.pinned?.enabled);return s?.[s.length-1]??null}get displayMessages(){if(!this.pendingMessages.length)return this.messagesList;const s=new Set(this.messagesList.map(c=>c._id).filter(Boolean)),l=new Set(this.messagesList.map(c=>c.clientMessageId).filter(c=>typeof c=="string"&&c.length>0));return[...this.messagesList,...this.pendingMessages.filter(c=>c._id&&!s.has(c._id)&&!(c.clientMessageId&&l.has(c.clientMessageId)))]}openChannel(s){this.channelID=s,this.channel=null,this.joinInChannel=null,this.messagesList=[],this.pendingMessages=[],this.messagesLoading=!1,this.messagesFetchInFlight=0,this.replyMsg=null,this.pendingScrollToBottom=!1,this.loadMessagesPollingInterval&&(clearInterval(this.loadMessagesPollingInterval),this.loadMessagesPollingInterval=null),s?(this.initialChannelSwitchReady=!1,this.refreshChannel()):this.initialChannelSwitchReady=!0}refreshChannel(){if(this.channel=null,this.joinInChannel=null,!this.channelID)return;const s=this.channelID;we.channelInfo({channel:s}).then(({result:l})=>{fn(()=>{if(this.channelID===s)if(l){this.channel=l;const c=l?.members?.find(d=>d.owner==Et.userID);this.joinInChannel=!!c}else this.initialChannelSwitchReady=!0})}).catch(()=>{fn(()=>{this.channelID===s&&(this.initialChannelSwitchReady=!0)})})}updateChannelInfo(){this.channelID&&we.channelInfo({channel:this.channelID}).then(({result:s})=>{fn(()=>{if(s){this.channel=s;const l=s?.members?.find(c=>c.owner==Et.userID);this.joinInChannel=!!l}})})}prunePendingSyncedWithServer(){const s=new Set(this.messagesList.map(c=>c.clientMessageId).filter(c=>typeof c=="string"&&c.length>0));if(!s.size)return!1;const l=this.pendingMessages.length;return this.pendingMessages=this.pendingMessages.filter(c=>!c.clientMessageId||!s.has(c.clientMessageId)),this.pendingMessages.length<l}loadMessages(){if(!this.channel?._id)return Promise.resolve();const s=this.channel._id;return this.messagesList.length===0&&(this.messagesLoading=!0),fn(()=>{this.messagesFetchInFlight++}),we.channelMessages({channel:s,limit:50,offset:0},["shmChannelMessages"]).then(({result:c})=>{fn(()=>{this.channelID!==s||this.channel?._id!==s||(this.messagesList=c?.data??[],this.messagesLastHash=c?.hash??null,this.messagesLoading=!1,this.prunePendingSyncedWithServer()&&(this.pendingScrollToBottom=!0))})}).catch(()=>{fn(()=>{this.channelID!==s||this.channel?._id!==s||(this.messagesLoading=!1,this.pendingScrollToBottom=!1)})}).finally(()=>{fn(()=>{this.messagesFetchInFlight--,this.channelID===s&&(this.initialChannelSwitchReady=!0)})})}pollTick(s){this.messagesFetchInFlight>0||this.channel?._id&&we.channelMessages({channel:this.channel._id,limit:50,offset:0,onlyHash:!0}).then(({result:l})=>{Rh&&console.log("POLLING hash:",l?.hash,"last:",this.messagesLastHash),l?.hash!=null&&l.hash!==this.messagesLastHash&&(this.updateChannelInfo(),fn(()=>{this.messagesFetchInFlight++}),we.channelMessages({channel:this.channel._id,limit:50,offset:0},["shmChannelMessages"]).then(({result:c})=>{fn(()=>{const d=this.messagesList[this.messagesList.length-1]?._id,v=c?.data??[],m=v[v.length-1],E=m?._id;if(d&&E&&d!==E){s?.();const x=typeof document<"u"&&document.hidden;m?.owner!=Et.userID&&x&&Kb.play().catch(()=>{})}this.messagesList=v,this.messagesLastHash=c?.hash??null,this.prunePendingSyncedWithServer()&&(this.pendingScrollToBottom=!0)})}).finally(()=>{fn(()=>{this.messagesFetchInFlight--})}))})}startMessagesPolling(s){if(!this.channel?._id)return;this.stopMessagesPolling(),this.loadMessagesScrollCallback=s??null;const l=()=>{this.stopMessagesPolling();const c=typeof document<"u"&&document.hidden?Zb:Qb;this.loadMessagesPollingInterval=setInterval(()=>{this.pollTick(this.loadMessagesScrollCallback??void 0)},c)};if(l(),typeof document<"u"){const c=()=>{document.hidden||this.pollTick(this.loadMessagesScrollCallback??void 0),l()};this.visibilityHandler=c,document.addEventListener("visibilitychange",c)}}stopMessagesPolling(){this.loadMessagesPollingInterval&&(clearInterval(this.loadMessagesPollingInterval),this.loadMessagesPollingInterval=null),this.visibilityHandler&&typeof document<"u"&&(document.removeEventListener("visibilitychange",this.visibilityHandler),this.visibilityHandler=null)}setJoinInChannel(s){this.joinInChannel=s}setReplyMsg(s){this.replyMsg=s}setMessageText(s){this.messageText=s.length>gs?s.slice(0,gs):s}setRecording(s){this.recording=s}setSending(s){this.sending=s}clearPendingScrollToBottom(){this.pendingScrollToBottom=!1}removePending(s){this.pendingMessages=this.pendingMessages.filter(l=>l.__clientId!==s)}markPendingFailed(s){const l=this.pendingMessages.find(c=>c.__clientId===s);l&&(l.__status="failed")}retryPending(s){const l=this.pendingMessages.find(v=>v.__clientId===s);if(!l||!this.channel?._id)return;const c=l.clientMessageId??Up();l.clientMessageId||fn(()=>{l.clientMessageId=c}),l.__status="sending";const d=typeof l.text=="string"&&l.text.length>gs?l.text.slice(0,gs):l.text;we.channelSendMessage({channel:this.channel._id,clientMessageId:c,text:d,reply:l.reply}).then(()=>this.loadMessages()).then(()=>{fn(()=>{this.pendingMessages.some(v=>v.__clientId===s)&&this.removePending(s),this.pendingScrollToBottom=!0})}).catch(()=>{fn(()=>this.markPendingFailed(s))})}async sendMessage(s){if(!this.channel?._id)return;typeof s.text=="string"&&s.text.length>gs&&(s.text=s.text.slice(0,gs)),s.channel=this.channel._id,this.replyMsg?._id&&(s.reply=this.replyMsg._id);const l=Up(),c=l,d={_id:c,__clientId:c,clientMessageId:l,__status:"sending",channel:this.channel._id,owner:Et.userID??void 0,text:s.text,reply:s.reply,attachments:s.attachments,voice:s.voice,type:"regular",created_at:Math.floor(Date.now()/1e3),viewed:!1};fn(()=>{this.pendingMessages.push(d),this.replyMsg&&(this.replyMsg=null),s.text&&(this.messageText=""),this.pendingScrollToBottom=!0,this.sending=!0});try{s.clientMessageId=l,await we.channelSendMessage(s),await this.loadMessages(),fn(()=>{this.pendingMessages.some(v=>v.__clientId===c)&&this.removePending(c)})}catch{fn(()=>{this.markPendingFailed(c)})}finally{fn(()=>{this.sending=!1})}}resetCompose(){this.replyMsg=null,this.messageText=""}}const lt=new Ib,bh=({children:r,className:s=""})=>p.jsx("div",{className:`flex flex-col w-full h-full bg-[var(--tg-bg)] overflow-hidden ${s}`,children:r}),Jb=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function $b(r){return ee({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M6.598 5.013a.144.144 0 0 1 .202.134V6.3a.5.5 0 0 0 .5.5c.667 0 2.013.005 3.3.822.984.624 1.99 1.76 2.595 3.876-1.02-.983-2.185-1.516-3.205-1.799a8.7 8.7 0 0 0-1.921-.306 7 7 0 0 0-.798.008h-.013l-.005.001h-.001L7.3 9.9l-.05-.498a.5.5 0 0 0-.45.498v1.153c0 .108-.11.176-.202.134L2.614 8.254l-.042-.028a.147.147 0 0 1 0-.252l.042-.028zM7.8 10.386q.103 0 .223.006c.434.02 1.034.086 1.7.271 1.326.368 2.896 1.202 3.94 3.08a.5.5 0 0 0 .933-.305c-.464-3.71-1.886-5.662-3.46-6.66-1.245-.79-2.527-.942-3.336-.971v-.66a1.144 1.144 0 0 0-1.767-.96l-3.994 2.94a1.147 1.147 0 0 0 0 1.946l3.994 2.94a1.144 1.144 0 0 0 1.767-.96z"},child:[]}]})(r)}function qD(r){return ee({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5M11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3A1.5 1.5 0 0 0 5 1.5v1H1.5a.5.5 0 0 0 0 1h.538l.853 10.66A2 2 0 0 0 4.885 16h6.23a2 2 0 0 0 1.994-1.84l.853-10.66h.538a.5.5 0 0 0 0-1zm1.958 1-.846 10.58a1 1 0 0 1-.997.92h-6.23a1 1 0 0 1-.997-.92L3.042 3.5zm-7.487 1a.5.5 0 0 1 .528.47l.5 8.5a.5.5 0 0 1-.998.06L5 5.03a.5.5 0 0 1 .47-.53Zm5.058 0a.5.5 0 0 1 .47.53l-.5 8.5a.5.5 0 1 1-.998-.06l.5-8.5a.5.5 0 0 1 .528-.47M8 4.5a.5.5 0 0 1 .5.5v8.5a.5.5 0 0 1-1 0V5a.5.5 0 0 1 .5-.5"},child:[]}]})(r)}function Hp(r){return ee({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]},{tag:"polyline",attr:{points:"15 3 21 3 21 9"},child:[]},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"},child:[]}]})(r)}const Gp=["#e17076","#eda86c","#a695e7","#7bc862","#65aadd","#ee7aae","#6ec9cb"],iA=r=>{const s=r??"";let l=0;for(let c=0;c<s.length;c++)l=s.charCodeAt(c)+((l<<5)-l);return Gp[Math.abs(l)%Gp.length]};function Wb(r,{isOut:s,groupedTop:l,groupedBottom:c,showTail:d}){if(r==="whatsapp"){const x="rounded-[7.5px]";return l&&c?`${x} rounded-t-[5px] rounded-b-[5px]`:l?`${x} rounded-tl-[5px] rounded-tr-[5px]`:c?`${x} rounded-bl-[5px] rounded-br-[5px]`:x}if(r==="instagram"){const x="rounded-[22px]";return l&&c?`${x} rounded-t-[11px] rounded-b-[11px]`:l?`${x} rounded-tl-[11px] rounded-tr-[11px]`:c?`${x} rounded-bl-[11px] rounded-br-[11px]`:x}const v="rounded-2xl";return s?[v,l?"rounded-tr-md":"",c?"rounded-br-md":d?"rounded-br-none":""].filter(Boolean).join(" "):[v,l?"rounded-tl-md":"",c?"rounded-bl-md":d?"rounded-bl-none":""].filter(Boolean).join(" ")}const qp=new Map,Pb=r=>{const s=[];let d=14;for(let v=0;v<r;v++){const m=(Math.random()-.5)*7,E=Math.max(5,Math.min(24,d+m));s.push(Math.round(E)),d=E}return s},t_=r=>{if(!r||!isFinite(r))return"0:00";const s=Math.floor(r/60),l=Math.floor(r%60);return`${s}:${l.toString().padStart(2,"0")}`},e_=({src:r,barsCount:s=32,cacheKey:l,barColor:c})=>{const d=K.useRef(null),v=K.useRef(null),[m,E]=K.useState(!1),[x,C]=K.useState(0),[O,H]=K.useState(0),[Y,et]=K.useState(0),[it,st]=K.useState([]);K.useEffect(()=>{const at=l??r,ct=qp.get(at);if(ct&&ct.length===s){st(ct);return}const X=Pb(s);qp.set(at,X),st(X)},[s,l,r]),K.useEffect(()=>{const at=d.current;if(!at)return;const ct=()=>{at.duration&&(C(at.currentTime/at.duration*100),et(at.currentTime))},X=()=>{H(at.duration||0)},ot=()=>{E(!1),C(0),et(0)};return at.addEventListener("timeupdate",ct),at.addEventListener("loadedmetadata",X),at.addEventListener("ended",ot),()=>{at.removeEventListener("timeupdate",ct),at.removeEventListener("loadedmetadata",X),at.removeEventListener("ended",ot)}},[]);const pt=()=>{const at=d.current;at&&(m?at.pause():at.play().catch(()=>{}),E(!m))},Tt=at=>{const ct=d.current,X=v.current;if(!ct||!X||!O)return;const ot=X.getBoundingClientRect(),wt=Math.max(0,Math.min(1,(at-ot.left)/ot.width));ct.currentTime=wt*O},Dt=Math.floor(x/100*it.length);return p.jsxs("div",{className:"flex items-center gap-2 select-none",onClick:at=>{at.preventDefault(),at.stopPropagation()},children:[p.jsx("audio",{ref:d,src:r,preload:"metadata"}),p.jsx("button",{type:"button",onClick:at=>{at.preventDefault(),at.stopPropagation(),pt()},className:`shrink-0 inline-flex items-center justify-center
          text-[var(--tg-accent)]`,"aria-label":m?"Пауза":"Играть",children:m?p.jsx(jy,{size:36}):p.jsx(Ly,{size:36})}),p.jsxs("div",{className:"flex-1 min-w-0",children:[p.jsx("div",{ref:v,className:"flex items-center gap-[3px] h-7 cursor-pointer",onClick:at=>{at.preventDefault(),at.stopPropagation(),Tt(at.clientX)},children:it.map((at,ct)=>p.jsx("div",{className:"w-[2px] rounded-full transition-opacity duration-150",style:{height:at,backgroundColor:c,opacity:ct<=Dt?1:.4}},ct))}),p.jsx("div",{className:"mt-0.5 text-[11px] opacity-70 leading-none",children:t_(m||Y>0?Y:O)})]})]})};function n_(r){return ee({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm330-170c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z"},child:[]}]})(r)}function u_(r){return ee({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0 1 12.6 0l41.1 52.4 77.8-99.2a8 8 0 0 1 12.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z"},child:[]}]})(r)}function a_(r){return ee({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 0 1 5.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 0 1-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 0 1-1.12-.15 2.07 2.07 0 0 1-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 0 1-1.36 6.31 6.7 6.7 0 0 1-2.17 1.28z"},child:[]}]})(r)}function Yp(r){return ee({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z"},child:[]}]})(r)}function kp(r){return ee({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z"},child:[]}]})(r)}function i_(r){return ee({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM328 352c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48zm560 273l-104-59.8V458.9L888 399v226z"},child:[]}]})(r)}const YD=({doc:r,size:s=40,className:l=""})=>{const c=r?.type;if(!c)return p.jsx(kp,{size:s,className:l});const d={image:u_,audio:n_,video:i_,"application/pdf":a_,"application/zip":Yp,"application/x-zip-compressed":Yp};if(d[c]){const m=d[c];return p.jsx(m,{size:s,className:l})}const v=c.split("/")[0];if(v=="image")return p.jsx("img",{src:r.url,alt:r.name,style:{width:s,height:s},className:` object-cover ${l} rounded-xl bg-white`});if(d[v]){const m=d[v];return p.jsx(m,{size:s,className:l})}return p.jsx(kp,{size:s,className:l})},rA=({msg:r,onClick:s,variant:l="inline"})=>{const{id:c}=_s(),d=c==="instagram",v=!!r.deleted,m=v?null:r.text||(r.voice?.url?"🎙 Голосовое сообщение":r.attachments?.[0]?.name||"📎 Файл"),E=r.owner??"",x=E&&E===Et.userID,C=iA(E),O=x?"Вы":GD(E)+" Собеседник",H=d?"rounded-2xl":"rounded-md",Y=l==="compose"?d?"bg-[var(--tg-bg-secondary)]/80 backdrop-blur-md mx-1 border border-[var(--tg-divider)]/70":"bg-[var(--tg-bg-secondary)] mx-1":d?"bg-[var(--tg-bg)]/55 backdrop-blur-[2px] border border-[var(--tg-divider)]/55":"bg-black/5 dark:bg-white/5";return p.jsxs("div",{onClick:et=>{et.stopPropagation(),s()},id:`replay-msg-${r._id}`,className:`cursor-pointer active:opacity-70 relative pl-3 py-1.5 my-1.5
        ${H} overflow-hidden ${Y}`,children:[p.jsx("div",{className:d?"absolute left-0 top-2 bottom-2 w-[3px] rounded-full bg-gradient-to-b from-[#f58529] via-[#dd2a7b] to-[#8134af]":"absolute left-0 top-1 bottom-1 w-[3px] rounded-full",style:d?void 0:{background:C}}),p.jsx("div",{className:"text-[13px] font-semibold truncate leading-4",style:{color:C},children:O}),v?p.jsxs("div",{className:"text-[13px] opacity-70 flex items-center gap-1.5",children:[p.jsx(qD,{className:"w-3.5 h-3.5"})," Сообщение удалено"]}):p.jsxs("div",{className:"flex items-center gap-1.5 text-[13px] opacity-90 truncate",children:[r.attachments?.[0]&&p.jsx("div",{className:"shrink-0 w-3.5 h-3.5",children:p.jsx(YD,{size:14,doc:r.attachments[0]})}),p.jsx("span",{className:"truncate",children:m})]})]})};Pe.locale("ru");const kD=[{name:"❤️",label:"Сердце",value:"heart"},{name:"👍",label:"Лайк",value:"like"},{name:"😂",label:"Смех",value:"laugh"},{name:"😮",label:"Удивление",value:"wow"},{name:"😢",label:"Грусть",value:"sad"},{name:"😡",label:"Злость",value:"angry"},{name:"👏",label:"Аплодисменты",value:"clap"},{name:"🎉",label:"Праздник",value:"party"},{name:"💩",label:"Стыд",value:"poop"},{name:"🔥",label:"Огонь",value:"fire"}],r_=r=>kD.find(s=>s.value===r)?.name||"";function l_(r){if(!r)return!1;const s=Jb(),l=r.match(s);if(!l)return!1;const c=l.join("")===r,d=l.length<=8;return c&&d}const s_=60,c_=80,o_=r=>r.type?.split("/")[0]==="image"&&!!r.url,f_=({onReplayClick:r,onReactionClick:s,msg:l,onOpenMenu:c,onChange:d,groupedTop:v,groupedBottom:m,showAuthorName:E})=>{const{id:x,components:{BubbleTail:C}}=_s(),[O,H]=K.useState(null),Y=K.useRef(null),et=K.useRef(null),it=K.useRef(null),st=K.useRef(!1),pt=St=>{we.channelReaction({message:l._id,channel:l.channel,reaction:St}).then(()=>d())},Tt=jD.shmChannelMessagesByID(l.reply),Dt=!!l.deleted,at=l.type=="system",ct=!Dt&&l_(l.text),X=l.owner==Et.userID,ot=!!l.__clientId,wt=l.__status==="failed",It=!m&&!ct,re=!X&&!m;if(at)return x==="whatsapp"?p.jsx("div",{className:"flex justify-center my-2",children:p.jsx("div",{className:`max-w-[90%] text-center px-2.5 py-1 rounded-lg text-[12.5px] font-medium shadow-sm tg-fade-in
              bg-white/95 text-[var(--tg-text-secondary)] border border-[var(--tg-divider)]
              dark:bg-[#2a3942] dark:text-[var(--tg-text-secondary)] dark:border-[var(--tg-divider)]`,children:l.text})}):x==="instagram"?p.jsx("div",{className:"flex justify-center my-3 px-4",children:p.jsx("div",{className:`max-w-[min(92%,420px)] text-center px-4 py-1.5 rounded-full text-[11px] font-semibold uppercase tracking-wider tg-fade-in
              bg-[var(--tg-bg-secondary)] text-[var(--tg-text-secondary)] border border-[var(--tg-divider)]
              dark:bg-[#1a1a1a] dark:border-[#333] dark:text-[var(--tg-text-meta)]`,children:l.text})}):p.jsx("div",{className:"flex justify-center my-3",children:p.jsx("div",{className:"px-3 py-1 rounded-full bg-black/40 text-white text-[12px] tg-fade-in",children:l.text})});const Ht=Wb(x,{isOut:X,groupedTop:!!v,groupedBottom:!!m,showTail:It}),Ut=X?"bg-[var(--tg-bubble-out)] text-[var(--tg-bubble-out-text)]":"bg-[var(--tg-bubble-in)] text-[var(--tg-bubble-in-text)]",oe=x==="instagram"&&!Dt&&!ct,dn=oe?X?"ig-out-bubble text-[var(--tg-bubble-out-text)]":"ig-in-bubble text-[var(--tg-bubble-in-text)]":Ut,bt=oe?"px-3 pt-1.5 pb-1.5":"px-2.5 pt-1 pb-1",rt=ct||x==="instagram"?"":"shadow-[var(--tg-bubble-shadow)]",B=l.reactions?VA.groupBy(l.reactions,St=>St.type):{},V=l.reactions?.find(St=>St.user==Et.userID)?.type,Q=!!l.text,ht=!!l.voice?.url,S=!!l.attachments?.length,q=ht||S,ut=!Dt&&!!Object.keys(B).length;let nt=null;X&&!Dt&&(wt?nt=p.jsx(Ny,{size:14,className:"text-[var(--tg-danger)]"}):ot?nt=p.jsx(zy,{size:13}):l.viewed?nt=p.jsx(Gg,{size:14}):nt=p.jsx(Hy,{size:14}));const vt=X?wt?64:56:36,mt=!ct&&p.jsxs("span",{className:`inline-flex items-center gap-0.5 leading-none select-none ${x==="instagram"?"text-[10px] font-semibold tracking-wide":"text-[11px]"} ${X?"text-[var(--tg-text-meta-out)]":"text-[var(--tg-text-meta)]"} opacity-90`,children:[p.jsx("span",{children:l.created_at&&Pe.unix(l.created_at).format("HH:mm")}),nt]}),xt=(()=>{if(!E||X||v)return null;const St=l.owner??"",en=iA(St),Tu=GD(St)+" Собеседник";return p.jsx("div",{className:"text-[13px] font-semibold leading-4 mb-0.5 truncate",style:{color:en},children:Tu})})(),be=()=>{et.current&&(clearTimeout(et.current),et.current=null)},Zt=()=>{Y.current&&(Y.current.style.transition="transform 0.18s ease",Y.current.style.transform="",setTimeout(()=>{Y.current&&(Y.current.style.transition="")},200))},Le=St=>{if(Dt||wt)return;const en=St.touches[0];it.current={x:en.clientX,y:en.clientY},st.current=!1,be(),et.current=setTimeout(()=>{if(et.current=null,!st.current&&Y.current){if(typeof navigator<"u"&&"vibrate"in navigator)try{navigator.vibrate?.(10)}catch{}c(Y.current)}},380)},ke=St=>{if(!it.current||!Y.current)return;const en=St.touches[0],Tu=en.clientX-it.current.x,pe=en.clientY-it.current.y;if(Math.abs(pe)>12&&!st.current){be();return}const si=X?-1:1,$r=Tu*si;if($r>6){st.current=!0,be();const _a=Math.min($r,c_);Y.current.style.transform=`translateX(${_a*si}px)`}else st.current&&(Y.current.style.transform="")},tn=()=>{if(be(),st.current&&Y.current){const St=Y.current.style.transform.match(/-?\d+/);(St?Math.abs(parseInt(St[0],10)):0)>=s_&&lt.setReplyMsg(l)}Zt(),st.current=!1,it.current=null},Cn=()=>{be(),Zt(),st.current=!1,it.current=null},Du=St=>{Dt||(St.preventDefault(),Y.current&&c(Y.current))};return p.jsxs(p.Fragment,{children:[p.jsxs("div",{className:`flex items-end gap-1.5 ${X?"justify-end":"justify-start"} ${x==="whatsapp"?m?"mb-0.5":"mb-1.5":x==="instagram"?m?"mb-1":"mb-3":m?"mb-px":"mb-2"} tg-fade-in`,children:[!X&&p.jsx("div",{className:"w-9 shrink-0 self-end",children:re&&p.jsx(bs,{id:l.owner??"",size:36})}),p.jsxs("div",{id:`msg-${l._id}`,ref:Y,onContextMenu:Du,onTouchStart:Le,onTouchMove:ke,onTouchEnd:tn,onTouchCancel:Cn,className:`
          group relative max-w-[78%] sm:max-w-[60%] md:max-w-[520px]
          ${ct?"tg-only-emoji bg-transparent p-0":`${bt} ${dn} ${Ht}`}
          ${rt}
          ${ot?"opacity-80":""}
        `,children:[xt,It&&p.jsx(C,{isOut:X}),Tt&&p.jsx(rA,{msg:Tt,onClick:()=>Tt&&r(Tt)}),Dt?p.jsxs("div",{className:"flex items-center gap-1.5 italic opacity-70 text-[14px] py-1 pr-[60px] relative",children:[p.jsx(qD,{className:"w-3.5 h-3.5"}),"Сообщение удалено",p.jsx("span",{className:"absolute bottom-1 right-2 text-[11px] not-italic opacity-80",children:l.created_at&&Pe.unix(l.created_at).format("HH:mm")})]}):p.jsxs(p.Fragment,{children:[ht&&p.jsx("div",{className:"py-1 min-w-[220px]",children:p.jsx(e_,{barColor:X?"color-mix(in srgb, var(--tg-accent) 70%, white)":"var(--tg-accent)",src:l.voice.url,cacheKey:l._id})}),l.attachments?.map((St,en)=>{const Tu=o_(St);return p.jsx("div",{className:"py-1.5",children:Tu?p.jsxs(p.Fragment,{children:[p.jsx("button",{type:"button",title:"Открыть",className:`block w-full p-0 m-0 border-0 bg-transparent cursor-pointer text-left rounded-xl overflow-hidden active:opacity-90 ${x==="instagram"?"ring-1 ring-black/[0.05] dark:ring-white/10":"ring-1 ring-black/10 dark:ring-white/15"}`,onClick:pe=>{pe.stopPropagation(),St.url&&H({url:St.url,name:St.name})},children:p.jsx("img",{src:St.url,alt:St.name||"",className:"max-h-64 w-full object-cover bg-black/5 dark:bg-white/5",loading:"lazy",draggable:!1})}),p.jsxs("div",{className:"flex items-center gap-2 pt-1.5",children:[p.jsx("div",{className:"flex-1 min-w-0 font-medium text-[14px] truncate",children:St.name}),p.jsx("button",{type:"button",onClick:pe=>{pe.stopPropagation(),window.open(St.url,"_blank")},className:"p-1 opacity-70 hover:opacity-100 shrink-0",title:"Открыть в новой вкладке",children:p.jsx(Hp,{size:16})})]})]}):p.jsxs("div",{className:"flex items-center gap-2 cursor-pointer active:opacity-70",children:[p.jsx(YD,{doc:St,size:36}),p.jsx("div",{className:"flex-1 min-w-0",children:p.jsx("div",{className:"font-medium text-[14px] truncate",children:St.name})}),p.jsx("button",{type:"button",onClick:pe=>{pe.stopPropagation(),window.open(St.url,"_blank")},className:"p-1 opacity-70 hover:opacity-100",children:p.jsx(Hp,{size:16})})]})},en)}),Q&&p.jsxs("div",{className:`relative whitespace-pre-wrap break-words leading-[1.35] ${x==="instagram"&&!ct?"text-[14px] leading-[1.45]":"text-[15px]"}`,style:ct?{fontSize:48,lineHeight:1.1}:void 0,children:[l.text,!ct&&p.jsxs(p.Fragment,{children:[" ",p.jsx("span",{"aria-hidden":!0,className:"inline-block align-bottom select-none",style:{width:vt,height:"1em"},children:"​"})]})]}),!Q&&q&&p.jsx("div",{style:{height:14}})]}),ut&&p.jsx("div",{className:"flex flex-wrap gap-1 mt-1 mb-0.5 pr-[60px]",children:Object.entries(B).map(([St,en])=>{const Tu=V===St,pe=x==="instagram"?`inline-flex items-center gap-1 h-6 px-2 rounded-full text-[12px] font-semibold tg-press border
                    ${Tu?X?"border-white/35 bg-white/15 text-white backdrop-blur-[2px]":"border-[var(--tg-accent)]/35 bg-[var(--tg-accent-soft)] text-[var(--tg-accent)]":X?"border-white/20 bg-black/12 text-current dark:bg-white/12":"border-[var(--tg-divider)] bg-[var(--tg-bg)]/90 text-[var(--tg-text-primary)] shadow-[0_1px_2px_rgba(0,0,0,0.04)] dark:bg-[var(--tg-bg-secondary)]/90"}`:`inline-flex items-center gap-1 h-6 px-1.5 rounded-full
                    text-[12px] font-medium tg-press
                    ${Tu?X?"bg-white/25 ring-1 ring-white/60 text-current":"bg-[var(--tg-accent)] text-white":X?"bg-black/10 dark:bg-white/15 text-current":"bg-[var(--tg-accent-soft)] text-[var(--tg-accent)]"}`;return p.jsxs("button",{type:"button",onClick:si=>{si.stopPropagation(),pt(St)},className:pe,children:[p.jsx("span",{children:r_(St)}),p.jsx("span",{children:en.length})]},St)})}),!ct&&!Dt&&p.jsx("div",{className:"absolute bottom-[5px] right-2 pointer-events-none",children:mt}),ct&&p.jsx("div",{className:"flex justify-end mt-1 pr-1",children:mt}),wt&&l.__clientId&&p.jsx("button",{type:"button",onClick:St=>{St.stopPropagation(),lt.retryPending(l.__clientId)},className:`
              absolute -left-9 bottom-0 w-7 h-7 inline-flex items-center justify-center
              rounded-full text-[var(--tg-danger)]
              ${x==="instagram"?"ig-float-action":"bg-[var(--tg-bg)] shadow border border-[var(--tg-divider)]"}
            `,title:"Повторить отправку",children:p.jsx(My,{className:"w-4 h-4"})}),!Dt&&!ot&&p.jsx("button",{type:"button",id:`msg-add-reactions-${l._id}`,onClick:St=>{St.stopPropagation(),s(l)},className:`
              hidden md:inline-flex absolute bottom-0
              ${X?"-left-9":"-right-9"}
              w-7 h-7 items-center justify-center
              rounded-full
              ${x==="instagram"?"ig-float-action":"bg-[var(--tg-bg)] shadow border border-[var(--tg-divider)]"}
              opacity-0 group-hover:opacity-100
              transition-opacity
            `,children:p.jsx(Ty,{className:"w-4 h-4 text-[var(--tg-text-secondary)]"})})]})]}),p.jsx(V1,{opened:!!O,onClose:()=>H(null),className:"!w-fit !max-w-[min(96vw,1200px)] !bg-transparent !shadow-none overflow-visible p-1",children:O&&p.jsxs("div",{className:"relative flex max-w-[min(96vw,1200px)] flex-col items-center",children:[p.jsx("button",{type:"button",onClick:()=>H(null),className:`absolute -right-1 -top-1 z-10 flex h-9 w-9 items-center justify-center rounded-full
              bg-black/55 text-white shadow-md hover:bg-black/70 active:opacity-90`,"aria-label":"Закрыть",children:p.jsx(Hg,{size:22})}),p.jsx("img",{src:O.url,alt:O.name||"",className:"max-h-[85vh] max-w-[min(92vw,1200px)] w-auto object-contain rounded-lg",draggable:!1})]})})]})},h_=({msg:r,onClick:s,onPin:l})=>{const c=r.text||(r.voice?.url?"🎙 Голосовое сообщение":r.attachments?.[0]?.name||"📎 Файл");return p.jsxs("div",{className:"shrink-0 flex items-center gap-2 px-3 py-2 border-b border-[var(--tg-divider)] bg-[var(--tg-bg)]",children:[p.jsxs("div",{id:`pin-msg-${r._id}`,onClick:d=>{d.stopPropagation(),s()},className:"flex-1 min-w-0 flex items-center gap-2 pl-2 relative cursor-pointer active:opacity-70",children:[p.jsx("div",{className:"absolute left-0 top-1 bottom-1 w-[3px] rounded-full bg-[var(--tg-accent)]"}),p.jsxs("div",{className:"flex-1 min-w-0",children:[p.jsx("div",{className:"text-[12px] font-semibold text-[var(--tg-accent)]",children:"Закреплённое сообщение"}),p.jsxs("div",{className:"flex items-center gap-1.5 text-[13px] text-[var(--tg-text-primary)] truncate",children:[r.attachments?.[0]&&p.jsx("div",{className:"shrink-0 w-3.5 h-3.5",children:p.jsx(YD,{size:14,doc:r.attachments[0]})}),p.jsx("span",{className:"truncate",children:c})]})]})]}),p.jsx(ui,{size:"sm",onClick:d=>{d.stopPropagation(),l()},children:p.jsx(Hg,{})})]})},Qr=({icon:r,title:s,onClick:l,danger:c,after:d})=>p.jsxs("button",{type:"button",onClick:l,className:`
      w-full flex items-center gap-3 px-3 py-2.5
      text-left text-[15px] tg-press
      hover:bg-[var(--tg-bg-hover)]
      ${c?"text-[var(--tg-danger)]":"text-[var(--tg-text-primary)]"}
    `,children:[r!=null&&p.jsx("span",{className:"w-5 h-5 flex items-center justify-center text-[18px] opacity-80",children:r}),p.jsx("span",{className:"flex-1 truncate",children:s}),d&&p.jsx("span",{className:"shrink-0",children:d})]}),VD=({children:r})=>p.jsx("div",{className:"py-1.5",children:r}),ei=8,_h=({opened:r,onClose:s,target:l,children:c,placement:d="auto",width:v=240,className:m=""})=>{const E=K.useRef(null),[x,C]=K.useState(null);return K.useLayoutEffect(()=>{if(!r||!l){C(null);return}const O=l.getBoundingClientRect(),H=E.current?.offsetHeight??200,Y=E.current?.offsetWidth??v,et=window.innerHeight-O.bottom,it=O.top;let st;d==="auto"?st=et>=H+ei?"bottom":"top":st=d,st==="top"&&it<H+ei&&(st="bottom");let pt=st==="bottom"?O.bottom+ei:O.top-H-ei,Tt=O.left+O.width/2-Y/2;Tt<ei&&(Tt=ei),Tt+Y>window.innerWidth-ei&&(Tt=window.innerWidth-Y-ei),pt<ei&&(pt=ei),C({top:pt,left:Tt,placement:st})},[r,l,d,v]),K.useEffect(()=>{if(!r)return;const O=H=>{H.key==="Escape"&&s()};return window.addEventListener("keydown",O),()=>window.removeEventListener("keydown",O)},[r,s]),r?p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"fixed inset-0 z-[100]",onClick:s,onContextMenu:O=>{O.preventDefault(),s()}}),p.jsx("div",{ref:E,style:{top:x?.top??-9999,left:x?.left??-9999,width:v,visibility:x?"visible":"hidden"},className:`fixed z-[101] tg-fade-in rounded-2xl shadow-xl shadow-black/20 overflow-hidden
          bg-[var(--tg-bg)] border border-[var(--tg-divider)] ${m}`,onClick:O=>O.stopPropagation(),children:c})]}):null},d_=r=>{r&&(navigator.clipboard.writeText(r),HD("Скопировано"))},lA=K.forwardRef((r,s)=>{const[l,c]=K.useState(null),[d,v]=K.useState(!1),[m,E]=K.useState(null),x=K.useRef(null);K.useImperativeHandle(s,()=>({open:et=>{c(et.msg),E(document.getElementById(`msg-${et.msg._id}`)),v(!0),x.current=et}}));const C=()=>{v(!1),E(null)},O=et=>{C(),we.channelReaction({channel:l?.channel,message:l?._id,reaction:et}).then(()=>x.current?.onChange?.())};if(!d||!l?._id)return null;const H=l.owner==Et.userID,Y=l.reactions?.find(et=>et.user==Et.userID);return p.jsxs(_h,{opened:d,onClose:C,target:m,width:260,children:[p.jsx("div",{className:"flex gap-1 px-2 pt-2 pb-1",children:kD.slice(0,6).map(et=>{const it=Y?.type===et.value;return p.jsx("button",{type:"button",onClick:()=>O(et.value),className:`
                w-9 h-9 inline-flex items-center justify-center rounded-full
                text-[22px] tg-press
                ${it?"bg-[var(--tg-accent-soft)]":"hover:bg-[var(--tg-bg-secondary)]"}
              `,children:et.name},et.value)})}),p.jsx("div",{className:"mx-2 h-px bg-[var(--tg-divider)] my-1"}),p.jsxs(VD,{children:[p.jsx(Qr,{icon:p.jsx($b,{}),title:"Ответить",onClick:()=>{l&&(x.current?.onReply?.(l),C())}}),!!l.text&&p.jsx(Qr,{icon:p.jsx(_y,{}),title:"Копировать текст",onClick:()=>{d_(l.text),C()}}),p.jsx(Qr,{icon:p.jsx(Fy,{}),title:l.pinned?.enabled?"Открепить":"Закрепить",onClick:()=>{x.current?.onPinned?.(),C()}}),H&&p.jsx(Qr,{icon:p.jsx(qD,{}),title:"Удалить",danger:!0,onClick:()=>{x.current?.onDelete?.(),C()}})]})]})});lA.displayName="MessagePopover";const sA=K.forwardRef((r,s)=>{const[l,c]=K.useState(null),[d,v]=K.useState(!1),[m,E]=K.useState(null),x=K.useRef(null);K.useImperativeHandle(s,()=>({open:Y=>{c(Y.msg),E(document.getElementById(`msg-add-reactions-${Y.msg._id}`)||document.getElementById(`msg-${Y.msg._id}`)),v(!0),x.current=Y}}));const C=()=>{v(!1),E(null)},O=Y=>{C(),we.channelReaction({channel:l?.channel,message:l?._id,reaction:Y}).then(()=>x.current?.onChange?.())};if(!d||!l?._id)return null;const H=l.reactions?.find(Y=>Y.user==Et.userID);return p.jsx(_h,{opened:d,onClose:C,target:m,width:320,children:p.jsx("div",{className:"p-2 grid grid-cols-5 gap-1",children:kD.map(Y=>{const et=H?.type===Y.value;return p.jsx("button",{type:"button",onClick:()=>O(Y.value),className:`
                  h-12 inline-flex items-center justify-center rounded-xl
                  text-[26px] tg-press
                  ${et?"bg-[var(--tg-accent-soft)]":"hover:bg-[var(--tg-bg-secondary)]"}
                `,title:Y.label,children:Y.name},Y.value)})})})});sA.displayName="MessageReactionPopover";const g_=300,v_=320,D_=400,p_=Yi(()=>{const{components:{MessagesSkeleton:r,DateChip:s,ScrollToBottomButton:l,CloseConversationButton:c}}=_s(),d=K.useRef(null),v=K.useRef(null),m=K.useRef(null),E=K.useRef(null),[x,C]=K.useState(!1),O=(Dt=!1)=>{E.current&&clearTimeout(E.current),E.current=setTimeout(()=>{E.current=null,requestAnimationFrame(()=>{const at=d.current;if(!at)return;const ct=Math.max(0,at.scrollHeight-at.clientHeight),X=ct-at.scrollTop;at.scrollTo({top:ct,behavior:!Dt&&X>0&&X<=v_||Dt?"smooth":"auto"})})},g_)};K.useEffect(()=>(lt.channel?._id&&(lt.loadMessages(),lt.channel?.closed?lt.stopMessagesPolling():lt.startMessagesPolling(O)),()=>{lt.stopMessagesPolling(),E.current&&clearTimeout(E.current)}),[lt.channel?._id,lt.channel?.closed]);const H=K.useRef(!1);K.useEffect(()=>{H.current=!1},[lt.channel?._id]),K.useEffect(()=>{lt.displayMessages?.length&&d.current&&(H.current||(H.current=!0,O()))},[lt.displayMessages?.length,lt.channel?._id]),K.useEffect(()=>{lt.pendingScrollToBottom&&lt.displayMessages?.length&&(O(),lt.clearPendingScrollToBottom())},[lt.displayMessages]),K.useEffect(()=>{const Dt=d.current;if(!Dt)return;const at=()=>{const ct=Dt.scrollHeight-Dt.scrollTop-Dt.clientHeight;C(ct>D_)};return Dt.addEventListener("scroll",at,{passive:!0}),at(),()=>Dt.removeEventListener("scroll",at)},[lt.channel?._id]);const Y=Dt=>{if(!Dt)return;const at=document.getElementById(`msg-${Dt}`);!at||!d.current||setTimeout(()=>{if(!d.current)return;const ct=at.getBoundingClientRect(),X=d.current.getBoundingClientRect();d.current.scrollTo({top:d.current.scrollTop+(ct.top-X.top)-80,behavior:"smooth"}),at.classList.add("tg-fade-in")},100)},et=lt.displayMessages??[],st=(lt.channel?.members??[]).filter(Dt=>Dt.owner!=Et.userID).length>1,pt=et.map((Dt,at)=>{const ct=et[at-1],X=et[at+1],ot=ct?.created_at&&Dt.created_at&&Pe.unix(ct.created_at).isSame(Pe.unix(Dt.created_at),"day"),wt=!ct||!ot,It=ct&&ct.owner===Dt.owner&&ot,re=X&&X.owner===Dt.owner&&X.created_at&&Dt.created_at&&Pe.unix(X.created_at).isSame(Pe.unix(Dt.created_at),"day");return{msg:Dt,newDay:wt,groupedTop:!!It,groupedBottom:!!re}}),Tt=lt.channel?._id&&lt.channel.unreadCounts&&Et.userID?lt.channel.unreadCounts[Et.userID]??0:0;return p.jsxs(p.Fragment,{children:[!!lt.pinnedMessage&&p.jsx(h_,{onPin:()=>{we.pinnedMessage({message:lt.pinnedMessage._id}).then(()=>lt.loadMessages())},onClick:()=>Y(lt.pinnedMessage._id),msg:lt.pinnedMessage}),p.jsxs("div",{className:"relative flex-1 min-h-0 tg-chat-bg",children:[Rh&&p.jsx("div",{className:"absolute top-1 left-2 text-[10px] text-red-500/60 select-none pointer-events-none z-10",children:ky}),p.jsx("div",{ref:d,className:"absolute inset-0 overflow-y-auto tg-scroll",children:p.jsxs("div",{className:"flex flex-col py-3 px-3 pb-4 min-h-full",children:[lt.messagesLoading&&!et.length&&p.jsx(r,{}),pt.map(({msg:Dt,newDay:at,groupedTop:ct,groupedBottom:X})=>p.jsxs("div",{className:"contents",children:[at&&Dt.created_at&&p.jsx(s,{ts:Dt.created_at}),p.jsx(f_,{onReplayClick:ot=>Y(ot._id),onReactionClick:ot=>{m.current?.open({msg:ot,onChange:()=>lt.loadMessages()})},onOpenMenu:()=>{v.current?.open({msg:Dt,onChange:()=>lt.loadMessages(),onPinned:()=>{we.pinnedMessage({message:Dt._id}).then(()=>lt.loadMessages())},onDelete:()=>{we.channelDeleteMessage({message:Dt._id,channel:lt.channel?._id}).then(()=>lt.loadMessages())},onReply:ot=>lt.setReplyMsg(ot)})},onChange:()=>lt.loadMessages(),msg:Dt,showAuthorName:st,groupedTop:ct,groupedBottom:X})]},Dt._id)),!lt.channel?.closed&&lt.channel?.type=="support"&&lt.channel?.members?.find(Dt=>Dt.owner==Et.userID)&&p.jsx(c,{onClick:()=>{LD({title:"Закрыть обращение?",content:"Диалог будет переведён в статус закрытого.",buttons:[{text:"Закрыть",onClick:()=>{we.channelClose({channel:lt.channel?._id}).then(()=>{lt.loadMessages(),lt.refreshChannel()})}},{text:"Отмена"}]})}})]})}),p.jsx(l,{visible:x,onClick:()=>O(!0),unread:Tt}),p.jsx(sA,{ref:m}),p.jsx(lA,{ref:v})]})]})});function A_(r){return ee({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M8,11 C8,14 9.790861,15 12,15 C14.209139,15 16,14 16,11 L16,5 C16,2 14.209139,1 12,1 C9.790861,1 8,2 8,5 L8,11 Z M4,9 L4,11 C4,16 7.581722,19 12,19 C16.418278,19 20,16 20,11 L20,9 M12,24 L12,19"},child:[]}]})(r)}function m_(r){return ee({attr:{viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M 25 4.03125 C 24.234375 4.03125 23.484375 4.328125 22.90625 4.90625 L 13 14.78125 L 12.78125 15 L 12.71875 15.3125 L 12.03125 18.8125 L 11.71875 20.28125 L 13.1875 19.96875 L 16.6875 19.28125 L 17 19.21875 L 17.21875 19 L 27.09375 9.09375 C 28.246094 7.941406 28.246094 6.058594 27.09375 4.90625 C 26.515625 4.328125 25.765625 4.03125 25 4.03125 Z M 25 5.96875 C 25.234375 5.96875 25.464844 6.089844 25.6875 6.3125 C 26.132813 6.757813 26.132813 7.242188 25.6875 7.6875 L 16 17.375 L 14.28125 17.71875 L 14.625 16 L 24.3125 6.3125 C 24.535156 6.089844 24.765625 5.96875 25 5.96875 Z M 4 8 L 4 28 L 24 28 L 24 14.8125 L 22 16.8125 L 22 26 L 6 26 L 6 10 L 15.1875 10 L 17.1875 8 Z"},child:[]}]})(r)}const y_="data:audio/mpeg;base64,SUQzAwAAAAAATlRFTkMAAAATIAAAU291bmQgR3JpbmRlciA0LjAAQVBJQwAAAAQgAAAAAABUQ09QAAAAGSAAAENvcHlyaWdodCBBbGFuIE1jS2lubmV5AP/7mEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhpbmcAAAAPAAAABQAACNwAGxsbGxsbGxsbGxsbGxsbGxsbG2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dn1NTU1NTU1NTU1NTU1NTU1NTU1NTq6urq6urq6urq6urq6urq6urq6v//////////////////////////AAAADkxBTUUzLjEwMAN9AAAAAAAAAADUICQEQI0AAaQAAAjcsAR05wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/7KGgAAAAAAGkFAAAIAAANIKAAAQhQrTzY2gAAvZRnBw8gAAASAgQAAQPMCvxgyF4sQd/ihwagvwAkgHECAHF/8GwQTxBF//gWDi4Bmw48iBB///HeaF8rsmbu/5d5u//+n6f//pIIA9Sniwj4gAM8oC7/DlwJ2IAf4fOYk///GQL6BIG5p//5pDH/6P//+m///0H7kCAABTMwaYmZrIKWFdEGMo7hCh/GCA6h0i7AAYGkI//7iGgPCfasPNA/P4AAxOr55+fsAEWYTzK0HoAAfgkmAoPAAAAYLBgcCgYETEAhHhKYVHhmEhGRSCav2BmjgmjgEZbOBmMdAUKmMBuYoBYjCxhgOhwdBoKMIgpNkEAcwMAWSA0BF4XAL/JXPWkKwV6lTPzATEoGgFrsViTvSF0mJSJ9WuyGGnesxJ/qOUw7IYk7UZqNKV0rawWUOVD1SGoezjMZsPs71h9nen4Zd29DT/Xoah6/KYdvSqNXpVGugqAg4DQFDQNFg6JRgcBpZ0RKPAqIgeArv///2JCAArkkRuDFkVzNKhqEok0UJXRBjiO0QksK8S5KsJfYwcIRaMAFzKh0xgaNa4zLewOkzJjUyoVLyGHiQOFhwBMBAkuk0S4rZk5kwouraxKVtZcWgcpp0EsNh6IuTFYk/09KYdizgs5kL7O9RwzDvZmW3u5U1NXfZnTPwgBRuXtALi4TMtuWst4//////////////67+8f1l+WX7x5rL9ZfjjzLL8su1aXmVNytTZymHZhyou1qTwzDtSNWt0uW6XkJKbF/eMEPr/LrG5Vjjxr6EYMmEQHGLoeGPbFHb60AI+xoMSYDlQus9svzubpY1n//1r/+R/d6u4QSm4EAMw4DTEinOTJkWKCbLUX6nZ6wEUUWA9qOFIAMCtgsKAP/7qGgFgAcJZ1JuYqAAnUz6bcZQAA2A0UM8HgABXRnot4NQAEABjv1KqgyGPfaemuSGQK/bSG0H/hOZmLCM0BggNgUEwgwAwDF0UwAYIiCQGCRGCIdgZ4AxzYA4EABEALnxWgHE3uBow0g0IAGFxfV4GEgAFqwsfDzi2ht4GHRGA0vAGEmBjsZAYWF4RE3+JzIYVES8RAdhfAeFgMJgEAIUAYMAYGBQMBACgLAUG6n/upaZXMGTUaADAsMFBgkTsA0HAMKgMAYGBgkG8Qej//NE+7+zDkkwRcniKlIpF8nC6XjEx////9voJpIqUmyKR1ZoXyuaH//p/4t0hD4m0AIxuBiGAyAAh07YSQmmTwdBPQ+sdqxgLqBJF0MbBuz5F5fIUnQugI0AkvTbCysBRGIKEDA5D4DNjgmDCzjr8DHgQyQLTBAoxRBAcwTMYgoEcoj/8PUI8rmyJPkTMCNIgRMixFTIyN//stOtPdqKhtDsK6SKX/9//skv/Utf////ZttnSRUpNBFI6Ylwi5ByKF//6X/4Mg0DgSkAAGYAQrIhOITCGIWOP5Zdquy13OWrSAoCAwGIQOZJ4xs0+GWSEYgEJhQDiQJpKbOljMtzjMOy3WWcpjNqrS4/ll/5ZZfvn5U3NZd/+ayxx5//vGz3HHH8u/uVOE/Uuy7/xL/iL////aVDRmFbSAAEx4HcWecKlmFJ6K6i8Ty3KIrUWSOgDCCTAyAHwMIAkG4g24ZJaNJJKkkl0kmv+iijUlRRdFFutFJ/6nqdq1EyMqOEnTu3/2nf////xKdBUFf/UgAAJUH///XRzU2GoG+DnDQBQDAYoFYGS56BoYOAYTAYDwCAgEAYXAA+TBVVW71d2Z+////////4V//6f//1/9RgDA93//T/PKnl7dFhYeexIIxofMl6TXhoDDaGYgAAUNR2o0daTLEEOJvoCE8NvzIosscwg//7GEg6idH/N0qYNSpgKyKZpQQ7OINIUTs0CQAA35ClQoOwAIDIivmCBuXaCBhb9////+V/5twEaH+t/br24Kze9GpyIFRMJgIPABAOpGSFSagN7VJU3XysY9/PH+9/v85z+6se96BP7v6vE1UCAAAAAAEAAACgAD8v/2+UAm/AFD4mb1uZ+v//WHf////0hf/7GEgRgAFDEk5WBUAAMiNKDMCoAAAAAaQcAAAgAAA0g4AABEAkQqNisAIAAABAAGCACEGB/l8Pq3isUAHfghBdFyX/FUsTCsTkv5UyHQD/2L//XZ//+z///9i1TEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVRBRwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/",b_=["😂","❤️","🤣","👍","😭","🙏","😘","🥰","😍","😊","🎉","😁","💕","🥺","😅","🔥","💔","👏","😢","🤔","😆","🤗","🙂","💖","😎","👌","💯","✨","💪","🤷","😔","😏","😳","😱","🤪","😤","🌹","😇","🙌","😋","😌","😜","💘","😝","🥳","😴","😡","🤩","👀","🥲","🤤","🤯","😬","🙈","🥴","😮","😑","🙄","😞","👋","🤞","🤝","🤠","🤑","🤓","😷","🫶","🫠","🥵","🤬","🤐","🥸","😨","😰","😥","😪","🤢","🤮","🤡","💀","👻","👽","🤖","💩","😸","🐶","🐱","🦄","🌈","⭐","💫","🌙","☀️","⚡","💤","🎂","🍕","☕","🍻","🎁"],Vp=5,__=new Audio(y_),x_=Yi(()=>{const{id:r,components:{RichMessagebarRoot:s,RichMessagebarComposerWrap:l}}=_s(),c=lt.channel?._id??"",d=K.useRef(null),v=K.useRef(null),m=K.useRef(null),E=K.useRef(null),x=K.useRef(!1),[C,O]=K.useState(!1),[H,Y]=K.useState(!1),et=()=>{lt.sending||!c||v.current?.click()},it=X=>{const ot=X.currentTarget,wt=ot.files?.[0]??null;if(ot.value="",!wt||lt.sending||!c)return;const It=Vp*1024*1024;if(wt.size>It){HD(`Файл слишком большой. Максимум ${Vp}MB.`);return}const re=new FormData;re.append("file",wt),lt.setSending(!0),we.channelDocumentUpload(re).then(Ht=>{if(!Ht||!c){lt.setSending(!1);return}lt.sendMessage({attachments:[Ht],channel:c})}).catch(()=>lt.setSending(!1))},st=X=>{c&&lt.sendMessage({...X,channel:c}).then(()=>{__.play().catch(()=>{}),X.text&&d.current&&(d.current.style.height="auto")})},pt=()=>{lt.sending||(lt.messageText?st({text:lt.messageText}):P1.current?.open({onClose:()=>{},onSend:X=>{const ot=new FormData;ot.append("file",X,"audio.webm"),lt.setSending(!0),we.channelVoiceUpload(ot).then(wt=>{wt?._id&&c?st({voice:{_id:wt._id}}):lt.setSending(!1)}).catch(()=>lt.setSending(!1))}}))},Tt=X=>{lt.messageText.trim()&&(X.preventDefault(),d.current?.focus())},Dt=X=>{lt.messageText.trim()&&(X.preventDefault(),x.current=!0,pt())},at=()=>{if(x.current){x.current=!1;return}pt()},ct=!!lt.messageText.trim();return p.jsxs(s,{children:[lt.replyMsg&&p.jsxs("div",{className:"flex items-start gap-2 px-3 pt-2",children:[p.jsx("div",{className:"flex-1 min-w-0",children:p.jsx(rA,{variant:"compose",onClick:()=>{},msg:lt.replyMsg})}),p.jsx(ui,{size:"sm",onClick:()=>{lt.sending||lt.setReplyMsg(null)},children:p.jsx(Hg,{})})]}),p.jsxs("div",{className:"flex items-end gap-1 px-2 py-2",children:[Et.mode=="full"&&p.jsx(ui,{ref:m,onClick:()=>O(!0),title:"Быстрые ответы",children:p.jsx(Ry,{})}),p.jsxs("div",{className:"relative",children:[p.jsx("input",{ref:v,type:"file",className:"fixed left-[-9999px] top-0 h-px w-px opacity-0",tabIndex:-1,disabled:lt.sending||!c,onChange:it}),p.jsx(ui,{onClick:et,disabled:lt.sending||!c,title:"Прикрепить",children:p.jsx(Sy,{})})]}),p.jsxs(l,{children:[p.jsx("textarea",{id:"text-area-messagebar",ref:d,value:lt.messageText,className:`
              flex-1 min-w-0 bg-transparent outline-none border-none
              resize-none overflow-hidden
              px-3 ${r==="instagram"?"py-2":"py-2.5"} text-[16px] md:text-[15px]
              text-[var(--tg-text-primary)]
              placeholder:text-[var(--tg-text-secondary)]
              max-h-[160px]
            `,rows:1,maxLength:gs,onChange:X=>{if(lt.sending)return;const ot=X.currentTarget;ot.style.height="auto",ot.style.height=`${Math.min(ot.scrollHeight,160)}px`;let wt=X.target?.value;wt.trim()===""&&(wt=""),lt.setMessageText(wt)},onKeyDown:X=>{X.key==="Enter"&&!X.shiftKey&&!Et.isMobile()&&(X.preventDefault(),ct&&pt())},placeholder:"Сообщение..."}),p.jsx(ui,{ref:E,onClick:()=>Y(!0),size:"sm",className:r==="instagram"?"shrink-0":"mb-1 shrink-0",title:"Эмодзи",children:p.jsx(By,{})})]}),p.jsxs("button",{type:"button",onMouseDown:Tt,onTouchStart:Tt,onTouchEnd:Dt,onClick:at,className:`
            relative w-10 h-10 rounded-full inline-flex items-center justify-center
            transition-all duration-200 tg-press
            ${ct?"bg-[var(--tg-accent)] text-white":"text-[var(--tg-text-secondary)] hover:bg-[var(--tg-bg-secondary)]"}
          `,children:[p.jsx("span",{className:`absolute inset-0 flex items-center justify-center transition-all duration-150 ${ct?"opacity-0 scale-50":"opacity-100 scale-100"}`,children:p.jsx(A_,{size:20,className:r==="instagram"?"translate-y-[2px]":void 0})}),p.jsx("span",{className:`absolute inset-0 flex items-center justify-center transition-all duration-150 ${ct?"opacity-100 scale-100":"opacity-0 scale-50"}`,children:p.jsx(W1,{size:18,className:"-ml-0.5"})})]})]}),p.jsx(_h,{opened:H,onClose:()=>Y(!1),target:E.current,width:320,children:p.jsx("div",{className:"p-2 grid grid-cols-7 gap-1 max-h-[300px] overflow-y-auto tg-scroll",children:b_.map((X,ot)=>p.jsx("button",{type:"button",onClick:()=>{lt.setMessageText(lt.messageText+X)},className:`
                h-9 w-9 inline-flex items-center justify-center
                rounded-lg hover:bg-[var(--tg-bg-secondary)]
                text-[22px] tg-press
              `,children:X},ot))})}),p.jsx(_h,{opened:C,onClose:()=>O(!1),target:m.current,width:320,children:p.jsxs(VD,{children:[Et.fastAnswers.map(X=>p.jsx(Qr,{title:X.name,onClick:()=>{X.text&&lt.setMessageText(X.text),O(!1)},after:p.jsx("button",{type:"button",onClick:ot=>{ot.stopPropagation(),O(!1),SD.current?.open(X)},className:`p-1 rounded-md hover:bg-[var(--tg-bg-secondary)]
                    text-[var(--tg-accent)]`,children:p.jsx(m_,{size:18})})},X._id??X.name)),p.jsx(Qr,{icon:p.jsx(wy,{}),title:"Добавить быстрый ответ",onClick:()=>{SD.current?.open(),O(!1)}})]})})]})});Pe.locale("ru");const E_=Yi(({noPage:r})=>{const{id:s,components:{ChannelHeaderCenter:l,JoinChannelBar:c}}=_s();K.useEffect(()=>{Et.loadFastAnswers()},[]);const d=lt.channel?.members?.find(H=>H.owner!=Et.userID),v=lt.channel?.name||"Чат",m=!!lt.channel?.closed,E=m?"диалог закрыт":lt.joinInChannel===!1?"ожидает присоединения":"был(а) недавно",x=!Et.cap&&p.jsx(UD,{className:s==="whatsapp"?"!bg-[var(--tg-bg-secondary)] border-[var(--tg-divider)]":s==="instagram"?"!bg-[var(--tg-bg)] shadow-[0_1px_0_rgba(0,0,0,0.08)] dark:shadow-[0_1px_0_rgba(255,255,255,0.06)]":"",left:Et.isMobile()?p.jsx(ui,{onClick:()=>U_(),children:p.jsx(by,{})}):null,center:p.jsx(l,{title:v,status:E,statusTone:m||E==="был(а) недавно"?"muted":"accent",avatarId:d?.owner??lt.channel?._id??"",avatarSize:40})}),C=!m&&lt.joinInChannel!=null&&!!lt.channel?._id&&p.jsx(p.Fragment,{children:lt.joinInChannel?p.jsx(x_,{}):Et.mode=="full"?p.jsx(c,{children:p.jsx(wg,{fullWidth:!0,onClick:()=>{lt.channel?._id&&we.joinChannel({channel:lt.channel._id}).then(({result:H})=>{H&&lt.updateChannelInfo()})},children:"Присоединиться"})}):null}),O=p.jsxs(p.Fragment,{children:[x,p.jsx("div",{className:"flex-1 flex flex-col min-h-0 relative",children:p.jsx(p_,{})}),C]});return r?p.jsx("div",{className:"relative w-full h-full flex flex-col",children:O}):p.jsx(bh,{children:O})}),C_=({noPage:r,channelID:s})=>(K.useLayoutEffect(()=>(lt.openChannel(s),()=>lt.stopMessagesPolling()),[s]),p.jsx(E_,{noPage:r})),cA=Yi(C_),S_=({size:r=22,className:s=""})=>p.jsx("span",{className:`inline-block rounded-full border-[2.5px] border-current border-t-transparent animate-spin ${s}`,style:{width:r,height:r,color:"var(--tg-accent)"}});Pe.locale("ru");const F_=()=>{const r=async()=>{const s=new URLSearchParams(window.location.search),l=await we.mode();if(l.result=="widget"){qe.setToken(()=>s.get("token")??null);const c=s.get("channel");Et.loadUser().then(()=>{c?(Et.setIsFixedChannel(!0),lo().ChannelPage.move({channelID:c})):(lo().MainPage.move({}),Et.setIsFixedChannel(!1))})}else qe.setUnauthorizedHandler(()=>{localStorage.removeItem("token"),window.location.reload()}),qe.setToken(()=>localStorage.getItem("token")??null),Et.setMode(l.result??"widget"),localStorage.getItem("token")?Et.loadUser().then(()=>lo().MainPage.move({})):lo().LoginPage.move({})};return K.useEffect(()=>{r()},[]),p.jsx(bh,{className:"items-center justify-center",children:p.jsx("div",{className:"my-auto flex flex-col items-center gap-3",children:p.jsx(S_,{size:32})})})},w_=Yi(F_);function oA(r){return ee({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095 48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"},child:[]}]})(r)}Pe.locale("ru");const M_=()=>{const[r,s]=K.useState(""),[l,c]=K.useState(""),[d,v]=K.useState(!1),[m,E]=K.useState(null),x=()=>{E(null),v(!0),we.auth({login:r,password:l}).then(({result:C})=>{C?(localStorage.setItem("token",C),window.location.reload()):(E("Неверный логин или пароль"),v(!1))}).catch(()=>{E("Ошибка входа"),v(!1)})};return p.jsx(bh,{className:"items-center justify-center",children:p.jsxs("div",{className:"w-full max-w-[380px] px-6 flex flex-col items-center my-auto",children:[p.jsx("div",{className:`w-20 h-20 rounded-full flex items-center justify-center mb-6
            shadow-[0_8px_24px_rgba(51,144,236,0.35)]`,style:{background:"linear-gradient(135deg, var(--tg-accent) 0%, #5eaaf3 100%)"},children:p.jsx(oA,{className:"w-10 h-10 text-white"})}),p.jsx("h1",{className:"text-[24px] font-semibold text-[var(--tg-text-primary)] mb-1",children:"Вход в чат"}),p.jsx("p",{className:"text-[14px] text-[var(--tg-text-secondary)] mb-7 text-center",children:"Введите данные для входа в аккаунт"}),p.jsxs("div",{className:"w-full space-y-3 mb-2",children:[p.jsx(Mg,{label:"Логин",placeholder:"Введите логин",value:r,onChange:s}),p.jsx(Mg,{label:"Пароль",type:"password",placeholder:"Введите пароль",value:l,onChange:c})]}),m&&p.jsx("div",{className:"text-[13px] text-[var(--tg-danger)] my-1.5 px-1 w-full",children:m}),p.jsx(wg,{fullWidth:!0,size:"lg",loading:d,disabled:!r||!l,onClick:x,className:"mt-4",children:"Войти"})]})})},O_=Yi(M_);function T_({value:r,onChange:s,tabs:l,className:c=""}){return p.jsx("div",{className:`relative flex gap-1 p-1 rounded-xl bg-[var(--tg-bg-secondary)] ${c}`,children:l.map(d=>{const v=d.id===r;return p.jsx("button",{type:"button",onClick:()=>s(d.id),className:`flex-1 h-8 rounded-lg text-[14px] font-medium tg-press
              transition-colors duration-150
              ${v?"bg-[var(--tg-bg)] text-[var(--tg-text-primary)] shadow-sm":"text-[var(--tg-text-secondary)]"}`,children:d.label},d.id)})})}Pe.locale("ru");const B_=r=>r?r.deleted?"Сообщение удалено":r.text?r.text:r.attachments?.length?"📎 Файл":r.voice?.url?"🎙 Голосовое сообщение":"":"",R_=r=>{if(!r)return"";const s=Pe.unix(r),l=Pe();return s.isSame(l,"day")?s.format("HH:mm"):s.isSame(l.subtract(1,"day"),"day")?"вчера":s.isSame(l,"year")?s.format("D MMM"):s.format("DD.MM.YY")},N_=({selectChannelID:r,channelTab:s,desktopChannelSwitchBlocked:l=!1,onSelectChannel:c})=>{const{id:d,components:{DialogRow:v,DialogsListSkeleton:m,EmptyDialogs:E}}=_s();return K.useEffect(()=>(Et.loadChannelList(),Et.startChannelListPolling(),()=>Et.stopChannelListPolling()),[s]),Et.dialogsLoading?p.jsx(m,{}):Et.channelList.length?p.jsx("div",{className:d==="whatsapp"?"flex flex-col gap-0":d==="instagram"?"flex flex-col gap-2 px-2 py-2 bg-[var(--tg-bg-secondary)] min-h-0":"flex flex-col gap-0.5 px-1 py-1",children:Et.channelList.map(x=>{const C=jD.shmChannelMessagesByID(x.lastMessage),O=x.unreadCounts?.[Et.userID]??0,H=!!x.closed,Y=x.members?.find(pt=>pt.owner!=Et.userID),et=C?.owner==Et.userID,it=H?"Диалог закрыт":B_(C),st=!!(et&&C?.viewed);return p.jsx(v,{avatarId:Y?.owner??x._id??"",title:x.name||"Без имени",preview:it,timeLabel:R_(C?.created_at??x.created_at),selected:!Et.isMobile()&&r===x._id,closed:H,switchBlocked:l&&r!==x._id,onClick:()=>x._id&&c(x),showReadCheck:st,unread:O},x._id)})}):p.jsx(E,{})},j_=Yi(N_);Pe.locale("ru");const L_=()=>{const{id:r,components:{MainSidebarHeaderCenter:s,MainDesktopSidebarShell:l,NoChannelSelected:c}}=_s(),d=!Et.isMobile()&&!lt.initialChannelSwitchReady,[v,m]=K.useState(!1),E=K.useRef(null),[x,C]=K.useState(""),[O,H]=K.useState(!1),Y=()=>{m(!1),LD({title:"Выйти из аккаунта?",content:"Вы уверены, что хотите выйти?",buttons:[{text:"Выйти",onClick:()=>{localStorage.clear(),window.location.reload()}},{text:"Отмена"}]})},et=[{id:"member",label:"Активные"},{id:"join",label:"Новые"}],it=p.jsxs(p.Fragment,{children:[!Et.cap&&p.jsx(UD,{className:r==="whatsapp"?"!bg-[var(--tg-bg-secondary)] border-[var(--tg-divider)]":r==="instagram"?"!bg-[var(--tg-bg)] shadow-[0_1px_0_rgba(0,0,0,0.08)] dark:shadow-[0_1px_0_rgba(255,255,255,0.06)]":"",left:p.jsx(ui,{ref:E,onClick:()=>m(!0),children:p.jsx(Cy,{})}),center:p.jsx(s,{searchActive:O,search:x,onSearchChange:C,onSearchBlur:()=>{x||H(!1)}}),right:p.jsx(ui,{onClick:()=>H(st=>!st),children:p.jsx(Oy,{})}),subnavbar:Et.mode=="full"&&p.jsx(T_,{value:Et.channelTab,onChange:st=>Et.setChannelTab(st),tabs:et})}),p.jsx("div",{className:"flex-1 overflow-y-auto tg-scroll",children:p.jsx(j_,{selectChannelID:Et.selectChannel?._id??null,channelTab:Et.channelTab,selectChannel:Et.selectChannel,desktopChannelSwitchBlocked:d,onSelectChannel:st=>{d&&st._id!==Et.selectChannel?._id||(Et.setSelectChannel(st),Et.isMobile()&&st?._id&&lo().ChannelPage.move({channelID:st._id}))}})}),p.jsx(_h,{opened:v,onClose:()=>m(!1),target:E.current,width:240,children:p.jsxs(VD,{children:[Et.mode=="full"&&p.jsx(Qr,{icon:p.jsx(Ey,{}),title:"Выйти",danger:!0,onClick:Y}),Et.mode!="full"&&p.jsx(Qr,{icon:p.jsx(oA,{}),title:"О приложении",onClick:()=>m(!1)})]})})]});return Et.isMobile()?p.jsx(bh,{children:it}):p.jsxs(bh,{className:"flex-row",children:[p.jsx(l,{children:it}),p.jsx("div",{className:"flex-1 flex flex-col min-w-0 relative",children:Et.selectChannel?._id?p.jsx(cA,{channelID:Et.selectChannel?._id,noPage:!0}):p.jsx(c,{})})]})},z_=Yi(L_),U_=()=>{so.current?.goBack()},lo=()=>({LoadingPage:{component:w_,move:r=>{so.current?.onChanceRoute("LoadingPage",r)}},LoginPage:{component:O_,move:r=>{so.current?.onChanceRoute("LoginPage",r)}},MainPage:{component:z_,move:r=>{so.current?.onChanceRoute("MainPage",r)}},ChannelPage:{component:cA,move:r=>{so.current?.onChanceRoute("ChannelPage",r)}}}),so=Iu.createRef(),H_=Iu.forwardRef((r,s)=>{const l=K.useRef(0);K.useImperativeHandle(s,()=>({goBack:()=>{d(E=>E.slice(0,-1))},onChanceRoute:(E,x)=>{c[c.length-1]?.route!==E&&d(C=>{const O={route:E,props:x,id:l.current++};return[...C,O]})}}));const[c,d]=K.useState([]),[v,m]=K.useState(!1);return K.useEffect(()=>{d([{route:"LoadingPage",props:{},id:l.current++}]),m(!0)},[]),K.useEffect(()=>{if(v&&c.length==0){d([{route:"LoadingPage",props:{},id:l.current++}]);return}},[c,v]),p.jsx(p.Fragment,{children:c.map((E,x)=>{let C=lo()[E.route];if(!C)return null;if(x==c.length-1)return p.jsx(C.component,{...E.props},E.id)})})}),Qp={primary:"#3390ec",red:"#e53935",green:"#43a047",blue:"#1e88e5",pink:"#ec407a",yellow:"#fbc02d",orange:"#fb8c00",purple:"#8e24aa",deeppurple:"#5e35b1",lightblue:"#039be5",teal:"#00897b",lime:"#7cb342",deeporange:"#f4511e"},G_=r=>{const s=Qp[r]??Qp.primary;document.documentElement.style.setProperty("--tg-theme-color",s)};Pe.locale("ru");Rh||(console.log=()=>{},console.error=()=>{},console.warn=()=>{},console.info=()=>{},console.debug=()=>{},console.trace=()=>{},console.dir=()=>{},console.dirxml=()=>{},console.group=()=>{});qe.setUseEncrypt(!Rh);qe.setEndpoints([Vy()]);qe.setToast(r=>{HD(r)});const q_=()=>{const[r,s]=K.useState(()=>typeof window<"u"?jp(window.location.search):"telegram");return K.useEffect(()=>{const l=()=>Et.setViewportWidth(window.innerWidth);l(),window.addEventListener("resize",l);const c=Y=>Y.preventDefault();document.addEventListener("gesturestart",c),document.addEventListener("gesturechange",c),document.addEventListener("gestureend",c);let d=0;const v=Y=>{const et=Date.now();et-d<=350&&Y.preventDefault(),d=et};document.addEventListener("touchend",v,{passive:!1});const m=Y=>{Y.ctrlKey&&Y.preventDefault()};window.addEventListener("wheel",m,{passive:!1});const E=Y=>{(Y.ctrlKey||Y.metaKey)&&["+","=","-","_","0"].includes(Y.key)&&Y.preventDefault()};window.addEventListener("keydown",E);const x=new URLSearchParams(window.location.search),C=x.get("cap");Et.setCap(!!C),x.get("dark")?document.body.classList.add("dark"):document.body.classList.remove("dark");const H=x.get("theme");return H&&G_(H),s(jp(window.location.search)),()=>{window.removeEventListener("resize",l),document.removeEventListener("gesturestart",c),document.removeEventListener("gesturechange",c),document.removeEventListener("gestureend",c),document.removeEventListener("touchend",v),window.removeEventListener("wheel",m),window.removeEventListener("keydown",E)}},[]),K.useEffect(()=>(document.documentElement.setAttribute("data-presentation",r),()=>{document.documentElement.removeAttribute("data-presentation")}),[r]),p.jsxs("div",{"data-presentation":r,className:"fixed inset-0 flex flex-col overflow-hidden bg-[var(--tg-bg)] text-[var(--tg-text-primary)]",style:{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)"},children:[p.jsx(kb,{id:r,children:p.jsx(H_,{ref:so})}),p.jsx($1,{ref:SD}),p.jsx(nA,{ref:eA}),p.jsx(tA,{ref:P1}),p.jsx(Z1,{ref:Q1})]})},Y_=Yi(q_);qe.setUseEncrypt(!0);qA.createRoot(document.getElementById("root")).render(p.jsx(Y_,{}));
