function JN(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const eD=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerpolicy&&(a.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?a.credentials="include":o.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}};eD();var ni=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function tD(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var C={exports:{}},xt={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var pC=Object.getOwnPropertySymbols,nD=Object.prototype.hasOwnProperty,rD=Object.prototype.propertyIsEnumerable;function oD(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function iD(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(a){o[a]=a}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var E4=iD()?Object.assign:function(e,t){for(var n,r=oD(e),o,a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var l in n)nD.call(n,l)&&(r[l]=n[l]);if(pC){o=pC(n);for(var u=0;u<o.length;u++)rD.call(n,o[u])&&(r[o[u]]=n[o[u]])}}return r};/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var O0=E4,ll=60103,w4=60106;xt.Fragment=60107;xt.StrictMode=60108;xt.Profiler=60114;var S4=60109,$4=60110,P4=60112;xt.Suspense=60113;var R4=60115,T4=60116;if(typeof Symbol=="function"&&Symbol.for){var go=Symbol.for;ll=go("react.element"),w4=go("react.portal"),xt.Fragment=go("react.fragment"),xt.StrictMode=go("react.strict_mode"),xt.Profiler=go("react.profiler"),S4=go("react.provider"),$4=go("react.context"),P4=go("react.forward_ref"),xt.Suspense=go("react.suspense"),R4=go("react.memo"),T4=go("react.lazy")}var hC=typeof Symbol=="function"&&Symbol.iterator;function aD(e){return e===null||typeof e!="object"?null:(e=hC&&e[hC]||e["@@iterator"],typeof e=="function"?e:null)}function Ic(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var I4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O4={};function ul(e,t,n){this.props=e,this.context=t,this.refs=O4,this.updater=n||I4}ul.prototype.isReactComponent={};ul.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Ic(85));this.updater.enqueueSetState(this,e,t,"setState")};ul.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function k4(){}k4.prototype=ul.prototype;function k0(e,t,n){this.props=e,this.context=t,this.refs=O4,this.updater=n||I4}var A0=k0.prototype=new k4;A0.constructor=k0;O0(A0,ul.prototype);A0.isPureReactComponent=!0;var L0={current:null},A4=Object.prototype.hasOwnProperty,L4={key:!0,ref:!0,__self:!0,__source:!0};function M4(e,t,n){var r,o={},a=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(a=""+t.key),t)A4.call(t,r)&&!L4.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){for(var c=Array(u),f=0;f<u;f++)c[f]=arguments[f+2];o.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)o[r]===void 0&&(o[r]=u[r]);return{$$typeof:ll,type:e,key:a,ref:l,props:o,_owner:L0.current}}function sD(e,t){return{$$typeof:ll,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function M0(e){return typeof e=="object"&&e!==null&&e.$$typeof===ll}function lD(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var gC=/\/+/g;function dm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?lD(""+e.key):t.toString(36)}function gf(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case ll:case w4:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+dm(l,0):r,Array.isArray(o)?(n="",e!=null&&(n=e.replace(gC,"$&/")+"/"),gf(o,t,n,"",function(f){return f})):o!=null&&(M0(o)&&(o=sD(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(gC,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){a=e[u];var c=r+dm(a,u);l+=gf(a,t,n,c,o)}else if(c=aD(e),typeof c=="function")for(e=c.call(e),u=0;!(a=e.next()).done;)a=a.value,c=r+dm(a,u++),l+=gf(a,t,n,c,o);else if(a==="object")throw t=""+e,Error(Ic(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function Wd(e,t,n){if(e==null)return e;var r=[],o=0;return gf(e,r,"","",function(a){return t.call(n,a,o++)}),r}function uD(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(n){e._status===0&&(n=n.default,e._status=1,e._result=n)},function(n){e._status===0&&(e._status=2,e._result=n)})}if(e._status===1)return e._result;throw e._result}var N4={current:null};function ci(){var e=N4.current;if(e===null)throw Error(Ic(321));return e}var cD={ReactCurrentDispatcher:N4,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:L0,IsSomeRendererActing:{current:!1},assign:O0};xt.Children={map:Wd,forEach:function(e,t,n){Wd(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Wd(e,function(){t++}),t},toArray:function(e){return Wd(e,function(t){return t})||[]},only:function(e){if(!M0(e))throw Error(Ic(143));return e}};xt.Component=ul;xt.PureComponent=k0;xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cD;xt.cloneElement=function(e,t,n){if(e==null)throw Error(Ic(267,e));var r=O0({},e.props),o=e.key,a=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,l=L0.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)A4.call(t,c)&&!L4.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&u!==void 0?u[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];r.children=u}return{$$typeof:ll,type:e.type,key:o,ref:a,props:r,_owner:l}};xt.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:$4,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:S4,_context:e},e.Consumer=e};xt.createElement=M4;xt.createFactory=function(e){var t=M4.bind(null,e);return t.type=e,t};xt.createRef=function(){return{current:null}};xt.forwardRef=function(e){return{$$typeof:P4,render:e}};xt.isValidElement=M0;xt.lazy=function(e){return{$$typeof:T4,_payload:{_status:-1,_result:e},_init:uD}};xt.memo=function(e,t){return{$$typeof:R4,type:e,compare:t===void 0?null:t}};xt.useCallback=function(e,t){return ci().useCallback(e,t)};xt.useContext=function(e,t){return ci().useContext(e,t)};xt.useDebugValue=function(){};xt.useEffect=function(e,t){return ci().useEffect(e,t)};xt.useImperativeHandle=function(e,t,n){return ci().useImperativeHandle(e,t,n)};xt.useLayoutEffect=function(e,t){return ci().useLayoutEffect(e,t)};xt.useMemo=function(e,t){return ci().useMemo(e,t)};xt.useReducer=function(e,t,n){return ci().useReducer(e,t,n)};xt.useRef=function(e){return ci().useRef(e)};xt.useState=function(e){return ci().useState(e)};xt.version="17.0.2";C.exports=xt;var S=C.exports,dD=JN({__proto__:null,default:S},[C.exports]),Oc={exports:{}},ro={},D4={exports:{}},B4={};/** @license React v0.20.2
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){var t,n,r,o;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var c=null,f=null,p=function(){if(c!==null)try{var H=e.unstable_now();c(!0,H),c=null}catch(q){throw setTimeout(p,0),q}};t=function(H){c!==null?setTimeout(t,0,H):(c=H,setTimeout(p,0))},n=function(H,q){f=setTimeout(H,q)},r=function(){clearTimeout(f)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var m=window.setTimeout,g=window.clearTimeout;if(typeof console!="undefined"){var x=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof x!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var E=!1,b=null,y=-1,v=5,_=0;e.unstable_shouldYield=function(){return e.unstable_now()>=_},o=function(){},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<H?Math.floor(1e3/H):5};var w=new MessageChannel,P=w.port2;w.port1.onmessage=function(){if(b!==null){var H=e.unstable_now();_=H+v;try{b(!0,H)?P.postMessage(null):(E=!1,b=null)}catch(q){throw P.postMessage(null),q}}else E=!1},t=function(H){b=H,E||(E=!0,P.postMessage(null))},n=function(H,q){y=m(function(){H(e.unstable_now())},q)},r=function(){g(y),y=-1}}function A(H,q){var Z=H.length;H.push(q);e:for(;;){var ue=Z-1>>>1,K=H[ue];if(K!==void 0&&0<L(K,q))H[ue]=q,H[Z]=K,Z=ue;else break e}}function k(H){return H=H[0],H===void 0?null:H}function I(H){var q=H[0];if(q!==void 0){var Z=H.pop();if(Z!==q){H[0]=Z;e:for(var ue=0,K=H.length;ue<K;){var U=2*(ue+1)-1,Y=H[U],re=U+1,fe=H[re];if(Y!==void 0&&0>L(Y,Z))fe!==void 0&&0>L(fe,Y)?(H[ue]=fe,H[re]=Z,ue=re):(H[ue]=Y,H[U]=Z,ue=U);else if(fe!==void 0&&0>L(fe,Z))H[ue]=fe,H[re]=Z,ue=re;else break e}}return q}return null}function L(H,q){var Z=H.sortIndex-q.sortIndex;return Z!==0?Z:H.id-q.id}var N=[],B=[],V=1,ee=null,X=3,ie=!1,J=!1,G=!1;function j(H){for(var q=k(B);q!==null;){if(q.callback===null)I(B);else if(q.startTime<=H)I(B),q.sortIndex=q.expirationTime,A(N,q);else break;q=k(B)}}function te(H){if(G=!1,j(H),!J)if(k(N)!==null)J=!0,t(ne);else{var q=k(B);q!==null&&n(te,q.startTime-H)}}function ne(H,q){J=!1,G&&(G=!1,r()),ie=!0;var Z=X;try{for(j(q),ee=k(N);ee!==null&&(!(ee.expirationTime>q)||H&&!e.unstable_shouldYield());){var ue=ee.callback;if(typeof ue=="function"){ee.callback=null,X=ee.priorityLevel;var K=ue(ee.expirationTime<=q);q=e.unstable_now(),typeof K=="function"?ee.callback=K:ee===k(N)&&I(N),j(q)}else I(N);ee=k(N)}if(ee!==null)var U=!0;else{var Y=k(B);Y!==null&&n(te,Y.startTime-q),U=!1}return U}finally{ee=null,X=Z,ie=!1}}var me=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(H){H.callback=null},e.unstable_continueExecution=function(){J||ie||(J=!0,t(ne))},e.unstable_getCurrentPriorityLevel=function(){return X},e.unstable_getFirstCallbackNode=function(){return k(N)},e.unstable_next=function(H){switch(X){case 1:case 2:case 3:var q=3;break;default:q=X}var Z=X;X=q;try{return H()}finally{X=Z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=me,e.unstable_runWithPriority=function(H,q){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var Z=X;X=H;try{return q()}finally{X=Z}},e.unstable_scheduleCallback=function(H,q,Z){var ue=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?ue+Z:ue):Z=ue,H){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=Z+K,H={id:V++,callback:q,priorityLevel:H,startTime:Z,expirationTime:K,sortIndex:-1},Z>ue?(H.sortIndex=Z,A(B,H),k(N)===null&&H===k(B)&&(G?r():G=!0,n(te,Z-ue))):(H.sortIndex=K,A(N,H),J||ie||(J=!0,t(ne))),H},e.unstable_wrapCallback=function(H){var q=X;return function(){var Z=X;X=q;try{return H.apply(this,arguments)}finally{X=Z}}}})(B4);D4.exports=B4;/** @license React v17.0.2
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var wp=C.exports,en=E4,Pn=D4.exports;function ve(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!wp)throw Error(ve(227));var F4=new Set,ec={};function Ua(e,t){Gs(e,t),Gs(e+"Capture",t)}function Gs(e,t){for(ec[e]=t,e=0;e<t.length;e++)F4.add(t[e])}var li=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),fD=/^[: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]*$/,mC=Object.prototype.hasOwnProperty,vC={},yC={};function pD(e){return mC.call(yC,e)?!0:mC.call(vC,e)?!1:fD.test(e)?yC[e]=!0:(vC[e]=!0,!1)}function hD(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function gD(e,t,n,r){if(t===null||typeof t=="undefined"||hD(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Jn(e,t,n,r,o,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Mn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Mn[e]=new Jn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Mn[t]=new Jn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Mn[e]=new Jn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Mn[e]=new Jn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Mn[e]=new Jn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Mn[e]=new Jn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Mn[e]=new Jn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Mn[e]=new Jn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Mn[e]=new Jn(e,5,!1,e.toLowerCase(),null,!1,!1)});var N0=/[\-:]([a-z])/g;function D0(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(N0,D0);Mn[t]=new Jn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(N0,D0);Mn[t]=new Jn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(N0,D0);Mn[t]=new Jn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Mn[e]=new Jn(e,1,!1,e.toLowerCase(),null,!1,!1)});Mn.xlinkHref=new Jn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Mn[e]=new Jn(e,1,!1,e.toLowerCase(),null,!0,!0)});function B0(e,t,n,r){var o=Mn.hasOwnProperty(t)?Mn[t]:null,a=o!==null?o.type===0:r?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");a||(gD(t,n,o,r)&&(n=null),r||o===null?pD(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var za=wp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Eu=60103,ba=60106,Si=60107,F0=60108,Au=60114,U0=60109,z0=60110,Sp=60112,Lu=60113,Nf=60120,$p=60115,j0=60116,W0=60121,H0=60128,U4=60129,V0=60130,pv=60131;if(typeof Symbol=="function"&&Symbol.for){var wn=Symbol.for;Eu=wn("react.element"),ba=wn("react.portal"),Si=wn("react.fragment"),F0=wn("react.strict_mode"),Au=wn("react.profiler"),U0=wn("react.provider"),z0=wn("react.context"),Sp=wn("react.forward_ref"),Lu=wn("react.suspense"),Nf=wn("react.suspense_list"),$p=wn("react.memo"),j0=wn("react.lazy"),W0=wn("react.block"),wn("react.scope"),H0=wn("react.opaque.id"),U4=wn("react.debug_trace_mode"),V0=wn("react.offscreen"),pv=wn("react.legacy_hidden")}var xC=typeof Symbol=="function"&&Symbol.iterator;function Ql(e){return e===null||typeof e!="object"?null:(e=xC&&e[xC]||e["@@iterator"],typeof e=="function"?e:null)}var fm;function wu(e){if(fm===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);fm=t&&t[1]||""}return`
`+fm+e}var pm=!1;function Hd(e,t){if(!e||pm)return"";pm=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
`),a=r.stack.split(`
`),l=o.length-1,u=a.length-1;1<=l&&0<=u&&o[l]!==a[u];)u--;for(;1<=l&&0<=u;l--,u--)if(o[l]!==a[u]){if(l!==1||u!==1)do if(l--,u--,0>u||o[l]!==a[u])return`
`+o[l].replace(" at new "," at ");while(1<=l&&0<=u);break}}}finally{pm=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?wu(e):""}function mD(e){switch(e.tag){case 5:return wu(e.type);case 16:return wu("Lazy");case 13:return wu("Suspense");case 19:return wu("SuspenseList");case 0:case 2:case 15:return e=Hd(e.type,!1),e;case 11:return e=Hd(e.type.render,!1),e;case 22:return e=Hd(e.type._render,!1),e;case 1:return e=Hd(e.type,!0),e;default:return""}}function Ts(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Si:return"Fragment";case ba:return"Portal";case Au:return"Profiler";case F0:return"StrictMode";case Lu:return"Suspense";case Nf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case z0:return(e.displayName||"Context")+".Consumer";case U0:return(e._context.displayName||"Context")+".Provider";case Sp:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case $p:return Ts(e.type);case W0:return Ts(e._render);case j0:t=e._payload,e=e._init;try{return Ts(e(t))}catch{}}return null}function zi(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function z4(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vD(e){var t=z4(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vd(e){e._valueTracker||(e._valueTracker=vD(e))}function j4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=z4(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Df(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function hv(e,t){var n=t.checked;return en({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function bC(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=zi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function W4(e,t){t=t.checked,t!=null&&B0(e,"checked",t,!1)}function gv(e,t){W4(e,t);var n=zi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mv(e,t.type,n):t.hasOwnProperty("defaultValue")&&mv(e,t.type,zi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function _C(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mv(e,t,n){(t!=="number"||Df(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function yD(e){var t="";return wp.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function vv(e,t){return e=en({children:void 0},t),(t=yD(t.children))&&(e.children=t),e}function Is(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+zi(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function yv(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(ve(91));return en({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function CC(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(ve(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(ve(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:zi(n)}}function H4(e,t){var n=zi(t.value),r=zi(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function EC(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var xv={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function V4(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function bv(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?V4(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Gd,G4=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!==xv.svg||"innerHTML"in e)e.innerHTML=t;else{for(Gd=Gd||document.createElement("div"),Gd.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Gd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function tc(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Mu={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xD=["Webkit","ms","Moz","O"];Object.keys(Mu).forEach(function(e){xD.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mu[t]=Mu[e]})});function K4(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Mu.hasOwnProperty(e)&&Mu[e]?(""+t).trim():t+"px"}function q4(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=K4(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var bD=en({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _v(e,t){if(t){if(bD[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ve(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ve(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(ve(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ve(62))}}function Cv(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function G0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ev=null,Os=null,ks=null;function wC(e){if(e=Ac(e)){if(typeof Ev!="function")throw Error(ve(280));var t=e.stateNode;t&&(t=kp(t),Ev(e.stateNode,e.type,t))}}function Y4(e){Os?ks?ks.push(e):ks=[e]:Os=e}function X4(){if(Os){var e=Os,t=ks;if(ks=Os=null,wC(e),t)for(e=0;e<t.length;e++)wC(t[e])}}function K0(e,t){return e(t)}function Q4(e,t,n,r,o){return e(t,n,r,o)}function q0(){}var Z4=K0,_a=!1,hm=!1;function Y0(){(Os!==null||ks!==null)&&(q0(),X4())}function _D(e,t,n){if(hm)return e(t,n);hm=!0;try{return Z4(e,t,n)}finally{hm=!1,Y0()}}function nc(e,t){var n=e.stateNode;if(n===null)return null;var r=kp(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(ve(231,t,typeof n));return n}var wv=!1;if(li)try{var Zl={};Object.defineProperty(Zl,"passive",{get:function(){wv=!0}}),window.addEventListener("test",Zl,Zl),window.removeEventListener("test",Zl,Zl)}catch{wv=!1}function CD(e,t,n,r,o,a,l,u,c){var f=Array.prototype.slice.call(arguments,3);try{t.apply(n,f)}catch(p){this.onError(p)}}var Nu=!1,Bf=null,Ff=!1,Sv=null,ED={onError:function(e){Nu=!0,Bf=e}};function wD(e,t,n,r,o,a,l,u,c){Nu=!1,Bf=null,CD.apply(ED,arguments)}function SD(e,t,n,r,o,a,l,u,c){if(wD.apply(this,arguments),Nu){if(Nu){var f=Bf;Nu=!1,Bf=null}else throw Error(ve(198));Ff||(Ff=!0,Sv=f)}}function ja(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function J4(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function SC(e){if(ja(e)!==e)throw Error(ve(188))}function $D(e){var t=e.alternate;if(!t){if(t=ja(e),t===null)throw Error(ve(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var a=o.alternate;if(a===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return SC(o),e;if(a===r)return SC(o),t;a=a.sibling}throw Error(ve(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l){for(u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l)throw Error(ve(189))}}if(n.alternate!==r)throw Error(ve(190))}if(n.tag!==3)throw Error(ve(188));return n.stateNode.current===n?e:t}function e2(e){if(e=$D(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function $C(e,t){for(var n=e.alternate;t!==null;){if(t===e||t===n)return!0;t=t.return}return!1}var t2,X0,n2,r2,$v=!1,Ao=[],Oi=null,ki=null,Ai=null,rc=new Map,oc=new Map,Jl=[],PC="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 submit".split(" ");function Pv(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n|16,nativeEvent:o,targetContainers:[r]}}function RC(e,t){switch(e){case"focusin":case"focusout":Oi=null;break;case"dragenter":case"dragleave":ki=null;break;case"mouseover":case"mouseout":Ai=null;break;case"pointerover":case"pointerout":rc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":oc.delete(t.pointerId)}}function eu(e,t,n,r,o,a){return e===null||e.nativeEvent!==a?(e=Pv(t,n,r,o,a),t!==null&&(t=Ac(t),t!==null&&X0(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function PD(e,t,n,r,o){switch(t){case"focusin":return Oi=eu(Oi,e,t,n,r,o),!0;case"dragenter":return ki=eu(ki,e,t,n,r,o),!0;case"mouseover":return Ai=eu(Ai,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return rc.set(a,eu(rc.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,oc.set(a,eu(oc.get(a)||null,e,t,n,r,o)),!0}return!1}function RD(e){var t=Ca(e.target);if(t!==null){var n=ja(t);if(n!==null){if(t=n.tag,t===13){if(t=J4(n),t!==null){e.blockedOn=t,r2(e.lanePriority,function(){Pn.unstable_runWithPriority(e.priority,function(){n2(n)})});return}}else if(t===3&&n.stateNode.hydrate){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function mf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ey(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null)return t=Ac(n),t!==null&&X0(t),e.blockedOn=n,!1;t.shift()}return!0}function TC(e,t,n){mf(e)&&n.delete(t)}function TD(){for($v=!1;0<Ao.length;){var e=Ao[0];if(e.blockedOn!==null){e=Ac(e.blockedOn),e!==null&&t2(e);break}for(var t=e.targetContainers;0<t.length;){var n=ey(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null){e.blockedOn=n;break}t.shift()}e.blockedOn===null&&Ao.shift()}Oi!==null&&mf(Oi)&&(Oi=null),ki!==null&&mf(ki)&&(ki=null),Ai!==null&&mf(Ai)&&(Ai=null),rc.forEach(TC),oc.forEach(TC)}function tu(e,t){e.blockedOn===t&&(e.blockedOn=null,$v||($v=!0,Pn.unstable_scheduleCallback(Pn.unstable_NormalPriority,TD)))}function o2(e){function t(o){return tu(o,e)}if(0<Ao.length){tu(Ao[0],e);for(var n=1;n<Ao.length;n++){var r=Ao[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Oi!==null&&tu(Oi,e),ki!==null&&tu(ki,e),Ai!==null&&tu(Ai,e),rc.forEach(t),oc.forEach(t),n=0;n<Jl.length;n++)r=Jl[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Jl.length&&(n=Jl[0],n.blockedOn===null);)RD(n),n.blockedOn===null&&Jl.shift()}function Kd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cs={animationend:Kd("Animation","AnimationEnd"),animationiteration:Kd("Animation","AnimationIteration"),animationstart:Kd("Animation","AnimationStart"),transitionend:Kd("Transition","TransitionEnd")},gm={},i2={};li&&(i2=document.createElement("div").style,"AnimationEvent"in window||(delete Cs.animationend.animation,delete Cs.animationiteration.animation,delete Cs.animationstart.animation),"TransitionEvent"in window||delete Cs.transitionend.transition);function Pp(e){if(gm[e])return gm[e];if(!Cs[e])return e;var t=Cs[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in i2)return gm[e]=t[n];return e}var a2=Pp("animationend"),s2=Pp("animationiteration"),l2=Pp("animationstart"),u2=Pp("transitionend"),c2=new Map,Q0=new Map,ID=["abort","abort",a2,"animationEnd",s2,"animationIteration",l2,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",u2,"transitionEnd","waiting","waiting"];function Z0(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Q0.set(r,t),c2.set(r,o),Ua(o,[r])}}var OD=Pn.unstable_now;OD();var Ht=8;function ys(e){if((1&e)!==0)return Ht=15,1;if((2&e)!==0)return Ht=14,2;if((4&e)!==0)return Ht=13,4;var t=24&e;return t!==0?(Ht=12,t):(e&32)!==0?(Ht=11,32):(t=192&e,t!==0?(Ht=10,t):(e&256)!==0?(Ht=9,256):(t=3584&e,t!==0?(Ht=8,t):(e&4096)!==0?(Ht=7,4096):(t=4186112&e,t!==0?(Ht=6,t):(t=62914560&e,t!==0?(Ht=5,t):e&67108864?(Ht=4,67108864):(e&134217728)!==0?(Ht=3,134217728):(t=805306368&e,t!==0?(Ht=2,t):(1073741824&e)!==0?(Ht=1,1073741824):(Ht=8,e))))))}function kD(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function AD(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(ve(358,e))}}function ic(e,t){var n=e.pendingLanes;if(n===0)return Ht=0;var r=0,o=0,a=e.expiredLanes,l=e.suspendedLanes,u=e.pingedLanes;if(a!==0)r=a,o=Ht=15;else if(a=n&134217727,a!==0){var c=a&~l;c!==0?(r=ys(c),o=Ht):(u&=a,u!==0&&(r=ys(u),o=Ht))}else a=n&~l,a!==0?(r=ys(a),o=Ht):u!==0&&(r=ys(u),o=Ht);if(r===0)return 0;if(r=31-ji(r),r=n&((0>r?0:1<<r)<<1)-1,t!==0&&t!==r&&(t&l)===0){if(ys(t),o<=Ht)return t;Ht=o}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ji(t),o=1<<n,r|=e[n],t&=~o;return r}function d2(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Uf(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=xs(24&~t),e===0?Uf(10,t):e;case 10:return e=xs(192&~t),e===0?Uf(8,t):e;case 8:return e=xs(3584&~t),e===0&&(e=xs(4186112&~t),e===0&&(e=512)),e;case 2:return t=xs(805306368&~t),t===0&&(t=268435456),t}throw Error(ve(358,e))}function xs(e){return e&-e}function mm(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Rp(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-ji(t),e[t]=n}var ji=Math.clz32?Math.clz32:ND,LD=Math.log,MD=Math.LN2;function ND(e){return e===0?32:31-(LD(e)/MD|0)|0}var DD=Pn.unstable_UserBlockingPriority,BD=Pn.unstable_runWithPriority,vf=!0;function FD(e,t,n,r){_a||q0();var o=J0,a=_a;_a=!0;try{Q4(o,e,t,n,r)}finally{(_a=a)||Y0()}}function UD(e,t,n,r){BD(DD,J0.bind(null,e,t,n,r))}function J0(e,t,n,r){if(vf){var o;if((o=(t&4)===0)&&0<Ao.length&&-1<PC.indexOf(e))e=Pv(null,e,t,n,r),Ao.push(e);else{var a=ey(e,t,n,r);if(a===null)o&&RC(e,r);else{if(o){if(-1<PC.indexOf(e)){e=Pv(a,e,t,n,r),Ao.push(e);return}if(PD(a,e,t,n,r))return;RC(e,r)}w2(e,t,r,null,n)}}}}function ey(e,t,n,r){var o=G0(r);if(o=Ca(o),o!==null){var a=ja(o);if(a===null)o=null;else{var l=a.tag;if(l===13){if(o=J4(a),o!==null)return o;o=null}else if(l===3){if(a.stateNode.hydrate)return a.tag===3?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return w2(e,t,r,o,n),null}var Pi=null,ty=null,yf=null;function f2(){if(yf)return yf;var e,t=ty,n=t.length,r,o="value"in Pi?Pi.value:Pi.textContent,a=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[a-r];r++);return yf=o.slice(e,1<r?1-r:void 0)}function xf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function qd(){return!0}function IC(){return!1}function Or(e){function t(n,r,o,a,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=a,this.target=l,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(a):a[u]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?qd:IC,this.isPropagationStopped=IC,this}return en(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=qd)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=qd)},persist:function(){},isPersistent:qd}),t}var cl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ny=Or(cl),kc=en({},cl,{view:0,detail:0}),zD=Or(kc),vm,ym,nu,Tp=en({},kc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ry,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==nu&&(nu&&e.type==="mousemove"?(vm=e.screenX-nu.screenX,ym=e.screenY-nu.screenY):ym=vm=0,nu=e),vm)},movementY:function(e){return"movementY"in e?e.movementY:ym}}),OC=Or(Tp),jD=en({},Tp,{dataTransfer:0}),WD=Or(jD),HD=en({},kc,{relatedTarget:0}),xm=Or(HD),VD=en({},cl,{animationName:0,elapsedTime:0,pseudoElement:0}),GD=Or(VD),KD=en({},cl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qD=Or(KD),YD=en({},cl,{data:0}),kC=Or(YD),XD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},QD={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"},ZD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function JD(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ZD[e])?!!t[e]:!1}function ry(){return JD}var eB=en({},kc,{key:function(e){if(e.key){var t=XD[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?QD[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ry,charCode:function(e){return e.type==="keypress"?xf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),tB=Or(eB),nB=en({},Tp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),AC=Or(nB),rB=en({},kc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ry}),oB=Or(rB),iB=en({},cl,{propertyName:0,elapsedTime:0,pseudoElement:0}),aB=Or(iB),sB=en({},Tp,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),lB=Or(sB),uB=[9,13,27,32],oy=li&&"CompositionEvent"in window,Du=null;li&&"documentMode"in document&&(Du=document.documentMode);var cB=li&&"TextEvent"in window&&!Du,p2=li&&(!oy||Du&&8<Du&&11>=Du),LC=String.fromCharCode(32),MC=!1;function h2(e,t){switch(e){case"keyup":return uB.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function g2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Es=!1;function dB(e,t){switch(e){case"compositionend":return g2(t);case"keypress":return t.which!==32?null:(MC=!0,LC);case"textInput":return e=t.data,e===LC&&MC?null:e;default:return null}}function fB(e,t){if(Es)return e==="compositionend"||!oy&&h2(e,t)?(e=f2(),yf=ty=Pi=null,Es=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return p2&&t.locale!=="ko"?null:t.data;default:return null}}var pB={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 NC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!pB[e.type]:t==="textarea"}function m2(e,t,n,r){Y4(r),t=zf(t,"onChange"),0<t.length&&(n=new ny("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bu=null,ac=null;function hB(e){_2(e,0)}function Ip(e){var t=Ss(e);if(j4(t))return e}function gB(e,t){if(e==="change")return t}var v2=!1;if(li){var bm;if(li){var _m="oninput"in document;if(!_m){var DC=document.createElement("div");DC.setAttribute("oninput","return;"),_m=typeof DC.oninput=="function"}bm=_m}else bm=!1;v2=bm&&(!document.documentMode||9<document.documentMode)}function BC(){Bu&&(Bu.detachEvent("onpropertychange",y2),ac=Bu=null)}function y2(e){if(e.propertyName==="value"&&Ip(ac)){var t=[];if(m2(t,ac,e,G0(e)),e=hB,_a)e(t);else{_a=!0;try{K0(e,t)}finally{_a=!1,Y0()}}}}function mB(e,t,n){e==="focusin"?(BC(),Bu=t,ac=n,Bu.attachEvent("onpropertychange",y2)):e==="focusout"&&BC()}function vB(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ip(ac)}function yB(e,t){if(e==="click")return Ip(t)}function xB(e,t){if(e==="input"||e==="change")return Ip(t)}function bB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gr=typeof Object.is=="function"?Object.is:bB,_B=Object.prototype.hasOwnProperty;function sc(e,t){if(Gr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!_B.call(t,n[r])||!Gr(e[n[r]],t[n[r]]))return!1;return!0}function FC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function UC(e,t){var n=FC(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=FC(n)}}function x2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?x2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zC(){for(var e=window,t=Df();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Df(e.document)}return t}function Rv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var CB=li&&"documentMode"in document&&11>=document.documentMode,ws=null,Tv=null,Fu=null,Iv=!1;function jC(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Iv||ws==null||ws!==Df(r)||(r=ws,"selectionStart"in r&&Rv(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fu&&sc(Fu,r)||(Fu=r,r=zf(Tv,"onSelect"),0<r.length&&(t=new ny("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ws)))}Z0("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);Z0("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);Z0(ID,2);for(var WC="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cm=0;Cm<WC.length;Cm++)Q0.set(WC[Cm],0);Gs("onMouseEnter",["mouseout","mouseover"]);Gs("onMouseLeave",["mouseout","mouseover"]);Gs("onPointerEnter",["pointerout","pointerover"]);Gs("onPointerLeave",["pointerout","pointerover"]);Ua("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ua("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ua("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ua("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ua("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ua("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Su="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),b2=new Set("cancel close invalid load scroll toggle".split(" ").concat(Su));function HC(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,SD(r,t,void 0,e),e.currentTarget=null}function _2(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var l=r.length-1;0<=l;l--){var u=r[l],c=u.instance,f=u.currentTarget;if(u=u.listener,c!==a&&o.isPropagationStopped())break e;HC(o,u,f),a=c}else for(l=0;l<r.length;l++){if(u=r[l],c=u.instance,f=u.currentTarget,u=u.listener,c!==a&&o.isPropagationStopped())break e;HC(o,u,f),a=c}}}if(Ff)throw e=Sv,Ff=!1,Sv=null,e}function Gt(e,t){var n=$2(t),r=e+"__bubble";n.has(r)||(E2(t,e,2,!1),n.add(r))}var VC="_reactListening"+Math.random().toString(36).slice(2);function C2(e){e[VC]||(e[VC]=!0,F4.forEach(function(t){b2.has(t)||GC(t,!1,e,null),GC(t,!0,e,null)}))}function GC(e,t,n,r){var o=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,a=n;if(e==="selectionchange"&&n.nodeType!==9&&(a=n.ownerDocument),r!==null&&!t&&b2.has(e)){if(e!=="scroll")return;o|=2,a=r}var l=$2(a),u=e+"__"+(t?"capture":"bubble");l.has(u)||(t&&(o|=4),E2(a,e,o,t),l.add(u))}function E2(e,t,n,r){var o=Q0.get(t);switch(o===void 0?2:o){case 0:o=FD;break;case 1:o=UD;break;default:o=J0}n=o.bind(null,t,n,e),o=void 0,!wv||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function w2(e,t,n,r,o){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var u=r.stateNode.containerInfo;if(u===o||u.nodeType===8&&u.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var c=l.tag;if((c===3||c===4)&&(c=l.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;l=l.return}for(;u!==null;){if(l=Ca(u),l===null)return;if(c=l.tag,c===5||c===6){r=a=l;continue e}u=u.parentNode}}r=r.return}_D(function(){var f=a,p=G0(n),m=[];e:{var g=c2.get(e);if(g!==void 0){var x=ny,E=e;switch(e){case"keypress":if(xf(n)===0)break e;case"keydown":case"keyup":x=tB;break;case"focusin":E="focus",x=xm;break;case"focusout":E="blur",x=xm;break;case"beforeblur":case"afterblur":x=xm;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=OC;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=WD;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=oB;break;case a2:case s2:case l2:x=GD;break;case u2:x=aB;break;case"scroll":x=zD;break;case"wheel":x=lB;break;case"copy":case"cut":case"paste":x=qD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=AC}var b=(t&4)!==0,y=!b&&e==="scroll",v=b?g!==null?g+"Capture":null:g;b=[];for(var _=f,w;_!==null;){w=_;var P=w.stateNode;if(w.tag===5&&P!==null&&(w=P,v!==null&&(P=nc(_,v),P!=null&&b.push(lc(_,P,w)))),y)break;_=_.return}0<b.length&&(g=new x(g,E,null,n,p),m.push({event:g,listeners:b}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",g&&(t&16)===0&&(E=n.relatedTarget||n.fromElement)&&(Ca(E)||E[dl]))break e;if((x||g)&&(g=p.window===p?p:(g=p.ownerDocument)?g.defaultView||g.parentWindow:window,x?(E=n.relatedTarget||n.toElement,x=f,E=E?Ca(E):null,E!==null&&(y=ja(E),E!==y||E.tag!==5&&E.tag!==6)&&(E=null)):(x=null,E=f),x!==E)){if(b=OC,P="onMouseLeave",v="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(b=AC,P="onPointerLeave",v="onPointerEnter",_="pointer"),y=x==null?g:Ss(x),w=E==null?g:Ss(E),g=new b(P,_+"leave",x,n,p),g.target=y,g.relatedTarget=w,P=null,Ca(p)===f&&(b=new b(v,_+"enter",E,n,p),b.target=w,b.relatedTarget=y,P=b),y=P,x&&E)t:{for(b=x,v=E,_=0,w=b;w;w=ls(w))_++;for(w=0,P=v;P;P=ls(P))w++;for(;0<_-w;)b=ls(b),_--;for(;0<w-_;)v=ls(v),w--;for(;_--;){if(b===v||v!==null&&b===v.alternate)break t;b=ls(b),v=ls(v)}b=null}else b=null;x!==null&&KC(m,g,x,b,!1),E!==null&&y!==null&&KC(m,y,E,b,!0)}}e:{if(g=f?Ss(f):window,x=g.nodeName&&g.nodeName.toLowerCase(),x==="select"||x==="input"&&g.type==="file")var A=gB;else if(NC(g))if(v2)A=xB;else{A=vB;var k=mB}else(x=g.nodeName)&&x.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(A=yB);if(A&&(A=A(e,f))){m2(m,A,n,p);break e}k&&k(e,g,f),e==="focusout"&&(k=g._wrapperState)&&k.controlled&&g.type==="number"&&mv(g,"number",g.value)}switch(k=f?Ss(f):window,e){case"focusin":(NC(k)||k.contentEditable==="true")&&(ws=k,Tv=f,Fu=null);break;case"focusout":Fu=Tv=ws=null;break;case"mousedown":Iv=!0;break;case"contextmenu":case"mouseup":case"dragend":Iv=!1,jC(m,n,p);break;case"selectionchange":if(CB)break;case"keydown":case"keyup":jC(m,n,p)}var I;if(oy)e:{switch(e){case"compositionstart":var L="onCompositionStart";break e;case"compositionend":L="onCompositionEnd";break e;case"compositionupdate":L="onCompositionUpdate";break e}L=void 0}else Es?h2(e,n)&&(L="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(L="onCompositionStart");L&&(p2&&n.locale!=="ko"&&(Es||L!=="onCompositionStart"?L==="onCompositionEnd"&&Es&&(I=f2()):(Pi=p,ty="value"in Pi?Pi.value:Pi.textContent,Es=!0)),k=zf(f,L),0<k.length&&(L=new kC(L,e,null,n,p),m.push({event:L,listeners:k}),I?L.data=I:(I=g2(n),I!==null&&(L.data=I)))),(I=cB?dB(e,n):fB(e,n))&&(f=zf(f,"onBeforeInput"),0<f.length&&(p=new kC("onBeforeInput","beforeinput",null,n,p),m.push({event:p,listeners:f}),p.data=I))}_2(m,t)})}function lc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zf(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,a=o.stateNode;o.tag===5&&a!==null&&(o=a,a=nc(e,n),a!=null&&r.unshift(lc(e,a,o)),a=nc(e,t),a!=null&&r.push(lc(e,a,o))),e=e.return}return r}function ls(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function KC(e,t,n,r,o){for(var a=t._reactName,l=[];n!==null&&n!==r;){var u=n,c=u.alternate,f=u.stateNode;if(c!==null&&c===r)break;u.tag===5&&f!==null&&(u=f,o?(c=nc(n,a),c!=null&&l.unshift(lc(n,c,u))):o||(c=nc(n,a),c!=null&&l.push(lc(n,c,u)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}function jf(){}var Em=null,wm=null;function S2(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ov(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var qC=typeof setTimeout=="function"?setTimeout:void 0,EB=typeof clearTimeout=="function"?clearTimeout:void 0;function iy(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function As(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function YC(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Sm=0;function wB(e){return{$$typeof:H0,toString:e,valueOf:e}}var Op=Math.random().toString(36).slice(2),Ri="__reactFiber$"+Op,Wf="__reactProps$"+Op,dl="__reactContainer$"+Op,XC="__reactEvents$"+Op;function Ca(e){var t=e[Ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[dl]||n[Ri]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=YC(e);e!==null;){if(n=e[Ri])return n;e=YC(e)}return t}e=n,n=e.parentNode}return null}function Ac(e){return e=e[Ri]||e[dl],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ss(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ve(33))}function kp(e){return e[Wf]||null}function $2(e){var t=e[XC];return t===void 0&&(t=e[XC]=new Set),t}var kv=[],$s=-1;function Qi(e){return{current:e}}function qt(e){0>$s||(e.current=kv[$s],kv[$s]=null,$s--)}function un(e,t){$s++,kv[$s]=e.current,e.current=t}var Wi={},Vn=Qi(Wi),cr=Qi(!1),Ia=Wi;function Ks(e,t){var n=e.type.contextTypes;if(!n)return Wi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function dr(e){return e=e.childContextTypes,e!=null}function Hf(){qt(cr),qt(Vn)}function QC(e,t,n){if(Vn.current!==Wi)throw Error(ve(168));un(Vn,t),un(cr,n)}function P2(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in e))throw Error(ve(108,Ts(t)||"Unknown",o));return en({},n,r)}function bf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wi,Ia=Vn.current,un(Vn,e),un(cr,cr.current),!0}function ZC(e,t,n){var r=e.stateNode;if(!r)throw Error(ve(169));n?(e=P2(e,t,Ia),r.__reactInternalMemoizedMergedChildContext=e,qt(cr),qt(Vn),un(Vn,e)):qt(cr),un(cr,n)}var ay=null,Pa=null,SB=Pn.unstable_runWithPriority,sy=Pn.unstable_scheduleCallback,Av=Pn.unstable_cancelCallback,$B=Pn.unstable_shouldYield,JC=Pn.unstable_requestPaint,Lv=Pn.unstable_now,PB=Pn.unstable_getCurrentPriorityLevel,Ap=Pn.unstable_ImmediatePriority,R2=Pn.unstable_UserBlockingPriority,T2=Pn.unstable_NormalPriority,I2=Pn.unstable_LowPriority,O2=Pn.unstable_IdlePriority,$m={},RB=JC!==void 0?JC:function(){},ti=null,_f=null,Pm=!1,eE=Lv(),Wn=1e4>eE?Lv:function(){return Lv()-eE};function qs(){switch(PB()){case Ap:return 99;case R2:return 98;case T2:return 97;case I2:return 96;case O2:return 95;default:throw Error(ve(332))}}function k2(e){switch(e){case 99:return Ap;case 98:return R2;case 97:return T2;case 96:return I2;case 95:return O2;default:throw Error(ve(332))}}function Oa(e,t){return e=k2(e),SB(e,t)}function uc(e,t,n){return e=k2(e),sy(e,t,n)}function Wo(){if(_f!==null){var e=_f;_f=null,Av(e)}A2()}function A2(){if(!Pm&&ti!==null){Pm=!0;var e=0;try{var t=ti;Oa(99,function(){for(;e<t.length;e++){var n=t[e];do n=n(!0);while(n!==null)}}),ti=null}catch(n){throw ti!==null&&(ti=ti.slice(e+1)),sy(Ap,Wo),n}finally{Pm=!1}}}var TB=za.ReactCurrentBatchConfig;function mo(e,t){if(e&&e.defaultProps){t=en({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Vf=Qi(null),Gf=null,Ps=null,Kf=null;function ly(){Kf=Ps=Gf=null}function uy(e){var t=Vf.current;qt(Vf),e.type._context._currentValue=t}function L2(e,t){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)===t){if(n===null||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,n!==null&&(n.childLanes|=t);e=e.return}}function Ls(e,t){Gf=e,Kf=Ps=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(yo=!0),e.firstContext=null)}function Jr(e,t){if(Kf!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Kf=e,t=1073741823),t={context:e,observedBits:t,next:null},Ps===null){if(Gf===null)throw Error(ve(308));Ps=t,Gf.dependencies={lanes:0,firstContext:t,responders:null}}else Ps=Ps.next=t;return e._currentValue}var wi=!1;function cy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function M2(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Li(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mi(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function tE(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?o=a=l:a=a.next=l,n=n.next}while(n!==null);a===null?o=a=t:a=a.next=t}else o=a=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cc(e,t,n,r){var o=e.updateQueue;wi=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var c=u,f=c.next;c.next=null,l===null?a=f:l.next=f,l=c;var p=e.alternate;if(p!==null){p=p.updateQueue;var m=p.lastBaseUpdate;m!==l&&(m===null?p.firstBaseUpdate=f:m.next=f,p.lastBaseUpdate=c)}}if(a!==null){m=o.baseState,l=0,p=f=c=null;do{u=a.lane;var g=a.eventTime;if((r&u)===u){p!==null&&(p=p.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,E=a;switch(u=t,g=n,E.tag){case 1:if(x=E.payload,typeof x=="function"){m=x.call(g,m,u);break e}m=x;break e;case 3:x.flags=x.flags&-4097|64;case 0:if(x=E.payload,u=typeof x=="function"?x.call(g,m,u):x,u==null)break e;m=en({},m,u);break e;case 2:wi=!0}}a.callback!==null&&(e.flags|=32,u=o.effects,u===null?o.effects=[a]:u.push(a))}else g={eventTime:g,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},p===null?(f=p=g,c=m):p=p.next=g,l|=u;if(a=a.next,a===null){if(u=o.shared.pending,u===null)break;a=u.next,u.next=null,o.lastBaseUpdate=u,o.shared.pending=null}}while(1);p===null&&(c=m),o.baseState=c,o.firstBaseUpdate=f,o.lastBaseUpdate=p,Mc|=l,e.lanes=l,e.memoizedState=m}}function nE(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(ve(191,o));o.call(r)}}}var N2=new wp.Component().refs;function qf(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:en({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Lp={isMounted:function(e){return(e=e._reactInternals)?ja(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Pr(),o=Ni(e),a=Li(r,o);a.payload=t,n!=null&&(a.callback=n),Mi(e,a),Di(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Pr(),o=Ni(e),a=Li(r,o);a.tag=1,a.payload=t,n!=null&&(a.callback=n),Mi(e,a),Di(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pr(),r=Ni(e),o=Li(n,r);o.tag=2,t!=null&&(o.callback=t),Mi(e,o),Di(e,r,n)}};function rE(e,t,n,r,o,a,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,l):t.prototype&&t.prototype.isPureReactComponent?!sc(n,r)||!sc(o,a):!0}function D2(e,t,n){var r=!1,o=Wi,a=t.contextType;return typeof a=="object"&&a!==null?a=Jr(a):(o=dr(t)?Ia:Vn.current,r=t.contextTypes,a=(r=r!=null)?Ks(e,o):Wi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Lp,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function oE(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Lp.enqueueReplaceState(t,t.state,null)}function Mv(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=N2,cy(e);var a=t.contextType;typeof a=="object"&&a!==null?o.context=Jr(a):(a=dr(t)?Ia:Vn.current,o.context=Ks(e,a)),cc(e,n,o,r),o.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(qf(e,t,a,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Lp.enqueueReplaceState(o,o.state,null),cc(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4)}var Yd=Array.isArray;function ru(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(ve(309));var r=n.stateNode}if(!r)throw Error(ve(147,e));var o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var l=r.refs;l===N2&&(l=r.refs={}),a===null?delete l[o]:l[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(ve(284));if(!n._owner)throw Error(ve(290,e))}return e}function Xd(e,t){if(e.type!=="textarea")throw Error(ve(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function B2(e){function t(y,v){if(e){var _=y.lastEffect;_!==null?(_.nextEffect=v,y.lastEffect=v):y.firstEffect=y.lastEffect=v,v.nextEffect=null,v.flags=8}}function n(y,v){if(!e)return null;for(;v!==null;)t(y,v),v=v.sibling;return null}function r(y,v){for(y=new Map;v!==null;)v.key!==null?y.set(v.key,v):y.set(v.index,v),v=v.sibling;return y}function o(y,v){return y=Vi(y,v),y.index=0,y.sibling=null,y}function a(y,v,_){return y.index=_,e?(_=y.alternate,_!==null?(_=_.index,_<v?(y.flags=2,v):_):(y.flags=2,v)):v}function l(y){return e&&y.alternate===null&&(y.flags=2),y}function u(y,v,_,w){return v===null||v.tag!==6?(v=km(_,y.mode,w),v.return=y,v):(v=o(v,_),v.return=y,v)}function c(y,v,_,w){return v!==null&&v.elementType===_.type?(w=o(v,_.props),w.ref=ru(y,v,_),w.return=y,w):(w=Sf(_.type,_.key,_.props,null,y.mode,w),w.ref=ru(y,v,_),w.return=y,w)}function f(y,v,_,w){return v===null||v.tag!==4||v.stateNode.containerInfo!==_.containerInfo||v.stateNode.implementation!==_.implementation?(v=Am(_,y.mode,w),v.return=y,v):(v=o(v,_.children||[]),v.return=y,v)}function p(y,v,_,w,P){return v===null||v.tag!==7?(v=Bs(_,y.mode,w,P),v.return=y,v):(v=o(v,_),v.return=y,v)}function m(y,v,_){if(typeof v=="string"||typeof v=="number")return v=km(""+v,y.mode,_),v.return=y,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Eu:return _=Sf(v.type,v.key,v.props,null,y.mode,_),_.ref=ru(y,null,v),_.return=y,_;case ba:return v=Am(v,y.mode,_),v.return=y,v}if(Yd(v)||Ql(v))return v=Bs(v,y.mode,_,null),v.return=y,v;Xd(y,v)}return null}function g(y,v,_,w){var P=v!==null?v.key:null;if(typeof _=="string"||typeof _=="number")return P!==null?null:u(y,v,""+_,w);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Eu:return _.key===P?_.type===Si?p(y,v,_.props.children,w,P):c(y,v,_,w):null;case ba:return _.key===P?f(y,v,_,w):null}if(Yd(_)||Ql(_))return P!==null?null:p(y,v,_,w,null);Xd(y,_)}return null}function x(y,v,_,w,P){if(typeof w=="string"||typeof w=="number")return y=y.get(_)||null,u(v,y,""+w,P);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Eu:return y=y.get(w.key===null?_:w.key)||null,w.type===Si?p(v,y,w.props.children,P,w.key):c(v,y,w,P);case ba:return y=y.get(w.key===null?_:w.key)||null,f(v,y,w,P)}if(Yd(w)||Ql(w))return y=y.get(_)||null,p(v,y,w,P,null);Xd(v,w)}return null}function E(y,v,_,w){for(var P=null,A=null,k=v,I=v=0,L=null;k!==null&&I<_.length;I++){k.index>I?(L=k,k=null):L=k.sibling;var N=g(y,k,_[I],w);if(N===null){k===null&&(k=L);break}e&&k&&N.alternate===null&&t(y,k),v=a(N,v,I),A===null?P=N:A.sibling=N,A=N,k=L}if(I===_.length)return n(y,k),P;if(k===null){for(;I<_.length;I++)k=m(y,_[I],w),k!==null&&(v=a(k,v,I),A===null?P=k:A.sibling=k,A=k);return P}for(k=r(y,k);I<_.length;I++)L=x(k,y,I,_[I],w),L!==null&&(e&&L.alternate!==null&&k.delete(L.key===null?I:L.key),v=a(L,v,I),A===null?P=L:A.sibling=L,A=L);return e&&k.forEach(function(B){return t(y,B)}),P}function b(y,v,_,w){var P=Ql(_);if(typeof P!="function")throw Error(ve(150));if(_=P.call(_),_==null)throw Error(ve(151));for(var A=P=null,k=v,I=v=0,L=null,N=_.next();k!==null&&!N.done;I++,N=_.next()){k.index>I?(L=k,k=null):L=k.sibling;var B=g(y,k,N.value,w);if(B===null){k===null&&(k=L);break}e&&k&&B.alternate===null&&t(y,k),v=a(B,v,I),A===null?P=B:A.sibling=B,A=B,k=L}if(N.done)return n(y,k),P;if(k===null){for(;!N.done;I++,N=_.next())N=m(y,N.value,w),N!==null&&(v=a(N,v,I),A===null?P=N:A.sibling=N,A=N);return P}for(k=r(y,k);!N.done;I++,N=_.next())N=x(k,y,I,N.value,w),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?I:N.key),v=a(N,v,I),A===null?P=N:A.sibling=N,A=N);return e&&k.forEach(function(V){return t(y,V)}),P}return function(y,v,_,w){var P=typeof _=="object"&&_!==null&&_.type===Si&&_.key===null;P&&(_=_.props.children);var A=typeof _=="object"&&_!==null;if(A)switch(_.$$typeof){case Eu:e:{for(A=_.key,P=v;P!==null;){if(P.key===A){switch(P.tag){case 7:if(_.type===Si){n(y,P.sibling),v=o(P,_.props.children),v.return=y,y=v;break e}break;default:if(P.elementType===_.type){n(y,P.sibling),v=o(P,_.props),v.ref=ru(y,P,_),v.return=y,y=v;break e}}n(y,P);break}else t(y,P);P=P.sibling}_.type===Si?(v=Bs(_.props.children,y.mode,w,_.key),v.return=y,y=v):(w=Sf(_.type,_.key,_.props,null,y.mode,w),w.ref=ru(y,v,_),w.return=y,y=w)}return l(y);case ba:e:{for(P=_.key;v!==null;){if(v.key===P)if(v.tag===4&&v.stateNode.containerInfo===_.containerInfo&&v.stateNode.implementation===_.implementation){n(y,v.sibling),v=o(v,_.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=Am(_,y.mode,w),v.return=y,y=v}return l(y)}if(typeof _=="string"||typeof _=="number")return _=""+_,v!==null&&v.tag===6?(n(y,v.sibling),v=o(v,_),v.return=y,y=v):(n(y,v),v=km(_,y.mode,w),v.return=y,y=v),l(y);if(Yd(_))return E(y,v,_,w);if(Ql(_))return b(y,v,_,w);if(A&&Xd(y,_),typeof _=="undefined"&&!P)switch(y.tag){case 1:case 22:case 0:case 11:case 15:throw Error(ve(152,Ts(y.type)||"Component"))}return n(y,v)}}var Yf=B2(!0),F2=B2(!1),Lc={},Do=Qi(Lc),dc=Qi(Lc),fc=Qi(Lc);function Ea(e){if(e===Lc)throw Error(ve(174));return e}function Nv(e,t){switch(un(fc,t),un(dc,e),un(Do,Lc),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bv(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bv(t,e)}qt(Do),un(Do,t)}function Ys(){qt(Do),qt(dc),qt(fc)}function iE(e){Ea(fc.current);var t=Ea(Do.current),n=bv(t,e.type);t!==n&&(un(dc,e),un(Do,n))}function dy(e){dc.current===e&&(qt(Do),qt(dc))}var ln=Qi(0);function Xf(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oi=null,Ti=null,Bo=!1;function U2(e,t){var n=Kr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function aE(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Dv(e){if(Bo){var t=Ti;if(t){var n=t;if(!aE(e,t)){if(t=As(n.nextSibling),!t||!aE(e,t)){e.flags=e.flags&-1025|2,Bo=!1,oi=e;return}U2(oi,n)}oi=e,Ti=As(t.firstChild)}else e.flags=e.flags&-1025|2,Bo=!1,oi=e}}function sE(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;oi=e}function Qd(e){if(e!==oi)return!1;if(!Bo)return sE(e),Bo=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Ov(t,e.memoizedProps))for(t=Ti;t;)U2(e,t),t=As(t.nextSibling);if(sE(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ve(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ti=As(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ti=null}}else Ti=oi?As(e.stateNode.nextSibling):null;return!0}function Rm(){Ti=oi=null,Bo=!1}var Ms=[];function fy(){for(var e=0;e<Ms.length;e++)Ms[e]._workInProgressVersionPrimary=null;Ms.length=0}var Uu=za.ReactCurrentDispatcher,Xr=za.ReactCurrentBatchConfig,pc=0,hn=null,zn=null,An=null,Qf=!1,zu=!1;function ar(){throw Error(ve(321))}function py(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Gr(e[n],t[n]))return!1;return!0}function hy(e,t,n,r,o,a){if(pc=a,hn=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Uu.current=e===null||e.memoizedState===null?OB:kB,e=n(r,o),zu){a=0;do{if(zu=!1,!(25>a))throw Error(ve(301));a+=1,An=zn=null,t.updateQueue=null,Uu.current=AB,e=n(r,o)}while(zu)}if(Uu.current=tp,t=zn!==null&&zn.next!==null,pc=0,An=zn=hn=null,Qf=!1,t)throw Error(ve(300));return e}function wa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return An===null?hn.memoizedState=An=e:An=An.next=e,An}function Wa(){if(zn===null){var e=hn.alternate;e=e!==null?e.memoizedState:null}else e=zn.next;var t=An===null?hn.memoizedState:An.next;if(t!==null)An=t,zn=e;else{if(e===null)throw Error(ve(310));zn=e,e={memoizedState:zn.memoizedState,baseState:zn.baseState,baseQueue:zn.baseQueue,queue:zn.queue,next:null},An===null?hn.memoizedState=An=e:An=An.next=e}return An}function Lo(e,t){return typeof t=="function"?t(e):t}function ou(e){var t=Wa(),n=t.queue;if(n===null)throw Error(ve(311));n.lastRenderedReducer=e;var r=zn,o=r.baseQueue,a=n.pending;if(a!==null){if(o!==null){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(o!==null){o=o.next,r=r.baseState;var u=l=a=null,c=o;do{var f=c.lane;if((pc&f)===f)u!==null&&(u=u.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var p={lane:f,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};u===null?(l=u=p,a=r):u=u.next=p,hn.lanes|=f,Mc|=f}c=c.next}while(c!==null&&c!==o);u===null?a=r:u.next=l,Gr(r,t.memoizedState)||(yo=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function iu(e){var t=Wa(),n=t.queue;if(n===null)throw Error(ve(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do a=e(a,l.action),l=l.next;while(l!==o);Gr(a,t.memoizedState)||(yo=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function lE(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(o!==null?e=o===r:(e=e.mutableReadLanes,(e=(pc&e)===e)&&(t._workInProgressVersionPrimary=r,Ms.push(t))),e)return n(t._source);throw Ms.push(t),Error(ve(350))}function z2(e,t,n,r){var o=Qn;if(o===null)throw Error(ve(349));var a=t._getVersion,l=a(t._source),u=Uu.current,c=u.useState(function(){return lE(o,t,n)}),f=c[1],p=c[0];c=An;var m=e.memoizedState,g=m.refs,x=g.getSnapshot,E=m.source;m=m.subscribe;var b=hn;return e.memoizedState={refs:g,source:t,subscribe:r},u.useEffect(function(){g.getSnapshot=n,g.setSnapshot=f;var y=a(t._source);if(!Gr(l,y)){y=n(t._source),Gr(p,y)||(f(y),y=Ni(b),o.mutableReadLanes|=y&o.pendingLanes),y=o.mutableReadLanes,o.entangledLanes|=y;for(var v=o.entanglements,_=y;0<_;){var w=31-ji(_),P=1<<w;v[w]|=y,_&=~P}}},[n,t,r]),u.useEffect(function(){return r(t._source,function(){var y=g.getSnapshot,v=g.setSnapshot;try{v(y(t._source));var _=Ni(b);o.mutableReadLanes|=_&o.pendingLanes}catch(w){v(function(){throw w})}})},[t,r]),Gr(x,n)&&Gr(E,t)&&Gr(m,r)||(e={pending:null,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:p},e.dispatch=f=vy.bind(null,hn,e),c.queue=e,c.baseQueue=null,p=lE(o,t,n),c.memoizedState=c.baseState=p),p}function j2(e,t,n){var r=Wa();return z2(r,e,t,n)}function au(e){var t=wa();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:e},e=e.dispatch=vy.bind(null,hn,e),[t.memoizedState,e]}function Zf(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=hn.updateQueue,t===null?(t={lastEffect:null},hn.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function uE(e){var t=wa();return e={current:e},t.memoizedState=e}function Jf(){return Wa().memoizedState}function Bv(e,t,n,r){var o=wa();hn.flags|=e,o.memoizedState=Zf(1|t,n,void 0,r===void 0?null:r)}function gy(e,t,n,r){var o=Wa();r=r===void 0?null:r;var a=void 0;if(zn!==null){var l=zn.memoizedState;if(a=l.destroy,r!==null&&py(r,l.deps)){Zf(t,n,a,r);return}}hn.flags|=e,o.memoizedState=Zf(1|t,n,a,r)}function cE(e,t){return Bv(516,4,e,t)}function ep(e,t){return gy(516,4,e,t)}function W2(e,t){return gy(4,2,e,t)}function H2(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function V2(e,t,n){return n=n!=null?n.concat([e]):null,gy(4,2,H2.bind(null,t,e),n)}function my(){}function G2(e,t){var n=Wa();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&py(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function K2(e,t){var n=Wa();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&py(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function IB(e,t){var n=qs();Oa(98>n?98:n,function(){e(!0)}),Oa(97<n?97:n,function(){var r=Xr.transition;Xr.transition=1;try{e(!1),t()}finally{Xr.transition=r}})}function vy(e,t,n){var r=Pr(),o=Ni(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},l=t.pending;if(l===null?a.next=a:(a.next=l.next,l.next=a),t.pending=a,l=e.alternate,e===hn||l!==null&&l===hn)zu=Qf=!0;else{if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var u=t.lastRenderedState,c=l(u,n);if(a.eagerReducer=l,a.eagerState=c,Gr(c,u))return}catch{}finally{}Di(e,o,r)}}var tp={readContext:Jr,useCallback:ar,useContext:ar,useEffect:ar,useImperativeHandle:ar,useLayoutEffect:ar,useMemo:ar,useReducer:ar,useRef:ar,useState:ar,useDebugValue:ar,useDeferredValue:ar,useTransition:ar,useMutableSource:ar,useOpaqueIdentifier:ar,unstable_isNewReconciler:!1},OB={readContext:Jr,useCallback:function(e,t){return wa().memoizedState=[e,t===void 0?null:t],e},useContext:Jr,useEffect:cE,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bv(4,2,H2.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bv(4,2,e,t)},useMemo:function(e,t){var n=wa();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wa();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=vy.bind(null,hn,e),[r.memoizedState,e]},useRef:uE,useState:au,useDebugValue:my,useDeferredValue:function(e){var t=au(e),n=t[0],r=t[1];return cE(function(){var o=Xr.transition;Xr.transition=1;try{r(e)}finally{Xr.transition=o}},[e]),n},useTransition:function(){var e=au(!1),t=e[0];return e=IB.bind(null,e[1]),uE(e),[e,t]},useMutableSource:function(e,t,n){var r=wa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},z2(r,e,t,n)},useOpaqueIdentifier:function(){if(Bo){var e=!1,t=wB(function(){throw e||(e=!0,n("r:"+(Sm++).toString(36))),Error(ve(355))}),n=au(t)[1];return(hn.mode&2)===0&&(hn.flags|=516,Zf(5,function(){n("r:"+(Sm++).toString(36))},void 0,null)),t}return t="r:"+(Sm++).toString(36),au(t),t},unstable_isNewReconciler:!1},kB={readContext:Jr,useCallback:G2,useContext:Jr,useEffect:ep,useImperativeHandle:V2,useLayoutEffect:W2,useMemo:K2,useReducer:ou,useRef:Jf,useState:function(){return ou(Lo)},useDebugValue:my,useDeferredValue:function(e){var t=ou(Lo),n=t[0],r=t[1];return ep(function(){var o=Xr.transition;Xr.transition=1;try{r(e)}finally{Xr.transition=o}},[e]),n},useTransition:function(){var e=ou(Lo)[0];return[Jf().current,e]},useMutableSource:j2,useOpaqueIdentifier:function(){return ou(Lo)[0]},unstable_isNewReconciler:!1},AB={readContext:Jr,useCallback:G2,useContext:Jr,useEffect:ep,useImperativeHandle:V2,useLayoutEffect:W2,useMemo:K2,useReducer:iu,useRef:Jf,useState:function(){return iu(Lo)},useDebugValue:my,useDeferredValue:function(e){var t=iu(Lo),n=t[0],r=t[1];return ep(function(){var o=Xr.transition;Xr.transition=1;try{r(e)}finally{Xr.transition=o}},[e]),n},useTransition:function(){var e=iu(Lo)[0];return[Jf().current,e]},useMutableSource:j2,useOpaqueIdentifier:function(){return iu(Lo)[0]},unstable_isNewReconciler:!1},LB=za.ReactCurrentOwner,yo=!1;function lr(e,t,n,r){t.child=e===null?F2(t,null,n,r):Yf(t,e.child,n,r)}function dE(e,t,n,r,o){n=n.render;var a=t.ref;return Ls(t,o),r=hy(e,t,n,r,a,o),e!==null&&!yo?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ii(e,t,o)):(t.flags|=1,lr(e,t,r,o),t.child)}function fE(e,t,n,r,o,a){if(e===null){var l=n.type;return typeof l=="function"&&!Ey(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,q2(e,t,l,r,o,a)):(e=Sf(n.type,null,r,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}return l=e.child,(o&a)===0&&(o=l.memoizedProps,n=n.compare,n=n!==null?n:sc,n(o,r)&&e.ref===t.ref)?ii(e,t,a):(t.flags|=1,e=Vi(l,r),e.ref=t.ref,e.return=t,t.child=e)}function q2(e,t,n,r,o,a){if(e!==null&&sc(e.memoizedProps,r)&&e.ref===t.ref)if(yo=!1,(a&o)!==0)(e.flags&16384)!==0&&(yo=!0);else return t.lanes=e.lanes,ii(e,t,a);return Fv(e,t,n,r,a)}function Tm(e,t,n){var r=t.pendingProps,o=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden"||r.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},Jd(t,n);else if((n&1073741824)!==0)t.memoizedState={baseLanes:0},Jd(t,a!==null?a.baseLanes:n);else return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Jd(t,e),null;else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,Jd(t,r);return lr(e,t,o,n),t.child}function Y2(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=128)}function Fv(e,t,n,r,o){var a=dr(n)?Ia:Vn.current;return a=Ks(t,a),Ls(t,o),n=hy(e,t,n,r,a,o),e!==null&&!yo?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ii(e,t,o)):(t.flags|=1,lr(e,t,n,o),t.child)}function pE(e,t,n,r,o){if(dr(n)){var a=!0;bf(t)}else a=!1;if(Ls(t,o),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),D2(t,n,r),Mv(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,u=t.memoizedProps;l.props=u;var c=l.context,f=n.contextType;typeof f=="object"&&f!==null?f=Jr(f):(f=dr(n)?Ia:Vn.current,f=Ks(t,f));var p=n.getDerivedStateFromProps,m=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||c!==f)&&oE(t,l,r,f),wi=!1;var g=t.memoizedState;l.state=g,cc(t,r,l,o),c=t.memoizedState,u!==r||g!==c||cr.current||wi?(typeof p=="function"&&(qf(t,n,p,r),c=t.memoizedState),(u=wi||rE(t,n,u,r,g,c,f))?(m||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4)):(typeof l.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=c),l.props=r,l.state=c,l.context=f,r=u):(typeof l.componentDidMount=="function"&&(t.flags|=4),r=!1)}else{l=t.stateNode,M2(e,t),u=t.memoizedProps,f=t.type===t.elementType?u:mo(t.type,u),l.props=f,m=t.pendingProps,g=l.context,c=n.contextType,typeof c=="object"&&c!==null?c=Jr(c):(c=dr(n)?Ia:Vn.current,c=Ks(t,c));var x=n.getDerivedStateFromProps;(p=typeof x=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==m||g!==c)&&oE(t,l,r,c),wi=!1,g=t.memoizedState,l.state=g,cc(t,r,l,o);var E=t.memoizedState;u!==m||g!==E||cr.current||wi?(typeof x=="function"&&(qf(t,n,x,r),E=t.memoizedState),(f=wi||rE(t,n,f,r,g,E,c))?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,E,c),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,E,c)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=E),l.props=r,l.state=E,l.context=c,r=f):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=256),r=!1)}return Uv(e,t,n,r,a,o)}function Uv(e,t,n,r,o,a){Y2(e,t);var l=(t.flags&64)!==0;if(!r&&!l)return o&&ZC(t,n,!1),ii(e,t,a);r=t.stateNode,LB.current=t;var u=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Yf(t,e.child,null,a),t.child=Yf(t,null,u,a)):lr(e,t,u,a),t.memoizedState=r.state,o&&ZC(t,n,!0),t.child}function hE(e){var t=e.stateNode;t.pendingContext?QC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&QC(e,t.context,!1),Nv(e,t.containerInfo)}var Zd={dehydrated:null,retryLane:0};function gE(e,t,n){var r=t.pendingProps,o=ln.current,a=!1,l;return(l=(t.flags&64)!==0)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(a=!0,t.flags&=-65):e!==null&&e.memoizedState===null||r.fallback===void 0||r.unstable_avoidThisFallback===!0||(o|=1),un(ln,o&1),e===null?(r.fallback!==void 0&&Dv(t),e=r.children,o=r.fallback,a?(e=mE(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zd,e):typeof r.unstable_expectedLoadTime=="number"?(e=mE(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zd,t.lanes=33554432,e):(n=wy({mode:"visible",children:e},t.mode,n,null),n.return=t,t.child=n)):e.memoizedState!==null?a?(r=yE(e,t,r.children,r.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=o===null?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Zd,r):(n=vE(e,t,r.children,n),t.memoizedState=null,n):a?(r=yE(e,t,r.children,r.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=o===null?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Zd,r):(n=vE(e,t,r.children,n),t.memoizedState=null,n)}function mE(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},(o&2)===0&&a!==null?(a.childLanes=0,a.pendingProps=t):a=wy(t,o,0,null),n=Bs(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function vE(e,t,n,r){var o=e.child;return e=o.sibling,n=Vi(o,{mode:"visible",children:n}),(t.mode&2)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function yE(e,t,n,r,o){var a=t.mode,l=e.child;e=l.sibling;var u={mode:"hidden",children:n};return(a&2)===0&&t.child!==l?(n=t.child,n.childLanes=0,n.pendingProps=u,l=n.lastEffect,l!==null?(t.firstEffect=n.firstEffect,t.lastEffect=l,l.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Vi(l,u),e!==null?r=Vi(e,r):(r=Bs(r,a,o,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function xE(e,t){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),L2(e.return,t)}function Im(e,t,n,r,o,a){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=o,l.lastEffect=a)}function bE(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(lr(e,t,r.children,n),r=ln.current,(r&2)!==0)r=r&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xE(e,n);else if(e.tag===19)xE(e,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(un(ln,r),(t.mode&2)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Xf(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Im(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Xf(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Im(t,!0,n,null,a,t.lastEffect);break;case"together":Im(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ii(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mc|=t.lanes,(n&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(ve(153));if(t.child!==null){for(e=t.child,n=Vi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Vi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}return null}var X2,zv,Q2,Z2;X2=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};zv=function(){};Q2=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ea(Do.current);var a=null;switch(n){case"input":o=hv(e,o),r=hv(e,r),a=[];break;case"option":o=vv(e,o),r=vv(e,r),a=[];break;case"select":o=en({},o,{value:void 0}),r=en({},r,{value:void 0}),a=[];break;case"textarea":o=yv(e,o),r=yv(e,r),a=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=jf)}_v(n,r);var l;n=null;for(f in o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&o[f]!=null)if(f==="style"){var u=o[f];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(ec.hasOwnProperty(f)?a||(a=[]):(a=a||[]).push(f,null));for(f in r){var c=r[f];if(u=o!=null?o[f]:void 0,r.hasOwnProperty(f)&&c!==u&&(c!=null||u!=null))if(f==="style")if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(a||(a=[]),a.push(f,n)),n=c;else f==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,u=u?u.__html:void 0,c!=null&&u!==c&&(a=a||[]).push(f,c)):f==="children"?typeof c!="string"&&typeof c!="number"||(a=a||[]).push(f,""+c):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(ec.hasOwnProperty(f)?(c!=null&&f==="onScroll"&&Gt("scroll",e),a||u===c||(a=[])):typeof c=="object"&&c!==null&&c.$$typeof===H0?c.toString():(a=a||[]).push(f,c))}n&&(a=a||[]).push("style",n);var f=a;(t.updateQueue=f)&&(t.flags|=4)}};Z2=function(e,t,n,r){n!==r&&(t.flags|=4)};function su(e,t){if(!Bo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function MB(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return dr(t.type)&&Hf(),null;case 3:return Ys(),qt(cr),qt(Vn),fy(),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Qd(t)?t.flags|=4:r.hydrate||(t.flags|=256)),zv(t),null;case 5:dy(t);var o=Ea(fc.current);if(n=t.type,e!==null&&t.stateNode!=null)Q2(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(t.stateNode===null)throw Error(ve(166));return null}if(e=Ea(Do.current),Qd(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Ri]=t,r[Wf]=a,n){case"dialog":Gt("cancel",r),Gt("close",r);break;case"iframe":case"object":case"embed":Gt("load",r);break;case"video":case"audio":for(e=0;e<Su.length;e++)Gt(Su[e],r);break;case"source":Gt("error",r);break;case"img":case"image":case"link":Gt("error",r),Gt("load",r);break;case"details":Gt("toggle",r);break;case"input":bC(r,a),Gt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Gt("invalid",r);break;case"textarea":CC(r,a),Gt("invalid",r)}_v(n,a),e=null;for(var l in a)a.hasOwnProperty(l)&&(o=a[l],l==="children"?typeof o=="string"?r.textContent!==o&&(e=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(e=["children",""+o]):ec.hasOwnProperty(l)&&o!=null&&l==="onScroll"&&Gt("scroll",r));switch(n){case"input":Vd(r),_C(r,a,!0);break;case"textarea":Vd(r),EC(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=jf)}r=e,t.updateQueue=r,r!==null&&(t.flags|=4)}else{switch(l=o.nodeType===9?o:o.ownerDocument,e===xv.html&&(e=V4(n)),e===xv.html?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Ri]=t,e[Wf]=r,X2(e,t,!1,!1),t.stateNode=e,l=Cv(n,r),n){case"dialog":Gt("cancel",e),Gt("close",e),o=r;break;case"iframe":case"object":case"embed":Gt("load",e),o=r;break;case"video":case"audio":for(o=0;o<Su.length;o++)Gt(Su[o],e);o=r;break;case"source":Gt("error",e),o=r;break;case"img":case"image":case"link":Gt("error",e),Gt("load",e),o=r;break;case"details":Gt("toggle",e),o=r;break;case"input":bC(e,r),o=hv(e,r),Gt("invalid",e);break;case"option":o=vv(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=en({},r,{value:void 0}),Gt("invalid",e);break;case"textarea":CC(e,r),o=yv(e,r),Gt("invalid",e);break;default:o=r}_v(n,o);var u=o;for(a in u)if(u.hasOwnProperty(a)){var c=u[a];a==="style"?q4(e,c):a==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&G4(e,c)):a==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&tc(e,c):typeof c=="number"&&tc(e,""+c):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(ec.hasOwnProperty(a)?c!=null&&a==="onScroll"&&Gt("scroll",e):c!=null&&B0(e,a,c,l))}switch(n){case"input":Vd(e),_C(e,r,!1);break;case"textarea":Vd(e),EC(e);break;case"option":r.value!=null&&e.setAttribute("value",""+zi(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?Is(e,!!r.multiple,a,!1):r.defaultValue!=null&&Is(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=jf)}S2(n,r)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)Z2(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(ve(166));n=Ea(fc.current),Ea(Do.current),Qd(t)?(r=t.stateNode,n=t.memoizedProps,r[Ri]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ri]=t,t.stateNode=r)}return null;case 13:return qt(ln),r=t.memoizedState,(t.flags&64)!==0?(t.lanes=n,t):(r=r!==null,n=!1,e===null?t.memoizedProps.fallback!==void 0&&Qd(t):n=e.memoizedState!==null,r&&!n&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(ln.current&1)!==0?Ln===0&&(Ln=3):((Ln===0||Ln===3)&&(Ln=4),Qn===null||(Mc&134217727)===0&&(pl&134217727)===0||Ns(Qn,Hn))),(r||n)&&(t.flags|=4),null);case 4:return Ys(),zv(t),e===null&&C2(t.stateNode.containerInfo),null;case 10:return uy(t),null;case 17:return dr(t.type)&&Hf(),null;case 19:if(qt(ln),r=t.memoizedState,r===null)return null;if(a=(t.flags&64)!==0,l=r.rendering,l===null)if(a)su(r,!1);else{if(Ln!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(l=Xf(e),l!==null){for(t.flags|=64,su(r,!1),a=l.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),r.lastEffect===null&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,l=a.alternate,l===null?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return un(ln,ln.current&1|2),t.child}e=e.sibling}r.tail!==null&&Wn()>Kv&&(t.flags|=64,a=!0,su(r,!1),t.lanes=33554432)}else{if(!a)if(e=Xf(l),e!==null){if(t.flags|=64,a=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),su(r,!0),r.tail===null&&r.tailMode==="hidden"&&!l.alternate&&!Bo)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Wn()-r.renderingStartTime>Kv&&n!==1073741824&&(t.flags|=64,a=!0,su(r,!1),t.lanes=33554432);r.isBackwards?(l.sibling=t.child,t.child=l):(n=r.last,n!==null?n.sibling=l:t.child=l,r.last=l)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wn(),n.sibling=null,t=ln.current,un(ln,a?t&1|2:t&1),n):null;case 23:case 24:return Cy(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(ve(156,t.tag))}function NB(e){switch(e.tag){case 1:dr(e.type)&&Hf();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Ys(),qt(cr),qt(Vn),fy(),t=e.flags,(t&64)!==0)throw Error(ve(285));return e.flags=t&-4097|64,e;case 5:return dy(e),null;case 13:return qt(ln),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return qt(ln),null;case 4:return Ys(),null;case 10:return uy(e),null;case 23:case 24:return Cy(),null;default:return null}}function yy(e,t){try{var n="",r=t;do n+=mD(r),r=r.return;while(r);var o=n}catch(a){o=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:o}}function jv(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var DB=typeof WeakMap=="function"?WeakMap:Map;function J2(e,t,n){n=Li(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){rp||(rp=!0,qv=r),jv(e,t)},n}function eP(e,t,n){n=Li(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return jv(e,t),r(o)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(Mo===null?Mo=new Set([this]):Mo.add(this),jv(e,t));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}var BB=typeof WeakSet=="function"?WeakSet:Set;function _E(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){Bi(e,n)}else t.current=null}function FB(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:mo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&iy(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(ve(163))}function UB(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var o=e;r=o.next,o=o.tag,(o&4)!==0&&(o&1)!==0&&(uP(n,e),qB(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:mo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&nE(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}nE(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&S2(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&o2(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(ve(163))}function CE(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=o!=null&&o.hasOwnProperty("display")?o.display:null,r.style.display=K4("display",o)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function EE(e,t){if(Pa&&typeof Pa.onCommitFiberUnmount=="function")try{Pa.onCommitFiberUnmount(ay,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,o!==void 0)if((r&4)!==0)uP(t,n);else{r=t;try{o()}catch(a){Bi(r,a)}}n=n.next}while(n!==e)}break;case 1:if(_E(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){Bi(t,a)}break;case 5:_E(t);break;case 4:tP(e,t)}}function wE(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function SE(e){return e.tag===5||e.tag===3||e.tag===4}function $E(e){e:{for(var t=e.return;t!==null;){if(SE(t))break e;t=t.return}throw Error(ve(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(ve(161))}n.flags&16&&(tc(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||SE(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?Wv(e,n,t):Hv(e,n,t)}function Wv(e,t,n){var r=e.tag,o=r===5||r===6;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=jf));else if(r!==4&&(e=e.child,e!==null))for(Wv(e,t,n),e=e.sibling;e!==null;)Wv(e,t,n),e=e.sibling}function Hv(e,t,n){var r=e.tag,o=r===5||r===6;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Hv(e,t,n),e=e.sibling;e!==null;)Hv(e,t,n),e=e.sibling}function tP(e,t){for(var n=t,r=!1,o,a;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(ve(160));switch(o=r.stateNode,r.tag){case 5:a=!1;break e;case 3:o=o.containerInfo,a=!0;break e;case 4:o=o.containerInfo,a=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var l=e,u=n,c=u;;)if(EE(l,c),c.child!==null&&c.tag!==4)c.child.return=c,c=c.child;else{if(c===u)break e;for(;c.sibling===null;){if(c.return===null||c.return===u)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}a?(l=o,u=n.stateNode,l.nodeType===8?l.parentNode.removeChild(u):l.removeChild(u)):o.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){o=n.stateNode.containerInfo,a=!0,n.child.return=n,n=n.child;continue}}else if(EE(e,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Om(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)===3&&(e=r.destroy,r.destroy=void 0,e!==void 0&&e()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,n!=null){r=t.memoizedProps;var o=e!==null?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,a!==null){for(n[Wf]=r,e==="input"&&r.type==="radio"&&r.name!=null&&W4(n,r),Cv(e,o),t=Cv(e,r),o=0;o<a.length;o+=2){var l=a[o],u=a[o+1];l==="style"?q4(n,u):l==="dangerouslySetInnerHTML"?G4(n,u):l==="children"?tc(n,u):B0(n,l,u,t)}switch(e){case"input":gv(n,r);break;case"textarea":H4(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,a=r.value,a!=null?Is(n,!!r.multiple,a,!1):e!==!!r.multiple&&(r.defaultValue!=null?Is(n,!!r.multiple,r.defaultValue,!0):Is(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(ve(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:n=t.stateNode,n.hydrate&&(n.hydrate=!1,o2(n.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(_y=Wn(),CE(t.child,!0)),PE(t);return;case 19:PE(t);return;case 17:return;case 23:case 24:CE(t,t.memoizedState!==null);return}throw Error(ve(163))}function PE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new BB),t.forEach(function(r){var o=QB.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function zB(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var jB=Math.ceil,np=za.ReactCurrentDispatcher,xy=za.ReactCurrentOwner,Ke=0,Qn=null,_n=null,Hn=0,ka=0,Vv=Qi(0),Ln=0,Mp=null,fl=0,Mc=0,pl=0,by=0,Gv=null,_y=0,Kv=1/0;function hl(){Kv=Wn()+500}var Re=null,rp=!1,qv=null,Mo=null,Hi=!1,ju=null,$u=90,Yv=[],Xv=[],ai=null,Wu=0,Qv=null,Cf=-1,ri=0,Ef=0,Hu=null,wf=!1;function Pr(){return(Ke&48)!==0?Wn():Cf!==-1?Cf:Cf=Wn()}function Ni(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return qs()===99?1:2;if(ri===0&&(ri=fl),TB.transition!==0){Ef!==0&&(Ef=Gv!==null?Gv.pendingLanes:0),e=ri;var t=4186112&~Ef;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=qs(),(Ke&4)!==0&&e===98?e=Uf(12,ri):(e=kD(e),e=Uf(e,ri)),e}function Di(e,t,n){if(50<Wu)throw Wu=0,Qv=null,Error(ve(185));if(e=Np(e,t),e===null)return null;Rp(e,t,n),e===Qn&&(pl|=t,Ln===4&&Ns(e,Hn));var r=qs();t===1?(Ke&8)!==0&&(Ke&48)===0?Zv(e):(eo(e,n),Ke===0&&(hl(),Wo())):((Ke&4)===0||r!==98&&r!==99||(ai===null?ai=new Set([e]):ai.add(e)),eo(e,n)),Gv=e}function Np(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}function eo(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var u=31-ji(l),c=1<<u,f=a[u];if(f===-1){if((c&r)===0||(c&o)!==0){f=t,ys(c);var p=Ht;a[u]=10<=p?f+250:6<=p?f+5e3:-1}}else f<=t&&(e.expiredLanes|=c);l&=~c}if(r=ic(e,e===Qn?Hn:0),t=Ht,r===0)n!==null&&(n!==$m&&Av(n),e.callbackNode=null,e.callbackPriority=0);else{if(n!==null){if(e.callbackPriority===t)return;n!==$m&&Av(n)}t===15?(n=Zv.bind(null,e),ti===null?(ti=[n],_f=sy(Ap,A2)):ti.push(n),n=$m):t===14?n=uc(99,Zv.bind(null,e)):(n=AD(t),n=uc(n,nP.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function nP(e){if(Cf=-1,Ef=ri=0,(Ke&48)!==0)throw Error(ve(327));var t=e.callbackNode;if(Zi()&&e.callbackNode!==t)return null;var n=ic(e,e===Qn?Hn:0);if(n===0)return null;var r=n,o=Ke;Ke|=16;var a=aP();(Qn!==e||Hn!==r)&&(hl(),Ds(e,r));do try{VB();break}catch(u){iP(e,u)}while(1);if(ly(),np.current=a,Ke=o,_n!==null?r=0:(Qn=null,Hn=0,r=Ln),(fl&pl)!==0)Ds(e,0);else if(r!==0){if(r===2&&(Ke|=64,e.hydrate&&(e.hydrate=!1,iy(e.containerInfo)),n=d2(e),n!==0&&(r=Pu(e,n))),r===1)throw t=Mp,Ds(e,0),Ns(e,n),eo(e,Wn()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(ve(345));case 2:ha(e);break;case 3:if(Ns(e,n),(n&62914560)===n&&(r=_y+500-Wn(),10<r)){if(ic(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Pr(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=qC(ha.bind(null,e),r);break}ha(e);break;case 4:if(Ns(e,n),(n&4186112)===n)break;for(r=e.eventTimes,o=-1;0<n;){var l=31-ji(n);a=1<<l,l=r[l],l>o&&(o=l),n&=~a}if(n=o,n=Wn()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*jB(n/1960))-n,10<n){e.timeoutHandle=qC(ha.bind(null,e),n);break}ha(e);break;case 5:ha(e);break;default:throw Error(ve(329))}}return eo(e,Wn()),e.callbackNode===t?nP.bind(null,e):null}function Ns(e,t){for(t&=~by,t&=~pl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ji(t),r=1<<n;e[n]=-1,t&=~r}}function Zv(e){if((Ke&48)!==0)throw Error(ve(327));if(Zi(),e===Qn&&(e.expiredLanes&Hn)!==0){var t=Hn,n=Pu(e,t);(fl&pl)!==0&&(t=ic(e,t),n=Pu(e,t))}else t=ic(e,0),n=Pu(e,t);if(e.tag!==0&&n===2&&(Ke|=64,e.hydrate&&(e.hydrate=!1,iy(e.containerInfo)),t=d2(e),t!==0&&(n=Pu(e,t))),n===1)throw n=Mp,Ds(e,0),Ns(e,t),eo(e,Wn()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,ha(e),eo(e,Wn()),null}function WB(){if(ai!==null){var e=ai;ai=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,eo(t,Wn())})}Wo()}function rP(e,t){var n=Ke;Ke|=1;try{return e(t)}finally{Ke=n,Ke===0&&(hl(),Wo())}}function oP(e,t){var n=Ke;Ke&=-2,Ke|=8;try{return e(t)}finally{Ke=n,Ke===0&&(hl(),Wo())}}function Jd(e,t){un(Vv,ka),ka|=t,fl|=t}function Cy(){ka=Vv.current,qt(Vv)}function Ds(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,EB(n)),_n!==null)for(n=_n.return;n!==null;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,r!=null&&Hf();break;case 3:Ys(),qt(cr),qt(Vn),fy();break;case 5:dy(r);break;case 4:Ys();break;case 13:qt(ln);break;case 19:qt(ln);break;case 10:uy(r);break;case 23:case 24:Cy()}n=n.return}Qn=e,_n=Vi(e.current,null),Hn=ka=fl=t,Ln=0,Mp=null,by=pl=Mc=0}function iP(e,t){do{var n=_n;try{if(ly(),Uu.current=tp,Qf){for(var r=hn.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Qf=!1}if(pc=0,An=zn=hn=null,zu=!1,xy.current=null,n===null||n.return===null){Ln=1,Mp=t,_n=null;break}e:{var a=e,l=n.return,u=n,c=t;if(t=Hn,u.flags|=2048,u.firstEffect=u.lastEffect=null,c!==null&&typeof c=="object"&&typeof c.then=="function"){var f=c;if((u.mode&2)===0){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var m=(ln.current&1)!==0,g=l;do{var x;if(x=g.tag===13){var E=g.memoizedState;if(E!==null)x=E.dehydrated!==null;else{var b=g.memoizedProps;x=b.fallback===void 0?!1:b.unstable_avoidThisFallback!==!0?!0:!m}}if(x){var y=g.updateQueue;if(y===null){var v=new Set;v.add(f),g.updateQueue=v}else y.add(f);if((g.mode&2)===0){if(g.flags|=64,u.flags|=16384,u.flags&=-2981,u.tag===1)if(u.alternate===null)u.tag=17;else{var _=Li(-1,1);_.tag=2,Mi(u,_)}u.lanes|=1;break e}c=void 0,u=t;var w=a.pingCache;if(w===null?(w=a.pingCache=new DB,c=new Set,w.set(f,c)):(c=w.get(f),c===void 0&&(c=new Set,w.set(f,c))),!c.has(u)){c.add(u);var P=XB.bind(null,a,f,u);f.then(P,P)}g.flags|=4096,g.lanes=t;break e}g=g.return}while(g!==null);c=Error((Ts(u.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.

Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Ln!==5&&(Ln=2),c=yy(c,u),g=l;do{switch(g.tag){case 3:a=c,g.flags|=4096,t&=-t,g.lanes|=t;var A=J2(g,a,t);tE(g,A);break e;case 1:a=c;var k=g.type,I=g.stateNode;if((g.flags&64)===0&&(typeof k.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(Mo===null||!Mo.has(I)))){g.flags|=4096,t&=-t,g.lanes|=t;var L=eP(g,a,t);tE(g,L);break e}}g=g.return}while(g!==null)}lP(n)}catch(N){t=N,_n===n&&n!==null&&(_n=n=n.return);continue}break}while(1)}function aP(){var e=np.current;return np.current=tp,e===null?tp:e}function Pu(e,t){var n=Ke;Ke|=16;var r=aP();Qn===e&&Hn===t||Ds(e,t);do try{HB();break}catch(o){iP(e,o)}while(1);if(ly(),Ke=n,np.current=r,_n!==null)throw Error(ve(261));return Qn=null,Hn=0,Ln}function HB(){for(;_n!==null;)sP(_n)}function VB(){for(;_n!==null&&!$B();)sP(_n)}function sP(e){var t=cP(e.alternate,e,ka);e.memoizedProps=e.pendingProps,t===null?lP(e):_n=t,xy.current=null}function lP(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&2048)===0){if(n=MB(n,t,ka),n!==null){_n=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||(ka&1073741824)!==0||(n.mode&4)===0){for(var r=0,o=n.child;o!==null;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(n=NB(t),n!==null){n.flags&=2047,_n=n;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){_n=t;return}_n=t=e}while(t!==null);Ln===0&&(Ln=5)}function ha(e){var t=qs();return Oa(99,GB.bind(null,e,t)),null}function GB(e,t){do Zi();while(ju!==null);if((Ke&48)!==0)throw Error(ve(327));var n=e.finishedWork;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ve(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var l=e.eventTimes,u=e.expirationTimes;0<a;){var c=31-ji(a),f=1<<c;o[c]=0,l[c]=-1,u[c]=-1,a&=~f}if(ai!==null&&(r&24)===0&&ai.has(e)&&ai.delete(e),e===Qn&&(_n=Qn=null,Hn=0),1<n.flags?n.lastEffect!==null?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,r!==null){if(o=Ke,Ke|=32,xy.current=null,Em=vf,l=zC(),Rv(l)){if("selectionStart"in l)u={start:l.selectionStart,end:l.selectionEnd};else e:if(u=(u=l.ownerDocument)&&u.defaultView||window,(f=u.getSelection&&u.getSelection())&&f.rangeCount!==0){u=f.anchorNode,a=f.anchorOffset,c=f.focusNode,f=f.focusOffset;try{u.nodeType,c.nodeType}catch{u=null;break e}var p=0,m=-1,g=-1,x=0,E=0,b=l,y=null;t:for(;;){for(var v;b!==u||a!==0&&b.nodeType!==3||(m=p+a),b!==c||f!==0&&b.nodeType!==3||(g=p+f),b.nodeType===3&&(p+=b.nodeValue.length),(v=b.firstChild)!==null;)y=b,b=v;for(;;){if(b===l)break t;if(y===u&&++x===a&&(m=p),y===c&&++E===f&&(g=p),(v=b.nextSibling)!==null)break;b=y,y=b.parentNode}b=v}u=m===-1||g===-1?null:{start:m,end:g}}else u=null;u=u||{start:0,end:0}}else u=null;wm={focusedElem:l,selectionRange:u},vf=!1,Hu=null,wf=!1,Re=r;do try{KB()}catch(N){if(Re===null)throw Error(ve(330));Bi(Re,N),Re=Re.nextEffect}while(Re!==null);Hu=null,Re=r;do try{for(l=e;Re!==null;){var _=Re.flags;if(_&16&&tc(Re.stateNode,""),_&128){var w=Re.alternate;if(w!==null){var P=w.ref;P!==null&&(typeof P=="function"?P(null):P.current=null)}}switch(_&1038){case 2:$E(Re),Re.flags&=-3;break;case 6:$E(Re),Re.flags&=-3,Om(Re.alternate,Re);break;case 1024:Re.flags&=-1025;break;case 1028:Re.flags&=-1025,Om(Re.alternate,Re);break;case 4:Om(Re.alternate,Re);break;case 8:u=Re,tP(l,u);var A=u.alternate;wE(u),A!==null&&wE(A)}Re=Re.nextEffect}}catch(N){if(Re===null)throw Error(ve(330));Bi(Re,N),Re=Re.nextEffect}while(Re!==null);if(P=wm,w=zC(),_=P.focusedElem,l=P.selectionRange,w!==_&&_&&_.ownerDocument&&x2(_.ownerDocument.documentElement,_)){for(l!==null&&Rv(_)&&(w=l.start,P=l.end,P===void 0&&(P=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(P,_.value.length)):(P=(w=_.ownerDocument||document)&&w.defaultView||window,P.getSelection&&(P=P.getSelection(),u=_.textContent.length,A=Math.min(l.start,u),l=l.end===void 0?A:Math.min(l.end,u),!P.extend&&A>l&&(u=l,l=A,A=u),u=UC(_,A),a=UC(_,l),u&&a&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==a.node||P.focusOffset!==a.offset)&&(w=w.createRange(),w.setStart(u.node,u.offset),P.removeAllRanges(),A>l?(P.addRange(w),P.extend(a.node,a.offset)):(w.setEnd(a.node,a.offset),P.addRange(w)))))),w=[],P=_;P=P.parentNode;)P.nodeType===1&&w.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<w.length;_++)P=w[_],P.element.scrollLeft=P.left,P.element.scrollTop=P.top}vf=!!Em,wm=Em=null,e.current=n,Re=r;do try{for(_=e;Re!==null;){var k=Re.flags;if(k&36&&UB(_,Re.alternate,Re),k&128){w=void 0;var I=Re.ref;if(I!==null){var L=Re.stateNode;switch(Re.tag){case 5:w=L;break;default:w=L}typeof I=="function"?I(w):I.current=w}}Re=Re.nextEffect}}catch(N){if(Re===null)throw Error(ve(330));Bi(Re,N),Re=Re.nextEffect}while(Re!==null);Re=null,RB(),Ke=o}else e.current=n;if(Hi)Hi=!1,ju=e,$u=t;else for(Re=r;Re!==null;)t=Re.nextEffect,Re.nextEffect=null,Re.flags&8&&(k=Re,k.sibling=null,k.stateNode=null),Re=t;if(r=e.pendingLanes,r===0&&(Mo=null),r===1?e===Qv?Wu++:(Wu=0,Qv=e):Wu=0,n=n.stateNode,Pa&&typeof Pa.onCommitFiberRoot=="function")try{Pa.onCommitFiberRoot(ay,n,void 0,(n.current.flags&64)===64)}catch{}if(eo(e,Wn()),rp)throw rp=!1,e=qv,qv=null,e;return(Ke&8)!==0||Wo(),null}function KB(){for(;Re!==null;){var e=Re.alternate;wf||Hu===null||((Re.flags&8)!==0?$C(Re,Hu)&&(wf=!0):Re.tag===13&&zB(e,Re)&&$C(Re,Hu)&&(wf=!0));var t=Re.flags;(t&256)!==0&&FB(e,Re),(t&512)===0||Hi||(Hi=!0,uc(97,function(){return Zi(),null})),Re=Re.nextEffect}}function Zi(){if($u!==90){var e=97<$u?97:$u;return $u=90,Oa(e,YB)}return!1}function qB(e,t){Yv.push(t,e),Hi||(Hi=!0,uc(97,function(){return Zi(),null}))}function uP(e,t){Xv.push(t,e),Hi||(Hi=!0,uc(97,function(){return Zi(),null}))}function YB(){if(ju===null)return!1;var e=ju;if(ju=null,(Ke&48)!==0)throw Error(ve(331));var t=Ke;Ke|=32;var n=Xv;Xv=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],l=o.destroy;if(o.destroy=void 0,typeof l=="function")try{l()}catch(c){if(a===null)throw Error(ve(330));Bi(a,c)}}for(n=Yv,Yv=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var u=o.create;o.destroy=u()}catch(c){if(a===null)throw Error(ve(330));Bi(a,c)}}for(u=e.current.firstEffect;u!==null;)e=u.nextEffect,u.nextEffect=null,u.flags&8&&(u.sibling=null,u.stateNode=null),u=e;return Ke=t,Wo(),!0}function RE(e,t,n){t=yy(n,t),t=J2(e,t,1),Mi(e,t),t=Pr(),e=Np(e,1),e!==null&&(Rp(e,1,t),eo(e,t))}function Bi(e,t){if(e.tag===3)RE(e,e,t);else for(var n=e.return;n!==null;){if(n.tag===3){RE(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Mo===null||!Mo.has(r))){e=yy(t,e);var o=eP(n,e,1);if(Mi(n,o),o=Pr(),n=Np(n,1),n!==null)Rp(n,1,o),eo(n,o);else if(typeof r.componentDidCatch=="function"&&(Mo===null||!Mo.has(r)))try{r.componentDidCatch(t,e)}catch{}break}}n=n.return}}function XB(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Pr(),e.pingedLanes|=e.suspendedLanes&n,Qn===e&&(Hn&n)===n&&(Ln===4||Ln===3&&(Hn&62914560)===Hn&&500>Wn()-_y?Ds(e,0):by|=n),eo(e,t)}function QB(e,t){var n=e.stateNode;n!==null&&n.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=qs()===99?1:2:(ri===0&&(ri=fl),t=xs(62914560&~ri),t===0&&(t=4194304))),n=Pr(),e=Np(e,t),e!==null&&(Rp(e,t,n),eo(e,n))}var cP;cP=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||cr.current)yo=!0;else if((n&r)!==0)yo=(e.flags&16384)!==0;else{switch(yo=!1,t.tag){case 3:hE(t),Rm();break;case 5:iE(t);break;case 1:dr(t.type)&&bf(t);break;case 4:Nv(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;un(Vf,o._currentValue),o._currentValue=r;break;case 13:if(t.memoizedState!==null)return(n&t.child.childLanes)!==0?gE(e,t,n):(un(ln,ln.current&1),t=ii(e,t,n),t!==null?t.sibling:null);un(ln,ln.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&64)!==0){if(r)return bE(e,t,n);t.flags|=64}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),un(ln,ln.current),r)break;return null;case 23:case 24:return t.lanes=0,Tm(e,t,n)}return ii(e,t,n)}else yo=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=Ks(t,Vn.current),Ls(t,n),o=hy(null,t,r,e,o,n),t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,dr(r)){var a=!0;bf(t)}else a=!1;t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,cy(t);var l=r.getDerivedStateFromProps;typeof l=="function"&&qf(t,r,l,e),o.updater=Lp,t.stateNode=o,o._reactInternals=t,Mv(t,r,e,n),t=Uv(null,t,r,!0,a,n)}else t.tag=0,lr(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=o._init,o=a(o._payload),t.type=o,a=t.tag=JB(o),e=mo(o,e),a){case 0:t=Fv(null,t,o,e,n);break e;case 1:t=pE(null,t,o,e,n);break e;case 11:t=dE(null,t,o,e,n);break e;case 14:t=fE(null,t,o,mo(o.type,e),r,n);break e}throw Error(ve(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mo(r,o),Fv(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mo(r,o),pE(e,t,r,o,n);case 3:if(hE(t),r=t.updateQueue,e===null||r===null)throw Error(ve(282));if(r=t.pendingProps,o=t.memoizedState,o=o!==null?o.element:null,M2(e,t),cc(t,r,null,n),r=t.memoizedState.element,r===o)Rm(),t=ii(e,t,n);else{if(o=t.stateNode,(a=o.hydrate)&&(Ti=As(t.stateNode.containerInfo.firstChild),oi=t,a=Bo=!0),a){if(e=o.mutableSourceEagerHydrationData,e!=null)for(o=0;o<e.length;o+=2)a=e[o],a._workInProgressVersionPrimary=e[o+1],Ms.push(a);for(n=F2(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|1024,n=n.sibling}else lr(e,t,r,n),Rm();t=t.child}return t;case 5:return iE(t),e===null&&Dv(t),r=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,l=o.children,Ov(r,o)?l=null:a!==null&&Ov(r,a)&&(t.flags|=16),Y2(e,t),lr(e,t,l,n),t.child;case 6:return e===null&&Dv(t),null;case 13:return gE(e,t,n);case 4:return Nv(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yf(t,null,r,n):lr(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mo(r,o),dE(e,t,r,o,n);case 7:return lr(e,t,t.pendingProps,n),t.child;case 8:return lr(e,t,t.pendingProps.children,n),t.child;case 12:return lr(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,a=o.value;var u=t.type._context;if(un(Vf,u._currentValue),u._currentValue=a,l!==null)if(u=l.value,a=Gr(u,a)?0:(typeof r._calculateChangedBits=="function"?r._calculateChangedBits(u,a):1073741823)|0,a===0){if(l.children===o.children&&!cr.current){t=ii(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var c=u.dependencies;if(c!==null){l=u.child;for(var f=c.firstContext;f!==null;){if(f.context===r&&(f.observedBits&a)!==0){u.tag===1&&(f=Li(-1,n&-n),f.tag=2,Mi(u,f)),u.lanes|=n,f=u.alternate,f!==null&&(f.lanes|=n),L2(u.return,n),c.lanes|=n;break}f=f.next}}else l=u.tag===10&&u.type===t.type?null:u.child;if(l!==null)l.return=u;else for(l=u;l!==null;){if(l===t){l=null;break}if(u=l.sibling,u!==null){u.return=l.return,l=u;break}l=l.return}u=l}lr(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,a=t.pendingProps,r=a.children,Ls(t,n),o=Jr(o,a.unstable_observedBits),r=r(o),t.flags|=1,lr(e,t,r,n),t.child;case 14:return o=t.type,a=mo(o,t.pendingProps),a=mo(o.type,a),fE(e,t,o,a,r,n);case 15:return q2(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mo(r,o),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,dr(r)?(e=!0,bf(t)):e=!1,Ls(t,n),D2(t,r,o),Mv(t,r,o,n),Uv(null,t,r,!0,e,n);case 19:return bE(e,t,n);case 23:return Tm(e,t,n);case 24:return Tm(e,t,n)}throw Error(ve(156,t.tag))};function ZB(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Kr(e,t,n,r){return new ZB(e,t,n,r)}function Ey(e){return e=e.prototype,!(!e||!e.isReactComponent)}function JB(e){if(typeof e=="function")return Ey(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Sp)return 11;if(e===$p)return 14}return 2}function Vi(e,t){var n=e.alternate;return n===null?(n=Kr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Sf(e,t,n,r,o,a){var l=2;if(r=e,typeof e=="function")Ey(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Si:return Bs(n.children,o,a,t);case U4:l=8,o|=16;break;case F0:l=8,o|=1;break;case Au:return e=Kr(12,n,t,o|8),e.elementType=Au,e.type=Au,e.lanes=a,e;case Lu:return e=Kr(13,n,t,o),e.type=Lu,e.elementType=Lu,e.lanes=a,e;case Nf:return e=Kr(19,n,t,o),e.elementType=Nf,e.lanes=a,e;case V0:return wy(n,o,a,t);case pv:return e=Kr(24,n,t,o),e.elementType=pv,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case U0:l=10;break e;case z0:l=9;break e;case Sp:l=11;break e;case $p:l=14;break e;case j0:l=16,r=null;break e;case W0:l=22;break e}throw Error(ve(130,e==null?e:typeof e,""))}return t=Kr(l,n,t,o),t.elementType=e,t.type=r,t.lanes=a,t}function Bs(e,t,n,r){return e=Kr(7,e,r,t),e.lanes=n,e}function wy(e,t,n,r){return e=Kr(23,e,r,t),e.elementType=V0,e.lanes=n,e}function km(e,t,n){return e=Kr(6,e,null,t),e.lanes=n,e}function Am(e,t,n){return t=Kr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function eF(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=mm(0),this.expirationTimes=mm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mm(0),this.mutableSourceEagerHydrationData=null}function tF(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ba,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function op(e,t,n,r){var o=t.current,a=Pr(),l=Ni(o);e:if(n){n=n._reactInternals;t:{if(ja(n)!==n||n.tag!==1)throw Error(ve(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(dr(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(u!==null);throw Error(ve(171))}if(n.tag===1){var c=n.type;if(dr(c)){n=P2(n,c,u);break e}}n=u}else n=Wi;return t.context===null?t.context=n:t.pendingContext=n,t=Li(a,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),Mi(o,t),Di(o,l,a),l}function Lm(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function TE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Sy(e,t){TE(e,t),(e=e.alternate)&&TE(e,t)}function nF(){return null}function $y(e,t,n){var r=n!=null&&n.hydrationOptions!=null&&n.hydrationOptions.mutableSources||null;if(n=new eF(e,t,n!=null&&n.hydrate===!0),t=Kr(3,null,null,t===2?7:t===1?3:0),n.current=t,t.stateNode=n,cy(t),e[dl]=n.current,C2(e.nodeType===8?e.parentNode:e),r)for(e=0;e<r.length;e++){t=r[e];var o=t._getVersion;o=o(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}$y.prototype.render=function(e){op(e,this._internalRoot,null,null)};$y.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;op(null,e,null,function(){t[dl]=null})};function Nc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function rF(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new $y(e,0,t?{hydrate:!0}:void 0)}function Dp(e,t,n,r,o){var a=n._reactRootContainer;if(a){var l=a._internalRoot;if(typeof o=="function"){var u=o;o=function(){var f=Lm(l);u.call(f)}}op(t,l,e,o)}else{if(a=n._reactRootContainer=rF(n,r),l=a._internalRoot,typeof o=="function"){var c=o;o=function(){var f=Lm(l);c.call(f)}}oP(function(){op(t,l,e,o)})}return Lm(l)}t2=function(e){if(e.tag===13){var t=Pr();Di(e,4,t),Sy(e,4)}};X0=function(e){if(e.tag===13){var t=Pr();Di(e,67108864,t),Sy(e,67108864)}};n2=function(e){if(e.tag===13){var t=Pr(),n=Ni(e);Di(e,n,t),Sy(e,n)}};r2=function(e,t){return t()};Ev=function(e,t,n){switch(t){case"input":if(gv(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=kp(r);if(!o)throw Error(ve(90));j4(r),gv(r,o)}}}break;case"textarea":H4(e,n);break;case"select":t=n.value,t!=null&&Is(e,!!n.multiple,t,!1)}};K0=rP;Q4=function(e,t,n,r,o){var a=Ke;Ke|=4;try{return Oa(98,e.bind(null,t,n,r,o))}finally{Ke=a,Ke===0&&(hl(),Wo())}};q0=function(){(Ke&49)===0&&(WB(),Zi())};Z4=function(e,t){var n=Ke;Ke|=2;try{return e(t)}finally{Ke=n,Ke===0&&(hl(),Wo())}};function dP(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Nc(t))throw Error(ve(200));return tF(e,t,null,n)}var oF={Events:[Ac,Ss,kp,Y4,X4,Zi,{current:!1}]},lu={findFiberByHostInstance:Ca,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},iF={bundleType:lu.bundleType,version:lu.version,rendererPackageName:lu.rendererPackageName,rendererConfig:lu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:za.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=e2(e),e===null?null:e.stateNode},findFiberByHostInstance:lu.findFiberByHostInstance||nF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var ef=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ef.isDisabled&&ef.supportsFiber)try{ay=ef.inject(iF),Pa=ef}catch{}}ro.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oF;ro.createPortal=dP;ro.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ve(188)):Error(ve(268,Object.keys(e)));return e=e2(t),e=e===null?null:e.stateNode,e};ro.flushSync=function(e,t){var n=Ke;if((n&48)!==0)return e(t);Ke|=1;try{if(e)return Oa(99,e.bind(null,t))}finally{Ke=n,Wo()}};ro.hydrate=function(e,t,n){if(!Nc(t))throw Error(ve(200));return Dp(null,e,t,!0,n)};ro.render=function(e,t,n){if(!Nc(t))throw Error(ve(200));return Dp(null,e,t,!1,n)};ro.unmountComponentAtNode=function(e){if(!Nc(e))throw Error(ve(40));return e._reactRootContainer?(oP(function(){Dp(null,null,e,!1,function(){e._reactRootContainer=null,e[dl]=null})}),!0):!1};ro.unstable_batchedUpdates=rP;ro.unstable_createPortal=function(e,t){return dP(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};ro.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Nc(n))throw Error(ve(200));if(e==null||e._reactInternals===void 0)throw Error(ve(38));return Dp(e,t,n,!1,r)};ro.version="17.0.2";function fP(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fP)}catch(e){console.error(e)}}fP(),Oc.exports=ro;var Ru=Oc.exports;function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}var pP={exports:{}},aF="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",sF=aF,lF=sF;function hP(){}function gP(){}gP.resetWarningCache=hP;var uF=function(){function e(r,o,a,l,u,c){if(c!==lF){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:gP,resetWarningCache:hP};return n.PropTypes=n,n};pP.exports=uF();var Aa=pP.exports;function cF(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var dF=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,fF=cF(function(e){return dF.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function pF(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function hF(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var mP=function(){function e(n){var r=this;this._insertTag=function(o){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,a),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(hF(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var a=pF(o);try{a.insertRule(r,a.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Un="-ms-",ip="-moz-",Et="-webkit-",vP="comm",Py="rule",Ry="decl",gF="@import",yP="@keyframes",mF=Math.abs,Bp=String.fromCharCode,vF=Object.assign;function yF(e,t){return(((t<<2^ur(e,0))<<2^ur(e,1))<<2^ur(e,2))<<2^ur(e,3)}function xP(e){return e.trim()}function xF(e,t){return(e=t.exec(e))?e[0]:e}function St(e,t,n){return e.replace(t,n)}function Jv(e,t){return e.indexOf(t)}function ur(e,t){return e.charCodeAt(t)|0}function hc(e,t,n){return e.slice(t,n)}function Io(e){return e.length}function Ty(e){return e.length}function tf(e,t){return t.push(e),e}function bF(e,t){return e.map(t).join("")}var Fp=1,Xs=1,bP=0,gr=0,mn=0,gl="";function Up(e,t,n,r,o,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Fp,column:Xs,length:l,return:""}}function uu(e,t){return vF(Up("",null,null,"",null,null,0),e,{length:-e.length},t)}function _F(){return mn}function CF(){return mn=gr>0?ur(gl,--gr):0,Xs--,mn===10&&(Xs=1,Fp--),mn}function Rr(){return mn=gr<bP?ur(gl,gr++):0,Xs++,mn===10&&(Xs=1,Fp++),mn}function Fo(){return ur(gl,gr)}function $f(){return gr}function Dc(e,t){return hc(gl,e,t)}function gc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _P(e){return Fp=Xs=1,bP=Io(gl=e),gr=0,[]}function CP(e){return gl="",e}function Pf(e){return xP(Dc(gr-1,e0(e===91?e+2:e===40?e+1:e)))}function EF(e){for(;(mn=Fo())&&mn<33;)Rr();return gc(e)>2||gc(mn)>3?"":" "}function wF(e,t){for(;--t&&Rr()&&!(mn<48||mn>102||mn>57&&mn<65||mn>70&&mn<97););return Dc(e,$f()+(t<6&&Fo()==32&&Rr()==32))}function e0(e){for(;Rr();)switch(mn){case e:return gr;case 34:case 39:e!==34&&e!==39&&e0(mn);break;case 40:e===41&&e0(e);break;case 92:Rr();break}return gr}function SF(e,t){for(;Rr()&&e+mn!==47+10;)if(e+mn===42+42&&Fo()===47)break;return"/*"+Dc(t,gr-1)+"*"+Bp(e===47?e:Rr())}function $F(e){for(;!gc(Fo());)Rr();return Dc(e,gr)}function PF(e){return CP(Rf("",null,null,null,[""],e=_P(e),0,[0],e))}function Rf(e,t,n,r,o,a,l,u,c){for(var f=0,p=0,m=l,g=0,x=0,E=0,b=1,y=1,v=1,_=0,w="",P=o,A=a,k=r,I=w;y;)switch(E=_,_=Rr()){case 40:if(E!=108&&I.charCodeAt(m-1)==58){Jv(I+=St(Pf(_),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:I+=Pf(_);break;case 9:case 10:case 13:case 32:I+=EF(E);break;case 92:I+=wF($f()-1,7);continue;case 47:switch(Fo()){case 42:case 47:tf(RF(SF(Rr(),$f()),t,n),c);break;default:I+="/"}break;case 123*b:u[f++]=Io(I)*v;case 125*b:case 59:case 0:switch(_){case 0:case 125:y=0;case 59+p:x>0&&Io(I)-m&&tf(x>32?OE(I+";",r,n,m-1):OE(St(I," ","")+";",r,n,m-2),c);break;case 59:I+=";";default:if(tf(k=IE(I,t,n,f,p,o,u,w,P=[],A=[],m),a),_===123)if(p===0)Rf(I,t,k,k,P,a,m,u,A);else switch(g){case 100:case 109:case 115:Rf(e,k,k,r&&tf(IE(e,k,k,0,0,o,u,w,o,P=[],m),A),o,A,m,u,r?P:A);break;default:Rf(I,k,k,k,[""],A,0,u,A)}}f=p=x=0,b=v=1,w=I="",m=l;break;case 58:m=1+Io(I),x=E;default:if(b<1){if(_==123)--b;else if(_==125&&b++==0&&CF()==125)continue}switch(I+=Bp(_),_*b){case 38:v=p>0?1:(I+="\f",-1);break;case 44:u[f++]=(Io(I)-1)*v,v=1;break;case 64:Fo()===45&&(I+=Pf(Rr())),g=Fo(),p=m=Io(w=I+=$F($f())),_++;break;case 45:E===45&&Io(I)==2&&(b=0)}}return a}function IE(e,t,n,r,o,a,l,u,c,f,p){for(var m=o-1,g=o===0?a:[""],x=Ty(g),E=0,b=0,y=0;E<r;++E)for(var v=0,_=hc(e,m+1,m=mF(b=l[E])),w=e;v<x;++v)(w=xP(b>0?g[v]+" "+_:St(_,/&\f/g,g[v])))&&(c[y++]=w);return Up(e,t,n,o===0?Py:u,c,f,p)}function RF(e,t,n){return Up(e,t,n,vP,Bp(_F()),hc(e,2,-2),0)}function OE(e,t,n,r){return Up(e,t,n,Ry,hc(e,0,r),hc(e,r+1,-1),r)}function EP(e,t){switch(yF(e,t)){case 5103:return Et+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Et+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Et+e+ip+e+Un+e+e;case 6828:case 4268:return Et+e+Un+e+e;case 6165:return Et+e+Un+"flex-"+e+e;case 5187:return Et+e+St(e,/(\w+).+(:[^]+)/,Et+"box-$1$2"+Un+"flex-$1$2")+e;case 5443:return Et+e+Un+"flex-item-"+St(e,/flex-|-self/,"")+e;case 4675:return Et+e+Un+"flex-line-pack"+St(e,/align-content|flex-|-self/,"")+e;case 5548:return Et+e+Un+St(e,"shrink","negative")+e;case 5292:return Et+e+Un+St(e,"basis","preferred-size")+e;case 6060:return Et+"box-"+St(e,"-grow","")+Et+e+Un+St(e,"grow","positive")+e;case 4554:return Et+St(e,/([^-])(transform)/g,"$1"+Et+"$2")+e;case 6187:return St(St(St(e,/(zoom-|grab)/,Et+"$1"),/(image-set)/,Et+"$1"),e,"")+e;case 5495:case 3959:return St(e,/(image-set\([^]*)/,Et+"$1$`$1");case 4968:return St(St(e,/(.+:)(flex-)?(.*)/,Et+"box-pack:$3"+Un+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Et+e+e;case 4095:case 3583:case 4068:case 2532:return St(e,/(.+)-inline(.+)/,Et+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Io(e)-1-t>6)switch(ur(e,t+1)){case 109:if(ur(e,t+4)!==45)break;case 102:return St(e,/(.+:)(.+)-([^]+)/,"$1"+Et+"$2-$3$1"+ip+(ur(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jv(e,"stretch")?EP(St(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ur(e,t+1)!==115)break;case 6444:switch(ur(e,Io(e)-3-(~Jv(e,"!important")&&10))){case 107:return St(e,":",":"+Et)+e;case 101:return St(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Et+(ur(e,14)===45?"inline-":"")+"box$3$1"+Et+"$2$3$1"+Un+"$2box$3")+e}break;case 5936:switch(ur(e,t+11)){case 114:return Et+e+Un+St(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Et+e+Un+St(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Et+e+Un+St(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Et+e+Un+e+e}return e}function Fs(e,t){for(var n="",r=Ty(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function TF(e,t,n,r){switch(e.type){case gF:case Ry:return e.return=e.return||e.value;case vP:return"";case yP:return e.return=e.value+"{"+Fs(e.children,r)+"}";case Py:e.value=e.props.join(",")}return Io(n=Fs(e.children,r))?e.return=e.value+"{"+n+"}":""}function IF(e){var t=Ty(e);return function(n,r,o,a){for(var l="",u=0;u<t;u++)l+=e[u](n,r,o,a)||"";return l}}function OF(e){return function(t){t.root||(t=t.return)&&e(t)}}function kF(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ry:e.return=EP(e.value,e.length);break;case yP:return Fs([uu(e,{value:St(e.value,"@","@"+Et)})],r);case Py:if(e.length)return bF(e.props,function(o){switch(xF(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fs([uu(e,{props:[St(o,/:(read-\w+)/,":"+ip+"$1")]})],r);case"::placeholder":return Fs([uu(e,{props:[St(o,/:(plac\w+)/,":"+Et+"input-$1")]}),uu(e,{props:[St(o,/:(plac\w+)/,":"+ip+"$1")]}),uu(e,{props:[St(o,/:(plac\w+)/,Un+"input-$1")]})],r)}return""})}}var AF=function(t,n,r){for(var o=0,a=0;o=a,a=Fo(),o===38&&a===12&&(n[r]=1),!gc(a);)Rr();return Dc(t,gr)},LF=function(t,n){var r=-1,o=44;do switch(gc(o)){case 0:o===38&&Fo()===12&&(n[r]=1),t[r]+=AF(gr-1,n,r);break;case 2:t[r]+=Pf(o);break;case 4:if(o===44){t[++r]=Fo()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Bp(o)}while(o=Rr());return t},MF=function(t,n){return CP(LF(_P(t),n))},kE=new WeakMap,NF=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!kE.get(r))&&!o){kE.set(t,!0);for(var a=[],l=MF(n,a),u=r.props,c=0,f=0;c<l.length;c++)for(var p=0;p<u.length;p++,f++)t.props[f]=a[c]?l[c].replace(/&\f/g,u[p]):u[p]+" "+l[c]}}},DF=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},BF=[kF],FF=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(b){var y=b.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var o=t.stylisPlugins||BF,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(b){for(var y=b.getAttribute("data-emotion").split(" "),v=1;v<y.length;v++)a[y[v]]=!0;u.push(b)});var c,f=[NF,DF];{var p,m=[TF,OF(function(b){p.insert(b)})],g=IF(f.concat(o,m)),x=function(y){return Fs(PF(y),g)};c=function(y,v,_,w){p=_,x(y?y+"{"+v.styles+"}":v.styles),w&&(E.inserted[v.name]=!0)}}var E={key:n,sheet:new mP({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:c};return E.sheet.hydrate(u),E},wP={exports:{}},Tt={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Rn=typeof Symbol=="function"&&Symbol.for,Iy=Rn?Symbol.for("react.element"):60103,Oy=Rn?Symbol.for("react.portal"):60106,zp=Rn?Symbol.for("react.fragment"):60107,jp=Rn?Symbol.for("react.strict_mode"):60108,Wp=Rn?Symbol.for("react.profiler"):60114,Hp=Rn?Symbol.for("react.provider"):60109,Vp=Rn?Symbol.for("react.context"):60110,ky=Rn?Symbol.for("react.async_mode"):60111,Gp=Rn?Symbol.for("react.concurrent_mode"):60111,Kp=Rn?Symbol.for("react.forward_ref"):60112,qp=Rn?Symbol.for("react.suspense"):60113,UF=Rn?Symbol.for("react.suspense_list"):60120,Yp=Rn?Symbol.for("react.memo"):60115,Xp=Rn?Symbol.for("react.lazy"):60116,zF=Rn?Symbol.for("react.block"):60121,jF=Rn?Symbol.for("react.fundamental"):60117,WF=Rn?Symbol.for("react.responder"):60118,HF=Rn?Symbol.for("react.scope"):60119;function kr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Iy:switch(e=e.type,e){case ky:case Gp:case zp:case Wp:case jp:case qp:return e;default:switch(e=e&&e.$$typeof,e){case Vp:case Kp:case Xp:case Yp:case Hp:return e;default:return t}}case Oy:return t}}}function SP(e){return kr(e)===Gp}Tt.AsyncMode=ky;Tt.ConcurrentMode=Gp;Tt.ContextConsumer=Vp;Tt.ContextProvider=Hp;Tt.Element=Iy;Tt.ForwardRef=Kp;Tt.Fragment=zp;Tt.Lazy=Xp;Tt.Memo=Yp;Tt.Portal=Oy;Tt.Profiler=Wp;Tt.StrictMode=jp;Tt.Suspense=qp;Tt.isAsyncMode=function(e){return SP(e)||kr(e)===ky};Tt.isConcurrentMode=SP;Tt.isContextConsumer=function(e){return kr(e)===Vp};Tt.isContextProvider=function(e){return kr(e)===Hp};Tt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Iy};Tt.isForwardRef=function(e){return kr(e)===Kp};Tt.isFragment=function(e){return kr(e)===zp};Tt.isLazy=function(e){return kr(e)===Xp};Tt.isMemo=function(e){return kr(e)===Yp};Tt.isPortal=function(e){return kr(e)===Oy};Tt.isProfiler=function(e){return kr(e)===Wp};Tt.isStrictMode=function(e){return kr(e)===jp};Tt.isSuspense=function(e){return kr(e)===qp};Tt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===zp||e===Gp||e===Wp||e===jp||e===qp||e===UF||typeof e=="object"&&e!==null&&(e.$$typeof===Xp||e.$$typeof===Yp||e.$$typeof===Hp||e.$$typeof===Vp||e.$$typeof===Kp||e.$$typeof===jF||e.$$typeof===WF||e.$$typeof===HF||e.$$typeof===zF)};Tt.typeOf=kr;wP.exports=Tt;var $P=wP.exports,VF={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},GF={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},PP={};PP[$P.ForwardRef]=VF;PP[$P.Memo]=GF;var KF=!0;function qF(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var YF=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||KF===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},RP=function(t,n,r){YF(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+o:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function XF(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var QF={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ZF(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var JF=/[A-Z]|^ms/g,eU=/_EMO_([^_]+?)_([^]*?)_EMO_/g,TP=function(t){return t.charCodeAt(1)===45},AE=function(t){return t!=null&&typeof t!="boolean"},Mm=ZF(function(e){return TP(e)?e:e.replace(JF,"-$&").toLowerCase()}),LE=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(eU,function(r,o,a){return Oo={name:o,styles:a,next:Oo},o})}return QF[t]!==1&&!TP(t)&&typeof n=="number"&&n!==0?n+"px":n};function mc(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Oo={name:n.name,styles:n.styles,next:Oo},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Oo={name:r.name,styles:r.styles,next:Oo},r=r.next;var o=n.styles+";";return o}return tU(e,t,n)}case"function":{if(e!==void 0){var a=Oo,l=n(e);return Oo=a,mc(e,t,l)}break}}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function tU(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=mc(e,t,n[o])+";";else for(var a in n){var l=n[a];if(typeof l!="object")t!=null&&t[l]!==void 0?r+=a+"{"+t[l]+"}":AE(l)&&(r+=Mm(a)+":"+LE(a,l)+";");else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var u=0;u<l.length;u++)AE(l[u])&&(r+=Mm(a)+":"+LE(a,l[u])+";");else{var c=mc(e,t,l);switch(a){case"animation":case"animationName":{r+=Mm(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}return r}var ME=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Oo,Ay=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,a="";Oo=void 0;var l=t[0];l==null||l.raw===void 0?(o=!1,a+=mc(r,n,l)):a+=l[0];for(var u=1;u<t.length;u++)a+=mc(r,n,t[u]),o&&(a+=l[u]);ME.lastIndex=0;for(var c="",f;(f=ME.exec(a))!==null;)c+="-"+f[1];var p=XF(a)+c;return{name:p,styles:a,next:Oo}},IP=C.exports.createContext(typeof HTMLElement!="undefined"?FF({key:"css"}):null);IP.Provider;var OP=function(t){return C.exports.forwardRef(function(n,r){var o=C.exports.useContext(IP);return t(n,o,r)})},Ly=C.exports.createContext({}),nU=OP(function(e,t){var n=e.styles,r=Ay([n],void 0,C.exports.useContext(Ly)),o=C.exports.useRef();return C.exports.useLayoutEffect(function(){var a=t.key+"-global",l=new mP({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,c=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),c!==null&&(u=!0,c.setAttribute("data-emotion",a),l.hydrate([c])),o.current=[l,u],function(){l.flush()}},[t]),C.exports.useLayoutEffect(function(){var a=o.current,l=a[0],u=a[1];if(u){a[1]=!1;return}if(r.next!==void 0&&RP(t,r.next,!0),l.tags.length){var c=l.tags[l.tags.length-1].nextElementSibling;l.before=c,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});function rU(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ay(t)}var My=function(){var t=rU.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},oU=fF,iU=function(t){return t!=="theme"},NE=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?oU:iU},DE=function(t,n,r){var o;if(n){var a=n.shouldForwardProp;o=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},aU=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=DE(t,n,r),c=u||NE(o),f=!c("as");return function(){var p=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{m.push(p[0][0]);for(var g=p.length,x=1;x<g;x++)m.push(p[x],p[0][x])}var E=OP(function(b,y,v){var _=f&&b.as||o,w="",P=[],A=b;if(b.theme==null){A={};for(var k in b)A[k]=b[k];A.theme=C.exports.useContext(Ly)}typeof b.className=="string"?w=qF(y.registered,P,b.className):b.className!=null&&(w=b.className+" ");var I=Ay(m.concat(P),y.registered,A);RP(y,I,typeof _=="string"),w+=y.key+"-"+I.name,l!==void 0&&(w+=" "+l);var L=f&&u===void 0?NE(_):c,N={};for(var B in b)f&&B==="as"||L(B)&&(N[B]=b[B]);N.className=w,N.ref=v;var V=C.exports.createElement(_,N);return V});return E.displayName=a!==void 0?a:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",E.defaultProps=t.defaultProps,E.__emotion_real=E,E.__emotion_base=o,E.__emotion_styles=m,E.__emotion_forwardProp=u,Object.defineProperty(E,"toString",{value:function(){return"."+l}}),E.withComponent=function(b,y){return e(b,R({},n,y,{shouldForwardProp:DE(E,y,!0)})).apply(void 0,m)},E}},sU=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],t0=aU.bind();sU.forEach(function(e){t0[e]=t0(e)});var lU=t0,D={exports:{}},Bc={};/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var uU=C.exports,kP=60103;Bc.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var BE=Symbol.for;kP=BE("react.element"),Bc.Fragment=BE("react.fragment")}var cU=uU.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dU=Object.prototype.hasOwnProperty,fU={key:!0,ref:!0,__self:!0,__source:!0};function AP(e,t,n){var r,o={},a=null,l=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)dU.call(t,r)&&!fU.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:kP,type:e,key:a,ref:l,props:o,_owner:cU.current}}Bc.jsx=AP;Bc.jsxs=AP;D.exports=Bc;function pU(e){return e==null||Object.keys(e).length===0}function hU(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(pU(o)?n:o):t;return D.exports.jsx(nU,{styles:r})}/** @license MUI v5.10.5
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function LP(e,t){return lU(e,t)}const gU=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Tu(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Qr(e,t,n={clone:!0}){const r=n.clone?R({},e):e;return Tu(e)&&Tu(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Tu(t[o])&&o in e&&Tu(e[o])?r[o]=Qr(e[o],t[o],n):r[o]=t[o])}),r}function Gi(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function ce(e){if(typeof e!="string")throw new Error(Gi(7));return e.charAt(0).toUpperCase()+e.slice(1)}function n0(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Qp(e,t=166){let n;function r(...o){const a=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function mU(e,t){return()=>null}function Tf(e,t){return C.exports.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function $n(e){return e&&e.ownerDocument||document}function zo(e){return $n(e).defaultView||window}function vU(e,t){return()=>null}function Qs(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const yU=typeof window!="undefined"?C.exports.useLayoutEffect:C.exports.useEffect;var xo=yU;let FE=0;function xU(e){const[t,n]=C.exports.useState(e),r=e||t;return C.exports.useEffect(()=>{t==null&&(FE+=1,n(`mui-${FE}`))},[t]),r}const UE=dD["useId"];function La(e){if(UE!==void 0){const t=UE();return e!=null?e:t}return xU(e)}function bU(e,t,n,r,o){return null}function Fi({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=C.exports.useRef(e!==void 0),[a,l]=C.exports.useState(t),u=o?e:a,c=C.exports.useCallback(f=>{o||l(f)},[]);return[u,c]}function $r(e){const t=C.exports.useRef(e);return xo(()=>{t.current=e}),C.exports.useCallback((...n)=>(0,t.current)(...n),[])}function yt(e,t){return C.exports.useMemo(()=>e==null&&t==null?null:n=>{Qs(e,n),Qs(t,n)},[e,t])}let Zp=!0,r0=!1,zE;const _U={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function CU(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&_U[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function EU(e){e.metaKey||e.altKey||e.ctrlKey||(Zp=!0)}function Nm(){Zp=!1}function wU(){this.visibilityState==="hidden"&&r0&&(Zp=!0)}function SU(e){e.addEventListener("keydown",EU,!0),e.addEventListener("mousedown",Nm,!0),e.addEventListener("pointerdown",Nm,!0),e.addEventListener("touchstart",Nm,!0),e.addEventListener("visibilitychange",wU,!0)}function $U(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Zp||CU(t)}function Jp(){const e=C.exports.useCallback(o=>{o!=null&&SU(o.ownerDocument)},[]),t=C.exports.useRef(!1);function n(){return t.current?(r0=!0,window.clearTimeout(zE),zE=window.setTimeout(()=>{r0=!1},100),t.current=!1,!0):!1}function r(o){return $U(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function MP(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const PU=e=>{const t=C.exports.useRef({});return C.exports.useEffect(()=>{t.current=e}),t.current};var NP=PU;function DP(e,t){const n=R({},t);return Object.keys(e).forEach(r=>{n[r]===void 0&&(n[r]=e[r])}),n}function Be(e,t,n){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((a,l)=>(l&&(a.push(t(l)),n&&n[l]&&a.push(n[l])),a),[]).join(" ")}),r}const jE=e=>e,RU=()=>{let e=jE;return{configure(t){e=t},generate(t){return e(t)},reset(){e=jE}}},TU=RU();var Ny=TU;const IU={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function De(e,t,n="Mui"){const r=IU[t];return r?`${n}-${r}`:`${Ny.generate(e)}-${t}`}function Ne(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=De(e,o,n)}),r}function Vu(e,t){return t?Qr(e,t,{clone:!1}):e}const Dy={xs:0,sm:600,md:900,lg:1200,xl:1536},WE={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Dy[e]}px)`};function _o(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||WE;return t.reduce((l,u,c)=>(l[a.up(a.keys[c])]=n(t[c]),l),{})}if(typeof t=="object"){const a=r.breakpoints||WE;return Object.keys(t).reduce((l,u)=>{if(Object.keys(a.values||Dy).indexOf(u)!==-1){const c=a.up(u);l[c]=n(t[u],u)}else{const c=u;l[c]=t[c]}return l},{})}return n(t)}function OU(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const a=e.up(o);return r[a]={},r},{}))||{}}function kU(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function AU(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,a)=>{a<e.length&&(n[o]=!0)}):r.forEach(o=>{e[o]!=null&&(n[o]=!0)}),n}function eh({values:e,breakpoints:t,base:n}){const r=n||AU(e,t),o=Object.keys(r);if(o.length===0)return e;let a;return o.reduce((l,u,c)=>(Array.isArray(e)?(l[u]=e[c]!=null?e[c]:e[a],a=c):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function vc(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function HE(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=vc(e,n)||r,t&&(o=t(o)),o}function Te(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=l=>{if(l[t]==null)return null;const u=l[t],c=l.theme,f=vc(c,r)||{};return _o(l,u,m=>{let g=HE(f,o,m);return m===g&&typeof m=="string"&&(g=HE(f,o,`${t}${m==="default"?"":ce(m)}`,m)),n===!1?g:{[n]:g}})};return a.propTypes={},a.filterProps=[t],a}function Ji(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(a=>{r[a]=o}),r),{}),n=r=>Object.keys(r).reduce((o,a)=>t[a]?Vu(o,t[a](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function LU(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const MU={m:"margin",p:"padding"},NU={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},VE={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},DU=LU(e=>{if(e.length>2)if(VE[e])e=VE[e];else return[e];const[t,n]=e.split(""),r=MU[t],o=NU[n]||"";return Array.isArray(o)?o.map(a=>r+a):[r+o]}),BU=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],FU=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],BP=[...BU,...FU];function Fc(e,t,n,r){var o;const a=(o=vc(e,t,!1))!=null?o:n;return typeof a=="number"?l=>typeof l=="string"?l:a*l:Array.isArray(a)?l=>typeof l=="string"?l:a[l]:typeof a=="function"?a:()=>{}}function FP(e){return Fc(e,"spacing",8)}function Uc(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function UU(e,t){return n=>e.reduce((r,o)=>(r[o]=Uc(t,n),r),{})}function zU(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=DU(n),a=UU(o,r),l=e[n];return _o(e,l,a)}function jU(e,t){const n=FP(e.theme);return Object.keys(e).map(r=>zU(e,t,r,n)).reduce(Vu,{})}function th(e){return jU(e,BP)}th.propTypes={};th.filterProps=BP;function zc(e){return typeof e!="number"?e:`${e}px solid`}const WU=Te({prop:"border",themeKey:"borders",transform:zc}),HU=Te({prop:"borderTop",themeKey:"borders",transform:zc}),VU=Te({prop:"borderRight",themeKey:"borders",transform:zc}),GU=Te({prop:"borderBottom",themeKey:"borders",transform:zc}),KU=Te({prop:"borderLeft",themeKey:"borders",transform:zc}),qU=Te({prop:"borderColor",themeKey:"palette"}),YU=Te({prop:"borderTopColor",themeKey:"palette"}),XU=Te({prop:"borderRightColor",themeKey:"palette"}),QU=Te({prop:"borderBottomColor",themeKey:"palette"}),ZU=Te({prop:"borderLeftColor",themeKey:"palette"}),By=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fc(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Uc(t,r)});return _o(e,e.borderRadius,n)}return null};By.propTypes={};By.filterProps=["borderRadius"];const JU=Ji(WU,HU,VU,GU,KU,qU,YU,XU,QU,ZU,By);var UP=JU;const e6=Te({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),t6=Te({prop:"display"}),n6=Te({prop:"overflow"}),r6=Te({prop:"textOverflow"}),o6=Te({prop:"visibility"}),i6=Te({prop:"whiteSpace"});var zP=Ji(e6,t6,n6,r6,o6,i6);const a6=Te({prop:"flexBasis"}),s6=Te({prop:"flexDirection"}),l6=Te({prop:"flexWrap"}),u6=Te({prop:"justifyContent"}),c6=Te({prop:"alignItems"}),d6=Te({prop:"alignContent"}),f6=Te({prop:"order"}),p6=Te({prop:"flex"}),h6=Te({prop:"flexGrow"}),g6=Te({prop:"flexShrink"}),m6=Te({prop:"alignSelf"}),v6=Te({prop:"justifyItems"}),y6=Te({prop:"justifySelf"}),x6=Ji(a6,s6,l6,u6,c6,d6,f6,p6,h6,g6,m6,v6,y6);var jP=x6;const Fy=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fc(e.theme,"spacing",8),n=r=>({gap:Uc(t,r)});return _o(e,e.gap,n)}return null};Fy.propTypes={};Fy.filterProps=["gap"];const Uy=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fc(e.theme,"spacing",8),n=r=>({columnGap:Uc(t,r)});return _o(e,e.columnGap,n)}return null};Uy.propTypes={};Uy.filterProps=["columnGap"];const zy=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fc(e.theme,"spacing",8),n=r=>({rowGap:Uc(t,r)});return _o(e,e.rowGap,n)}return null};zy.propTypes={};zy.filterProps=["rowGap"];const b6=Te({prop:"gridColumn"}),_6=Te({prop:"gridRow"}),C6=Te({prop:"gridAutoFlow"}),E6=Te({prop:"gridAutoColumns"}),w6=Te({prop:"gridAutoRows"}),S6=Te({prop:"gridTemplateColumns"}),$6=Te({prop:"gridTemplateRows"}),P6=Te({prop:"gridTemplateAreas"}),R6=Te({prop:"gridArea"}),T6=Ji(Fy,Uy,zy,b6,_6,C6,E6,w6,S6,$6,P6,R6);var WP=T6;const I6=Te({prop:"color",themeKey:"palette"}),O6=Te({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),k6=Te({prop:"backgroundColor",themeKey:"palette"}),A6=Ji(I6,O6,k6);var HP=A6;const L6=Te({prop:"position"}),M6=Te({prop:"zIndex",themeKey:"zIndex"}),N6=Te({prop:"top"}),D6=Te({prop:"right"}),B6=Te({prop:"bottom"}),F6=Te({prop:"left"});var VP=Ji(L6,M6,N6,D6,B6,F6);const U6=Te({prop:"boxShadow",themeKey:"shadows"});var GP=U6;function ea(e){return e<=1&&e!==0?`${e*100}%`:e}const z6=Te({prop:"width",transform:ea}),KP=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,a;return{maxWidth:((r=e.theme)==null||(o=r.breakpoints)==null||(a=o.values)==null?void 0:a[n])||Dy[n]||ea(n)}};return _o(e,e.maxWidth,t)}return null};KP.filterProps=["maxWidth"];const j6=Te({prop:"minWidth",transform:ea}),W6=Te({prop:"height",transform:ea}),H6=Te({prop:"maxHeight",transform:ea}),V6=Te({prop:"minHeight",transform:ea});Te({prop:"size",cssProperty:"width",transform:ea});Te({prop:"size",cssProperty:"height",transform:ea});const G6=Te({prop:"boxSizing"}),K6=Ji(z6,KP,j6,W6,H6,V6,G6);var qP=K6;const q6=Te({prop:"fontFamily",themeKey:"typography"}),Y6=Te({prop:"fontSize",themeKey:"typography"}),X6=Te({prop:"fontStyle",themeKey:"typography"}),Q6=Te({prop:"fontWeight",themeKey:"typography"}),Z6=Te({prop:"letterSpacing"}),J6=Te({prop:"textTransform"}),e9=Te({prop:"lineHeight"}),t9=Te({prop:"textAlign"}),n9=Te({prop:"typography",cssProperty:!1,themeKey:"typography"}),r9=Ji(n9,q6,Y6,X6,Q6,Z6,e9,t9,J6);var YP=r9;const GE={borders:UP.filterProps,display:zP.filterProps,flexbox:jP.filterProps,grid:WP.filterProps,positions:VP.filterProps,palette:HP.filterProps,shadows:GP.filterProps,sizing:qP.filterProps,spacing:th.filterProps,typography:YP.filterProps},XP={borders:UP,display:zP,flexbox:jP,grid:WP,positions:VP,palette:HP,shadows:GP,sizing:qP,spacing:th,typography:YP},o9=Object.keys(GE).reduce((e,t)=>(GE[t].forEach(n=>{e[n]=XP[t]}),e),{});function i9(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function a9(e,t){return typeof e=="function"?e(t):e}function s9(e=XP){const t=Object.keys(e).reduce((o,a)=>(e[a].filterProps.forEach(l=>{o[l]=e[a]}),o),{});function n(o,a,l){const u={[o]:a,theme:l},c=t[o];return c?c(u):{[o]:a}}function r(o){const{sx:a,theme:l={}}=o||{};if(!a)return null;function u(c){let f=c;if(typeof c=="function")f=c(l);else if(typeof c!="object")return c;if(!f)return null;const p=OU(l.breakpoints),m=Object.keys(p);let g=p;return Object.keys(f).forEach(x=>{const E=a9(f[x],l);if(E!=null)if(typeof E=="object")if(t[x])g=Vu(g,n(x,E,l));else{const b=_o({theme:l},E,y=>({[x]:y}));i9(b,E)?g[x]=r({sx:E,theme:l}):g=Vu(g,b)}else g=Vu(g,n(x,E,l))}),kU(m,g)}return Array.isArray(a)?a.map(u):u(a)}return r}const QP=s9();QP.filterProps=["sx"];var ZP=QP;function ye(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const l9=["sx"],u9=e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach(n=>{o9[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function jy(e){const{sx:t}=e,n=ye(e,l9),{systemProps:r,otherProps:o}=u9(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return Tu(u)?R({},r,u):r}:a=R({},r,t),R({},o,{sx:a})}function JP(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=JP(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function _e(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=JP(e))&&(r&&(r+=" "),r+=t);return r}const c9=["values","unit","step"],d9=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>R({},n,{[r.key]:r.val}),{})};function f9(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ye(e,c9),a=d9(t),l=Object.keys(a);function u(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n})`}function c(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-r/100}${n})`}function f(g,x){const E=l.indexOf(x);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n}) and (max-width:${(E!==-1&&typeof t[l[E]]=="number"?t[l[E]]:x)-r/100}${n})`}function p(g){return l.indexOf(g)+1<l.length?f(g,l[l.indexOf(g)+1]):u(g)}function m(g){const x=l.indexOf(g);return x===0?u(l[1]):x===l.length-1?c(l[x]):f(g,l[l.indexOf(g)+1]).replace("@media","@media not all and")}return R({keys:l,values:a,up:u,down:c,between:f,only:p,not:m,unit:n},o)}const p9={borderRadius:4};var h9=p9;function g9(e=8){if(e.mui)return e;const t=FP({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}const m9=["breakpoints","palette","spacing","shape"];function Wy(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,l=ye(e,m9),u=f9(n),c=g9(o);let f=Qr({breakpoints:u,direction:"ltr",components:{},palette:R({mode:"light"},r),spacing:c,shape:R({},h9,a)},l);return f=t.reduce((p,m)=>Qr(p,m),f),f}const v9=C.exports.createContext(null);var eR=v9;function tR(){return C.exports.useContext(eR)}const y9=typeof Symbol=="function"&&Symbol.for;var x9=y9?Symbol.for("mui.nested"):"__THEME_NESTED__";function b9(e,t){return typeof t=="function"?t(e):R({},e,t)}function _9(e){const{children:t,theme:n}=e,r=tR(),o=C.exports.useMemo(()=>{const a=r===null?n:b9(r,n);return a!=null&&(a[x9]=r!==null),a},[n,r]);return D.exports.jsx(eR.Provider,{value:o,children:t})}function C9(e){return Object.keys(e).length===0}function nR(e=null){const t=tR();return!t||C9(t)?e:t}const E9=Wy();function nh(e=E9){return nR(e)}const w9=["className","component"];function rR(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r,styleFunctionSx:o=ZP}=e,a=LP("div",{shouldForwardProp:u=>u!=="theme"&&u!=="sx"&&u!=="as"})(o);return C.exports.forwardRef(function(c,f){const p=nh(t),m=jy(c),{className:g,component:x="div"}=m,E=ye(m,w9);return D.exports.jsx(a,R({as:x,ref:f,className:_e(g,r?r(n):n),theme:p},E))})}const S9=rR();var ei=S9;const $9=["variant"];function KE(e){return e.length===0}function oR(e){const{variant:t}=e,n=ye(e,$9);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=KE(r)?e[o]:ce(e[o]):r+=`${KE(r)?o:ce(o)}${ce(e[o].toString())}`}),r}const P9=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],R9=["theme"],T9=["theme"];function cu(e){return Object.keys(e).length===0}function I9(e){return typeof e=="string"&&e.charCodeAt(0)>96}const O9=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,k9=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const a=oR(o.props);r[a]=o.style}),r},A9=(e,t,n,r)=>{var o,a;const{ownerState:l={}}=e,u=[],c=n==null||(o=n.components)==null||(a=o[r])==null?void 0:a.variants;return c&&c.forEach(f=>{let p=!0;Object.keys(f.props).forEach(m=>{l[m]!==f.props[m]&&e[m]!==f.props[m]&&(p=!1)}),p&&u.push(t[oR(f.props)])}),u};function Gu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const L9=Wy();function M9(e={}){const{defaultTheme:t=L9,rootShouldForwardProp:n=Gu,slotShouldForwardProp:r=Gu,styleFunctionSx:o=ZP}=e,a=l=>{const u=cu(l.theme)?t:l.theme;return o(R({},l,{theme:u}))};return a.__mui_systemSx=!0,(l,u={})=>{gU(l,P=>P.filter(A=>!(A!=null&&A.__mui_systemSx)));const{name:c,slot:f,skipVariantsResolver:p,skipSx:m,overridesResolver:g}=u,x=ye(u,P9),E=p!==void 0?p:f&&f!=="Root"||!1,b=m||!1;let y,v=Gu;f==="Root"?v=n:f?v=r:I9(l)&&(v=void 0);const _=LP(l,R({shouldForwardProp:v,label:y},x)),w=(P,...A)=>{const k=A?A.map(B=>typeof B=="function"&&B.__emotion_real!==B?V=>{let{theme:ee}=V,X=ye(V,R9);return B(R({theme:cu(ee)?t:ee},X))}:B):[];let I=P;c&&g&&k.push(B=>{const V=cu(B.theme)?t:B.theme,ee=O9(c,V);if(ee){const X={};return Object.entries(ee).forEach(([ie,J])=>{X[ie]=typeof J=="function"?J(R({},B,{theme:V})):J}),g(B,X)}return null}),c&&!E&&k.push(B=>{const V=cu(B.theme)?t:B.theme;return A9(B,k9(c,V),V,c)}),b||k.push(a);const L=k.length-A.length;if(Array.isArray(P)&&L>0){const B=new Array(L).fill("");I=[...P,...B],I.raw=[...P.raw,...B]}else typeof P=="function"&&P.__emotion_real!==P&&(I=B=>{let{theme:V}=B,ee=ye(B,T9);return P(R({theme:cu(V)?t:V},ee))});return _(I,...k)};return _.withConfig&&(w.withConfig=_.withConfig),w}}function N9(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:DP(t.components[n].defaultProps,r)}function D9({props:e,name:t,defaultTheme:n}){const r=nh(n);return N9({theme:r,name:t,props:e})}function Hy(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function B9(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Ma(e){if(e.type)return e;if(e.charAt(0)==="#")return Ma(B9(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Gi(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Gi(10,o))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:o}}function rh(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function F9(e){e=Ma(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),l=(f,p=(f+n/30)%12)=>o-a*Math.max(Math.min(p-3,9-p,1),-1);let u="rgb";const c=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",c.push(t[3])),rh({type:u,values:c})}function qE(e){e=Ma(e);let t=e.type==="hsl"?Ma(F9(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function U9(e,t){const n=qE(e),r=qE(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function st(e,t){return e=Ma(e),t=Hy(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,rh(e)}function iR(e,t){if(e=Ma(e),t=Hy(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return rh(e)}function aR(e,t){if(e=Ma(e),t=Hy(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return rh(e)}function z9(e){const t=nh();return D.exports.jsx(Ly.Provider,{value:typeof t=="object"?t:{},children:e.children})}function j9(e){const{children:t,theme:n}=e;return D.exports.jsx(_9,{theme:n,children:D.exports.jsx(z9,{children:t})})}function Zs(e){return typeof e=="string"}function Iu(e,t={},n){return Zs(e)?t:R({},t,{ownerState:R({},t.ownerState,n)})}function W9(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function o0(e,t){return typeof e=="function"?e(t):e}function YE(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function H9(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const x=_e(o==null?void 0:o.className,r==null?void 0:r.className,a,n==null?void 0:n.className),E=R({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),b=R({},n,o,r);return x.length>0&&(b.className=x),Object.keys(E).length>0&&(b.style=E),{props:b,internalRef:void 0}}const l=W9(R({},o,r)),u=YE(r),c=YE(o),f=t(l),p=_e(f==null?void 0:f.className,n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),m=R({},f==null?void 0:f.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),g=R({},f,n,c,u);return p.length>0&&(g.className=p),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:f.ref}}const V9=["elementType","externalSlotProps","ownerState"];function yc(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=ye(e,V9),l=o0(r,o),{props:u,internalRef:c}=H9(R({},a,{externalSlotProps:l})),f=yt(c,yt(l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref));return Iu(n,R({},u,{ref:f}),o)}function XE(e){return typeof e.normalize!="undefined"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function G9(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:c,getOptionLabel:f})=>{let p=l?c.trim():c;n&&(p=p.toLowerCase()),t&&(p=XE(p));const m=u.filter(g=>{let x=(a||f)(g);return n&&(x=x.toLowerCase()),t&&(x=XE(x)),o==="start"?x.indexOf(p)===0:x.indexOf(p)>-1});return typeof r=="number"?m.slice(0,r):m}}function Dm(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const K9=G9(),QE=5;function q9(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:l=!1,componentName:u="useAutocomplete",defaultValue:c=e.multiple?[]:null,disableClearable:f=!1,disableCloseOnSelect:p=!1,disabled:m,disabledItemsFocusable:g=!1,disableListWrap:x=!1,filterOptions:E=K9,filterSelectedOptions:b=!1,freeSolo:y=!1,getOptionDisabled:v,getOptionLabel:_=de=>{var se;return(se=de.label)!=null?se:de},groupBy:w,handleHomeEndKeys:P=!e.freeSolo,id:A,includeInputInList:k=!1,inputValue:I,isOptionEqualToValue:L=(de,se)=>de===se,multiple:N=!1,onChange:B,onClose:V,onHighlightChange:ee,onInputChange:X,onOpen:ie,open:J,openOnFocus:G=!1,options:j,readOnly:te=!1,selectOnFocus:ne=!e.freeSolo,value:me}=e,H=La(A);let q=_;q=de=>{const se=_(de);return typeof se!="string"?String(se):se};const Z=C.exports.useRef(!1),ue=C.exports.useRef(!0),K=C.exports.useRef(null),U=C.exports.useRef(null),[Y,re]=C.exports.useState(null),[fe,we]=C.exports.useState(-1),ke=n?0:-1,Ie=C.exports.useRef(ke),[Ce,We]=Fi({controlled:me,default:c,name:u}),[Me,dt]=Fi({controlled:I,default:"",name:u,state:"inputValue"}),[ze,bt]=C.exports.useState(!1),It=C.exports.useCallback((de,se)=>{if(!(N?Ce.length<se.length:se!==null)&&!a)return;let Qe;if(N)Qe="";else if(se==null)Qe="";else{const Lt=q(se);Qe=typeof Lt=="string"?Lt:""}Me!==Qe&&(dt(Qe),X&&X(de,Qe,"reset"))},[q,Me,N,X,dt,a,Ce]),Ge=C.exports.useRef();C.exports.useEffect(()=>{const de=Ce!==Ge.current;Ge.current=Ce,!(ze&&!de)&&(y&&!de||It(null,Ce))},[Ce,It,ze,Ge,y]);const[qe,mt]=Fi({controlled:J,default:!1,name:u,state:"open"}),[zt,nt]=C.exports.useState(!0),rt=!N&&Ce!=null&&Me===q(Ce),ft=qe&&!te,Pe=ft?E(j.filter(de=>!(b&&(N?Ce:[Ce]).some(se=>se!==null&&L(de,se)))),{inputValue:rt&&zt?"":Me,getOptionLabel:q}):[],be=qe&&Pe.length>0&&!te,Xe=$r(de=>{de===-1?K.current.focus():Y.querySelector(`[data-tag-index="${de}"]`).focus()});C.exports.useEffect(()=>{N&&fe>Ce.length-1&&(we(-1),Xe(-1))},[Ce,N,fe,Xe]);function Se(de,se){if(!U.current||de===-1)return-1;let Fe=de;for(;;){if(se==="next"&&Fe===Pe.length||se==="previous"&&Fe===-1)return-1;const Qe=U.current.querySelector(`[data-option-index="${Fe}"]`),Lt=g?!1:!Qe||Qe.disabled||Qe.getAttribute("aria-disabled")==="true";if(Qe&&!Qe.hasAttribute("tabindex")||Lt)Fe+=se==="next"?1:-1;else return Fe}}const et=$r(({event:de,index:se,reason:Fe="auto"})=>{if(Ie.current=se,se===-1?K.current.removeAttribute("aria-activedescendant"):K.current.setAttribute("aria-activedescendant",`${H}-option-${se}`),ee&&ee(de,se===-1?null:Pe[se],Fe),!U.current)return;const Qe=U.current.querySelector('[role="option"].Mui-focused');Qe&&(Qe.classList.remove("Mui-focused"),Qe.classList.remove("Mui-focusVisible"));const Lt=U.current.parentElement.querySelector('[role="listbox"]');if(!Lt)return;if(se===-1){Lt.scrollTop=0;return}const gn=U.current.querySelector(`[data-option-index="${se}"]`);if(!!gn&&(gn.classList.add("Mui-focused"),Fe==="keyboard"&&gn.classList.add("Mui-focusVisible"),Lt.scrollHeight>Lt.clientHeight&&Fe!=="mouse")){const dn=gn,Nr=Lt.clientHeight+Lt.scrollTop,ed=dn.offsetTop+dn.offsetHeight;ed>Nr?Lt.scrollTop=ed-Lt.clientHeight:dn.offsetTop-dn.offsetHeight*(w?1.3:0)<Lt.scrollTop&&(Lt.scrollTop=dn.offsetTop-dn.offsetHeight*(w?1.3:0))}}),At=$r(({event:de,diff:se,direction:Fe="next",reason:Qe="auto"})=>{if(!ft)return;const gn=Se((()=>{const dn=Pe.length-1;if(se==="reset")return ke;if(se==="start")return 0;if(se==="end")return dn;const Nr=Ie.current+se;return Nr<0?Nr===-1&&k?-1:x&&Ie.current!==-1||Math.abs(se)>1?0:dn:Nr>dn?Nr===dn+1&&k?-1:x||Math.abs(se)>1?dn:0:Nr})(),Fe);if(et({index:gn,reason:Qe,event:de}),t&&se!=="reset")if(gn===-1)K.current.value=Me;else{const dn=q(Pe[gn]);K.current.value=dn,dn.toLowerCase().indexOf(Me.toLowerCase())===0&&Me.length>0&&K.current.setSelectionRange(Me.length,dn.length)}}),Xt=C.exports.useCallback(()=>{if(!ft)return;const de=N?Ce[0]:Ce;if(Pe.length===0||de==null){At({diff:"reset"});return}if(!!U.current){if(de!=null){const se=Pe[Ie.current];if(N&&se&&Dm(Ce,Qe=>L(se,Qe))!==-1)return;const Fe=Dm(Pe,Qe=>L(Qe,de));Fe===-1?At({diff:"reset"}):et({index:Fe});return}if(Ie.current>=Pe.length-1){et({index:Pe.length-1});return}et({index:Ie.current})}},[Pe.length,N?!1:Ce,b,At,et,ft,Me,N]),Cn=$r(de=>{Qs(U,de),de&&Xt()});C.exports.useEffect(()=>{Xt()},[Xt]);const Tn=de=>{qe||(mt(!0),nt(!0),ie&&ie(de))},Nn=(de,se)=>{!qe||(mt(!1),V&&V(de,se))},tn=(de,se,Fe,Qe)=>{if(N){if(Ce.length===se.length&&Ce.every((Lt,gn)=>Lt===se[gn]))return}else if(Ce===se)return;B&&B(de,se,Fe,Qe),We(se)},xe=C.exports.useRef(!1),Ae=(de,se,Fe="selectOption",Qe="options")=>{let Lt=Fe,gn=se;if(N){gn=Array.isArray(Ce)?Ce.slice():[];const dn=Dm(gn,Nr=>L(se,Nr));dn===-1?gn.push(se):Qe!=="freeSolo"&&(gn.splice(dn,1),Lt="removeOption")}It(de,gn),tn(de,gn,Lt,{option:se}),!p&&(!de||!de.ctrlKey&&!de.metaKey)&&Nn(de,Lt),(o===!0||o==="touch"&&xe.current||o==="mouse"&&!xe.current)&&K.current.blur()};function Le(de,se){if(de===-1)return-1;let Fe=de;for(;;){if(se==="next"&&Fe===Ce.length||se==="previous"&&Fe===-1)return-1;const Qe=Y.querySelector(`[data-tag-index="${Fe}"]`);if(!Qe||!Qe.hasAttribute("tabindex")||Qe.disabled||Qe.getAttribute("aria-disabled")==="true")Fe+=se==="next"?1:-1;else return Fe}}const at=(de,se)=>{if(!N)return;Me===""&&Nn(de,"toggleInput");let Fe=fe;fe===-1?Me===""&&se==="previous"&&(Fe=Ce.length-1):(Fe+=se==="next"?1:-1,Fe<0&&(Fe=0),Fe===Ce.length&&(Fe=-1)),Fe=Le(Fe,se),we(Fe),Xe(Fe)},pt=de=>{Z.current=!0,dt(""),X&&X(de,"","clear"),tn(de,N?[]:null,"clear")},Mr=de=>se=>{if(de.onKeyDown&&de.onKeyDown(se),!se.defaultMuiPrevented&&(fe!==-1&&["ArrowLeft","ArrowRight"].indexOf(se.key)===-1&&(we(-1),Xe(-1)),se.which!==229))switch(se.key){case"Home":ft&&P&&(se.preventDefault(),At({diff:"start",direction:"next",reason:"keyboard",event:se}));break;case"End":ft&&P&&(se.preventDefault(),At({diff:"end",direction:"previous",reason:"keyboard",event:se}));break;case"PageUp":se.preventDefault(),At({diff:-QE,direction:"previous",reason:"keyboard",event:se}),Tn(se);break;case"PageDown":se.preventDefault(),At({diff:QE,direction:"next",reason:"keyboard",event:se}),Tn(se);break;case"ArrowDown":se.preventDefault(),At({diff:1,direction:"next",reason:"keyboard",event:se}),Tn(se);break;case"ArrowUp":se.preventDefault(),At({diff:-1,direction:"previous",reason:"keyboard",event:se}),Tn(se);break;case"ArrowLeft":at(se,"previous");break;case"ArrowRight":at(se,"next");break;case"Enter":if(Ie.current!==-1&&ft){const Fe=Pe[Ie.current],Qe=v?v(Fe):!1;if(se.preventDefault(),Qe)return;Ae(se,Fe,"selectOption"),t&&K.current.setSelectionRange(K.current.value.length,K.current.value.length)}else y&&Me!==""&&rt===!1&&(N&&se.preventDefault(),Ae(se,Me,"createOption","freeSolo"));break;case"Escape":ft?(se.preventDefault(),se.stopPropagation(),Nn(se,"escape")):l&&(Me!==""||N&&Ce.length>0)&&(se.preventDefault(),se.stopPropagation(),pt(se));break;case"Backspace":if(N&&!te&&Me===""&&Ce.length>0){const Fe=fe===-1?Ce.length-1:fe,Qe=Ce.slice();Qe.splice(Fe,1),tn(se,Qe,"removeOption",{option:Ce[Fe]})}break}},Ho=de=>{bt(!0),G&&!Z.current&&Tn(de)},Kn=de=>{if(U.current!==null&&U.current.parentElement.contains(document.activeElement)){K.current.focus();return}bt(!1),ue.current=!0,Z.current=!1,r&&Ie.current!==-1&&ft?Ae(de,Pe[Ie.current],"blur"):r&&y&&Me!==""?Ae(de,Me,"blur","freeSolo"):a&&It(de,Ce),Nn(de,"blur")},yr=de=>{const se=de.target.value;Me!==se&&(dt(se),nt(!1),X&&X(de,se,"input")),se===""?!f&&!N&&tn(de,null,"clear"):Tn(de)},xr=de=>{et({event:de,index:Number(de.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},lt=()=>{xe.current=!0},an=de=>{const se=Number(de.currentTarget.getAttribute("data-option-index"));Ae(de,Pe[se],"selectOption"),xe.current=!1},Dn=de=>se=>{const Fe=Ce.slice();Fe.splice(de,1),tn(se,Fe,"removeOption",{option:Ce[de]})},tr=de=>{qe?Nn(de,"toggleInput"):Tn(de)},Ll=de=>{de.target.getAttribute("id")!==H&&de.preventDefault()},ra=()=>{K.current.focus(),ne&&ue.current&&K.current.selectionEnd-K.current.selectionStart===0&&K.current.select(),ue.current=!1},Ml=de=>{(Me===""||!qe)&&tr(de)};let Je=y&&Me.length>0;Je=Je||(N?Ce.length>0:Ce!==null);let cn=Pe;return w&&(cn=Pe.reduce((de,se,Fe)=>{const Qe=w(se);return de.length>0&&de[de.length-1].group===Qe?de[de.length-1].options.push(se):de.push({key:Fe,index:Fe,group:Qe,options:[se]}),de},[])),m&&ze&&Kn(),{getRootProps:(de={})=>R({"aria-owns":be?`${H}-listbox`:null},de,{onKeyDown:Mr(de),onMouseDown:Ll,onClick:ra}),getInputLabelProps:()=>({id:`${H}-label`,htmlFor:H}),getInputProps:()=>({id:H,value:Me,onBlur:Kn,onFocus:Ho,onChange:yr,onMouseDown:Ml,"aria-activedescendant":ft?"":null,"aria-autocomplete":t?"both":"list","aria-controls":be?`${H}-listbox`:void 0,"aria-expanded":be,autoComplete:"off",ref:K,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:pt}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:tr}),getTagProps:({index:de})=>R({key:de,"data-tag-index":de,tabIndex:-1},!te&&{onDelete:Dn(de)}),getListboxProps:()=>({role:"listbox",id:`${H}-listbox`,"aria-labelledby":`${H}-label`,ref:Cn,onMouseDown:de=>{de.preventDefault()}}),getOptionProps:({index:de,option:se})=>{const Fe=(N?Ce:[Ce]).some(Lt=>Lt!=null&&L(se,Lt)),Qe=v?v(se):!1;return{key:q(se),tabIndex:-1,role:"option",id:`${H}-option-${de}`,onMouseOver:xr,onClick:an,onTouchStart:lt,"data-option-index":de,"aria-disabled":Qe,"aria-selected":Fe}},id:H,inputValue:Me,value:Ce,dirty:Je,popupOpen:ft,focused:ze||fe!==-1,anchorEl:Y,setAnchorEl:re,focusedTag:fe,groupedOptions:cn}}function Y9(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=NP({badgeContent:t,max:r});let l=n;n===!1&&t===0&&!o&&(l=!0);const{badgeContent:u,max:c=r}=l?a:e,f=u&&Number(u)>c?`${c}+`:u;return{badgeContent:u,invisible:l,max:c,displayValue:f}}function X9(e){return De("BaseBadge",e)}Ne("BaseBadge",["root","badge","invisible"]);const Q9=["badgeContent","component","children","components","componentsProps","invisible","max","showZero"],Z9=e=>{const{invisible:t}=e;return Be({root:["root"],badge:["badge",t&&"invisible"]},X9,void 0)},J9=C.exports.forwardRef(function(t,n){const{component:r,children:o,components:a={},componentsProps:l={},max:u=99,showZero:c=!1}=t,f=ye(t,Q9),{badgeContent:p,max:m,displayValue:g,invisible:x}=Y9(R({},t,{max:u})),E=R({},t,{badgeContent:p,invisible:x,max:m,showZero:c}),b=Z9(E),y=r||a.Root||"span",v=yc({elementType:y,externalSlotProps:l.root,externalForwardedProps:f,additionalProps:{ref:n},ownerState:E,className:b.root}),_=a.Badge||"span",w=yc({elementType:_,externalSlotProps:l.badge,ownerState:E,className:b.badge});return D.exports.jsxs(y,R({},v,{children:[o,D.exports.jsx(_,R({},w,{children:g}))]}))});var ez=J9;function ZE(e){return e.substring(2).toLowerCase()}function tz(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function nz(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:a="onTouchEnd"}=e,l=C.exports.useRef(!1),u=C.exports.useRef(null),c=C.exports.useRef(!1),f=C.exports.useRef(!1);C.exports.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const p=yt(t.ref,u),m=$r(E=>{const b=f.current;f.current=!1;const y=$n(u.current);if(!c.current||!u.current||"clientX"in E&&tz(E,y))return;if(l.current){l.current=!1;return}let v;E.composedPath?v=E.composedPath().indexOf(u.current)>-1:v=!y.documentElement.contains(E.target)||u.current.contains(E.target),!v&&(n||!b)&&o(E)}),g=E=>b=>{f.current=!0;const y=t.props[E];y&&y(b)},x={ref:p};return a!==!1&&(x[a]=g(a)),C.exports.useEffect(()=>{if(a!==!1){const E=ZE(a),b=$n(u.current),y=()=>{l.current=!0};return b.addEventListener(E,m),b.addEventListener("touchmove",y),()=>{b.removeEventListener(E,m),b.removeEventListener("touchmove",y)}}},[m,a]),r!==!1&&(x[r]=g(r)),C.exports.useEffect(()=>{if(r!==!1){const E=ZE(r),b=$n(u.current);return b.addEventListener(E,m),()=>{b.removeEventListener(E,m)}}},[m,r]),D.exports.jsx(C.exports.Fragment,{children:C.exports.cloneElement(t,x)})}var fr="top",to="bottom",no="right",pr="left",Vy="auto",jc=[fr,to,no,pr],Js="start",xc="end",rz="clippingParents",sR="viewport",du="popper",oz="reference",JE=jc.reduce(function(e,t){return e.concat([t+"-"+Js,t+"-"+xc])},[]),lR=[].concat(jc,[Vy]).reduce(function(e,t){return e.concat([t,t+"-"+Js,t+"-"+xc])},[]),iz="beforeRead",az="read",sz="afterRead",lz="beforeMain",uz="main",cz="afterMain",dz="beforeWrite",fz="write",pz="afterWrite",hz=[iz,az,sz,lz,uz,cz,dz,fz,pz];function jo(e){return e?(e.nodeName||"").toLowerCase():null}function oo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Na(e){var t=oo(e).Element;return e instanceof t||e instanceof Element}function Zr(e){var t=oo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Gy(e){if(typeof ShadowRoot=="undefined")return!1;var t=oo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function gz(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!Zr(a)||!jo(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(l){var u=o[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function mz(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(c,f){return c[f]="",c},{});!Zr(o)||!jo(o)||(Object.assign(o.style,u),Object.keys(a).forEach(function(c){o.removeAttribute(c)}))})}}var vz={name:"applyStyles",enabled:!0,phase:"write",fn:gz,effect:mz,requires:["computeStyles"]};function Uo(e){return e.split("-")[0]}var Ra=Math.max,ap=Math.min,el=Math.round;function i0(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function uR(){return!/^((?!chrome|android).)*safari/i.test(i0())}function tl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Zr(e)&&(o=e.offsetWidth>0&&el(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&el(r.height)/e.offsetHeight||1);var l=Na(e)?oo(e):window,u=l.visualViewport,c=!uR()&&n,f=(r.left+(c&&u?u.offsetLeft:0))/o,p=(r.top+(c&&u?u.offsetTop:0))/a,m=r.width/o,g=r.height/a;return{width:m,height:g,top:p,right:f+m,bottom:p+g,left:f,x:f,y:p}}function Ky(e){var t=tl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function cR(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Gy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ui(e){return oo(e).getComputedStyle(e)}function yz(e){return["table","td","th"].indexOf(jo(e))>=0}function ta(e){return((Na(e)?e.ownerDocument:e.document)||window.document).documentElement}function oh(e){return jo(e)==="html"?e:e.assignedSlot||e.parentNode||(Gy(e)?e.host:null)||ta(e)}function ew(e){return!Zr(e)||ui(e).position==="fixed"?null:e.offsetParent}function xz(e){var t=/firefox/i.test(i0()),n=/Trident/i.test(i0());if(n&&Zr(e)){var r=ui(e);if(r.position==="fixed")return null}var o=oh(e);for(Gy(o)&&(o=o.host);Zr(o)&&["html","body"].indexOf(jo(o))<0;){var a=ui(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Wc(e){for(var t=oo(e),n=ew(e);n&&yz(n)&&ui(n).position==="static";)n=ew(n);return n&&(jo(n)==="html"||jo(n)==="body"&&ui(n).position==="static")?t:n||xz(e)||t}function qy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ku(e,t,n){return Ra(e,ap(t,n))}function bz(e,t,n){var r=Ku(e,t,n);return r>n?n:r}function dR(){return{top:0,right:0,bottom:0,left:0}}function fR(e){return Object.assign({},dR(),e)}function pR(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var _z=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,fR(typeof t!="number"?t:pR(t,jc))};function Cz(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=Uo(n.placement),c=qy(u),f=[pr,no].indexOf(u)>=0,p=f?"height":"width";if(!(!a||!l)){var m=_z(o.padding,n),g=Ky(a),x=c==="y"?fr:pr,E=c==="y"?to:no,b=n.rects.reference[p]+n.rects.reference[c]-l[c]-n.rects.popper[p],y=l[c]-n.rects.reference[c],v=Wc(a),_=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,w=b/2-y/2,P=m[x],A=_-g[p]-m[E],k=_/2-g[p]/2+w,I=Ku(P,k,A),L=c;n.modifiersData[r]=(t={},t[L]=I,t.centerOffset=I-k,t)}}function Ez(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!cR(t.elements.popper,o)||(t.elements.arrow=o))}var wz={name:"arrow",enabled:!0,phase:"main",fn:Cz,effect:Ez,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nl(e){return e.split("-")[1]}var Sz={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $z(e){var t=e.x,n=e.y,r=window,o=r.devicePixelRatio||1;return{x:el(t*o)/o||0,y:el(n*o)/o||0}}function tw(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,m=e.isFixed,g=l.x,x=g===void 0?0:g,E=l.y,b=E===void 0?0:E,y=typeof p=="function"?p({x,y:b}):{x,y:b};x=y.x,b=y.y;var v=l.hasOwnProperty("x"),_=l.hasOwnProperty("y"),w=pr,P=fr,A=window;if(f){var k=Wc(n),I="clientHeight",L="clientWidth";if(k===oo(n)&&(k=ta(n),ui(k).position!=="static"&&u==="absolute"&&(I="scrollHeight",L="scrollWidth")),k=k,o===fr||(o===pr||o===no)&&a===xc){P=to;var N=m&&k===A&&A.visualViewport?A.visualViewport.height:k[I];b-=N-r.height,b*=c?1:-1}if(o===pr||(o===fr||o===to)&&a===xc){w=no;var B=m&&k===A&&A.visualViewport?A.visualViewport.width:k[L];x-=B-r.width,x*=c?1:-1}}var V=Object.assign({position:u},f&&Sz),ee=p===!0?$z({x,y:b}):{x,y:b};if(x=ee.x,b=ee.y,c){var X;return Object.assign({},V,(X={},X[P]=_?"0":"",X[w]=v?"0":"",X.transform=(A.devicePixelRatio||1)<=1?"translate("+x+"px, "+b+"px)":"translate3d("+x+"px, "+b+"px, 0)",X))}return Object.assign({},V,(t={},t[P]=_?b+"px":"",t[w]=v?x+"px":"",t.transform="",t))}function Pz(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,c=u===void 0?!0:u,f={placement:Uo(t.placement),variation:nl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,tw(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,tw(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Rz={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Pz,data:{}},nf={passive:!0};function Tz(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,l=r.resize,u=l===void 0?!0:l,c=oo(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&f.forEach(function(p){p.addEventListener("scroll",n.update,nf)}),u&&c.addEventListener("resize",n.update,nf),function(){a&&f.forEach(function(p){p.removeEventListener("scroll",n.update,nf)}),u&&c.removeEventListener("resize",n.update,nf)}}var Iz={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Tz,data:{}},Oz={left:"right",right:"left",bottom:"top",top:"bottom"};function If(e){return e.replace(/left|right|bottom|top/g,function(t){return Oz[t]})}var kz={start:"end",end:"start"};function nw(e){return e.replace(/start|end/g,function(t){return kz[t]})}function Yy(e){var t=oo(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Xy(e){return tl(ta(e)).left+Yy(e).scrollLeft}function Az(e,t){var n=oo(e),r=ta(e),o=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,c=0;if(o){a=o.width,l=o.height;var f=uR();(f||!f&&t==="fixed")&&(u=o.offsetLeft,c=o.offsetTop)}return{width:a,height:l,x:u+Xy(e),y:c}}function Lz(e){var t,n=ta(e),r=Yy(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Ra(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=Ra(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Xy(e),c=-r.scrollTop;return ui(o||n).direction==="rtl"&&(u+=Ra(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:u,y:c}}function Qy(e){var t=ui(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function hR(e){return["html","body","#document"].indexOf(jo(e))>=0?e.ownerDocument.body:Zr(e)&&Qy(e)?e:hR(oh(e))}function qu(e,t){var n;t===void 0&&(t=[]);var r=hR(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=oo(r),l=o?[a].concat(a.visualViewport||[],Qy(r)?r:[]):r,u=t.concat(l);return o?u:u.concat(qu(oh(l)))}function a0(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Mz(e,t){var n=tl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function rw(e,t,n){return t===sR?a0(Az(e,n)):Na(t)?Mz(t,n):a0(Lz(ta(e)))}function Nz(e){var t=qu(oh(e)),n=["absolute","fixed"].indexOf(ui(e).position)>=0,r=n&&Zr(e)?Wc(e):e;return Na(r)?t.filter(function(o){return Na(o)&&cR(o,r)&&jo(o)!=="body"}):[]}function Dz(e,t,n,r){var o=t==="clippingParents"?Nz(e):[].concat(t),a=[].concat(o,[n]),l=a[0],u=a.reduce(function(c,f){var p=rw(e,f,r);return c.top=Ra(p.top,c.top),c.right=ap(p.right,c.right),c.bottom=ap(p.bottom,c.bottom),c.left=Ra(p.left,c.left),c},rw(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function gR(e){var t=e.reference,n=e.element,r=e.placement,o=r?Uo(r):null,a=r?nl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,c;switch(o){case fr:c={x:l,y:t.y-n.height};break;case to:c={x:l,y:t.y+t.height};break;case no:c={x:t.x+t.width,y:u};break;case pr:c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}var f=o?qy(o):null;if(f!=null){var p=f==="y"?"height":"width";switch(a){case Js:c[f]=c[f]-(t[p]/2-n[p]/2);break;case xc:c[f]=c[f]+(t[p]/2-n[p]/2);break}}return c}function bc(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,c=u===void 0?rz:u,f=n.rootBoundary,p=f===void 0?sR:f,m=n.elementContext,g=m===void 0?du:m,x=n.altBoundary,E=x===void 0?!1:x,b=n.padding,y=b===void 0?0:b,v=fR(typeof y!="number"?y:pR(y,jc)),_=g===du?oz:du,w=e.rects.popper,P=e.elements[E?_:g],A=Dz(Na(P)?P:P.contextElement||ta(e.elements.popper),c,p,l),k=tl(e.elements.reference),I=gR({reference:k,element:w,strategy:"absolute",placement:o}),L=a0(Object.assign({},w,I)),N=g===du?L:k,B={top:A.top-N.top+v.top,bottom:N.bottom-A.bottom+v.bottom,left:A.left-N.left+v.left,right:N.right-A.right+v.right},V=e.modifiersData.offset;if(g===du&&V){var ee=V[o];Object.keys(B).forEach(function(X){var ie=[no,to].indexOf(X)>=0?1:-1,J=[fr,to].indexOf(X)>=0?"y":"x";B[X]+=ee[J]*ie})}return B}function Bz(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,f=c===void 0?lR:c,p=nl(r),m=p?u?JE:JE.filter(function(E){return nl(E)===p}):jc,g=m.filter(function(E){return f.indexOf(E)>=0});g.length===0&&(g=m);var x=g.reduce(function(E,b){return E[b]=bc(e,{placement:b,boundary:o,rootBoundary:a,padding:l})[Uo(b)],E},{});return Object.keys(x).sort(function(E,b){return x[E]-x[b]})}function Fz(e){if(Uo(e)===Vy)return[];var t=If(e);return[nw(e),t,nw(t)]}function Uz(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!0:l,c=n.fallbackPlacements,f=n.padding,p=n.boundary,m=n.rootBoundary,g=n.altBoundary,x=n.flipVariations,E=x===void 0?!0:x,b=n.allowedAutoPlacements,y=t.options.placement,v=Uo(y),_=v===y,w=c||(_||!E?[If(y)]:Fz(y)),P=[y].concat(w).reduce(function(ue,K){return ue.concat(Uo(K)===Vy?Bz(t,{placement:K,boundary:p,rootBoundary:m,padding:f,flipVariations:E,allowedAutoPlacements:b}):K)},[]),A=t.rects.reference,k=t.rects.popper,I=new Map,L=!0,N=P[0],B=0;B<P.length;B++){var V=P[B],ee=Uo(V),X=nl(V)===Js,ie=[fr,to].indexOf(ee)>=0,J=ie?"width":"height",G=bc(t,{placement:V,boundary:p,rootBoundary:m,altBoundary:g,padding:f}),j=ie?X?no:pr:X?to:fr;A[J]>k[J]&&(j=If(j));var te=If(j),ne=[];if(a&&ne.push(G[ee]<=0),u&&ne.push(G[j]<=0,G[te]<=0),ne.every(function(ue){return ue})){N=V,L=!1;break}I.set(V,ne)}if(L)for(var me=E?3:1,H=function(K){var U=P.find(function(Y){var re=I.get(Y);if(re)return re.slice(0,K).every(function(fe){return fe})});if(U)return N=U,"break"},q=me;q>0;q--){var Z=H(q);if(Z==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}var zz={name:"flip",enabled:!0,phase:"main",fn:Uz,requiresIfExists:["offset"],data:{_skip:!1}};function ow(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function iw(e){return[fr,no,to,pr].some(function(t){return e[t]>=0})}function jz(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=bc(t,{elementContext:"reference"}),u=bc(t,{altBoundary:!0}),c=ow(l,r),f=ow(u,o,a),p=iw(c),m=iw(f);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var Wz={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:jz};function Hz(e,t,n){var r=Uo(e),o=[pr,fr].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*o,[pr,no].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function Vz(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,l=lR.reduce(function(p,m){return p[m]=Hz(m,t.rects,a),p},{}),u=l[t.placement],c=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=l}var Gz={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Vz};function Kz(e){var t=e.state,n=e.name;t.modifiersData[n]=gR({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var qz={name:"popperOffsets",enabled:!0,phase:"read",fn:Kz,data:{}};function Yz(e){return e==="x"?"y":"x"}function Xz(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!1:l,c=n.boundary,f=n.rootBoundary,p=n.altBoundary,m=n.padding,g=n.tether,x=g===void 0?!0:g,E=n.tetherOffset,b=E===void 0?0:E,y=bc(t,{boundary:c,rootBoundary:f,padding:m,altBoundary:p}),v=Uo(t.placement),_=nl(t.placement),w=!_,P=qy(v),A=Yz(P),k=t.modifiersData.popperOffsets,I=t.rects.reference,L=t.rects.popper,N=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,B=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ee={x:0,y:0};if(!!k){if(a){var X,ie=P==="y"?fr:pr,J=P==="y"?to:no,G=P==="y"?"height":"width",j=k[P],te=j+y[ie],ne=j-y[J],me=x?-L[G]/2:0,H=_===Js?I[G]:L[G],q=_===Js?-L[G]:-I[G],Z=t.elements.arrow,ue=x&&Z?Ky(Z):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:dR(),U=K[ie],Y=K[J],re=Ku(0,I[G],ue[G]),fe=w?I[G]/2-me-re-U-B.mainAxis:H-re-U-B.mainAxis,we=w?-I[G]/2+me+re+Y+B.mainAxis:q+re+Y+B.mainAxis,ke=t.elements.arrow&&Wc(t.elements.arrow),Ie=ke?P==="y"?ke.clientTop||0:ke.clientLeft||0:0,Ce=(X=V==null?void 0:V[P])!=null?X:0,We=j+fe-Ce-Ie,Me=j+we-Ce,dt=Ku(x?ap(te,We):te,j,x?Ra(ne,Me):ne);k[P]=dt,ee[P]=dt-j}if(u){var ze,bt=P==="x"?fr:pr,It=P==="x"?to:no,Ge=k[A],qe=A==="y"?"height":"width",mt=Ge+y[bt],zt=Ge-y[It],nt=[fr,pr].indexOf(v)!==-1,rt=(ze=V==null?void 0:V[A])!=null?ze:0,ft=nt?mt:Ge-I[qe]-L[qe]-rt+B.altAxis,Pe=nt?Ge+I[qe]+L[qe]-rt-B.altAxis:zt,be=x&&nt?bz(ft,Ge,Pe):Ku(x?ft:mt,Ge,x?Pe:zt);k[A]=be,ee[A]=be-Ge}t.modifiersData[r]=ee}}var Qz={name:"preventOverflow",enabled:!0,phase:"main",fn:Xz,requiresIfExists:["offset"]};function Zz(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Jz(e){return e===oo(e)||!Zr(e)?Yy(e):Zz(e)}function ej(e){var t=e.getBoundingClientRect(),n=el(t.width)/e.offsetWidth||1,r=el(t.height)/e.offsetHeight||1;return n!==1||r!==1}function tj(e,t,n){n===void 0&&(n=!1);var r=Zr(t),o=Zr(t)&&ej(t),a=ta(t),l=tl(e,o,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((jo(t)!=="body"||Qy(a))&&(u=Jz(t)),Zr(t)?(c=tl(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Xy(a))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function nj(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var c=t.get(u);c&&o(c)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function rj(e){var t=nj(e);return hz.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function oj(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function ij(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var aw={placement:"bottom",modifiers:[],strategy:"absolute"};function sw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function aj(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,a=o===void 0?aw:o;return function(u,c,f){f===void 0&&(f=a);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},aw,a),modifiersData:{},elements:{reference:u,popper:c},attributes:{},styles:{}},m=[],g=!1,x={state:p,setOptions:function(v){var _=typeof v=="function"?v(p.options):v;b(),p.options=Object.assign({},a,p.options,_),p.scrollParents={reference:Na(u)?qu(u):u.contextElement?qu(u.contextElement):[],popper:qu(c)};var w=rj(ij([].concat(r,p.options.modifiers)));return p.orderedModifiers=w.filter(function(P){return P.enabled}),E(),x.update()},forceUpdate:function(){if(!g){var v=p.elements,_=v.reference,w=v.popper;if(!!sw(_,w)){p.rects={reference:tj(_,Wc(w),p.options.strategy==="fixed"),popper:Ky(w)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(B){return p.modifiersData[B.name]=Object.assign({},B.data)});for(var P=0;P<p.orderedModifiers.length;P++){if(p.reset===!0){p.reset=!1,P=-1;continue}var A=p.orderedModifiers[P],k=A.fn,I=A.options,L=I===void 0?{}:I,N=A.name;typeof k=="function"&&(p=k({state:p,options:L,name:N,instance:x})||p)}}}},update:oj(function(){return new Promise(function(y){x.forceUpdate(),y(p)})}),destroy:function(){b(),g=!0}};if(!sw(u,c))return x;x.setOptions(f).then(function(y){!g&&f.onFirstUpdate&&f.onFirstUpdate(y)});function E(){p.orderedModifiers.forEach(function(y){var v=y.name,_=y.options,w=_===void 0?{}:_,P=y.effect;if(typeof P=="function"){var A=P({state:p,name:v,instance:x,options:w}),k=function(){};m.push(A||k)}})}function b(){m.forEach(function(y){return y()}),m=[]}return x}}var sj=[Iz,qz,Rz,vz,Gz,zz,Qz,wz,Wz],lj=aj({defaultModifiers:sj});function uj(e){return typeof e=="function"?e():e}const cj=C.exports.forwardRef(function(t,n){const{children:r,container:o,disablePortal:a=!1}=t,[l,u]=C.exports.useState(null),c=yt(C.exports.isValidElement(r)?r.ref:null,n);return xo(()=>{a||u(uj(o)||document.body)},[o,a]),xo(()=>{if(l&&!a)return Qs(n,l),()=>{Qs(n,null)}},[n,l,a]),a?C.exports.isValidElement(r)?C.exports.cloneElement(r,{ref:c}):r:l&&Oc.exports.createPortal(r,l)});var mR=cj;function dj(e){return De("MuiPopperUnstyled",e)}Ne("MuiPopperUnstyled",["root"]);const fj=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],pj=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function hj(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function s0(e){return typeof e=="function"?e():e}const gj=()=>Be({root:["root"]},dj,{}),mj={},vj=C.exports.forwardRef(function(t,n){var r;const{anchorEl:o,children:a,component:l,components:u={},componentsProps:c={},direction:f,disablePortal:p,modifiers:m,open:g,ownerState:x,placement:E,popperOptions:b,popperRef:y,TransitionProps:v}=t,_=ye(t,fj),w=C.exports.useRef(null),P=yt(w,n),A=C.exports.useRef(null),k=yt(A,y),I=C.exports.useRef(k);xo(()=>{I.current=k},[k]),C.exports.useImperativeHandle(y,()=>A.current,[]);const L=hj(E,f),[N,B]=C.exports.useState(L);C.exports.useEffect(()=>{A.current&&A.current.forceUpdate()}),xo(()=>{if(!o||!g)return;const J=te=>{B(te.placement)};s0(o);let G=[{name:"preventOverflow",options:{altBoundary:p}},{name:"flip",options:{altBoundary:p}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:te})=>{J(te)}}];m!=null&&(G=G.concat(m)),b&&b.modifiers!=null&&(G=G.concat(b.modifiers));const j=lj(s0(o),w.current,R({placement:L},b,{modifiers:G}));return I.current(j),()=>{j.destroy(),I.current(null)}},[o,p,m,g,b,L]);const V={placement:N};v!==null&&(V.TransitionProps=v);const ee=gj(),X=(r=l!=null?l:u.Root)!=null?r:"div",ie=yc({elementType:X,externalSlotProps:c.root,externalForwardedProps:_,additionalProps:{role:"tooltip",ref:P},ownerState:R({},t,x),className:ee.root});return D.exports.jsx(X,R({},ie,{children:typeof a=="function"?a(V):a}))}),yj=C.exports.forwardRef(function(t,n){const{anchorEl:r,children:o,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:c=!1,modifiers:f,open:p,placement:m="bottom",popperOptions:g=mj,popperRef:x,style:E,transition:b=!1}=t,y=ye(t,pj),[v,_]=C.exports.useState(!0),w=()=>{_(!1)},P=()=>{_(!0)};if(!c&&!p&&(!b||v))return null;const A=a||(r?$n(s0(r)).body:void 0);return D.exports.jsx(mR,{disablePortal:u,container:A,children:D.exports.jsx(vj,R({anchorEl:r,direction:l,disablePortal:u,modifiers:f,ref:n,open:b?!v:p,placement:m,popperOptions:g,popperRef:x},y,{style:R({position:"fixed",top:0,left:0,display:!p&&c&&(!b||v)?"none":null},E),TransitionProps:b?{in:p,onEnter:w,onExited:P}:null,children:o}))})});var xj=yj;function bj(e){const t=$n(e);return t.body===e?zo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Yu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function lw(e){return parseInt(zo(e).getComputedStyle(e).paddingRight,10)||0}function _j(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function uw(e,t,n,r=[],o){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=a.indexOf(l)===-1,c=!_j(l);u&&c&&Yu(l,o)})}function Bm(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Cj(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(bj(r)){const l=MP($n(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${lw(r)+l}px`;const u=$n(r).querySelectorAll(".mui-fixed");[].forEach.call(u,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${lw(c)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=$n(r).body;else{const l=r.parentElement,u=zo(r);a=(l==null?void 0:l.nodeName)==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function Ej(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class wj{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Yu(t.modalRef,!1);const o=Ej(n);uw(n,t.mount,t.modalRef,o,!0);const a=Bm(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Bm(this.containers,a=>a.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=Cj(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Bm(this.containers,l=>l.modals.indexOf(t)!==-1),a=this.containers[o];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&Yu(t.modalRef,n),uw(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(o,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&Yu(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Sj=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $j(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Pj(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Rj(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Pj(e))}function Tj(e){const t=[],n=[];return Array.from(e.querySelectorAll(Sj)).forEach((r,o)=>{const a=$j(r);a===-1||!Rj(r)||(a===0?t.push(r):n.push({documentOrder:o,tabIndex:a,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function Ij(){return!0}function Oj(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=Tj,isEnabled:l=Ij,open:u}=e,c=C.exports.useRef(),f=C.exports.useRef(null),p=C.exports.useRef(null),m=C.exports.useRef(null),g=C.exports.useRef(null),x=C.exports.useRef(!1),E=C.exports.useRef(null),b=yt(t.ref,E),y=C.exports.useRef(null);C.exports.useEffect(()=>{!u||!E.current||(x.current=!n)},[n,u]),C.exports.useEffect(()=>{if(!u||!E.current)return;const w=$n(E.current);return E.current.contains(w.activeElement)||(E.current.hasAttribute("tabIndex")||E.current.setAttribute("tabIndex",-1),x.current&&E.current.focus()),()=>{o||(m.current&&m.current.focus&&(c.current=!0,m.current.focus()),m.current=null)}},[u]),C.exports.useEffect(()=>{if(!u||!E.current)return;const w=$n(E.current),P=I=>{const{current:L}=E;if(L!==null){if(!w.hasFocus()||r||!l()||c.current){c.current=!1;return}if(!L.contains(w.activeElement)){if(I&&g.current!==I.target||w.activeElement!==g.current)g.current=null;else if(g.current!==null)return;if(!x.current)return;let V=[];if((w.activeElement===f.current||w.activeElement===p.current)&&(V=a(E.current)),V.length>0){var N,B;const ee=Boolean(((N=y.current)==null?void 0:N.shiftKey)&&((B=y.current)==null?void 0:B.key)==="Tab"),X=V[0],ie=V[V.length-1];ee?ie.focus():X.focus()}else L.focus()}}},A=I=>{y.current=I,!(r||!l()||I.key!=="Tab")&&w.activeElement===E.current&&I.shiftKey&&(c.current=!0,p.current.focus())};w.addEventListener("focusin",P),w.addEventListener("keydown",A,!0);const k=setInterval(()=>{w.activeElement.tagName==="BODY"&&P()},50);return()=>{clearInterval(k),w.removeEventListener("focusin",P),w.removeEventListener("keydown",A,!0)}},[n,r,o,l,u,a]);const v=w=>{m.current===null&&(m.current=w.relatedTarget),x.current=!0,g.current=w.target;const P=t.props.onFocus;P&&P(w)},_=w=>{m.current===null&&(m.current=w.relatedTarget),x.current=!0};return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx("div",{tabIndex:u?0:-1,onFocus:_,ref:f,"data-testid":"sentinelStart"}),C.exports.cloneElement(t,{ref:b,onFocus:v}),D.exports.jsx("div",{tabIndex:u?0:-1,onFocus:_,ref:p,"data-testid":"sentinelEnd"})]})}function kj(e){return De("MuiModal",e)}Ne("MuiModal",["root","hidden"]);const Aj=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"],Lj=e=>{const{open:t,exited:n,classes:r}=e;return Be({root:["root",!t&&n&&"hidden"]},kj,r)};function Mj(e){return typeof e=="function"?e():e}function Nj(e){return e.children?e.children.props.hasOwnProperty("in"):!1}const Dj=new wj,Bj=C.exports.forwardRef(function(t,n){var r;const{children:o,classes:a,closeAfterTransition:l=!1,component:u="div",components:c={},componentsProps:f={},container:p,disableAutoFocus:m=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:x=!1,disablePortal:E=!1,disableRestoreFocus:b=!1,disableScrollLock:y=!1,hideBackdrop:v=!1,keepMounted:_=!1,manager:w=Dj,onBackdropClick:P,onClose:A,onKeyDown:k,open:I,onTransitionEnter:L,onTransitionExited:N}=t,B=ye(t,Aj),[V,ee]=C.exports.useState(!0),X=C.exports.useRef({}),ie=C.exports.useRef(null),J=C.exports.useRef(null),G=yt(J,n),j=Nj(t),te=(r=t["aria-hidden"])!=null?r:!0,ne=()=>$n(ie.current),me=()=>(X.current.modalRef=J.current,X.current.mountNode=ie.current,X.current),H=()=>{w.mount(me(),{disableScrollLock:y}),J.current.scrollTop=0},q=$r(()=>{const ze=Mj(p)||ne().body;w.add(me(),ze),J.current&&H()}),Z=C.exports.useCallback(()=>w.isTopModal(me()),[w]),ue=$r(ze=>{ie.current=ze,ze&&(I&&Z()?H():Yu(J.current,te))}),K=C.exports.useCallback(()=>{w.remove(me(),te)},[w,te]);C.exports.useEffect(()=>()=>{K()},[K]),C.exports.useEffect(()=>{I?q():(!j||!l)&&K()},[I,K,j,l,q]);const U=R({},t,{classes:a,closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:g,disableEscapeKeyDown:x,disablePortal:E,disableRestoreFocus:b,disableScrollLock:y,exited:V,hideBackdrop:v,keepMounted:_}),Y=Lj(U),re=()=>{ee(!1),L&&L()},fe=()=>{ee(!0),N&&N(),l&&K()},we=ze=>{ze.target===ze.currentTarget&&(P&&P(ze),A&&A(ze,"backdropClick"))},ke=ze=>{k&&k(ze),!(ze.key!=="Escape"||!Z())&&(x||(ze.stopPropagation(),A&&A(ze,"escapeKeyDown")))},Ie={};o.props.tabIndex===void 0&&(Ie.tabIndex="-1"),j&&(Ie.onEnter=n0(re,o.props.onEnter),Ie.onExited=n0(fe,o.props.onExited));const Ce=c.Root||u,We=yc({elementType:Ce,externalSlotProps:f.root,externalForwardedProps:B,additionalProps:{ref:G,role:"presentation",onKeyDown:ke},className:Y.root,ownerState:U}),Me=c.Backdrop,dt=yc({elementType:Me,externalSlotProps:f.backdrop,additionalProps:{"aria-hidden":!0,onClick:we,open:I},ownerState:U});return!_&&!I&&(!j||V)?null:D.exports.jsx(mR,{ref:ue,container:p,disablePortal:E,children:D.exports.jsxs(Ce,R({},We,{children:[!v&&Me?D.exports.jsx(Me,R({},dt)):null,D.exports.jsx(Oj,{disableEnforceFocus:g,disableAutoFocus:m,disableRestoreFocus:b,isEnabled:Z,open:I,children:C.exports.cloneElement(o,Ie)})]}))})});var Fj=Bj,kt={};/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Zy=Symbol.for("react.element"),Jy=Symbol.for("react.portal"),ih=Symbol.for("react.fragment"),ah=Symbol.for("react.strict_mode"),sh=Symbol.for("react.profiler"),lh=Symbol.for("react.provider"),uh=Symbol.for("react.context"),Uj=Symbol.for("react.server_context"),ch=Symbol.for("react.forward_ref"),dh=Symbol.for("react.suspense"),fh=Symbol.for("react.suspense_list"),ph=Symbol.for("react.memo"),hh=Symbol.for("react.lazy"),zj=Symbol.for("react.offscreen"),vR;vR=Symbol.for("react.module.reference");function io(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Zy:switch(e=e.type,e){case ih:case sh:case ah:case dh:case fh:return e;default:switch(e=e&&e.$$typeof,e){case Uj:case uh:case ch:case hh:case ph:case lh:return e;default:return t}}case Jy:return t}}}kt.ContextConsumer=uh;kt.ContextProvider=lh;kt.Element=Zy;kt.ForwardRef=ch;kt.Fragment=ih;kt.Lazy=hh;kt.Memo=ph;kt.Portal=Jy;kt.Profiler=sh;kt.StrictMode=ah;kt.Suspense=dh;kt.SuspenseList=fh;kt.isAsyncMode=function(){return!1};kt.isConcurrentMode=function(){return!1};kt.isContextConsumer=function(e){return io(e)===uh};kt.isContextProvider=function(e){return io(e)===lh};kt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zy};kt.isForwardRef=function(e){return io(e)===ch};kt.isFragment=function(e){return io(e)===ih};kt.isLazy=function(e){return io(e)===hh};kt.isMemo=function(e){return io(e)===ph};kt.isPortal=function(e){return io(e)===Jy};kt.isProfiler=function(e){return io(e)===sh};kt.isStrictMode=function(e){return io(e)===ah};kt.isSuspense=function(e){return io(e)===dh};kt.isSuspenseList=function(e){return io(e)===fh};kt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ih||e===sh||e===ah||e===dh||e===fh||e===zj||typeof e=="object"&&e!==null&&(e.$$typeof===hh||e.$$typeof===ph||e.$$typeof===lh||e.$$typeof===uh||e.$$typeof===ch||e.$$typeof===vR||e.getModuleId!==void 0)};kt.typeOf=io;const jj=["onChange","maxRows","minRows","style","value"];function rf(e,t){return parseInt(e[t],10)||0}const Wj={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function cw(e){return e==null||Object.keys(e).length===0}const Hj=C.exports.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:a=1,style:l,value:u}=t,c=ye(t,jj),{current:f}=C.exports.useRef(u!=null),p=C.exports.useRef(null),m=yt(n,p),g=C.exports.useRef(null),x=C.exports.useRef(0),[E,b]=C.exports.useState({}),y=C.exports.useCallback(()=>{const A=p.current,I=zo(A).getComputedStyle(A);if(I.width==="0px")return{};const L=g.current;L.style.width=I.width,L.value=A.value||t.placeholder||"x",L.value.slice(-1)===`
`&&(L.value+=" ");const N=I["box-sizing"],B=rf(I,"padding-bottom")+rf(I,"padding-top"),V=rf(I,"border-bottom-width")+rf(I,"border-top-width"),ee=L.scrollHeight;L.value="x";const X=L.scrollHeight;let ie=ee;a&&(ie=Math.max(Number(a)*X,ie)),o&&(ie=Math.min(Number(o)*X,ie)),ie=Math.max(ie,X);const J=ie+(N==="border-box"?B+V:0),G=Math.abs(ie-ee)<=1;return{outerHeightStyle:J,overflow:G}},[o,a,t.placeholder]),v=(A,k)=>{const{outerHeightStyle:I,overflow:L}=k;return x.current<20&&(I>0&&Math.abs((A.outerHeightStyle||0)-I)>1||A.overflow!==L)?(x.current+=1,{overflow:L,outerHeightStyle:I}):A},_=C.exports.useCallback(()=>{const A=y();cw(A)||b(k=>v(k,A))},[y]),w=()=>{const A=y();cw(A)||Oc.exports.flushSync(()=>{b(k=>v(k,A))})};C.exports.useEffect(()=>{const A=Qp(()=>{x.current=0,p.current&&w()}),k=zo(p.current);k.addEventListener("resize",A);let I;return typeof ResizeObserver!="undefined"&&(I=new ResizeObserver(A),I.observe(p.current)),()=>{A.clear(),k.removeEventListener("resize",A),I&&I.disconnect()}}),xo(()=>{_()}),C.exports.useEffect(()=>{x.current=0},[u]);const P=A=>{x.current=0,f||_(),r&&r(A)};return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx("textarea",R({value:u,onChange:P,ref:m,rows:a,style:R({height:E.outerHeightStyle,overflow:E.overflow?"hidden":null},l)},c)),D.exports.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:g,tabIndex:-1,style:R({},Wj.shadow,l,{padding:0})})]})});var Vj=Hj;function Gj(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Kj={black:"#000",white:"#fff"};var _c=Kj;const qj={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var Yj=qj;const Xj={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var us=Xj;const Qj={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var cs=Qj;const Zj={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var fu=Zj;const Jj={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var ds=Jj;const eW={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var fs=eW;const tW={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};var ps=tW;const nW=["mode","contrastThreshold","tonalOffset"],dw={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:_c.white,default:_c.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Fm={text:{primary:_c.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:_c.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function fw(e,t,n,r){const o=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=aR(e.main,o):t==="dark"&&(e.dark=iR(e.main,a)))}function rW(e="light"){return e==="dark"?{main:ds[200],light:ds[50],dark:ds[400]}:{main:ds[700],light:ds[400],dark:ds[800]}}function oW(e="light"){return e==="dark"?{main:us[200],light:us[50],dark:us[400]}:{main:us[500],light:us[300],dark:us[700]}}function iW(e="light"){return e==="dark"?{main:cs[500],light:cs[300],dark:cs[700]}:{main:cs[700],light:cs[400],dark:cs[800]}}function aW(e="light"){return e==="dark"?{main:fs[400],light:fs[300],dark:fs[700]}:{main:fs[700],light:fs[500],dark:fs[900]}}function sW(e="light"){return e==="dark"?{main:ps[400],light:ps[300],dark:ps[700]}:{main:ps[800],light:ps[500],dark:ps[900]}}function lW(e="light"){return e==="dark"?{main:fu[400],light:fu[300],dark:fu[700]}:{main:"#ed6c02",light:fu[500],dark:fu[900]}}function uW(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ye(e,nW),a=e.primary||rW(t),l=e.secondary||oW(t),u=e.error||iW(t),c=e.info||aW(t),f=e.success||sW(t),p=e.warning||lW(t);function m(b){return U9(b,Fm.text.primary)>=n?Fm.text.primary:dw.text.primary}const g=({color:b,name:y,mainShade:v=500,lightShade:_=300,darkShade:w=700})=>{if(b=R({},b),!b.main&&b[v]&&(b.main=b[v]),!b.hasOwnProperty("main"))throw new Error(Gi(11,y?` (${y})`:"",v));if(typeof b.main!="string")throw new Error(Gi(12,y?` (${y})`:"",JSON.stringify(b.main)));return fw(b,"light",_,r),fw(b,"dark",w,r),b.contrastText||(b.contrastText=m(b.main)),b},x={dark:Fm,light:dw};return Qr(R({common:R({},_c),mode:t,primary:g({color:a,name:"primary"}),secondary:g({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:u,name:"error"}),warning:g({color:p,name:"warning"}),info:g({color:c,name:"info"}),success:g({color:f,name:"success"}),grey:Yj,contrastThreshold:n,getContrastText:m,augmentColor:g,tonalOffset:r},x[t]),o)}const cW=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function dW(e){return Math.round(e*1e5)/1e5}const pw={textTransform:"uppercase"},hw='"Roboto", "Helvetica", "Arial", sans-serif';function fW(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=hw,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:f=16,allVariants:p,pxToRem:m}=n,g=ye(n,cW),x=o/14,E=m||(v=>`${v/f*x}rem`),b=(v,_,w,P,A)=>R({fontFamily:r,fontWeight:v,fontSize:E(_),lineHeight:w},r===hw?{letterSpacing:`${dW(P/_)}em`}:{},A,p),y={h1:b(a,96,1.167,-1.5),h2:b(a,60,1.2,-.5),h3:b(l,48,1.167,0),h4:b(l,34,1.235,.25),h5:b(l,24,1.334,0),h6:b(u,20,1.6,.15),subtitle1:b(l,16,1.75,.15),subtitle2:b(u,14,1.57,.1),body1:b(l,16,1.5,.15),body2:b(l,14,1.43,.15),button:b(u,14,1.75,.4,pw),caption:b(l,12,1.66,.4),overline:b(l,12,2.66,1,pw)};return Qr(R({htmlFontSize:f,pxToRem:E,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:c},y),g,{clone:!1})}const pW=.2,hW=.14,gW=.12;function Zt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${pW})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${hW})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gW})`].join(",")}const mW=["none",Zt(0,2,1,-1,0,1,1,0,0,1,3,0),Zt(0,3,1,-2,0,2,2,0,0,1,5,0),Zt(0,3,3,-2,0,3,4,0,0,1,8,0),Zt(0,2,4,-1,0,4,5,0,0,1,10,0),Zt(0,3,5,-1,0,5,8,0,0,1,14,0),Zt(0,3,5,-1,0,6,10,0,0,1,18,0),Zt(0,4,5,-2,0,7,10,1,0,2,16,1),Zt(0,5,5,-3,0,8,10,1,0,3,14,2),Zt(0,5,6,-3,0,9,12,1,0,3,16,2),Zt(0,6,6,-3,0,10,14,1,0,4,18,3),Zt(0,6,7,-4,0,11,15,1,0,4,20,3),Zt(0,7,8,-4,0,12,17,2,0,5,22,4),Zt(0,7,8,-4,0,13,19,2,0,5,24,4),Zt(0,7,9,-4,0,14,21,2,0,5,26,4),Zt(0,8,9,-5,0,15,22,2,0,6,28,5),Zt(0,8,10,-5,0,16,24,2,0,6,30,5),Zt(0,8,11,-5,0,17,26,2,0,6,32,5),Zt(0,9,11,-5,0,18,28,2,0,7,34,6),Zt(0,9,12,-6,0,19,29,2,0,7,36,6),Zt(0,10,13,-6,0,20,31,3,0,8,38,7),Zt(0,10,13,-6,0,21,33,3,0,8,40,7),Zt(0,10,14,-6,0,22,35,3,0,8,42,7),Zt(0,11,14,-7,0,23,36,3,0,9,44,8),Zt(0,11,15,-7,0,24,38,3,0,9,46,8)];var vW=mW;const yW=["duration","easing","delay"],xW={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},yR={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function gw(e){return`${Math.round(e)}ms`}function bW(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function _W(e){const t=R({},xW,e.easing),n=R({},yR,e.duration);return R({getAutoHeightDuration:bW,create:(o=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:c=0}=a;return ye(a,yW),(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof l=="string"?l:gw(l)} ${u} ${typeof c=="string"?c:gw(c)}`).join(",")}},e,{easing:t,duration:n})}const CW={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var EW=CW;const wW=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function gh(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:a={}}=e,l=ye(e,wW);if(e.vars)throw new Error(Gi(18));const u=uW(r),c=Wy(e);let f=Qr(c,{mixins:Gj(c.breakpoints,n),palette:u,shadows:vW.slice(),typography:fW(u,a),transitions:_W(o),zIndex:R({},EW)});return f=Qr(f,l),f=t.reduce((p,m)=>Qr(p,m),f),f}const SW=gh();var mh=SW;function Ue({props:e,name:t}){return D9({props:e,name:t,defaultTheme:mh})}function xR(e){return D.exports.jsx(hU,R({},e,{defaultTheme:mh}))}const $W=(e,t)=>R({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&{colorScheme:e.palette.mode}),PW=e=>R({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),RW=(e,t=!1)=>{var n,r;let o={html:$W(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:R({margin:0},PW(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})};const a=(n=e.components)==null||(r=n.MuiCssBaseline)==null?void 0:r.styleOverrides;return a&&(o=[o,a]),o};function TW(e){const t=Ue({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx(xR,{styles:o=>RW(o,r)}),n]})}var Ki=S.createContext(null);function IW(e){e()}var bR=IW,OW=function(t){return bR=t},kW=function(){return bR};function AW(){var e=kW(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var o=t;o;)o.callback(),o=o.next})},get:function(){for(var o=[],a=t;a;)o.push(a),a=a.next;return o},subscribe:function(o){var a=!0,l=n={callback:o,next:null,prev:n};return l.prev?l.prev.next=l:t=l,function(){!a||t===null||(a=!1,l.next?l.next.prev=l.prev:n=l.prev,l.prev?l.prev.next=l.next:t=l.next)}}}}var mw={notify:function(){},get:function(){return[]}};function _R(e,t){var n,r=mw;function o(m){return c(),r.subscribe(m)}function a(){r.notify()}function l(){p.onStateChange&&p.onStateChange()}function u(){return Boolean(n)}function c(){n||(n=t?t.addNestedSub(l):e.subscribe(l),r=AW())}function f(){n&&(n(),n=void 0,r.clear(),r=mw)}var p={addNestedSub:o,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:u,trySubscribe:c,tryUnsubscribe:f,getListeners:function(){return r}};return p}var l0=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?C.exports.useLayoutEffect:C.exports.useEffect;function LW(e){var t=e.store,n=e.context,r=e.children,o=C.exports.useMemo(function(){var u=_R(t);return u.onStateChange=u.notifyNestedSubs,{store:t,subscription:u}},[t]),a=C.exports.useMemo(function(){return t.getState()},[t]);l0(function(){var u=o.subscription;return u.trySubscribe(),a!==t.getState()&&u.notifyNestedSubs(),function(){u.tryUnsubscribe(),u.onStateChange=null}},[o,a]);var l=n||Ki;return S.createElement(l.Provider,{value:o},r)}function CR(){var e=C.exports.useContext(Ki);return e}function ER(e){e===void 0&&(e=Ki);var t=e===Ki?CR:function(){return C.exports.useContext(e)};return function(){var r=t(),o=r.store;return o}}var MW=ER();function NW(e){e===void 0&&(e=Ki);var t=e===Ki?MW:ER(e);return function(){var r=t();return r.dispatch}}var wR=NW(),DW=function(t,n){return t===n};function BW(e,t,n,r){var o=C.exports.useReducer(function(E){return E+1},0),a=o[1],l=C.exports.useMemo(function(){return _R(n,r)},[n,r]),u=C.exports.useRef(),c=C.exports.useRef(),f=C.exports.useRef(),p=C.exports.useRef(),m=n.getState(),g;try{if(e!==c.current||m!==f.current||u.current){var x=e(m);p.current===void 0||!t(x,p.current)?g=x:g=p.current}else g=p.current}catch(E){throw u.current&&(E.message+=`
The error may be correlated with this previous error:
`+u.current.stack+`

`),E}return l0(function(){c.current=e,f.current=m,p.current=g,u.current=void 0}),l0(function(){function E(){try{var b=n.getState();if(b===f.current)return;var y=c.current(b);if(t(y,p.current))return;p.current=y,f.current=b}catch(v){u.current=v}a()}return l.onStateChange=E,l.trySubscribe(),E(),function(){return l.tryUnsubscribe()}},[n,l]),g}function FW(e){e===void 0&&(e=Ki);var t=e===Ki?CR:function(){return C.exports.useContext(e)};return function(r,o){o===void 0&&(o=DW);var a=t(),l=a.store,u=a.subscription,c=BW(r,o,l,u);return C.exports.useDebugValue(c),c}}var Ar=FW();OW(Oc.exports.unstable_batchedUpdates);function Co(){return nh(mh)}const mr=e=>Gu(e)&&e!=="classes",UW=Gu,zW=M9({defaultTheme:mh,rootShouldForwardProp:mr});var he=zW;function jW(e){return De("MuiPaper",e)}Ne("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const WW=["className","component","elevation","square","variant"],vw=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},HW=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Be(a,jW,o)},VW=he("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return R({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&R({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${st("#fff",vw(t.elevation))}, ${st("#fff",vw(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),GW=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiPaper"}),{className:o,component:a="div",elevation:l=1,square:u=!1,variant:c="elevation"}=r,f=ye(r,WW),p=R({},r,{component:a,elevation:l,square:u,variant:c}),m=HW(p);return D.exports.jsx(VW,R({as:a,ownerState:p,className:_e(m.root,o),ref:n},f))});var Eo=GW;const KW=gh(),qW=rR({defaultTheme:KW,defaultClassName:"MuiBox-root",generateClassName:Ny.generate});var ge=qW;function YW(e){return De("MuiAppBar",e)}Ne("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const XW=["className","color","enableColorOnDark","position"],QW=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${ce(t)}`,`position${ce(n)}`]};return Be(o,YW,r)},of=(e,t)=>`${e==null?void 0:e.replace(")","")}, ${t})`,ZW=he(Eo,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ce(n.position)}`],t[`color${ce(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return R({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&R({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&R({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&R({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:of(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:of(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:of(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:of(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),JW=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiAppBar"}),{className:o,color:a="primary",enableColorOnDark:l=!1,position:u="fixed"}=r,c=ye(r,XW),f=R({},r,{color:a,position:u,enableColorOnDark:l}),p=QW(f);return D.exports.jsx(ZW,R({square:!0,component:"header",ownerState:f,elevation:4,className:_e(p.root,o,u==="fixed"&&"mui-fixed"),ref:n},c))});var e8=JW;function u0(e,t){return u0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},u0(e,t)}function SR(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u0(e,t)}var yw={disabled:!1},sp=S.createContext(null),t8=function(t){return t.scrollTop},Ou="unmounted",ga="exited",ma="entering",bs="entered",c0="exiting",di=function(e){SR(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var l=o,u=l&&!l.isMounting?r.enter:r.appear,c;return a.appearStatus=null,r.in?u?(c=ga,a.appearStatus=ma):c=bs:r.unmountOnExit||r.mountOnEnter?c=Ou:c=ga,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var l=o.in;return l&&a.status===Ou?{status:ga}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var a=null;if(o!==this.props){var l=this.state.status;this.props.in?l!==ma&&l!==bs&&(a=ma):(l===ma||l===bs)&&(a=c0)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,a,l,u;return a=l=u=o,o!=null&&typeof o!="number"&&(a=o.exit,l=o.enter,u=o.appear!==void 0?o.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===ma){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Ru.findDOMNode(this);l&&t8(l)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ga&&this.setState({status:Ou})},n.performEnter=function(o){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:o,c=this.props.nodeRef?[u]:[Ru.findDOMNode(this),u],f=c[0],p=c[1],m=this.getTimeouts(),g=u?m.appear:m.enter;if(!o&&!l||yw.disabled){this.safeSetState({status:bs},function(){a.props.onEntered(f)});return}this.props.onEnter(f,p),this.safeSetState({status:ma},function(){a.props.onEntering(f,p),a.onTransitionEnd(g,function(){a.safeSetState({status:bs},function(){a.props.onEntered(f,p)})})})},n.performExit=function(){var o=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:Ru.findDOMNode(this);if(!a||yw.disabled){this.safeSetState({status:ga},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:c0},function(){o.props.onExiting(u),o.onTransitionEnd(l.exit,function(){o.safeSetState({status:ga},function(){o.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},n.setNextCallback=function(o){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,o(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(o,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Ru.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],f=c[0],p=c[1];this.props.addEndListener(f,p)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Ou)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=ye(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return S.createElement(sp.Provider,{value:null},typeof l=="function"?l(o,u):S.cloneElement(S.Children.only(l),u))},t}(S.Component);di.contextType=sp;di.propTypes={};function hs(){}di.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:hs,onEntering:hs,onEntered:hs,onExit:hs,onExiting:hs,onExited:hs};di.UNMOUNTED=Ou;di.EXITED=ga;di.ENTERING=ma;di.ENTERED=bs;di.EXITING=c0;var vh=di;function n8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e1(e,t){var n=function(a){return t&&C.exports.isValidElement(a)?t(a):a},r=Object.create(null);return e&&C.exports.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function r8(e,t){e=e||{},t=t||{};function n(p){return p in t?t[p]:e[p]}var r=Object.create(null),o=[];for(var a in e)a in t?o.length&&(r[a]=o,o=[]):o.push(a);var l,u={};for(var c in t){if(r[c])for(l=0;l<r[c].length;l++){var f=r[c][l];u[r[c][l]]=n(f)}u[c]=n(c)}for(l=0;l<o.length;l++)u[o[l]]=n(o[l]);return u}function Sa(e,t,n){return n[t]!=null?n[t]:e.props[t]}function o8(e,t){return e1(e.children,function(n){return C.exports.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Sa(n,"appear",e),enter:Sa(n,"enter",e),exit:Sa(n,"exit",e)})})}function i8(e,t,n){var r=e1(e.children),o=r8(t,r);return Object.keys(o).forEach(function(a){var l=o[a];if(!!C.exports.isValidElement(l)){var u=a in t,c=a in r,f=t[a],p=C.exports.isValidElement(f)&&!f.props.in;c&&(!u||p)?o[a]=C.exports.cloneElement(l,{onExited:n.bind(null,l),in:!0,exit:Sa(l,"exit",e),enter:Sa(l,"enter",e)}):!c&&u&&!p?o[a]=C.exports.cloneElement(l,{in:!1}):c&&u&&C.exports.isValidElement(f)&&(o[a]=C.exports.cloneElement(l,{onExited:n.bind(null,l),in:f.props.in,exit:Sa(l,"exit",e),enter:Sa(l,"enter",e)}))}}),o}var a8=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},s8={component:"div",childFactory:function(t){return t}},t1=function(e){SR(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var l=a.handleExited.bind(n8(a));return a.state={contextValue:{isMounting:!0},handleExited:l,firstRender:!0},a}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,a){var l=a.children,u=a.handleExited,c=a.firstRender;return{children:c?o8(o,u):i8(o,l,u),firstRender:!1}},n.handleExited=function(o,a){var l=e1(this.props.children);o.key in l||(o.props.onExited&&o.props.onExited(a),this.mounted&&this.setState(function(u){var c=R({},u.children);return delete c[o.key],{children:c}}))},n.render=function(){var o=this.props,a=o.component,l=o.childFactory,u=ye(o,["component","childFactory"]),c=this.state.contextValue,f=a8(this.state.children).map(l);return delete u.appear,delete u.enter,delete u.exit,a===null?S.createElement(sp.Provider,{value:c},f):S.createElement(sp.Provider,{value:c},S.createElement(a,u,f))},t}(S.Component);t1.propTypes={};t1.defaultProps=s8;var l8=t1;const n1=e=>e.scrollTop;function qi(e,t){var n,r;const{timeout:o,easing:a,style:l={}}=e;return{duration:(n=l.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=l.transitionTimingFunction)!=null?r:typeof a=="object"?a[t.mode]:a,delay:l.transitionDelay}}const u8=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],c8={entering:{opacity:1},entered:{opacity:1}},d8=C.exports.forwardRef(function(t,n){const r=Co(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:c,in:f,onEnter:p,onEntered:m,onEntering:g,onExit:x,onExited:E,onExiting:b,style:y,timeout:v=o,TransitionComponent:_=vh}=t,w=ye(t,u8),P=C.exports.useRef(null),A=yt(u.ref,n),k=yt(P,A),I=J=>G=>{if(J){const j=P.current;G===void 0?J(j):J(j,G)}},L=I(g),N=I((J,G)=>{n1(J);const j=qi({style:y,timeout:v,easing:c},{mode:"enter"});J.style.webkitTransition=r.transitions.create("opacity",j),J.style.transition=r.transitions.create("opacity",j),p&&p(J,G)}),B=I(m),V=I(b),ee=I(J=>{const G=qi({style:y,timeout:v,easing:c},{mode:"exit"});J.style.webkitTransition=r.transitions.create("opacity",G),J.style.transition=r.transitions.create("opacity",G),x&&x(J)}),X=I(E),ie=J=>{a&&a(P.current,J)};return D.exports.jsx(_,R({appear:l,in:f,nodeRef:P,onEnter:N,onEntered:B,onEntering:L,onExit:ee,onExited:X,onExiting:V,addEndListener:ie,timeout:v},w,{children:(J,G)=>C.exports.cloneElement(u,R({style:R({opacity:0,visibility:J==="exited"&&!f?"hidden":void 0},c8[J],y,u.props.style),ref:k},G))}))});var $R=d8;function f8(e){return De("MuiBackdrop",e)}Ne("MuiBackdrop",["root","invisible"]);const p8=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],h8=e=>{const{classes:t,invisible:n}=e;return Be({root:["root",n&&"invisible"]},f8,t)},g8=he("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>R({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),m8=C.exports.forwardRef(function(t,n){var r,o;const a=Ue({props:t,name:"MuiBackdrop"}),{children:l,component:u="div",components:c={},componentsProps:f={},className:p,invisible:m=!1,open:g,transitionDuration:x,TransitionComponent:E=$R}=a,b=ye(a,p8),y=R({},a,{component:u,invisible:m}),v=h8(y);return D.exports.jsx(E,R({in:g,timeout:x},b,{children:D.exports.jsx(g8,{"aria-hidden":!0,as:(r=c.Root)!=null?r:u,className:_e(v.root,p),ownerState:R({},y,(o=f.root)==null?void 0:o.ownerState),classes:v,ref:n,children:l})}))});var PR=m8;const v8=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","theme"],y8=e=>e.classes,x8=he("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>R({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),b8=he(PR,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),_8=C.exports.forwardRef(function(t,n){var r,o;const a=Ue({name:"MuiModal",props:t}),{BackdropComponent:l=b8,BackdropProps:u,closeAfterTransition:c=!1,children:f,component:p,components:m={},componentsProps:g={},disableAutoFocus:x=!1,disableEnforceFocus:E=!1,disableEscapeKeyDown:b=!1,disablePortal:y=!1,disableRestoreFocus:v=!1,disableScrollLock:_=!1,hideBackdrop:w=!1,keepMounted:P=!1,theme:A}=a,k=ye(a,v8),[I,L]=C.exports.useState(!0),N={closeAfterTransition:c,disableAutoFocus:x,disableEnforceFocus:E,disableEscapeKeyDown:b,disablePortal:y,disableRestoreFocus:v,disableScrollLock:_,hideBackdrop:w,keepMounted:P},B=R({},a,N,{exited:I}),V=y8(B),ee=(r=(o=m.Root)!=null?o:p)!=null?r:x8;return D.exports.jsx(Fj,R({components:R({Root:ee,Backdrop:l},m),componentsProps:{root:()=>R({},o0(g.root,B),!Zs(ee)&&{as:p,theme:A}),backdrop:()=>R({},u,o0(g.backdrop,B))},onTransitionEnter:()=>L(!1),onTransitionExited:()=>L(!0),ref:n},k,{classes:V},N,{children:f}))});var r1=_8;function C8(e){return De("MuiSvgIcon",e)}Ne("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const E8=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],w8=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ce(t)}`,`fontSize${ce(n)}`]};return Be(o,C8,r)},S8=he("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ce(n.color)}`],t[`fontSize${ce(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,a,l,u,c,f,p,m,g,x,E,b,y,v,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(a=o.duration)==null?void 0:a.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,20))||"1.25rem",medium:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,24))||"1.5rem",large:((p=e.typography)==null||(m=p.pxToRem)==null?void 0:m.call(p,35))||"2.1875"}[t.fontSize],color:(g=(x=(e.vars||e).palette)==null||(E=x[t.color])==null?void 0:E.main)!=null?g:{action:(b=(e.vars||e).palette)==null||(y=b.action)==null?void 0:y.active,disabled:(v=(e.vars||e).palette)==null||(_=v.action)==null?void 0:_.disabled,inherit:void 0}[t.color]}}),RR=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:l="inherit",component:u="svg",fontSize:c="medium",htmlColor:f,inheritViewBox:p=!1,titleAccess:m,viewBox:g="0 0 24 24"}=r,x=ye(r,E8),E=R({},r,{color:l,component:u,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:g}),b={};p||(b.viewBox=g);const y=w8(E);return D.exports.jsxs(S8,R({as:u,className:_e(y.root,a),ownerState:E,focusable:"false",color:f,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n},b,x,{children:[o,m?D.exports.jsx("title",{children:m}):null]}))});RR.muiName="SvgIcon";var xw=RR;function Lr(e,t){const n=(r,o)=>D.exports.jsx(xw,R({"data-testid":`${t}Icon`,ref:o},r,{children:e}));return n.muiName=xw.muiName,C.exports.memo(C.exports.forwardRef(n))}const $8={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
`)),Ny.configure(e)}};var P8=Object.freeze(Object.defineProperty({__proto__:null,unstable_ClassNameGenerator:$8,capitalize:ce,createChainedFunction:n0,createSvgIcon:Lr,debounce:Qp,deprecatedPropType:mU,isMuiElement:Tf,ownerDocument:$n,ownerWindow:zo,requirePropFactory:vU,setRef:Qs,unstable_useEnhancedEffect:xo,unstable_useId:La,unsupportedProp:bU,useControlled:Fi,useEventCallback:$r,useForkRef:yt,useIsFocusVisible:Jp},Symbol.toStringTag,{value:"Module"}));const R8=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function T8(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),a=zo(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const f=a.getComputedStyle(t);l=f.getPropertyValue("-webkit-transform")||f.getPropertyValue("transform")}let u=0,c=0;if(l&&l!=="none"&&typeof l=="string"){const f=l.split("(")[1].split(")")[0].split(",");u=parseInt(f[4],10),c=parseInt(f[5],10)}return e==="left"?o?`translateX(${o.right+u-r.left}px)`:`translateX(${a.innerWidth+u-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-u}px)`:`translateX(-${r.left+r.width-u}px)`:e==="up"?o?`translateY(${o.bottom+c-r.top}px)`:`translateY(${a.innerHeight+c-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-c}px)`:`translateY(-${r.top+r.height-c}px)`}function I8(e){return typeof e=="function"?e():e}function af(e,t,n){const r=I8(n),o=T8(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const O8=C.exports.forwardRef(function(t,n){const r=Co(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:c,container:f,direction:p="down",easing:m=o,in:g,onEnter:x,onEntered:E,onEntering:b,onExit:y,onExited:v,onExiting:_,style:w,timeout:P=a,TransitionComponent:A=vh}=t,k=ye(t,R8),I=C.exports.useRef(null),L=yt(c.ref,I),N=yt(L,n),B=ne=>me=>{ne&&(me===void 0?ne(I.current):ne(I.current,me))},V=B((ne,me)=>{af(p,ne,f),n1(ne),x&&x(ne,me)}),ee=B((ne,me)=>{const H=qi({timeout:P,style:w,easing:m},{mode:"enter"});ne.style.webkitTransition=r.transitions.create("-webkit-transform",R({},H)),ne.style.transition=r.transitions.create("transform",R({},H)),ne.style.webkitTransform="none",ne.style.transform="none",b&&b(ne,me)}),X=B(E),ie=B(_),J=B(ne=>{const me=qi({timeout:P,style:w,easing:m},{mode:"exit"});ne.style.webkitTransition=r.transitions.create("-webkit-transform",me),ne.style.transition=r.transitions.create("transform",me),af(p,ne,f),y&&y(ne)}),G=B(ne=>{ne.style.webkitTransition="",ne.style.transition="",v&&v(ne)}),j=ne=>{l&&l(I.current,ne)},te=C.exports.useCallback(()=>{I.current&&af(p,I.current,f)},[p,f]);return C.exports.useEffect(()=>{if(g||p==="down"||p==="right")return;const ne=Qp(()=>{I.current&&af(p,I.current,f)}),me=zo(I.current);return me.addEventListener("resize",ne),()=>{ne.clear(),me.removeEventListener("resize",ne)}},[p,g,f]),C.exports.useEffect(()=>{g||te()},[g,te]),D.exports.jsx(A,R({nodeRef:I,onEnter:V,onEntered:X,onEntering:ee,onExit:J,onExited:G,onExiting:ie,addEndListener:j,appear:u,in:g,timeout:P},k,{children:(ne,me)=>C.exports.cloneElement(c,R({ref:N,style:R({visibility:ne==="exited"&&!g?"hidden":void 0},w,c.props.style)},me))}))});var k8=O8;function A8(e){return De("MuiDrawer",e)}const L8=Ne("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var TR=L8;const M8=["BackdropProps"],N8=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],IR=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},D8=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ce(n)}`,r!=="temporary"&&`paperAnchorDocked${ce(n)}`]};return Be(o,A8,t)},B8=he(r1,{name:"MuiDrawer",slot:"Root",overridesResolver:IR})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),bw=he("div",{shouldForwardProp:mr,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:IR})({flex:"0 0 auto"}),F8=he(Eo,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${ce(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${ce(n.anchor)}`]]}})(({theme:e,ownerState:t})=>R({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),OR={left:"right",right:"left",top:"down",bottom:"up"};function U8(e){return["left","right"].indexOf(e)!==-1}function z8(e,t){return e.direction==="rtl"&&U8(t)?OR[t]:t}const j8=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDrawer"}),o=Co(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:l="left",BackdropProps:u,children:c,className:f,elevation:p=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:g}={},onClose:x,open:E=!1,PaperProps:b={},SlideProps:y,TransitionComponent:v=k8,transitionDuration:_=a,variant:w="temporary"}=r,P=ye(r.ModalProps,M8),A=ye(r,N8),k=C.exports.useRef(!1);C.exports.useEffect(()=>{k.current=!0},[]);const I=z8(o,l),N=R({},r,{anchor:l,elevation:p,open:E,variant:w},A),B=D8(N),V=D.exports.jsx(F8,R({elevation:w==="temporary"?p:0,square:!0},b,{className:_e(B.paper,b.className),ownerState:N,children:c}));if(w==="permanent")return D.exports.jsx(bw,R({className:_e(B.root,B.docked,f),ownerState:N,ref:n},A,{children:V}));const ee=D.exports.jsx(v,R({in:E,direction:OR[I],timeout:_,appear:k.current},y,{children:V}));return w==="persistent"?D.exports.jsx(bw,R({className:_e(B.root,B.docked,f),ownerState:N,ref:n},A,{children:ee})):D.exports.jsx(B8,R({BackdropProps:R({},u,g,{transitionDuration:_}),className:_e(B.root,B.modal,f),open:E,ownerState:N,onClose:x,hideBackdrop:m,ref:n},A,P,{children:ee}))});var d0=j8;function W8(e){return De("MuiToolbar",e)}Ne("MuiToolbar",["root","gutters","regular","dense"]);const H8=["className","component","disableGutters","variant"],V8=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Be({root:["root",!n&&"gutters",r]},W8,t)},G8=he("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>R({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),K8=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiToolbar"}),{className:o,component:a="div",disableGutters:l=!1,variant:u="regular"}=r,c=ye(r,H8),f=R({},r,{component:a,disableGutters:l,variant:u}),p=V8(f);return D.exports.jsx(G8,R({as:a,className:_e(p.root,o),ref:n,ownerState:f},c))});var Xu=K8;function q8(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:l,in:u,onExited:c,timeout:f}=e,[p,m]=C.exports.useState(!1),g=_e(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),x={width:l,height:l,top:-(l/2)+a,left:-(l/2)+o},E=_e(n.child,p&&n.childLeaving,r&&n.childPulsate);return!u&&!p&&m(!0),C.exports.useEffect(()=>{if(!u&&c!=null){const b=setTimeout(c,f);return()=>{clearTimeout(b)}}},[c,u,f]),D.exports.jsx("span",{className:g,style:x,children:D.exports.jsx("span",{className:E})})}const Y8=Ne("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);var Vr=Y8;const X8=["center","classes","className"];let yh=e=>e,_w,Cw,Ew,ww;const f0=550,Q8=80,Z8=My(_w||(_w=yh`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),J8=My(Cw||(Cw=yh`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),e7=My(Ew||(Ew=yh`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),t7=he("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),n7=he(q8,{name:"MuiTouchRipple",slot:"Ripple"})(ww||(ww=yh`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),Vr.rippleVisible,Z8,f0,({theme:e})=>e.transitions.easing.easeInOut,Vr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Vr.child,Vr.childLeaving,J8,f0,({theme:e})=>e.transitions.easing.easeInOut,Vr.childPulsate,e7,({theme:e})=>e.transitions.easing.easeInOut),r7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:l}=r,u=ye(r,X8),[c,f]=C.exports.useState([]),p=C.exports.useRef(0),m=C.exports.useRef(null);C.exports.useEffect(()=>{m.current&&(m.current(),m.current=null)},[c]);const g=C.exports.useRef(!1),x=C.exports.useRef(null),E=C.exports.useRef(null),b=C.exports.useRef(null);C.exports.useEffect(()=>()=>{clearTimeout(x.current)},[]);const y=C.exports.useCallback(P=>{const{pulsate:A,rippleX:k,rippleY:I,rippleSize:L,cb:N}=P;f(B=>[...B,D.exports.jsx(n7,{classes:{ripple:_e(a.ripple,Vr.ripple),rippleVisible:_e(a.rippleVisible,Vr.rippleVisible),ripplePulsate:_e(a.ripplePulsate,Vr.ripplePulsate),child:_e(a.child,Vr.child),childLeaving:_e(a.childLeaving,Vr.childLeaving),childPulsate:_e(a.childPulsate,Vr.childPulsate)},timeout:f0,pulsate:A,rippleX:k,rippleY:I,rippleSize:L},p.current)]),p.current+=1,m.current=N},[a]),v=C.exports.useCallback((P={},A={},k)=>{const{pulsate:I=!1,center:L=o||A.pulsate,fakeElement:N=!1}=A;if((P==null?void 0:P.type)==="mousedown"&&g.current){g.current=!1;return}(P==null?void 0:P.type)==="touchstart"&&(g.current=!0);const B=N?null:b.current,V=B?B.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ee,X,ie;if(L||P===void 0||P.clientX===0&&P.clientY===0||!P.clientX&&!P.touches)ee=Math.round(V.width/2),X=Math.round(V.height/2);else{const{clientX:J,clientY:G}=P.touches&&P.touches.length>0?P.touches[0]:P;ee=Math.round(J-V.left),X=Math.round(G-V.top)}if(L)ie=Math.sqrt((2*V.width**2+V.height**2)/3),ie%2===0&&(ie+=1);else{const J=Math.max(Math.abs((B?B.clientWidth:0)-ee),ee)*2+2,G=Math.max(Math.abs((B?B.clientHeight:0)-X),X)*2+2;ie=Math.sqrt(J**2+G**2)}P!=null&&P.touches?E.current===null&&(E.current=()=>{y({pulsate:I,rippleX:ee,rippleY:X,rippleSize:ie,cb:k})},x.current=setTimeout(()=>{E.current&&(E.current(),E.current=null)},Q8)):y({pulsate:I,rippleX:ee,rippleY:X,rippleSize:ie,cb:k})},[o,y]),_=C.exports.useCallback(()=>{v({},{pulsate:!0})},[v]),w=C.exports.useCallback((P,A)=>{if(clearTimeout(x.current),(P==null?void 0:P.type)==="touchend"&&E.current){E.current(),E.current=null,x.current=setTimeout(()=>{w(P,A)});return}E.current=null,f(k=>k.length>0?k.slice(1):k),m.current=A},[]);return C.exports.useImperativeHandle(n,()=>({pulsate:_,start:v,stop:w}),[_,v,w]),D.exports.jsx(t7,R({className:_e(Vr.root,a.root,l),ref:b},u,{children:D.exports.jsx(l8,{component:null,exit:!0,children:c})}))});var o7=r7;function i7(e){return De("MuiButtonBase",e)}const a7=Ne("MuiButtonBase",["root","disabled","focusVisible"]);var s7=a7;const l7=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],u7=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=Be({root:["root",t&&"disabled",n&&"focusVisible"]},i7,o);return n&&r&&(l.root+=` ${r}`),l},c7=he("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${s7.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),d7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:a=!1,children:l,className:u,component:c="button",disabled:f=!1,disableRipple:p=!1,disableTouchRipple:m=!1,focusRipple:g=!1,LinkComponent:x="a",onBlur:E,onClick:b,onContextMenu:y,onDragLeave:v,onFocus:_,onFocusVisible:w,onKeyDown:P,onKeyUp:A,onMouseDown:k,onMouseLeave:I,onMouseUp:L,onTouchEnd:N,onTouchMove:B,onTouchStart:V,tabIndex:ee=0,TouchRippleProps:X,touchRippleRef:ie,type:J}=r,G=ye(r,l7),j=C.exports.useRef(null),te=C.exports.useRef(null),ne=yt(te,ie),{isFocusVisibleRef:me,onFocus:H,onBlur:q,ref:Z}=Jp(),[ue,K]=C.exports.useState(!1);f&&ue&&K(!1),C.exports.useImperativeHandle(o,()=>({focusVisible:()=>{K(!0),j.current.focus()}}),[]);const[U,Y]=C.exports.useState(!1);C.exports.useEffect(()=>{Y(!0)},[]);const re=U&&!p&&!f;C.exports.useEffect(()=>{ue&&g&&!p&&U&&te.current.pulsate()},[p,g,ue,U]);function fe(Se,et,At=m){return $r(Xt=>(et&&et(Xt),!At&&te.current&&te.current[Se](Xt),!0))}const we=fe("start",k),ke=fe("stop",y),Ie=fe("stop",v),Ce=fe("stop",L),We=fe("stop",Se=>{ue&&Se.preventDefault(),I&&I(Se)}),Me=fe("start",V),dt=fe("stop",N),ze=fe("stop",B),bt=fe("stop",Se=>{q(Se),me.current===!1&&K(!1),E&&E(Se)},!1),It=$r(Se=>{j.current||(j.current=Se.currentTarget),H(Se),me.current===!0&&(K(!0),w&&w(Se)),_&&_(Se)}),Ge=()=>{const Se=j.current;return c&&c!=="button"&&!(Se.tagName==="A"&&Se.href)},qe=C.exports.useRef(!1),mt=$r(Se=>{g&&!qe.current&&ue&&te.current&&Se.key===" "&&(qe.current=!0,te.current.stop(Se,()=>{te.current.start(Se)})),Se.target===Se.currentTarget&&Ge()&&Se.key===" "&&Se.preventDefault(),P&&P(Se),Se.target===Se.currentTarget&&Ge()&&Se.key==="Enter"&&!f&&(Se.preventDefault(),b&&b(Se))}),zt=$r(Se=>{g&&Se.key===" "&&te.current&&ue&&!Se.defaultPrevented&&(qe.current=!1,te.current.stop(Se,()=>{te.current.pulsate(Se)})),A&&A(Se),b&&Se.target===Se.currentTarget&&Ge()&&Se.key===" "&&!Se.defaultPrevented&&b(Se)});let nt=c;nt==="button"&&(G.href||G.to)&&(nt=x);const rt={};nt==="button"?(rt.type=J===void 0?"button":J,rt.disabled=f):(!G.href&&!G.to&&(rt.role="button"),f&&(rt["aria-disabled"]=f));const ft=yt(Z,j),Pe=yt(n,ft),be=R({},r,{centerRipple:a,component:c,disabled:f,disableRipple:p,disableTouchRipple:m,focusRipple:g,tabIndex:ee,focusVisible:ue}),Xe=u7(be);return D.exports.jsxs(c7,R({as:nt,className:_e(Xe.root,u),ownerState:be,onBlur:bt,onClick:b,onContextMenu:ke,onFocus:It,onKeyDown:mt,onKeyUp:zt,onMouseDown:we,onMouseLeave:We,onMouseUp:Ce,onDragLeave:Ie,onTouchEnd:dt,onTouchMove:ze,onTouchStart:Me,ref:Pe,tabIndex:f?-1:ee,type:J},rt,G,{children:[l,re?D.exports.jsx(o7,R({ref:ne,center:a},X)):null]}))});var Da=d7;function f7(e){return De("MuiIconButton",e)}const p7=Ne("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var h7=p7;const g7=["edge","children","className","color","disabled","disableFocusRipple","size"],m7=e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${ce(r)}`,o&&`edge${ce(o)}`,`size${ce(a)}`]};return Be(l,f7,t)},v7=he(Da,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ce(n.color)}`],n.edge&&t[`edge${ce(n.edge)}`],t[`size${ce(n.size)}`]]}})(({theme:e,ownerState:t})=>R({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>R({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&R({color:(e.vars||e).palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${h7.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})),y7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiIconButton"}),{edge:o=!1,children:a,className:l,color:u="default",disabled:c=!1,disableFocusRipple:f=!1,size:p="medium"}=r,m=ye(r,g7),g=R({},r,{edge:o,color:u,disabled:c,disableFocusRipple:f,size:p}),x=m7(g);return D.exports.jsx(v7,R({className:_e(x.root,l),centerRipple:!0,focusRipple:!f,disabled:c,ref:n,ownerState:g},m,{children:a}))});var rn=y7,o1={},Ft={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ft);var Ut={},x7=tD(P8);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=x7})(Ut);var b7=Ft.exports;Object.defineProperty(o1,"__esModule",{value:!0});var kR=o1.default=void 0,_7=b7(Ut),C7=D.exports,E7=(0,_7.default)((0,C7.jsx)("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"}),"LightMode");kR=o1.default=E7;var i1={},w7=Ft.exports;Object.defineProperty(i1,"__esModule",{value:!0});var AR=i1.default=void 0,S7=w7(Ut),$7=D.exports,P7=(0,S7.default)((0,$7.jsx)("path",{d:"M14 2c1.82 0 3.53.5 5 1.35-2.99 1.73-5 4.95-5 8.65s2.01 6.92 5 8.65c-1.47.85-3.18 1.35-5 1.35-5.52 0-10-4.48-10-10S8.48 2 14 2z"}),"Nightlight");AR=i1.default=P7;var a1={};Object.defineProperty(a1,"__esModule",{value:!0});var LR=a1.default=void 0;const R7={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};var T7=R7;LR=a1.default=T7;const MR=C.exports.createContext({}),I7=({children:e})=>{const[t,n]=C.exports.useState(),[r,o]=C.exports.useState(sys),[a,l]=C.exports.useState({}),[u,c]=C.exports.useState([]),[f,p]=C.exports.useState(!1);return S.createElement(MR.Provider,{value:{currentSys:t,setCurrentSys:n,currentUnit:r,setCurrentUnit:o,currentUnitGroup:a,setCurrentUnitGroup:l,alarmsContext:u,setAlarmsContext:c,eventLogIsOpenContext:f,setEventLogIsOpenContext:p}},e)},Yt=()=>C.exports.useContext(MR),O7=C.exports.createContext({});var rl=O7;function k7(e){return De("MuiList",e)}Ne("MuiList",["root","padding","dense","subheader"]);const A7=["children","className","component","dense","disablePadding","subheader"],L7=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Be({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},k7,t)},M7=he("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>R({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),N7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiList"}),{children:o,className:a,component:l="ul",dense:u=!1,disablePadding:c=!1,subheader:f}=r,p=ye(r,A7),m=C.exports.useMemo(()=>({dense:u}),[u]),g=R({},r,{component:l,dense:u,disablePadding:c}),x=L7(g);return D.exports.jsx(rl.Provider,{value:m,children:D.exports.jsxs(M7,R({as:l,className:_e(x.root,a),ref:n,ownerState:g},p,{children:[f,o]}))})});var ml=N7;function D7(e){return De("MuiCollapse",e)}Ne("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const B7=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],F7=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Be(r,D7,n)},U7=he("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>R({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&R({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),z7=he("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>R({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),j7=he("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>R({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),NR=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiCollapse"}),{addEndListener:o,children:a,className:l,collapsedSize:u="0px",component:c,easing:f,in:p,onEnter:m,onEntered:g,onEntering:x,onExit:E,onExited:b,onExiting:y,orientation:v="vertical",style:_,timeout:w=yR.standard,TransitionComponent:P=vh}=r,A=ye(r,B7),k=R({},r,{orientation:v,collapsedSize:u}),I=F7(k),L=Co(),N=C.exports.useRef(),B=C.exports.useRef(null),V=C.exports.useRef(),ee=typeof u=="number"?`${u}px`:u,X=v==="horizontal",ie=X?"width":"height";C.exports.useEffect(()=>()=>{clearTimeout(N.current)},[]);const J=C.exports.useRef(null),G=yt(n,J),j=U=>Y=>{if(U){const re=J.current;Y===void 0?U(re):U(re,Y)}},te=()=>B.current?B.current[X?"clientWidth":"clientHeight"]:0,ne=j((U,Y)=>{B.current&&X&&(B.current.style.position="absolute"),U.style[ie]=ee,m&&m(U,Y)}),me=j((U,Y)=>{const re=te();B.current&&X&&(B.current.style.position="");const{duration:fe,easing:we}=qi({style:_,timeout:w,easing:f},{mode:"enter"});if(w==="auto"){const ke=L.transitions.getAutoHeightDuration(re);U.style.transitionDuration=`${ke}ms`,V.current=ke}else U.style.transitionDuration=typeof fe=="string"?fe:`${fe}ms`;U.style[ie]=`${re}px`,U.style.transitionTimingFunction=we,x&&x(U,Y)}),H=j((U,Y)=>{U.style[ie]="auto",g&&g(U,Y)}),q=j(U=>{U.style[ie]=`${te()}px`,E&&E(U)}),Z=j(b),ue=j(U=>{const Y=te(),{duration:re,easing:fe}=qi({style:_,timeout:w,easing:f},{mode:"exit"});if(w==="auto"){const we=L.transitions.getAutoHeightDuration(Y);U.style.transitionDuration=`${we}ms`,V.current=we}else U.style.transitionDuration=typeof re=="string"?re:`${re}ms`;U.style[ie]=ee,U.style.transitionTimingFunction=fe,y&&y(U)}),K=U=>{w==="auto"&&(N.current=setTimeout(U,V.current||0)),o&&o(J.current,U)};return D.exports.jsx(P,R({in:p,onEnter:ne,onEntered:H,onEntering:me,onExit:q,onExited:Z,onExiting:ue,addEndListener:K,nodeRef:J,timeout:w==="auto"?null:w},A,{children:(U,Y)=>D.exports.jsx(U7,R({as:c,className:_e(I.root,l,{entered:I.entered,exited:!p&&ee==="0px"&&I.hidden}[U]),style:R({[X?"minWidth":"minHeight"]:ee},_),ownerState:R({},k,{state:U}),ref:G},Y,{children:D.exports.jsx(z7,{ownerState:R({},k,{state:U}),className:I.wrapper,ref:B,children:D.exports.jsx(j7,{ownerState:R({},k,{state:U}),className:I.wrapperInner,children:a})})}))}))});NR.muiSupportAuto=!0;var s1=NR;function W7(e){return De("MuiTypography",e)}Ne("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const H7=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],V7=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${ce(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Be(u,W7,l)},G7=he("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ce(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>R({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Sw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},K7={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},q7=e=>K7[e]||e,Y7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTypography"}),o=q7(r.color),a=jy(R({},r,{color:o})),{align:l="inherit",className:u,component:c,gutterBottom:f=!1,noWrap:p=!1,paragraph:m=!1,variant:g="body1",variantMapping:x=Sw}=a,E=ye(a,H7),b=R({},a,{align:l,color:o,className:u,component:c,gutterBottom:f,noWrap:p,paragraph:m,variant:g,variantMapping:x}),y=c||(m?"p":x[g]||Sw[g])||"span",v=V7(b);return D.exports.jsx(G7,R({as:y,ref:n,ownerState:b,className:_e(v.root,u)},E))});var on=Y7;function X7(e){return De("MuiListItemText",e)}const Q7=Ne("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var lp=Q7;const Z7=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],J7=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:a}=e;return Be({root:["root",n&&"inset",a&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},X7,t)},eH=he("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${lp.primary}`]:t.primary},{[`& .${lp.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>R({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),tH=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiListItemText"}),{children:o,className:a,disableTypography:l=!1,inset:u=!1,primary:c,primaryTypographyProps:f,secondary:p,secondaryTypographyProps:m}=r,g=ye(r,Z7),{dense:x}=C.exports.useContext(rl);let E=c!=null?c:o,b=p;const y=R({},r,{disableTypography:l,inset:u,primary:!!E,secondary:!!b,dense:x}),v=J7(y);return E!=null&&E.type!==on&&!l&&(E=D.exports.jsx(on,R({variant:x?"body2":"body1",className:v.primary,component:"span",display:"block"},f,{children:E}))),b!=null&&b.type!==on&&!l&&(b=D.exports.jsx(on,R({variant:"body2",className:v.secondary,color:"text.secondary",display:"block"},m,{children:b}))),D.exports.jsxs(eH,R({className:_e(v.root,a),ownerState:y,ref:n},g,{children:[E,b]}))});var Hc=tH;function nH(e){return De("MuiListItemButton",e)}const rH=Ne("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);var pu=rH;const oH=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected"],iH=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},aH=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:a,divider:l,selected:u}=e,f=Be({root:["root",r&&"dense",!a&&"gutters",l&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},nH,n);return R({},n,f)},sH=he(Da,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:iH})(({theme:e,ownerState:t})=>R({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${pu.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${pu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${pu.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${pu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${pu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),lH=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:a=!1,component:l="div",children:u,dense:c=!1,disableGutters:f=!1,divider:p=!1,focusVisibleClassName:m,selected:g=!1}=r,x=ye(r,oH),E=C.exports.useContext(rl),b={dense:c||E.dense||!1,alignItems:o,disableGutters:f},y=C.exports.useRef(null);xo(()=>{a&&y.current&&y.current.focus()},[a]);const v=R({},r,{alignItems:o,dense:b.dense,disableGutters:f,divider:p,selected:g}),_=aH(v),w=yt(y,n);return D.exports.jsx(rl.Provider,{value:b,children:D.exports.jsx(sH,R({ref:w,href:x.href||x.to,component:(x.href||x.to)&&l==="div"?"a":l,focusVisibleClassName:_e(_.focusVisible,m),ownerState:v},x,{classes:_,children:u}))})});var ol=lH,l1={},uH=Ft.exports;Object.defineProperty(l1,"__esModule",{value:!0});var up=l1.default=void 0,cH=uH(Ut),dH=D.exports,fH=(0,cH.default)((0,dH.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");up=l1.default=fH;function pH(){this.__data__=[],this.size=0}var hH=pH;function gH(e,t){return e===t||e!==e&&t!==t}var u1=gH,mH=u1;function vH(e,t){for(var n=e.length;n--;)if(mH(e[n][0],t))return n;return-1}var xh=vH,yH=xh,xH=Array.prototype,bH=xH.splice;function _H(e){var t=this.__data__,n=yH(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():bH.call(t,n,1),--this.size,!0}var CH=_H,EH=xh;function wH(e){var t=this.__data__,n=EH(t,e);return n<0?void 0:t[n][1]}var SH=wH,$H=xh;function PH(e){return $H(this.__data__,e)>-1}var RH=PH,TH=xh;function IH(e,t){var n=this.__data__,r=TH(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var OH=IH,kH=hH,AH=CH,LH=SH,MH=RH,NH=OH;function vl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vl.prototype.clear=kH;vl.prototype.delete=AH;vl.prototype.get=LH;vl.prototype.has=MH;vl.prototype.set=NH;var bh=vl,DH=bh;function BH(){this.__data__=new DH,this.size=0}var FH=BH;function UH(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var zH=UH;function jH(e){return this.__data__.get(e)}var WH=jH;function HH(e){return this.__data__.has(e)}var VH=HH,GH=typeof ni=="object"&&ni&&ni.Object===Object&&ni,DR=GH,KH=DR,qH=typeof self=="object"&&self&&self.Object===Object&&self,YH=KH||qH||Function("return this")(),vr=YH,XH=vr,QH=XH.Symbol,yl=QH,$w=yl,BR=Object.prototype,ZH=BR.hasOwnProperty,JH=BR.toString,hu=$w?$w.toStringTag:void 0;function eV(e){var t=ZH.call(e,hu),n=e[hu];try{e[hu]=void 0;var r=!0}catch{}var o=JH.call(e);return r&&(t?e[hu]=n:delete e[hu]),o}var tV=eV,nV=Object.prototype,rV=nV.toString;function oV(e){return rV.call(e)}var iV=oV,Pw=yl,aV=tV,sV=iV,lV="[object Null]",uV="[object Undefined]",Rw=Pw?Pw.toStringTag:void 0;function cV(e){return e==null?e===void 0?uV:lV:Rw&&Rw in Object(e)?aV(e):sV(e)}var Ha=cV;function dV(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var fi=dV,fV=Ha,pV=fi,hV="[object AsyncFunction]",gV="[object Function]",mV="[object GeneratorFunction]",vV="[object Proxy]";function yV(e){if(!pV(e))return!1;var t=fV(e);return t==gV||t==mV||t==hV||t==vV}var c1=yV,xV=vr,bV=xV["__core-js_shared__"],_V=bV,Um=_V,Tw=function(){var e=/[^.]+$/.exec(Um&&Um.keys&&Um.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function CV(e){return!!Tw&&Tw in e}var EV=CV,wV=Function.prototype,SV=wV.toString;function $V(e){if(e!=null){try{return SV.call(e)}catch{}try{return e+""}catch{}}return""}var FR=$V,PV=c1,RV=EV,TV=fi,IV=FR,OV=/[\\^$.*+?()[\]{}|]/g,kV=/^\[object .+?Constructor\]$/,AV=Function.prototype,LV=Object.prototype,MV=AV.toString,NV=LV.hasOwnProperty,DV=RegExp("^"+MV.call(NV).replace(OV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function BV(e){if(!TV(e)||RV(e))return!1;var t=PV(e)?DV:kV;return t.test(IV(e))}var FV=BV;function UV(e,t){return e==null?void 0:e[t]}var zV=UV,jV=FV,WV=zV;function HV(e,t){var n=WV(e,t);return jV(n)?n:void 0}var Va=HV,VV=Va,GV=vr,KV=VV(GV,"Map"),d1=KV,qV=Va,YV=qV(Object,"create"),_h=YV,Iw=_h;function XV(){this.__data__=Iw?Iw(null):{},this.size=0}var QV=XV;function ZV(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var JV=ZV,eG=_h,tG="__lodash_hash_undefined__",nG=Object.prototype,rG=nG.hasOwnProperty;function oG(e){var t=this.__data__;if(eG){var n=t[e];return n===tG?void 0:n}return rG.call(t,e)?t[e]:void 0}var iG=oG,aG=_h,sG=Object.prototype,lG=sG.hasOwnProperty;function uG(e){var t=this.__data__;return aG?t[e]!==void 0:lG.call(t,e)}var cG=uG,dG=_h,fG="__lodash_hash_undefined__";function pG(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=dG&&t===void 0?fG:t,this}var hG=pG,gG=QV,mG=JV,vG=iG,yG=cG,xG=hG;function xl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}xl.prototype.clear=gG;xl.prototype.delete=mG;xl.prototype.get=vG;xl.prototype.has=yG;xl.prototype.set=xG;var bG=xl,Ow=bG,_G=bh,CG=d1;function EG(){this.size=0,this.__data__={hash:new Ow,map:new(CG||_G),string:new Ow}}var wG=EG;function SG(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var $G=SG,PG=$G;function RG(e,t){var n=e.__data__;return PG(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Ch=RG,TG=Ch;function IG(e){var t=TG(this,e).delete(e);return this.size-=t?1:0,t}var OG=IG,kG=Ch;function AG(e){return kG(this,e).get(e)}var LG=AG,MG=Ch;function NG(e){return MG(this,e).has(e)}var DG=NG,BG=Ch;function FG(e,t){var n=BG(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var UG=FG,zG=wG,jG=OG,WG=LG,HG=DG,VG=UG;function bl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}bl.prototype.clear=zG;bl.prototype.delete=jG;bl.prototype.get=WG;bl.prototype.has=HG;bl.prototype.set=VG;var f1=bl,GG=bh,KG=d1,qG=f1,YG=200;function XG(e,t){var n=this.__data__;if(n instanceof GG){var r=n.__data__;if(!KG||r.length<YG-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qG(r)}return n.set(e,t),this.size=n.size,this}var QG=XG,ZG=bh,JG=FH,eK=zH,tK=WH,nK=VH,rK=QG;function _l(e){var t=this.__data__=new ZG(e);this.size=t.size}_l.prototype.clear=JG;_l.prototype.delete=eK;_l.prototype.get=tK;_l.prototype.has=nK;_l.prototype.set=rK;var p1=_l;function oK(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var h1=oK,iK=Va,aK=function(){try{var e=iK(Object,"defineProperty");return e({},"",{}),e}catch{}}(),UR=aK,kw=UR;function sK(e,t,n){t=="__proto__"&&kw?kw(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var zR=sK,lK=zR,uK=u1,cK=Object.prototype,dK=cK.hasOwnProperty;function fK(e,t,n){var r=e[t];(!(dK.call(e,t)&&uK(r,n))||n===void 0&&!(t in e))&&lK(e,t,n)}var g1=fK,pK=g1,hK=zR;function gK(e,t,n,r){var o=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),o?hK(n,u,c):pK(n,u,c)}return n}var Vc=gK;function mK(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var vK=mK;function yK(e){return e!=null&&typeof e=="object"}var ao=yK,xK=Ha,bK=ao,_K="[object Arguments]";function CK(e){return bK(e)&&xK(e)==_K}var EK=CK,Aw=EK,wK=ao,jR=Object.prototype,SK=jR.hasOwnProperty,$K=jR.propertyIsEnumerable,PK=Aw(function(){return arguments}())?Aw:function(e){return wK(e)&&SK.call(e,"callee")&&!$K.call(e,"callee")},Eh=PK,RK=Array.isArray,Gn=RK,il={exports:{}};function TK(){return!1}var IK=TK;(function(e,t){var n=vr,r=IK,o=t&&!t.nodeType&&t,a=o&&!0&&e&&!e.nodeType&&e,l=a&&a.exports===o,u=l?n.Buffer:void 0,c=u?u.isBuffer:void 0,f=c||r;e.exports=f})(il,il.exports);var OK=9007199254740991,kK=/^(?:0|[1-9]\d*)$/;function AK(e,t){var n=typeof e;return t=t==null?OK:t,!!t&&(n=="number"||n!="symbol"&&kK.test(e))&&e>-1&&e%1==0&&e<t}var wh=AK,LK=9007199254740991;function MK(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=LK}var m1=MK,NK=Ha,DK=m1,BK=ao,FK="[object Arguments]",UK="[object Array]",zK="[object Boolean]",jK="[object Date]",WK="[object Error]",HK="[object Function]",VK="[object Map]",GK="[object Number]",KK="[object Object]",qK="[object RegExp]",YK="[object Set]",XK="[object String]",QK="[object WeakMap]",ZK="[object ArrayBuffer]",JK="[object DataView]",eq="[object Float32Array]",tq="[object Float64Array]",nq="[object Int8Array]",rq="[object Int16Array]",oq="[object Int32Array]",iq="[object Uint8Array]",aq="[object Uint8ClampedArray]",sq="[object Uint16Array]",lq="[object Uint32Array]",Kt={};Kt[eq]=Kt[tq]=Kt[nq]=Kt[rq]=Kt[oq]=Kt[iq]=Kt[aq]=Kt[sq]=Kt[lq]=!0;Kt[FK]=Kt[UK]=Kt[ZK]=Kt[zK]=Kt[JK]=Kt[jK]=Kt[WK]=Kt[HK]=Kt[VK]=Kt[GK]=Kt[KK]=Kt[qK]=Kt[YK]=Kt[XK]=Kt[QK]=!1;function uq(e){return BK(e)&&DK(e.length)&&!!Kt[NK(e)]}var cq=uq;function dq(e){return function(t){return e(t)}}var Sh=dq,Cc={exports:{}};(function(e,t){var n=DR,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===r,l=a&&n.process,u=function(){try{var c=o&&o.require&&o.require("util").types;return c||l&&l.binding&&l.binding("util")}catch{}}();e.exports=u})(Cc,Cc.exports);var fq=cq,pq=Sh,Lw=Cc.exports,Mw=Lw&&Lw.isTypedArray,hq=Mw?pq(Mw):fq,v1=hq,gq=vK,mq=Eh,vq=Gn,yq=il.exports,xq=wh,bq=v1,_q=Object.prototype,Cq=_q.hasOwnProperty;function Eq(e,t){var n=vq(e),r=!n&&mq(e),o=!n&&!r&&yq(e),a=!n&&!r&&!o&&bq(e),l=n||r||o||a,u=l?gq(e.length,String):[],c=u.length;for(var f in e)(t||Cq.call(e,f))&&!(l&&(f=="length"||o&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||xq(f,c)))&&u.push(f);return u}var WR=Eq,wq=Object.prototype;function Sq(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||wq;return e===n}var $h=Sq;function $q(e,t){return function(n){return e(t(n))}}var HR=$q,Pq=HR,Rq=Pq(Object.keys,Object),Tq=Rq,Iq=$h,Oq=Tq,kq=Object.prototype,Aq=kq.hasOwnProperty;function Lq(e){if(!Iq(e))return Oq(e);var t=[];for(var n in Object(e))Aq.call(e,n)&&n!="constructor"&&t.push(n);return t}var y1=Lq,Mq=c1,Nq=m1;function Dq(e){return e!=null&&Nq(e.length)&&!Mq(e)}var Cl=Dq,Bq=WR,Fq=y1,Uq=Cl;function zq(e){return Uq(e)?Bq(e):Fq(e)}var El=zq,jq=Vc,Wq=El;function Hq(e,t){return e&&jq(t,Wq(t),e)}var VR=Hq;function Vq(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Gq=Vq,Kq=fi,qq=$h,Yq=Gq,Xq=Object.prototype,Qq=Xq.hasOwnProperty;function Zq(e){if(!Kq(e))return Yq(e);var t=qq(e),n=[];for(var r in e)r=="constructor"&&(t||!Qq.call(e,r))||n.push(r);return n}var Jq=Zq,eY=WR,tY=Jq,nY=Cl;function rY(e){return nY(e)?eY(e,!0):tY(e)}var x1=rY,oY=Vc,iY=x1;function aY(e,t){return e&&oY(t,iY(t),e)}var sY=aY,p0={exports:{}};(function(e,t){var n=vr,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===r,l=a?n.Buffer:void 0,u=l?l.allocUnsafe:void 0;function c(f,p){if(p)return f.slice();var m=f.length,g=u?u(m):new f.constructor(m);return f.copy(g),g}e.exports=c})(p0,p0.exports);function lY(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Ph=lY;function uY(e,t){for(var n=-1,r=e==null?0:e.length,o=0,a=[];++n<r;){var l=e[n];t(l,n,e)&&(a[o++]=l)}return a}var cY=uY;function dY(){return[]}var GR=dY,fY=cY,pY=GR,hY=Object.prototype,gY=hY.propertyIsEnumerable,Nw=Object.getOwnPropertySymbols,mY=Nw?function(e){return e==null?[]:(e=Object(e),fY(Nw(e),function(t){return gY.call(e,t)}))}:pY,b1=mY,vY=Vc,yY=b1;function xY(e,t){return vY(e,yY(e),t)}var bY=xY;function _Y(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var _1=_Y,CY=HR,EY=CY(Object.getPrototypeOf,Object),C1=EY,wY=_1,SY=C1,$Y=b1,PY=GR,RY=Object.getOwnPropertySymbols,TY=RY?function(e){for(var t=[];e;)wY(t,$Y(e)),e=SY(e);return t}:PY,KR=TY,IY=Vc,OY=KR;function kY(e,t){return IY(e,OY(e),t)}var AY=kY,LY=_1,MY=Gn;function NY(e,t,n){var r=t(e);return MY(e)?r:LY(r,n(e))}var qR=NY,DY=qR,BY=b1,FY=El;function UY(e){return DY(e,FY,BY)}var YR=UY,zY=qR,jY=KR,WY=x1;function HY(e){return zY(e,WY,jY)}var E1=HY,VY=Va,GY=vr,KY=VY(GY,"DataView"),qY=KY,YY=Va,XY=vr,QY=YY(XY,"Promise"),ZY=QY,JY=Va,eX=vr,tX=JY(eX,"Set"),nX=tX,rX=Va,oX=vr,iX=rX(oX,"WeakMap"),XR=iX,h0=qY,g0=d1,m0=ZY,v0=nX,y0=XR,QR=Ha,wl=FR,Dw="[object Map]",aX="[object Object]",Bw="[object Promise]",Fw="[object Set]",Uw="[object WeakMap]",zw="[object DataView]",sX=wl(h0),lX=wl(g0),uX=wl(m0),cX=wl(v0),dX=wl(y0),va=QR;(h0&&va(new h0(new ArrayBuffer(1)))!=zw||g0&&va(new g0)!=Dw||m0&&va(m0.resolve())!=Bw||v0&&va(new v0)!=Fw||y0&&va(new y0)!=Uw)&&(va=function(e){var t=QR(e),n=t==aX?e.constructor:void 0,r=n?wl(n):"";if(r)switch(r){case sX:return zw;case lX:return Dw;case uX:return Bw;case cX:return Fw;case dX:return Uw}return t});var Sl=va,fX=Object.prototype,pX=fX.hasOwnProperty;function hX(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&pX.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var gX=hX,mX=vr,vX=mX.Uint8Array,ZR=vX,jw=ZR;function yX(e){var t=new e.constructor(e.byteLength);return new jw(t).set(new jw(e)),t}var w1=yX,xX=w1;function bX(e,t){var n=t?xX(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var _X=bX,CX=/\w*$/;function EX(e){var t=new e.constructor(e.source,CX.exec(e));return t.lastIndex=e.lastIndex,t}var wX=EX,Ww=yl,Hw=Ww?Ww.prototype:void 0,Vw=Hw?Hw.valueOf:void 0;function SX(e){return Vw?Object(Vw.call(e)):{}}var $X=SX,PX=w1;function RX(e,t){var n=t?PX(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var TX=RX,IX=w1,OX=_X,kX=wX,AX=$X,LX=TX,MX="[object Boolean]",NX="[object Date]",DX="[object Map]",BX="[object Number]",FX="[object RegExp]",UX="[object Set]",zX="[object String]",jX="[object Symbol]",WX="[object ArrayBuffer]",HX="[object DataView]",VX="[object Float32Array]",GX="[object Float64Array]",KX="[object Int8Array]",qX="[object Int16Array]",YX="[object Int32Array]",XX="[object Uint8Array]",QX="[object Uint8ClampedArray]",ZX="[object Uint16Array]",JX="[object Uint32Array]";function eQ(e,t,n){var r=e.constructor;switch(t){case WX:return IX(e);case MX:case NX:return new r(+e);case HX:return OX(e,n);case VX:case GX:case KX:case qX:case YX:case XX:case QX:case ZX:case JX:return LX(e,n);case DX:return new r;case BX:case zX:return new r(e);case FX:return kX(e);case UX:return new r;case jX:return AX(e)}}var tQ=eQ,nQ=fi,Gw=Object.create,rQ=function(){function e(){}return function(t){if(!nQ(t))return{};if(Gw)return Gw(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Rh=rQ,oQ=Rh,iQ=C1,aQ=$h;function sQ(e){return typeof e.constructor=="function"&&!aQ(e)?oQ(iQ(e)):{}}var lQ=sQ,uQ=Sl,cQ=ao,dQ="[object Map]";function fQ(e){return cQ(e)&&uQ(e)==dQ}var pQ=fQ,hQ=pQ,gQ=Sh,Kw=Cc.exports,qw=Kw&&Kw.isMap,mQ=qw?gQ(qw):hQ,vQ=mQ,yQ=Sl,xQ=ao,bQ="[object Set]";function _Q(e){return xQ(e)&&yQ(e)==bQ}var CQ=_Q,EQ=CQ,wQ=Sh,Yw=Cc.exports,Xw=Yw&&Yw.isSet,SQ=Xw?wQ(Xw):EQ,$Q=SQ,PQ=p1,RQ=h1,TQ=g1,IQ=VR,OQ=sY,kQ=p0.exports,AQ=Ph,LQ=bY,MQ=AY,NQ=YR,DQ=E1,BQ=Sl,FQ=gX,UQ=tQ,zQ=lQ,jQ=Gn,WQ=il.exports,HQ=vQ,VQ=fi,GQ=$Q,KQ=El,qQ=x1,YQ=1,XQ=2,QQ=4,JR="[object Arguments]",ZQ="[object Array]",JQ="[object Boolean]",eZ="[object Date]",tZ="[object Error]",eT="[object Function]",nZ="[object GeneratorFunction]",rZ="[object Map]",oZ="[object Number]",tT="[object Object]",iZ="[object RegExp]",aZ="[object Set]",sZ="[object String]",lZ="[object Symbol]",uZ="[object WeakMap]",cZ="[object ArrayBuffer]",dZ="[object DataView]",fZ="[object Float32Array]",pZ="[object Float64Array]",hZ="[object Int8Array]",gZ="[object Int16Array]",mZ="[object Int32Array]",vZ="[object Uint8Array]",yZ="[object Uint8ClampedArray]",xZ="[object Uint16Array]",bZ="[object Uint32Array]",Wt={};Wt[JR]=Wt[ZQ]=Wt[cZ]=Wt[dZ]=Wt[JQ]=Wt[eZ]=Wt[fZ]=Wt[pZ]=Wt[hZ]=Wt[gZ]=Wt[mZ]=Wt[rZ]=Wt[oZ]=Wt[tT]=Wt[iZ]=Wt[aZ]=Wt[sZ]=Wt[lZ]=Wt[vZ]=Wt[yZ]=Wt[xZ]=Wt[bZ]=!0;Wt[tZ]=Wt[eT]=Wt[uZ]=!1;function Of(e,t,n,r,o,a){var l,u=t&YQ,c=t&XQ,f=t&QQ;if(n&&(l=o?n(e,r,o,a):n(e)),l!==void 0)return l;if(!VQ(e))return e;var p=jQ(e);if(p){if(l=FQ(e),!u)return AQ(e,l)}else{var m=BQ(e),g=m==eT||m==nZ;if(WQ(e))return kQ(e,u);if(m==tT||m==JR||g&&!o){if(l=c||g?{}:zQ(e),!u)return c?MQ(e,OQ(l,e)):LQ(e,IQ(l,e))}else{if(!Wt[m])return o?e:{};l=UQ(e,m,u)}}a||(a=new PQ);var x=a.get(e);if(x)return x;a.set(e,l),GQ(e)?e.forEach(function(y){l.add(Of(y,t,n,y,e,a))}):HQ(e)&&e.forEach(function(y,v){l.set(v,Of(y,t,n,v,e,a))});var E=f?c?DQ:NQ:c?qQ:KQ,b=p?void 0:E(e);return RQ(b||e,function(y,v){b&&(v=y,y=e[v]),TQ(l,v,Of(y,t,n,v,e,a))}),l}var Th=Of,_Z=Th,CZ=1,EZ=4;function wZ(e){return _Z(e,CZ|EZ)}var vn=wZ,S1={},SZ=Ft.exports;Object.defineProperty(S1,"__esModule",{value:!0});var Ih=S1.default=void 0,$Z=SZ(Ut),PZ=D.exports,RZ=(0,$Z.default)((0,PZ.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");Ih=S1.default=RZ;var $1={},TZ=Ft.exports;Object.defineProperty($1,"__esModule",{value:!0});var nT=$1.default=void 0,IZ=TZ(Ut),OZ=D.exports,kZ=(0,IZ.default)((0,OZ.jsx)("path",{d:"M22 9V7h-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2v-2h-2V9h2zm-4 10H4V5h14v14zM6 13h5v4H6zm6-6h4v3h-4zM6 7h5v5H6zm6 4h4v6h-4z"}),"DeveloperBoard");nT=$1.default=kZ;const AZ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function x0(e){return`scale(${e}, ${e**2})`}const LZ={entering:{opacity:1,transform:x0(1)},entered:{opacity:1,transform:"none"}},zm=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),rT=C.exports.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:a,easing:l,in:u,onEnter:c,onEntered:f,onEntering:p,onExit:m,onExited:g,onExiting:x,style:E,timeout:b="auto",TransitionComponent:y=vh}=t,v=ye(t,AZ),_=C.exports.useRef(),w=C.exports.useRef(),P=Co(),A=C.exports.useRef(null),k=yt(a.ref,n),I=yt(A,k),L=G=>j=>{if(G){const te=A.current;j===void 0?G(te):G(te,j)}},N=L(p),B=L((G,j)=>{n1(G);const{duration:te,delay:ne,easing:me}=qi({style:E,timeout:b,easing:l},{mode:"enter"});let H;b==="auto"?(H=P.transitions.getAutoHeightDuration(G.clientHeight),w.current=H):H=te,G.style.transition=[P.transitions.create("opacity",{duration:H,delay:ne}),P.transitions.create("transform",{duration:zm?H:H*.666,delay:ne,easing:me})].join(","),c&&c(G,j)}),V=L(f),ee=L(x),X=L(G=>{const{duration:j,delay:te,easing:ne}=qi({style:E,timeout:b,easing:l},{mode:"exit"});let me;b==="auto"?(me=P.transitions.getAutoHeightDuration(G.clientHeight),w.current=me):me=j,G.style.transition=[P.transitions.create("opacity",{duration:me,delay:te}),P.transitions.create("transform",{duration:zm?me:me*.666,delay:zm?te:te||me*.333,easing:ne})].join(","),G.style.opacity=0,G.style.transform=x0(.75),m&&m(G)}),ie=L(g),J=G=>{b==="auto"&&(_.current=setTimeout(G,w.current||0)),r&&r(A.current,G)};return C.exports.useEffect(()=>()=>{clearTimeout(_.current)},[]),D.exports.jsx(y,R({appear:o,in:u,nodeRef:A,onEnter:B,onEntered:V,onEntering:N,onExit:X,onExited:ie,onExiting:ee,addEndListener:J,timeout:b==="auto"?null:b},v,{children:(G,j)=>C.exports.cloneElement(a,R({style:R({opacity:0,transform:x0(.75),visibility:G==="exited"&&!u?"hidden":void 0},LZ[G],E,a.props.style),ref:I},j))}))});rT.muiSupportAuto=!0;var b0=rT;const MZ=he(xj,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),NZ=C.exports.forwardRef(function(t,n){const r=nR(),o=Ue({props:t,name:"MuiPopper"});return D.exports.jsx(MZ,R({direction:r==null?void 0:r.direction},o,{ref:n}))});var Gc=NZ;function DZ(e){return De("MuiTooltip",e)}const BZ=Ne("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var Yr=BZ;const FZ=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];function UZ(e){return Math.round(e*1e5)/1e5}const zZ=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ce(a.split("-")[0])}`],arrow:["arrow"]};return Be(l,DZ,t)},jZ=he(Gc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>R({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Yr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Yr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Yr.arrow}`]:R({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Yr.arrow}`]:R({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),WZ=he("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ce(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>R({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:st(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${UZ(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Yr.popper}[data-popper-placement*="left"] &`]:R({transformOrigin:"right center"},t.isRtl?R({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):R({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Yr.popper}[data-popper-placement*="right"] &`]:R({transformOrigin:"left center"},t.isRtl?R({marginRight:"14px"},t.touch&&{marginRight:"24px"}):R({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Yr.popper}[data-popper-placement*="top"] &`]:R({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Yr.popper}[data-popper-placement*="bottom"] &`]:R({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),HZ=he("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:st(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let sf=!1,jm=null;function lf(e,t){return n=>{t&&t(n),e(n)}}const VZ=C.exports.forwardRef(function(t,n){var r,o,a,l,u,c;const f=Ue({props:t,name:"MuiTooltip"}),{arrow:p=!1,children:m,components:g={},componentsProps:x={},describeChild:E=!1,disableFocusListener:b=!1,disableHoverListener:y=!1,disableInteractive:v=!1,disableTouchListener:_=!1,enterDelay:w=100,enterNextDelay:P=0,enterTouchDelay:A=700,followCursor:k=!1,id:I,leaveDelay:L=0,leaveTouchDelay:N=1500,onClose:B,onOpen:V,open:ee,placement:X="bottom",PopperComponent:ie,PopperProps:J={},title:G,TransitionComponent:j=b0,TransitionProps:te}=f,ne=ye(f,FZ),me=Co(),H=me.direction==="rtl",[q,Z]=C.exports.useState(),[ue,K]=C.exports.useState(null),U=C.exports.useRef(!1),Y=v||k,re=C.exports.useRef(),fe=C.exports.useRef(),we=C.exports.useRef(),ke=C.exports.useRef(),[Ie,Ce]=Fi({controlled:ee,default:!1,name:"Tooltip",state:"open"});let We=Ie;const Me=La(I),dt=C.exports.useRef(),ze=C.exports.useCallback(()=>{dt.current!==void 0&&(document.body.style.WebkitUserSelect=dt.current,dt.current=void 0),clearTimeout(ke.current)},[]);C.exports.useEffect(()=>()=>{clearTimeout(re.current),clearTimeout(fe.current),clearTimeout(we.current),ze()},[ze]);const bt=Je=>{clearTimeout(jm),sf=!0,Ce(!0),V&&!We&&V(Je)},It=$r(Je=>{clearTimeout(jm),jm=setTimeout(()=>{sf=!1},800+L),Ce(!1),B&&We&&B(Je),clearTimeout(re.current),re.current=setTimeout(()=>{U.current=!1},me.transitions.duration.shortest)}),Ge=Je=>{U.current&&Je.type!=="touchstart"||(q&&q.removeAttribute("title"),clearTimeout(fe.current),clearTimeout(we.current),w||sf&&P?fe.current=setTimeout(()=>{bt(Je)},sf?P:w):bt(Je))},qe=Je=>{clearTimeout(fe.current),clearTimeout(we.current),we.current=setTimeout(()=>{It(Je)},L)},{isFocusVisibleRef:mt,onBlur:zt,onFocus:nt,ref:rt}=Jp(),[,ft]=C.exports.useState(!1),Pe=Je=>{zt(Je),mt.current===!1&&(ft(!1),qe(Je))},be=Je=>{q||Z(Je.currentTarget),nt(Je),mt.current===!0&&(ft(!0),Ge(Je))},Xe=Je=>{U.current=!0;const cn=m.props;cn.onTouchStart&&cn.onTouchStart(Je)},Se=Ge,et=qe,At=Je=>{Xe(Je),clearTimeout(we.current),clearTimeout(re.current),ze(),dt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ke.current=setTimeout(()=>{document.body.style.WebkitUserSelect=dt.current,Ge(Je)},A)},Xt=Je=>{m.props.onTouchEnd&&m.props.onTouchEnd(Je),ze(),clearTimeout(we.current),we.current=setTimeout(()=>{It(Je)},N)};C.exports.useEffect(()=>{if(!We)return;function Je(cn){(cn.key==="Escape"||cn.key==="Esc")&&It(cn)}return document.addEventListener("keydown",Je),()=>{document.removeEventListener("keydown",Je)}},[It,We]);const Cn=yt(Z,n),Tn=yt(rt,Cn),Nn=yt(m.ref,Tn);G===""&&(We=!1);const tn=C.exports.useRef({x:0,y:0}),xe=C.exports.useRef(),Ae=Je=>{const cn=m.props;cn.onMouseMove&&cn.onMouseMove(Je),tn.current={x:Je.clientX,y:Je.clientY},xe.current&&xe.current.update()},Le={},at=typeof G=="string";E?(Le.title=!We&&at&&!y?G:null,Le["aria-describedby"]=We?Me:null):(Le["aria-label"]=at?G:null,Le["aria-labelledby"]=We&&!at?Me:null);const pt=R({},Le,ne,m.props,{className:_e(ne.className,m.props.className),onTouchStart:Xe,ref:Nn},k?{onMouseMove:Ae}:{}),Mr={};_||(pt.onTouchStart=At,pt.onTouchEnd=Xt),y||(pt.onMouseOver=lf(Se,pt.onMouseOver),pt.onMouseLeave=lf(et,pt.onMouseLeave),Y||(Mr.onMouseOver=Se,Mr.onMouseLeave=et)),b||(pt.onFocus=lf(be,pt.onFocus),pt.onBlur=lf(Pe,pt.onBlur),Y||(Mr.onFocus=be,Mr.onBlur=Pe));const Ho=C.exports.useMemo(()=>{var Je;let cn=[{name:"arrow",enabled:Boolean(ue),options:{element:ue,padding:4}}];return(Je=J.popperOptions)!=null&&Je.modifiers&&(cn=cn.concat(J.popperOptions.modifiers)),R({},J.popperOptions,{modifiers:cn})},[ue,J]),Kn=R({},f,{isRtl:H,arrow:p,disableInteractive:Y,placement:X,PopperComponentProp:ie,touch:U.current}),yr=zZ(Kn),xr=(r=g.Popper)!=null?r:jZ,lt=(o=(a=g.Transition)!=null?a:j)!=null?o:b0,an=(l=g.Tooltip)!=null?l:WZ,Dn=(u=g.Arrow)!=null?u:HZ,tr=Iu(xr,R({},J,x.popper),Kn),Ll=Iu(lt,R({},te,x.transition),Kn),ra=Iu(an,R({},x.tooltip),Kn),Ml=Iu(Dn,R({},x.arrow),Kn);return D.exports.jsxs(C.exports.Fragment,{children:[C.exports.cloneElement(m,pt),D.exports.jsx(xr,R({as:ie!=null?ie:Gc,placement:X,anchorEl:k?{getBoundingClientRect:()=>({top:tn.current.y,left:tn.current.x,right:tn.current.x,bottom:tn.current.y,width:0,height:0})}:q,popperRef:xe,open:q?We:!1,id:Me,transition:!0},Mr,tr,{className:_e(yr.popper,J==null?void 0:J.className,(c=x.popper)==null?void 0:c.className),popperOptions:Ho,children:({TransitionProps:Je})=>{var cn,de;return D.exports.jsx(lt,R({timeout:me.transitions.duration.shorter},Je,Ll,{children:D.exports.jsxs(an,R({},ra,{className:_e(yr.tooltip,(cn=x.tooltip)==null?void 0:cn.className),children:[G,p?D.exports.jsx(Dn,R({},Ml,{className:_e(yr.arrow,(de=x.arrow)==null?void 0:de.className),ref:K})):null]}))}))}}))]})});var oT=VZ;const Qw={arrow:{[`& .${Yr.arrow}`]:{color:"common.white"}},tooltip:{[`& .${Yr.tooltip}`]:{backgroundColor:"common.white",color:"common.black"}}},Ui=e=>S.createElement(oT,{...e,arrow:!0,classes:{arrow:Yr.arrow,tooltip:Yr.tooltip},sx:[Qw.arrow,Qw.tooltip]}),GZ=e=>e.language.currentLanguage;function KZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Jw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zw(Object(n),!0).forEach(function(r){KZ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zw(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kn(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var eS=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Wm=function(){return Math.random().toString(36).substring(7).split("").join(".")},cp={INIT:"@@redux/INIT"+Wm(),REPLACE:"@@redux/REPLACE"+Wm(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Wm()}};function qZ(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function iT(e,t,n){var r;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(kn(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(kn(1));return n(iT)(e,t)}if(typeof e!="function")throw new Error(kn(2));var o=e,a=t,l=[],u=l,c=!1;function f(){u===l&&(u=l.slice())}function p(){if(c)throw new Error(kn(3));return a}function m(b){if(typeof b!="function")throw new Error(kn(4));if(c)throw new Error(kn(5));var y=!0;return f(),u.push(b),function(){if(!!y){if(c)throw new Error(kn(6));y=!1,f();var _=u.indexOf(b);u.splice(_,1),l=null}}}function g(b){if(!qZ(b))throw new Error(kn(7));if(typeof b.type=="undefined")throw new Error(kn(8));if(c)throw new Error(kn(9));try{c=!0,a=o(a,b)}finally{c=!1}for(var y=l=u,v=0;v<y.length;v++){var _=y[v];_()}return b}function x(b){if(typeof b!="function")throw new Error(kn(10));o=b,g({type:cp.REPLACE})}function E(){var b,y=m;return b={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(kn(11));function w(){_.next&&_.next(p())}w();var P=y(w);return{unsubscribe:P}}},b[eS]=function(){return this},b}return g({type:cp.INIT}),r={dispatch:g,subscribe:m,getState:p,replaceReducer:x},r[eS]=E,r}function YZ(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:cp.INIT});if(typeof r=="undefined")throw new Error(kn(12));if(typeof n(void 0,{type:cp.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(kn(13))})}function P1(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];typeof e[o]=="function"&&(n[o]=e[o])}var a=Object.keys(n),l;try{YZ(n)}catch(u){l=u}return function(c,f){if(c===void 0&&(c={}),l)throw l;for(var p=!1,m={},g=0;g<a.length;g++){var x=a[g],E=n[x],b=c[x],y=E(b,f);if(typeof y=="undefined")throw f&&f.type,new Error(kn(14));m[x]=y,p=p||y!==b}return p=p||a.length!==Object.keys(c).length,p?m:c}}function tS(e,t){return function(){return t(e.apply(this,arguments))}}function aT(e,t){if(typeof e=="function")return tS(e,t);if(typeof e!="object"||e===null)throw new Error(kn(16));var n={};for(var r in e){var o=e[r];typeof o=="function"&&(n[r]=tS(o,t))}return n}function dp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,o){return function(){return r(o.apply(void 0,arguments))}})}function XZ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(){var o=r.apply(void 0,arguments),a=function(){throw new Error(kn(15))},l={getState:o.getState,dispatch:function(){return a.apply(void 0,arguments)}},u=t.map(function(c){return c(l)});return a=dp.apply(void 0,u)(o.dispatch),Jw(Jw({},o),{},{dispatch:a})}}}function vo(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(o){return"'"+o+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yi(e){return!!e&&!!e[Jt]}function Xi(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===iJ}(e)||Array.isArray(e)||!!e[lS]||!!e.constructor[lS]||R1(e)||T1(e))}function Ba(e,t,n){n===void 0&&(n=!1),$l(e)===0?(n?Object.keys:zs)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,o){return t(o,r,e)})}function $l(e){var t=e[Jt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:R1(e)?2:T1(e)?3:0}function Us(e,t){return $l(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function QZ(e,t){return $l(e)===2?e.get(t):e[t]}function sT(e,t,n){var r=$l(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function lT(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function R1(e){return rJ&&e instanceof Map}function T1(e){return oJ&&e instanceof Set}function ya(e){return e.o||e.t}function I1(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=cT(e);delete t[Jt];for(var n=zs(t),r=0;r<n.length;r++){var o=n[r],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function O1(e,t){return t===void 0&&(t=!1),k1(e)||Yi(e)||!Xi(e)||($l(e)>1&&(e.set=e.add=e.clear=e.delete=ZZ),Object.freeze(e),t&&Ba(e,function(n,r){return O1(r,!0)},!0)),e}function ZZ(){vo(2)}function k1(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function si(e){var t=w0[e];return t||vo(18,e),t}function JZ(e,t){w0[e]||(w0[e]=t)}function _0(){return Ec}function Hm(e,t){t&&(si("Patches"),e.u=[],e.s=[],e.v=t)}function fp(e){C0(e),e.p.forEach(eJ),e.p=null}function C0(e){e===Ec&&(Ec=e.l)}function nS(e){return Ec={p:[],l:Ec,h:e,m:!0,_:0}}function eJ(e){var t=e[Jt];t.i===0||t.i===1?t.j():t.O=!0}function Vm(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||si("ES5").S(t,e,r),r?(n[Jt].P&&(fp(t),vo(4)),Xi(e)&&(e=pp(t,e),t.l||hp(t,e)),t.u&&si("Patches").M(n[Jt],e,t.u,t.s)):e=pp(t,n,[]),fp(t),t.u&&t.v(t.u,t.s),e!==uT?e:void 0}function pp(e,t,n){if(k1(t))return t;var r=t[Jt];if(!r)return Ba(t,function(a,l){return rS(e,r,t,a,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return hp(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=I1(r.k):r.o;Ba(r.i===3?new Set(o):o,function(a,l){return rS(e,r,o,a,l,n)}),hp(e,o,!1),n&&e.u&&si("Patches").R(r,n,e.u,e.s)}return r.o}function rS(e,t,n,r,o,a){if(Yi(o)){var l=pp(e,o,a&&t&&t.i!==3&&!Us(t.D,r)?a.concat(r):void 0);if(sT(n,r,l),!Yi(l))return;e.m=!1}if(Xi(o)&&!k1(o)){if(!e.h.F&&e._<1)return;pp(e,o),t&&t.A.l||hp(e,o)}}function hp(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&O1(t,n)}function Gm(e,t){var n=e[Jt];return(n?ya(n):e)[t]}function oS(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function $i(e){e.P||(e.P=!0,e.l&&$i(e.l))}function Km(e){e.o||(e.o=I1(e.t))}function E0(e,t,n){var r=R1(t)?si("MapSet").N(t,n):T1(t)?si("MapSet").T(t,n):e.g?function(o,a){var l=Array.isArray(o),u={i:l?1:0,A:a?a.A:_0(),P:!1,I:!1,D:{},l:a,t:o,k:null,o:null,j:null,C:!1},c=u,f=js;l&&(c=[u],f=kf);var p=Proxy.revocable(c,f),m=p.revoke,g=p.proxy;return u.k=g,u.j=m,g}(t,n):si("ES5").J(t,n);return(n?n.A:_0()).p.push(r),r}function tJ(e){return Yi(e)||vo(22,e),function t(n){if(!Xi(n))return n;var r,o=n[Jt],a=$l(n);if(o){if(!o.P&&(o.i<4||!si("ES5").K(o)))return o.t;o.I=!0,r=iS(n,a),o.I=!1}else r=iS(n,a);return Ba(r,function(l,u){o&&QZ(o.t,l)===u||sT(r,l,t(u))}),a===3?new Set(r):r}(e)}function iS(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return I1(e)}function nJ(){function e(a,l){var u=o[a];return u?u.enumerable=l:o[a]=u={configurable:!0,enumerable:l,get:function(){var c=this[Jt];return js.get(c,a)},set:function(c){var f=this[Jt];js.set(f,a,c)}},u}function t(a){for(var l=a.length-1;l>=0;l--){var u=a[l][Jt];if(!u.P)switch(u.i){case 5:r(u)&&$i(u);break;case 4:n(u)&&$i(u)}}}function n(a){for(var l=a.t,u=a.k,c=zs(u),f=c.length-1;f>=0;f--){var p=c[f];if(p!==Jt){var m=l[p];if(m===void 0&&!Us(l,p))return!0;var g=u[p],x=g&&g[Jt];if(x?x.t!==m:!lT(g,m))return!0}}var E=!!l[Jt];return c.length!==zs(l).length+(E?0:1)}function r(a){var l=a.k;if(l.length!==a.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);return!(!u||u.get)}var o={};JZ("ES5",{J:function(a,l){var u=Array.isArray(a),c=function(p,m){if(p){for(var g=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(g,""+x,e(x,!0));return g}var E=cT(m);delete E[Jt];for(var b=zs(E),y=0;y<b.length;y++){var v=b[y];E[v]=e(v,p||!!E[v].enumerable)}return Object.create(Object.getPrototypeOf(m),E)}(u,a),f={i:u?5:4,A:l?l.A:_0(),P:!1,I:!1,D:{},l,t:a,k:c,o:null,O:!1,C:!1};return Object.defineProperty(c,Jt,{value:f,writable:!0}),c},S:function(a,l,u){u?Yi(l)&&l[Jt].A===a&&t(a.p):(a.u&&function c(f){if(f&&typeof f=="object"){var p=f[Jt];if(p){var m=p.t,g=p.k,x=p.D,E=p.i;if(E===4)Ba(g,function(w){w!==Jt&&(m[w]!==void 0||Us(m,w)?x[w]||c(g[w]):(x[w]=!0,$i(p)))}),Ba(m,function(w){g[w]!==void 0||Us(g,w)||(x[w]=!1,$i(p))});else if(E===5){if(r(p)&&($i(p),x.length=!0),g.length<m.length)for(var b=g.length;b<m.length;b++)x[b]=!1;else for(var y=m.length;y<g.length;y++)x[y]=!0;for(var v=Math.min(g.length,m.length),_=0;_<v;_++)x[_]===void 0&&c(g[_])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?n(a):r(a)}})}var aS,Ec,A1=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",rJ=typeof Map!="undefined",oJ=typeof Set!="undefined",sS=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",uT=A1?Symbol.for("immer-nothing"):((aS={})["immer-nothing"]=!0,aS),lS=A1?Symbol.for("immer-draftable"):"__$immer_draftable",Jt=A1?Symbol.for("immer-state"):"__$immer_state",iJ=""+Object.prototype.constructor,zs=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,cT=Object.getOwnPropertyDescriptors||function(e){var t={};return zs(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},w0={},js={get:function(e,t){if(t===Jt)return e;var n=ya(e);if(!Us(n,t))return function(o,a,l){var u,c=oS(a,l);return c?"value"in c?c.value:(u=c.get)===null||u===void 0?void 0:u.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!Xi(r)?r:r===Gm(e.t,t)?(Km(e),e.o[t]=E0(e.A.h,r,e)):r},has:function(e,t){return t in ya(e)},ownKeys:function(e){return Reflect.ownKeys(ya(e))},set:function(e,t,n){var r=oS(ya(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Gm(ya(e),t),a=o==null?void 0:o[Jt];if(a&&a.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(lT(n,o)&&(n!==void 0||Us(e.t,t)))return!0;Km(e),$i(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Gm(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Km(e),$i(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ya(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){vo(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){vo(12)}},kf={};Ba(js,function(e,t){kf[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),kf.deleteProperty=function(e,t){return js.deleteProperty.call(this,e[0],t)},kf.set=function(e,t,n){return js.set.call(this,e[0],t,n,e[0])};var aJ=function(){function e(n){var r=this;this.g=sS,this.F=!0,this.produce=function(o,a,l){if(typeof o=="function"&&typeof a!="function"){var u=a;a=o;var c=r;return function(x){var E=this;x===void 0&&(x=u);for(var b=arguments.length,y=Array(b>1?b-1:0),v=1;v<b;v++)y[v-1]=arguments[v];return c.produce(x,function(_){var w;return(w=a).call.apply(w,[E,_].concat(y))})}}var f;if(typeof a!="function"&&vo(6),l!==void 0&&typeof l!="function"&&vo(7),Xi(o)){var p=nS(r),m=E0(r,o,void 0),g=!0;try{f=a(m),g=!1}finally{g?fp(p):C0(p)}return typeof Promise!="undefined"&&f instanceof Promise?f.then(function(x){return Hm(p,l),Vm(x,p)},function(x){throw fp(p),x}):(Hm(p,l),Vm(f,p))}if(!o||typeof o!="object")return(f=a(o))===uT?void 0:(f===void 0&&(f=o),r.F&&O1(f,!0),f);vo(21,o)},this.produceWithPatches=function(o,a){return typeof o=="function"?function(c){for(var f=arguments.length,p=Array(f>1?f-1:0),m=1;m<f;m++)p[m-1]=arguments[m];return r.produceWithPatches(c,function(g){return o.apply(void 0,[g].concat(p))})}:[r.produce(o,a,function(c,f){l=c,u=f}),l,u];var l,u},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Xi(n)||vo(8),Yi(n)&&(n=tJ(n));var r=nS(this),o=E0(this,n,void 0);return o[Jt].C=!0,C0(r),o},t.finishDraft=function(n,r){var o=n&&n[Jt],a=o.A;return Hm(a,r),Vm(void 0,a)},t.setAutoFreeze=function(n){this.F=n},t.setUseProxies=function(n){n&&!sS&&vo(20),this.g=n},t.applyPatches=function(n,r){var o;for(o=r.length-1;o>=0;o--){var a=r[o];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}var l=si("Patches").$;return Yi(n)?l(n,r):this.produce(n,function(u){return l(u,r.slice(o+1))})},e}(),Tr=new aJ,uS=Tr.produce;Tr.produceWithPatches.bind(Tr);Tr.setAutoFreeze.bind(Tr);Tr.setUseProxies.bind(Tr);Tr.applyPatches.bind(Tr);Tr.createDraft.bind(Tr);Tr.finishDraft.bind(Tr);function sJ(e,t){return e===t}function lJ(e,t,n){if(t===null||n===null||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function uJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:sJ,n=null,r=null;return function(){return lJ(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}function cJ(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(r){return typeof r=="function"})){var n=t.map(function(r){return typeof r}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function dJ(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];var u=0,c=a.pop(),f=cJ(a),p=e.apply(void 0,[function(){return u++,c.apply(null,arguments)}].concat(n)),m=e(function(){for(var g=[],x=f.length,E=0;E<x;E++)g.push(f[E].apply(null,arguments));return p.apply(null,g)});return m.resultFunc=c,m.dependencies=f,m.recomputations=function(){return u},m.resetRecomputations=function(){return u=0},m}}dJ(uJ);function dT(e){return function(t){var n=t.dispatch,r=t.getState;return function(o){return function(a){return typeof a=="function"?a(n,r,e):o(a)}}}}var S0=dT();S0.withExtraArgument=dT;var fJ=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();globalThis&&globalThis.__generator;var gp=globalThis&&globalThis.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},pJ=Object.defineProperty,cS=Object.getOwnPropertySymbols,hJ=Object.prototype.hasOwnProperty,gJ=Object.prototype.propertyIsEnumerable,dS=function(e,t,n){return t in e?pJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},wc=function(e,t){for(var n in t||(t={}))hJ.call(t,n)&&dS(e,n,t[n]);if(cS)for(var r=0,o=cS(t);r<o.length;r++){var n=o[r];gJ.call(t,n)&&dS(e,n,t[n])}return e},mJ=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?dp:dp.apply(null,arguments)};function vJ(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}var yJ=function(e){fJ(t,e);function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,gp([void 0],n[0].concat(this)))):new(t.bind.apply(t,gp([void 0],n.concat(this))))},t}(Array);function xJ(e){return typeof e=="boolean"}function bJ(){return function(t){return _J(t)}}function _J(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t;e.immutableCheck,e.serializableCheck;var r=new yJ;return n&&(xJ(n)?r.push(S0):r.push(S0.withExtraArgument(n.extraArgument))),r}var CJ=!0;function EJ(e){var t=bJ(),n=e||{},r=n.reducer,o=r===void 0?void 0:r,a=n.middleware,l=a===void 0?t():a,u=n.devTools,c=u===void 0?!0:u,f=n.preloadedState,p=f===void 0?void 0:f,m=n.enhancers,g=m===void 0?void 0:m,x;if(typeof o=="function")x=o;else if(vJ(o))x=P1(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var E=l;typeof E=="function"&&(E=E(t));var b=XZ.apply(void 0,E),y=dp;c&&(y=mJ(wc({trace:!CJ},typeof c=="object"&&c)));var v=[b];Array.isArray(g)?v=gp([b],g):typeof g=="function"&&(v=g(v));var _=y.apply(void 0,v);return iT(x,p,_)}function fS(e,t){function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(t){var a=t.apply(void 0,r);if(!a)throw new Error("prepareAction did not return an object");return wc(wc({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:r[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(r){return r.type===e},n}function fT(e){var t={},n=[],r,o={addCase:function(a,l){var u=typeof a=="string"?a:a.type;if(u in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[u]=l,o},addMatcher:function(a,l){return n.push({matcher:a,reducer:l}),o},addDefaultCase:function(a){return r=a,o}};return e(o),[t,n,r]}function wJ(e,t,n,r){n===void 0&&(n=[]);var o=typeof t=="function"?fT(t):[t,n,r],a=o[0],l=o[1],u=o[2],c=uS(e,function(){});return function(f,p){f===void 0&&(f=c);var m=gp([a[p.type]],l.filter(function(g){var x=g.matcher;return x(p)}).map(function(g){var x=g.reducer;return x}));return m.filter(function(g){return!!g}).length===0&&(m=[u]),m.reduce(function(g,x){if(x)if(Yi(g)){var E=g,b=x(E,p);return typeof b=="undefined"?g:b}else{if(Xi(g))return uS(g,function(y){return x(y,p)});var b=x(g,p);if(typeof b=="undefined"){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}return g},f)}}function SJ(e,t){return e+"/"+t}function so(e){var t=e.name,n=e.initialState;if(!t)throw new Error("`name` is a required option for createSlice");var r=e.reducers||{},o=typeof e.extraReducers=="function"?fT(e.extraReducers):[e.extraReducers],a=o[0],l=a===void 0?{}:a,u=o[1],c=u===void 0?[]:u,f=o[2],p=f===void 0?void 0:f,m=Object.keys(r),g={},x={},E={};m.forEach(function(v){var _=r[v],w=SJ(t,v),P,A;"reducer"in _?(P=_.reducer,A=_.prepare):P=_,g[v]=P,x[w]=P,E[v]=A?fS(w,A):fS(w)});var b=wc(wc({},l),x),y=wJ(n,b,c,p);return{name:t,reducer:y,actions:E,caseReducers:g}}nJ();var $J=Ha,PJ=ao,RJ="[object Symbol]";function TJ(e){return typeof e=="symbol"||PJ(e)&&$J(e)==RJ}var Kc=TJ,IJ=Gn,OJ=Kc,kJ=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,AJ=/^\w*$/;function LJ(e,t){if(IJ(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||OJ(e)?!0:AJ.test(e)||!kJ.test(e)||t!=null&&e in Object(t)}var L1=LJ,pT=f1,MJ="Expected a function";function M1(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(MJ);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var l=e.apply(this,r);return n.cache=a.set(o,l)||a,l};return n.cache=new(M1.Cache||pT),n}M1.Cache=pT;var NJ=M1,DJ=NJ,BJ=500;function FJ(e){var t=DJ(e,function(r){return n.size===BJ&&n.clear(),r}),n=t.cache;return t}var UJ=FJ,zJ=UJ,jJ=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,WJ=/\\(\\)?/g,HJ=zJ(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(jJ,function(n,r,o,a){t.push(o?a.replace(WJ,"$1"):r||n)}),t}),hT=HJ;function VJ(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Pl=VJ,pS=yl,GJ=Pl,KJ=Gn,qJ=Kc,YJ=1/0,hS=pS?pS.prototype:void 0,gS=hS?hS.toString:void 0;function gT(e){if(typeof e=="string")return e;if(KJ(e))return GJ(e,gT)+"";if(qJ(e))return gS?gS.call(e):"";var t=e+"";return t=="0"&&1/e==-YJ?"-0":t}var XJ=gT,QJ=XJ;function ZJ(e){return e==null?"":QJ(e)}var mT=ZJ,JJ=Gn,eee=L1,tee=hT,nee=mT;function ree(e,t){return JJ(e)?e:eee(e,t)?[e]:tee(nee(e))}var Rl=ree,oee=Kc,iee=1/0;function aee(e){if(typeof e=="string"||oee(e))return e;var t=e+"";return t=="0"&&1/e==-iee?"-0":t}var Ga=aee,see=g1,lee=Rl,uee=wh,mS=fi,cee=Ga;function dee(e,t,n,r){if(!mS(e))return e;t=lee(t,e);for(var o=-1,a=t.length,l=a-1,u=e;u!=null&&++o<a;){var c=cee(t[o]),f=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(o!=l){var p=u[c];f=r?r(p,c,u):void 0,f===void 0&&(f=mS(p)?p:uee(t[o+1])?[]:{})}see(u,c,f),u=u[c]}return e}var vT=dee,fee=vT;function pee(e,t,n){return e==null?e:fee(e,t,n)}var Ro=pee,hee=Rl,gee=Ga;function mee(e,t){t=hee(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[gee(t[n++])];return n&&n==r?e:void 0}var Oh=mee,vee=Oh;function yee(e,t,n){var r=e==null?void 0:vee(e,t);return r===void 0?n:r}var Ws=yee,xee=Object.prototype,bee=xee.hasOwnProperty;function _ee(e,t){return e!=null&&bee.call(e,t)}var Cee=_ee,Eee=Rl,wee=Eh,See=Gn,$ee=wh,Pee=m1,Ree=Ga;function Tee(e,t,n){t=Eee(t,e);for(var r=-1,o=t.length,a=!1;++r<o;){var l=Ree(t[r]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++r!=o?a:(o=e==null?0:e.length,!!o&&Pee(o)&&$ee(l,o)&&(See(e)||wee(e)))}var yT=Tee,Iee=Cee,Oee=yT;function kee(e,t){return e!=null&&Oee(e,t,Iee)}var Af=kee;function Aee(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Lee=Aee;function Mee(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}var Nee=Mee,Dee=Oh,Bee=Nee;function Fee(e,t){return t.length<2?e:Dee(e,Bee(t,0,-1))}var Uee=Fee,zee=Rl,jee=Lee,Wee=Uee,Hee=Ga;function Vee(e,t){return t=zee(t,e),e=Wee(e,t),e==null||delete e[Hee(jee(t))]}var Gee=Vee,Kee=Ha,qee=C1,Yee=ao,Xee="[object Object]",Qee=Function.prototype,Zee=Object.prototype,xT=Qee.toString,Jee=Zee.hasOwnProperty,ete=xT.call(Object);function tte(e){if(!Yee(e)||Kee(e)!=Xee)return!1;var t=qee(e);if(t===null)return!0;var n=Jee.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&xT.call(n)==ete}var bT=tte,nte=bT;function rte(e){return nte(e)?void 0:e}var ote=rte,vS=yl,ite=Eh,ate=Gn,yS=vS?vS.isConcatSpreadable:void 0;function ste(e){return ate(e)||ite(e)||!!(yS&&e&&e[yS])}var lte=ste,ute=_1,cte=lte;function _T(e,t,n,r,o){var a=-1,l=e.length;for(n||(n=cte),o||(o=[]);++a<l;){var u=e[a];t>0&&n(u)?t>1?_T(u,t-1,n,r,o):ute(o,u):r||(o[o.length]=u)}return o}var CT=_T,dte=CT;function fte(e){var t=e==null?0:e.length;return t?dte(e,1):[]}var pte=fte;function hte(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var N1=hte,gte=N1,xS=Math.max;function mte(e,t,n){return t=xS(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=xS(r.length-t,0),l=Array(a);++o<a;)l[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(l),gte(e,this,u)}}var ET=mte;function vte(e){return function(){return e}}var yte=vte;function xte(e){return e}var kh=xte,bte=yte,bS=UR,_te=kh,Cte=bS?function(e,t){return bS(e,"toString",{configurable:!0,enumerable:!1,value:bte(t),writable:!0})}:_te,Ete=Cte,wte=800,Ste=16,$te=Date.now;function Pte(e){var t=0,n=0;return function(){var r=$te(),o=Ste-(r-n);if(n=r,o>0){if(++t>=wte)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var wT=Pte,Rte=Ete,Tte=wT,Ite=Tte(Rte),D1=Ite,Ote=pte,kte=ET,Ate=D1;function Lte(e){return Ate(kte(e,void 0,Ote),e+"")}var Ah=Lte,Mte=Pl,Nte=Th,Dte=Gee,Bte=Rl,Fte=Vc,Ute=ote,zte=Ah,jte=E1,Wte=1,Hte=2,Vte=4,Gte=zte(function(e,t){var n={};if(e==null)return n;var r=!1;t=Mte(t,function(a){return a=Bte(a,e),r||(r=a.length>1),a}),Fte(e,jte(e),n),r&&(n=Nte(n,Wte|Hte|Vte,Ute));for(var o=t.length;o--;)Dte(n,t[o]);return n}),ST=Gte,$T={};(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var a=n[o];t.call(r,a)?r[a].push(o):r[a]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})($T);var lo={},bn=$T,Kte=lo,_S=Array.prototype.push;function qte(e,t){return t==2?function(n,r){return e.apply(void 0,arguments)}:function(n){return e.apply(void 0,arguments)}}function qm(e,t){return t==2?function(n,r){return e(n,r)}:function(n){return e(n)}}function CS(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function Yte(e){return function(t){return e({},t)}}function Xte(e,t){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var a=o[t],l=o.slice(0,t);return a&&_S.apply(l,a),t!=r&&_S.apply(l,o.slice(t+1)),e.apply(this,l)}}function Ym(e,t){return function(){var n=arguments.length;if(!!n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=t.apply(void 0,r);return e.apply(void 0,r),o}}}function $0(e,t,n,r){var o=typeof t=="function",a=t===Object(t);if(a&&(r=n,n=t,t=void 0),n==null)throw new TypeError;r||(r={});var l={cap:"cap"in r?r.cap:!0,curry:"curry"in r?r.curry:!0,fixed:"fixed"in r?r.fixed:!0,immutable:"immutable"in r?r.immutable:!0,rearg:"rearg"in r?r.rearg:!0},u=o?n:Kte,c="curry"in r&&r.curry,f="fixed"in r&&r.fixed,p="rearg"in r&&r.rearg,m=o?n.runInContext():void 0,g=o?n:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},x=g.ary,E=g.assign,b=g.clone,y=g.curry,v=g.forEach,_=g.isArray,w=g.isError,P=g.isFunction,A=g.isWeakMap,k=g.keys,I=g.rearg,L=g.toInteger,N=g.toPath,B=k(bn.aryMethod),V={castArray:function(K){return function(){var U=arguments[0];return _(U)?K(CS(U)):K.apply(void 0,arguments)}},iteratee:function(K){return function(){var U=arguments[0],Y=arguments[1],re=K(U,Y),fe=re.length;return l.cap&&typeof Y=="number"?(Y=Y>2?Y-2:1,fe&&fe<=Y?re:qm(re,Y)):re}},mixin:function(K){return function(U){var Y=this;if(!P(Y))return K(Y,Object(U));var re=[];return v(k(U),function(fe){P(U[fe])&&re.push([fe,Y.prototype[fe]])}),K(Y,Object(U)),v(re,function(fe){var we=fe[1];P(we)?Y.prototype[fe[0]]=we:delete Y.prototype[fe[0]]}),Y}},nthArg:function(K){return function(U){var Y=U<0?1:L(U)+1;return y(K(U),Y)}},rearg:function(K){return function(U,Y){var re=Y?Y.length:0;return y(K(U,Y),re)}},runInContext:function(K){return function(U){return $0(e,K(U),r)}}};function ee(K,U){if(l.cap){var Y=bn.iterateeRearg[K];if(Y)return me(U,Y);var re=!o&&bn.iterateeAry[K];if(re)return ne(U,re)}return U}function X(K,U,Y){return c||l.curry&&Y>1?y(U,Y):U}function ie(K,U,Y){if(l.fixed&&(f||!bn.skipFixed[K])){var re=bn.methodSpread[K],fe=re&&re.start;return fe===void 0?x(U,Y):Xte(U,fe)}return U}function J(K,U,Y){return l.rearg&&Y>1&&(p||!bn.skipRearg[K])?I(U,bn.methodRearg[K]||bn.aryRearg[Y]):U}function G(K,U){U=N(U);for(var Y=-1,re=U.length,fe=re-1,we=b(Object(K)),ke=we;ke!=null&&++Y<re;){var Ie=U[Y],Ce=ke[Ie];Ce!=null&&!(P(Ce)||w(Ce)||A(Ce))&&(ke[Ie]=b(Y==fe?Ce:Object(Ce))),ke=ke[Ie]}return we}function j(K){return Z.runInContext.convert(K)(void 0)}function te(K,U){var Y=bn.aliasToReal[K]||K,re=bn.remap[Y]||Y,fe=r;return function(we){var ke=o?m:g,Ie=o?m[re]:U,Ce=E(E({},fe),we);return $0(ke,Y,Ie,Ce)}}function ne(K,U){return H(K,function(Y){return typeof Y=="function"?qm(Y,U):Y})}function me(K,U){return H(K,function(Y){var re=U.length;return qte(I(qm(Y,re),U),re)})}function H(K,U){return function(){var Y=arguments.length;if(!Y)return K();for(var re=Array(Y);Y--;)re[Y]=arguments[Y];var fe=l.rearg?0:Y-1;return re[fe]=U(re[fe]),K.apply(void 0,re)}}function q(K,U,Y){var re,fe=bn.aliasToReal[K]||K,we=U,ke=V[fe];return ke?we=ke(U):l.immutable&&(bn.mutate.array[fe]?we=Ym(U,CS):bn.mutate.object[fe]?we=Ym(U,Yte(U)):bn.mutate.set[fe]&&(we=Ym(U,G))),v(B,function(Ie){return v(bn.aryMethod[Ie],function(Ce){if(fe==Ce){var We=bn.methodSpread[fe],Me=We&&We.afterRearg;return re=Me?ie(fe,J(fe,we,Ie),Ie):J(fe,ie(fe,we,Ie),Ie),re=ee(fe,re),re=X(fe,re,Ie),!1}}),!re}),re||(re=we),re==U&&(re=c?y(re,1):function(){return U.apply(this,arguments)}),re.convert=te(fe,U),re.placeholder=U.placeholder=Y,re}if(!a)return q(t,n,u);var Z=n,ue=[];return v(B,function(K){v(bn.aryMethod[K],function(U){var Y=Z[bn.remap[U]||U];Y&&ue.push([U,q(U,Y,Z)])})}),v(k(Z),function(K){var U=Z[K];if(typeof U=="function"){for(var Y=ue.length;Y--;)if(ue[Y][0]==K)return;U.convert=te(K,U),ue.push([K,U])}}),v(ue,function(K){Z[K[0]]=K[1]}),Z.convert=j,Z.placeholder=Z,v(k(Z),function(K){v(bn.realToAlias[K]||[],function(U){Z[U]=Z[K]})}),Z}var Qte=$0,ES=XR,Zte=ES&&new ES,PT=Zte,Jte=kh,wS=PT,ene=wS?function(e,t){return wS.set(e,t),e}:Jte,RT=ene,tne=Rh,nne=fi;function rne(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=tne(e.prototype),r=e.apply(n,t);return nne(r)?r:n}}var Lh=rne,one=Lh,ine=vr,ane=1;function sne(e,t,n){var r=t&ane,o=one(e);function a(){var l=this&&this!==ine&&this instanceof a?o:e;return l.apply(r?n:this,arguments)}return a}var lne=sne,une=Math.max;function cne(e,t,n,r){for(var o=-1,a=e.length,l=n.length,u=-1,c=t.length,f=une(a-l,0),p=Array(c+f),m=!r;++u<c;)p[u]=t[u];for(;++o<l;)(m||o<a)&&(p[n[o]]=e[o]);for(;f--;)p[u++]=e[o++];return p}var TT=cne,dne=Math.max;function fne(e,t,n,r){for(var o=-1,a=e.length,l=-1,u=n.length,c=-1,f=t.length,p=dne(a-u,0),m=Array(p+f),g=!r;++o<p;)m[o]=e[o];for(var x=o;++c<f;)m[x+c]=t[c];for(;++l<u;)(g||o<a)&&(m[x+n[l]]=e[o++]);return m}var IT=fne;function pne(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var hne=pne;function gne(){}var B1=gne,mne=Rh,vne=B1,yne=4294967295;function mp(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=yne,this.__views__=[]}mp.prototype=mne(vne.prototype);mp.prototype.constructor=mp;var F1=mp;function xne(){}var U1=xne,SS=PT,bne=U1,_ne=SS?function(e){return SS.get(e)}:bne,z1=_ne,Cne={},Ene=Cne,$S=Ene,wne=Object.prototype,Sne=wne.hasOwnProperty;function $ne(e){for(var t=e.name+"",n=$S[t],r=Sne.call($S,t)?n.length:0;r--;){var o=n[r],a=o.func;if(a==null||a==e)return o.name}return t}var OT=$ne,Pne=Rh,Rne=B1;function vp(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}vp.prototype=Pne(Rne.prototype);vp.prototype.constructor=vp;var j1=vp,Tne=F1,Ine=j1,One=Ph;function kne(e){if(e instanceof Tne)return e.clone();var t=new Ine(e.__wrapped__,e.__chain__);return t.__actions__=One(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ane=kne,Lne=F1,PS=j1,Mne=B1,Nne=Gn,Dne=ao,Bne=Ane,Fne=Object.prototype,Une=Fne.hasOwnProperty;function yp(e){if(Dne(e)&&!Nne(e)&&!(e instanceof Lne)){if(e instanceof PS)return e;if(Une.call(e,"__wrapped__"))return Bne(e)}return new PS(e)}yp.prototype=Mne.prototype;yp.prototype.constructor=yp;var zne=yp,jne=F1,Wne=z1,Hne=OT,Vne=zne;function Gne(e){var t=Hne(e),n=Vne[t];if(typeof n!="function"||!(t in jne.prototype))return!1;if(e===n)return!0;var r=Wne(n);return!!r&&e===r[0]}var kT=Gne,Kne=RT,qne=wT,Yne=qne(Kne),AT=Yne,Xne=/\{\n\/\* \[wrapped with (.+)\] \*/,Qne=/,? & /;function Zne(e){var t=e.match(Xne);return t?t[1].split(Qne):[]}var Jne=Zne,ere=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function tre(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ere,`{
/* [wrapped with `+t+`] */
`)}var nre=tre;function rre(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}var ore=rre;function ire(e){return e!==e}var are=ire;function sre(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var lre=sre,ure=ore,cre=are,dre=lre;function fre(e,t,n){return t===t?dre(e,t,n):ure(e,cre,n)}var pre=fre,hre=pre;function gre(e,t){var n=e==null?0:e.length;return!!n&&hre(e,t,0)>-1}var LT=gre,mre=h1,vre=LT,yre=1,xre=2,bre=8,_re=16,Cre=32,Ere=64,wre=128,Sre=256,$re=512,Pre=[["ary",wre],["bind",yre],["bindKey",xre],["curry",bre],["curryRight",_re],["flip",$re],["partial",Cre],["partialRight",Ere],["rearg",Sre]];function Rre(e,t){return mre(Pre,function(n){var r="_."+n[0];t&n[1]&&!vre(e,r)&&e.push(r)}),e.sort()}var Tre=Rre,Ire=Jne,Ore=nre,kre=D1,Are=Tre;function Lre(e,t,n){var r=t+"";return kre(e,Ore(r,Are(Ire(r),n)))}var MT=Lre,Mre=kT,Nre=AT,Dre=MT,Bre=1,Fre=2,Ure=4,zre=8,RS=32,TS=64;function jre(e,t,n,r,o,a,l,u,c,f){var p=t&zre,m=p?l:void 0,g=p?void 0:l,x=p?a:void 0,E=p?void 0:a;t|=p?RS:TS,t&=~(p?TS:RS),t&Ure||(t&=~(Bre|Fre));var b=[e,t,o,x,m,E,g,u,c,f],y=n.apply(void 0,b);return Mre(e)&&Nre(y,b),y.placeholder=r,Dre(y,e,t)}var NT=jre;function Wre(e){var t=e;return t.placeholder}var DT=Wre,Hre=Ph,Vre=wh,Gre=Math.min;function Kre(e,t){for(var n=e.length,r=Gre(t.length,n),o=Hre(e);r--;){var a=t[r];e[r]=Vre(a,n)?o[a]:void 0}return e}var qre=Kre,IS="__lodash_placeholder__";function Yre(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var l=e[n];(l===t||l===IS)&&(e[n]=IS,a[o++]=n)}return a}var W1=Yre,Xre=TT,Qre=IT,Zre=hne,OS=Lh,Jre=NT,eoe=DT,toe=qre,noe=W1,roe=vr,ooe=1,ioe=2,aoe=8,soe=16,loe=128,uoe=512;function BT(e,t,n,r,o,a,l,u,c,f){var p=t&loe,m=t&ooe,g=t&ioe,x=t&(aoe|soe),E=t&uoe,b=g?void 0:OS(e);function y(){for(var v=arguments.length,_=Array(v),w=v;w--;)_[w]=arguments[w];if(x)var P=eoe(y),A=Zre(_,P);if(r&&(_=Xre(_,r,o,x)),a&&(_=Qre(_,a,l,x)),v-=A,x&&v<f){var k=noe(_,P);return Jre(e,t,BT,y.placeholder,n,_,k,u,c,f-v)}var I=m?n:this,L=g?I[e]:e;return v=_.length,u?_=toe(_,u):E&&v>1&&_.reverse(),p&&c<v&&(_.length=c),this&&this!==roe&&this instanceof y&&(L=b||OS(L)),L.apply(I,_)}return y}var FT=BT,coe=N1,doe=Lh,foe=FT,poe=NT,hoe=DT,goe=W1,moe=vr;function voe(e,t,n){var r=doe(e);function o(){for(var a=arguments.length,l=Array(a),u=a,c=hoe(o);u--;)l[u]=arguments[u];var f=a<3&&l[0]!==c&&l[a-1]!==c?[]:goe(l,c);if(a-=f.length,a<n)return poe(e,t,foe,o.placeholder,void 0,l,f,void 0,void 0,n-a);var p=this&&this!==moe&&this instanceof o?r:e;return coe(p,this,l)}return o}var yoe=voe,xoe=N1,boe=Lh,_oe=vr,Coe=1;function Eoe(e,t,n,r){var o=t&Coe,a=boe(e);function l(){for(var u=-1,c=arguments.length,f=-1,p=r.length,m=Array(p+c),g=this&&this!==_oe&&this instanceof l?a:e;++f<p;)m[f]=r[f];for(;c--;)m[f++]=arguments[++u];return xoe(g,o?n:this,m)}return l}var woe=Eoe,Soe=TT,$oe=IT,kS=W1,AS="__lodash_placeholder__",Xm=1,Poe=2,Roe=4,LS=8,gu=128,MS=256,Toe=Math.min;function Ioe(e,t){var n=e[1],r=t[1],o=n|r,a=o<(Xm|Poe|gu),l=r==gu&&n==LS||r==gu&&n==MS&&e[7].length<=t[8]||r==(gu|MS)&&t[7].length<=t[8]&&n==LS;if(!(a||l))return e;r&Xm&&(e[2]=t[2],o|=n&Xm?0:Roe);var u=t[3];if(u){var c=e[3];e[3]=c?Soe(c,u,t[4]):u,e[4]=c?kS(e[3],AS):t[4]}return u=t[5],u&&(c=e[5],e[5]=c?$oe(c,u,t[6]):u,e[6]=c?kS(e[5],AS):t[6]),u=t[7],u&&(e[7]=u),r&gu&&(e[8]=e[8]==null?t[8]:Toe(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}var Ooe=Ioe,koe=/\s/;function Aoe(e){for(var t=e.length;t--&&koe.test(e.charAt(t)););return t}var Loe=Aoe,Moe=Loe,Noe=/^\s+/;function Doe(e){return e&&e.slice(0,Moe(e)+1).replace(Noe,"")}var Boe=Doe,Foe=Boe,NS=fi,Uoe=Kc,DS=0/0,zoe=/^[-+]0x[0-9a-f]+$/i,joe=/^0b[01]+$/i,Woe=/^0o[0-7]+$/i,Hoe=parseInt;function Voe(e){if(typeof e=="number")return e;if(Uoe(e))return DS;if(NS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=NS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Foe(e);var n=joe.test(e);return n||Woe.test(e)?Hoe(e.slice(2),n?2:8):zoe.test(e)?DS:+e}var Goe=Voe,Koe=Goe,BS=1/0,qoe=17976931348623157e292;function Yoe(e){if(!e)return e===0?e:0;if(e=Koe(e),e===BS||e===-BS){var t=e<0?-1:1;return t*qoe}return e===e?e:0}var Xoe=Yoe,Qoe=Xoe;function Zoe(e){var t=Qoe(e),n=t%1;return t===t?n?t-n:t:0}var UT=Zoe,Joe=RT,eie=lne,tie=yoe,nie=FT,rie=woe,oie=z1,iie=Ooe,aie=AT,sie=MT,FS=UT,lie="Expected a function",US=1,uie=2,Qm=8,Zm=16,Jm=32,zS=64,jS=Math.max;function cie(e,t,n,r,o,a,l,u){var c=t&uie;if(!c&&typeof e!="function")throw new TypeError(lie);var f=r?r.length:0;if(f||(t&=~(Jm|zS),r=o=void 0),l=l===void 0?l:jS(FS(l),0),u=u===void 0?u:FS(u),f-=o?o.length:0,t&zS){var p=r,m=o;r=o=void 0}var g=c?void 0:oie(e),x=[e,t,n,r,o,p,m,a,l,u];if(g&&iie(x,g),e=x[0],t=x[1],n=x[2],r=x[3],o=x[4],u=x[9]=x[9]===void 0?c?0:e.length:jS(x[9]-f,0),!u&&t&(Qm|Zm)&&(t&=~(Qm|Zm)),!t||t==US)var E=eie(e,t,n);else t==Qm||t==Zm?E=tie(e,t,u):(t==Jm||t==(US|Jm))&&!o.length?E=rie(e,t,n,r):E=nie.apply(void 0,x);var b=g?Joe:aie;return sie(b(E,x),e,t)}var H1=cie,die=H1,fie=128;function pie(e,t,n){return t=n?void 0:t,t=e&&t==null?e.length:t,die(e,fie,void 0,void 0,void 0,void 0,t)}var hie=pie,gie=Th,mie=4;function vie(e){return gie(e,mie)}var yie=vie,xie=H1,bie=8;function V1(e,t,n){t=n?void 0:t;var r=xie(e,bie,void 0,void 0,void 0,void 0,void 0,t);return r.placeholder=V1.placeholder,r}V1.placeholder={};var _ie=V1,Cie=Ha,Eie=ao,wie=bT,Sie="[object DOMException]",$ie="[object Error]";function Pie(e){if(!Eie(e))return!1;var t=Cie(e);return t==$ie||t==Sie||typeof e.message=="string"&&typeof e.name=="string"&&!wie(e)}var Rie=Pie,Tie=Sl,Iie=ao,Oie="[object WeakMap]";function kie(e){return Iie(e)&&Tie(e)==Oie}var Aie=kie,Lie="__lodash_hash_undefined__";function Mie(e){return this.__data__.set(e,Lie),this}var Nie=Mie;function Die(e){return this.__data__.has(e)}var Bie=Die,Fie=f1,Uie=Nie,zie=Bie;function xp(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Fie;++t<n;)this.add(e[t])}xp.prototype.add=xp.prototype.push=Uie;xp.prototype.has=zie;var zT=xp;function jie(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Wie=jie;function Hie(e,t){return e.has(t)}var jT=Hie,Vie=zT,Gie=Wie,Kie=jT,qie=1,Yie=2;function Xie(e,t,n,r,o,a){var l=n&qie,u=e.length,c=t.length;if(u!=c&&!(l&&c>u))return!1;var f=a.get(e),p=a.get(t);if(f&&p)return f==t&&p==e;var m=-1,g=!0,x=n&Yie?new Vie:void 0;for(a.set(e,t),a.set(t,e);++m<u;){var E=e[m],b=t[m];if(r)var y=l?r(b,E,m,t,e,a):r(E,b,m,e,t,a);if(y!==void 0){if(y)continue;g=!1;break}if(x){if(!Gie(t,function(v,_){if(!Kie(x,_)&&(E===v||o(E,v,n,r,a)))return x.push(_)})){g=!1;break}}else if(!(E===b||o(E,b,n,r,a))){g=!1;break}}return a.delete(e),a.delete(t),g}var WT=Xie;function Qie(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var Zie=Qie;function Jie(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var eae=Jie,WS=yl,HS=ZR,tae=u1,nae=WT,rae=Zie,oae=eae,iae=1,aae=2,sae="[object Boolean]",lae="[object Date]",uae="[object Error]",cae="[object Map]",dae="[object Number]",fae="[object RegExp]",pae="[object Set]",hae="[object String]",gae="[object Symbol]",mae="[object ArrayBuffer]",vae="[object DataView]",VS=WS?WS.prototype:void 0,ev=VS?VS.valueOf:void 0;function yae(e,t,n,r,o,a,l){switch(n){case vae:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case mae:return!(e.byteLength!=t.byteLength||!a(new HS(e),new HS(t)));case sae:case lae:case dae:return tae(+e,+t);case uae:return e.name==t.name&&e.message==t.message;case fae:case hae:return e==t+"";case cae:var u=rae;case pae:var c=r&iae;if(u||(u=oae),e.size!=t.size&&!c)return!1;var f=l.get(e);if(f)return f==t;r|=aae,l.set(e,t);var p=nae(u(e),u(t),r,o,a,l);return l.delete(e),p;case gae:if(ev)return ev.call(e)==ev.call(t)}return!1}var xae=yae,GS=YR,bae=1,_ae=Object.prototype,Cae=_ae.hasOwnProperty;function Eae(e,t,n,r,o,a){var l=n&bae,u=GS(e),c=u.length,f=GS(t),p=f.length;if(c!=p&&!l)return!1;for(var m=c;m--;){var g=u[m];if(!(l?g in t:Cae.call(t,g)))return!1}var x=a.get(e),E=a.get(t);if(x&&E)return x==t&&E==e;var b=!0;a.set(e,t),a.set(t,e);for(var y=l;++m<c;){g=u[m];var v=e[g],_=t[g];if(r)var w=l?r(_,v,g,t,e,a):r(v,_,g,e,t,a);if(!(w===void 0?v===_||o(v,_,n,r,a):w)){b=!1;break}y||(y=g=="constructor")}if(b&&!y){var P=e.constructor,A=t.constructor;P!=A&&"constructor"in e&&"constructor"in t&&!(typeof P=="function"&&P instanceof P&&typeof A=="function"&&A instanceof A)&&(b=!1)}return a.delete(e),a.delete(t),b}var wae=Eae,tv=p1,Sae=WT,$ae=xae,Pae=wae,KS=Sl,qS=Gn,YS=il.exports,Rae=v1,Tae=1,XS="[object Arguments]",QS="[object Array]",uf="[object Object]",Iae=Object.prototype,ZS=Iae.hasOwnProperty;function Oae(e,t,n,r,o,a){var l=qS(e),u=qS(t),c=l?QS:KS(e),f=u?QS:KS(t);c=c==XS?uf:c,f=f==XS?uf:f;var p=c==uf,m=f==uf,g=c==f;if(g&&YS(e)){if(!YS(t))return!1;l=!0,p=!1}if(g&&!p)return a||(a=new tv),l||Rae(e)?Sae(e,t,n,r,o,a):$ae(e,t,c,n,r,o,a);if(!(n&Tae)){var x=p&&ZS.call(e,"__wrapped__"),E=m&&ZS.call(t,"__wrapped__");if(x||E){var b=x?e.value():e,y=E?t.value():t;return a||(a=new tv),o(b,y,n,r,a)}}return g?(a||(a=new tv),Pae(e,t,n,r,o,a)):!1}var kae=Oae,Aae=kae,JS=ao;function HT(e,t,n,r,o){return e===t?!0:e==null||t==null||!JS(e)&&!JS(t)?e!==e&&t!==t:Aae(e,t,n,r,HT,o)}var VT=HT,Lae=p1,Mae=VT,Nae=1,Dae=2;function Bae(e,t,n,r){var o=n.length,a=o,l=!r;if(e==null)return!a;for(e=Object(e);o--;){var u=n[o];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){u=n[o];var c=u[0],f=e[c],p=u[1];if(l&&u[2]){if(f===void 0&&!(c in e))return!1}else{var m=new Lae;if(r)var g=r(f,p,c,e,t,m);if(!(g===void 0?Mae(p,f,Nae|Dae,r,m):g))return!1}}return!0}var Fae=Bae,Uae=fi;function zae(e){return e===e&&!Uae(e)}var GT=zae,jae=GT,Wae=El;function Hae(e){for(var t=Wae(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,jae(o)]}return t}var Vae=Hae;function Gae(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var KT=Gae,Kae=Fae,qae=Vae,Yae=KT;function Xae(e){var t=qae(e);return t.length==1&&t[0][2]?Yae(t[0][0],t[0][1]):function(n){return n===e||Kae(n,e,t)}}var Qae=Xae;function Zae(e,t){return e!=null&&t in Object(e)}var Jae=Zae,ese=Jae,tse=yT;function nse(e,t){return e!=null&&tse(e,t,ese)}var qT=nse,rse=VT,ose=Ws,ise=qT,ase=L1,sse=GT,lse=KT,use=Ga,cse=1,dse=2;function fse(e,t){return ase(e)&&sse(t)?lse(use(e),t):function(n){var r=ose(n,e);return r===void 0&&r===t?ise(n,e):rse(t,r,cse|dse)}}var pse=fse;function hse(e){return function(t){return t==null?void 0:t[e]}}var gse=hse,mse=Oh;function vse(e){return function(t){return mse(t,e)}}var yse=vse,xse=gse,bse=yse,_se=L1,Cse=Ga;function Ese(e){return _se(e)?xse(Cse(e)):bse(e)}var wse=Ese,Sse=Qae,$se=pse,Pse=kh,Rse=Gn,Tse=wse;function Ise(e){return typeof e=="function"?e:e==null?Pse:typeof e=="object"?Rse(e)?$se(e[0],e[1]):Sse(e):Tse(e)}var Mh=Ise,Ose=Th,kse=Mh,Ase=1;function Lse(e){return kse(typeof e=="function"?e:Ose(e,Ase))}var Mse=Lse,Nse=H1,Dse=Ah,Bse=256,Fse=Dse(function(e,t){return Nse(e,Bse,void 0,void 0,void 0,t)}),Use=Fse,zse=Pl,jse=Ph,Wse=Gn,Hse=Kc,Vse=hT,Gse=Ga,Kse=mT;function qse(e){return Wse(e)?zse(e,Gse):Hse(e)?[e]:jse(Vse(Kse(e)))}var Yse=qse,Xse={ary:hie,assign:VR,clone:yie,curry:_ie,forEach:h1,isArray:Gn,isError:Rie,isFunction:c1,isWeakMap:Aie,iteratee:Mse,keys:y1,rearg:Use,toInteger:UT,toPath:Yse},Qse=Qte,Zse=Xse;function Jse(e,t,n){return Qse(Zse,e,t,n)}var wo=Jse,ele=wo,YT=ele("get",Ws);YT.placeholder=lo;var bo=YT;function tle(e){return function(t,n,r){for(var o=-1,a=Object(t),l=r(t),u=l.length;u--;){var c=l[e?u:++o];if(n(a[c],c,a)===!1)break}return t}}var nle=tle,rle=nle,ole=rle(),ile=ole,ale=ile,sle=El;function lle(e,t){return e&&ale(e,t,sle)}var ule=lle,cle=Cl;function dle(e,t){return function(n,r){if(n==null)return n;if(!cle(n))return e(n,r);for(var o=n.length,a=t?o:-1,l=Object(n);(t?a--:++a<o)&&r(l[a],a,l)!==!1;);return n}}var fle=dle,ple=ule,hle=fle,gle=hle(ple),mle=gle,vle=mle,yle=Cl;function xle(e,t){var n=-1,r=yle(e)?Array(e.length):[];return vle(e,function(o,a,l){r[++n]=t(o,a,l)}),r}var ble=xle,_le=Pl,Cle=Mh,Ele=ble,wle=Gn;function Sle(e,t){var n=wle(e)?_le:Ele;return n(e,Cle(t))}var $le=Sle,Ple=wo,XT=Ple("map",$le);XT.placeholder=lo;var Rle=XT,e$=j1,Tle=Ah,Ile=z1,nv=OT,Ole=Gn,t$=kT,kle="Expected a function",Ale=8,Lle=32,Mle=128,Nle=256;function Dle(e){return Tle(function(t){var n=t.length,r=n,o=e$.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if(typeof a!="function")throw new TypeError(kle);if(o&&!l&&nv(a)=="wrapper")var l=new e$([],!0)}for(r=l?r:n;++r<n;){a=t[r];var u=nv(a),c=u=="wrapper"?Ile(a):void 0;c&&t$(c[0])&&c[1]==(Mle|Ale|Lle|Nle)&&!c[4].length&&c[9]==1?l=l[nv(c[0])].apply(l,c[3]):l=a.length==1&&t$(a)?l[u]():l.thru(a)}return function(){var f=arguments,p=f[0];if(l&&f.length==1&&Ole(p))return l.plant(p).value();for(var m=0,g=n?t[m].apply(this,f):p;++m<n;)g=t[m].call(this,g);return g}})}var Ble=Dle,Fle=Ble,Ule=Fle(),zle=Ule,jle=wo,QT=jle("flow",zle);QT.placeholder=lo;var Wle=QT,ZT=Wle,G1={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1},Hle=wo,JT=Hle("keys",El,G1);JT.placeholder=lo;var Vle=JT;const Gle="Power",qc="RingUPSmodule",Ir="_Box",eI="Tamper",Kle="Boot",tI="Ring",qle="Out",Nh="UPS",nI="GlobalCounters",rI="Logger",K1="FireAreaExt",bp="AL",Yle="AL2module",Dh="BISM",q1="BISM1",Xle="BISM2",Qle="BISM3",Zle="Relay",oI="RelayLink",Jle="FireSensorLink",Y1="OutModule",Bh="Clock",Sc="LED",eue="ISM1",tue="ISM2",nue="ISM4",rue="ISM5",iI="Direction",oue="TI",iue="User",al="AU",aI="Module",Tl="InputLink",Il="OutputLink",aue="Out",Qu="RelayGroup",sue="Area",Yc="expanded_tabs",sI="pwnd_auth",lI="selects_open",xa="config",Xc="unit_string_id",lue=[Kle,rI,tI,Nh,nI,eI,Bh],uue=[tI,Nh,rI,nI,eI,Bh,qle],cue=[q1,Xle,Qle,Dh],sl=e=>bo(["_desc","__",`Title${e}`]),n$=e=>`${e._sun}${e._sut}`,Fh=e=>e._subUnits,due=bo(["_desc","__","subUnits"]),fue=e=>e?e.hardware&&e.qty>0||e.software&&e.qty>0:!1,r$=(e,t,n)=>{const r=bo(["unitTypes",e,"__",`Title${t||"EN"}`])(schema);return/BISM(2|3)$/i.test(String(n==null?void 0:n._typeName))?r.replace(/индикатор на БИС-М\/М1/i,""):r},uI=e=>bo(["unitTypes",e])(schema),pue=e=>Object.values(e._subUnits._Box),hue=e=>Object.values(e._subUnits.User),cI=e=>Object.values(e._subUnits.Module);ZT(Fh,Vle);const dI=bo("_sun"),fI=(e,t)=>`#${dI(t)} ${sl(e)(t)}`,gue=e=>e._desc.info,mue=e=>e._desc.command,vue=e=>e._desc.config,yue=e=>e._desc.status,xue=e=>e._typeName,pI=(e,t)=>ZT(bo(["unitTypes",e,"__","allRealHeirs"]),Rle(n=>({key:n,value:bo(["unitTypes",n,"__",`Title${t}`],schema)})))(schema),bue=(e,t)=>bo(["unitTypes",e,"__","subUnits",t])(schema),o$=(e,t)=>{var n;return(n=e==null?void 0:e._configPPK)==null?void 0:n[t]},Uh=e=>cue.includes(e._typeName),_ue=e=>{var t;return(e==null?void 0:e._sut)!=="AU"&&!Uh(e)?"":(t=bo(["config","SN"],e))!=null?t:""};bo(["_subUnits","AU"]);function X1(e,t){return(e==null?void 0:e._subUnits[`${t}`])&&Object.keys(e==null?void 0:e._subUnits[`${t}`]).length}function Rt(e){return e?e._up!==void 0:!1}function Zn(e,t){if(!!Rt(e))return e._typeName===t?e:Zn(e._up,t)}function zh(e,t){if(!!Rt(e))return e._sut===t?e:zh(e._up,t)}function Q1(e,t){if(!!Rt(e))return t(e)?e:Q1(e._up,t)}function Z1(e,t=[]){return Rt(e)?(t.push(e),Z1(e._up,t)):t.reverse()}const qr=(e,t,n=!1)=>{var u,c;const r=(u=sl(t)(e))!=null?u:sl("EN")(e),o=r.slice(0,1),a=_ue(e);return`${n?"":`#${(c=e==null?void 0:e._sun)!=null?c:""} `}${o.toUpperCase()}${r.slice(1)} ${a}`},Cue=e=>{const n=cI(e).find(o=>o._typeName===qc);if(!n)return;const r=Object.values(n._subUnits.Area);return Object.fromEntries(r.map(o=>[Number(o._sun),o]))},hI=(e,t)=>e==null?void 0:e._subUnits[Ir][t],Ta=({config:e},t)=>{if(!!e)return e[t]};function gI(e,t){const n=Object.values(e).filter(o=>!t.includes(o));n.forEach(o=>t.push(o)),n.map(o=>Object.values(o._subUnits)).flat().forEach(o=>gI(o,t))}function Eue(e){const t=[];return gI(e,t),t}function mI(e,t){const{_Box:n}=e._subUnits;return Object.values(n).map(a=>[qr(a,t),a._subUnits.Module]).map(([a,l])=>[a,Eue(l)])}function vI(e,t){return mI(e,t).map(([r,o])=>o).flat()}function J1(e,t){const n=vI(e,t);return Object.fromEntries(n.map(r=>[r._idString,r]))}function ex(e){return Rt(e)?e._up._typeName===Ir:!1}function wue(e){return zh(e,al)&&e._sut!==al}function Sue(e){return uue.includes(e._typeName)&&ex(e._up)}const $ue=(e,t)=>{var n;return(n=e==null?void 0:e.info)==null?void 0:n[t]},i$=(e,t,n)=>{var r,o;return(o=(r=t._desc)==null?void 0:r.info[n])==null?void 0:o[`enum${e}`]};function Pue(e){return e._sut===Tl||e._sut===Il}const Rue=e=>e.replace(/(^.*):(.*)/,"$1");function yI(e,t="0"){const n=uI(e),r=Object.keys(n.__.subUnits),o=r.length>0?r.reduce((a,l)=>(a[l]={[1]:yI(l,"1")},a),{}):{};return{config:{},_desc:n,_subUnits:{...o},_sun:t,_sut:n.__.inherits,_typeName:e}}function Tue(e,t){if(t!=="0")return/\./.test(e)&&(e=e.split(".")[1]),uI(e),{_sun:t}}const Iue={unitsSunForDeletion:{}},xI=so({name:"user-editor",initialState:Iue,reducers:{addUnit(e,{payload:t}){const n=t.parent,r=t.sunIndex,o=Af(e.unitsSunForDeletion,[n])?e.unitsSunForDeletion[n].filter(c=>c!==r):[];Ro(e.unitsSunForDeletion,[n],o);const a=yI(t.unit,t.sunIndex),l=`${t.upperUnitSun}${t.parent}`;Ws(e,[l])||Ro(e,[l],{}),Ro(e,[l,a._sun],{...a,isRecentlyAdded:!0})},changeUnitProperty(e,{payload:t}){const n=t.path.flat().slice(0,1),r=t.path.flat().slice(0,2),o=Ws(e,n),a=Ws(e,t.path[0]);o||Ro(e,n,{}),a||Ro(e,r,Tue(t.selectedUnit,r[1])),Ro(e,t.path.flat(),t.value)},addMoreUnits(e,{payload:t}){const n=t.pathId[0],r=t.pathId[1],o=Af(e.unitsSunForDeletion,[n])?e.unitsSunForDeletion[n].filter(a=>a!==r):[];Ro(e.unitsSunForDeletion,[n],o),Ro(e,t.pathId,t.selectedUnitState)},deleteUnits(e,{payload:t}){const{unitParentId:n,currentUnitSun:r}=t;Af(e.unitsSunForDeletion,[n])?e.unitsSunForDeletion[n].push(r):Ro(e.unitsSunForDeletion,[n],[r]),e[n]=ST(e[n],[r])}}}),bI=so({name:"selected-unit",initialState:null,reducers:{unitSelected(e,{payload:t}){return t}}}),_I=so({name:"selected-unit-path",initialState:null,reducers:{unitPathSelected(e,{payload:t}){return t}}}),CI=so({name:"selected-unit-parent",initialState:"",reducers:{unitSelectedParentType(e,{payload:t}){return t}}}),EI=so({name:"selected-unit-sun",initialState:"0",reducers:{unitSelectedSun(e,{payload:t}){return t}}}),wI=so({name:"selected-exist-sun",initialState:null,reducers:{unitSelectedExist(e,{payload:t}){return t}}}),SI=so({name:"selected-merge-units-count",initialState:null,reducers:{countCurrentUnitsMerge(e,{payload:t}){return t}}}),$I=so({name:"selected-posible-units-count",initialState:null,reducers:{countPosibleUnit(e,{payload:t}){return t}}}),PI=so({name:"selected-unit-expand",initialState:{},reducers:{expandingSelectedUnit(e,{payload:t}){return{...e,...t}}}}),RI=so({name:"current-firmware-name",initialState:"",reducers:{setCurrentFirmware(e,{payload:t}){return t}}}),Oue=P1({editor:xI.reducer,selectedUnit:bI.reducer,selectedUnitPath:_I.reducer,selectedUnitParent:CI.reducer,selectedUnitSun:EI.reducer,selectedExistUnit:wI.reducer,currentMergeUnitsCount:SI.reducer,currentPosibleUnitsCount:$I.reducer,controlledExpandedTabs:PI.reducer,currentFirmware:RI.reducer}),kue={..._I.actions,...xI.actions,...bI.actions,...CI.actions,...EI.actions,...wI.actions,...SI.actions,...$I.actions,...PI.actions,...RI.actions};function uo(){const e=wR();return C.exports.useMemo(()=>aT(kue,e),[e])}var Aue=y1,Lue=Sl,Mue=Eh,Nue=Gn,Due=Cl,Bue=il.exports,Fue=$h,Uue=v1,zue="[object Map]",jue="[object Set]",Wue=Object.prototype,Hue=Wue.hasOwnProperty;function Vue(e){if(e==null)return!0;if(Due(e)&&(Nue(e)||typeof e=="string"||typeof e.splice=="function"||Bue(e)||Uue(e)||Mue(e)))return!e.length;var t=Lue(e);if(t==zue||t==jue)return!e.size;if(Fue(e))return!Aue(e).length;for(var n in e)if(Hue.call(e,n))return!1;return!0}var Fa=Vue,Gue=wo,TI=Gue("isEmpty",Fa,G1);TI.placeholder=lo;var II=TI;const Kue=e=>e.unitEditor.editor,que=e=>e.unitEditor.selectedUnit,Yue=e=>e.unitEditor.selectedUnitPath,Xue=e=>e.unitEditor.selectedUnitParent,Que=e=>e.unitEditor.selectedUnitSun,Zue=e=>e.unitEditor.selectedExistUnit,Jue=e=>e.unitEditor.editor.unitsSunForDeletion,ece=e=>e.unitEditor.currentPosibleUnitsCount,tce=e=>e.unitEditor.controlledExpandedTabs,nce=e=>e.unitEditor.currentFirmware;function tx(){const e=Ar(Zue);return!II(e)}function rce(){return Ar(Jue)}function jh(){return Ar(que)}function Wh(){return Ar(Yue)}function OI(){return Ar(Xue)}function kI(){return Ar(Que)}function oce(){return Ar(ece)}function ice(e){const t=Ar(Kue);return bo(e.idOfCurrentConfig,t)}function Ol(){return Ar(tce)}function ace(){return Ar(nce)}var P0={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
 */(function(e,t){(function(){var n,r="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,p="__lodash_placeholder__",m=1,g=2,x=4,E=1,b=2,y=1,v=2,_=4,w=8,P=16,A=32,k=64,I=128,L=256,N=512,B=30,V="...",ee=800,X=16,ie=1,J=2,G=3,j=1/0,te=9007199254740991,ne=17976931348623157e292,me=0/0,H=4294967295,q=H-1,Z=H>>>1,ue=[["ary",I],["bind",y],["bindKey",v],["curry",w],["curryRight",P],["flip",N],["partial",A],["partialRight",k],["rearg",L]],K="[object Arguments]",U="[object Array]",Y="[object AsyncFunction]",re="[object Boolean]",fe="[object Date]",we="[object DOMException]",ke="[object Error]",Ie="[object Function]",Ce="[object GeneratorFunction]",We="[object Map]",Me="[object Number]",dt="[object Null]",ze="[object Object]",bt="[object Promise]",It="[object Proxy]",Ge="[object RegExp]",qe="[object Set]",mt="[object String]",zt="[object Symbol]",nt="[object Undefined]",rt="[object WeakMap]",ft="[object WeakSet]",Pe="[object ArrayBuffer]",be="[object DataView]",Xe="[object Float32Array]",Se="[object Float64Array]",et="[object Int8Array]",At="[object Int16Array]",Xt="[object Int32Array]",Cn="[object Uint8Array]",Tn="[object Uint8ClampedArray]",Nn="[object Uint16Array]",tn="[object Uint32Array]",xe=/\b__p \+= '';/g,Ae=/\b(__p \+=) '' \+/g,Le=/(__e\(.*?\)|\b__t\)) \+\n'';/g,at=/&(?:amp|lt|gt|quot|#39);/g,pt=/[&<>"']/g,Mr=RegExp(at.source),Ho=RegExp(pt.source),Kn=/<%-([\s\S]+?)%>/g,yr=/<%([\s\S]+?)%>/g,xr=/<%=([\s\S]+?)%>/g,lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,an=/^\w*$/,Dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tr=/[\\^$.*+?()[\]{}|]/g,Ll=RegExp(tr.source),ra=/^\s+/,Ml=/\s/,Je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,cn=/\{\n\/\* \[wrapped with (.+)\] \*/,de=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fe=/[()=,{}\[\]\/\s]/,Qe=/\\(\\)?/g,Lt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gn=/\w*$/,dn=/^[-+]0x[0-9a-f]+$/i,Nr=/^0b[01]+$/i,ed=/^\[object .+?Constructor\]$/,jO=/^0o[0-7]+$/i,WO=/^(?:0|[1-9]\d*)$/,HO=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,td=/($^)/,VO=/['\n\r\u2028\u2029\\]/g,nd="\\ud800-\\udfff",GO="\\u0300-\\u036f",KO="\\ufe20-\\ufe2f",qO="\\u20d0-\\u20ff",jx=GO+KO+qO,Wx="\\u2700-\\u27bf",Hx="a-z\\xdf-\\xf6\\xf8-\\xff",YO="\\xac\\xb1\\xd7\\xf7",XO="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",QO="\\u2000-\\u206f",ZO=" \\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",Vx="A-Z\\xc0-\\xd6\\xd8-\\xde",Gx="\\ufe0e\\ufe0f",Kx=YO+XO+QO+ZO,tg="['\u2019]",JO="["+nd+"]",qx="["+Kx+"]",rd="["+jx+"]",Yx="\\d+",e3="["+Wx+"]",Xx="["+Hx+"]",Qx="[^"+nd+Kx+Yx+Wx+Hx+Vx+"]",ng="\\ud83c[\\udffb-\\udfff]",t3="(?:"+rd+"|"+ng+")",Zx="[^"+nd+"]",rg="(?:\\ud83c[\\udde6-\\uddff]){2}",og="[\\ud800-\\udbff][\\udc00-\\udfff]",qa="["+Vx+"]",Jx="\\u200d",eb="(?:"+Xx+"|"+Qx+")",n3="(?:"+qa+"|"+Qx+")",tb="(?:"+tg+"(?:d|ll|m|re|s|t|ve))?",nb="(?:"+tg+"(?:D|LL|M|RE|S|T|VE))?",rb=t3+"?",ob="["+Gx+"]?",r3="(?:"+Jx+"(?:"+[Zx,rg,og].join("|")+")"+ob+rb+")*",o3="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i3="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ib=ob+rb+r3,a3="(?:"+[e3,rg,og].join("|")+")"+ib,s3="(?:"+[Zx+rd+"?",rd,rg,og,JO].join("|")+")",l3=RegExp(tg,"g"),u3=RegExp(rd,"g"),ig=RegExp(ng+"(?="+ng+")|"+s3+ib,"g"),c3=RegExp([qa+"?"+Xx+"+"+tb+"(?="+[qx,qa,"$"].join("|")+")",n3+"+"+nb+"(?="+[qx,qa+eb,"$"].join("|")+")",qa+"?"+eb+"+"+tb,qa+"+"+nb,i3,o3,Yx,a3].join("|"),"g"),d3=RegExp("["+Jx+nd+jx+Gx+"]"),f3=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,p3=["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"],h3=-1,Vt={};Vt[Xe]=Vt[Se]=Vt[et]=Vt[At]=Vt[Xt]=Vt[Cn]=Vt[Tn]=Vt[Nn]=Vt[tn]=!0,Vt[K]=Vt[U]=Vt[Pe]=Vt[re]=Vt[be]=Vt[fe]=Vt[ke]=Vt[Ie]=Vt[We]=Vt[Me]=Vt[ze]=Vt[Ge]=Vt[qe]=Vt[mt]=Vt[rt]=!1;var jt={};jt[K]=jt[U]=jt[Pe]=jt[be]=jt[re]=jt[fe]=jt[Xe]=jt[Se]=jt[et]=jt[At]=jt[Xt]=jt[We]=jt[Me]=jt[ze]=jt[Ge]=jt[qe]=jt[mt]=jt[zt]=jt[Cn]=jt[Tn]=jt[Nn]=jt[tn]=!0,jt[ke]=jt[Ie]=jt[rt]=!1;var g3={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},m3={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},v3={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},y3={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},x3=parseFloat,b3=parseInt,ab=typeof ni=="object"&&ni&&ni.Object===Object&&ni,_3=typeof self=="object"&&self&&self.Object===Object&&self,In=ab||_3||Function("return this")(),ag=t&&!t.nodeType&&t,oa=ag&&!0&&e&&!e.nodeType&&e,sb=oa&&oa.exports===ag,sg=sb&&ab.process,Dr=function(){try{var z=oa&&oa.require&&oa.require("util").types;return z||sg&&sg.binding&&sg.binding("util")}catch{}}(),lb=Dr&&Dr.isArrayBuffer,ub=Dr&&Dr.isDate,cb=Dr&&Dr.isMap,db=Dr&&Dr.isRegExp,fb=Dr&&Dr.isSet,pb=Dr&&Dr.isTypedArray;function br(z,oe,Q){switch(Q.length){case 0:return z.call(oe);case 1:return z.call(oe,Q[0]);case 2:return z.call(oe,Q[0],Q[1]);case 3:return z.call(oe,Q[0],Q[1],Q[2])}return z.apply(oe,Q)}function C3(z,oe,Q,$e){for(var Ye=-1,Ct=z==null?0:z.length;++Ye<Ct;){var yn=z[Ye];oe($e,yn,Q(yn),z)}return $e}function Br(z,oe){for(var Q=-1,$e=z==null?0:z.length;++Q<$e&&oe(z[Q],Q,z)!==!1;);return z}function E3(z,oe){for(var Q=z==null?0:z.length;Q--&&oe(z[Q],Q,z)!==!1;);return z}function hb(z,oe){for(var Q=-1,$e=z==null?0:z.length;++Q<$e;)if(!oe(z[Q],Q,z))return!1;return!0}function pi(z,oe){for(var Q=-1,$e=z==null?0:z.length,Ye=0,Ct=[];++Q<$e;){var yn=z[Q];oe(yn,Q,z)&&(Ct[Ye++]=yn)}return Ct}function od(z,oe){var Q=z==null?0:z.length;return!!Q&&Ya(z,oe,0)>-1}function lg(z,oe,Q){for(var $e=-1,Ye=z==null?0:z.length;++$e<Ye;)if(Q(oe,z[$e]))return!0;return!1}function Qt(z,oe){for(var Q=-1,$e=z==null?0:z.length,Ye=Array($e);++Q<$e;)Ye[Q]=oe(z[Q],Q,z);return Ye}function hi(z,oe){for(var Q=-1,$e=oe.length,Ye=z.length;++Q<$e;)z[Ye+Q]=oe[Q];return z}function ug(z,oe,Q,$e){var Ye=-1,Ct=z==null?0:z.length;for($e&&Ct&&(Q=z[++Ye]);++Ye<Ct;)Q=oe(Q,z[Ye],Ye,z);return Q}function w3(z,oe,Q,$e){var Ye=z==null?0:z.length;for($e&&Ye&&(Q=z[--Ye]);Ye--;)Q=oe(Q,z[Ye],Ye,z);return Q}function cg(z,oe){for(var Q=-1,$e=z==null?0:z.length;++Q<$e;)if(oe(z[Q],Q,z))return!0;return!1}var S3=dg("length");function $3(z){return z.split("")}function P3(z){return z.match(se)||[]}function gb(z,oe,Q){var $e;return Q(z,function(Ye,Ct,yn){if(oe(Ye,Ct,yn))return $e=Ct,!1}),$e}function id(z,oe,Q,$e){for(var Ye=z.length,Ct=Q+($e?1:-1);$e?Ct--:++Ct<Ye;)if(oe(z[Ct],Ct,z))return Ct;return-1}function Ya(z,oe,Q){return oe===oe?F3(z,oe,Q):id(z,mb,Q)}function R3(z,oe,Q,$e){for(var Ye=Q-1,Ct=z.length;++Ye<Ct;)if($e(z[Ye],oe))return Ye;return-1}function mb(z){return z!==z}function vb(z,oe){var Q=z==null?0:z.length;return Q?pg(z,oe)/Q:me}function dg(z){return function(oe){return oe==null?n:oe[z]}}function fg(z){return function(oe){return z==null?n:z[oe]}}function yb(z,oe,Q,$e,Ye){return Ye(z,function(Ct,yn,Mt){Q=$e?($e=!1,Ct):oe(Q,Ct,yn,Mt)}),Q}function T3(z,oe){var Q=z.length;for(z.sort(oe);Q--;)z[Q]=z[Q].value;return z}function pg(z,oe){for(var Q,$e=-1,Ye=z.length;++$e<Ye;){var Ct=oe(z[$e]);Ct!==n&&(Q=Q===n?Ct:Q+Ct)}return Q}function hg(z,oe){for(var Q=-1,$e=Array(z);++Q<z;)$e[Q]=oe(Q);return $e}function I3(z,oe){return Qt(oe,function(Q){return[Q,z[Q]]})}function xb(z){return z&&z.slice(0,Eb(z)+1).replace(ra,"")}function _r(z){return function(oe){return z(oe)}}function gg(z,oe){return Qt(oe,function(Q){return z[Q]})}function Nl(z,oe){return z.has(oe)}function bb(z,oe){for(var Q=-1,$e=z.length;++Q<$e&&Ya(oe,z[Q],0)>-1;);return Q}function _b(z,oe){for(var Q=z.length;Q--&&Ya(oe,z[Q],0)>-1;);return Q}function O3(z,oe){for(var Q=z.length,$e=0;Q--;)z[Q]===oe&&++$e;return $e}var k3=fg(g3),A3=fg(m3);function L3(z){return"\\"+y3[z]}function M3(z,oe){return z==null?n:z[oe]}function Xa(z){return d3.test(z)}function N3(z){return f3.test(z)}function D3(z){for(var oe,Q=[];!(oe=z.next()).done;)Q.push(oe.value);return Q}function mg(z){var oe=-1,Q=Array(z.size);return z.forEach(function($e,Ye){Q[++oe]=[Ye,$e]}),Q}function Cb(z,oe){return function(Q){return z(oe(Q))}}function gi(z,oe){for(var Q=-1,$e=z.length,Ye=0,Ct=[];++Q<$e;){var yn=z[Q];(yn===oe||yn===p)&&(z[Q]=p,Ct[Ye++]=Q)}return Ct}function ad(z){var oe=-1,Q=Array(z.size);return z.forEach(function($e){Q[++oe]=$e}),Q}function B3(z){var oe=-1,Q=Array(z.size);return z.forEach(function($e){Q[++oe]=[$e,$e]}),Q}function F3(z,oe,Q){for(var $e=Q-1,Ye=z.length;++$e<Ye;)if(z[$e]===oe)return $e;return-1}function U3(z,oe,Q){for(var $e=Q+1;$e--;)if(z[$e]===oe)return $e;return $e}function Qa(z){return Xa(z)?j3(z):S3(z)}function co(z){return Xa(z)?W3(z):$3(z)}function Eb(z){for(var oe=z.length;oe--&&Ml.test(z.charAt(oe)););return oe}var z3=fg(v3);function j3(z){for(var oe=ig.lastIndex=0;ig.test(z);)++oe;return oe}function W3(z){return z.match(ig)||[]}function H3(z){return z.match(c3)||[]}var V3=function z(oe){oe=oe==null?In:Za.defaults(In.Object(),oe,Za.pick(In,p3));var Q=oe.Array,$e=oe.Date,Ye=oe.Error,Ct=oe.Function,yn=oe.Math,Mt=oe.Object,vg=oe.RegExp,G3=oe.String,Fr=oe.TypeError,sd=Q.prototype,K3=Ct.prototype,Ja=Mt.prototype,ld=oe["__core-js_shared__"],ud=K3.toString,$t=Ja.hasOwnProperty,q3=0,wb=function(){var i=/[^.]+$/.exec(ld&&ld.keys&&ld.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),cd=Ja.toString,Y3=ud.call(Mt),X3=In._,Q3=vg("^"+ud.call($t).replace(tr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dd=sb?oe.Buffer:n,mi=oe.Symbol,fd=oe.Uint8Array,Sb=dd?dd.allocUnsafe:n,pd=Cb(Mt.getPrototypeOf,Mt),$b=Mt.create,Pb=Ja.propertyIsEnumerable,hd=sd.splice,Rb=mi?mi.isConcatSpreadable:n,Dl=mi?mi.iterator:n,ia=mi?mi.toStringTag:n,gd=function(){try{var i=ca(Mt,"defineProperty");return i({},"",{}),i}catch{}}(),Z3=oe.clearTimeout!==In.clearTimeout&&oe.clearTimeout,J3=$e&&$e.now!==In.Date.now&&$e.now,ek=oe.setTimeout!==In.setTimeout&&oe.setTimeout,md=yn.ceil,vd=yn.floor,yg=Mt.getOwnPropertySymbols,tk=dd?dd.isBuffer:n,Tb=oe.isFinite,nk=sd.join,rk=Cb(Mt.keys,Mt),xn=yn.max,Bn=yn.min,ok=$e.now,ik=oe.parseInt,Ib=yn.random,ak=sd.reverse,xg=ca(oe,"DataView"),Bl=ca(oe,"Map"),bg=ca(oe,"Promise"),es=ca(oe,"Set"),Fl=ca(oe,"WeakMap"),Ul=ca(Mt,"create"),yd=Fl&&new Fl,ts={},sk=da(xg),lk=da(Bl),uk=da(bg),ck=da(es),dk=da(Fl),xd=mi?mi.prototype:n,zl=xd?xd.valueOf:n,Ob=xd?xd.toString:n;function T(i){if(sn(i)&&!Ze(i)&&!(i instanceof ct)){if(i instanceof Ur)return i;if($t.call(i,"__wrapped__"))return k_(i)}return new Ur(i)}var ns=function(){function i(){}return function(s){if(!nn(s))return{};if($b)return $b(s);i.prototype=s;var d=new i;return i.prototype=n,d}}();function bd(){}function Ur(i,s){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}T.templateSettings={escape:Kn,evaluate:yr,interpolate:xr,variable:"",imports:{_:T}},T.prototype=bd.prototype,T.prototype.constructor=T,Ur.prototype=ns(bd.prototype),Ur.prototype.constructor=Ur;function ct(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=H,this.__views__=[]}function fk(){var i=new ct(this.__wrapped__);return i.__actions__=nr(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=nr(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=nr(this.__views__),i}function pk(){if(this.__filtered__){var i=new ct(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function hk(){var i=this.__wrapped__.value(),s=this.__dir__,d=Ze(i),h=s<0,$=d?i.length:0,O=$A(0,$,this.__views__),M=O.start,F=O.end,W=F-M,ae=h?F:M-1,le=this.__iteratees__,pe=le.length,Ee=0,Oe=Bn(W,this.__takeCount__);if(!d||!h&&$==W&&Oe==W)return t_(i,this.__actions__);var He=[];e:for(;W--&&Ee<Oe;){ae+=s;for(var ot=-1,Ve=i[ae];++ot<pe;){var ut=le[ot],ht=ut.iteratee,wr=ut.type,Xn=ht(Ve);if(wr==J)Ve=Xn;else if(!Xn){if(wr==ie)continue e;break e}}He[Ee++]=Ve}return He}ct.prototype=ns(bd.prototype),ct.prototype.constructor=ct;function aa(i){var s=-1,d=i==null?0:i.length;for(this.clear();++s<d;){var h=i[s];this.set(h[0],h[1])}}function gk(){this.__data__=Ul?Ul(null):{},this.size=0}function mk(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s}function vk(i){var s=this.__data__;if(Ul){var d=s[i];return d===c?n:d}return $t.call(s,i)?s[i]:n}function yk(i){var s=this.__data__;return Ul?s[i]!==n:$t.call(s,i)}function xk(i,s){var d=this.__data__;return this.size+=this.has(i)?0:1,d[i]=Ul&&s===n?c:s,this}aa.prototype.clear=gk,aa.prototype.delete=mk,aa.prototype.get=vk,aa.prototype.has=yk,aa.prototype.set=xk;function Vo(i){var s=-1,d=i==null?0:i.length;for(this.clear();++s<d;){var h=i[s];this.set(h[0],h[1])}}function bk(){this.__data__=[],this.size=0}function _k(i){var s=this.__data__,d=_d(s,i);if(d<0)return!1;var h=s.length-1;return d==h?s.pop():hd.call(s,d,1),--this.size,!0}function Ck(i){var s=this.__data__,d=_d(s,i);return d<0?n:s[d][1]}function Ek(i){return _d(this.__data__,i)>-1}function wk(i,s){var d=this.__data__,h=_d(d,i);return h<0?(++this.size,d.push([i,s])):d[h][1]=s,this}Vo.prototype.clear=bk,Vo.prototype.delete=_k,Vo.prototype.get=Ck,Vo.prototype.has=Ek,Vo.prototype.set=wk;function Go(i){var s=-1,d=i==null?0:i.length;for(this.clear();++s<d;){var h=i[s];this.set(h[0],h[1])}}function Sk(){this.size=0,this.__data__={hash:new aa,map:new(Bl||Vo),string:new aa}}function $k(i){var s=Ad(this,i).delete(i);return this.size-=s?1:0,s}function Pk(i){return Ad(this,i).get(i)}function Rk(i){return Ad(this,i).has(i)}function Tk(i,s){var d=Ad(this,i),h=d.size;return d.set(i,s),this.size+=d.size==h?0:1,this}Go.prototype.clear=Sk,Go.prototype.delete=$k,Go.prototype.get=Pk,Go.prototype.has=Rk,Go.prototype.set=Tk;function sa(i){var s=-1,d=i==null?0:i.length;for(this.__data__=new Go;++s<d;)this.add(i[s])}function Ik(i){return this.__data__.set(i,c),this}function Ok(i){return this.__data__.has(i)}sa.prototype.add=sa.prototype.push=Ik,sa.prototype.has=Ok;function fo(i){var s=this.__data__=new Vo(i);this.size=s.size}function kk(){this.__data__=new Vo,this.size=0}function Ak(i){var s=this.__data__,d=s.delete(i);return this.size=s.size,d}function Lk(i){return this.__data__.get(i)}function Mk(i){return this.__data__.has(i)}function Nk(i,s){var d=this.__data__;if(d instanceof Vo){var h=d.__data__;if(!Bl||h.length<o-1)return h.push([i,s]),this.size=++d.size,this;d=this.__data__=new Go(h)}return d.set(i,s),this.size=d.size,this}fo.prototype.clear=kk,fo.prototype.delete=Ak,fo.prototype.get=Lk,fo.prototype.has=Mk,fo.prototype.set=Nk;function kb(i,s){var d=Ze(i),h=!d&&fa(i),$=!d&&!h&&_i(i),O=!d&&!h&&!$&&as(i),M=d||h||$||O,F=M?hg(i.length,G3):[],W=F.length;for(var ae in i)(s||$t.call(i,ae))&&!(M&&(ae=="length"||$&&(ae=="offset"||ae=="parent")||O&&(ae=="buffer"||ae=="byteLength"||ae=="byteOffset")||Xo(ae,W)))&&F.push(ae);return F}function Ab(i){var s=i.length;return s?i[Og(0,s-1)]:n}function Dk(i,s){return Ld(nr(i),la(s,0,i.length))}function Bk(i){return Ld(nr(i))}function _g(i,s,d){(d!==n&&!po(i[s],d)||d===n&&!(s in i))&&Ko(i,s,d)}function jl(i,s,d){var h=i[s];(!($t.call(i,s)&&po(h,d))||d===n&&!(s in i))&&Ko(i,s,d)}function _d(i,s){for(var d=i.length;d--;)if(po(i[d][0],s))return d;return-1}function Fk(i,s,d,h){return vi(i,function($,O,M){s(h,$,d($),M)}),h}function Lb(i,s){return i&&$o(s,En(s),i)}function Uk(i,s){return i&&$o(s,or(s),i)}function Ko(i,s,d){s=="__proto__"&&gd?gd(i,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):i[s]=d}function Cg(i,s){for(var d=-1,h=s.length,$=Q(h),O=i==null;++d<h;)$[d]=O?n:nm(i,s[d]);return $}function la(i,s,d){return i===i&&(d!==n&&(i=i<=d?i:d),s!==n&&(i=i>=s?i:s)),i}function zr(i,s,d,h,$,O){var M,F=s&m,W=s&g,ae=s&x;if(d&&(M=$?d(i,h,$,O):d(i)),M!==n)return M;if(!nn(i))return i;var le=Ze(i);if(le){if(M=RA(i),!F)return nr(i,M)}else{var pe=Fn(i),Ee=pe==Ie||pe==Ce;if(_i(i))return o_(i,F);if(pe==ze||pe==K||Ee&&!$){if(M=W||Ee?{}:E_(i),!F)return W?vA(i,Uk(M,i)):mA(i,Lb(M,i))}else{if(!jt[pe])return $?i:{};M=TA(i,pe,F)}}O||(O=new fo);var Oe=O.get(i);if(Oe)return Oe;O.set(i,M),Z_(i)?i.forEach(function(Ve){M.add(zr(Ve,s,d,Ve,i,O))}):X_(i)&&i.forEach(function(Ve,ut){M.set(ut,zr(Ve,s,d,ut,i,O))});var He=ae?W?jg:zg:W?or:En,ot=le?n:He(i);return Br(ot||i,function(Ve,ut){ot&&(ut=Ve,Ve=i[ut]),jl(M,ut,zr(Ve,s,d,ut,i,O))}),M}function zk(i){var s=En(i);return function(d){return Mb(d,i,s)}}function Mb(i,s,d){var h=d.length;if(i==null)return!h;for(i=Mt(i);h--;){var $=d[h],O=s[$],M=i[$];if(M===n&&!($ in i)||!O(M))return!1}return!0}function Nb(i,s,d){if(typeof i!="function")throw new Fr(l);return Yl(function(){i.apply(n,d)},s)}function Wl(i,s,d,h){var $=-1,O=od,M=!0,F=i.length,W=[],ae=s.length;if(!F)return W;d&&(s=Qt(s,_r(d))),h?(O=lg,M=!1):s.length>=o&&(O=Nl,M=!1,s=new sa(s));e:for(;++$<F;){var le=i[$],pe=d==null?le:d(le);if(le=h||le!==0?le:0,M&&pe===pe){for(var Ee=ae;Ee--;)if(s[Ee]===pe)continue e;W.push(le)}else O(s,pe,h)||W.push(le)}return W}var vi=u_(So),Db=u_(wg,!0);function jk(i,s){var d=!0;return vi(i,function(h,$,O){return d=!!s(h,$,O),d}),d}function Cd(i,s,d){for(var h=-1,$=i.length;++h<$;){var O=i[h],M=s(O);if(M!=null&&(F===n?M===M&&!Er(M):d(M,F)))var F=M,W=O}return W}function Wk(i,s,d,h){var $=i.length;for(d=tt(d),d<0&&(d=-d>$?0:$+d),h=h===n||h>$?$:tt(h),h<0&&(h+=$),h=d>h?0:eC(h);d<h;)i[d++]=s;return i}function Bb(i,s){var d=[];return vi(i,function(h,$,O){s(h,$,O)&&d.push(h)}),d}function On(i,s,d,h,$){var O=-1,M=i.length;for(d||(d=OA),$||($=[]);++O<M;){var F=i[O];s>0&&d(F)?s>1?On(F,s-1,d,h,$):hi($,F):h||($[$.length]=F)}return $}var Eg=c_(),Fb=c_(!0);function So(i,s){return i&&Eg(i,s,En)}function wg(i,s){return i&&Fb(i,s,En)}function Ed(i,s){return pi(s,function(d){return Qo(i[d])})}function ua(i,s){s=xi(s,i);for(var d=0,h=s.length;i!=null&&d<h;)i=i[Po(s[d++])];return d&&d==h?i:n}function Ub(i,s,d){var h=s(i);return Ze(i)?h:hi(h,d(i))}function qn(i){return i==null?i===n?nt:dt:ia&&ia in Mt(i)?SA(i):BA(i)}function Sg(i,s){return i>s}function Hk(i,s){return i!=null&&$t.call(i,s)}function Vk(i,s){return i!=null&&s in Mt(i)}function Gk(i,s,d){return i>=Bn(s,d)&&i<xn(s,d)}function $g(i,s,d){for(var h=d?lg:od,$=i[0].length,O=i.length,M=O,F=Q(O),W=1/0,ae=[];M--;){var le=i[M];M&&s&&(le=Qt(le,_r(s))),W=Bn(le.length,W),F[M]=!d&&(s||$>=120&&le.length>=120)?new sa(M&&le):n}le=i[0];var pe=-1,Ee=F[0];e:for(;++pe<$&&ae.length<W;){var Oe=le[pe],He=s?s(Oe):Oe;if(Oe=d||Oe!==0?Oe:0,!(Ee?Nl(Ee,He):h(ae,He,d))){for(M=O;--M;){var ot=F[M];if(!(ot?Nl(ot,He):h(i[M],He,d)))continue e}Ee&&Ee.push(He),ae.push(Oe)}}return ae}function Kk(i,s,d,h){return So(i,function($,O,M){s(h,d($),O,M)}),h}function Hl(i,s,d){s=xi(s,i),i=P_(i,s);var h=i==null?i:i[Po(Wr(s))];return h==null?n:br(h,i,d)}function zb(i){return sn(i)&&qn(i)==K}function qk(i){return sn(i)&&qn(i)==Pe}function Yk(i){return sn(i)&&qn(i)==fe}function Vl(i,s,d,h,$){return i===s?!0:i==null||s==null||!sn(i)&&!sn(s)?i!==i&&s!==s:Xk(i,s,d,h,Vl,$)}function Xk(i,s,d,h,$,O){var M=Ze(i),F=Ze(s),W=M?U:Fn(i),ae=F?U:Fn(s);W=W==K?ze:W,ae=ae==K?ze:ae;var le=W==ze,pe=ae==ze,Ee=W==ae;if(Ee&&_i(i)){if(!_i(s))return!1;M=!0,le=!1}if(Ee&&!le)return O||(O=new fo),M||as(i)?b_(i,s,d,h,$,O):EA(i,s,W,d,h,$,O);if(!(d&E)){var Oe=le&&$t.call(i,"__wrapped__"),He=pe&&$t.call(s,"__wrapped__");if(Oe||He){var ot=Oe?i.value():i,Ve=He?s.value():s;return O||(O=new fo),$(ot,Ve,d,h,O)}}return Ee?(O||(O=new fo),wA(i,s,d,h,$,O)):!1}function Qk(i){return sn(i)&&Fn(i)==We}function Pg(i,s,d,h){var $=d.length,O=$,M=!h;if(i==null)return!O;for(i=Mt(i);$--;){var F=d[$];if(M&&F[2]?F[1]!==i[F[0]]:!(F[0]in i))return!1}for(;++$<O;){F=d[$];var W=F[0],ae=i[W],le=F[1];if(M&&F[2]){if(ae===n&&!(W in i))return!1}else{var pe=new fo;if(h)var Ee=h(ae,le,W,i,s,pe);if(!(Ee===n?Vl(le,ae,E|b,h,pe):Ee))return!1}}return!0}function jb(i){if(!nn(i)||AA(i))return!1;var s=Qo(i)?Q3:ed;return s.test(da(i))}function Zk(i){return sn(i)&&qn(i)==Ge}function Jk(i){return sn(i)&&Fn(i)==qe}function eA(i){return sn(i)&&Ud(i.length)&&!!Vt[qn(i)]}function Wb(i){return typeof i=="function"?i:i==null?ir:typeof i=="object"?Ze(i)?Gb(i[0],i[1]):Vb(i):dC(i)}function Rg(i){if(!ql(i))return rk(i);var s=[];for(var d in Mt(i))$t.call(i,d)&&d!="constructor"&&s.push(d);return s}function tA(i){if(!nn(i))return DA(i);var s=ql(i),d=[];for(var h in i)h=="constructor"&&(s||!$t.call(i,h))||d.push(h);return d}function Tg(i,s){return i<s}function Hb(i,s){var d=-1,h=rr(i)?Q(i.length):[];return vi(i,function($,O,M){h[++d]=s($,O,M)}),h}function Vb(i){var s=Hg(i);return s.length==1&&s[0][2]?S_(s[0][0],s[0][1]):function(d){return d===i||Pg(d,i,s)}}function Gb(i,s){return Gg(i)&&w_(s)?S_(Po(i),s):function(d){var h=nm(d,i);return h===n&&h===s?rm(d,i):Vl(s,h,E|b)}}function wd(i,s,d,h,$){i!==s&&Eg(s,function(O,M){if($||($=new fo),nn(O))nA(i,s,M,d,wd,h,$);else{var F=h?h(qg(i,M),O,M+"",i,s,$):n;F===n&&(F=O),_g(i,M,F)}},or)}function nA(i,s,d,h,$,O,M){var F=qg(i,d),W=qg(s,d),ae=M.get(W);if(ae){_g(i,d,ae);return}var le=O?O(F,W,d+"",i,s,M):n,pe=le===n;if(pe){var Ee=Ze(W),Oe=!Ee&&_i(W),He=!Ee&&!Oe&&as(W);le=W,Ee||Oe||He?Ze(F)?le=F:fn(F)?le=nr(F):Oe?(pe=!1,le=o_(W,!0)):He?(pe=!1,le=i_(W,!0)):le=[]:Xl(W)||fa(W)?(le=F,fa(F)?le=tC(F):(!nn(F)||Qo(F))&&(le=E_(W))):pe=!1}pe&&(M.set(W,le),$(le,W,h,O,M),M.delete(W)),_g(i,d,le)}function Kb(i,s){var d=i.length;if(!!d)return s+=s<0?d:0,Xo(s,d)?i[s]:n}function qb(i,s,d){s.length?s=Qt(s,function(O){return Ze(O)?function(M){return ua(M,O.length===1?O[0]:O)}:O}):s=[ir];var h=-1;s=Qt(s,_r(je()));var $=Hb(i,function(O,M,F){var W=Qt(s,function(ae){return ae(O)});return{criteria:W,index:++h,value:O}});return T3($,function(O,M){return gA(O,M,d)})}function rA(i,s){return Yb(i,s,function(d,h){return rm(i,h)})}function Yb(i,s,d){for(var h=-1,$=s.length,O={};++h<$;){var M=s[h],F=ua(i,M);d(F,M)&&Gl(O,xi(M,i),F)}return O}function oA(i){return function(s){return ua(s,i)}}function Ig(i,s,d,h){var $=h?R3:Ya,O=-1,M=s.length,F=i;for(i===s&&(s=nr(s)),d&&(F=Qt(i,_r(d)));++O<M;)for(var W=0,ae=s[O],le=d?d(ae):ae;(W=$(F,le,W,h))>-1;)F!==i&&hd.call(F,W,1),hd.call(i,W,1);return i}function Xb(i,s){for(var d=i?s.length:0,h=d-1;d--;){var $=s[d];if(d==h||$!==O){var O=$;Xo($)?hd.call(i,$,1):Lg(i,$)}}return i}function Og(i,s){return i+vd(Ib()*(s-i+1))}function iA(i,s,d,h){for(var $=-1,O=xn(md((s-i)/(d||1)),0),M=Q(O);O--;)M[h?O:++$]=i,i+=d;return M}function kg(i,s){var d="";if(!i||s<1||s>te)return d;do s%2&&(d+=i),s=vd(s/2),s&&(i+=i);while(s);return d}function it(i,s){return Yg($_(i,s,ir),i+"")}function aA(i){return Ab(ss(i))}function sA(i,s){var d=ss(i);return Ld(d,la(s,0,d.length))}function Gl(i,s,d,h){if(!nn(i))return i;s=xi(s,i);for(var $=-1,O=s.length,M=O-1,F=i;F!=null&&++$<O;){var W=Po(s[$]),ae=d;if(W==="__proto__"||W==="constructor"||W==="prototype")return i;if($!=M){var le=F[W];ae=h?h(le,W,F):n,ae===n&&(ae=nn(le)?le:Xo(s[$+1])?[]:{})}jl(F,W,ae),F=F[W]}return i}var Qb=yd?function(i,s){return yd.set(i,s),i}:ir,lA=gd?function(i,s){return gd(i,"toString",{configurable:!0,enumerable:!1,value:im(s),writable:!0})}:ir;function uA(i){return Ld(ss(i))}function jr(i,s,d){var h=-1,$=i.length;s<0&&(s=-s>$?0:$+s),d=d>$?$:d,d<0&&(d+=$),$=s>d?0:d-s>>>0,s>>>=0;for(var O=Q($);++h<$;)O[h]=i[h+s];return O}function cA(i,s){var d;return vi(i,function(h,$,O){return d=s(h,$,O),!d}),!!d}function Sd(i,s,d){var h=0,$=i==null?h:i.length;if(typeof s=="number"&&s===s&&$<=Z){for(;h<$;){var O=h+$>>>1,M=i[O];M!==null&&!Er(M)&&(d?M<=s:M<s)?h=O+1:$=O}return $}return Ag(i,s,ir,d)}function Ag(i,s,d,h){var $=0,O=i==null?0:i.length;if(O===0)return 0;s=d(s);for(var M=s!==s,F=s===null,W=Er(s),ae=s===n;$<O;){var le=vd(($+O)/2),pe=d(i[le]),Ee=pe!==n,Oe=pe===null,He=pe===pe,ot=Er(pe);if(M)var Ve=h||He;else ae?Ve=He&&(h||Ee):F?Ve=He&&Ee&&(h||!Oe):W?Ve=He&&Ee&&!Oe&&(h||!ot):Oe||ot?Ve=!1:Ve=h?pe<=s:pe<s;Ve?$=le+1:O=le}return Bn(O,q)}function Zb(i,s){for(var d=-1,h=i.length,$=0,O=[];++d<h;){var M=i[d],F=s?s(M):M;if(!d||!po(F,W)){var W=F;O[$++]=M===0?0:M}}return O}function Jb(i){return typeof i=="number"?i:Er(i)?me:+i}function Cr(i){if(typeof i=="string")return i;if(Ze(i))return Qt(i,Cr)+"";if(Er(i))return Ob?Ob.call(i):"";var s=i+"";return s=="0"&&1/i==-j?"-0":s}function yi(i,s,d){var h=-1,$=od,O=i.length,M=!0,F=[],W=F;if(d)M=!1,$=lg;else if(O>=o){var ae=s?null:_A(i);if(ae)return ad(ae);M=!1,$=Nl,W=new sa}else W=s?[]:F;e:for(;++h<O;){var le=i[h],pe=s?s(le):le;if(le=d||le!==0?le:0,M&&pe===pe){for(var Ee=W.length;Ee--;)if(W[Ee]===pe)continue e;s&&W.push(pe),F.push(le)}else $(W,pe,d)||(W!==F&&W.push(pe),F.push(le))}return F}function Lg(i,s){return s=xi(s,i),i=P_(i,s),i==null||delete i[Po(Wr(s))]}function e_(i,s,d,h){return Gl(i,s,d(ua(i,s)),h)}function $d(i,s,d,h){for(var $=i.length,O=h?$:-1;(h?O--:++O<$)&&s(i[O],O,i););return d?jr(i,h?0:O,h?O+1:$):jr(i,h?O+1:0,h?$:O)}function t_(i,s){var d=i;return d instanceof ct&&(d=d.value()),ug(s,function(h,$){return $.func.apply($.thisArg,hi([h],$.args))},d)}function Mg(i,s,d){var h=i.length;if(h<2)return h?yi(i[0]):[];for(var $=-1,O=Q(h);++$<h;)for(var M=i[$],F=-1;++F<h;)F!=$&&(O[$]=Wl(O[$]||M,i[F],s,d));return yi(On(O,1),s,d)}function n_(i,s,d){for(var h=-1,$=i.length,O=s.length,M={};++h<$;){var F=h<O?s[h]:n;d(M,i[h],F)}return M}function Ng(i){return fn(i)?i:[]}function Dg(i){return typeof i=="function"?i:ir}function xi(i,s){return Ze(i)?i:Gg(i,s)?[i]:O_(wt(i))}var dA=it;function bi(i,s,d){var h=i.length;return d=d===n?h:d,!s&&d>=h?i:jr(i,s,d)}var r_=Z3||function(i){return In.clearTimeout(i)};function o_(i,s){if(s)return i.slice();var d=i.length,h=Sb?Sb(d):new i.constructor(d);return i.copy(h),h}function Bg(i){var s=new i.constructor(i.byteLength);return new fd(s).set(new fd(i)),s}function fA(i,s){var d=s?Bg(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}function pA(i){var s=new i.constructor(i.source,gn.exec(i));return s.lastIndex=i.lastIndex,s}function hA(i){return zl?Mt(zl.call(i)):{}}function i_(i,s){var d=s?Bg(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function a_(i,s){if(i!==s){var d=i!==n,h=i===null,$=i===i,O=Er(i),M=s!==n,F=s===null,W=s===s,ae=Er(s);if(!F&&!ae&&!O&&i>s||O&&M&&W&&!F&&!ae||h&&M&&W||!d&&W||!$)return 1;if(!h&&!O&&!ae&&i<s||ae&&d&&$&&!h&&!O||F&&d&&$||!M&&$||!W)return-1}return 0}function gA(i,s,d){for(var h=-1,$=i.criteria,O=s.criteria,M=$.length,F=d.length;++h<M;){var W=a_($[h],O[h]);if(W){if(h>=F)return W;var ae=d[h];return W*(ae=="desc"?-1:1)}}return i.index-s.index}function s_(i,s,d,h){for(var $=-1,O=i.length,M=d.length,F=-1,W=s.length,ae=xn(O-M,0),le=Q(W+ae),pe=!h;++F<W;)le[F]=s[F];for(;++$<M;)(pe||$<O)&&(le[d[$]]=i[$]);for(;ae--;)le[F++]=i[$++];return le}function l_(i,s,d,h){for(var $=-1,O=i.length,M=-1,F=d.length,W=-1,ae=s.length,le=xn(O-F,0),pe=Q(le+ae),Ee=!h;++$<le;)pe[$]=i[$];for(var Oe=$;++W<ae;)pe[Oe+W]=s[W];for(;++M<F;)(Ee||$<O)&&(pe[Oe+d[M]]=i[$++]);return pe}function nr(i,s){var d=-1,h=i.length;for(s||(s=Q(h));++d<h;)s[d]=i[d];return s}function $o(i,s,d,h){var $=!d;d||(d={});for(var O=-1,M=s.length;++O<M;){var F=s[O],W=h?h(d[F],i[F],F,d,i):n;W===n&&(W=i[F]),$?Ko(d,F,W):jl(d,F,W)}return d}function mA(i,s){return $o(i,Vg(i),s)}function vA(i,s){return $o(i,__(i),s)}function Pd(i,s){return function(d,h){var $=Ze(d)?C3:Fk,O=s?s():{};return $(d,i,je(h,2),O)}}function rs(i){return it(function(s,d){var h=-1,$=d.length,O=$>1?d[$-1]:n,M=$>2?d[2]:n;for(O=i.length>3&&typeof O=="function"?($--,O):n,M&&Yn(d[0],d[1],M)&&(O=$<3?n:O,$=1),s=Mt(s);++h<$;){var F=d[h];F&&i(s,F,h,O)}return s})}function u_(i,s){return function(d,h){if(d==null)return d;if(!rr(d))return i(d,h);for(var $=d.length,O=s?$:-1,M=Mt(d);(s?O--:++O<$)&&h(M[O],O,M)!==!1;);return d}}function c_(i){return function(s,d,h){for(var $=-1,O=Mt(s),M=h(s),F=M.length;F--;){var W=M[i?F:++$];if(d(O[W],W,O)===!1)break}return s}}function yA(i,s,d){var h=s&y,$=Kl(i);function O(){var M=this&&this!==In&&this instanceof O?$:i;return M.apply(h?d:this,arguments)}return O}function d_(i){return function(s){s=wt(s);var d=Xa(s)?co(s):n,h=d?d[0]:s.charAt(0),$=d?bi(d,1).join(""):s.slice(1);return h[i]()+$}}function os(i){return function(s){return ug(uC(lC(s).replace(l3,"")),i,"")}}function Kl(i){return function(){var s=arguments;switch(s.length){case 0:return new i;case 1:return new i(s[0]);case 2:return new i(s[0],s[1]);case 3:return new i(s[0],s[1],s[2]);case 4:return new i(s[0],s[1],s[2],s[3]);case 5:return new i(s[0],s[1],s[2],s[3],s[4]);case 6:return new i(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new i(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=ns(i.prototype),h=i.apply(d,s);return nn(h)?h:d}}function xA(i,s,d){var h=Kl(i);function $(){for(var O=arguments.length,M=Q(O),F=O,W=is($);F--;)M[F]=arguments[F];var ae=O<3&&M[0]!==W&&M[O-1]!==W?[]:gi(M,W);if(O-=ae.length,O<d)return m_(i,s,Rd,$.placeholder,n,M,ae,n,n,d-O);var le=this&&this!==In&&this instanceof $?h:i;return br(le,this,M)}return $}function f_(i){return function(s,d,h){var $=Mt(s);if(!rr(s)){var O=je(d,3);s=En(s),d=function(F){return O($[F],F,$)}}var M=i(s,d,h);return M>-1?$[O?s[M]:M]:n}}function p_(i){return Yo(function(s){var d=s.length,h=d,$=Ur.prototype.thru;for(i&&s.reverse();h--;){var O=s[h];if(typeof O!="function")throw new Fr(l);if($&&!M&&kd(O)=="wrapper")var M=new Ur([],!0)}for(h=M?h:d;++h<d;){O=s[h];var F=kd(O),W=F=="wrapper"?Wg(O):n;W&&Kg(W[0])&&W[1]==(I|w|A|L)&&!W[4].length&&W[9]==1?M=M[kd(W[0])].apply(M,W[3]):M=O.length==1&&Kg(O)?M[F]():M.thru(O)}return function(){var ae=arguments,le=ae[0];if(M&&ae.length==1&&Ze(le))return M.plant(le).value();for(var pe=0,Ee=d?s[pe].apply(this,ae):le;++pe<d;)Ee=s[pe].call(this,Ee);return Ee}})}function Rd(i,s,d,h,$,O,M,F,W,ae){var le=s&I,pe=s&y,Ee=s&v,Oe=s&(w|P),He=s&N,ot=Ee?n:Kl(i);function Ve(){for(var ut=arguments.length,ht=Q(ut),wr=ut;wr--;)ht[wr]=arguments[wr];if(Oe)var Xn=is(Ve),Sr=O3(ht,Xn);if(h&&(ht=s_(ht,h,$,Oe)),O&&(ht=l_(ht,O,M,Oe)),ut-=Sr,Oe&&ut<ae){var pn=gi(ht,Xn);return m_(i,s,Rd,Ve.placeholder,d,ht,pn,F,W,ae-ut)}var ho=pe?d:this,Jo=Ee?ho[i]:i;return ut=ht.length,F?ht=FA(ht,F):He&&ut>1&&ht.reverse(),le&&W<ut&&(ht.length=W),this&&this!==In&&this instanceof Ve&&(Jo=ot||Kl(Jo)),Jo.apply(ho,ht)}return Ve}function h_(i,s){return function(d,h){return Kk(d,i,s(h),{})}}function Td(i,s){return function(d,h){var $;if(d===n&&h===n)return s;if(d!==n&&($=d),h!==n){if($===n)return h;typeof d=="string"||typeof h=="string"?(d=Cr(d),h=Cr(h)):(d=Jb(d),h=Jb(h)),$=i(d,h)}return $}}function Fg(i){return Yo(function(s){return s=Qt(s,_r(je())),it(function(d){var h=this;return i(s,function($){return br($,h,d)})})})}function Id(i,s){s=s===n?" ":Cr(s);var d=s.length;if(d<2)return d?kg(s,i):s;var h=kg(s,md(i/Qa(s)));return Xa(s)?bi(co(h),0,i).join(""):h.slice(0,i)}function bA(i,s,d,h){var $=s&y,O=Kl(i);function M(){for(var F=-1,W=arguments.length,ae=-1,le=h.length,pe=Q(le+W),Ee=this&&this!==In&&this instanceof M?O:i;++ae<le;)pe[ae]=h[ae];for(;W--;)pe[ae++]=arguments[++F];return br(Ee,$?d:this,pe)}return M}function g_(i){return function(s,d,h){return h&&typeof h!="number"&&Yn(s,d,h)&&(d=h=n),s=Zo(s),d===n?(d=s,s=0):d=Zo(d),h=h===n?s<d?1:-1:Zo(h),iA(s,d,h,i)}}function Od(i){return function(s,d){return typeof s=="string"&&typeof d=="string"||(s=Hr(s),d=Hr(d)),i(s,d)}}function m_(i,s,d,h,$,O,M,F,W,ae){var le=s&w,pe=le?M:n,Ee=le?n:M,Oe=le?O:n,He=le?n:O;s|=le?A:k,s&=~(le?k:A),s&_||(s&=~(y|v));var ot=[i,s,$,Oe,pe,He,Ee,F,W,ae],Ve=d.apply(n,ot);return Kg(i)&&R_(Ve,ot),Ve.placeholder=h,T_(Ve,i,s)}function Ug(i){var s=yn[i];return function(d,h){if(d=Hr(d),h=h==null?0:Bn(tt(h),292),h&&Tb(d)){var $=(wt(d)+"e").split("e"),O=s($[0]+"e"+(+$[1]+h));return $=(wt(O)+"e").split("e"),+($[0]+"e"+(+$[1]-h))}return s(d)}}var _A=es&&1/ad(new es([,-0]))[1]==j?function(i){return new es(i)}:lm;function v_(i){return function(s){var d=Fn(s);return d==We?mg(s):d==qe?B3(s):I3(s,i(s))}}function qo(i,s,d,h,$,O,M,F){var W=s&v;if(!W&&typeof i!="function")throw new Fr(l);var ae=h?h.length:0;if(ae||(s&=~(A|k),h=$=n),M=M===n?M:xn(tt(M),0),F=F===n?F:tt(F),ae-=$?$.length:0,s&k){var le=h,pe=$;h=$=n}var Ee=W?n:Wg(i),Oe=[i,s,d,h,$,le,pe,O,M,F];if(Ee&&NA(Oe,Ee),i=Oe[0],s=Oe[1],d=Oe[2],h=Oe[3],$=Oe[4],F=Oe[9]=Oe[9]===n?W?0:i.length:xn(Oe[9]-ae,0),!F&&s&(w|P)&&(s&=~(w|P)),!s||s==y)var He=yA(i,s,d);else s==w||s==P?He=xA(i,s,F):(s==A||s==(y|A))&&!$.length?He=bA(i,s,d,h):He=Rd.apply(n,Oe);var ot=Ee?Qb:R_;return T_(ot(He,Oe),i,s)}function y_(i,s,d,h){return i===n||po(i,Ja[d])&&!$t.call(h,d)?s:i}function x_(i,s,d,h,$,O){return nn(i)&&nn(s)&&(O.set(s,i),wd(i,s,n,x_,O),O.delete(s)),i}function CA(i){return Xl(i)?n:i}function b_(i,s,d,h,$,O){var M=d&E,F=i.length,W=s.length;if(F!=W&&!(M&&W>F))return!1;var ae=O.get(i),le=O.get(s);if(ae&&le)return ae==s&&le==i;var pe=-1,Ee=!0,Oe=d&b?new sa:n;for(O.set(i,s),O.set(s,i);++pe<F;){var He=i[pe],ot=s[pe];if(h)var Ve=M?h(ot,He,pe,s,i,O):h(He,ot,pe,i,s,O);if(Ve!==n){if(Ve)continue;Ee=!1;break}if(Oe){if(!cg(s,function(ut,ht){if(!Nl(Oe,ht)&&(He===ut||$(He,ut,d,h,O)))return Oe.push(ht)})){Ee=!1;break}}else if(!(He===ot||$(He,ot,d,h,O))){Ee=!1;break}}return O.delete(i),O.delete(s),Ee}function EA(i,s,d,h,$,O,M){switch(d){case be:if(i.byteLength!=s.byteLength||i.byteOffset!=s.byteOffset)return!1;i=i.buffer,s=s.buffer;case Pe:return!(i.byteLength!=s.byteLength||!O(new fd(i),new fd(s)));case re:case fe:case Me:return po(+i,+s);case ke:return i.name==s.name&&i.message==s.message;case Ge:case mt:return i==s+"";case We:var F=mg;case qe:var W=h&E;if(F||(F=ad),i.size!=s.size&&!W)return!1;var ae=M.get(i);if(ae)return ae==s;h|=b,M.set(i,s);var le=b_(F(i),F(s),h,$,O,M);return M.delete(i),le;case zt:if(zl)return zl.call(i)==zl.call(s)}return!1}function wA(i,s,d,h,$,O){var M=d&E,F=zg(i),W=F.length,ae=zg(s),le=ae.length;if(W!=le&&!M)return!1;for(var pe=W;pe--;){var Ee=F[pe];if(!(M?Ee in s:$t.call(s,Ee)))return!1}var Oe=O.get(i),He=O.get(s);if(Oe&&He)return Oe==s&&He==i;var ot=!0;O.set(i,s),O.set(s,i);for(var Ve=M;++pe<W;){Ee=F[pe];var ut=i[Ee],ht=s[Ee];if(h)var wr=M?h(ht,ut,Ee,s,i,O):h(ut,ht,Ee,i,s,O);if(!(wr===n?ut===ht||$(ut,ht,d,h,O):wr)){ot=!1;break}Ve||(Ve=Ee=="constructor")}if(ot&&!Ve){var Xn=i.constructor,Sr=s.constructor;Xn!=Sr&&"constructor"in i&&"constructor"in s&&!(typeof Xn=="function"&&Xn instanceof Xn&&typeof Sr=="function"&&Sr instanceof Sr)&&(ot=!1)}return O.delete(i),O.delete(s),ot}function Yo(i){return Yg($_(i,n,M_),i+"")}function zg(i){return Ub(i,En,Vg)}function jg(i){return Ub(i,or,__)}var Wg=yd?function(i){return yd.get(i)}:lm;function kd(i){for(var s=i.name+"",d=ts[s],h=$t.call(ts,s)?d.length:0;h--;){var $=d[h],O=$.func;if(O==null||O==i)return $.name}return s}function is(i){var s=$t.call(T,"placeholder")?T:i;return s.placeholder}function je(){var i=T.iteratee||am;return i=i===am?Wb:i,arguments.length?i(arguments[0],arguments[1]):i}function Ad(i,s){var d=i.__data__;return kA(s)?d[typeof s=="string"?"string":"hash"]:d.map}function Hg(i){for(var s=En(i),d=s.length;d--;){var h=s[d],$=i[h];s[d]=[h,$,w_($)]}return s}function ca(i,s){var d=M3(i,s);return jb(d)?d:n}function SA(i){var s=$t.call(i,ia),d=i[ia];try{i[ia]=n;var h=!0}catch{}var $=cd.call(i);return h&&(s?i[ia]=d:delete i[ia]),$}var Vg=yg?function(i){return i==null?[]:(i=Mt(i),pi(yg(i),function(s){return Pb.call(i,s)}))}:um,__=yg?function(i){for(var s=[];i;)hi(s,Vg(i)),i=pd(i);return s}:um,Fn=qn;(xg&&Fn(new xg(new ArrayBuffer(1)))!=be||Bl&&Fn(new Bl)!=We||bg&&Fn(bg.resolve())!=bt||es&&Fn(new es)!=qe||Fl&&Fn(new Fl)!=rt)&&(Fn=function(i){var s=qn(i),d=s==ze?i.constructor:n,h=d?da(d):"";if(h)switch(h){case sk:return be;case lk:return We;case uk:return bt;case ck:return qe;case dk:return rt}return s});function $A(i,s,d){for(var h=-1,$=d.length;++h<$;){var O=d[h],M=O.size;switch(O.type){case"drop":i+=M;break;case"dropRight":s-=M;break;case"take":s=Bn(s,i+M);break;case"takeRight":i=xn(i,s-M);break}}return{start:i,end:s}}function PA(i){var s=i.match(cn);return s?s[1].split(de):[]}function C_(i,s,d){s=xi(s,i);for(var h=-1,$=s.length,O=!1;++h<$;){var M=Po(s[h]);if(!(O=i!=null&&d(i,M)))break;i=i[M]}return O||++h!=$?O:($=i==null?0:i.length,!!$&&Ud($)&&Xo(M,$)&&(Ze(i)||fa(i)))}function RA(i){var s=i.length,d=new i.constructor(s);return s&&typeof i[0]=="string"&&$t.call(i,"index")&&(d.index=i.index,d.input=i.input),d}function E_(i){return typeof i.constructor=="function"&&!ql(i)?ns(pd(i)):{}}function TA(i,s,d){var h=i.constructor;switch(s){case Pe:return Bg(i);case re:case fe:return new h(+i);case be:return fA(i,d);case Xe:case Se:case et:case At:case Xt:case Cn:case Tn:case Nn:case tn:return i_(i,d);case We:return new h;case Me:case mt:return new h(i);case Ge:return pA(i);case qe:return new h;case zt:return hA(i)}}function IA(i,s){var d=s.length;if(!d)return i;var h=d-1;return s[h]=(d>1?"& ":"")+s[h],s=s.join(d>2?", ":" "),i.replace(Je,`{
/* [wrapped with `+s+`] */
`)}function OA(i){return Ze(i)||fa(i)||!!(Rb&&i&&i[Rb])}function Xo(i,s){var d=typeof i;return s=s==null?te:s,!!s&&(d=="number"||d!="symbol"&&WO.test(i))&&i>-1&&i%1==0&&i<s}function Yn(i,s,d){if(!nn(d))return!1;var h=typeof s;return(h=="number"?rr(d)&&Xo(s,d.length):h=="string"&&s in d)?po(d[s],i):!1}function Gg(i,s){if(Ze(i))return!1;var d=typeof i;return d=="number"||d=="symbol"||d=="boolean"||i==null||Er(i)?!0:an.test(i)||!lt.test(i)||s!=null&&i in Mt(s)}function kA(i){var s=typeof i;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?i!=="__proto__":i===null}function Kg(i){var s=kd(i),d=T[s];if(typeof d!="function"||!(s in ct.prototype))return!1;if(i===d)return!0;var h=Wg(d);return!!h&&i===h[0]}function AA(i){return!!wb&&wb in i}var LA=ld?Qo:cm;function ql(i){var s=i&&i.constructor,d=typeof s=="function"&&s.prototype||Ja;return i===d}function w_(i){return i===i&&!nn(i)}function S_(i,s){return function(d){return d==null?!1:d[i]===s&&(s!==n||i in Mt(d))}}function MA(i){var s=Bd(i,function(h){return d.size===f&&d.clear(),h}),d=s.cache;return s}function NA(i,s){var d=i[1],h=s[1],$=d|h,O=$<(y|v|I),M=h==I&&d==w||h==I&&d==L&&i[7].length<=s[8]||h==(I|L)&&s[7].length<=s[8]&&d==w;if(!(O||M))return i;h&y&&(i[2]=s[2],$|=d&y?0:_);var F=s[3];if(F){var W=i[3];i[3]=W?s_(W,F,s[4]):F,i[4]=W?gi(i[3],p):s[4]}return F=s[5],F&&(W=i[5],i[5]=W?l_(W,F,s[6]):F,i[6]=W?gi(i[5],p):s[6]),F=s[7],F&&(i[7]=F),h&I&&(i[8]=i[8]==null?s[8]:Bn(i[8],s[8])),i[9]==null&&(i[9]=s[9]),i[0]=s[0],i[1]=$,i}function DA(i){var s=[];if(i!=null)for(var d in Mt(i))s.push(d);return s}function BA(i){return cd.call(i)}function $_(i,s,d){return s=xn(s===n?i.length-1:s,0),function(){for(var h=arguments,$=-1,O=xn(h.length-s,0),M=Q(O);++$<O;)M[$]=h[s+$];$=-1;for(var F=Q(s+1);++$<s;)F[$]=h[$];return F[s]=d(M),br(i,this,F)}}function P_(i,s){return s.length<2?i:ua(i,jr(s,0,-1))}function FA(i,s){for(var d=i.length,h=Bn(s.length,d),$=nr(i);h--;){var O=s[h];i[h]=Xo(O,d)?$[O]:n}return i}function qg(i,s){if(!(s==="constructor"&&typeof i[s]=="function")&&s!="__proto__")return i[s]}var R_=I_(Qb),Yl=ek||function(i,s){return In.setTimeout(i,s)},Yg=I_(lA);function T_(i,s,d){var h=s+"";return Yg(i,IA(h,UA(PA(h),d)))}function I_(i){var s=0,d=0;return function(){var h=ok(),$=X-(h-d);if(d=h,$>0){if(++s>=ee)return arguments[0]}else s=0;return i.apply(n,arguments)}}function Ld(i,s){var d=-1,h=i.length,$=h-1;for(s=s===n?h:s;++d<s;){var O=Og(d,$),M=i[O];i[O]=i[d],i[d]=M}return i.length=s,i}var O_=MA(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(Dn,function(d,h,$,O){s.push($?O.replace(Qe,"$1"):h||d)}),s});function Po(i){if(typeof i=="string"||Er(i))return i;var s=i+"";return s=="0"&&1/i==-j?"-0":s}function da(i){if(i!=null){try{return ud.call(i)}catch{}try{return i+""}catch{}}return""}function UA(i,s){return Br(ue,function(d){var h="_."+d[0];s&d[1]&&!od(i,h)&&i.push(h)}),i.sort()}function k_(i){if(i instanceof ct)return i.clone();var s=new Ur(i.__wrapped__,i.__chain__);return s.__actions__=nr(i.__actions__),s.__index__=i.__index__,s.__values__=i.__values__,s}function zA(i,s,d){(d?Yn(i,s,d):s===n)?s=1:s=xn(tt(s),0);var h=i==null?0:i.length;if(!h||s<1)return[];for(var $=0,O=0,M=Q(md(h/s));$<h;)M[O++]=jr(i,$,$+=s);return M}function jA(i){for(var s=-1,d=i==null?0:i.length,h=0,$=[];++s<d;){var O=i[s];O&&($[h++]=O)}return $}function WA(){var i=arguments.length;if(!i)return[];for(var s=Q(i-1),d=arguments[0],h=i;h--;)s[h-1]=arguments[h];return hi(Ze(d)?nr(d):[d],On(s,1))}var HA=it(function(i,s){return fn(i)?Wl(i,On(s,1,fn,!0)):[]}),VA=it(function(i,s){var d=Wr(s);return fn(d)&&(d=n),fn(i)?Wl(i,On(s,1,fn,!0),je(d,2)):[]}),GA=it(function(i,s){var d=Wr(s);return fn(d)&&(d=n),fn(i)?Wl(i,On(s,1,fn,!0),n,d):[]});function KA(i,s,d){var h=i==null?0:i.length;return h?(s=d||s===n?1:tt(s),jr(i,s<0?0:s,h)):[]}function qA(i,s,d){var h=i==null?0:i.length;return h?(s=d||s===n?1:tt(s),s=h-s,jr(i,0,s<0?0:s)):[]}function YA(i,s){return i&&i.length?$d(i,je(s,3),!0,!0):[]}function XA(i,s){return i&&i.length?$d(i,je(s,3),!0):[]}function QA(i,s,d,h){var $=i==null?0:i.length;return $?(d&&typeof d!="number"&&Yn(i,s,d)&&(d=0,h=$),Wk(i,s,d,h)):[]}function A_(i,s,d){var h=i==null?0:i.length;if(!h)return-1;var $=d==null?0:tt(d);return $<0&&($=xn(h+$,0)),id(i,je(s,3),$)}function L_(i,s,d){var h=i==null?0:i.length;if(!h)return-1;var $=h-1;return d!==n&&($=tt(d),$=d<0?xn(h+$,0):Bn($,h-1)),id(i,je(s,3),$,!0)}function M_(i){var s=i==null?0:i.length;return s?On(i,1):[]}function ZA(i){var s=i==null?0:i.length;return s?On(i,j):[]}function JA(i,s){var d=i==null?0:i.length;return d?(s=s===n?1:tt(s),On(i,s)):[]}function eL(i){for(var s=-1,d=i==null?0:i.length,h={};++s<d;){var $=i[s];h[$[0]]=$[1]}return h}function N_(i){return i&&i.length?i[0]:n}function tL(i,s,d){var h=i==null?0:i.length;if(!h)return-1;var $=d==null?0:tt(d);return $<0&&($=xn(h+$,0)),Ya(i,s,$)}function nL(i){var s=i==null?0:i.length;return s?jr(i,0,-1):[]}var rL=it(function(i){var s=Qt(i,Ng);return s.length&&s[0]===i[0]?$g(s):[]}),oL=it(function(i){var s=Wr(i),d=Qt(i,Ng);return s===Wr(d)?s=n:d.pop(),d.length&&d[0]===i[0]?$g(d,je(s,2)):[]}),iL=it(function(i){var s=Wr(i),d=Qt(i,Ng);return s=typeof s=="function"?s:n,s&&d.pop(),d.length&&d[0]===i[0]?$g(d,n,s):[]});function aL(i,s){return i==null?"":nk.call(i,s)}function Wr(i){var s=i==null?0:i.length;return s?i[s-1]:n}function sL(i,s,d){var h=i==null?0:i.length;if(!h)return-1;var $=h;return d!==n&&($=tt(d),$=$<0?xn(h+$,0):Bn($,h-1)),s===s?U3(i,s,$):id(i,mb,$,!0)}function lL(i,s){return i&&i.length?Kb(i,tt(s)):n}var uL=it(D_);function D_(i,s){return i&&i.length&&s&&s.length?Ig(i,s):i}function cL(i,s,d){return i&&i.length&&s&&s.length?Ig(i,s,je(d,2)):i}function dL(i,s,d){return i&&i.length&&s&&s.length?Ig(i,s,n,d):i}var fL=Yo(function(i,s){var d=i==null?0:i.length,h=Cg(i,s);return Xb(i,Qt(s,function($){return Xo($,d)?+$:$}).sort(a_)),h});function pL(i,s){var d=[];if(!(i&&i.length))return d;var h=-1,$=[],O=i.length;for(s=je(s,3);++h<O;){var M=i[h];s(M,h,i)&&(d.push(M),$.push(h))}return Xb(i,$),d}function Xg(i){return i==null?i:ak.call(i)}function hL(i,s,d){var h=i==null?0:i.length;return h?(d&&typeof d!="number"&&Yn(i,s,d)?(s=0,d=h):(s=s==null?0:tt(s),d=d===n?h:tt(d)),jr(i,s,d)):[]}function gL(i,s){return Sd(i,s)}function mL(i,s,d){return Ag(i,s,je(d,2))}function vL(i,s){var d=i==null?0:i.length;if(d){var h=Sd(i,s);if(h<d&&po(i[h],s))return h}return-1}function yL(i,s){return Sd(i,s,!0)}function xL(i,s,d){return Ag(i,s,je(d,2),!0)}function bL(i,s){var d=i==null?0:i.length;if(d){var h=Sd(i,s,!0)-1;if(po(i[h],s))return h}return-1}function _L(i){return i&&i.length?Zb(i):[]}function CL(i,s){return i&&i.length?Zb(i,je(s,2)):[]}function EL(i){var s=i==null?0:i.length;return s?jr(i,1,s):[]}function wL(i,s,d){return i&&i.length?(s=d||s===n?1:tt(s),jr(i,0,s<0?0:s)):[]}function SL(i,s,d){var h=i==null?0:i.length;return h?(s=d||s===n?1:tt(s),s=h-s,jr(i,s<0?0:s,h)):[]}function $L(i,s){return i&&i.length?$d(i,je(s,3),!1,!0):[]}function PL(i,s){return i&&i.length?$d(i,je(s,3)):[]}var RL=it(function(i){return yi(On(i,1,fn,!0))}),TL=it(function(i){var s=Wr(i);return fn(s)&&(s=n),yi(On(i,1,fn,!0),je(s,2))}),IL=it(function(i){var s=Wr(i);return s=typeof s=="function"?s:n,yi(On(i,1,fn,!0),n,s)});function OL(i){return i&&i.length?yi(i):[]}function kL(i,s){return i&&i.length?yi(i,je(s,2)):[]}function AL(i,s){return s=typeof s=="function"?s:n,i&&i.length?yi(i,n,s):[]}function Qg(i){if(!(i&&i.length))return[];var s=0;return i=pi(i,function(d){if(fn(d))return s=xn(d.length,s),!0}),hg(s,function(d){return Qt(i,dg(d))})}function B_(i,s){if(!(i&&i.length))return[];var d=Qg(i);return s==null?d:Qt(d,function(h){return br(s,n,h)})}var LL=it(function(i,s){return fn(i)?Wl(i,s):[]}),ML=it(function(i){return Mg(pi(i,fn))}),NL=it(function(i){var s=Wr(i);return fn(s)&&(s=n),Mg(pi(i,fn),je(s,2))}),DL=it(function(i){var s=Wr(i);return s=typeof s=="function"?s:n,Mg(pi(i,fn),n,s)}),BL=it(Qg);function FL(i,s){return n_(i||[],s||[],jl)}function UL(i,s){return n_(i||[],s||[],Gl)}var zL=it(function(i){var s=i.length,d=s>1?i[s-1]:n;return d=typeof d=="function"?(i.pop(),d):n,B_(i,d)});function F_(i){var s=T(i);return s.__chain__=!0,s}function jL(i,s){return s(i),i}function Md(i,s){return s(i)}var WL=Yo(function(i){var s=i.length,d=s?i[0]:0,h=this.__wrapped__,$=function(O){return Cg(O,i)};return s>1||this.__actions__.length||!(h instanceof ct)||!Xo(d)?this.thru($):(h=h.slice(d,+d+(s?1:0)),h.__actions__.push({func:Md,args:[$],thisArg:n}),new Ur(h,this.__chain__).thru(function(O){return s&&!O.length&&O.push(n),O}))});function HL(){return F_(this)}function VL(){return new Ur(this.value(),this.__chain__)}function GL(){this.__values__===n&&(this.__values__=J_(this.value()));var i=this.__index__>=this.__values__.length,s=i?n:this.__values__[this.__index__++];return{done:i,value:s}}function KL(){return this}function qL(i){for(var s,d=this;d instanceof bd;){var h=k_(d);h.__index__=0,h.__values__=n,s?$.__wrapped__=h:s=h;var $=h;d=d.__wrapped__}return $.__wrapped__=i,s}function YL(){var i=this.__wrapped__;if(i instanceof ct){var s=i;return this.__actions__.length&&(s=new ct(this)),s=s.reverse(),s.__actions__.push({func:Md,args:[Xg],thisArg:n}),new Ur(s,this.__chain__)}return this.thru(Xg)}function XL(){return t_(this.__wrapped__,this.__actions__)}var QL=Pd(function(i,s,d){$t.call(i,d)?++i[d]:Ko(i,d,1)});function ZL(i,s,d){var h=Ze(i)?hb:jk;return d&&Yn(i,s,d)&&(s=n),h(i,je(s,3))}function JL(i,s){var d=Ze(i)?pi:Bb;return d(i,je(s,3))}var eM=f_(A_),tM=f_(L_);function nM(i,s){return On(Nd(i,s),1)}function rM(i,s){return On(Nd(i,s),j)}function oM(i,s,d){return d=d===n?1:tt(d),On(Nd(i,s),d)}function U_(i,s){var d=Ze(i)?Br:vi;return d(i,je(s,3))}function z_(i,s){var d=Ze(i)?E3:Db;return d(i,je(s,3))}var iM=Pd(function(i,s,d){$t.call(i,d)?i[d].push(s):Ko(i,d,[s])});function aM(i,s,d,h){i=rr(i)?i:ss(i),d=d&&!h?tt(d):0;var $=i.length;return d<0&&(d=xn($+d,0)),zd(i)?d<=$&&i.indexOf(s,d)>-1:!!$&&Ya(i,s,d)>-1}var sM=it(function(i,s,d){var h=-1,$=typeof s=="function",O=rr(i)?Q(i.length):[];return vi(i,function(M){O[++h]=$?br(s,M,d):Hl(M,s,d)}),O}),lM=Pd(function(i,s,d){Ko(i,d,s)});function Nd(i,s){var d=Ze(i)?Qt:Hb;return d(i,je(s,3))}function uM(i,s,d,h){return i==null?[]:(Ze(s)||(s=s==null?[]:[s]),d=h?n:d,Ze(d)||(d=d==null?[]:[d]),qb(i,s,d))}var cM=Pd(function(i,s,d){i[d?0:1].push(s)},function(){return[[],[]]});function dM(i,s,d){var h=Ze(i)?ug:yb,$=arguments.length<3;return h(i,je(s,4),d,$,vi)}function fM(i,s,d){var h=Ze(i)?w3:yb,$=arguments.length<3;return h(i,je(s,4),d,$,Db)}function pM(i,s){var d=Ze(i)?pi:Bb;return d(i,Fd(je(s,3)))}function hM(i){var s=Ze(i)?Ab:aA;return s(i)}function gM(i,s,d){(d?Yn(i,s,d):s===n)?s=1:s=tt(s);var h=Ze(i)?Dk:sA;return h(i,s)}function mM(i){var s=Ze(i)?Bk:uA;return s(i)}function vM(i){if(i==null)return 0;if(rr(i))return zd(i)?Qa(i):i.length;var s=Fn(i);return s==We||s==qe?i.size:Rg(i).length}function yM(i,s,d){var h=Ze(i)?cg:cA;return d&&Yn(i,s,d)&&(s=n),h(i,je(s,3))}var xM=it(function(i,s){if(i==null)return[];var d=s.length;return d>1&&Yn(i,s[0],s[1])?s=[]:d>2&&Yn(s[0],s[1],s[2])&&(s=[s[0]]),qb(i,On(s,1),[])}),Dd=J3||function(){return In.Date.now()};function bM(i,s){if(typeof s!="function")throw new Fr(l);return i=tt(i),function(){if(--i<1)return s.apply(this,arguments)}}function j_(i,s,d){return s=d?n:s,s=i&&s==null?i.length:s,qo(i,I,n,n,n,n,s)}function W_(i,s){var d;if(typeof s!="function")throw new Fr(l);return i=tt(i),function(){return--i>0&&(d=s.apply(this,arguments)),i<=1&&(s=n),d}}var Zg=it(function(i,s,d){var h=y;if(d.length){var $=gi(d,is(Zg));h|=A}return qo(i,h,s,d,$)}),H_=it(function(i,s,d){var h=y|v;if(d.length){var $=gi(d,is(H_));h|=A}return qo(s,h,i,d,$)});function V_(i,s,d){s=d?n:s;var h=qo(i,w,n,n,n,n,n,s);return h.placeholder=V_.placeholder,h}function G_(i,s,d){s=d?n:s;var h=qo(i,P,n,n,n,n,n,s);return h.placeholder=G_.placeholder,h}function K_(i,s,d){var h,$,O,M,F,W,ae=0,le=!1,pe=!1,Ee=!0;if(typeof i!="function")throw new Fr(l);s=Hr(s)||0,nn(d)&&(le=!!d.leading,pe="maxWait"in d,O=pe?xn(Hr(d.maxWait)||0,s):O,Ee="trailing"in d?!!d.trailing:Ee);function Oe(pn){var ho=h,Jo=$;return h=$=n,ae=pn,M=i.apply(Jo,ho),M}function He(pn){return ae=pn,F=Yl(ut,s),le?Oe(pn):M}function ot(pn){var ho=pn-W,Jo=pn-ae,fC=s-ho;return pe?Bn(fC,O-Jo):fC}function Ve(pn){var ho=pn-W,Jo=pn-ae;return W===n||ho>=s||ho<0||pe&&Jo>=O}function ut(){var pn=Dd();if(Ve(pn))return ht(pn);F=Yl(ut,ot(pn))}function ht(pn){return F=n,Ee&&h?Oe(pn):(h=$=n,M)}function wr(){F!==n&&r_(F),ae=0,h=W=$=F=n}function Xn(){return F===n?M:ht(Dd())}function Sr(){var pn=Dd(),ho=Ve(pn);if(h=arguments,$=this,W=pn,ho){if(F===n)return He(W);if(pe)return r_(F),F=Yl(ut,s),Oe(W)}return F===n&&(F=Yl(ut,s)),M}return Sr.cancel=wr,Sr.flush=Xn,Sr}var _M=it(function(i,s){return Nb(i,1,s)}),CM=it(function(i,s,d){return Nb(i,Hr(s)||0,d)});function EM(i){return qo(i,N)}function Bd(i,s){if(typeof i!="function"||s!=null&&typeof s!="function")throw new Fr(l);var d=function(){var h=arguments,$=s?s.apply(this,h):h[0],O=d.cache;if(O.has($))return O.get($);var M=i.apply(this,h);return d.cache=O.set($,M)||O,M};return d.cache=new(Bd.Cache||Go),d}Bd.Cache=Go;function Fd(i){if(typeof i!="function")throw new Fr(l);return function(){var s=arguments;switch(s.length){case 0:return!i.call(this);case 1:return!i.call(this,s[0]);case 2:return!i.call(this,s[0],s[1]);case 3:return!i.call(this,s[0],s[1],s[2])}return!i.apply(this,s)}}function wM(i){return W_(2,i)}var SM=dA(function(i,s){s=s.length==1&&Ze(s[0])?Qt(s[0],_r(je())):Qt(On(s,1),_r(je()));var d=s.length;return it(function(h){for(var $=-1,O=Bn(h.length,d);++$<O;)h[$]=s[$].call(this,h[$]);return br(i,this,h)})}),Jg=it(function(i,s){var d=gi(s,is(Jg));return qo(i,A,n,s,d)}),q_=it(function(i,s){var d=gi(s,is(q_));return qo(i,k,n,s,d)}),$M=Yo(function(i,s){return qo(i,L,n,n,n,s)});function PM(i,s){if(typeof i!="function")throw new Fr(l);return s=s===n?s:tt(s),it(i,s)}function RM(i,s){if(typeof i!="function")throw new Fr(l);return s=s==null?0:xn(tt(s),0),it(function(d){var h=d[s],$=bi(d,0,s);return h&&hi($,h),br(i,this,$)})}function TM(i,s,d){var h=!0,$=!0;if(typeof i!="function")throw new Fr(l);return nn(d)&&(h="leading"in d?!!d.leading:h,$="trailing"in d?!!d.trailing:$),K_(i,s,{leading:h,maxWait:s,trailing:$})}function IM(i){return j_(i,1)}function OM(i,s){return Jg(Dg(s),i)}function kM(){if(!arguments.length)return[];var i=arguments[0];return Ze(i)?i:[i]}function AM(i){return zr(i,x)}function LM(i,s){return s=typeof s=="function"?s:n,zr(i,x,s)}function MM(i){return zr(i,m|x)}function NM(i,s){return s=typeof s=="function"?s:n,zr(i,m|x,s)}function DM(i,s){return s==null||Mb(i,s,En(s))}function po(i,s){return i===s||i!==i&&s!==s}var BM=Od(Sg),FM=Od(function(i,s){return i>=s}),fa=zb(function(){return arguments}())?zb:function(i){return sn(i)&&$t.call(i,"callee")&&!Pb.call(i,"callee")},Ze=Q.isArray,UM=lb?_r(lb):qk;function rr(i){return i!=null&&Ud(i.length)&&!Qo(i)}function fn(i){return sn(i)&&rr(i)}function zM(i){return i===!0||i===!1||sn(i)&&qn(i)==re}var _i=tk||cm,jM=ub?_r(ub):Yk;function WM(i){return sn(i)&&i.nodeType===1&&!Xl(i)}function HM(i){if(i==null)return!0;if(rr(i)&&(Ze(i)||typeof i=="string"||typeof i.splice=="function"||_i(i)||as(i)||fa(i)))return!i.length;var s=Fn(i);if(s==We||s==qe)return!i.size;if(ql(i))return!Rg(i).length;for(var d in i)if($t.call(i,d))return!1;return!0}function VM(i,s){return Vl(i,s)}function GM(i,s,d){d=typeof d=="function"?d:n;var h=d?d(i,s):n;return h===n?Vl(i,s,n,d):!!h}function em(i){if(!sn(i))return!1;var s=qn(i);return s==ke||s==we||typeof i.message=="string"&&typeof i.name=="string"&&!Xl(i)}function KM(i){return typeof i=="number"&&Tb(i)}function Qo(i){if(!nn(i))return!1;var s=qn(i);return s==Ie||s==Ce||s==Y||s==It}function Y_(i){return typeof i=="number"&&i==tt(i)}function Ud(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=te}function nn(i){var s=typeof i;return i!=null&&(s=="object"||s=="function")}function sn(i){return i!=null&&typeof i=="object"}var X_=cb?_r(cb):Qk;function qM(i,s){return i===s||Pg(i,s,Hg(s))}function YM(i,s,d){return d=typeof d=="function"?d:n,Pg(i,s,Hg(s),d)}function XM(i){return Q_(i)&&i!=+i}function QM(i){if(LA(i))throw new Ye(a);return jb(i)}function ZM(i){return i===null}function JM(i){return i==null}function Q_(i){return typeof i=="number"||sn(i)&&qn(i)==Me}function Xl(i){if(!sn(i)||qn(i)!=ze)return!1;var s=pd(i);if(s===null)return!0;var d=$t.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&ud.call(d)==Y3}var tm=db?_r(db):Zk;function e5(i){return Y_(i)&&i>=-te&&i<=te}var Z_=fb?_r(fb):Jk;function zd(i){return typeof i=="string"||!Ze(i)&&sn(i)&&qn(i)==mt}function Er(i){return typeof i=="symbol"||sn(i)&&qn(i)==zt}var as=pb?_r(pb):eA;function t5(i){return i===n}function n5(i){return sn(i)&&Fn(i)==rt}function r5(i){return sn(i)&&qn(i)==ft}var o5=Od(Tg),i5=Od(function(i,s){return i<=s});function J_(i){if(!i)return[];if(rr(i))return zd(i)?co(i):nr(i);if(Dl&&i[Dl])return D3(i[Dl]());var s=Fn(i),d=s==We?mg:s==qe?ad:ss;return d(i)}function Zo(i){if(!i)return i===0?i:0;if(i=Hr(i),i===j||i===-j){var s=i<0?-1:1;return s*ne}return i===i?i:0}function tt(i){var s=Zo(i),d=s%1;return s===s?d?s-d:s:0}function eC(i){return i?la(tt(i),0,H):0}function Hr(i){if(typeof i=="number")return i;if(Er(i))return me;if(nn(i)){var s=typeof i.valueOf=="function"?i.valueOf():i;i=nn(s)?s+"":s}if(typeof i!="string")return i===0?i:+i;i=xb(i);var d=Nr.test(i);return d||jO.test(i)?b3(i.slice(2),d?2:8):dn.test(i)?me:+i}function tC(i){return $o(i,or(i))}function a5(i){return i?la(tt(i),-te,te):i===0?i:0}function wt(i){return i==null?"":Cr(i)}var s5=rs(function(i,s){if(ql(s)||rr(s)){$o(s,En(s),i);return}for(var d in s)$t.call(s,d)&&jl(i,d,s[d])}),nC=rs(function(i,s){$o(s,or(s),i)}),jd=rs(function(i,s,d,h){$o(s,or(s),i,h)}),l5=rs(function(i,s,d,h){$o(s,En(s),i,h)}),u5=Yo(Cg);function c5(i,s){var d=ns(i);return s==null?d:Lb(d,s)}var d5=it(function(i,s){i=Mt(i);var d=-1,h=s.length,$=h>2?s[2]:n;for($&&Yn(s[0],s[1],$)&&(h=1);++d<h;)for(var O=s[d],M=or(O),F=-1,W=M.length;++F<W;){var ae=M[F],le=i[ae];(le===n||po(le,Ja[ae])&&!$t.call(i,ae))&&(i[ae]=O[ae])}return i}),f5=it(function(i){return i.push(n,x_),br(rC,n,i)});function p5(i,s){return gb(i,je(s,3),So)}function h5(i,s){return gb(i,je(s,3),wg)}function g5(i,s){return i==null?i:Eg(i,je(s,3),or)}function m5(i,s){return i==null?i:Fb(i,je(s,3),or)}function v5(i,s){return i&&So(i,je(s,3))}function y5(i,s){return i&&wg(i,je(s,3))}function x5(i){return i==null?[]:Ed(i,En(i))}function b5(i){return i==null?[]:Ed(i,or(i))}function nm(i,s,d){var h=i==null?n:ua(i,s);return h===n?d:h}function _5(i,s){return i!=null&&C_(i,s,Hk)}function rm(i,s){return i!=null&&C_(i,s,Vk)}var C5=h_(function(i,s,d){s!=null&&typeof s.toString!="function"&&(s=cd.call(s)),i[s]=d},im(ir)),E5=h_(function(i,s,d){s!=null&&typeof s.toString!="function"&&(s=cd.call(s)),$t.call(i,s)?i[s].push(d):i[s]=[d]},je),w5=it(Hl);function En(i){return rr(i)?kb(i):Rg(i)}function or(i){return rr(i)?kb(i,!0):tA(i)}function S5(i,s){var d={};return s=je(s,3),So(i,function(h,$,O){Ko(d,s(h,$,O),h)}),d}function $5(i,s){var d={};return s=je(s,3),So(i,function(h,$,O){Ko(d,$,s(h,$,O))}),d}var P5=rs(function(i,s,d){wd(i,s,d)}),rC=rs(function(i,s,d,h){wd(i,s,d,h)}),R5=Yo(function(i,s){var d={};if(i==null)return d;var h=!1;s=Qt(s,function(O){return O=xi(O,i),h||(h=O.length>1),O}),$o(i,jg(i),d),h&&(d=zr(d,m|g|x,CA));for(var $=s.length;$--;)Lg(d,s[$]);return d});function T5(i,s){return oC(i,Fd(je(s)))}var I5=Yo(function(i,s){return i==null?{}:rA(i,s)});function oC(i,s){if(i==null)return{};var d=Qt(jg(i),function(h){return[h]});return s=je(s),Yb(i,d,function(h,$){return s(h,$[0])})}function O5(i,s,d){s=xi(s,i);var h=-1,$=s.length;for($||($=1,i=n);++h<$;){var O=i==null?n:i[Po(s[h])];O===n&&(h=$,O=d),i=Qo(O)?O.call(i):O}return i}function k5(i,s,d){return i==null?i:Gl(i,s,d)}function A5(i,s,d,h){return h=typeof h=="function"?h:n,i==null?i:Gl(i,s,d,h)}var iC=v_(En),aC=v_(or);function L5(i,s,d){var h=Ze(i),$=h||_i(i)||as(i);if(s=je(s,4),d==null){var O=i&&i.constructor;$?d=h?new O:[]:nn(i)?d=Qo(O)?ns(pd(i)):{}:d={}}return($?Br:So)(i,function(M,F,W){return s(d,M,F,W)}),d}function M5(i,s){return i==null?!0:Lg(i,s)}function N5(i,s,d){return i==null?i:e_(i,s,Dg(d))}function D5(i,s,d,h){return h=typeof h=="function"?h:n,i==null?i:e_(i,s,Dg(d),h)}function ss(i){return i==null?[]:gg(i,En(i))}function B5(i){return i==null?[]:gg(i,or(i))}function F5(i,s,d){return d===n&&(d=s,s=n),d!==n&&(d=Hr(d),d=d===d?d:0),s!==n&&(s=Hr(s),s=s===s?s:0),la(Hr(i),s,d)}function U5(i,s,d){return s=Zo(s),d===n?(d=s,s=0):d=Zo(d),i=Hr(i),Gk(i,s,d)}function z5(i,s,d){if(d&&typeof d!="boolean"&&Yn(i,s,d)&&(s=d=n),d===n&&(typeof s=="boolean"?(d=s,s=n):typeof i=="boolean"&&(d=i,i=n)),i===n&&s===n?(i=0,s=1):(i=Zo(i),s===n?(s=i,i=0):s=Zo(s)),i>s){var h=i;i=s,s=h}if(d||i%1||s%1){var $=Ib();return Bn(i+$*(s-i+x3("1e-"+(($+"").length-1))),s)}return Og(i,s)}var j5=os(function(i,s,d){return s=s.toLowerCase(),i+(d?sC(s):s)});function sC(i){return om(wt(i).toLowerCase())}function lC(i){return i=wt(i),i&&i.replace(HO,k3).replace(u3,"")}function W5(i,s,d){i=wt(i),s=Cr(s);var h=i.length;d=d===n?h:la(tt(d),0,h);var $=d;return d-=s.length,d>=0&&i.slice(d,$)==s}function H5(i){return i=wt(i),i&&Ho.test(i)?i.replace(pt,A3):i}function V5(i){return i=wt(i),i&&Ll.test(i)?i.replace(tr,"\\$&"):i}var G5=os(function(i,s,d){return i+(d?"-":"")+s.toLowerCase()}),K5=os(function(i,s,d){return i+(d?" ":"")+s.toLowerCase()}),q5=d_("toLowerCase");function Y5(i,s,d){i=wt(i),s=tt(s);var h=s?Qa(i):0;if(!s||h>=s)return i;var $=(s-h)/2;return Id(vd($),d)+i+Id(md($),d)}function X5(i,s,d){i=wt(i),s=tt(s);var h=s?Qa(i):0;return s&&h<s?i+Id(s-h,d):i}function Q5(i,s,d){i=wt(i),s=tt(s);var h=s?Qa(i):0;return s&&h<s?Id(s-h,d)+i:i}function Z5(i,s,d){return d||s==null?s=0:s&&(s=+s),ik(wt(i).replace(ra,""),s||0)}function J5(i,s,d){return(d?Yn(i,s,d):s===n)?s=1:s=tt(s),kg(wt(i),s)}function eN(){var i=arguments,s=wt(i[0]);return i.length<3?s:s.replace(i[1],i[2])}var tN=os(function(i,s,d){return i+(d?"_":"")+s.toLowerCase()});function nN(i,s,d){return d&&typeof d!="number"&&Yn(i,s,d)&&(s=d=n),d=d===n?H:d>>>0,d?(i=wt(i),i&&(typeof s=="string"||s!=null&&!tm(s))&&(s=Cr(s),!s&&Xa(i))?bi(co(i),0,d):i.split(s,d)):[]}var rN=os(function(i,s,d){return i+(d?" ":"")+om(s)});function oN(i,s,d){return i=wt(i),d=d==null?0:la(tt(d),0,i.length),s=Cr(s),i.slice(d,d+s.length)==s}function iN(i,s,d){var h=T.templateSettings;d&&Yn(i,s,d)&&(s=n),i=wt(i),s=jd({},s,h,y_);var $=jd({},s.imports,h.imports,y_),O=En($),M=gg($,O),F,W,ae=0,le=s.interpolate||td,pe="__p += '",Ee=vg((s.escape||td).source+"|"+le.source+"|"+(le===xr?Lt:td).source+"|"+(s.evaluate||td).source+"|$","g"),Oe="//# sourceURL="+($t.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++h3+"]")+`
`;i.replace(Ee,function(Ve,ut,ht,wr,Xn,Sr){return ht||(ht=wr),pe+=i.slice(ae,Sr).replace(VO,L3),ut&&(F=!0,pe+=`' +
__e(`+ut+`) +
'`),Xn&&(W=!0,pe+=`';
`+Xn+`;
__p += '`),ht&&(pe+=`' +
((__t = (`+ht+`)) == null ? '' : __t) +
'`),ae=Sr+Ve.length,Ve}),pe+=`';
`;var He=$t.call(s,"variable")&&s.variable;if(!He)pe=`with (obj) {
`+pe+`
}
`;else if(Fe.test(He))throw new Ye(u);pe=(W?pe.replace(xe,""):pe).replace(Ae,"$1").replace(Le,"$1;"),pe="function("+(He||"obj")+`) {
`+(He?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(F?", __e = _.escape":"")+(W?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+pe+`return __p
}`;var ot=cC(function(){return Ct(O,Oe+"return "+pe).apply(n,M)});if(ot.source=pe,em(ot))throw ot;return ot}function aN(i){return wt(i).toLowerCase()}function sN(i){return wt(i).toUpperCase()}function lN(i,s,d){if(i=wt(i),i&&(d||s===n))return xb(i);if(!i||!(s=Cr(s)))return i;var h=co(i),$=co(s),O=bb(h,$),M=_b(h,$)+1;return bi(h,O,M).join("")}function uN(i,s,d){if(i=wt(i),i&&(d||s===n))return i.slice(0,Eb(i)+1);if(!i||!(s=Cr(s)))return i;var h=co(i),$=_b(h,co(s))+1;return bi(h,0,$).join("")}function cN(i,s,d){if(i=wt(i),i&&(d||s===n))return i.replace(ra,"");if(!i||!(s=Cr(s)))return i;var h=co(i),$=bb(h,co(s));return bi(h,$).join("")}function dN(i,s){var d=B,h=V;if(nn(s)){var $="separator"in s?s.separator:$;d="length"in s?tt(s.length):d,h="omission"in s?Cr(s.omission):h}i=wt(i);var O=i.length;if(Xa(i)){var M=co(i);O=M.length}if(d>=O)return i;var F=d-Qa(h);if(F<1)return h;var W=M?bi(M,0,F).join(""):i.slice(0,F);if($===n)return W+h;if(M&&(F+=W.length-F),tm($)){if(i.slice(F).search($)){var ae,le=W;for($.global||($=vg($.source,wt(gn.exec($))+"g")),$.lastIndex=0;ae=$.exec(le);)var pe=ae.index;W=W.slice(0,pe===n?F:pe)}}else if(i.indexOf(Cr($),F)!=F){var Ee=W.lastIndexOf($);Ee>-1&&(W=W.slice(0,Ee))}return W+h}function fN(i){return i=wt(i),i&&Mr.test(i)?i.replace(at,z3):i}var pN=os(function(i,s,d){return i+(d?" ":"")+s.toUpperCase()}),om=d_("toUpperCase");function uC(i,s,d){return i=wt(i),s=d?n:s,s===n?N3(i)?H3(i):P3(i):i.match(s)||[]}var cC=it(function(i,s){try{return br(i,n,s)}catch(d){return em(d)?d:new Ye(d)}}),hN=Yo(function(i,s){return Br(s,function(d){d=Po(d),Ko(i,d,Zg(i[d],i))}),i});function gN(i){var s=i==null?0:i.length,d=je();return i=s?Qt(i,function(h){if(typeof h[1]!="function")throw new Fr(l);return[d(h[0]),h[1]]}):[],it(function(h){for(var $=-1;++$<s;){var O=i[$];if(br(O[0],this,h))return br(O[1],this,h)}})}function mN(i){return zk(zr(i,m))}function im(i){return function(){return i}}function vN(i,s){return i==null||i!==i?s:i}var yN=p_(),xN=p_(!0);function ir(i){return i}function am(i){return Wb(typeof i=="function"?i:zr(i,m))}function bN(i){return Vb(zr(i,m))}function _N(i,s){return Gb(i,zr(s,m))}var CN=it(function(i,s){return function(d){return Hl(d,i,s)}}),EN=it(function(i,s){return function(d){return Hl(i,d,s)}});function sm(i,s,d){var h=En(s),$=Ed(s,h);d==null&&!(nn(s)&&($.length||!h.length))&&(d=s,s=i,i=this,$=Ed(s,En(s)));var O=!(nn(d)&&"chain"in d)||!!d.chain,M=Qo(i);return Br($,function(F){var W=s[F];i[F]=W,M&&(i.prototype[F]=function(){var ae=this.__chain__;if(O||ae){var le=i(this.__wrapped__),pe=le.__actions__=nr(this.__actions__);return pe.push({func:W,args:arguments,thisArg:i}),le.__chain__=ae,le}return W.apply(i,hi([this.value()],arguments))})}),i}function wN(){return In._===this&&(In._=X3),this}function lm(){}function SN(i){return i=tt(i),it(function(s){return Kb(s,i)})}var $N=Fg(Qt),PN=Fg(hb),RN=Fg(cg);function dC(i){return Gg(i)?dg(Po(i)):oA(i)}function TN(i){return function(s){return i==null?n:ua(i,s)}}var IN=g_(),ON=g_(!0);function um(){return[]}function cm(){return!1}function kN(){return{}}function AN(){return""}function LN(){return!0}function MN(i,s){if(i=tt(i),i<1||i>te)return[];var d=H,h=Bn(i,H);s=je(s),i-=H;for(var $=hg(h,s);++d<i;)s(d);return $}function NN(i){return Ze(i)?Qt(i,Po):Er(i)?[i]:nr(O_(wt(i)))}function DN(i){var s=++q3;return wt(i)+s}var BN=Td(function(i,s){return i+s},0),FN=Ug("ceil"),UN=Td(function(i,s){return i/s},1),zN=Ug("floor");function jN(i){return i&&i.length?Cd(i,ir,Sg):n}function WN(i,s){return i&&i.length?Cd(i,je(s,2),Sg):n}function HN(i){return vb(i,ir)}function VN(i,s){return vb(i,je(s,2))}function GN(i){return i&&i.length?Cd(i,ir,Tg):n}function KN(i,s){return i&&i.length?Cd(i,je(s,2),Tg):n}var qN=Td(function(i,s){return i*s},1),YN=Ug("round"),XN=Td(function(i,s){return i-s},0);function QN(i){return i&&i.length?pg(i,ir):0}function ZN(i,s){return i&&i.length?pg(i,je(s,2)):0}return T.after=bM,T.ary=j_,T.assign=s5,T.assignIn=nC,T.assignInWith=jd,T.assignWith=l5,T.at=u5,T.before=W_,T.bind=Zg,T.bindAll=hN,T.bindKey=H_,T.castArray=kM,T.chain=F_,T.chunk=zA,T.compact=jA,T.concat=WA,T.cond=gN,T.conforms=mN,T.constant=im,T.countBy=QL,T.create=c5,T.curry=V_,T.curryRight=G_,T.debounce=K_,T.defaults=d5,T.defaultsDeep=f5,T.defer=_M,T.delay=CM,T.difference=HA,T.differenceBy=VA,T.differenceWith=GA,T.drop=KA,T.dropRight=qA,T.dropRightWhile=YA,T.dropWhile=XA,T.fill=QA,T.filter=JL,T.flatMap=nM,T.flatMapDeep=rM,T.flatMapDepth=oM,T.flatten=M_,T.flattenDeep=ZA,T.flattenDepth=JA,T.flip=EM,T.flow=yN,T.flowRight=xN,T.fromPairs=eL,T.functions=x5,T.functionsIn=b5,T.groupBy=iM,T.initial=nL,T.intersection=rL,T.intersectionBy=oL,T.intersectionWith=iL,T.invert=C5,T.invertBy=E5,T.invokeMap=sM,T.iteratee=am,T.keyBy=lM,T.keys=En,T.keysIn=or,T.map=Nd,T.mapKeys=S5,T.mapValues=$5,T.matches=bN,T.matchesProperty=_N,T.memoize=Bd,T.merge=P5,T.mergeWith=rC,T.method=CN,T.methodOf=EN,T.mixin=sm,T.negate=Fd,T.nthArg=SN,T.omit=R5,T.omitBy=T5,T.once=wM,T.orderBy=uM,T.over=$N,T.overArgs=SM,T.overEvery=PN,T.overSome=RN,T.partial=Jg,T.partialRight=q_,T.partition=cM,T.pick=I5,T.pickBy=oC,T.property=dC,T.propertyOf=TN,T.pull=uL,T.pullAll=D_,T.pullAllBy=cL,T.pullAllWith=dL,T.pullAt=fL,T.range=IN,T.rangeRight=ON,T.rearg=$M,T.reject=pM,T.remove=pL,T.rest=PM,T.reverse=Xg,T.sampleSize=gM,T.set=k5,T.setWith=A5,T.shuffle=mM,T.slice=hL,T.sortBy=xM,T.sortedUniq=_L,T.sortedUniqBy=CL,T.split=nN,T.spread=RM,T.tail=EL,T.take=wL,T.takeRight=SL,T.takeRightWhile=$L,T.takeWhile=PL,T.tap=jL,T.throttle=TM,T.thru=Md,T.toArray=J_,T.toPairs=iC,T.toPairsIn=aC,T.toPath=NN,T.toPlainObject=tC,T.transform=L5,T.unary=IM,T.union=RL,T.unionBy=TL,T.unionWith=IL,T.uniq=OL,T.uniqBy=kL,T.uniqWith=AL,T.unset=M5,T.unzip=Qg,T.unzipWith=B_,T.update=N5,T.updateWith=D5,T.values=ss,T.valuesIn=B5,T.without=LL,T.words=uC,T.wrap=OM,T.xor=ML,T.xorBy=NL,T.xorWith=DL,T.zip=BL,T.zipObject=FL,T.zipObjectDeep=UL,T.zipWith=zL,T.entries=iC,T.entriesIn=aC,T.extend=nC,T.extendWith=jd,sm(T,T),T.add=BN,T.attempt=cC,T.camelCase=j5,T.capitalize=sC,T.ceil=FN,T.clamp=F5,T.clone=AM,T.cloneDeep=MM,T.cloneDeepWith=NM,T.cloneWith=LM,T.conformsTo=DM,T.deburr=lC,T.defaultTo=vN,T.divide=UN,T.endsWith=W5,T.eq=po,T.escape=H5,T.escapeRegExp=V5,T.every=ZL,T.find=eM,T.findIndex=A_,T.findKey=p5,T.findLast=tM,T.findLastIndex=L_,T.findLastKey=h5,T.floor=zN,T.forEach=U_,T.forEachRight=z_,T.forIn=g5,T.forInRight=m5,T.forOwn=v5,T.forOwnRight=y5,T.get=nm,T.gt=BM,T.gte=FM,T.has=_5,T.hasIn=rm,T.head=N_,T.identity=ir,T.includes=aM,T.indexOf=tL,T.inRange=U5,T.invoke=w5,T.isArguments=fa,T.isArray=Ze,T.isArrayBuffer=UM,T.isArrayLike=rr,T.isArrayLikeObject=fn,T.isBoolean=zM,T.isBuffer=_i,T.isDate=jM,T.isElement=WM,T.isEmpty=HM,T.isEqual=VM,T.isEqualWith=GM,T.isError=em,T.isFinite=KM,T.isFunction=Qo,T.isInteger=Y_,T.isLength=Ud,T.isMap=X_,T.isMatch=qM,T.isMatchWith=YM,T.isNaN=XM,T.isNative=QM,T.isNil=JM,T.isNull=ZM,T.isNumber=Q_,T.isObject=nn,T.isObjectLike=sn,T.isPlainObject=Xl,T.isRegExp=tm,T.isSafeInteger=e5,T.isSet=Z_,T.isString=zd,T.isSymbol=Er,T.isTypedArray=as,T.isUndefined=t5,T.isWeakMap=n5,T.isWeakSet=r5,T.join=aL,T.kebabCase=G5,T.last=Wr,T.lastIndexOf=sL,T.lowerCase=K5,T.lowerFirst=q5,T.lt=o5,T.lte=i5,T.max=jN,T.maxBy=WN,T.mean=HN,T.meanBy=VN,T.min=GN,T.minBy=KN,T.stubArray=um,T.stubFalse=cm,T.stubObject=kN,T.stubString=AN,T.stubTrue=LN,T.multiply=qN,T.nth=lL,T.noConflict=wN,T.noop=lm,T.now=Dd,T.pad=Y5,T.padEnd=X5,T.padStart=Q5,T.parseInt=Z5,T.random=z5,T.reduce=dM,T.reduceRight=fM,T.repeat=J5,T.replace=eN,T.result=O5,T.round=YN,T.runInContext=z,T.sample=hM,T.size=vM,T.snakeCase=tN,T.some=yM,T.sortedIndex=gL,T.sortedIndexBy=mL,T.sortedIndexOf=vL,T.sortedLastIndex=yL,T.sortedLastIndexBy=xL,T.sortedLastIndexOf=bL,T.startCase=rN,T.startsWith=oN,T.subtract=XN,T.sum=QN,T.sumBy=ZN,T.template=iN,T.times=MN,T.toFinite=Zo,T.toInteger=tt,T.toLength=eC,T.toLower=aN,T.toNumber=Hr,T.toSafeInteger=a5,T.toString=wt,T.toUpper=sN,T.trim=lN,T.trimEnd=uN,T.trimStart=cN,T.truncate=dN,T.unescape=fN,T.uniqueId=DN,T.upperCase=pN,T.upperFirst=om,T.each=U_,T.eachRight=z_,T.first=N_,sm(T,function(){var i={};return So(T,function(s,d){$t.call(T.prototype,d)||(i[d]=s)}),i}(),{chain:!1}),T.VERSION=r,Br(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){T[i].placeholder=T}),Br(["drop","take"],function(i,s){ct.prototype[i]=function(d){d=d===n?1:xn(tt(d),0);var h=this.__filtered__&&!s?new ct(this):this.clone();return h.__filtered__?h.__takeCount__=Bn(d,h.__takeCount__):h.__views__.push({size:Bn(d,H),type:i+(h.__dir__<0?"Right":"")}),h},ct.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Br(["filter","map","takeWhile"],function(i,s){var d=s+1,h=d==ie||d==G;ct.prototype[i]=function($){var O=this.clone();return O.__iteratees__.push({iteratee:je($,3),type:d}),O.__filtered__=O.__filtered__||h,O}}),Br(["head","last"],function(i,s){var d="take"+(s?"Right":"");ct.prototype[i]=function(){return this[d](1).value()[0]}}),Br(["initial","tail"],function(i,s){var d="drop"+(s?"":"Right");ct.prototype[i]=function(){return this.__filtered__?new ct(this):this[d](1)}}),ct.prototype.compact=function(){return this.filter(ir)},ct.prototype.find=function(i){return this.filter(i).head()},ct.prototype.findLast=function(i){return this.reverse().find(i)},ct.prototype.invokeMap=it(function(i,s){return typeof i=="function"?new ct(this):this.map(function(d){return Hl(d,i,s)})}),ct.prototype.reject=function(i){return this.filter(Fd(je(i)))},ct.prototype.slice=function(i,s){i=tt(i);var d=this;return d.__filtered__&&(i>0||s<0)?new ct(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),s!==n&&(s=tt(s),d=s<0?d.dropRight(-s):d.take(s-i)),d)},ct.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},ct.prototype.toArray=function(){return this.take(H)},So(ct.prototype,function(i,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),h=/^(?:head|last)$/.test(s),$=T[h?"take"+(s=="last"?"Right":""):s],O=h||/^find/.test(s);!$||(T.prototype[s]=function(){var M=this.__wrapped__,F=h?[1]:arguments,W=M instanceof ct,ae=F[0],le=W||Ze(M),pe=function(ut){var ht=$.apply(T,hi([ut],F));return h&&Ee?ht[0]:ht};le&&d&&typeof ae=="function"&&ae.length!=1&&(W=le=!1);var Ee=this.__chain__,Oe=!!this.__actions__.length,He=O&&!Ee,ot=W&&!Oe;if(!O&&le){M=ot?M:new ct(this);var Ve=i.apply(M,F);return Ve.__actions__.push({func:Md,args:[pe],thisArg:n}),new Ur(Ve,Ee)}return He&&ot?i.apply(this,F):(Ve=this.thru(pe),He?h?Ve.value()[0]:Ve.value():Ve)})}),Br(["pop","push","shift","sort","splice","unshift"],function(i){var s=sd[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",h=/^(?:pop|shift)$/.test(i);T.prototype[i]=function(){var $=arguments;if(h&&!this.__chain__){var O=this.value();return s.apply(Ze(O)?O:[],$)}return this[d](function(M){return s.apply(Ze(M)?M:[],$)})}}),So(ct.prototype,function(i,s){var d=T[s];if(d){var h=d.name+"";$t.call(ts,h)||(ts[h]=[]),ts[h].push({name:s,func:d})}}),ts[Rd(n,v).name]=[{name:"wrapper",func:n}],ct.prototype.clone=fk,ct.prototype.reverse=pk,ct.prototype.value=hk,T.prototype.at=WL,T.prototype.chain=HL,T.prototype.commit=VL,T.prototype.next=GL,T.prototype.plant=qL,T.prototype.reverse=YL,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=XL,T.prototype.first=T.prototype.head,Dl&&(T.prototype[Dl]=KL),T},Za=V3();oa?((oa.exports=Za)._=Za,ag._=Za):In._=Za}).call(ni)})(P0,P0.exports);function sce(e,t){const n=[],r=e.toLowerCase(),o=t.toLowerCase(),a=o.length;let l=0,u=r.indexOf(o);if(!t)return[{match:!1,substr:e}];for(;u!==-1;){const c=e.slice(l,u);c.length&&n.push({match:!1,substr:c}),n.push({match:!0,substr:e.slice(u,u+a)}),l=u+a,u=r.indexOf(o,l)}return n.push({match:!1,substr:e.slice(l)}),n}function AI(e,t){return sce(e,t).some(n=>n.match)}function a$(e){sys._subUnits._Box[e._sun]&&(sys._subUnits._Box[e._sun]._configured=!0)}function lce(e){const t=parseInt(String(e.value)),n=parseInt(String(e.min)),r=parseInt(String(e.max));return t>r?r:t<n||isNaN(t)?n:t}function LI(e,t,n){return t!==void 0&&n!==void 0?e>=t&&e<=n:t!==void 0&&n===void 0?e>=t:t===void 0&&n!==void 0?e<=n:!0}function ku(e,t,n,r,o){if((e==null?void 0:e._sut)===t&&(e==null?void 0:e._up._sun)===(n==null?void 0:n._sun)&&(e[r]=o),e!=null&&e._subUnits){for(const a in e==null?void 0:e._subUnits)if(a[1]!=="_")for(const l in e==null?void 0:e._subUnits[a])l[0]!="_"&&ku(e==null?void 0:e._subUnits[a][l],t,n,r,o)}}function s$(e){const t={};for(const n in e)t[n]=!1;return t}function l$(e){const t={};for(const n in e)t[n]=!0;return t}function uce(e,t,n){return e.map(({config:r},o)=>[o,r==null?void 0:r[n]]).filter(([r,o])=>o&&AI(o,t)).map(([r,o])=>r)}function Hh(e,t,n){var w;const r=((w=e._up)==null?void 0:w._typeName)===Nh,o=ex(e._up)&&lue.includes(e._typeName),l=qr(e,t,r||o),u=Ta(e,"unitID"),c=u&&n&&n[u],f=c?qr(c,t):void 0;if(!f)return l;const p=c&&(Zn(c,bp)||Q1(c,Uh)),m=c&&Zn(c,Dh),g=p?qr(p,t):void 0,x=m?qr(m,t):void 0,E=c&&zh(c,al),b=E?qr(E,t):void 0,y=b!==f?f:void 0,v=Ta(e,"areaNum")?`#${Ta(e,"areaNum")} \u041E\u0431\u043B\u0430\u0441\u0442\u044C`:"[\u2014] \u041E\u0431\u043B\u0430\u0441\u0442\u044C",_=g!==x?x:void 0;return P0.exports.compact([l,v,_,g,b,y]).join(", ")}function cce(e){return e===1}function dce(e){return e===Jle}function fce(e){for(let t in e)if((t.includes("Box_Module_1_OutputLink")||t.includes("Box_Module_1_InputLink"))&&e[t]===!0)return!0;return!1}const pce=e=>/ппк-р/i.test(e!=null?e:"");function hce(e){return e?Object.fromEntries(Object.entries(e).filter(([t,n])=>n)):{}}function u$(e,t,n,r=!1){return Object.entries(e!=null?e:{}).reduce((o,[a,l])=>{const u=r?Object.values(t.config).find(f=>f[`Title${n}`]===a):t.config[a],c=u?r?u.TitleEN:u[`Title${n}`]:a;return o[c]=l,o},{})}function gce(e){return`Title${e||"EN"}`}function mu(e,t,n){var r;return(r=e.unitTypes[t])==null?void 0:r.__[gce(n)]}function mce(e,t,n){return!e||!t||!n?!1:n!==Qu&&n!==Tl&&n!==Il}function er(){return Ar(GZ)}function nx(e,t){const n=C.exports.useRef();C.exports.useEffect(()=>{n.current=e}),C.exports.useEffect(()=>{if(t===null)return;function r(){n.current()}const o=setInterval(r,t);return()=>clearInterval(o)},[t])}function hr(e,t={}){var o;const[n,r]=C.exports.useState((o=JSON.parse(localStorage.getItem(e)||"{}"))!=null?o:t);return C.exports.useEffect(()=>{localStorage.setItem(e,JSON.stringify(n))},[n,e]),[n,r]}function MI(){const{expandingSelectedUnit:e}=uo(),t=Ol(),[n,r]=hr(Yc,{});return()=>{e(s$(t)),r(s$(n))}}function vce(){const[e,t]=C.exports.useState(void 0);return[o=>e===o,o=>{t(o)}]}const c$="MANUAL_ALL",d$="EMULATE_FIRMWARE_UPLOAD",f$="OFF_EMULATION",p$="EXPAND_ALL_TABS",h$="CLEAR_TERMINAL",g$="PWND_AUTH",m$="OFF_PWND_AUTH",NI=5,v$="OPEN_ALL_SELECTS",y$="CLOSE_ALL_SELECTS",rv={addingPanel:{display:"flex"},developerBoardIcon:{mt:1,mr:2},personIcon:{mt:1}};function yce(e){var u;const{moduleName:t,parentUnit:n}=e,{setCurrentSys:r}=Yt(),o=()=>{addUnitToSut(n,t),r(vn(sys))},a=MI(),l=()=>{addUnitToSut(n,"User"),r(vn(sys)),a()};return S.createElement(ei,{sx:rv.addingPanel},S.createElement(Ui,{title:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u041F\u041F\u041A-\u0420",placement:"top"},S.createElement(rn,{id:"ppk_add_button","aria-controls":"unit-add",onClick:o},S.createElement(up,null))),S.createElement(nT,{sx:rv.developerBoardIcon}),((u=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:u.level)===NI&&S.createElement(S.Fragment,null,S.createElement(Ui,{title:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F",placement:"top"},S.createElement(rn,{id:"user_add_button","aria-controls":"user-add",onClick:l},S.createElement(up,null))),S.createElement(Ih,{sx:rv.personIcon})))}var rx={},xce=Ft.exports;Object.defineProperty(rx,"__esModule",{value:!0});var ox=rx.default=void 0,bce=xce(Ut),_ce=D.exports,Cce=(0,bce.default)((0,_ce.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");ox=rx.default=Cce;const ov={expandIcon:{ml:"auto",transition:e=>e.transitions.create("transform",{duration:e.transitions.duration.shortest})},iconNotRotated:{transform:"rotate(0deg)"},iconRotated:{transform:"rotate(180deg)"}};function _p(e){const{expand:t,...n}=e;return S.createElement(ox,{...n,sx:[ov.expandIcon,t?ov.iconRotated:ov.iconNotRotated]})}var Ece=wo,DI=Ece("set",Ro);DI.placeholder=lo;var wce=DI,ix={},Sce=Ft.exports;Object.defineProperty(ix,"__esModule",{value:!0});var ax=ix.default=void 0,$ce=Sce(Ut),Pce=D.exports,Rce=(0,$ce.default)((0,Pce.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");ax=ix.default=Rce;var sx={},Tce=Ft.exports;Object.defineProperty(sx,"__esModule",{value:!0});var lx=sx.default=void 0,Ice=Tce(Ut),Oce=D.exports,kce=(0,Ice.default)((0,Oce.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),"DeleteForever");lx=sx.default=kce;var ux={},Ace=Ft.exports;Object.defineProperty(ux,"__esModule",{value:!0});var Qc=ux.default=void 0,Lce=Ace(Ut),Mce=D.exports,Nce=(0,Lce.default)((0,Mce.jsx)("path",{d:"M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2.91-.49-4.06-1.3l-1.42 1.44C8.04 20.3 9.94 21 12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"}),"SettingsBackupRestore");Qc=ux.default=Nce;var cx={},Dce=Ft.exports;Object.defineProperty(cx,"__esModule",{value:!0});var dx=cx.default=void 0,Bce=Dce(Ut),Fce=D.exports,Uce=(0,Bce.default)((0,Fce.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");dx=cx.default=Uce;function zce(e){return De("MuiButton",e)}const jce=Ne("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var cf=jce;const Wce=C.exports.createContext({});var Hce=Wce;const Vce=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Gce=["root"],Kce=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:l}=e,u={root:["root",a,`${a}${ce(t)}`,`size${ce(o)}`,`${a}Size${ce(o)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${ce(o)}`],endIcon:["endIcon",`iconSize${ce(o)}`]},c=Be(u,zce,l);return R({},l,c)},BI=e=>R({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),qce=he(Da,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ce(n.color)}`],t[`size${ce(n.size)}`],t[`${n.variant}Size${ce(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;return R({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":R({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":R({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${cf.focusVisible}`]:R({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${cf.disabled}`]:R({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="outlined"&&t.color==="secondary"&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${st(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${cf.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${cf.disabled}`]:{boxShadow:"none"}}),Yce=he("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ce(n.size)}`]]}})(({ownerState:e})=>R({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},BI(e))),Xce=he("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ce(n.size)}`]]}})(({ownerState:e})=>R({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},BI(e))),Qce=C.exports.forwardRef(function(t,n){const r=C.exports.useContext(Hce),o=DP(r,t),a=Ue({props:o,name:"MuiButton"}),{children:l,color:u="primary",component:c="button",className:f,disabled:p=!1,disableElevation:m=!1,disableFocusRipple:g=!1,endIcon:x,focusVisibleClassName:E,fullWidth:b=!1,size:y="medium",startIcon:v,type:_,variant:w="text"}=a,P=ye(a,Vce),A=R({},a,{color:u,component:c,disabled:p,disableElevation:m,disableFocusRipple:g,fullWidth:b,size:y,type:_,variant:w}),k=Kce(A),{root:I}=k,L=ye(k,Gce),N=v&&D.exports.jsx(Yce,{className:L.startIcon,ownerState:A,children:v}),B=x&&D.exports.jsx(Xce,{className:L.endIcon,ownerState:A,children:x});return D.exports.jsxs(qce,R({ownerState:A,className:_e(r.className,I,f),component:c,disabled:p,focusRipple:!g,focusVisibleClassName:_e(L.focusVisible,E),ref:n,type:_},P,{classes:L,children:[N,l,B]}))});var vt=Qce,fx={};Object.defineProperty(fx,"__esModule",{value:!0});var Bt=fx.default=void 0;const Zce={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var Jce=Zce;Bt=fx.default=Jce;var px={},ede=Ft.exports;Object.defineProperty(px,"__esModule",{value:!0});var FI=px.default=void 0,tde=ede(Ut),nde=D.exports,rde=(0,tde.default)((0,nde.jsx)("path",{d:"M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"}),"ContentCut");FI=px.default=rde;var hx={},ode=Ft.exports;Object.defineProperty(hx,"__esModule",{value:!0});var UI=hx.default=void 0,ide=ode(Ut),ade=D.exports,sde=(0,ide.default)((0,ade.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}),"ContentCopy");UI=hx.default=sde;var lde=Lr(D.exports.jsx("path",{d:"M19 6.41L17.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"}),"Close");function ude(e){return De("MuiListSubheader",e)}Ne("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const cde=["className","color","component","disableGutters","disableSticky","inset"],dde=e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${ce(n)}`,!r&&"gutters",o&&"inset",!a&&"sticky"]};return Be(l,ude,t)},fde=he("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ce(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>R({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),pde=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiListSubheader"}),{className:o,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:c=!1,inset:f=!1}=r,p=ye(r,cde),m=R({},r,{color:a,component:l,disableGutters:u,disableSticky:c,inset:f}),g=dde(m);return D.exports.jsx(fde,R({as:l,className:_e(g.root,o),ref:n,ownerState:m},p))});var hde=pde,gde=Lr(D.exports.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function mde(e){return De("MuiChip",e)}const vde=Ne("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);var _t=vde;const yde=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"],xde=e=>{const{classes:t,disabled:n,size:r,color:o,onDelete:a,clickable:l,variant:u}=e,c={root:["root",u,n&&"disabled",`size${ce(r)}`,`color${ce(o)}`,l&&"clickable",l&&`clickableColor${ce(o)}`,a&&"deletable",a&&`deletableColor${ce(o)}`,`${u}${ce(o)}`],label:["label",`label${ce(r)}`],avatar:["avatar",`avatar${ce(r)}`,`avatarColor${ce(o)}`],icon:["icon",`icon${ce(r)}`,`iconColor${ce(o)}`],deleteIcon:["deleteIcon",`deleteIcon${ce(r)}`,`deleteIconColor${ce(o)}`,`deleteIcon${ce(u)}Color${ce(o)}`]};return Be(c,mde,t)},bde=he("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,clickable:o,onDelete:a,size:l,variant:u}=n;return[{[`& .${_t.avatar}`]:t.avatar},{[`& .${_t.avatar}`]:t[`avatar${ce(l)}`]},{[`& .${_t.avatar}`]:t[`avatarColor${ce(r)}`]},{[`& .${_t.icon}`]:t.icon},{[`& .${_t.icon}`]:t[`icon${ce(l)}`]},{[`& .${_t.icon}`]:t[`iconColor${ce(r)}`]},{[`& .${_t.deleteIcon}`]:t.deleteIcon},{[`& .${_t.deleteIcon}`]:t[`deleteIcon${ce(l)}`]},{[`& .${_t.deleteIcon}`]:t[`deleteIconColor${ce(r)}`]},{[`& .${_t.deleteIcon}`]:t[`deleteIcon${ce(u)}Color${ce(r)}`]},t.root,t[`size${ce(l)}`],t[`color${ce(r)}`],o&&t.clickable,o&&r!=="default"&&t[`clickableColor${ce(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${ce(r)}`],t[u],t[`${u}${ce(r)}`]]}})(({theme:e,ownerState:t})=>{const n=st(e.palette.text.primary,.26),r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return R({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${_t.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${_t.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${_t.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${_t.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${_t.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${_t.icon}`]:R({color:e.vars?e.vars.palette.Chip.defaultIconColor:r,marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.color!=="default"&&{color:"inherit"}),[`& .${_t.deleteIcon}`]:R({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:st(n,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:st(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${_t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${_t.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>R({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.hoverOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${_t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${_t.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>R({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${_t.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${_t.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${_t.avatar}`]:{marginLeft:4},[`& .${_t.avatarSmall}`]:{marginLeft:2},[`& .${_t.icon}`]:{marginLeft:4},[`& .${_t.iconSmall}`]:{marginLeft:2},[`& .${_t.deleteIcon}`]:{marginRight:5},[`& .${_t.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:st(e.palette[t.color].main,.7)}`,[`&.${_t.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${_t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:st(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${_t.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:st(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),_de=he("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${ce(r)}`]]}})(({ownerState:e})=>R({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function x$(e){return e.key==="Backspace"||e.key==="Delete"}const Cde=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiChip"}),{avatar:o,className:a,clickable:l,color:u="default",component:c,deleteIcon:f,disabled:p=!1,icon:m,label:g,onClick:x,onDelete:E,onKeyDown:b,onKeyUp:y,size:v="medium",variant:_="filled"}=r,w=ye(r,yde),P=C.exports.useRef(null),A=yt(P,n),k=j=>{j.stopPropagation(),E&&E(j)},I=j=>{j.currentTarget===j.target&&x$(j)&&j.preventDefault(),b&&b(j)},L=j=>{j.currentTarget===j.target&&(E&&x$(j)?E(j):j.key==="Escape"&&P.current&&P.current.blur()),y&&y(j)},N=l!==!1&&x?!0:l,B=N||E?Da:c||"div",V=R({},r,{component:B,disabled:p,size:v,color:u,onDelete:!!E,clickable:N,variant:_}),ee=xde(V),X=B===Da?R({component:c||"div",focusVisibleClassName:ee.focusVisible},E&&{disableRipple:!0}):{};let ie=null;E&&(ie=f&&C.exports.isValidElement(f)?C.exports.cloneElement(f,{className:_e(f.props.className,ee.deleteIcon),onClick:k}):D.exports.jsx(gde,{className:_e(ee.deleteIcon),onClick:k}));let J=null;o&&C.exports.isValidElement(o)&&(J=C.exports.cloneElement(o,{className:_e(ee.avatar,o.props.className)}));let G=null;return m&&C.exports.isValidElement(m)&&(G=C.exports.cloneElement(m,{className:_e(ee.icon,m.props.className)})),D.exports.jsxs(bde,R({as:B,className:_e(ee.root,a),disabled:N&&p?!0:void 0,onClick:x,onKeyDown:I,onKeyUp:L,ref:A,ownerState:V},X,w,{children:[J||G,D.exports.jsx(_de,{className:_e(ee.label),ownerState:V,children:g}),ie]}))});var Cp=Cde;function kl({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]=="undefined"&&(r[o]=n[o]),r),{})}const Ede=C.exports.createContext();var Vh=Ede;function na(){return C.exports.useContext(Vh)}function b$(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function gx(e,t=!1){return e&&(b$(e.value)&&e.value!==""||t&&b$(e.defaultValue)&&e.defaultValue!=="")}function wde(e){return e.startAdornment}function Sde(e){return De("MuiInputBase",e)}const $de=Ne("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var No=$de;const Pde=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],Gh=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ce(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Kh=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Rde=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:l,formControl:u,fullWidth:c,hiddenLabel:f,multiline:p,readOnly:m,size:g,startAdornment:x,type:E}=e,b={root:["root",`color${ce(n)}`,r&&"disabled",o&&"error",c&&"fullWidth",l&&"focused",u&&"formControl",g==="small"&&"sizeSmall",p&&"multiline",x&&"adornedStart",a&&"adornedEnd",f&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",E==="search"&&"inputTypeSearch",p&&"inputMultiline",g==="small"&&"inputSizeSmall",f&&"inputHiddenLabel",x&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return Be(b,Sde,t)},qh=he("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Gh})(({theme:e,ownerState:t})=>R({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${No.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&R({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Yh=he("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Kh})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=R({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return R({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${No.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${No.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),Tde=D.exports.jsx(xR,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Ide=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:l,className:u,components:c={},componentsProps:f={},defaultValue:p,disabled:m,disableInjectingGlobalStyles:g,endAdornment:x,fullWidth:E=!1,id:b,inputComponent:y="input",inputProps:v={},inputRef:_,maxRows:w,minRows:P,multiline:A=!1,name:k,onBlur:I,onChange:L,onClick:N,onFocus:B,onKeyDown:V,onKeyUp:ee,placeholder:X,readOnly:ie,renderSuffix:J,rows:G,startAdornment:j,type:te="text",value:ne}=r,me=ye(r,Pde),H=v.value!=null?v.value:ne,{current:q}=C.exports.useRef(H!=null),Z=C.exports.useRef(),ue=C.exports.useCallback(Pe=>{},[]),K=yt(v.ref,ue),U=yt(_,K),Y=yt(Z,U),[re,fe]=C.exports.useState(!1),we=na(),ke=kl({props:r,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ke.focused=we?we.focused:re,C.exports.useEffect(()=>{!we&&m&&re&&(fe(!1),I&&I())},[we,m,re,I]);const Ie=we&&we.onFilled,Ce=we&&we.onEmpty,We=C.exports.useCallback(Pe=>{gx(Pe)?Ie&&Ie():Ce&&Ce()},[Ie,Ce]);xo(()=>{q&&We({value:H})},[H,We,q]);const Me=Pe=>{if(ke.disabled){Pe.stopPropagation();return}B&&B(Pe),v.onFocus&&v.onFocus(Pe),we&&we.onFocus?we.onFocus(Pe):fe(!0)},dt=Pe=>{I&&I(Pe),v.onBlur&&v.onBlur(Pe),we&&we.onBlur?we.onBlur(Pe):fe(!1)},ze=(Pe,...be)=>{if(!q){const Xe=Pe.target||Z.current;if(Xe==null)throw new Error(Gi(1));We({value:Xe.value})}v.onChange&&v.onChange(Pe,...be),L&&L(Pe,...be)};C.exports.useEffect(()=>{We(Z.current)},[]);const bt=Pe=>{Z.current&&Pe.currentTarget===Pe.target&&Z.current.focus(),N&&N(Pe)};let It=y,Ge=v;A&&It==="input"&&(G?Ge=R({type:void 0,minRows:G,maxRows:G},Ge):Ge=R({type:void 0,maxRows:w,minRows:P},Ge),It=Vj);const qe=Pe=>{We(Pe.animationName==="mui-auto-fill-cancel"?Z.current:{value:"x"})};C.exports.useEffect(()=>{we&&we.setAdornedStart(Boolean(j))},[we,j]);const mt=R({},r,{color:ke.color||"primary",disabled:ke.disabled,endAdornment:x,error:ke.error,focused:ke.focused,formControl:we,fullWidth:E,hiddenLabel:ke.hiddenLabel,multiline:A,size:ke.size,startAdornment:j,type:te}),zt=Rde(mt),nt=c.Root||qh,rt=f.root||{},ft=c.Input||Yh;return Ge=R({},Ge,f.input),D.exports.jsxs(C.exports.Fragment,{children:[!g&&Tde,D.exports.jsxs(nt,R({},rt,!Zs(nt)&&{ownerState:R({},mt,rt.ownerState)},{ref:n,onClick:bt},me,{className:_e(zt.root,rt.className,u),children:[j,D.exports.jsx(Vh.Provider,{value:null,children:D.exports.jsx(ft,R({ownerState:mt,"aria-invalid":ke.error,"aria-describedby":o,autoComplete:a,autoFocus:l,defaultValue:p,disabled:ke.disabled,id:b,onAnimationStart:qe,name:k,placeholder:X,readOnly:ie,required:ke.required,rows:G,value:H,onKeyDown:V,onKeyUp:ee,type:te},Ge,!Zs(ft)&&{as:It,ownerState:R({},mt,Ge.ownerState)},{ref:Y,className:_e(zt.input,Ge.className),onBlur:dt,onChange:ze,onFocus:Me}))}),x,J?J(R({},ke,{startAdornment:j})):null]}))]})});var Zc=Ide;function Ode(e){return De("MuiInput",e)}const kde=R({},No,Ne("MuiInput",["root","underline","input"]));var $a=kde;function Ade(e){return De("MuiOutlinedInput",e)}const Lde=R({},No,Ne("MuiOutlinedInput",["root","notchedOutline","input"]));var To=Lde;function Mde(e){return De("MuiFilledInput",e)}const Nde=R({},No,Ne("MuiFilledInput",["root","underline","input"]));var ko=Nde,zI=Lr(D.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Dde(e){return De("MuiAutocomplete",e)}const Bde=Ne("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var gt=Bde,_$,C$;const Fde=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"],Ude=e=>{const{classes:t,disablePortal:n,focused:r,fullWidth:o,hasClearIcon:a,hasPopupIcon:l,inputFocused:u,popupOpen:c,size:f}=e,p={root:["root",r&&"focused",o&&"fullWidth",a&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",u&&"inputFocused"],tag:["tag",`tagSize${ce(f)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Be(p,Dde,t)},zde=he("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${gt.tag}`]:t.tag},{[`& .${gt.tag}`]:t[`tagSize${ce(u)}`]},{[`& .${gt.inputRoot}`]:t.inputRoot},{[`& .${gt.input}`]:t.input},{[`& .${gt.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,o&&t.hasClearIcon]}})(({ownerState:e})=>R({[`&.${gt.focused} .${gt.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${gt.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${gt.tag}`]:R({margin:3,maxWidth:"calc(100% - 6px)"},e.size==="small"&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${gt.inputRoot}`]:{flexWrap:"wrap",[`.${gt.hasPopupIcon}&, .${gt.hasClearIcon}&`]:{paddingRight:26+4},[`.${gt.hasPopupIcon}.${gt.hasClearIcon}&`]:{paddingRight:52+4},[`& .${gt.input}`]:{width:0,minWidth:30}},[`& .${$a.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${$a.root}.${No.sizeSmall}`]:{[`& .${$a.input}`]:{padding:"2px 4px 3px 0"}},[`& .${To.root}`]:{padding:9,[`.${gt.hasPopupIcon}&, .${gt.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${gt.hasPopupIcon}.${gt.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${gt.input}`]:{padding:"7.5px 4px 7.5px 6px"},[`& .${gt.endAdornment}`]:{right:9}},[`& .${To.root}.${No.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${gt.input}`]:{padding:"2.5px 4px 2.5px 6px"}},[`& .${ko.root}`]:{paddingTop:19,paddingLeft:8,[`.${gt.hasPopupIcon}&, .${gt.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${gt.hasPopupIcon}.${gt.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${ko.input}`]:{padding:"7px 4px"},[`& .${gt.endAdornment}`]:{right:9}},[`& .${ko.root}.${No.sizeSmall}`]:{paddingBottom:1,[`& .${ko.input}`]:{padding:"2.5px 4px"}},[`& .${No.hiddenLabel}`]:{paddingTop:8},[`& .${gt.input}`]:R({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})})),jde=he("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),Wde=he(rn,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),Hde=he(rn,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>R({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})(({ownerState:e})=>R({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})),Vde=he(Gc,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${gt.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(({theme:e,ownerState:t})=>R({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"})),Gde=he(Eo,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>R({},e.typography.body1,{overflow:"auto"})),Kde=he("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),qde=he("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),Yde=he("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",[`& .${gt.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${gt.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${gt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${gt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${gt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),Xde=he(hde,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),Qde=he("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${gt.option}`]:{paddingLeft:24}}),Zde=C.exports.forwardRef(function(t,n){var r,o,a,l;const u=Ue({props:t,name:"MuiAutocomplete"}),{autoComplete:c=!1,autoHighlight:f=!1,autoSelect:p=!1,blurOnSelect:m=!1,ChipProps:g,className:x,clearIcon:E=_$||(_$=D.exports.jsx(lde,{fontSize:"small"})),clearOnBlur:b=!u.freeSolo,clearOnEscape:y=!1,clearText:v="Clear",closeText:_="Close",componentsProps:w={},defaultValue:P=u.multiple?[]:null,disableClearable:A=!1,disableCloseOnSelect:k=!1,disabled:I=!1,disabledItemsFocusable:L=!1,disableListWrap:N=!1,disablePortal:B=!1,filterSelectedOptions:V=!1,forcePopupIcon:ee="auto",freeSolo:X=!1,fullWidth:ie=!1,getLimitTagsText:J=lt=>`+${lt}`,getOptionLabel:G=lt=>{var an;return(an=lt.label)!=null?an:lt},groupBy:j,handleHomeEndKeys:te=!u.freeSolo,includeInputInList:ne=!1,limitTags:me=-1,ListboxComponent:H="ul",ListboxProps:q,loading:Z=!1,loadingText:ue="Loading\u2026",multiple:K=!1,noOptionsText:U="No options",openOnFocus:Y=!1,openText:re="Open",PaperComponent:fe=Eo,PopperComponent:we=Gc,popupIcon:ke=C$||(C$=D.exports.jsx(zI,{})),readOnly:Ie=!1,renderGroup:Ce,renderInput:We,renderOption:Me,renderTags:dt,selectOnFocus:ze=!u.freeSolo,size:bt="medium"}=u,It=ye(u,Fde),{getRootProps:Ge,getInputProps:qe,getInputLabelProps:mt,getPopupIndicatorProps:zt,getClearProps:nt,getTagProps:rt,getListboxProps:ft,getOptionProps:Pe,value:be,dirty:Xe,id:Se,popupOpen:et,focused:At,focusedTag:Xt,anchorEl:Cn,setAnchorEl:Tn,inputValue:Nn,groupedOptions:tn}=q9(R({},u,{componentName:"Autocomplete"})),xe=!A&&!I&&Xe&&!Ie,Ae=(!X||ee===!0)&&ee!==!1,Le=R({},u,{disablePortal:B,focused:At,fullWidth:ie,hasClearIcon:xe,hasPopupIcon:Ae,inputFocused:Xt===-1,popupOpen:et,size:bt}),at=Ude(Le);let pt;if(K&&be.length>0){const lt=an=>R({className:at.tag,disabled:I},rt(an));dt?pt=dt(be,lt,Le):pt=be.map((an,Dn)=>D.exports.jsx(Cp,R({label:G(an),size:bt},lt({index:Dn}),g)))}if(me>-1&&Array.isArray(pt)){const lt=pt.length-me;!At&&lt>0&&(pt=pt.splice(0,me),pt.push(D.exports.jsx("span",{className:at.tag,children:J(lt)},pt.length)))}const Ho=Ce||(lt=>D.exports.jsxs("li",{children:[D.exports.jsx(Xde,{className:at.groupLabel,ownerState:Le,component:"div",children:lt.group}),D.exports.jsx(Qde,{className:at.groupUl,ownerState:Le,children:lt.children})]},lt.key)),yr=Me||((lt,an)=>D.exports.jsx("li",R({},lt,{children:G(an)}))),xr=(lt,an)=>{const Dn=Pe({option:lt,index:an});return yr(R({},Dn,{className:at.option}),lt,{selected:Dn["aria-selected"],inputValue:Nn})};return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx(zde,R({ref:n,className:_e(at.root,x),ownerState:Le},Ge(It),{children:We({id:Se,disabled:I,fullWidth:!0,size:bt==="small"?"small":void 0,InputLabelProps:mt(),InputProps:R({ref:Tn,className:at.inputRoot,startAdornment:pt},(xe||Ae)&&{endAdornment:D.exports.jsxs(jde,{className:at.endAdornment,ownerState:Le,children:[xe?D.exports.jsx(Wde,R({},nt(),{"aria-label":v,title:v,ownerState:Le},w.clearIndicator,{className:_e(at.clearIndicator,(r=w.clearIndicator)==null?void 0:r.className),children:E})):null,Ae?D.exports.jsx(Hde,R({},zt(),{disabled:I,"aria-label":et?_:re,title:et?_:re,ownerState:Le},w.popupIndicator,{className:_e(at.popupIndicator,(o=w.popupIndicator)==null?void 0:o.className),children:ke})):null]})}),inputProps:R({className:at.input,disabled:I,readOnly:Ie},qe())})})),Cn?D.exports.jsx(Vde,R({as:we,disablePortal:B,style:{width:Cn?Cn.clientWidth:null},ownerState:Le,role:"presentation",anchorEl:Cn,open:et},w.popper,{className:_e(at.popper,(a=w.popper)==null?void 0:a.className),children:D.exports.jsxs(Gde,R({ownerState:Le,as:fe},w.paper,{className:_e(at.paper,(l=w.paper)==null?void 0:l.className),children:[Z&&tn.length===0?D.exports.jsx(Kde,{className:at.loading,ownerState:Le,children:ue}):null,tn.length===0&&!X&&!Z?D.exports.jsx(qde,{className:at.noOptions,ownerState:Le,role:"presentation",onMouseDown:lt=>{lt.preventDefault()},children:U}):null,tn.length>0?D.exports.jsx(Yde,R({as:H,className:at.listbox,ownerState:Le},ft(),q,{children:tn.map((lt,an)=>j?Ho({key:lt.key,group:lt.group,children:lt.options.map((Dn,tr)=>xr(Dn,lt.index+tr))}):xr(lt,an))})):null]}))})):null]})});var Jde=Zde;const efe=e=>!e||!Zs(e);var E$=efe;function tfe(e){return De("MuiBadge",e)}const nfe=Ne("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var Ci=nfe;const rfe=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","showZero","variant"],iv=10,av=4,ofe=e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:l={}}=e,u={root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${ce(n.vertical)}${ce(n.horizontal)}`,`anchorOrigin${ce(n.vertical)}${ce(n.horizontal)}${ce(o)}`,`overlap${ce(o)}`,t!=="default"&&`color${ce(t)}`]};return Be(u,tfe,l)},ife=he("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),afe=he("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${ce(n.anchorOrigin.vertical)}${ce(n.anchorOrigin.horizontal)}${ce(n.overlap)}`],n.color!=="default"&&t[`color${ce(n.color)}`],n.invisible&&t.invisible]}})(({theme:e,ownerState:t})=>R({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:iv*2,lineHeight:1,padding:"0 6px",height:iv*2,borderRadius:iv,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.variant==="dot"&&{borderRadius:av,height:av*2,minWidth:av*2,padding:0},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Ci.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Ci.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Ci.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Ci.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Ci.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Ci.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Ci.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Ci.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})),sfe=C.exports.forwardRef(function(t,n){var r,o,a,l;const u=Ue({props:t,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:f,component:p="span",components:m={},componentsProps:g={},overlap:x="rectangular",color:E="default",invisible:b=!1,max:y,badgeContent:v,showZero:_=!1,variant:w="standard"}=u,P=ye(u,rfe),A=NP({anchorOrigin:c,color:E,overlap:x,variant:w});let k=b;b===!1&&(v===0&&!_||v==null&&w!=="dot")&&(k=!0);const{color:I=E,overlap:L=x,anchorOrigin:N=c,variant:B=w}=k?A:u,V=R({},u,{anchorOrigin:N,invisible:k,color:I,overlap:L,variant:B}),ee=ofe(V);let X;return B!=="dot"&&(X=v&&Number(v)>y?`${y}+`:v),D.exports.jsx(ez,R({invisible:b,badgeContent:X,showZero:_,max:y},P,{components:R({Root:ife,Badge:afe},m),className:_e((r=g.root)==null?void 0:r.className,ee.root,f),componentsProps:{root:R({},g.root,E$(m.Root)&&{as:p,ownerState:R({},(o=g.root)==null?void 0:o.ownerState,{anchorOrigin:N,color:I,overlap:L,variant:B})}),badge:R({},g.badge,{className:_e(ee.badge,(a=g.badge)==null?void 0:a.className)},E$(m.Badge)&&{ownerState:R({},(l=g.badge)==null?void 0:l.ownerState,{anchorOrigin:N,color:I,overlap:L,variant:B})})},ref:n}))});var w$=sfe;function lfe(e){return De("PrivateSwitchBase",e)}Ne("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ufe=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],cfe=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${ce(o)}`],input:["input"]};return Be(a,lfe,t)},dfe=he(Da)(({ownerState:e})=>R({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),ffe=he("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),pfe=C.exports.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:a,className:l,defaultChecked:u,disabled:c,disableFocusRipple:f=!1,edge:p=!1,icon:m,id:g,inputProps:x,inputRef:E,name:b,onBlur:y,onChange:v,onFocus:_,readOnly:w,required:P,tabIndex:A,type:k,value:I}=t,L=ye(t,ufe),[N,B]=Fi({controlled:o,default:Boolean(u),name:"SwitchBase",state:"checked"}),V=na(),ee=ne=>{_&&_(ne),V&&V.onFocus&&V.onFocus(ne)},X=ne=>{y&&y(ne),V&&V.onBlur&&V.onBlur(ne)},ie=ne=>{if(ne.nativeEvent.defaultPrevented)return;const me=ne.target.checked;B(me),v&&v(ne,me)};let J=c;V&&typeof J=="undefined"&&(J=V.disabled);const G=k==="checkbox"||k==="radio",j=R({},t,{checked:N,disabled:J,disableFocusRipple:f,edge:p}),te=cfe(j);return D.exports.jsxs(dfe,R({component:"span",className:_e(te.root,l),centerRipple:!0,focusRipple:!f,disabled:J,tabIndex:null,role:void 0,onFocus:ee,onBlur:X,ownerState:j,ref:n},L,{children:[D.exports.jsx(ffe,R({autoFocus:r,checked:o,defaultChecked:u,className:te.input,disabled:J,id:G&&g,name:b,onChange:ie,readOnly:w,ref:E,required:P,ownerState:j,tabIndex:A,type:k},k==="checkbox"&&I===void 0?{}:{value:I},x)),N?a:m]}))});var hfe=pfe,gfe=Lr(D.exports.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),mfe=Lr(D.exports.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),vfe=Lr(D.exports.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function yfe(e){return De("MuiCheckbox",e)}const xfe=Ne("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);var sv=xfe;const bfe=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],_fe=e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${ce(r)}`]},a=Be(o,yfe,t);return R({},t,a)},Cfe=he(hfe,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${ce(n.color)}`]]}})(({theme:e,ownerState:t})=>R({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${sv.checked}, &.${sv.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${sv.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),Efe=D.exports.jsx(mfe,{}),wfe=D.exports.jsx(gfe,{}),Sfe=D.exports.jsx(vfe,{}),$fe=C.exports.forwardRef(function(t,n){var r,o;const a=Ue({props:t,name:"MuiCheckbox"}),{checkedIcon:l=Efe,color:u="primary",icon:c=wfe,indeterminate:f=!1,indeterminateIcon:p=Sfe,inputProps:m,size:g="medium"}=a,x=ye(a,bfe),E=f?p:c,b=f?p:l,y=R({},a,{color:u,indeterminate:f,size:g}),v=_fe(y);return D.exports.jsx(Cfe,R({type:"checkbox",inputProps:R({"data-indeterminate":f},m),icon:C.exports.cloneElement(E,{fontSize:(r=E.props.fontSize)!=null?r:g}),checkedIcon:C.exports.cloneElement(b,{fontSize:(o=b.props.fontSize)!=null?o:g}),ownerState:y,ref:n},x,{classes:v}))});var jI=$fe;function Pfe(e){return De("MuiDialog",e)}const Rfe=Ne("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var lv=Rfe;const Tfe=C.exports.createContext({});var WI=Tfe;const Ife=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Ofe=he(PR,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),kfe=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${ce(n)}`],paper:["paper",`paperScroll${ce(n)}`,`paperWidth${ce(String(r))}`,o&&"paperFullWidth",a&&"paperFullScreen"]};return Be(l,Pfe,t)},Afe=he(r1,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Lfe=he("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ce(n.scroll)}`]]}})(({ownerState:e})=>R({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),Mfe=he(Eo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ce(n.scroll)}`],t[`paperWidth${ce(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>R({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${lv.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${lv.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${lv.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Nfe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDialog"}),o=Co(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,BackdropComponent:c,BackdropProps:f,children:p,className:m,disableEscapeKeyDown:g=!1,fullScreen:x=!1,fullWidth:E=!1,maxWidth:b="sm",onBackdropClick:y,onClose:v,open:_,PaperComponent:w=Eo,PaperProps:P={},scroll:A="paper",TransitionComponent:k=$R,transitionDuration:I=a,TransitionProps:L}=r,N=ye(r,Ife),B=R({},r,{disableEscapeKeyDown:g,fullScreen:x,fullWidth:E,maxWidth:b,scroll:A}),V=kfe(B),ee=C.exports.useRef(),X=j=>{ee.current=j.target===j.currentTarget},ie=j=>{!ee.current||(ee.current=null,y&&y(j),v&&v(j,"backdropClick"))},J=La(u),G=C.exports.useMemo(()=>({titleId:J}),[J]);return D.exports.jsx(Afe,R({className:_e(V.root,m),closeAfterTransition:!0,components:{Backdrop:Ofe},componentsProps:{backdrop:R({transitionDuration:I,as:c},f)},disableEscapeKeyDown:g,onClose:v,open:_,ref:n,onClick:ie,ownerState:B},N,{children:D.exports.jsx(k,R({appear:!0,in:_,timeout:I,role:"presentation"},L,{children:D.exports.jsx(Lfe,{className:_e(V.container),onMouseDown:X,ownerState:B,children:D.exports.jsx(Mfe,R({as:w,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":J},P,{className:_e(V.paper,P.className),ownerState:B,children:D.exports.jsx(WI.Provider,{value:G,children:p})}))})}))}))});var Dfe=Nfe;function Bfe(e){return De("MuiDialogContent",e)}Ne("MuiDialogContent",["root","dividers"]);function Ffe(e){return De("MuiDialogTitle",e)}const Ufe=Ne("MuiDialogTitle",["root"]);var zfe=Ufe;const jfe=["className","dividers"],Wfe=e=>{const{classes:t,dividers:n}=e;return Be({root:["root",n&&"dividers"]},Bfe,t)},Hfe=he("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>R({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${zfe.root} + &`]:{paddingTop:0}})),Vfe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDialogContent"}),{className:o,dividers:a=!1}=r,l=ye(r,jfe),u=R({},r,{dividers:a}),c=Wfe(u);return D.exports.jsx(Hfe,R({className:_e(c.root,o),ownerState:u,ref:n},l))});var Gfe=Vfe;function Kfe(e){return De("MuiDialogContentText",e)}Ne("MuiDialogContentText",["root"]);const qfe=["children"],Yfe=e=>{const{classes:t}=e,r=Be({root:["root"]},Kfe,t);return R({},t,r)},Xfe=he(on,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Qfe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDialogContentText"}),o=ye(r,qfe),a=Yfe(o);return D.exports.jsx(Xfe,R({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:o},r,{classes:a}))});var Zfe=Qfe;const Jfe=["className","id"],epe=e=>{const{classes:t}=e;return Be({root:["root"]},Ffe,t)},tpe=he(on,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),npe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDialogTitle"}),{className:o,id:a}=r,l=ye(r,Jfe),u=r,c=epe(u),{titleId:f=a}=C.exports.useContext(WI);return D.exports.jsx(tpe,R({component:"h2",className:_e(c.root,o),ownerState:u,ref:n,variant:"h6",id:f},l))});var rpe=npe;function ope(e){return De("MuiDivider",e)}const S$=Ne("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),ipe=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],ape=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:l,textAlign:u,variant:c}=e;return Be({root:["root",t&&"absolute",c,a&&"light",l==="vertical"&&"vertical",o&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},ope,r)},spe=he("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>R({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:st(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>R({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}}),({ownerState:e})=>R({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),lpe=he("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>R({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),upe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDivider"}),{absolute:o=!1,children:a,className:l,component:u=a?"div":"hr",flexItem:c=!1,light:f=!1,orientation:p="horizontal",role:m=u!=="hr"?"separator":void 0,textAlign:g="center",variant:x="fullWidth"}=r,E=ye(r,ipe),b=R({},r,{absolute:o,component:u,flexItem:c,light:f,orientation:p,role:m,textAlign:g,variant:x}),y=ape(b);return D.exports.jsx(spe,R({as:u,className:_e(y.root,l),role:m,ref:n,ownerState:b},E,{children:a?D.exports.jsx(lpe,{className:y.wrapper,ownerState:b,children:a}):null}))});var cpe=upe;const dpe=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],fpe=e=>{const{classes:t,disableUnderline:n}=e,o=Be({root:["root",!n&&"underline"],input:["input"]},Mde,t);return R({},t,o)},ppe=he(qh,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Gh(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",l=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return R({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:l,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${ko.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${ko.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:u}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ko.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ko.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ko.disabled}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${ko.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&R({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),hpe=he(Yh,{name:"MuiFilledInput",slot:"Input",overridesResolver:Kh})(({theme:e,ownerState:t})=>R({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),HI=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiFilledInput"}),{components:o={},componentsProps:a,fullWidth:l=!1,inputComponent:u="input",multiline:c=!1,type:f="text"}=r,p=ye(r,dpe),m=R({},r,{fullWidth:l,inputComponent:u,multiline:c,type:f}),g=fpe(r),x={root:{ownerState:m},input:{ownerState:m}},E=a?Qr(a,x):x;return D.exports.jsx(Zc,R({components:R({Root:ppe,Input:hpe},o),componentsProps:E,fullWidth:l,inputComponent:u,multiline:c,ref:n,type:f},p,{classes:g}))});HI.muiName="Input";var VI=HI;function gpe(e){return De("MuiFormControl",e)}Ne("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const mpe=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],vpe=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ce(n)}`,r&&"fullWidth"]};return Be(o,gpe,t)},ype=he("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>R({},t.root,t[`margin${ce(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>R({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),xpe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiFormControl"}),{children:o,className:a,color:l="primary",component:u="div",disabled:c=!1,error:f=!1,focused:p,fullWidth:m=!1,hiddenLabel:g=!1,margin:x="none",required:E=!1,size:b="medium",variant:y="outlined"}=r,v=ye(r,mpe),_=R({},r,{color:l,component:u,disabled:c,error:f,fullWidth:m,hiddenLabel:g,margin:x,required:E,size:b,variant:y}),w=vpe(_),[P,A]=C.exports.useState(()=>{let J=!1;return o&&C.exports.Children.forEach(o,G=>{if(!Tf(G,["Input","Select"]))return;const j=Tf(G,["Select"])?G.props.input:G;j&&wde(j.props)&&(J=!0)}),J}),[k,I]=C.exports.useState(()=>{let J=!1;return o&&C.exports.Children.forEach(o,G=>{!Tf(G,["Input","Select"])||gx(G.props,!0)&&(J=!0)}),J}),[L,N]=C.exports.useState(!1);c&&L&&N(!1);const B=p!==void 0&&!c?p:L;let V;const ee=C.exports.useCallback(()=>{I(!0)},[]),X=C.exports.useCallback(()=>{I(!1)},[]),ie={adornedStart:P,setAdornedStart:A,color:l,disabled:c,error:f,filled:k,focused:B,fullWidth:m,hiddenLabel:g,size:b,onBlur:()=>{N(!1)},onEmpty:X,onFilled:ee,onFocus:()=>{N(!0)},registerEffect:V,required:E,variant:y};return D.exports.jsx(Vh.Provider,{value:ie,children:D.exports.jsx(ype,R({as:u,ownerState:_,className:_e(w.root,a),ref:n},v,{children:o}))})});var bpe=xpe;function _pe(e){return De("MuiFormHelperText",e)}const Cpe=Ne("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var $$=Cpe,P$;const Epe=["children","className","component","disabled","error","filled","focused","margin","required","variant"],wpe=e=>{const{classes:t,contained:n,size:r,disabled:o,error:a,filled:l,focused:u,required:c}=e,f={root:["root",o&&"disabled",a&&"error",r&&`size${ce(r)}`,n&&"contained",u&&"focused",l&&"filled",c&&"required"]};return Be(f,_pe,t)},Spe=he("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ce(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>R({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${$$.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${$$.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),$pe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiFormHelperText"}),{children:o,className:a,component:l="p"}=r,u=ye(r,Epe),c=na(),f=kl({props:r,muiFormControl:c,states:["variant","size","disabled","error","filled","focused","required"]}),p=R({},r,{component:l,contained:f.variant==="filled"||f.variant==="outlined",variant:f.variant,size:f.size,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required}),m=wpe(p);return D.exports.jsx(Spe,R({as:l,ownerState:p,className:_e(m.root,a),ref:n},u,{children:o===" "?P$||(P$=D.exports.jsx("span",{className:"notranslate",children:"\u200B"})):o}))});var Ppe=$pe;function Rpe(e){return De("MuiFormLabel",e)}const Tpe=Ne("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var Zu=Tpe;const Ipe=["children","className","color","component","disabled","error","filled","focused","required"],Ope=e=>{const{classes:t,color:n,focused:r,disabled:o,error:a,filled:l,required:u}=e,c={root:["root",`color${ce(n)}`,o&&"disabled",a&&"error",l&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return Be(c,Rpe,t)},kpe=he("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>R({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>R({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Zu.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Zu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Zu.error}`]:{color:(e.vars||e).palette.error.main}})),Ape=he("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Zu.error}`]:{color:(e.vars||e).palette.error.main}})),Lpe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiFormLabel"}),{children:o,className:a,component:l="label"}=r,u=ye(r,Ipe),c=na(),f=kl({props:r,muiFormControl:c,states:["color","required","focused","disabled","error","filled"]}),p=R({},r,{color:f.color||"primary",component:l,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required}),m=Ope(p);return D.exports.jsxs(kpe,R({as:l,ownerState:p,className:_e(m.root,a),ref:n},u,{children:[o,f.required&&D.exports.jsxs(Ape,{ownerState:p,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]}))});var Mpe=Lpe;const Npe=C.exports.createContext();var R$=Npe;function Dpe(e){return De("MuiGrid",e)}const Bpe=[0,1,2,3,4,5,6,7,8,9,10],Fpe=["column-reverse","column","row-reverse","row"],Upe=["nowrap","wrap-reverse","wrap"],vu=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],$c=Ne("MuiGrid",["root","container","item","zeroMinWidth",...Bpe.map(e=>`spacing-xs-${e}`),...Fpe.map(e=>`direction-xs-${e}`),...Upe.map(e=>`wrap-xs-${e}`),...vu.map(e=>`grid-xs-${e}`),...vu.map(e=>`grid-sm-${e}`),...vu.map(e=>`grid-md-${e}`),...vu.map(e=>`grid-lg-${e}`),...vu.map(e=>`grid-xl-${e}`)]),zpe=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Hs(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function jpe({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,o)=>{let a={};if(t[o]&&(n=t[o]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=eh({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[o]:l;if(u==null)return r;const c=`${Math.round(n/u*1e8)/1e6}%`;let f={};if(t.container&&t.item&&t.columnSpacing!==0){const p=e.spacing(t.columnSpacing);if(p!=="0px"){const m=`calc(${c} + ${Hs(p)})`;f={flexBasis:m,maxWidth:m}}}a=R({flexBasis:c,flexGrow:0,maxWidth:c},f)}return e.breakpoints.values[o]===0?Object.assign(r,a):r[e.breakpoints.up(o)]=a,r},{})}function Wpe({theme:e,ownerState:t}){const n=eh({values:t.direction,breakpoints:e.breakpoints.values});return _o({theme:e},n,r=>{const o={flexDirection:r};return r.indexOf("column")===0&&(o[`& > .${$c.item}`]={maxWidth:"none"}),o})}function GI({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(o=>{n===""&&t[o]!==0&&(n=o)});const r=Object.keys(e).sort((o,a)=>e[o]-e[a]);return r.slice(0,r.indexOf(n))}function Hpe({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&r!==0){const a=eh({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=GI({breakpoints:e.breakpoints.values,values:a})),o=_o({theme:e},a,(u,c)=>{var f;const p=e.spacing(u);return p!=="0px"?{marginTop:`-${Hs(p)}`,[`& > .${$c.item}`]:{paddingTop:Hs(p)}}:(f=l)!=null&&f.includes(c)?{}:{marginTop:0,[`& > .${$c.item}`]:{paddingTop:0}}})}return o}function Vpe({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&r!==0){const a=eh({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=GI({breakpoints:e.breakpoints.values,values:a})),o=_o({theme:e},a,(u,c)=>{var f;const p=e.spacing(u);return p!=="0px"?{width:`calc(100% + ${Hs(p)})`,marginLeft:`-${Hs(p)}`,[`& > .${$c.item}`]:{paddingLeft:Hs(p)}}:(f=l)!=null&&f.includes(c)?{}:{width:"100%",marginLeft:0,[`& > .${$c.item}`]:{paddingLeft:0}}})}return o}function Gpe(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(o=>{const a=e[o];Number(a)>0&&r.push(n[`spacing-${o}-${String(a)}`])}),r}const Kpe=he("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:a,spacing:l,wrap:u,zeroMinWidth:c,breakpoints:f}=n;let p=[];r&&(p=Gpe(l,f,t));const m=[];return f.forEach(g=>{const x=n[g];x&&m.push(t[`grid-${g}-${String(x)}`])}),[t.root,r&&t.container,a&&t.item,c&&t.zeroMinWidth,...p,o!=="row"&&t[`direction-xs-${String(o)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>R({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),Wpe,Hpe,Vpe,jpe);function qpe(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const o=e[r];if(Number(o)>0){const a=`spacing-${r}-${String(o)}`;n.push(a)}}),n}const Ype=e=>{const{classes:t,container:n,direction:r,item:o,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:c}=e;let f=[];n&&(f=qpe(a,c));const p=[];c.forEach(g=>{const x=e[g];x&&p.push(`grid-${g}-${String(x)}`)});const m={root:["root",n&&"container",o&&"item",u&&"zeroMinWidth",...f,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...p]};return Be(m,Dpe,t)},Xpe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiGrid"}),{breakpoints:o}=Co(),a=jy(r),{className:l,columns:u,columnSpacing:c,component:f="div",container:p=!1,direction:m="row",item:g=!1,rowSpacing:x,spacing:E=0,wrap:b="wrap",zeroMinWidth:y=!1}=a,v=ye(a,zpe),_=x||E,w=c||E,P=C.exports.useContext(R$),A=p?u||12:P,k={},I=R({},v);o.keys.forEach(B=>{v[B]!=null&&(k[B]=v[B],delete I[B])});const L=R({},a,{columns:A,container:p,direction:m,item:g,rowSpacing:_,columnSpacing:w,wrap:b,zeroMinWidth:y,spacing:E},k,{breakpoints:o.keys}),N=Ype(L);return D.exports.jsx(R$.Provider,{value:A,children:D.exports.jsx(Kpe,R({ownerState:L,className:_e(N.root,l),as:f,ref:n},I))})});var jn=Xpe;const Qpe=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],Zpe=e=>{const{classes:t,disableUnderline:n}=e,o=Be({root:["root",!n&&"underline"],input:["input"]},Ode,t);return R({},t,o)},Jpe=he(qh,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Gh(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),R({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${$a.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${$a.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${$a.disabled}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${$a.disabled}:before`]:{borderBottomStyle:"dotted"}})}),ehe=he(Yh,{name:"MuiInput",slot:"Input",overridesResolver:Kh})({}),KI=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiInput"}),{disableUnderline:o,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:f=!1,type:p="text"}=r,m=ye(r,Qpe),g=Zpe(r),E={root:{ownerState:{disableUnderline:o}}},b=l?Qr(l,E):E;return D.exports.jsx(Zc,R({components:R({Root:Jpe,Input:ehe},a),componentsProps:b,fullWidth:u,inputComponent:c,multiline:f,ref:n,type:p},m,{classes:g}))});KI.muiName="Input";var qI=KI;function the(e){return De("MuiInputAdornment",e)}const nhe=Ne("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var T$=nhe,I$;const rhe=["children","className","component","disablePointerEvents","disableTypography","position","variant"],ohe=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ce(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},ihe=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",o&&`position${ce(o)}`,l,r&&"hiddenLabel",a&&`size${ce(a)}`]};return Be(u,the,t)},ahe=he("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:ohe})(({theme:e,ownerState:t})=>R({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${T$.positionStart}&:not(.${T$.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),she=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiInputAdornment"}),{children:o,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:c=!1,position:f,variant:p}=r,m=ye(r,rhe),g=na()||{};let x=p;p&&g.variant,g&&!x&&(x=g.variant);const E=R({},r,{hiddenLabel:g.hiddenLabel,size:g.size,disablePointerEvents:u,position:f,variant:x}),b=ihe(E);return D.exports.jsx(Vh.Provider,{value:null,children:D.exports.jsx(ahe,R({as:l,ownerState:E,className:_e(b.root,a),ref:n},m,{children:typeof o=="string"&&!c?D.exports.jsx(on,{color:"text.secondary",children:o}):D.exports.jsxs(C.exports.Fragment,{children:[f==="start"?I$||(I$=D.exports.jsx("span",{className:"notranslate",children:"\u200B"})):null,o]})}))})});var lhe=she;function uhe(e){return De("MuiInputLabel",e)}Ne("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const che=["disableAnimation","margin","shrink","variant"],dhe=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:a,variant:l,required:u}=e,f=Be({root:["root",n&&"formControl",!a&&"animated",o&&"shrink",r==="small"&&"sizeSmall",l],asterisk:[u&&"asterisk"]},uhe,t);return R({},t,f)},fhe=he(Mpe,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Zu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>R({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&R({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&R({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&R({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))),phe=C.exports.forwardRef(function(t,n){const r=Ue({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:a}=r,l=ye(r,che),u=na();let c=a;typeof c=="undefined"&&u&&(c=u.filled||u.focused||u.adornedStart);const f=kl({props:r,muiFormControl:u,states:["size","variant","required"]}),p=R({},r,{disableAnimation:o,formControl:u,shrink:c,size:f.size,variant:f.variant,required:f.required}),m=dhe(p);return D.exports.jsx(fhe,R({"data-shrink":c,ownerState:p,ref:n},l,{classes:m}))});var hhe=phe;function ghe(e){return De("MuiLink",e)}const mhe=Ne("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var vhe=mhe;const YI={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},yhe=e=>YI[e]||e,xhe=({theme:e,ownerState:t})=>{const n=yhe(t.color),r=vc(e,`palette.${n}`,!1)||t.color,o=vc(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:st(r,.4)};var bhe=xhe;const _he=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Che=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,a={root:["root",`underline${ce(o)}`,n==="button"&&"button",r&&"focusVisible"]};return Be(a,ghe,t)},Ehe=he(on,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${ce(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>R({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&R({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:bhe({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${vhe.focusVisible}`]:{outline:"auto"}})),whe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiLink"}),{className:o,color:a="primary",component:l="a",onBlur:u,onFocus:c,TypographyClasses:f,underline:p="always",variant:m="inherit",sx:g}=r,x=ye(r,_he),{isFocusVisibleRef:E,onBlur:b,onFocus:y,ref:v}=Jp(),[_,w]=C.exports.useState(!1),P=yt(n,v),A=N=>{b(N),E.current===!1&&w(!1),u&&u(N)},k=N=>{y(N),E.current===!0&&w(!0),c&&c(N)},I=R({},r,{color:a,component:l,focusVisible:_,underline:p,variant:m}),L=Che(I);return D.exports.jsx(Ehe,R({color:a,className:_e(L.root,o),classes:f,component:l,onBlur:A,onFocus:k,ref:P,ownerState:I,variant:m,sx:[...Object.keys(YI).includes(a)?[]:[{color:a}],...Array.isArray(g)?g:[g]]},x))});var She=whe;const $he=Ne("MuiListItemIcon",["root","alignItemsFlexStart"]);var O$=$he;const Phe=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function uv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function k$(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function XI(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function yu(e,t,n,r,o,a){let l=!1,u=o(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const c=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!XI(u,a)||c)u=o(e,u,n);else return u.focus(),!0}return!1}const Rhe=C.exports.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:c=!1,disableListWrap:f=!1,onKeyDown:p,variant:m="selectedMenu"}=t,g=ye(t,Phe),x=C.exports.useRef(null),E=C.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});xo(()=>{o&&x.current.focus()},[o]),C.exports.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(w,P)=>{const A=!x.current.style.width;if(w.clientHeight<x.current.clientHeight&&A){const k=`${MP($n(w))}px`;x.current.style[P.direction==="rtl"?"paddingLeft":"paddingRight"]=k,x.current.style.width=`calc(100% + ${k})`}return x.current}}),[]);const b=w=>{const P=x.current,A=w.key,k=$n(P).activeElement;if(A==="ArrowDown")w.preventDefault(),yu(P,k,f,c,uv);else if(A==="ArrowUp")w.preventDefault(),yu(P,k,f,c,k$);else if(A==="Home")w.preventDefault(),yu(P,null,f,c,uv);else if(A==="End")w.preventDefault(),yu(P,null,f,c,k$);else if(A.length===1){const I=E.current,L=A.toLowerCase(),N=performance.now();I.keys.length>0&&(N-I.lastTime>500?(I.keys=[],I.repeating=!0,I.previousKeyMatched=!0):I.repeating&&L!==I.keys[0]&&(I.repeating=!1)),I.lastTime=N,I.keys.push(L);const B=k&&!I.repeating&&XI(k,I);I.previousKeyMatched&&(B||yu(P,k,!1,c,uv,I))?w.preventDefault():I.previousKeyMatched=!1}p&&p(w)},y=yt(x,n);let v=-1;C.exports.Children.forEach(l,(w,P)=>{!C.exports.isValidElement(w)||w.props.disabled||(m==="selectedMenu"&&w.props.selected||v===-1)&&(v=P)});const _=C.exports.Children.map(l,(w,P)=>{if(P===v){const A={};return a&&(A.autoFocus=!0),w.props.tabIndex===void 0&&m==="selectedMenu"&&(A.tabIndex=0),C.exports.cloneElement(w,A)}return w});return D.exports.jsx(ml,R({role:"menu",ref:y,className:u,onKeyDown:b,tabIndex:o?0:-1},g,{children:_}))});var The=Rhe;function Ihe(e){return De("MuiPopover",e)}Ne("MuiPopover",["root","paper"]);const Ohe=["onEntering"],khe=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function A$(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function L$(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function M$(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function cv(e){return typeof e=="function"?e():e}const Ahe=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"]},Ihe,t)},Lhe=he(r1,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Mhe=he(Eo,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Nhe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiPopover"}),{action:o,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:c="anchorEl",children:f,className:p,container:m,elevation:g=8,marginThreshold:x=16,open:E,PaperProps:b={},transformOrigin:y={vertical:"top",horizontal:"left"},TransitionComponent:v=b0,transitionDuration:_="auto",TransitionProps:{onEntering:w}={}}=r,P=ye(r.TransitionProps,Ohe),A=ye(r,khe),k=C.exports.useRef(),I=yt(k,b.ref),L=R({},r,{anchorOrigin:l,anchorReference:c,elevation:g,marginThreshold:x,PaperProps:b,transformOrigin:y,TransitionComponent:v,transitionDuration:_,TransitionProps:P}),N=Ahe(L),B=C.exports.useCallback(()=>{if(c==="anchorPosition")return u;const j=cv(a),ne=(j&&j.nodeType===1?j:$n(k.current).body).getBoundingClientRect();return{top:ne.top+A$(ne,l.vertical),left:ne.left+L$(ne,l.horizontal)}},[a,l.horizontal,l.vertical,u,c]),V=C.exports.useCallback(j=>({vertical:A$(j,y.vertical),horizontal:L$(j,y.horizontal)}),[y.horizontal,y.vertical]),ee=C.exports.useCallback(j=>{const te={width:j.offsetWidth,height:j.offsetHeight},ne=V(te);if(c==="none")return{top:null,left:null,transformOrigin:M$(ne)};const me=B();let H=me.top-ne.vertical,q=me.left-ne.horizontal;const Z=H+te.height,ue=q+te.width,K=zo(cv(a)),U=K.innerHeight-x,Y=K.innerWidth-x;if(H<x){const re=H-x;H-=re,ne.vertical+=re}else if(Z>U){const re=Z-U;H-=re,ne.vertical+=re}if(q<x){const re=q-x;q-=re,ne.horizontal+=re}else if(ue>Y){const re=ue-Y;q-=re,ne.horizontal+=re}return{top:`${Math.round(H)}px`,left:`${Math.round(q)}px`,transformOrigin:M$(ne)}},[a,c,B,V,x]),X=C.exports.useCallback(()=>{const j=k.current;if(!j)return;const te=ee(j);te.top!==null&&(j.style.top=te.top),te.left!==null&&(j.style.left=te.left),j.style.transformOrigin=te.transformOrigin},[ee]),ie=(j,te)=>{w&&w(j,te),X()};C.exports.useEffect(()=>{E&&X()}),C.exports.useImperativeHandle(o,()=>E?{updatePosition:()=>{X()}}:null,[E,X]),C.exports.useEffect(()=>{if(!E)return;const j=Qp(()=>{X()}),te=zo(a);return te.addEventListener("resize",j),()=>{j.clear(),te.removeEventListener("resize",j)}},[a,E,X]);let J=_;_==="auto"&&!v.muiSupportAuto&&(J=void 0);const G=m||(a?$n(cv(a)).body:void 0);return D.exports.jsx(Lhe,R({BackdropProps:{invisible:!0},className:_e(N.root,p),container:G,open:E,ref:n,ownerState:L},A,{children:D.exports.jsx(v,R({appear:!0,in:E,onEntering:ie,timeout:J},P,{children:D.exports.jsx(Mhe,R({elevation:g},b,{ref:I,className:_e(N.paper,b.className),children:f}))}))}))});var QI=Nhe;function Dhe(e){return De("MuiMenu",e)}Ne("MuiMenu",["root","paper","list"]);const Bhe=["onEntering"],Fhe=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Uhe={vertical:"top",horizontal:"right"},zhe={vertical:"top",horizontal:"left"},jhe=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"],list:["list"]},Dhe,t)},Whe=he(QI,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Hhe=he(Eo,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Vhe=he(The,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Ghe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:a,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:c,open:f,PaperProps:p={},PopoverClasses:m,transitionDuration:g="auto",TransitionProps:{onEntering:x}={},variant:E="selectedMenu"}=r,b=ye(r.TransitionProps,Bhe),y=ye(r,Fhe),v=Co(),_=v.direction==="rtl",w=R({},r,{autoFocus:o,disableAutoFocusItem:l,MenuListProps:u,onEntering:x,PaperProps:p,transitionDuration:g,TransitionProps:b,variant:E}),P=jhe(w),A=o&&!l&&f,k=C.exports.useRef(null),I=(B,V)=>{k.current&&k.current.adjustStyleForScrollbar(B,v),x&&x(B,V)},L=B=>{B.key==="Tab"&&(B.preventDefault(),c&&c(B,"tabKeyDown"))};let N=-1;return C.exports.Children.map(a,(B,V)=>{!C.exports.isValidElement(B)||B.props.disabled||(E==="selectedMenu"&&B.props.selected||N===-1)&&(N=V)}),D.exports.jsx(Whe,R({classes:m,onClose:c,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?Uhe:zhe,PaperProps:R({component:Hhe},p,{classes:R({},p.classes,{root:P.paper})}),className:P.root,open:f,ref:n,transitionDuration:g,TransitionProps:R({onEntering:I},b),ownerState:w},y,{children:D.exports.jsx(Vhe,R({onKeyDown:L,actions:k,autoFocus:o&&(N===-1||l),autoFocusItem:A,variant:E},u,{className:_e(P.list,u.className),children:a}))}))});var ZI=Ghe;function Khe(e){return De("MuiMenuItem",e)}const qhe=Ne("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var xu=qhe;const Yhe=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],Xhe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Qhe=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:l}=e,c=Be({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},Khe,l);return R({},l,c)},Zhe=he(Da,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Xhe})(({theme:e,ownerState:t})=>R({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xu.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${xu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${xu.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${xu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${xu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${S$.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${S$.inset}`]:{marginLeft:52},[`& .${lp.root}`]:{marginTop:0,marginBottom:0},[`& .${lp.inset}`]:{paddingLeft:36},[`& .${O$.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&R({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${O$.root} svg`]:{fontSize:"1.25rem"}}))),Jhe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:c=!1,focusVisibleClassName:f,role:p="menuitem",tabIndex:m}=r,g=ye(r,Yhe),x=C.exports.useContext(rl),E={dense:l||x.dense||!1,disableGutters:c},b=C.exports.useRef(null);xo(()=>{o&&b.current&&b.current.focus()},[o]);const y=R({},r,{dense:E.dense,divider:u,disableGutters:c}),v=Qhe(r),_=yt(b,n);let w;return r.disabled||(w=m!==void 0?m:-1),D.exports.jsx(rl.Provider,{value:E,children:D.exports.jsx(Zhe,R({ref:_,role:p,tabIndex:w,component:a,focusVisibleClassName:_e(v.focusVisible,f)},g,{ownerState:y,classes:v}))})});var JI=Jhe;function ege(e){return De("MuiNativeSelect",e)}const tge=Ne("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var mx=tge;const nge=["className","disabled","IconComponent","inputRef","variant"],rge=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${ce(n)}`,a&&"iconOpen",r&&"disabled"]};return Be(l,ege,t)},eO=({ownerState:e,theme:t})=>R({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},[`&.${mx.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),oge=he("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:mr,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${mx.multiple}`]:t.multiple}]}})(eO),tO=({ownerState:e,theme:t})=>R({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${mx.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),ige=he("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ce(n.variant)}`],n.open&&t.iconOpen]}})(tO),age=C.exports.forwardRef(function(t,n){const{className:r,disabled:o,IconComponent:a,inputRef:l,variant:u="standard"}=t,c=ye(t,nge),f=R({},t,{disabled:o,variant:u}),p=rge(f);return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx(oge,R({ownerState:f,className:_e(p.select,r),disabled:o,ref:l||n},c)),t.multiple?null:D.exports.jsx(ige,{as:a,ownerState:f,className:p.icon})]})});var sge=age,N$;const lge=["children","classes","className","label","notched"],uge=he("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),cge=he("legend")(({ownerState:e,theme:t})=>R({float:"unset",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&R({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function dge(e){const{className:t,label:n,notched:r}=e,o=ye(e,lge),a=n!=null&&n!=="",l=R({},e,{notched:r,withLabel:a});return D.exports.jsx(uge,R({"aria-hidden":!0,className:t,ownerState:l},o,{children:D.exports.jsx(cge,{ownerState:l,children:a?D.exports.jsx("span",{children:n}):N$||(N$=D.exports.jsx("span",{className:"notranslate",children:"\u200B"}))})}))}const fge=["components","fullWidth","inputComponent","label","multiline","notched","type"],pge=e=>{const{classes:t}=e,r=Be({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ade,t);return R({},t,r)},hge=he(qh,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Gh})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return R({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${To.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${To.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${To.focused} .${To.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${To.error} .${To.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${To.disabled} .${To.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&R({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),gge=he(dge,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),mge=he(Yh,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Kh})(({theme:e,ownerState:t})=>R({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),nO=C.exports.forwardRef(function(t,n){var r;const o=Ue({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:c,multiline:f=!1,notched:p,type:m="text"}=o,g=ye(o,fge),x=pge(o),E=na(),b=kl({props:o,muiFormControl:E,states:["required"]}),y=R({},o,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:E,fullWidth:l,hiddenLabel:b.hiddenLabel,multiline:f,size:b.size,type:m});return D.exports.jsx(Zc,R({components:R({Root:hge,Input:mge},a),renderSuffix:v=>D.exports.jsx(gge,{ownerState:y,className:x.notchedOutline,label:c!=null&&c!==""&&b.required?r||(r=D.exports.jsxs(C.exports.Fragment,{children:[c,"\xA0","*"]})):c,notched:typeof p!="undefined"?p:Boolean(v.startAdornment||v.filled||v.focused)}),fullWidth:l,inputComponent:u,multiline:f,ref:n,type:m},g,{classes:R({},x,{notchedOutline:null})}))});nO.muiName="Input";var rO=nO,D$=Lr(D.exports.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),B$=Lr(D.exports.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function vge(e){return De("MuiSelect",e)}const yge=Ne("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var df=yge,F$;const xge=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],bge=he("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${df.select}`]:t.select},{[`&.${df.select}`]:t[n.variant]},{[`&.${df.multiple}`]:t.multiple}]}})(eO,{[`&.${df.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_ge=he("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ce(n.variant)}`],n.open&&t.iconOpen]}})(tO),Cge=he("input",{shouldForwardProp:e=>UW(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function U$(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Ege(e){return e==null||typeof e=="string"&&!e.trim()}const wge=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${ce(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Be(l,vge,t)},Sge=C.exports.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":o,autoFocus:a,autoWidth:l,children:u,className:c,defaultOpen:f,defaultValue:p,disabled:m,displayEmpty:g,IconComponent:x,inputRef:E,labelId:b,MenuProps:y={},multiple:v,name:_,onBlur:w,onChange:P,onClose:A,onFocus:k,onOpen:I,open:L,readOnly:N,renderValue:B,SelectDisplayProps:V={},tabIndex:ee,value:X,variant:ie="standard"}=t,J=ye(t,xge),[G,j]=Fi({controlled:X,default:p,name:"Select"}),[te,ne]=Fi({controlled:L,default:f,name:"Select"}),me=C.exports.useRef(null),H=C.exports.useRef(null),[q,Z]=C.exports.useState(null),{current:ue}=C.exports.useRef(L!=null),[K,U]=C.exports.useState(),Y=yt(n,E),re=C.exports.useCallback(be=>{H.current=be,be&&Z(be)},[]);C.exports.useImperativeHandle(Y,()=>({focus:()=>{H.current.focus()},node:me.current,value:G}),[G]),C.exports.useEffect(()=>{f&&te&&q&&!ue&&(U(l?null:q.clientWidth),H.current.focus())},[q,l]),C.exports.useEffect(()=>{a&&H.current.focus()},[a]),C.exports.useEffect(()=>{if(!b)return;const be=$n(H.current).getElementById(b);if(be){const Xe=()=>{getSelection().isCollapsed&&H.current.focus()};return be.addEventListener("click",Xe),()=>{be.removeEventListener("click",Xe)}}},[b]);const fe=(be,Xe)=>{be?I&&I(Xe):A&&A(Xe),ue||(U(l?null:q.clientWidth),ne(be))},we=be=>{be.button===0&&(be.preventDefault(),H.current.focus(),fe(!0,be))},ke=be=>{fe(!1,be)},Ie=C.exports.Children.toArray(u),Ce=be=>{const Xe=Ie.map(et=>et.props.value).indexOf(be.target.value);if(Xe===-1)return;const Se=Ie[Xe];j(Se.props.value),P&&P(be,Se)},We=be=>Xe=>{let Se;if(!!Xe.currentTarget.hasAttribute("tabindex")){if(v){Se=Array.isArray(G)?G.slice():[];const et=G.indexOf(be.props.value);et===-1?Se.push(be.props.value):Se.splice(et,1)}else Se=be.props.value;if(be.props.onClick&&be.props.onClick(Xe),G!==Se&&(j(Se),P)){const et=Xe.nativeEvent||Xe,At=new et.constructor(et.type,et);Object.defineProperty(At,"target",{writable:!0,value:{value:Se,name:_}}),P(At,be)}v||fe(!1,Xe)}},Me=be=>{N||[" ","ArrowUp","ArrowDown","Enter"].indexOf(be.key)!==-1&&(be.preventDefault(),fe(!0,be))},dt=q!==null&&te,ze=be=>{!dt&&w&&(Object.defineProperty(be,"target",{writable:!0,value:{value:G,name:_}}),w(be))};delete J["aria-invalid"];let bt,It;const Ge=[];let qe=!1;(gx({value:G})||g)&&(B?bt=B(G):qe=!0);const mt=Ie.map((be,Xe,Se)=>{if(!C.exports.isValidElement(be))return null;let et;if(v){if(!Array.isArray(G))throw new Error(Gi(2));et=G.some(Xt=>U$(Xt,be.props.value)),et&&qe&&Ge.push(be.props.children)}else et=U$(G,be.props.value),et&&qe&&(It=be.props.children);if(be.props.value===void 0)return C.exports.cloneElement(be,{"aria-readonly":!0,role:"option"});const At=()=>{if(G)return et;const Xt=Se.find(Cn=>Cn.props.value!==void 0&&Cn.props.disabled!==!0);return be===Xt?!0:et};return C.exports.cloneElement(be,{"aria-selected":et?"true":"false",onClick:We(be),onKeyUp:Xt=>{Xt.key===" "&&Xt.preventDefault(),be.props.onKeyUp&&be.props.onKeyUp(Xt)},role:"option",selected:Se[0].props.value===void 0||Se[0].props.disabled===!0?At():et,value:void 0,"data-value":be.props.value})});qe&&(v?Ge.length===0?bt=null:bt=Ge.reduce((be,Xe,Se)=>(be.push(Xe),Se<Ge.length-1&&be.push(", "),be),[]):bt=It);let zt=K;!l&&ue&&q&&(zt=q.clientWidth);let nt;typeof ee!="undefined"?nt=ee:nt=m?null:0;const rt=V.id||(_?`mui-component-select-${_}`:void 0),ft=R({},t,{variant:ie,value:G,open:dt}),Pe=wge(ft);return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx(bge,R({ref:re,tabIndex:nt,role:"button","aria-disabled":m?"true":void 0,"aria-expanded":dt?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[b,rt].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:Me,onMouseDown:m||N?null:we,onBlur:ze,onFocus:k},V,{ownerState:ft,className:_e(V.className,Pe.select,c),id:rt,children:Ege(bt)?F$||(F$=D.exports.jsx("span",{className:"notranslate",children:"\u200B"})):bt})),D.exports.jsx(Cge,R({value:Array.isArray(G)?G.join(","):G,name:_,ref:me,"aria-hidden":!0,onChange:Ce,tabIndex:-1,disabled:m,className:Pe.nativeInput,autoFocus:a,ownerState:ft},J)),D.exports.jsx(_ge,{as:x,className:Pe.icon,ownerState:ft}),D.exports.jsx(ZI,R({id:`menu-${_||""}`,anchorEl:q,open:dt,onClose:ke,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},y,{MenuListProps:R({"aria-labelledby":b,role:"listbox",disableListWrap:!0},y.MenuListProps),PaperProps:R({},y.PaperProps,{style:R({minWidth:zt},y.PaperProps!=null?y.PaperProps.style:null)}),children:mt}))]})});var $ge=Sge,z$,j$;const Pge=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Rge=e=>{const{classes:t}=e;return t},vx={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>mr(e)&&e!=="variant",slot:"Root"},Tge=he(qI,vx)(""),Ige=he(rO,vx)(""),Oge=he(VI,vx)(""),oO=C.exports.forwardRef(function(t,n){const r=Ue({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:a,classes:l={},className:u,defaultOpen:c=!1,displayEmpty:f=!1,IconComponent:p=zI,id:m,input:g,inputProps:x,label:E,labelId:b,MenuProps:y,multiple:v=!1,native:_=!1,onClose:w,onOpen:P,open:A,renderValue:k,SelectDisplayProps:I,variant:L="outlined"}=r,N=ye(r,Pge),B=_?sge:$ge,V=na(),X=kl({props:r,muiFormControl:V,states:["variant"]}).variant||L,ie=g||{standard:z$||(z$=D.exports.jsx(Tge,{})),outlined:D.exports.jsx(Ige,{label:E}),filled:j$||(j$=D.exports.jsx(Oge,{}))}[X],J=R({},r,{variant:X,classes:l}),G=Rge(J),j=yt(n,ie.ref);return C.exports.cloneElement(ie,R({inputComponent:B,inputProps:R({children:a,IconComponent:p,variant:X,type:void 0,multiple:v},_?{id:m}:{autoWidth:o,defaultOpen:c,displayEmpty:f,labelId:b,MenuProps:y,onClose:w,onOpen:P,open:A,renderValue:k,SelectDisplayProps:R({id:m},I)},x,{classes:x?Qr(G,x.classes):G},g?g.props.inputProps:{})},v&&_&&X==="outlined"?{notched:!0}:{},{ref:j,className:_e(ie.props.className,u)},!g&&{variant:X},N))});oO.muiName="Select";var iO=oO;const kge=C.exports.createContext();var aO=kge;function Age(e){return De("MuiTable",e)}Ne("MuiTable",["root","stickyHeader"]);const Lge=["className","component","padding","size","stickyHeader"],Mge=e=>{const{classes:t,stickyHeader:n}=e;return Be({root:["root",n&&"stickyHeader"]},Age,t)},Nge=he("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>R({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":R({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),W$="table",Dge=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTable"}),{className:o,component:a=W$,padding:l="normal",size:u="medium",stickyHeader:c=!1}=r,f=ye(r,Lge),p=R({},r,{component:a,padding:l,size:u,stickyHeader:c}),m=Mge(p),g=C.exports.useMemo(()=>({padding:l,size:u,stickyHeader:c}),[l,u,c]);return D.exports.jsx(aO.Provider,{value:g,children:D.exports.jsx(Nge,R({as:a,role:a===W$?null:"table",ref:n,className:_e(m.root,o),ownerState:p},f))})});var Bge=Dge;const Fge=C.exports.createContext();var Xh=Fge;function Uge(e){return De("MuiTableBody",e)}Ne("MuiTableBody",["root"]);const zge=["className","component"],jge=e=>{const{classes:t}=e;return Be({root:["root"]},Uge,t)},Wge=he("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Hge={variant:"body"},H$="tbody",Vge=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableBody"}),{className:o,component:a=H$}=r,l=ye(r,zge),u=R({},r,{component:a}),c=jge(u);return D.exports.jsx(Xh.Provider,{value:Hge,children:D.exports.jsx(Wge,R({className:_e(c.root,o),as:a,ref:n,role:a===H$?null:"rowgroup",ownerState:u},l))})});var Gge=Vge;function Kge(e){return De("MuiTableCell",e)}const qge=Ne("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var Yge=qge;const Xge=["align","className","component","padding","scope","size","sortDirection","variant"],Qge=e=>{const{classes:t,variant:n,align:r,padding:o,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${ce(r)}`,o!=="normal"&&`padding${ce(o)}`,`size${ce(a)}`]};return Be(u,Kge,t)},Zge=he("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ce(n.size)}`],n.padding!=="normal"&&t[`padding${ce(n.padding)}`],n.align!=="inherit"&&t[`align${ce(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>R({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
    ${e.palette.mode==="light"?aR(st(e.palette.divider,1),.88):iR(st(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${Yge.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),Jge=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableCell"}),{align:o="inherit",className:a,component:l,padding:u,scope:c,size:f,sortDirection:p,variant:m}=r,g=ye(r,Xge),x=C.exports.useContext(aO),E=C.exports.useContext(Xh),b=E&&E.variant==="head";let y;l?y=l:y=b?"th":"td";let v=c;!v&&b&&(v="col");const _=m||E&&E.variant,w=R({},r,{align:o,component:y,padding:u||(x&&x.padding?x.padding:"normal"),size:f||(x&&x.size?x.size:"medium"),sortDirection:p,stickyHeader:_==="head"&&x&&x.stickyHeader,variant:_}),P=Qge(w);let A=null;return p&&(A=p==="asc"?"ascending":"descending"),D.exports.jsx(Zge,R({as:y,ref:n,className:_e(P.root,a),"aria-sort":A,scope:v,ownerState:w},g))});var Pc=Jge;function eme(e){return De("MuiTableContainer",e)}Ne("MuiTableContainer",["root"]);const tme=["className","component"],nme=e=>{const{classes:t}=e;return Be({root:["root"]},eme,t)},rme=he("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),ome=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableContainer"}),{className:o,component:a="div"}=r,l=ye(r,tme),u=R({},r,{component:a}),c=nme(u);return D.exports.jsx(rme,R({ref:n,as:a,className:_e(c.root,o),ownerState:u},l))});var ime=ome;function ame(e){return De("MuiTableHead",e)}Ne("MuiTableHead",["root"]);const sme=["className","component"],lme=e=>{const{classes:t}=e;return Be({root:["root"]},ame,t)},ume=he("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),cme={variant:"head"},V$="thead",dme=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableHead"}),{className:o,component:a=V$}=r,l=ye(r,sme),u=R({},r,{component:a}),c=lme(u);return D.exports.jsx(Xh.Provider,{value:cme,children:D.exports.jsx(ume,R({as:a,className:_e(c.root,o),ref:n,role:a===V$?null:"rowgroup",ownerState:u},l))})});var fme=dme,G$=Lr(D.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),K$=Lr(D.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),q$,Y$,X$,Q$,Z$,J$,e4,t4;const pme=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],hme=C.exports.forwardRef(function(t,n){const{backIconButtonProps:r,count:o,getItemAriaLabel:a,nextIconButtonProps:l,onPageChange:u,page:c,rowsPerPage:f,showFirstButton:p,showLastButton:m}=t,g=ye(t,pme),x=Co(),E=_=>{u(_,0)},b=_=>{u(_,c-1)},y=_=>{u(_,c+1)},v=_=>{u(_,Math.max(0,Math.ceil(o/f)-1))};return D.exports.jsxs("div",R({ref:n},g,{children:[p&&D.exports.jsx(rn,{onClick:E,disabled:c===0,"aria-label":a("first",c),title:a("first",c),children:x.direction==="rtl"?q$||(q$=D.exports.jsx(B$,{})):Y$||(Y$=D.exports.jsx(D$,{}))}),D.exports.jsx(rn,R({onClick:b,disabled:c===0,color:"inherit","aria-label":a("previous",c),title:a("previous",c)},r,{children:x.direction==="rtl"?X$||(X$=D.exports.jsx(K$,{})):Q$||(Q$=D.exports.jsx(G$,{}))})),D.exports.jsx(rn,R({onClick:y,disabled:o!==-1?c>=Math.ceil(o/f)-1:!1,color:"inherit","aria-label":a("next",c),title:a("next",c)},l,{children:x.direction==="rtl"?Z$||(Z$=D.exports.jsx(G$,{})):J$||(J$=D.exports.jsx(K$,{}))})),m&&D.exports.jsx(rn,{onClick:v,disabled:c>=Math.ceil(o/f)-1,"aria-label":a("last",c),title:a("last",c),children:x.direction==="rtl"?e4||(e4=D.exports.jsx(D$,{})):t4||(t4=D.exports.jsx(B$,{}))})]}))});var gme=hme;function mme(e){return De("MuiTablePagination",e)}const vme=Ne("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Ju=vme,n4;const yme=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],xme=he(Pc,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),bme=he(Xu,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>R({[`& .${Ju.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Ju.actions}`]:{flexShrink:0,marginLeft:20}})),_me=he("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Cme=he("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>R({},e.typography.body2,{flexShrink:0})),Eme=he(iO,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>R({[`& .${Ju.selectIcon}`]:t.selectIcon,[`& .${Ju.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Ju.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),wme=he(JI,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),Sme=he("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>R({},e.typography.body2,{flexShrink:0}));function $me({from:e,to:t,count:n}){return`${e}\u2013${t} of ${n!==-1?n:`more than ${t}`}`}function Pme(e){return`Go to ${e} page`}const Rme=e=>{const{classes:t}=e;return Be({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},mme,t)},Tme=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTablePagination"}),{ActionsComponent:o=gme,backIconButtonProps:a,className:l,colSpan:u,component:c=Pc,count:f,getItemAriaLabel:p=Pme,labelDisplayedRows:m=$me,labelRowsPerPage:g="Rows per page:",nextIconButtonProps:x,onPageChange:E,onRowsPerPageChange:b,page:y,rowsPerPage:v,rowsPerPageOptions:_=[10,25,50,100],SelectProps:w={},showFirstButton:P=!1,showLastButton:A=!1}=r,k=ye(r,yme),I=r,L=Rme(I),N=w.native?"option":wme;let B;(c===Pc||c==="td")&&(B=u||1e3);const V=La(w.id),ee=La(w.labelId),X=()=>f===-1?(y+1)*v:v===-1?f:Math.min(f,(y+1)*v);return D.exports.jsx(xme,R({colSpan:B,ref:n,as:c,ownerState:I,className:_e(L.root,l)},k,{children:D.exports.jsxs(bme,{className:L.toolbar,children:[D.exports.jsx(_me,{className:L.spacer}),_.length>1&&D.exports.jsx(Cme,{className:L.selectLabel,id:ee,children:g}),_.length>1&&D.exports.jsx(Eme,R({variant:"standard"},!w.variant&&{input:n4||(n4=D.exports.jsx(Zc,{}))},{value:v,onChange:b,id:V,labelId:ee},w,{classes:R({},w.classes,{root:_e(L.input,L.selectRoot,(w.classes||{}).root),select:_e(L.select,(w.classes||{}).select),icon:_e(L.selectIcon,(w.classes||{}).icon)}),children:_.map(ie=>C.exports.createElement(N,R({},!Zs(N)&&{ownerState:I},{className:L.menuItem,key:ie.label?ie.label:ie,value:ie.value?ie.value:ie}),ie.label?ie.label:ie))})),D.exports.jsx(Sme,{className:L.displayedRows,children:m({from:f===0?0:y*v+1,to:X(),count:f===-1?-1:f,page:y})}),D.exports.jsx(o,{className:L.actions,backIconButtonProps:a,count:f,nextIconButtonProps:x,onPageChange:E,page:y,rowsPerPage:v,showFirstButton:P,showLastButton:A,getItemAriaLabel:p})]})}))});var Ime=Tme;function Ome(e){return De("MuiTableRow",e)}const kme=Ne("MuiTableRow",["root","selected","hover","head","footer"]);var r4=kme;const Ame=["className","component","hover","selected"],Lme=e=>{const{classes:t,selected:n,hover:r,head:o,footer:a}=e;return Be({root:["root",n&&"selected",r&&"hover",o&&"head",a&&"footer"]},Ome,t)},Mme=he("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${r4.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${r4.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),o4="tr",Nme=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableRow"}),{className:o,component:a=o4,hover:l=!1,selected:u=!1}=r,c=ye(r,Ame),f=C.exports.useContext(Xh),p=R({},r,{component:a,hover:l,selected:u,head:f&&f.variant==="head",footer:f&&f.variant==="footer"}),m=Lme(p);return D.exports.jsx(Mme,R({as:a,ref:n,className:_e(m.root,o),role:a===o4?null:"row",ownerState:p},c))});var i4=Nme;function Dme(e){return De("MuiTextField",e)}Ne("MuiTextField",["root"]);const Bme=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Fme={standard:qI,filled:VI,outlined:rO},Ume=e=>{const{classes:t}=e;return Be({root:["root"]},Dme,t)},zme=he(bpe,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jme=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:a=!1,children:l,className:u,color:c="primary",defaultValue:f,disabled:p=!1,error:m=!1,FormHelperTextProps:g,fullWidth:x=!1,helperText:E,id:b,InputLabelProps:y,inputProps:v,InputProps:_,inputRef:w,label:P,maxRows:A,minRows:k,multiline:I=!1,name:L,onBlur:N,onChange:B,onFocus:V,placeholder:ee,required:X=!1,rows:ie,select:J=!1,SelectProps:G,type:j,value:te,variant:ne="outlined"}=r,me=ye(r,Bme),H=R({},r,{autoFocus:a,color:c,disabled:p,error:m,fullWidth:x,multiline:I,required:X,select:J,variant:ne}),q=Ume(H),Z={};ne==="outlined"&&(y&&typeof y.shrink!="undefined"&&(Z.notched=y.shrink),Z.label=P),J&&((!G||!G.native)&&(Z.id=void 0),Z["aria-describedby"]=void 0);const ue=La(b),K=E&&ue?`${ue}-helper-text`:void 0,U=P&&ue?`${ue}-label`:void 0,Y=Fme[ne],re=D.exports.jsx(Y,R({"aria-describedby":K,autoComplete:o,autoFocus:a,defaultValue:f,fullWidth:x,multiline:I,name:L,rows:ie,maxRows:A,minRows:k,type:j,value:te,id:ue,inputRef:w,onBlur:N,onChange:B,onFocus:V,placeholder:ee,inputProps:v},Z,_));return D.exports.jsxs(zme,R({className:_e(q.root,u),disabled:p,error:m,fullWidth:x,ref:n,required:X,color:c,variant:ne,ownerState:H},me,{children:[P!=null&&P!==""&&D.exports.jsx(hhe,R({htmlFor:ue,id:U},y,{children:P})),J?D.exports.jsx(iO,R({"aria-describedby":K,id:ue,labelId:U,value:te,input:re},G,{children:l})):re,E&&D.exports.jsx(Ppe,R({id:K},g,{children:E}))]}))});var Al=jme,yx={},Wme=Ft.exports;Object.defineProperty(yx,"__esModule",{value:!0});var Ii=yx.default=void 0,Hme=Wme(Ut),Vme=D.exports,Gme=(0,Hme.default)((0,Vme.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");Ii=yx.default=Gme;var xx={},Kme=Ft.exports;Object.defineProperty(xx,"__esModule",{value:!0});var sO=xx.default=void 0,qme=Kme(Ut),Yme=D.exports,Xme=(0,qme.default)((0,Yme.jsx)("path",{d:"m12.126 8.125 1.937-1.937 3.747 3.747-1.937 1.938zM20.71 5.63l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75L20.71 7a1 1 0 0 0 0-1.37zM2 5l6.63 6.63L3 17.25V21h3.75l5.63-5.62L18 21l2-2L4 3 2 5z"}),"EditOff");sO=xx.default=Xme;var Qme=wo,lO=Qme("omit",ST);lO.placeholder=lo;var Qh=lO;function Zme(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var Jme=Zme,eve=zT,tve=LT,nve=Jme,rve=Pl,ove=Sh,ive=jT,ave=200;function sve(e,t,n,r){var o=-1,a=tve,l=!0,u=e.length,c=[],f=t.length;if(!u)return c;n&&(t=rve(t,ove(n))),r?(a=nve,l=!1):t.length>=ave&&(a=ive,l=!1,t=new eve(t));e:for(;++o<u;){var p=e[o],m=n==null?p:n(p);if(p=r||p!==0?p:0,l&&m===m){for(var g=f;g--;)if(t[g]===m)continue e;c.push(p)}else a(t,m,r)||c.push(p)}return c}var lve=sve,uve=kh,cve=ET,dve=D1;function fve(e,t){return dve(cve(e,t,uve),e+"")}var pve=fve,hve=Cl,gve=ao;function mve(e){return gve(e)&&hve(e)}var vve=mve,yve=lve,xve=CT,bve=pve,a4=vve,_ve=bve(function(e,t){return a4(e)?yve(e,xve(t,1,a4,!0)):[]}),Cve=_ve,Eve=wo,uO=Eve("noop",U1,G1);uO.placeholder=lo;var Rc=uO,bx=C.exports.createContext({dnd:{drawImageRef:null,onDragStart:Rc.noop,onDragEnd:Rc.noop}});const _x=({children:e,onDragStart:t,onDragEnd:n})=>{const r=C.exports.useRef(),o=C.exports.useMemo(()=>({dnd:{drawImageRef:r,onDragStart:t,onDragEnd:n}}),[r.current,t,n]);return S.createElement(bx.Provider,{value:o},e)};_x.defaultProps={onDragStart:Rc,onDragEnd:Rc};_x.propTypes={onDragStart:Aa.func,onDragEnd:Aa.func};const Ep="\u041D\u0435\u043B\u044C\u0437\u044F \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0442\u0438 \u0432 \u044D\u0442\u043E \u043F\u043E\u043B\u0435",wve={over:{position:"relative","&:after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,background:e=>e.palette.action.disabled,outline:e=>`1px dashed ${e.palette.common.white}`,outlineOffset:-2}}},Cx=({active:e=!0,onDrop:t,children:n})=>{const[r,o]=C.exports.useState(0),a=C.exports.useCallback((p,m)=>{!Array.from(p.dataTransfer.types).includes(Ep)||o(x=>x+m)},[]),l=p=>{p.preventDefault(),a(p,1)},u=p=>{p.preventDefault(),a(p,-1)},c=p=>p.preventDefault(),f=p=>{p.preventDefault(),p.dataTransfer.getData("Text")===Ep&&(p.stopPropagation(),o(0),t())};return S.createElement(ge,{onDrop:e?f:void 0,onDragEnter:e?l:void 0,onDragLeave:e?u:void 0,onDragOver:e?c:void 0,sx:r>0?wve.over:void 0},n)};Cx.defaultProps={onDrop:Rc.noop,classes:{}};Cx.propTypes={onDrop:Aa.func,active:Aa.bool};const Ex=({children:e,draggableElement:t,className:n,active:r})=>{const{dnd:o}=C.exports.useContext(bx),{drawImageRef:a,onDragStart:l,onDragEnd:u}=o,c=C.exports.useCallback(f=>{!t||(f.dataTransfer.setDragImage(a.current,10,10),f.dataTransfer.setData("Text",Ep),f.dataTransfer.setData(Ep,""),l(t))},[t,l]);return C.exports.createElement("div",{draggable:r,onDragStart:r?c:void 0,onDragEnd:r?u:void 0,className:n},e)};Ex.propTypes={draggableElement:Aa.any,className:Aa.string};var wx={},Sve=Ft.exports;Object.defineProperty(wx,"__esModule",{value:!0});var cO=wx.default=void 0,$ve=Sve(Ut),Pve=D.exports,Rve=(0,$ve.default)((0,Pve.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"}),"InsertDriveFile");cO=wx.default=Rve;const ff={"drag-image":{width:e=>e.spacing(7.5),height:e=>e.spacing(7.5),position:"absolute",background:e=>e.palette.action.disabled,borderRadius:"50%",top:0,transform:"translateY(-500px)"},"drag-image__paper-layer":{display:"inline-block",verticalAlign:"middle",maxWidth:"100%",maxHeight:"100%",position:"absolute",top:"50%",left:"50%",marginTop:e=>e.spacing(-2.5),marginLeft:e=>e.spacing(-2),width:e=>e.spacing(4),height:e=>e.spacing(4)},"drag-image__paper-svg":{color:"common.white"},"drag-image_amount":{position:"absolute",top:"50%",left:"50%",marginTop:e=>e.spacing(-1),marginLeft:e=>e.spacing(-2),fontSize:13,lineHeight:e=>`${e.spacing(2)}px`,height:e=>e.spacing(2),textAlign:"center",width:e=>e.spacing(4)}},dO=({amount:e})=>{const{dnd:t}=C.exports.useContext(bx);return C.exports.createElement(ge,{sx:ff["drag-image"],ref:t.drawImageRef},C.exports.createElement(ge,{component:"span",sx:ff["drag-image__paper-layer"]},C.exports.createElement(cO,{sx:ff["drag-image__paper-svg"],fontSize:"large"})),C.exports.createElement(ge,{sx:ff["drag-image_amount"]},e<100?e:"99+"))};dO.propTypes={amount:Aa.number};function s4(e){const{moduleName:t,parentUnit:n,clickAdd:r,idAdd:o}=e,{setCurrentSys:a}=Yt(),l=u=>{u.stopPropagation(),addUnitToSut(n,t),r(!0),a(vn(sys))};return S.createElement(ei,null,S.createElement(rn,{id:o,"aria-controls":"unit-add",onClick:l},S.createElement(up,null)))}var Sx={};Object.defineProperty(Sx,"__esModule",{value:!0});var $x=Sx.default=void 0;const Tve={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"};var Ive=Tve;$x=Sx.default=Ive;var Px={};Object.defineProperty(Px,"__esModule",{value:!0});var Tc=Px.default=void 0;const Ove={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};var kve=Ove;Tc=Px.default=kve;var Rx={};Object.defineProperty(Rx,"__esModule",{value:!0});var Zh=Rx.default=void 0;const Ave={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var Lve=Ave;Zh=Rx.default=Lve;const Lf={valueFont:500},Vs="#ff3150",Mve=Zh.A700,Nve="#2a2a2a",Dve="#3b3b3b",Bve=gh({palette:{mode:"light",primary:{main:Vs},success:{main:Tc[800],light:Tc.A400},warning:{main:$x.A200},error:{main:Zh.A700}},components:{MuiFormControl:{defaultProps:{size:"small"},styleOverrides:{root:{minWidth:240}}},MuiCssBaseline:{styleOverrides:{html:{height:"100%"},body:{height:"100%",background:Bt[300]}}},MuiCheckbox:{styleOverrides:{root:{color:Vs,"&.Mui-checked":{color:Vs}}}},MuiButton:{styleOverrides:{root:{background:Bt[300],color:Bt[900],fontWeight:400,marginRight:10,paddingRight:20,paddingLeft:20,"&:hover":{background:Bt[400],color:Bt[900]}}}},MuiAppBar:{styleOverrides:{root:{background:Mve}}},MuiPaper:{styleOverrides:{root:{background:Bt[50]}}}}}),Fve=gh({palette:{mode:"dark",primary:{main:Vs},success:{main:Tc[800],light:Tc.A400},warning:{main:$x.A200},error:{main:Zh.A700}},components:{MuiFormControl:{defaultProps:{size:"small"},styleOverrides:{root:{minWidth:240}}},MuiCssBaseline:{styleOverrides:{html:{height:"10%"},body:{height:"100%"},main:{height:"100%"}}},MuiCheckbox:{styleOverrides:{root:{color:Vs,"&.Mui-checked":{color:Vs}}}},MuiButton:{styleOverrides:{root:{background:Bt[600],color:Bt[50],fontWeight:400,marginRight:10,paddingRight:20,paddingLeft:20,"&:hover":{background:Bt[500],color:Bt[50]}}}},MuiAppBar:{styleOverrides:{root:{background:Nve}}},MuiPaper:{styleOverrides:{root:{background:Dve}}}}}),R0="dark",l4="light",fO=C.exports.createContext({toggleThemeMode:()=>{},mode:"dark"}),Uve=()=>localStorage.getItem("mode_current")||R0;function zve({children:e}){const[t,n]=C.exports.useState(Uve()),r=t===R0?Fve:Bve;C.exports.useEffect(()=>{localStorage.setItem("mode_current",t)},[t]);const o=()=>{n(u=>u===l4?R0:l4)},a=C.exports.useMemo(()=>({toggleDarkMode:o,mode:t}),[t]);return S.createElement(fO.Provider,{value:a},S.createElement(j9,{theme:r},e))}const Ka=()=>C.exports.useContext(fO),pO={nameOfConfig:e=>({borderLeft:`${e.spacing(.5)} solid ${e.palette.success.main}`,borderRight:`${e.spacing(.5)} solid ${e.palette.success.main}`,mb:.5,pl:1,pr:1,borderRadius:e.spacing(1)})},jve={currentUnitType:{},currentUnitToStringIdGroup:[]},hO=so({name:"unit",initialState:jve,reducers:{getCurrentUnitType(e,{payload:t}){const n={_unitType:t[0],_sun:t[1]};e.currentUnitType=n},setUnitToStringId(e,{payload:t}){e.currentUnitToStringId=t;const n=[...e.currentUnitToStringIdGroup,t];e.currentUnitToStringIdGroup=n.filter((r,o,a)=>o===0||r!==a[o-1])}}}),Wve=hO.reducer,Hve={...hO.actions};function Tx(){const e=wR();return C.exports.useMemo(()=>aT(Hve,e),[e])}const Vve=e=>e.unitType.currentUnitToStringId,Gve=e=>e.unitType.currentUnitToStringIdGroup;function Kve(){return Ar(Vve)}function gO(){return Ar(Gve)}const Ot={listItem:{borderRadius:"5px","&::first-letter":{textTransform:"uppercase"}},listItemUnit:({mode:e})=>({background:e==="dark"?Bt[900]:Bt[400],p:.5}),listItemDeleted:e=>({textDecoration:`${e.spacing(.4)} underline ${e.palette.error.main}`}),alarmFrame:{pl:.5,pr:.5,borderRadius:"5px",outlineOffset:"-3px"},alertColor:{outline:e=>`${e.spacing(.4)} solid ${e.palette.error.main}`},faultColor:{outline:e=>`${e.spacing(.3)} solid ${e.palette.warning.main}`},listItemButtonDisable:e=>({pt:.1,pb:.1,pl:e}),listItemLabelIsTitle:{pointerEvents:"none",marginTop:"-10px"},configuredMark:e=>({width:e.spacing(1),height:e.spacing(1),backgroundColor:"success.main",borderRadius:e.spacing(.5),mx:.3,border:`${e.spacing(.5)} solid ${e.palette.success.main}`}),deleteGroup:{position:"absolute",ml:-8},deleteGroupIcon:{ml:.5,mr:.5},badgeStyle:{"& .MuiBadge-badge":{color:"common.white",backgroundColor:Bt[700]}},checkIconHover:({isHovered:e,isUnitSelected:t})=>({opacity:e||t?1:0,"&:hover":{opacity:"1"}}),checkIcon:{mr:.5,mt:.5},checkIconSelected:{color:Bt[700]},expandModuleCover:{ml:"auto"},relayGroupContainer:{mt:-4.5,ml:25,display:"flex"},relayGroupExist:{pt:5},relayGroupNotExist:{pt:.8},relayGroupListItemWrapper:e=>({position:"absolute",left:e.spacing(-1),height:e.spacing(4),width:"100%",zIndex:"tooltip"}),relayGroupLabel:{position:"absolute",ml:-12,mt:.5,fontWeight:400,fontSize:14,"&::first-letter":{textTransform:"uppercase"}},relayGroupButtonContainer:{mt:-.6,ml:-2,zIndex:"tooltip"}};function qve(e){var zt;const{actualUnit:t,canExpanded:n,children:r,isDeleted:o,isLabelEqualTitle:a,isOpenOnFault:l,isRedAlertStatus:u,isUnit:c,isUnitStatusFault:f,label:p,moduleName:m,onClick:g,onClickOpen:x,onSelectUnit:E=U1,open:b,options:y=[],padding:v,parentUnit:_,selected:w,breadCrumbsUnitWithSun:P,configName:A}=e,{mode:k}=Ka(),I=er(),L=!Fa(y),[N,B]=C.exports.useState(!1),[V,ee]=C.exports.useState(0),[X,ie]=C.exports.useState(""),[J,G]=C.exports.useState(!1),[j,te]=C.exports.useState(!0),[ne,me]=hr(Yc,{}),[H,q]=hr(Xc),Z=Ol();C.exports.useEffect(()=>{var rt;if(Fa(_))return;ee(X1(_,m));const nt=(rt=Zn(_,"_Box"))==null?void 0:rt._sun;ie(nt)},[r,_,m]);const{currentSys:ue,setCurrentSys:K,currentUnitGroup:U,setCurrentUnitGroup:Y}=Yt(),re=Tx();gO();const fe=()=>{B(!0)},we=()=>{B(!1)},ke=nt=>{nt.stopPropagation(),x(!0),!J&&g(),q(u2string(t))},Ie=()=>{x(!1)};C.exports.useEffect(()=>{me(Z);const nt=fce(Z);G(nt)},[Z,ne]);const Ce=hI(ue,X),We=m===Il||m===Tl,Me=L&&m&&m!==Qu&&!We,dt=n&&!a&&!/Module_\d_InputLink/.test(P)&&!/Module_\d_OutputLink/.test(P),ze=L&&m&&We,bt=()=>{ku(Ce,m,_,"_deleted",!0),ku(Ce,m,_,"_configured",!1),K(vn(sys))},It=()=>{ku(Ce,m,_,"_deleted",!1),ku(Ce,m,_,"_configured",!0),K(vn(sys))},Ge=()=>te(nt=>!nt),qe=nt=>{if(nt.stopPropagation(),t._isUnitSelected?t._isUnitSelected=!1:t._isUnitSelected=!0,t._isUnitSelected){const rt=getUnitID(t).join("");U[rt]=t,Y(U)}if(!t._isUnitSelected){const rt=getUnitID(t).join("");delete U[rt],Y(U)}K(vn(sys))},mt=nt=>{g==null||g();const rt=u2string(t);re.setUnitToStringId(rt),q(rt);const ft=getUnitID(t).join("");if(!nt.ctrlKey){const Pe=Object.keys(U);Pe.forEach((be,Xe)=>{U[Pe[Xe]]._configured=!0,U[Pe[Xe]]._isUnitSelected=!1,delete U[Pe[Xe]],Y({})}),U[ft]=t,Y(U),t._isUnitSelected=!0}nt.ctrlKey&&qe(nt),K(vn(sys))};return S.createElement(S.Fragment,null,S.createElement(ol,{id:`id_item_${P}`,sx:a?[Ot.listItemButtonDisable(v),Ot.listItemLabelIsTitle]:Ot.listItemButtonDisable(v),selected:a?!1:w,onClick:mt},S.createElement(ge,{onClick:qe,sx:Ot.checkIconHover({isHovered:N,isUnitSelected:t==null?void 0:t._isUnitSelected})},c&&S.createElement(ax,{sx:t!=null&&t._isUnitSelected?[Ot.checkIcon,Ot.checkIconSelected]:Ot.checkIcon})),c&&((zt=t==null?void 0:t.config)==null?void 0:zt.backLink)&&S.createElement(ge,{component:"span"},Ta(unitIdToUnit2(t.config.backLink),"areaNum"),"."),c&&(t==null?void 0:t._configured)&&S.createElement(ge,{sx:Ot.configuredMark}),mce(V,L,m)&&S.createElement(ge,{sx:Ot.deleteGroup},S.createElement(lx,{id:`delete_group_${P}`,sx:Ot.deleteGroupIcon,color:"error",onClick:bt}),S.createElement(Qc,{sx:Ot.deleteGroupIcon,color:"success",onClick:It})),S.createElement(ge,{onDoubleClick:ke,sx:(u?[Ot.alarmFrame,Ot.alertColor]:void 0)||(f?[Ot.alarmFrame,Ot.faultColor]:void 0)},S.createElement(Ex,{draggableElement:t,active:Boolean(t)},S.createElement(Hc,{id:`id_item_text_${P}`,primary:S.createElement(ge,null,S.createElement(ge,{component:"span",id:`name_of_${P}`,sx:A?pO.nameOfConfig:void 0},A),S.createElement(ge,{sx:c?[Ot.listItem,Ot.listItemUnit({mode:k})]:Ot.listItem},S.createElement(ge,{component:"span",sx:o?Ot.listItemDeleted:void 0},ze?void 0:p))),onMouseEnter:fe,onMouseLeave:we}))),Me&&S.createElement(w$,{id:`badge_${P}`,sx:Ot.badgeStyle,max:9999,badgeContent:V,color:"primary"},S.createElement(s4,{idAdd:`id_add_${P}`,moduleName:m,parentUnit:_,clickAdd:Ie})),dt&&S.createElement(ge,{id:`id_expand_${P}`,sx:Ot.expandModuleCover},S.createElement(_p,{expand:b,onClick:ke}))),m===Qu&&S.createElement(ge,{sx:[Ot.relayGroupContainer,n?Ot.relayGroupExist:Ot.relayGroupNotExist]},n&&S.createElement(S.Fragment,null,S.createElement(ol,{sx:Ot.relayGroupListItemWrapper}),S.createElement(ge,{sx:Ot.relayGroupLabel},schema.unitTypes[Qu].__[`Title${I||"EN"}`])),S.createElement(ge,{sx:Ot.relayGroupButtonContainer},S.createElement(w$,{id:`badge_${P}`,sx:Ot.badgeStyle,max:9999,badgeContent:V,color:"primary"},S.createElement(s4,{idAdd:`add_${P}`,moduleName:m,parentUnit:_,clickAdd:Ie})),n&&S.createElement(rn,null,S.createElement(_p,{expand:j,onClick:Ge})))),n&&S.createElement(s1,{in:b,timeout:0},b&&!j||r))}var mO=S.memo(qve);const Yve=S.memo(function(t){var v;const{units:n,padding:r,breadCrumbsUnitId:o=""}=t,a=er(),l=uo(),{setCurrentUnit:u,currentSys:c}=Yt(),f=kI(),p=Wh(),m=Ol(),g=C.exports.useCallback((_,w)=>{const P=!m[w];l.expandingSelectedUnit({[w]:P})},[m]),x=C.exports.useCallback((_,w,P)=>{u(w),setSubscribe(w,!1),l.unitSelected(`${w._sun}.${w._typeName}`),l.unitSelectedSun(`${w._sun}`),l.unitSelectedExist({_configured:w._configured,_desc:w._desc,_sun:w._sun,_sut:w._sut,_typeName:w._typeName}),l.unitSelectedParentType(P)},[f]),E=n[0],b=((v=E==null?void 0:E._up)==null?void 0:v._typeName)!==qc?void 0:c&&J1(c,a),y=n.map((_,w)=>{var X,ie,J,G,j,te,ne,me;const P=Fh(_),A=!Fa(P),k=due(_),I=Hh(_,a,b),L=((X=_==null?void 0:_.status)==null?void 0:X.on)!==void 0&&((ie=_==null?void 0:_.status)==null?void 0:ie.on)>0,N=((J=_==null?void 0:_.status)==null?void 0:J.fault)===1||(_==null?void 0:_._faultDown)===1,B=((G=_==null?void 0:_.status)==null?void 0:G.notSynched)===1,V=`${o}${(j=_==null?void 0:_._sun)!=null?j:""}_`,ee=()=>{const H=V.split("_").slice(0,-2).join("_");l.unitPathSelected(V),x(w,_,H)};return S.createElement(mO,{key:I,open:m[V],selected:p===V,padding:r+1,canExpanded:A,label:I,onClick:ee,onClickOpen:()=>g(_,V),isDeleted:(te=_==null?void 0:_._deleted)!=null?te:!1,isUnit:(_==null?void 0:_._sut)!=="Module",actualUnit:_,isUnitStatusFault:N||B,isRedAlertStatus:L,breadCrumbsUnitWithSun:V,configName:(ne=_==null?void 0:_.config)==null?void 0:ne.name},S.createElement(vO,{descriptors:k,modules:P,padding:r+2,unitSun:(me=_==null?void 0:_._sun)!=null?me:"",breadCrumbsModuleId:V,parentModuleforUnit:_,isUnitStatusFault:N||B}))});return S.createElement(ml,{dense:!0,component:"div",disablePadding:!0},y)}),Xve={forcedReadingStatusButton:{ml:9,my:.5,px:.5,py:.1,fontSize:"12px"}};function Qve(e,t){if(!t)return e;switch(t){case Dh:return e.reverse();default:return e}}const vO=S.memo(function(t){const{modules:n,padding:r,descriptors:o={},unitSun:a,breadCrumbsModuleId:l="",parentModuleforUnit:u,isUnitStatusFault:c}=t,f=er(),{setCurrentUnit:p,setCurrentSys:m,setAlarmsContext:g}=Yt(),x=jh(),E=Ol(),b=uo(),y=C.exports.useMemo(()=>Qve(Object.keys(n),u==null?void 0:u._typeName),[n]),v=(P,A,k)=>{if(m(vn(sys)),!P)return;const I=!E[k];b.expandingSelectedUnit({[k]:I})},_=C.exports.useCallback((P,A,k)=>{g(()=>[{parentModuleforUnit:u,node:A}]),p(u),setSubscribe(u,!1,A),b.unitPathSelected(k),b.unitSelected(A),b.unitSelectedExist({})},[u]),w=y.map((P,A)=>{const k=`${l||""}${P}`;return S.createElement(Zve,{key:A,index:A,handleClick:_,onClickOpen:v,open:E[k],selectedUnit:x,moduleName:P,lang:f,padding:r,wrapperModule:n[P],modules:n,descriptor:o[P],moduleUnitSun:a,breadCrumbsModuleId:l,parentModuleforUnit:u,isUnitStatusFault:c})});return S.createElement(ml,{dense:!0,component:"div",disablePadding:!0},w)}),Zve=S.memo(function(t){var ne,me;const{moduleName:n,lang:r,wrapperModule:o,descriptor:a,handleClick:l,onClickOpen:u,index:c,open:f,padding:p,selectedUnit:m,moduleUnitSun:g,breadCrumbsModuleId:x,parentModuleforUnit:E,isUnitStatusFault:b}=t,y=Wh(),{countPosibleUnit:v,countCurrentUnitsMerge:_,addUnit:w}=uo(),P=OI(),A=rce(),k=r$(n,r,E),I=C.exports.useMemo(()=>o,[o]),L=`${x||""}${n}`,N=Object.values(Qh(A[L],I)),B=!Fa(N),ee=fue(a)?pI(n,r):[];C.exports.useEffect(()=>{L===P&&v(ee.length)},[m]);const X=C.exports.useCallback(()=>{l(c,n,L)},[c,n,L]),ie=C.exports.useCallback(H=>{const q=Object.keys(I),Z=N.length;_(Z),v(ee.length),q.unshift("0");const ue=L.split(".").slice(-2),K=bue(ue[0],ue[1]).qty,U=Cve(q,A[L]);let Y;U.length===1&&U[0]==="0"?Y="0":Y=U.find((fe,we)=>Number(U[we+1])-Number(fe)>1);let re;Y===void 0?re=U.reverse()[0]:re=Y,Z<K&&w({parent:L,unit:H,upperUnitSun:"",sunIndex:String(Number(re)+1)})},[n,o]),J=((ne=N[0])==null?void 0:ne._typeName)!=="BISM1"&&((me=N[0])==null?void 0:me._typeName)!=="LED"&&sl(r)(N[0])===k||r$(n,"EN")==="Module",G=H=>{u(H,c,L)},j=n===aI?4:1,te=/Адресные устройства|Область|Выход|ТС вход|ТС выход|индикатор на БИС-М\/М1/i.test(k);return S.createElement(mO,{open:J||f,padding:p+5,canExpanded:B,label:J?"":k,onClickOpen:G,selected:y===L,options:ee,onSelectUnit:ie,moduleName:n,parentUnit:E,isOpenOnFault:b,isLabelEqualTitle:J,breadCrumbsUnitWithSun:L},te&&S.createElement(vt,{size:"small",sx:Xve.forcedReadingStatusButton,onClick:X},"\u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441"),S.createElement(Yve,{selectedUnit:m,units:N,padding:p+j,parentModule:n,moduleUnitSun:g,breadCrumbsUnitId:`${L}_`}))}),yO={pasteConfig:{mt:1},property:{ml:1}},Jve=({keyName:e,value:t,onAdd:n,onRemove:r,isRemoved:o})=>S.createElement(ge,{key:e},S.createElement("button",{onClick:()=>n(e),disabled:!o},"+"),S.createElement("button",{onClick:()=>r(e),disabled:o},"-"),S.createElement(ge,{sx:yO.property,component:"span"},o?S.createElement("del",null,`${e}: ${t}`):`${e}: ${t}`));function e0e({initialConfig:e,handlePasteConfig:t}){const[n,r]=C.exports.useState({}),[o,a]=C.exports.useState({});C.exports.useEffect(()=>{r(e),a({})},[e]);const l=p=>{a(m=>({...m,[p]:n[p]})),r(m=>{const g={...m};return delete g[p],g})},u=p=>{r(m=>({...m,[p]:o[p]})),a(m=>{const g={...m};return delete g[p],g})},c=()=>{t(n)},f=(p,m)=>Object.entries(p).map(([g,x])=>S.createElement(Jve,{key:g,keyName:g,value:x,onAdd:u,onRemove:l,isRemoved:m}));return S.createElement(S.Fragment,null,f(n,!1),f(o,!0),n&&Object.keys(n).length>0&&S.createElement(vt,{sx:yO.pasteConfig,onClick:c},"\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433"))}const bu={container:{display:"flex",flexDirection:"column",p:1},menuItem:{display:"flex",alignItems:"center"},menuItemWithMargin:{mb:1},label:{ml:1},popoverSx:{mt:-3}};function t0e({menuItems:e}){const[t,n]=C.exports.useState(null),[r,o]=C.exports.useState(!1),a=u=>{n(u.currentTarget),o(c=>!c)},l=()=>{o(!1)};return S.createElement(nz,{onClickAway:l},S.createElement(ge,{position:"relative",display:"inline-block",onClick:a},r?S.createElement(QI,{sx:bu.popoverSx,open:r,anchorEl:t,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},disableRestoreFocus:!0},S.createElement(ge,{sx:bu.container},e.map((u,c)=>S.createElement(ge,{key:c,sx:[bu.menuItem,c<e.length-1&&bu.menuItemWithMargin],onClick:f=>f.stopPropagation()},u.component,S.createElement(ge,{sx:bu.label},u.label))))):S.createElement(rn,null,S.createElement(Ii,null))))}function n0e({value:e=0,onChange:t,range:n,onToggleErrorField:r,error:o,resetValue:a,disabledInputValue:l,disabledOpenSelect:u,disabledClearBtn:c,propId:f,...p}){const m=(x,E)=>{if(!E||!r)return;const b=LI(x,E.min,E.max);(o&&b||o===!1&&!b)&&r()},g=({target:x})=>{const E=Number(x.value);m(E,n),t(E)};return S.createElement(Al,{id:f,value:e.toString(),type:"number",inputProps:n,onChange:g,...p})}function r0e(e){var _;const{sx:t,options:n,value:r,onChange:o,className:a,resetValue:l,disabled:u,disabledInputValue:c,disabledOpenSelect:f,disabledClearBtn:p,propId:m}=e,{currentUnit:g}=Yt(),[x]=hr(lI),E=(w,P)=>{P===null&&l!==void 0&&o(l),P!==null&&o(P.value)},b=w=>{c&&w.stopPropagation()},y=w=>{const P=/unitID/i.test(m);c&&Rt(g)&&Pue(g)&&P&&w.stopPropagation()},v=Boolean((_=n[0])==null?void 0:_.group);return S.createElement(Jde,{id:m,disabled:u,onMouseDown:b,onMouseDownCapture:b,disableClearable:p,componentsProps:{popupIndicator:{disabled:f}},key:r,value:n.find(w=>w.value===r),options:n,groupBy:v?w=>w.group||"":void 0,getOptionLabel:w=>w.label,open:x===!0||void 0,renderInput:w=>S.createElement(Al,{className:a,sx:t,...w,inputProps:{...w.inputProps,readOnly:c},onKeyDown:y}),onChange:E})}function o0e({value:e,onChange:t,disabledInputValue:n,resetValue:r,onToggleErrorField:o,disabledOpenSelect:a,disabledClearBtn:l,propId:u,...c}){const f=({target:p})=>{t(p.value)};return S.createElement(Al,{id:u,value:e,onChange:f,...c})}function i0e({value:e,onChange:t,onToggleErrorField:n,resetValue:r,disabledInputValue:o,disabledOpenSelect:a,disabledClearBtn:l,propId:u,...c}){const f=({target:p})=>{t(p.checked)};return S.createElement(jI,{id:u,color:"primary",checked:e,onChange:f,...c})}function a0e(e,t){if(t)return r0e;if(e.maxValue===1)return i0e;switch(e.format){case"varInt":return n0e;case"string":case"bytes":return o0e;default:return}}function s0e(e){const{options:t,error:n,disabled:r=!1,property:o,value:a,onChange:l,onToggleErrorField:u,className:c,resetValue:f,sx:p,disabledInputValue:m,disabledOpenSelect:g,disabledClearBtn:x,idProp:E,propClickHandle:b}=e,{minValue:y=0,maxValue:v}=o,_=a0e(o,t),{currentUnit:w}=Yt(),P=a&&!cce(o==null?void 0:o.maxValue)&&dce(w==null?void 0:w._typeName);if(!_)return null;const A=()=>{P&&b(a)};return C.exports.createElement(_,{disabledOpenSelect:g,disabledInputValue:m,disabledClearBtn:x,options:t||[],sx:p,value:a,range:{min:y,max:v},disabled:r,onChange:l,onToggleErrorField:u,error:n,className:c,resetValue:f,propId:E,onClick:A})}var Ix=C.exports.memo(s0e);const dv={propertyChangerCover:e=>({zIndex:e.zIndex.modal}),propertyChangerPaper:{p:1},controlButtonsCover:{mt:1}};function Rs(e){const{sx:t,onDone:n,startValue:r,descItem:o,icon:a,propName:l,confirmText:u,options:c}=e,f=C.exports.useRef(null),[p,m]=C.exports.useState(r),[g,x]=C.exports.useState(!0),[E,b]=C.exports.useState(null),y=k=>{m(k)},v=Boolean(E),_=k=>{m(r),x(!0),b(k.currentTarget)},w=()=>{b(null)},P=()=>{n(l,p),w()},A=()=>{x(!g)};return S.createElement(S.Fragment,null,S.createElement(rn,{id:`edit_single_${l}_value`,sx:t,ref:f,onClick:_},a),S.createElement(Gc,{sx:dv.propertyChangerCover,open:v,anchorEl:E},S.createElement(Eo,{sx:dv.propertyChangerPaper},S.createElement(Ix,{propName:l,onToggleErrorField:A,error:!g,property:o,onChange:y,value:p,idProp:`single_value_${l}`,options:c}),S.createElement(ge,{sx:dv.controlButtonsCover},S.createElement(vt,{onClick:w,size:"small",variant:"contained"},S.createElement(on,{variant:"caption"},"\u041E\u0442\u043C\u0435\u043D\u0430")),S.createElement(vt,{id:`send_to_cp_single_${l}_value`,disabled:!g,onClick:P,size:"small",variant:"contained"},S.createElement(on,{variant:"caption"},u||"\u0412 \u041F\u041F\u041A"))))))}const Nt={unitsGroupIcons:{zIndex:"1000",mt:-26,ml:-1,pt:1.5,pb:1,pl:1.2,width:"100%",position:"fixed"},unitsGroupIconsDarkBg:{background:Bt[400]},unitsGroupIconsLightBg:{background:Bt[500]},deleteAllButton:{marginLeft:"25px",marginTop:"-5px"},restoreAllButton:{marginLeft:"10px",marginTop:"-5px"},circleIconPosition:{position:"absolute",left:"5px",top:"7px"},expandBoxCover:{ml:"auto"},faultAlert:{borderRadius:e=>e.spacing(.6),padding:e=>e.spacing(.5),outline:e=>`2px solid ${e.palette.warning.main}`},faultAlertWarning:{background:e=>e.palette.warning.main},listButton:{pl:4,mb:.5,background:Bt[400],borderRadius:"5px"},listButtonMixin:{background:Bt[900]},circleIconCheck:(e,t,n)=>({opacity:e[t]||(n==null?void 0:n._isUnitSelected)?1:0,color:n!=null&&n._isUnitSelected?Bt[700]:"",marginTop:"2px"}),deletedItem:{textDecoration:e=>`${e.spacing(.4)} underline ${e.palette.error.main}`},coverPpkLabel:{textDecoration:""},groupIconsDisplayNone:{display:"none"},nameOfConfig:{ml:1},cutButton:{ml:2,textTransform:"uppercase"},cutIcon:{mr:1},typographyDark:{color:"common.black",px:.5},configManagerContainer:{maxHeight:"100px",overflowY:"auto","&:hover":{maxHeight:"500px"}}},l0e=[sue,Sc];function u4(e){var Nn,tn;const{boxes:t}=e,n=er(),[r,o]=hr(Yc,{}),[a,l]=hr(Xc),{mode:u}=Ka(),c=Wh(),f=Ol(),p=uo(),{setUnitToStringId:m}=Tx(),{currentSys:g,setCurrentSys:x,setCurrentUnit:E,currentUnitGroup:b,setCurrentUnitGroup:y}=Yt(),v=Object.values(b)[0],_=Kve(),[w,P]=C.exports.useState(),A=mu(schema,Tl,n),k=mu(schema,Il,n),I=["FireSensorLink","FireAreaLink","FaultInputLink","FireMCPLink","ResetInputLink","TechInputLink"],L=["AnnunciatorLink","DirectionLink","RelayLink"],N=I.map(xe=>({group:A,value:xe,label:mu(schema,xe,n)})),B=L.map(xe=>({group:k,value:xe,label:mu(schema,xe,n)})),{defaultInput:V,defaultOutput:ee}=(v==null?void 0:v._desc.__)||{},ie=ee||(v==null?void 0:v._typeName)===Qu?B:void 0,J=V?N:ie,G=V||ee||((Nn=J==null?void 0:J[0])==null?void 0:Nn.value);C.exports.useEffect(()=>{P(G)},[v==null?void 0:v._typeName]);const[j,te]=C.exports.useState({}),ne=xe=>{const Ae=n$(xe);setSubscribe(xe,!1);const Le=!f[Ae];p.expandingSelectedUnit({[Ae]:Le}),o({...r,[Ae]:Le})},me=xe=>Ae=>{ne(xe),Ae.stopPropagation(),a$(xe)},[H,q]=C.exports.useState(new Array(t.length).fill(!1)),[Z,ue]=C.exports.useState(!1),[K,U]=C.exports.useState(1),[Y,re]=C.exports.useState(1),[fe,we]=C.exports.useState(Boolean(1)),ke=Object.values(b).length,Ie=(v==null?void 0:v._sut)&&l0e.includes(v._sut);C.exports.useEffect(()=>{ue(!1)},[ke]);const Ce=xe=>{q(Ae=>{const Le=Ae[xe];return wce([xe],!Le,Ae)})},We=()=>{q(!1)},Me=(xe,Ae,Le)=>{a$(xe),E(xe),x({...sys}),p.unitPathSelected(Le),p.unitSelected(Ae);const at=u2string(xe);m(at),l(at)},dt=(xe,Ae)=>{if(xe.stopPropagation(),Ae._isUnitSelected?Ae._isUnitSelected=!1:Ae._isUnitSelected=!0,Ae._isUnitSelected){const Le=getUnitID(Ae).join("");b[Le]=Ae,y(b)}if(!Ae._isUnitSelected){const Le=getUnitID(Ae).join("");delete b[Le],y(b)}x({...sys})},ze=()=>{const xe=sys,Ae="_Box";if(xe._subUnits){xe._subUnits[Ae];const Le=Object.keys(b);Le.forEach((at,pt)=>{b[Le[pt]]._deleted=!0,b[Le[pt]]._configured=!1}),x(vn(sys))}},bt=()=>{const xe=sys,Ae="_Box";if(xe._subUnits){xe._subUnits[Ae];const Le=Object.keys(b);Le.forEach((at,pt)=>{b[Le[pt]]._deleted=!1,b[Le[pt]]._configured=!0}),x(vn(sys))}},It=()=>{const xe=Object.keys(b);xe.forEach((Ae,Le)=>{b[xe[Le]]._deleted=!1,b[xe[Le]]._configured=!0,b[xe[Le]]._isUnitSelected=!1,y({})}),x(vn(sys))},Ge=((tn=t[0])==null?void 0:tn._typeName)===Ir,qe=t.map((xe,Ae)=>{var xr,lt,an,Dn;if(!Ge&&((xr=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:xr.level)<NI&&((lt=xe==null?void 0:xe.config)==null?void 0:lt.level)>((an=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:an.level))return null;const Le=n$(xe),at=fI(n,xe),pt=Fh(xe),Mr=dI(xe),Ho=xue(xe),Kn=(xe==null?void 0:xe._faultDown)===1,yr=`${Mr}${Ho}_`;return S.createElement(S.Fragment,{key:Le},S.createElement(ol,{sx:[Nt.listButton,u==="dark"&&Nt.listButtonMixin],onClick:()=>Me(xe,at,yr),onDoubleClick:()=>ne(xe),onMouseEnter:()=>Ce(Ae),onMouseLeave:We,selected:c===yr,id:`ppk_${Le}`},S.createElement(ge,{sx:Nt.coverPpkLabel},S.createElement(Hc,{primary:at,sx:[xe!=null&&xe._deleted?Nt.deletedItem:null,Kn&&Nt.faultAlert,Kn&&u==="light"&&Nt.faultAlertWarning]})),S.createElement(ge,{sx:Nt.circleIconPosition},S.createElement(ax,{sx:Nt.circleIconCheck(H,Ae,xe),onClick:tr=>dt(tr,xe),onDoubleClick:tr=>{tr.stopPropagation()}})),S.createElement(ge,{id:`name_of_ppk_${xe._sun}`,sx:[pO.nameOfConfig,Nt.nameOfConfig]},(Dn=xe==null?void 0:xe.config)==null?void 0:Dn.name),S.createElement(ge,{id:`id_expand_${Le}`,sx:Nt.expandBoxCover},Ge&&S.createElement(_p,{expand:f[Le],onClick:me(xe)}))),S.createElement(s1,{in:f[Le],timeout:0},f[Le]&&S.createElement(vO,{modules:pt,padding:2,breadCrumbsModuleId:yr,isUnitStatusFault:Kn})))}),mt=Object.keys(b).length,zt=g&&J1(g,n),nt=()=>v?Hh(v,n,zt):"",rt=()=>{const xe=ke===1;ue(xe),xe||systemLog(!1,"error: only 1 item at time can be cut and pasted")},ft=()=>{!_||(moveUnit(v,string2u(_)),v._isUnitSelected=!1,y({}))},Pe=()=>{te({});const xe=hce(v.config),Ae=u$(xe,v._desc,n);te(Ae)},be=xe=>{const Ae=u$(xe,v._desc,n,!0),Le=Object.values(b);Le.forEach(at=>{pasteUnitCfg(at,Ae)}),Le.forEach(at=>{at._isUnitSelected=!1}),y({})},Xe=(xe,Ae)=>{U(Ae)},Se=(xe,Ae)=>{re(Ae)},et=(xe,Ae)=>{P(Ae)},At=(xe,Ae)=>{we(Boolean(Ae))},Xt=Ie?Y:void 0,Cn=()=>{Object.values(b).forEach(Ae=>{createTS(Ae,K,w,fe,Xt),Ae._isUnitSelected=!1}),E(v),y({})},Tn=[Ie&&{component:S.createElement(Rs,{icon:S.createElement(Ii,null),descItem:{format:"varInt",minValue:1,maxValue:999},propName:"ppkr_number",startValue:Y,onDone:Se,confirmText:"\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u2116 \u041F\u041F\u041A-\u0420"}),label:"\u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u2116 \u041F\u041F\u041A-\u0420"},{component:S.createElement(Rs,{icon:S.createElement(Ii,null),descItem:{format:"varInt",minValue:1,maxValue:999},propName:"area_ts",startValue:K,onDone:Xe,confirmText:"\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0431\u043B\u0430\u0441\u0442\u044C"}),label:"\u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u2116 \u043E\u0431\u043B\u0430\u0441\u0442\u0438"},{component:S.createElement(Rs,{icon:S.createElement(Ii,null),descItem:{format:"string"},propName:"area_ts_type",startValue:w,onDone:et,confirmText:"\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0438\u043F \u0422\u0421",options:J}),label:"\u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0438\u043F \u0422\u0421"},{component:S.createElement(Rs,{icon:S.createElement(Ii,null),descItem:{format:"varInt",maxValue:1},propName:"ts_type_overwrite",startValue:1,onDone:At,confirmText:"\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C"}),label:"\u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u044C \u0422\u0421"}];return S.createElement(ml,{dense:!0,component:"div",disablePadding:!0},S.createElement(ge,{sx:[(mt===0||!Ge)&&Nt.groupIconsDisplayNone,Nt.unitsGroupIcons,u==="dark"?Nt.unitsGroupIconsDarkBg:Nt.unitsGroupIconsLightBg]},mt>0&&S.createElement(rn,{onClick:It},S.createElement(dx,null)),mt>0&&`${mt} ${n==="RU"?"\u0432\u044B\u0431\u0440\u0430\u043D\u043E":"selected"}`,S.createElement(rn,{onClick:ze,sx:Nt.deleteAllButton},mt>0&&S.createElement(lx,null)),S.createElement(rn,{onClick:bt,sx:Nt.restoreAllButton},mt>0&&S.createElement(Qc,null)),S.createElement(vt,{sx:Nt.cutButton,onClick:Pe},S.createElement(UI,{sx:Nt.cutIcon}),"\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433"),S.createElement(vt,{sx:Nt.cutButton,onClick:rt},S.createElement(FI,{sx:Nt.cutIcon}),"\u0432\u044B\u0440\u0435\u0437\u0430\u0442\u044C \u044E\u043D\u0438\u0442"),Z&&S.createElement(Ui,{title:`\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C: ${nt()}`},S.createElement(vt,{sx:Nt.cutButton,onClick:ft},"\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u044E\u043D\u0438\u0442")),w&&S.createElement(S.Fragment,null,S.createElement(vt,{sx:Nt.cutButton,onClick:Cn},"\u0441\u043E\u0437\u0434\u0430\u0442\u044C",S.createElement(on,{sx:Nt.typographyDark},ke),"\u0422\u0421 (",S.createElement(on,{sx:Nt.typographyDark},"\u0442\u0438\u043F: ",mu(schema,w,n)),!fe&&S.createElement(sO,null),") \u0432 \u043E\u0431\u043B\u0430\u0441\u0442\u0438",S.createElement(on,{sx:Nt.typographyDark},"#",K),Ie&&S.createElement(S.Fragment,null,S.createElement(ge,{component:"span"},"\u043F\u043F\u043A-\u0440"),S.createElement(on,{sx:Nt.typographyDark},"#",Y))),S.createElement(ge,{component:"span"},S.createElement(t0e,{menuItems:Tn}))),S.createElement(ge,{sx:Nt.configManagerContainer},S.createElement(e0e,{initialConfig:j,handlePasteConfig:be}))),qe)}const c4={systemItemButton:{mt:1.2},personIcon:{mt:2}};function u0e(e){var y,v;const{data:t}=e,n=er(),[r,o]=C.exports.useState(!0),[a,l]=C.exports.useState(!1),{setCurrentSys:u,setCurrentUnit:c}=Yt(),[f]=hr(Xc),p=uo();C.exports.useEffect(()=>{u(vn(sys)),p.unitSelected("_System");const _=string2u(f);!_||(c(_),p.unitSelectedExist({config:_.config,_configured:_._configured,_desc:_._desc,_sun:_._sun,_sut:_._sut,_typeName:_._typeName}))},[Object.keys(sys._subUnits._Box).length]);const m=(y=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:y.name,g=()=>{o(!r),setSubscribe(t,!1)},x=()=>{p.unitSelected("_System")};C.exports.useEffect(()=>{t&&!a&&(setSubscribe(sys,!1,"_Box"),l(!0))},[t]);const E=C.exports.useMemo(()=>pue(t),[t]),b=C.exports.useMemo(()=>hue(t),[t]);return S.createElement(ml,{dense:!0},S.createElement(ol,{onDoubleClick:g,sx:c4.systemItemButton},S.createElement(Hc,{onClick:x,primary:(v=sl(n)(t))!=null?v:sl("EN")(t)}),S.createElement(_p,{expand:r,onClick:g})),S.createElement(s1,{in:r,timeout:"auto"},S.createElement(yce,{parentUnit:sys,moduleName:"_Box"}),S.createElement(u4,{boxes:E}),m&&S.createElement(S.Fragment,null,S.createElement(Ih,{sx:c4.personIcon}),S.createElement(u4,{boxes:b}))))}var Ox={},c0e=Ft.exports;Object.defineProperty(Ox,"__esModule",{value:!0});var xO=Ox.default=void 0,d0e=c0e(Ut),f0e=D.exports,p0e=(0,d0e.default)((0,f0e.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");xO=Ox.default=p0e;var kx={},h0e=Ft.exports;Object.defineProperty(kx,"__esModule",{value:!0});var bO=kx.default=void 0,g0e=h0e(Ut),m0e=D.exports,v0e=(0,g0e.default)((0,m0e.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"}),"ClearRounded");bO=kx.default=v0e;const pf={box:{display:"flex",alignItems:"center",borderRadius:e=>e.shape.borderRadius,background:e=>e.palette.divider,border:"2px solid transparent"},field:{paddingLeft:e=>e.spacing(2),paddingRight:e=>e.spacing(2),width:"100%"},icon:{marginLeft:e=>e.spacing(2)},focusOn:e=>({borderColor:e?"currentColor":"transparent"})},Mf=S.createRef(),d4=e=>{if(e.target===null)return;const t=e.target;(e.key==="s"||e.key==="\u044B")&&t.nodeName!=="INPUT"&&Mf.current&&Mf.current!==document.activeElement&&Mf.current.focus()};function y0e({value:e,onChange:t,sx:n}){const[r,o]=C.exports.useState(!1),a=({target:{value:f}})=>t(f);C.exports.useEffect(()=>(window.addEventListener("keyup",d4),()=>window.removeEventListener("keyup",d4)));const l=()=>{},u=()=>{},c=()=>{t("")};return S.createElement(ge,{sx:[pf.box,n,pf.focusOn(r)]},S.createElement(xO,{sx:pf.icon}),S.createElement(Zc,{sx:pf.field,onFocus:l,onBlur:u,onChange:a,value:e,placeholder:"\u041F\u043E\u0438\u0441\u043A",inputRef:Mf,id:"search_by_label"}),S.createElement(rn,{id:"clear_search",onClick:c},S.createElement(bO,null)))}const _u={arrowRight:{ml:.5,mr:.5},nameOfUnit:e=>({borderLeft:`${e.spacing(.5)} solid`,borderRight:`${e.spacing(.5)} solid`,borderColor:"success.main",borderRadius:e.spacing(1),mr:.5,pl:1,pr:1}),unitListItemButton:{pl:"5px"},listItem:{paddingLeft:"4px",paddingRight:"4px",borderRadius:"5px"},listItemText:{textDecoration:"",padding:"5px",borderRadius:"5px","&::first-letter":{textTransform:"uppercase"}}};function f4(e){const{item:t,lang:n,unitsObj:r,index:o,handleItemClick:a,boxSx:l}=e,u=C.exports.useMemo(()=>t&&Z1(t).map(m=>qr(m,n)).slice(0,-1).join(" \u2192 "),[t,n]),c=Hh(t,n,r),f=Ta(t,"name"),p=S.createElement(S.Fragment,null,S.createElement(ge,{component:"span"},u),S.createElement(ge,{component:"span",sx:_u.arrowRight},"\u2192"),S.createElement(ge,{component:"span",sx:f?_u.nameOfUnit:void 0},f),S.createElement(ge,{component:"u"},c));return S.createElement(ol,{key:`${p}, ${o}`,sx:_u.unitListItemButton,onClick:()=>a(t)},S.createElement(ge,{sx:[l,_u.listItem]},S.createElement(Ex,{draggableElement:t,active:!0},S.createElement(Hc,{primary:S.createElement(ge,{sx:_u.listItemText},p)}))))}const gs={faultAlert:{borderRadius:"5px",padding:"4px",background:"dark"},box:{pl:4,borderRadius:"5px"},arrowRight:{verticalAlign:"middle"},boxSx:e=>({background:e==="dark"?Bt[900]:Bt[400]}),subunitsLabel:{ml:4,mt:-2}};function x0e({filter:e,data:t}){const{unitSelectedExist:n,unitSelected:r,unitSelectedSun:o}=uo(),{setCurrentUnit:a,currentSys:l}=Yt(),{mode:u}=Ka(),c=er(),{setUnitToStringId:f}=Tx(),[p,m]=hr(Xc),g=y=>{a(y),setSubscribe(y,!1),r(`${y._sun}.${y._typeName}`),o(`${y._sun}`),n({config:y.config,_configured:y._configured,_desc:y._desc,_sun:y._sun,_sut:y._sut,_typeName:y._typeName});const v=u2string(y);f(v),m(v)},b=(e===""?[]:mI(t,c)).map(([y,v],_)=>{const w=v.filter((L,N)=>uce(v,e,"name").includes(N)),P=l&&J1(l,c),A=v.filter(L=>AI(Hh(L,c,P),e)),k=[...w,...A];if(k.length===0)return null;const I=k.map(L=>Object.values(Fh(L)).map(N=>Object.values(N))).filter(Boolean).flat(2);return S.createElement(C.exports.Fragment,{key:`${y}, ${_}`},S.createElement(ol,{key:y,sx:[gs.boxSx(u),gs.box]},S.createElement(ge,null,S.createElement(Hc,{primary:y,sx:gs.faultAlert}))),k.map((L,N)=>S.createElement(f4,{key:`${N}, ${y}`,item:L,lang:c,unitsObj:P,index:N,handleItemClick:g,boxSx:gs.boxSx(u)})),I.length>0&&S.createElement(S.Fragment,null,S.createElement(ox,null),S.createElement(ge,{sx:gs.subunitsLabel},I.map((L,N)=>S.createElement(f4,{key:`${y}, ${N}`,item:L,lang:c,unitsObj:P,index:N,handleItemClick:g,boxSx:gs.boxSx(u)})))))});return S.createElement(ml,{dense:!0,component:"div",disablePadding:!0},b)}var Ax={},b0e=Ft.exports;Object.defineProperty(Ax,"__esModule",{value:!0});var _O=Ax.default=void 0,_0e=b0e(Ut),C0e=D.exports,E0e=(0,_0e.default)((0,C0e.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),"Refresh");_O=Ax.default=E0e;var Lx={},w0e=Ft.exports;Object.defineProperty(Lx,"__esModule",{value:!0});var CO=Lx.default=void 0,S0e=w0e(Ut),$0e=D.exports,P0e=(0,S0e.default)((0,$0e.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");CO=Lx.default=P0e;const R0e={container:{display:"flex",justifyContent:"center",alignItems:"center"}};function T0e(){const[e,t]=hr(Xc),n=gO(),{currentUnit:r,setCurrentUnit:o}=Yt(),[a,l]=C.exports.useState(0),u=MI();C.exports.useEffect(()=>{const m=n.length-1;l(m)},[n]);const c=()=>{u()},f=()=>{const m=n.length-1;if(!(n.length<2)){if(a===0)l(m),o(string2u(n[m]));else{const g=a-1;l(g),o(string2u(n[g]))}t(u2string(r))}},p=()=>{const m=n.length-1;if(!(n.length<2)){if(a===m)l(0),o(string2u(n[0]));else{const g=a+1;l(g),o(string2u(n[g]))}t(u2string(r))}};return C.exports.useEffect(()=>{const m=g=>{g.ctrlKey&&g.key==="ArrowLeft"&&(g.preventDefault(),f()),g.ctrlKey&&g.key==="ArrowRight"&&(g.preventDefault(),p())};return window.addEventListener("keydown",m),()=>{window.removeEventListener("keydown",m)}},[a,n]),S.createElement(ge,{sx:R0e.container},n.length>1&&S.createElement(ge,null,S.createElement(Ui,{title:`\u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u0438\u0437 ${n.length}`,placement:"top"},S.createElement(rn,{id:"back_history",onClick:f},S.createElement(dx,null))),S.createElement(Ui,{title:`\u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u0438\u0437 ${n.length}`,placement:"top"},S.createElement(rn,{id:"forward_history",onClick:p},S.createElement(CO,null)))),S.createElement(Ui,{title:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435 \u0432\u043A\u043B\u0430\u0434\u043A\u0438",placement:"top"},S.createElement(rn,{id:"close_expanded_tabs",onClick:c},S.createElement(_O,null))))}const hf={searchField:{mb:1,mt:.5},container:{height:"100%",display:"flex",flexDirection:"column"},unitsContainer:{overflow:"auto",height:"100%"},expandedTabs:{ml:"auto"}};function I0e(e){const{data:t}=e,[n,r]=C.exports.useState(""),o=l=>{r(l)},a=n==="";return S.createElement(ge,{sx:hf.container},S.createElement(ge,{sx:hf.expandedTabs},S.createElement(T0e,null)),S.createElement(y0e,{sx:hf.searchField,onChange:o,value:n}),S.createElement(ge,{sx:hf.unitsContainer},a?S.createElement(u0e,{data:t}):S.createElement(x0e,{data:t,filter:n})))}var O0e=wo,EO=O0e("has",Af);EO.placeholder=lo;var p4=EO;function k0e(e){return e==null}var _s=k0e,A0e=Oh,L0e=vT,M0e=Rl;function N0e(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var l=t[r],u=A0e(e,l);n(u,l)&&L0e(a,M0e(l,e),u)}return a}var wO=N0e,D0e=wO,B0e=qT;function F0e(e,t){return D0e(e,t,function(n,r){return B0e(e,r)})}var U0e=F0e,z0e=U0e,j0e=Ah,W0e=j0e(function(e,t){return e==null?{}:z0e(e,t)}),H0e=W0e,V0e=wo,SO=V0e("pick",H0e);SO.placeholder=lo;var $O=SO,Mx={},G0e=Ft.exports;Object.defineProperty(Mx,"__esModule",{value:!0});var PO=Mx.default=void 0,K0e=G0e(Ut),q0e=D.exports,Y0e=(0,K0e.default)((0,q0e.jsx)("path",{d:"M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"}),"ArrowBackIosNew");PO=Mx.default=Y0e;const h4={title:{textTransform:"uppercase",fontWeight:900},content:{padding:e=>e.spacing(1),paddingRight:e=>e.spacing(3)}};function Jh(e){const{title:t,children:n}=e;return S.createElement(Eo,{variant:"outlined"},S.createElement(Xu,{variant:"dense"},S.createElement(on,{sx:h4.title},t)),S.createElement(ge,{sx:h4.content},n))}const X0e=[eue,tue,nue,rue];function Q0e(e,t){const n=Boolean(Zn(e,bp))&&e._typeName!==bp,r=Zn(e,Ir),o=Zn(t,Ir);return n&&(r==null?void 0:r._sun)===(o==null?void 0:o._sun)}function RO(e,t){return t.find(n=>Ta(n,"unitID")===e)}function Z0e(e,t){const n=e._typeName===K1,r=Zn(e,Ir),o=Zn(t,Ir);return n&&(r==null?void 0:r._sun)!==(o==null?void 0:o._sun)}function J0e(e,t){const r=e._typeName===K1?!1:Q0e(e,t),o=Z0e(e,t),a=Rt(t._up)?Object.values(t._up._subUnits[Tl]):[],l=RO(e._idString,a);return(r||o)&&!l}function eye(e,t){const n=Zn(t,Ir),r=n&&cI(n).find(a=>a._typeName===Y1),o=r&&Object.values(r._subUnits[aue]);return o&&Boolean(o.find(a=>a._idString===e._idString))}function tye(e,t){const n=Zn(t,Ir),r=Zn(e,Ir),o=(r==null?void 0:r._sun)===(n==null?void 0:n._sun),a=[Sc,iI],l=Boolean(Q1(e,Uh)),u=eye(e,t),c=X0e.includes(e._typeName)&&e._sut===al,f=Boolean(zh(e,al))&&e._typeName.includes("Relay"),p=a.includes(e._typeName),m=Rt(t._up)?Object.values(t._up._subUnits[Il]):[],g=RO(e._idString,m);return(l||u||c||f)&&!g&&(o||p)}function nye(e){return/relay/i.test(e)}const fv=(e,t,n,r)=>{const o=(e._typeName==="Out"||nye(e._typeName))&&t.TitleEN==="ON";switch(r){case"togglerCommon":return o;case"togglerOn":return o&&n;case"togglerOff":return o&&!n&&e._sut!==Il;default:return!1}};var Nx={},rye=Ft.exports;Object.defineProperty(Nx,"__esModule",{value:!0});var T0=Nx.default=void 0,oye=rye(Ut),iye=D.exports,aye=(0,oye.default)((0,iye.jsx)("path",{d:"M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z"}),"Backspace");T0=Nx.default=aye;const ms={commonButtons:{background:"none","&:hover":{background:"none"}},deleteUnitButton:{ml:-2.5},delete:{pl:.5},restoreButton:{ml:-9.2},restore:{pl:.5}};function TO(){const{mode:e}=Ka(),t=er(),{currentUnit:n,setCurrentUnit:r,setCurrentSys:o}=Yt(),a=()=>{n._deleted=!0,n._configured=!1,o(vn(sys))},l=()=>{n._deleted=!1,n._configured=!0,o(vn(sys))};return S.createElement("div",null,S.createElement(vt,{id:"delete_unit",onClick:a,sx:[ms.deleteUnitButton,ms.commonButtons]},!(n!=null&&n._deleted)&&(e==="dark"?S.createElement(T0,{color:"error"}):S.createElement(T0,null)),S.createElement(ge,{sx:ms.delete},n!=null&&n._deleted?"":t==="RU"?"\u0443\u0434\u0430\u043B\u0438\u0442\u044C":"delete")),n._deleted&&S.createElement(vt,{onClick:l,sx:[ms.restoreButton,ms.commonButtons]},S.createElement(Qc,null),S.createElement(ge,{sx:ms.restore},t==="RU"?"\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C":"restore")))}var Dx={},sye=Ft.exports;Object.defineProperty(Dx,"__esModule",{value:!0});var IO=Dx.default=void 0,lye=sye(Ut),uye=D.exports,cye=(0,lye.default)((0,uye.jsx)("path",{d:"M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"}),"CompareArrows");IO=Dx.default=cye;const dye=1,fye=255,pye=1,hye=30,Ei={textField:{w:18,mr:1},chipsLabelCover:{mt:2},chipsLabelSun:{mr:2},anchorElement:{mt:1.2,mb:1.2},sunMenuText:{m:2},flexContainer:{display:"flex",mt:1.5},flexAlignCenter:{display:"flex",alignItems:"center"},typeSign:{px:.5},typeChanger:{flexGrow:1}};function gye(e){const{options:t}=e,n=er(),{setCurrentSys:r,currentUnit:o}=Yt(),[a,l]=C.exports.useState(null),[u,c]=C.exports.useState(null),[f,p]=C.exports.useState(1),[m,g]=C.exports.useState(),x=Rt(o)?Number(o._sun):null,E=o&&o._typeName===Gle,b=o&&Zn(o,qc),y=Rt(o)&&Sue(o),v=Rt(o)&&o._typeName===Sc,_=Rt(o)&&o._up._typeName===Nh,w=Rt(o)&&wue(o),P=Rt(o)&&o._typeName===iI,A=[Sc],k=[Zle,q1],I=o&&Rt(o)&&A.includes(o==null?void 0:o._sut),L=o&&Rt(o)&&k.includes(o==null?void 0:o._typeName),N=y||_||v||w||P,B=I||L||E&&b,V=o&&!ex(o),ee=t.length>1&&!B&&V;C.exports.useEffect(()=>{x!==null&&p(x)},[x,o]);const X=()=>{l(null),c(null)};C.exports.useEffect(()=>{X(),g(o==null?void 0:o._typeName)},[o]);const ie=Z=>{c(Z.currentTarget)},J=Z=>{changeUnitType(o,Z),g(Z),r(vn(sys))},G=Boolean(u),j=Rt(o)&&o._sut===al,te=o&&o._typeName===Ir;let ne;switch(!0){case j:ne={min:dye,max:fye};break;case te:ne={min:pye,max:hye};break;default:ne={min:0,max:void 0};break}const me=LI(Number(f),ne.min,ne.max),H=()=>{changeUnitSun(o,f),r(vn(sys)),X()},q=Z=>{const ue=Z.target.value,K=Number(ue);ue===""?p(void 0):K>=ne.min&&(!ne.max||K<=ne.max)&&p(K)};return S.createElement(ei,null,S.createElement(ZI,{anchorOrigin:{vertical:"top",horizontal:"left"},id:"change-sun-menu",anchorEl:u,open:G,onClose:X},S.createElement(ei,{component:"span",sx:Ei.sunMenuText},"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u043E\u043C\u0435\u0440 \u0441\u0443\u0431\u044A\u044E\u043D\u0438\u0442\u0430"),S.createElement(JI,null,S.createElement(Al,{id:"ppkr_sun_change_input",sx:Ei.textField,value:f,inputProps:{step:1,...ne},type:"number",onChange:q}),S.createElement(vt,{"data-testid":"confirm_change_sun",disabled:!me,onClick:H},"ok"))),S.createElement(ei,{sx:Ei.chipsLabelCover},S.createElement(Cp,{"data-testid":"ppkr_sun_chip",onClick:V&&!N?ie:void 0,sx:Ei.chipsLabelSun,label:`# ${x}`}),S.createElement(Cp,{label:`ID = ${shortID(o)}`})),ee&&S.createElement(ei,{sx:Ei.flexContainer},S.createElement(ei,{sx:Ei.flexAlignCenter},S.createElement(IO,{id:"compare_arrow_icon"}),S.createElement(ei,{component:"span",sx:Ei.typeSign},n==="RU"?"\u0442\u0438\u043F":"type",":")),S.createElement(ei,{sx:Ei.typeChanger},S.createElement(Ix,{value:m,property:{format:"string"},options:t.map(Z=>({value:Z.key,label:Z.value})),onChange:Z=>J(Z)}))))}function mye(){const{currentUnit:e}=Yt(),t=er();return"_sut"in e?S.createElement("div",null,S.createElement(gye,{options:pI(e._sut,t)})):null}const Jc="unitID",eg="areaNum",vye="phoneNumber",g4=[Jc,eg,"ignore"],m4=[Jc],yye=[Jc,eg],xye=["SN"],bye=["typeSN","backLink"],_ye="0000",Cye=0;function Eye(e){switch(e){case Jc:return _ye;case eg:return Cye;default:return}}const Sn={textField:{width:e=>e.spacing(30)},container:{marginBottom:e=>e.spacing(1)},textLeft:{textAlign:"left",display:"flex",flexWrap:"wrap"},textRight:{textAlign:"right",marginRight:2,minWidth:"130px"},grid:{flexWrap:"nowrap"},unitRemover:{marginLeft:"4px"},unitConfig:{marginBottom:"15px",marginLeft:"6px"},valueFromPpk:{float:"right",mt:1,mr:1},arrowBackIconButton:e=>({mt:-1,verticalAlign:"-6px",ml:e==="checkbox"?-1:-.5}),arrowBackIcon:{fontSize:20},tipography:{display:"inline"},reactionBox:{height:"70px",width:"100%"},reactionBoxChip:{padding:"10px 0 0 0"},tipographyMeasureUnit:{mt:-1,ml:1},backLink:{ml:1}};function v4(e,t){const{changeUnitProperty:n}=uo(),r=C.exports.useMemo(()=>({idOfCurrentConfig:e,field:t}),[e,t]),o=ice(r),a=jh(),{currentUnit:l}=Yt(),u=l&&l[xa],c=C.exports.useCallback(f=>{a!==null&&(n({path:[e,t],value:f,selectedUnit:a}),l&&(l[xa]||(l[xa]={}),l[xa][t]!==f&&"_up"in l&&(l._edited=!0),l[xa]={...l[xa],[t]:f}))},[e,t]);return C.exports.useMemo(()=>[o,c,u],[o,c,u])}function wye(e){const{field:t,initialConfig:n,unitPathId:r,propertiesOfField:o,lang:a,dragUnit:l}=e,[u,c,f]=v4(r,t),[p]=v4(r[0],"wasntExist"),m=r[1],g=Ws(p,[m,"isRecentlyAdded"]);Fa(p&&(p==null?void 0:p[m]));const{currentUnit:x,currentSys:E}=Yt(),b=x&&Rt(x)&&x._sut===aI,y=o.enumRU||o.enumEN,v=C.exports.useMemo(()=>{var Y;if(!x||t!=="areaNum"||!Rt(x)||x._up._typeName!==qc)return;const q=x&&((Y=Zn(x,Ir))==null?void 0:Y._sun),Z=q&&E?hI(E,q):void 0,ue=Z&&Cue(Z);if(!ue)return;const U=x._typeName===K1?Qh([Number(x._sun)],ue):ue;return Object.values(U).map(re=>({value:Number(re._sun),label:qr(re,a)}))},[x,t,a,E]),_=E&&t===Jc?vI(E,a).map(q=>({value:q._idString,label:qr(q,a)})):void 0,w=o$(x,t),P=()=>{let q=0;return _s(f[t])&&_s(n==null?void 0:n[t])&&(q=w),!g&&n&&n[t]!==void 0&&(q=n[t]),f&&f[t]!==void 0&&(q=f[t]),q},k=(()=>{if(f&&t===vye){const q=(f==null?void 0:f[t])||"",Z=new RegExp(schema.unitTypes.TI.config.phoneNumber.pattern),ue=q.match(Z);return ue?ue[0]:""}return f&&Fa(f)?w!=null?w:0:f&&!_s(f[t])?f[t]:!g&&n&&!_s(n[t])?n[t]:f[t]||(n==null?void 0:n[t])||w||0})(),I=C.exports.useCallback(q=>{if(o.maxValue===1){c(q?1:0);return}if(p4("enumEN",o)){c(parseInt(q));return}if(o.format==="string"||o.format==="bytes"){c(q);return}c(lce({value:q,min:o.minValue||0,max:o.maxValue})),o.callOnAreaChange&&onAreaChange(x)},[o,r.toString()]),L=C.exports.useCallback(q=>{c(q)},[]),N=()=>{if(!l||!x||!Rt(x))return;(x._sut===Tl?J0e:tye)(l,x)&&I(l._idString)},B=(q,Z)=>{let ue="";p4("enumEN",q)?ue="select":q.maxValue===1?ue="checkbox":ue="textfield";const K=()=>schema.dictionary.inPPK[a]||schema.dictionary.inPPK.EN,U=o$(x,t),Y=()=>c(U);return S.createElement(ge,{component:"u",sx:Sn.valueFromPpk},U!==k&&!_s(U)&&S.createElement(S.Fragment,null,S.createElement(rn,{sx:Sn.arrowBackIconButton(ue),onClick:Y},S.createElement(PO,{sx:Sn.arrowBackIcon})),S.createElement(on,{sx:Sn.tipography},K(),S.createElement("span",null," = "))),S.createElement(on,{id:`value_in_ppk_${t}`,sx:Sn.tipography},ue==="select"&&U!==k&&(y==null?void 0:y[`${U}`]),(ue==="textfield"||ue==="checkbox")&&U!==k&&Z(U)))},V=b&&xye.includes(o.TitleEN),ee=m4.includes(t),X=eg!==t,ie=!yye.includes(t),J=x&&Rt(x)&&x._sut==="OutputLink"&&x._typeName===oI&&o.TitleEN==="onFire1",G=C.exports.useMemo(()=>y&&Object.values(y).map((q,Z)=>({value:Z,label:Rue(q)}))||v||_,[v,_,y]);if(!o.rw)return null;const j=o.maxValue===1&&P()===1,te=o.maxValue===1?j:k,ne=G?q=>{var Z;return((Z=G.find(ue=>ue.value===q))==null?void 0:Z.label)||""}:q=>q;if(bye.includes(t))return null;const H=o[`Title${a}`].replace(/(\S{10}[а,е,ё,и,о,у,ы,э,ю,я,a,e,o,u,y])([а-яa-z]{2})/gi,"$1 -%%$2").split("%%").map((q,Z)=>S.createElement(ge,{key:q+Z},q));return S.createElement(ge,{sx:Sn.container},S.createElement(jn,{container:!0,alignItems:"center",sx:Sn.grid},S.createElement(jn,{item:!0,xs:3,sx:Sn.textRight},S.createElement(on,{title:o[`Title${a}`]},J&&S.createElement(ge,{sx:[Sn.reactionBox,Sn.reactionBoxChip]},S.createElement(Cp,{label:"\u0420\u0435\u0430\u0433\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0430:"})),H)),S.createElement(jn,{item:!0,sx:Sn.textLeft},J&&S.createElement(ge,{sx:Sn.reactionBox}),S.createElement(Cx,{onDrop:N,active:m4.includes(t)},S.createElement(Ix,{options:G,value:te,disabled:V,disabledInputValue:X,disabledOpenSelect:ee,disabledClearBtn:ie,key:r.toString(),onChange:I,property:o,propName:t,sx:o.maxValue!==1?Sn.textField:void 0,resetValue:Eye(t),idProp:`id_${r[0]}_${r[1]}_${o.TitleEN}`,propClickHandle:L})),B(o,ne)),S.createElement(jn,{item:!0,sx:Sn.textLeft},S.createElement(on,{sx:Sn.tipographyMeasureUnit},`${o.measureUnits||""}`))))}function y4(e){var k,I,L,N;const{properties:t,initialConfig:n,dragUnit:r}=e,o=er(),a=OI(),l=kI(),u=tx(),c=oce(),{currentUnit:f,setCurrentUnit:p}=Yt(),m=jh(),g=["AL","Boot"];if(!t||f&&Rt(f)&&g.includes(f._typeName))return null;const{__:x,...E}=t,b=Object.keys($O(g4,E)),y=Object.keys(Qh(g4,E)),v=[...b,...y],_=Rt(f)?((k=f==null?void 0:f.config)==null?void 0:k.backLink)||((I=f==null?void 0:f.config)==null?void 0:I.unitID):void 0,w=unitIdToUnit2(_),P=u&&!_s(c)&&c>0&&!pce(m)||(f==null?void 0:f._typeName)===iue;function A(){w&&p(w)}return S.createElement(Jh,{title:(L=x[`Title${o}`])!=null?L:x.TitleEN},S.createElement(ge,{sx:Sn.unitRemover},P?S.createElement(TO,null):null),S.createElement(ge,{sx:Sn.unitConfig},S.createElement(mye,null)),Boolean(_)&&S.createElement(She,{sx:Sn.backLink,component:"button",variant:"subtitle1",color:"secondary",onClick:A},((N=f==null?void 0:f.config)==null?void 0:N.backLink)&&S.createElement(ge,{component:"span"},Ta(unitIdToUnit2(f.config.backLink),"areaNum"),". \u041E\u0431\u043B\u0430\u0441\u0442\u044C."),w&&qr(w,o)),v.map(B=>S.createElement(wye,{dragUnit:r,key:`${B}_${f==null?void 0:f._sun}`,field:B,propertiesOfField:E[B],lang:o,initialConfig:n,unitPathId:[a,l,xa]})))}const Dt={statusColumn:{width:"fit-content"},statusColumnExtend:{ml:1},toggleButtonContainer:{display:"flex",flexDirection:"column",mb:.5},toggleButtonContainerValue:{alignSelf:"flex-end",pr:2},toggleButton:{ml:1,maxWidth:"fit-content"},toggleBox:{display:"flex",flexDirection:"column"},toggleBoxValue:{alignSelf:"flex-end",pr:2},toggleBoxButtons:{marginTop:"-2px"},toggleBoxRestoreButton:{ml:2},statusGridContainer:{ml:1},statusGridPropKey:{"&::first-letter":{textTransform:"uppercase"},mr:2.5},statusGridPropValue:e=>({ml:"auto",minWidth:e.spacing(3)}),statusPropValue:{color:"primary.main",position:"relative",fontWeight:Lf.valueFont},statusRelayValue:{color:"primary.main",fontWeight:Lf.valueFont,minWidth:e=>e.spacing(30),mr:-1.5},singleProperty:e=>({position:"absolute",left:e.spacing(4),top:e.spacing(-1)}),switchStatus:{mt:-3,pb:1},syncPercentageSign:{position:"absolute",color:"common.white",pl:.5},updateFirmwareContainer:{mt:3,ml:1},updateFirmwareButtons:{mt:1},updateFirmwareStopButton:{mt:2},statusClockContainer:{display:"inline-block",minWidth:"30%"},statusClockItemKey:{display:"inline-block"},statusClockValue:e=>({ml:.5,color:"primary.main",fontWeight:Lf.valueFont})},I0={[Bh]:["day","month","year","hour","min","sec"],[Sc]:"on"},OO=I0[Bh],Sye=["snType",...OO],$ye=e=>{const t=Sye;switch(e._typeName){case qc:case Yle:case Y1:case oI:return[...t,"on"];case bp:return[...t,"notSynched","offline"];default:return t}},Pye=[Dh,Y1,q1],Rye=[oue];function Tye(e){var G;const{properties:t}=e,{currentUnit:n,setCurrentSys:r}=Yt(),o=er(),[a,l]=C.exports.useState(!1),[u,c]=C.exports.useState(!1),f=ace(),{setCurrentFirmware:p}=uo();C.exports.useEffect(()=>{fwPercent===100&&p("")},[fwPercent]);const m=shortID(n),g=n&&"_sun"in n?n._sun:void 0,x=n&&Rt(n)?n._typeName:void 0,E=n&&Rt(n)?n._up._typeName:void 0;if(C.exports.useEffect(()=>{l(!1)},[g,m]),!t||!n||!Rt(n))return null;const{__:b,...y}=t,v=`Title${o}`,_=Qh($ye(n),y),w=Object.entries(_),P=$O(OO,y),A=Object.entries(P),k=(j,te)=>{sendCommand(n,{status:{[j]:te}}),r(vn(sys)),globalThis.shareRender()},I=()=>{k("on",u?1:0),V()},L=()=>{const j={status:{}};sendCommand(n,j)},N=()=>{const j="reBoot",te={};!n||(n[j]||(n[j]={}),te[j]=n[j],sendCommand(n,te))},B=j=>{if(!j.target.files)return;const te=j.target.files[0],{name:ne}=te;p(ne),setUpdateFirmware(te,n)},V=()=>{var j;l(!a),(j=n==null?void 0:n.status)!=null&&j.on?c(!1):c(!0)},ee=()=>{c(!u)},X=()=>{specialTagWhileFwOrCfg=!1,fw2update=null,p("")},ie=()=>w.map(([j,te])=>{var ue,K,U;const ne=fv(n,te,a,"togglerCommon"),me=fv(n,te,a,"togglerOn"),H=fv(n,te,a,"togglerOff"),q=()=>{var fe,we,ke,Ie,Ce,We,Me;const Y=(fe=n==null?void 0:n.status)==null?void 0:fe[j];if(!n)return null;if(Array.isArray(Y))return Y.map(dt=>{var ze,bt;return(bt=(ze=te[`enum${o}`])==null?void 0:ze[dt])==null?void 0:bt.split(":")[0]}).join(", ")||0;if(te[`enum${o}`]&&Y)return(Ie=(ke=(we=te[`enum${o}`])==null?void 0:we[Y])==null?void 0:ke.split(":")[0])!=null?Ie:0;if(te.enumEN&&Y)return(Me=(We=(Ce=te.enumEN)==null?void 0:Ce[Y])==null?void 0:We.split(":")[0])!=null?Me:0;const re=`toggle_status_value_${te.TitleEN}`;return H?S.createElement(ge,{sx:Dt.toggleButtonContainer},S.createElement(ge,{id:re,sx:Dt.toggleButtonContainerValue},Y!=null?Y:0),S.createElement(vt,{id:`${n._sut}_${n._sun}_switch_relay`,onClick:V,sx:Dt.toggleButton},"\u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C")):me?S.createElement(ge,{sx:Dt.toggleBox},S.createElement(ge,{id:re,sx:Dt.toggleBoxValue},Y!=null?Y:0),S.createElement(ge,{sx:Dt.toggleBoxButtons},S.createElement(jI,{id:`${n._sut}_${n._sun}_switch_relay_checkbox`,checked:u,onChange:ee}),S.createElement(vt,{onClick:()=>l(!a),sx:Dt.toggleBoxRestoreButton,id:`${n._sut}_${n._sun}_switch_relay_restore`},S.createElement(Qc,null)),S.createElement(vt,{id:`${n._sut}_${n._sun}_switch_relay_send_to_cp`,onClick:I},schema.dictionary["2ppk"][`${o||"EN"}`]))):Y!=null?Y:0},Z=x&&E&&I0[x]&&Pye.includes(E)&&I0[x].includes(j);return S.createElement(S.Fragment,null,S.createElement(jn,{container:!0,key:(ue=te[v])!=null?ue:te.TitleEN,sx:Dt.statusGridContainer},S.createElement(jn,{item:!0,sx:Dt.statusGridPropKey},`${(K=te[v])!=null?K:te.TitleEN}:`),S.createElement(jn,{item:!0,sx:Dt.statusGridPropValue},S.createElement(ge,{component:"span",id:`status_value_${te.TitleEN}`,sx:ne?Dt.statusRelayValue:Dt.statusPropValue},S.createElement(ge,{component:"span",id:`status_value_${j}`},!ne&&q()),S.createElement(ge,{sx:Dt.syncPercentageSign,component:"span"},`status_value_${j}`=="status_value_noSynchPercent"&&"%"),Z&&S.createElement(Rs,{sx:Dt.singleProperty,icon:S.createElement(Ii,null),descItem:te,propName:j,startValue:(U=n==null?void 0:n.status)==null?void 0:U[j],onDone:k})))),S.createElement(ge,{sx:ne?[Dt.statusRelayValue,Dt.switchStatus]:void 0},ne&&q()))}),J=()=>A.map(([j,te])=>{var me,H,q;const ne=()=>{var ue;const Z=(ue=n==null?void 0:n.status)==null?void 0:ue[j];return Z!=null?Z:0};return S.createElement(ge,{key:`${j}_${(me=te[v])!=null?me:te.TitleEN}`,sx:Dt.statusClockContainer},S.createElement(ge,{sx:Dt.statusClockItemKey},`${(H=te[v])!=null?H:te.TitleEN}:`),S.createElement(ge,{sx:[Dt.statusClockItemKey,Dt.statusGridPropValue]},S.createElement(ge,{component:"span",id:`status_value_${te.TitleEN}`,sx:Dt.statusClockValue},S.createElement(ge,{component:"span",id:`status_value_${j}`},ne()),S.createElement(Rs,{icon:S.createElement(Ii,null),descItem:te,propName:j,startValue:(q=n==null?void 0:n.status)==null?void 0:q[j],onDone:k}))))});return S.createElement(Jh,{title:(G=b[v])!=null?G:b.TitleEN},S.createElement(jn,{container:!0,justifyContent:"space-between"},S.createElement(ge,{sx:Dt.statusColumn},ie()),S.createElement(jn,{item:!0})),S.createElement(ge,{sx:[Dt.statusColumn,Dt.statusColumnExtend]},J()),n&&n._desc.updateFirmware&&!Rye.includes(n._typeName)&&S.createElement(jn,{sx:Dt.updateFirmwareContainer},S.createElement(vt,{onClick:L},"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C"),n._typeName==="Boot"&&S.createElement(vt,{onClick:N},"\u041F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C"),S.createElement(ge,{sx:Dt.updateFirmwareButtons},S.createElement(vt,{component:"label"},"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B",S.createElement("input",{type:"file",onChange:B,hidden:!0})),f,fw2update&&S.createElement(ge,{sx:Dt.updateFirmwareStopButton},S.createElement(vt,{onClick:X},"\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C"),"uploading firmware: (",fwPercent," %)"))))}const x4={commandBtns:{display:"flex",flexWrap:"wrap",justifyContent:"center",ml:1},unitCommandButton:{mb:1.2}};function Iye(e){var f,p;const{properties:t}=e,{currentUnit:n,setCurrentSys:r}=Yt(),o=er();if(!t)return null;const{__:a,code:l}=t,u=m=>{n.command||(n.command={}),n.command={code:m};const g={command:{code:m}};sendCommand(n,g)},c=Object.values((f=l[`enum${o}`])!=null?f:l.enumEN).map((m,g)=>{const[x,E]=m.split(": ");return S.createElement(oT,{key:m,title:E,disableHoverListener:!E,enterDelay:500},S.createElement(vt,{onClick:()=>u(g+1),sx:x4.unitCommandButton},x))});return S.createElement(Jh,{title:(p=a[`Title${o}`])!=null?p:a.TitleEN},S.createElement(ge,{sx:x4.commandBtns},c))}const sr={containerInfoProperty:{ml:1.2},itemInfoPropertyKey:{"&::first-letter":{textTransform:"uppercase"},mr:7},itemInfoPropertyValue:{ml:"auto"},propertiesContent:{width:"fit-content"},propertiesContentContainer:{ml:1.2,pr:6.5},propertiesContentTitleAu:{mr:"auto"},button:{m:1,mt:2},searchAlButton:e=>({minWidth:e.spacing(12.5)}),searchAlDots:{position:"absolute",ml:.1,fontWeight:900},infoValue:{color:"primary.main",fontWeight:Lf.valueFont},infoValueMeasureUnit:e=>({ml:.6,minWidth:e.spacing(6),display:"inline-block"})};function Oye(e){var k;const{properties:t}=e,{currentUnit:n,setCurrentSys:r}=Yt(),o=er(),[a,l]=C.exports.useState(null),[u,c]=C.exports.useState([]),f=Wh(),p=I=>{const L=n;L[I]||(L[I]={}),exec1Command(L,I)};if(C.exports.useEffect(()=>{l(null),c([])},[f]),nx(()=>{c(I=>I.length===3?[]:[...I,"."]),p("search"),"_up"in n&&n.info&&n.info.fastSearch>0&&(l(null),c([]),r(vn(sys)))},a),!t)return null;const{__:m,...g}=t,x=`Title${o}`,E=Object.keys(g),b=(I,L)=>{const N=E[L],B=$ue(n,N);if(I.coeff&&I.DescriptionEN==="temperatureCPU")return B&&(Number(B)*.001).toFixed(3)||0;if(I.coeff)return B&&(Number(B)*I.coeff).toFixed(3)||0;const V=i$("RU",n,N)||i$("EN",n,N);return V?(V==null?void 0:V[`${B}`])||0:B||0},y=Object.values(g).map((I,L)=>{var N,B,V;return S.createElement(jn,{container:!0,key:(N=I[x])!=null?N:I.TitleEN,sx:sr.containerInfoProperty},S.createElement(jn,{item:!0,sx:sr.itemInfoPropertyKey},`${(B=I[x])!=null?B:I.TitleEN}:`),S.createElement(jn,{item:!0,sx:sr.itemInfoPropertyValue},S.createElement(ge,{id:`id_info_value_${I.TitleEN}`,sx:sr.infoValue,component:"span"},I.measureUnits==="V"?parseFloat(Number(b(I,L)).toFixed(1)):b(I,L)),S.createElement(ge,{sx:sr.infoValueMeasureUnit,component:"span"},(V=I.measureUnits)!=null?V:"")))}),v=n._typeName=="RingUPSmodule"||n._typeName=="OutModule"||n._typeName=="AL2module",_=()=>{l(1500),c([])},w=()=>X1(n,"AU"),P=()=>{if(!Rt(n))return;new Date().toLocaleTimeString();const I=Zn(n,Ir),L=qr(n,o);putLog(`\u041F\u041F\u041A-\u0420#${I==null?void 0:I._sun}.\u041C\u043E\u0434\u0443\u043B\u044C${L} \u041E\u0447\u0438\u0441\u0442\u043A\u0430 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435`),p("eraseAll")},A=()=>p("getVersion");return y.length?S.createElement(Jh,{title:(k=m[x])!=null?k:m.TitleEN},S.createElement(ge,{sx:sr.propertiesContent},n._typeName==="AL"&&S.createElement(jn,{container:!0,sx:sr.propertiesContentContainer},S.createElement(jn,{item:!0,sx:sr.propertiesContentTitleAu},"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0410\u0423:"),S.createElement(jn,{item:!0},S.createElement(ge,{component:"span",sx:sr.infoValue},w()))),y,Rt(n)&&Uh(n)&&S.createElement(vt,{sx:sr.button,onClick:A},"\u0417\u0430\u043F\u0440\u043E\u0441 \u0432\u0435\u0440\u0441\u0438\u0438"),n._typeName==="AL"&&S.createElement(vt,{onClick:_,sx:[sr.button,sr.searchAlButton]},S.createElement("span",null,S.createElement("span",null,"\u041F\u043E\u0438\u0441\u043A "),S.createElement(ge,{component:"span",sx:sr.searchAlDots},u))),v&&S.createElement(vt,{sx:sr.button,onClick:P},"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044E \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435"))):null}const vs={ppkName:{ml:1},breadCrumbs:{color:"common.white"},breadCrumbsDark:{color:"common.black"},breadCrumbsCommon:{ml:1}},kye={display:"flex",flexWrap:"wrap","& > *":{flex:1,m:1,minWidth:e=>e.spacing(50)}};function Aye({dragUnit:e}){const t=tx(),{currentUnit:n}=Yt(),r=er(),{mode:o}=Ka(),a=C.exports.useMemo(()=>n&&Z1(n).map(g=>qr(g,r)),[n,r]);if(!Rt(n))return null;const l=fI(r,n),u=vue(n);if(n._typeName==="_Box")return S.createElement(ge,{sx:vs.ppkName},S.createElement(ge,{sx:o==="dark"?vs.breadCrumbs:vs.breadCrumbsDark},l),S.createElement(TO,null),S.createElement(y4,{properties:u}));if(!t)return null;const c=yue(n),f=gue(n),p=mue(n),m="config"in n?n.config:void 0;return S.createElement(S.Fragment,null,a&&S.createElement(on,{sx:o==="dark"?vs.breadCrumbs:vs.breadCrumbsDark},S.createElement(ge,{component:"span",sx:vs.breadCrumbsCommon},a.join(" > "))),S.createElement(ge,{sx:kye},S.createElement(y4,{dragUnit:e,properties:u,initialConfig:m}),S.createElement(Tye,{properties:c}),S.createElement(Iye,{properties:p}),S.createElement(Oye,{properties:f})))}var Bx={},Lye=Ft.exports;Object.defineProperty(Bx,"__esModule",{value:!0});var kO=Bx.default=void 0,Mye=Lye(Ut),Nye=D.exports,Dye=(0,Mye.default)((0,Nye.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");kO=Bx.default=Dye;var Fx={},Bye=Ft.exports;Object.defineProperty(Fx,"__esModule",{value:!0});var AO=Fx.default=void 0,Fye=Bye(Ut),Uye=D.exports,zye=(0,Fye.default)((0,Uye.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");AO=Fx.default=zye;var Ux={},jye=Ft.exports;Object.defineProperty(Ux,"__esModule",{value:!0});var LO=Ux.default=void 0,Wye=jye(Ut),Hye=D.exports,Vye=(0,Wye.default)((0,Hye.jsx)("path",{d:"m12 16.5 4-4h-3v-9h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V5.49h6V3.5H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2z"}),"SystemUpdateAlt");LO=Ux.default=Vye;var Gye="Expected a function";function Kye(e){if(typeof e!="function")throw new TypeError(Gye);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var qye=Kye,Yye=Pl,Xye=Mh,Qye=wO,Zye=E1;function Jye(e,t){if(e==null)return{};var n=Yye(Zye(e),function(r){return[r]});return t=Xye(t),Qye(e,n,function(r,o){return t(r,o[0])})}var e1e=Jye,t1e=Mh,n1e=qye,r1e=e1e;function o1e(e,t){return r1e(e,n1e(t1e(t)))}var i1e=o1e,a1e=wo,MO=a1e("omitBy",i1e);MO.placeholder=lo;var s1e=MO,zx={},l1e=Ft.exports;Object.defineProperty(zx,"__esModule",{value:!0});var NO=zx.default=void 0,u1e=l1e(Ut),c1e=D.exports,d1e=(0,u1e.default)((0,c1e.jsx)("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4zm-4-2V9h-1l-2 1v1h1.5v4H13z"}),"RepeatOne");NO=zx.default=d1e;function f1e(){const[e,t]=C.exports.useState(""),{setCurrentSys:n}=Yt(),[r,o]=hr(Yc,{}),[a,l]=hr(sI),[u,c]=hr(lI),f=uo(),p=Ol(),m={"man -ppk":c$,"emu -f":d$,"emu!":f$,"exp -t":p$,clear:h$,"pwnd -a":g$,"pwnd! -a":m$,"opn -s":v$,"opn! -s":y$},g=b=>t(b.target.value),x=()=>{f.expandingSelectedUnit(l$(p)),o(l$(r))},E=b=>{if(b.key!=="Enter")return;b.preventDefault();const y=e.trim();if(!!y){switch(m[y]){case c$:systemLog(!1,`${m[y]}: ${JSON.stringify(Object.keys(m))}`),systemLog(!1,JSON.stringify({emulationAnswerOn}));break;case d$:emulationAnswerOn=!0,systemLog(!1,JSON.stringify({emulationAnswerOn}));break;case f$:emulationAnswerOn=!1,systemLog(!1,JSON.stringify({emulationAnswerOn}));break;case p$:x(),systemLog(!1,m[y]);break;case h$:log=[],systemLog(!1,m[y]);break;case g$:l(!0),systemLog(!1,m[y]);break;case m$:l(!1),systemLog(!1,m[y]);break;case v$:c(!0),systemLog(!1,m[y]);break;case y$:c(!1),systemLog(!1,m[y]);break;default:systemLog(!1,`${e}:  command not found`);break}n(vn(sys))}};return S.createElement(Al,{id:"terminal_input",value:e,onChange:g,variant:"standard",color:"info",onKeyDown:E})}const DO="\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",BO="\u0421\u043E\u0431\u044B\u0442\u0438\u0435",FO="\u0410\u0434\u0440\u0435\u0441",UO="\u2116 \u041E\u0431\u043B\u0430\u0441\u0442\u044C";function p1e(e){const t=a=>a?Object.values(a).filter(l=>l.value==="1").map(l=>`${l.name}: ${l.value}`).join(" - "):"",n=a=>a.replace(/ппк-р|обл#/gi,""),r=(a,l)=>{if(!a||!/зона пожаротушения/gi.test(a))return"-";const u=a.replace(/.*область#(\d+).*зона пожаротушения.*/i,"$1 \u0437\u043E\u043D\u0430 \u043F\u043E\u0436\u0430\u0440\u043E\u0442\u0443\u0448\u0435\u043D\u0438\u044F");return l?`${u} (${l})`:u};return e.map(a=>{var x,E,b,y,v,_,w;const l=decodeRecordLang(a),{datePC:u,unitName:c,parameters:f}=l,p=(x=a.message)!=null&&x.id?unitIdToUnit(a.message.id):null,m=((b=(E=p==null?void 0:p.u)==null?void 0:E.config)==null?void 0:b.name)||"",g=t(f).trim()||((y=f==null?void 0:f.code)==null?void 0:y.value)||((v=f==null?void 0:f.value)==null?void 0:v.value)||`${((_=f==null?void 0:f.fault)==null?void 0:_.name)||""} - ${((w=f==null?void 0:f.notSynched)==null?void 0:w.name)||""}`;return{datePcTime:u.value,eventLog:g,pathToEvent:n(c.value),pathToFireArea:r(c.description,m)}}).reverse()}function h1e(e){const t=document.createElement("a"),n=e.map((l,u)=>`${u+1}) ${DO}: ${l.datePcTime}, ${BO}: ${l.eventLog}, ${FO}: ${l.pathToEvent}, ${UO}: ${l.pathToFireArea}`).join(`
`),r=new Blob([n],{type:"text/plain"});t.href=URL.createObjectURL(r);const o=new Date,a=`${o.getDate().toString().padStart(2,"0")}.${(o.getMonth()+1).toString().padStart(2,"0")}.${o.getFullYear()}_${o.getHours()}-${o.getMinutes().toString().padStart(2,"0")}`;t.download=`log_events_${a}.txt`,document.body.appendChild(t),t.click()}const b4=[{id:"datePcTime",label:DO,minWidth:170},{id:"eventLog",label:BO,minWidth:170},{id:"pathToEvent",label:FO,minWidth:50},{id:"pathToFireArea",label:UO,minWidth:50}],Cu={paper:{width:"100%",overflow:"hidden"},tableContainer:{maxHeight:440},tableCell:e=>({minWidth:e.minWidth}),logEventsFooter:{display:"flex",justifyContent:"space-between"},logExportButtonCover:{ml:2,display:"flex",alignItems:"center"}},g1e=[10,25,100];function m1e(e){const{logs:t}=e,n=p1e(t),[r,o]=C.exports.useState(0),[a,l]=C.exports.useState(10),u=(p,m)=>{o(m)},c=p=>{l(Number(p.target.value)),o(0)},f=()=>{h1e(n)};return S.createElement(Eo,{sx:Cu.paper},S.createElement(ime,{sx:Cu.tableContainer},S.createElement(Bge,{stickyHeader:!0,"aria-label":"sticky table"},S.createElement(fme,null,S.createElement(i4,null,b4.map(p=>S.createElement(Pc,{size:"small",key:p.id,align:p.align,sx:Cu.tableCell(p)},p.label)))),S.createElement(Gge,null,n.slice(r*a,r*a+a).map((p,m)=>S.createElement(i4,{hover:!0,role:"checkbox",tabIndex:-1,key:`${p.datePcTime}_${m}`},b4.map(g=>{const x=p[g.id];return S.createElement(Pc,{size:"small",key:g.id,align:g.align},x)})))))),S.createElement(ge,{sx:Cu.logEventsFooter},S.createElement(ge,{sx:Cu.logExportButtonCover},S.createElement(vt,{onClick:f},"\u044D\u043A\u0441\u043F\u043E\u0440\u0442 \u0436\u0443\u0440\u043D\u0430\u043B\u0430")),S.createElement(Ime,{rowsPerPageOptions:g1e,count:n.length,rowsPerPage:a,page:r,onPageChange:u,onRowsPerPageChange:c,labelRowsPerPage:"\u0421\u043E\u0431\u044B\u0442\u0438\u0439 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435:"})))}function v1e(){const{eventLogIsOpenContext:e}=Yt(),[t,n]=C.exports.useState([]),[r,o]=C.exports.useState(null),a=()=>{const l=indexedDB.open("Sigma");l.onsuccess=function(){const u=l.result,c=u.transaction("Log","readonly"),p=c.objectStore("Log").getAll();p.onsuccess=function(){n(p.result)},c.oncomplete=function(){u.close()}}};return C.exports.useEffect(a,[]),C.exports.useEffect(()=>{o(e?5e3:null)},[e]),nx(()=>{a()},r),S.createElement(m1e,{logs:t})}const y1e=350,Pt={menuButton:{background:"none",m:0},menuButtonLight:{color:Bt[50]},eventLogButton:{background:"none"},eventLogButtonLight:{color:"common.white"},fromFileButton:{mr:1.4},configuredMark:e=>({width:e.spacing(1),height:e.spacing(1),backgroundColor:"success.main",borderRadius:e.spacing(1),ml:.5}),terminalHeader:e=>({display:"flex",alignItems:"center",justifyContent:"flex-start",padding:e.spacing(1.5,1),backgroundColor:Bt[400],width:"100%"}),dataLog:{p:2,pt:1},serverConnectionStatus:{ml:1},onlineMark:{color:"success.light"},offlineMark:{color:"warning.main"},terminal:{position:"absolute",flexShrink:0,[`& .${TR.paper}`]:{width:y1e}},buttonToPpk:{ml:10},flashingElement:{animation:"flash 1s infinite","@keyframes flash":{"0%":{opacity:1},"50%":{opacity:.3},"100%":{opacity:1}}},oddLogData:(e,t)=>({color:e%2===0?Bt[500]:t(),mt:.5,fontWeight:500}),tipography:{mr:1},personIcon:{mr:1,mb:-1}};function x1e({onRefreshStart:e}){var H,q,Z,ue,K;const t="send_to_ppk_one",n="send_to_cp",{unitPathSelected:r,unitSelected:o,unitSelectedExist:a}=uo(),l=er(),{mode:u}=Ka(),c=u==="dark",f=tx(),p=jh(),{currentUnit:m,setCurrentUnit:g,setCurrentSys:x,currentUnitGroup:E,setCurrentUnitGroup:b,eventLogIsOpenContext:y,setEventLogIsOpenContext:v}=Yt(),_=Co(),[w,P]=C.exports.useState(!1),[A,k]=C.exports.useState(!1),[I,L]=vce();C.exports.useEffect(()=>{A&&(window.location.href="/")},[A]);const N=()=>{P(!0)},B=()=>{v(!y)},V=()=>{P(!1)},ee=()=>{readConfigFromFile(()=>{x(vn(sys))})},X=()=>{r(null),o(null),a(null)},ie=()=>{saveKrut()},J=(U=!1)=>{const Y=m==null?void 0:m.config;m&&("_deleted"in m&&m._deleted&&(X(),setSubscribe(m._up,!1),g(m._up)),sendConfigToPPK({curUnit:m,curSut:f?null:p},U||void 0)),sendCommand(m,{config:Y}),!II(E)&&b(s1e(re=>re._deleted,E))},G=()=>c?Bt[50]:Bt[900],j=()=>{g(void 0),e(),curPollingModule=void 0,X(),restoreCfg(),k(!0)},te=()=>{fastReadAllCfg()},ne=()=>{J(),L(n)},me=()=>{J(!0),L(t)};return S.createElement(S.Fragment,null,S.createElement(ge,{component:"span",sx:Pt.serverConnectionStatus},S.createElement(on,{component:"span",variant:"overline",sx:Pt.tipography},(H=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:H.name),S.createElement(Ih,{sx:Pt.personIcon}),online?S.createElement(ge,{id:"online_mark",component:"span",sx:Pt.onlineMark},"online"):S.createElement(ge,{component:"span",sx:Pt.offlineMark},"offline")),S.createElement(vt,{id:n,onClick:ne,sx:[Pt.buttonToPpk,sendingUnit&&I(n)&&Pt.flashingElement]},schema.dictionary["2ppk"][`${l!=null?l:"EN"}`]),S.createElement(Ui,{title:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0432 \u041F\u041F\u041A \u043E\u0434\u0438\u043D \u044E\u043D\u0438\u0442"},S.createElement(vt,{id:t,onClick:me,sx:[sendingUnit&&I(t)&&Pt.flashingElement]},S.createElement(NO,{fontSize:"large"}))),S.createElement(vt,{id:"read_config_from_ppk",onClick:te,sx:readingAllCfg?Pt.flashingElement:void 0},schema.dictionary.FromPpk[`${l!=null?l:"EN"}`]),S.createElement(vt,{id:"save_config_to_local_storage",onClick:()=>{saveCfg()},sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},(q=schema.dictionary.save[l])!=null?q:schema.dictionary.save.EN,S.createElement(ge,{sx:Pt.configuredMark})),S.createElement(vt,{id:"restore_config_from_local_storage",onClick:j,sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},(Z=schema.dictionary.restore[l])!=null?Z:schema.dictionary.restore.EN),S.createElement(vt,{onClick:()=>{saveConfigToFile()},sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},(ue=schema.dictionary.export[l])!=null?ue:schema.dictionary.export.EN),S.createElement(Ui,{title:"\u0412 \u0424\u0430\u0439\u043B \u0434\u043B\u044F \u0418\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0430"},S.createElement(vt,{onClick:ie,sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},S.createElement(LO,null))),S.createElement(vt,{onClick:ee,sx:[Pt.menuButton,!c&&Pt.menuButtonLight,Pt.fromFileButton]},(K=schema.dictionary.read[l])!=null?K:schema.dictionary.read.EN),S.createElement(vt,{"data-testid":"event_log",onClick:B,sx:[!y&&Pt.eventLogButton,!y&&!c&&Pt.eventLogButtonLight]},"\u0416\u0443\u0440\u043D\u0430\u043B"),S.createElement(vt,{id:"terminal_open",onClick:N,sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},"\u0422\u0435\u0440\u043C\u0438\u043D\u0430\u043B"),S.createElement(d0,{sx:Pt.terminal,variant:"persistent",anchor:"right",open:w},S.createElement(ge,{sx:Pt.terminalHeader},S.createElement(rn,{onClick:V,id:"terminal_close"},_.direction==="rtl"?S.createElement(kO,null):S.createElement(AO,null)),S.createElement(f1e,null)),S.createElement(cpe,null),S.createElement(ge,{sx:Pt.dataLog},log.slice().reverse().map((U,Y)=>S.createElement(on,{sx:Pt.oddLogData(Y,G),key:U+Y},U)))),y&&S.createElement(d0,{variant:"permanent",anchor:"bottom",open:y},S.createElement(v1e,null)))}function b1e(e){const{open:t}=e;return S.createElement(Dfe,{open:t},S.createElement(rpe,null,"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435"),S.createElement(Gfe,null,S.createElement(Zfe,null,"\u041F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u0438\u0442 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043C\u044B, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 ...")))}var _1e=Lr(D.exports.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility"),C1e=Lr(D.exports.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");const _4={container:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"900px"},button:{mt:2}};function E1e(e){const{onSubmit:t,error:n}=e,[r,o]=C.exports.useState(""),[a,l]=C.exports.useState(!1),[u,c]=C.exports.useState(!1),[f,p]=C.exports.useState(!1),m=C.exports.useRef(null),g=b=>{o(b.target.value),p(!0)},x=()=>{setUser(r),t(r)};C.exports.useEffect(()=>{const b=y=>{if(!m.current)return;const v=/^[a-zA-Z0-9]$/.test(y.key),_=y.key==="Enter";v&&!u&&(m.current.focus(),c(!0)),v&&(o(w=>w+y.key),y.preventDefault()),_&&!u&&(m.current.focus(),c(!0))};return window.addEventListener("keypress",b),()=>{window.removeEventListener("keypress",b)}},[u]);const E=()=>{l(b=>!b),m.current&&!f&&r.length===0&&(m.current.focus(),m.current.setSelectionRange(r.length,r.length))};return S.createElement(ge,{sx:_4.container},S.createElement(on,{variant:"h6",gutterBottom:!0},"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u044C \u0434\u043B\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430"),S.createElement(Al,{id:"password_input",label:"\u041F\u0430\u0440\u043E\u043B\u044C",type:a?"text":"password",value:r,onChange:g,onKeyDown:b=>b.key==="Enter"&&x(),error:!!n,helperText:n,inputRef:m,onFocus:b=>{b.currentTarget.setSelectionRange(b.currentTarget.value.length,b.currentTarget.value.length)},InputProps:{endAdornment:S.createElement(lhe,{position:"end"},S.createElement(rn,{onClick:E,edge:"end"},a?S.createElement(_1e,null):S.createElement(C1e,null)))}}),S.createElement(vt,{variant:"contained",onClick:x,sx:_4.button},"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C"))}const C4=8*50,w1e=4e3,pa={unitsBox:{pt:2,pl:1,pr:1,overflow:"hidden"},propsBox:{flexGrow:1,p:3},container:{display:"flex",color:LR.A100},appBar:{zIndex:e=>e.zIndex.drawer+1},indent:{float:"right",minWidth:10,flex:1},darkModeIcon:{ml:1},drawerDnd:{width:C4,flexShrink:0,[`& .${TR.paper}`]:{width:C4,boxSizing:"border-box"}}};function S1e(){var N;const[e,t]=C.exports.useState(!1),[n,r]=C.exports.useState(""),[o,a]=C.exports.useState(!1),{mode:l,toggleDarkMode:u}=Ka(),[c,f]=C.exports.useState(),p=C.exports.useCallback(()=>{f(void 0)},[]),{currentSys:m,setCurrentSys:g,alarmsContext:x,currentUnit:E}=Yt(),b=()=>{loggedInUser?t(!0):r("\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.")},y=()=>{a(!0),setTimeout(()=>{a(!1)},5e3)};setTimeout(()=>{g(sys)},0);const[v]=hr(Yc,{}),[_]=hr(sI),w=uo();C.exports.useEffect(()=>{w.expandingSelectedUnit(v)},[]);const[P,A]=C.exports.useState(null),[k,I]=C.exports.useState(0),L=(N=x==null?void 0:x[0])==null?void 0:N.node;return C.exports.useEffect(()=>{A(null)},[E]),C.exports.useEffect(()=>{var V;!X1((V=x==null?void 0:x[0])==null?void 0:V.parentModuleforUnit,L)||A(w1e)},[x]),nx(()=>{var ee;const B=(ee=x==null?void 0:x[0])==null?void 0:ee.parentModuleforUnit._subUnits[L];if(!B)return;const V=Object.keys(B);setSubscribe(B[V[k]],!1,L),I(X=>(X+1)%V.length)},P),_!==!0&&!e?S.createElement(E1e,{onSubmit:b,error:n}):S.createElement(ge,{sx:pa.container},S.createElement(e8,{position:"fixed",variant:"elevation",sx:pa.appBar},S.createElement(Xu,null,S.createElement(ge,{component:"a",href:"/"},S.createElement(ge,{component:"img",alt:"logo",src:`/assets/${l==="dark"?"logo-dark-rubicon.png":"logo-light-rubicon.png"}`})),S.createElement(ge,{sx:pa.indent}),S.createElement(x1e,{onRefreshStart:y}),S.createElement(rn,{sx:pa.darkModeIcon,onClick:u,color:"inherit"},l==="dark"?S.createElement(kR,null):S.createElement(AR,null)))),S.createElement(_x,{onDragStart:f,onDragEnd:p},S.createElement(dO,{amount:c?1:0}),S.createElement(d0,{variant:"permanent",sx:pa.drawerDnd},S.createElement(Xu,null),S.createElement(ge,{sx:pa.unitsBox},m&&S.createElement(I0e,{data:m}))),S.createElement(ge,{component:"main",sx:pa.propsBox},S.createElement(Xu,null),S.createElement(Aye,{dragUnit:c})),S.createElement(b1e,{open:o})))}const $1e={currentLanguage:"RU"},zO=so({name:"language",initialState:$1e,reducers:{changeLanguage(e,{payload:t}){e.currentLanguage=t}}}),P1e=zO.reducer;({...zO.actions});const R1e=P1({language:P1e,unitType:Wve,unitEditor:Oue}),T1e=EJ({reducer:R1e});initializeSchema(()=>{globalThis.getPathApi={}.VITE_API_PATH,console.debug("schema created"),initializeModel(()=>{console.debug("model created"),putLog("Starting"),globalThis.shareRender=()=>{Ru.render(S.createElement(S.StrictMode,null,S.createElement(zve,null,S.createElement(I7,null,S.createElement(TW,null),S.createElement(LW,{store:T1e},S.createElement(S1e,null))))),document.getElementById("root"))},globalThis.shareRender(),localStorage.getItem("reloaded")||(localStorage.setItem("reloaded","true"),location.reload())})});
